:root {
  --ink: #2d2d2d;
  --orange: #d97706;
  --paper: #f8f6f2;
  --stone: #efede8;
  --green: #5f7a61;
  --green-deep: #38533d;
  --white: #fff;
  --line: #d9d4ca;
  --muted: #6d6a64;
  --shadow: 0 18px 44px rgba(45, 45, 45, .08);
  --serif: "DM Serif Display", Georgia, serif;
  --sans: Inter, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.58; }
body.filters-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.sgp-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.sgp-header { position: relative; z-index: 30; border-bottom: 1px solid rgba(45,45,45,.08); background: rgba(248,246,242,.97); }
.sgp-header__inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.sgp-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 24px; }
.sgp-brand img { width: 40px; height: 40px; }
.sgp-brand small { display: block; margin-top: -6px; color: var(--green-deep); font: 600 10px/1 var(--sans); letter-spacing: .13em; text-transform: uppercase; }
.sgp-nav { display: flex; align-items: center; gap: 26px; font-size: 14px; }
.sgp-nav a { text-decoration: none; }
.sgp-nav a[aria-current="page"] { color: var(--orange); font-weight: 700; }
.sgp-concept { padding: 7px 10px; border: 1px solid #d6b57c; border-radius: 999px; color: #6d4a0c; background: #fff7e8; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

.sgp-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; padding: 25px 0 12px; color: var(--muted); font-size: 13px; }
.sgp-breadcrumbs a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.sgp-eyebrow { margin: 0 0 8px; color: var(--green-deep); font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.05; }
h1 { max-width: 760px; font-size: clamp(42px, 6vw, 72px); }
h2 { font-size: clamp(31px, 4vw, 46px); }
h3 { font-size: 25px; }
.sgp-lead { max-width: 680px; margin: 15px 0 0; color: #55524d; font-size: 18px; line-height: 1.55; }

.sgp-overview-intro { padding: 22px 0 32px; }
.sgp-moods { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.sgp-mood { min-height: 44px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #45433f; font-weight: 650; }
.sgp-mood[data-active="true"] { border-color: var(--green); color: #fff; background: var(--green); }

.sgp-trust { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 15px; margin: 4px 0 30px; padding: 18px 20px; border-left: 4px solid var(--green); background: #e8eee8; }
.sgp-trust__mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font-weight: 800; }
.sgp-trust strong { display: block; }
.sgp-trust p { margin: 2px 0 0; color: #4b5a4d; font-size: 14px; }
.sgp-trust a { font-size: 14px; font-weight: 750; text-underline-offset: 3px; }

.sgp-toolbar { display: none; }
.sgp-layout { display: grid; grid-template-columns: 255px minmax(0, 1fr); gap: 34px; padding-bottom: 72px; }
.sgp-filter { align-self: start; position: sticky; top: 18px; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.sgp-filter__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sgp-filter__head strong { font-family: var(--serif); font-size: 24px; font-weight: 400; }
.sgp-filter__close, .sgp-filter__apply { display: none; }
.sgp-filter fieldset { margin: 22px 0 0; padding: 20px 0 0; border: 0; border-top: 1px solid var(--line); }
.sgp-filter legend { margin-bottom: 11px; font-weight: 750; }
.sgp-filter label { min-height: 40px; display: flex; align-items: center; gap: 10px; color: #494742; font-size: 14px; }
.sgp-filter input { width: 18px; height: 18px; accent-color: var(--green); }
.sgp-filter select { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); }
.sgp-clear { min-height: 44px; margin-top: 18px; padding: 0; border: 0; background: transparent; color: var(--orange); font-weight: 750; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sgp-overlay { display: none; }

.sgp-results__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 16px; }
.sgp-results__head h2 { font-size: 36px; }
.sgp-results__head p { margin: 5px 0 0; color: var(--muted); }
.sgp-active { min-height: 26px; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.sgp-chip { min-height: 38px; padding: 7px 12px; border: 1px solid #aab9ab; border-radius: 999px; background: #eef3ee; color: var(--green-deep); font-size: 13px; font-weight: 700; }
.sgp-grid { display: grid; gap: 20px; }

.sgp-card { overflow: hidden; display: grid; grid-template-columns: minmax(310px, .82fr) 1.18fr; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.sgp-card__media { position: relative; min-height: 335px; overflow: hidden; background: #dfe5dd; }
.sgp-card__media img { width: 100%; height: 100%; object-fit: cover; }
.sgp-image-label { position: absolute; left: 14px; bottom: 14px; padding: 7px 10px; border-radius: 4px; color: #fff; background: rgba(45,45,45,.8); font-size: 12px; font-weight: 750; }
.sgp-card__body { display: flex; flex-direction: column; padding: 30px; }
.sgp-card__meta { margin: 0 0 7px; color: var(--green-deep); font-size: 13px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.sgp-card__body h3 { font-size: 34px; }
.sgp-card__summary { margin: 12px 0 17px; color: #595650; }
.sgp-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sgp-facts li { padding: 7px 10px; border-radius: 4px; color: var(--green-deep); background: #edf2ec; font-size: 13px; font-weight: 700; }
.sgp-card__why { margin: 17px 0 0; padding-top: 15px; border-top: 1px solid var(--line); font-size: 14px; }
.sgp-card__footer { margin-top: auto; padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sgp-card__footer small { color: var(--muted); }
.sgp-primary { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border: 1px solid var(--orange); border-radius: 6px; color: #fff; background: var(--orange); font-weight: 800; text-decoration: none; }
.sgp-primary:hover { background: #b95f04; border-color: #b95f04; }
.sgp-text-link { color: var(--orange); font-weight: 750; text-underline-offset: 3px; }

.sgp-mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sgp-mini { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.sgp-mini img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.sgp-mini__body { padding: 19px; }
.sgp-mini h3 { margin-top: 5px; font-size: 24px; }
.sgp-mini p { margin: 8px 0 15px; color: var(--muted); font-size: 14px; }
.sgp-mini a { color: var(--orange); font-weight: 750; text-underline-offset: 3px; }

.sgp-group-hero { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 560px; margin-top: 10px; border-radius: 8px; overflow: hidden; background: var(--stone); }
.sgp-group-hero__media { position: relative; min-height: 460px; }
.sgp-group-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.sgp-group-hero__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 6vw, 70px); }
.sgp-group-hero h1 { font-size: clamp(45px, 6vw, 70px); }
.sgp-group-hero .sgp-lead { font-size: 17px; }
.sgp-hero-facts { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0 0; padding: 0; list-style: none; }
.sgp-hero-facts li { padding: 8px 11px; border: 1px solid #cec8bc; border-radius: 4px; background: rgba(255,255,255,.45); font-size: 13px; font-weight: 700; }
.sgp-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; margin-top: 24px; }
.sgp-checked { display: block; margin-top: 14px; color: var(--muted); font-size: 12px; }

.sgp-section { padding: 76px 0; }
.sgp-section--white { background: #fff; }
.sgp-section--stone { background: var(--stone); }
.sgp-section-head { display: grid; grid-template-columns: 1fr .8fr; align-items: end; gap: 35px; margin-bottom: 28px; }
.sgp-section-head > p { margin: 0; color: var(--muted); }
.sgp-variant-list { display: grid; gap: 14px; }
.sgp-variant { display: grid; grid-template-columns: minmax(220px, 1fr) 1.2fr auto; align-items: center; gap: 26px; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.sgp-variant h3 { font-size: 26px; }
.sgp-code { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.sgp-variant__facts { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.sgp-variant__facts span { color: var(--green-deep); font-size: 13px; font-weight: 700; }
.sgp-variant__facts span:not(:last-child)::after { content: "·"; padding-left: 7px; color: #aaa49a; }
.sgp-variant__reason { margin: 0; color: #56534e; }
.sgp-variant__photo-note { display: block; margin-top: 7px; color: #7b6750; font-size: 13px; }
.sgp-variant__actions { min-width: 194px; text-align: right; }
.sgp-variant__actions .sgp-primary { width: 100%; }
.sgp-variant__actions .sgp-text-link { display: inline-block; margin-top: 9px; font-size: 13px; }

.sgp-media-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; }
.sgp-media-figure { margin: 0; overflow: hidden; border-radius: 8px; background: #fff; }
.sgp-media-figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.sgp-media-figure figcaption { padding: 16px 18px 20px; }
.sgp-media-figure strong { display: block; }
.sgp-media-figure span { color: var(--muted); font-size: 13px; }
.sgp-media-note { margin-top: 20px; padding: 18px 20px; border-left: 4px solid var(--green); background: #e8eee8; }
.sgp-media-note strong { display: block; }
.sgp-media-note p { margin: 5px 0 0; color: #4c584e; }

.sgp-related { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sgp-related a { min-height: 110px; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: #fff; text-decoration: none; }
.sgp-related strong { display: block; font-family: var(--serif); font-size: 25px; }
.sgp-related span { color: var(--muted); }
.sgp-partner-note { margin-top: 24px; color: var(--muted); font-size: 14px; }

.sgp-footer { padding: 38px 0; color: #e9e7e2; background: var(--ink); }
.sgp-footer__inner { display: flex; justify-content: space-between; gap: 24px; }
.sgp-footer p { margin: 0; }
.sgp-footer a { color: #fff; text-underline-offset: 3px; }

@media (max-width: 860px) {
  .sgp-shell { width: min(100% - 28px, 720px); }
  .sgp-header__inner { min-height: 64px; }
  .sgp-nav { display: none; }
  .sgp-brand { font-size: 21px; }
  .sgp-brand img { width: 36px; height: 36px; }
  .sgp-overview-intro { padding-top: 10px; }
  h1 { font-size: 44px; }
  .sgp-lead { font-size: 16px; }
  .sgp-moods { overflow-x: auto; flex-wrap: nowrap; margin-right: -14px; padding-right: 14px; scrollbar-width: none; }
  .sgp-mood { flex: 0 0 auto; }
  .sgp-trust { grid-template-columns: auto 1fr; margin-bottom: 18px; padding: 15px; }
  .sgp-trust a { grid-column: 2; }
  .sgp-toolbar { position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; background: var(--paper); }
  .sgp-toolbar button, .sgp-toolbar select { min-height: 48px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
  .sgp-toolbar button { flex: 1; padding: 0 15px; color: #fff; background: var(--green); font-weight: 750; }
  .sgp-toolbar label { flex: 1; }
  .sgp-toolbar select { width: 100%; padding: 0 10px; }
  .sgp-layout { display: block; padding-bottom: 48px; }
  .sgp-filter { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 80; max-height: 88vh; overflow-y: auto; transform: translateY(105%); transition: transform .24s ease; border-radius: 8px 8px 0 0; padding: 20px 18px max(20px, env(safe-area-inset-bottom)); }
  .sgp-filter.is-open { transform: translateY(0); }
  .sgp-filter__close { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 0; border-radius: 50%; background: var(--stone); font-size: 25px; }
  .sgp-filter__apply { position: sticky; bottom: 0; display: block; margin-top: 12px; padding-top: 12px; background: #fff; }
  .sgp-filter__apply button { width: 100%; min-height: 50px; border: 0; border-radius: 6px; color: #fff; background: var(--orange); font-weight: 800; }
  .sgp-overlay { position: fixed; inset: 0; z-index: 70; display: block; background: rgba(45,45,45,.48); }
  .sgp-results__head { margin-top: 16px; }
  .sgp-results__head h2 { font-size: 31px; }
  .sgp-card { display: block; }
  .sgp-card__media { min-height: auto; aspect-ratio: 16/10; }
  .sgp-card__body { padding: 22px; }
  .sgp-card__body h3 { font-size: 30px; }
  .sgp-card__footer { align-items: stretch; flex-direction: column; }
  .sgp-primary { width: 100%; }
  .sgp-mini-grid { grid-template-columns: 1fr; }
  .sgp-group-hero { display: block; min-height: 0; }
  .sgp-group-hero__media { min-height: 0; aspect-ratio: 4/3; }
  .sgp-group-hero__copy { padding: 28px 22px 32px; }
  .sgp-group-hero h1 { font-size: 46px; }
  .sgp-hero-actions { align-items: stretch; flex-direction: column; }
  .sgp-hero-actions .sgp-text-link { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .sgp-section { padding: 52px 0; }
  .sgp-section-head { display: block; }
  .sgp-section-head > p { margin-top: 12px; }
  .sgp-variant { grid-template-columns: 1fr; gap: 15px; padding: 21px; }
  .sgp-variant__actions { min-width: 0; text-align: left; }
  .sgp-media-grid, .sgp-related { grid-template-columns: 1fr; }
  .sgp-footer__inner { display: block; }
  .sgp-footer__inner p + p { margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
