/* =========================================================
   Everstead Finds — "built to last" theme
   Evergreen + moss lime, rounded bento shapes,
   Bricolage Grotesque (display) / Figtree (text)
   ========================================================= */

:root {
    --bg: #f4f5ef;
    --surface: #ffffff;
    --sage: #e4ebe0;
    --sage-2: #eef2ea;
    --forest: #123a2c;
    --forest-2: #1f5240;
    --forest-3: #0b261d;
    --ink: #0f1f19;
    --text: #2a3a33;
    --soft: #4d5c55;
    --muted: #7a877f;
    --line: #dde3d8;
    --lime: #cdf25a;
    --lime-2: #ddff7a;
    --lime-tint: rgba(205, 242, 90, 0.24);
    --clay: #c95f37;
    --clay-tint: #f7ebe3;

    --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
    --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --r-xl: 34px;
    --r-lg: 26px;
    --r: 20px;
    --r-sm: 14px;
    --wrap: 1280px;
    --header-h: 84px;
    --shadow: 0 22px 44px -26px rgba(18, 58, 44, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--forest-3); }
:focus-visible { outline: 3px solid var(--forest-2); outline-offset: 3px; }
.hero-panel :focus-visible, .standard :focus-visible, .site-footer :focus-visible,
.price-card :focus-visible, .pd-cta :focus-visible, .page-hero :focus-visible, .buybar :focus-visible { outline-color: var(--lime); }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; margin: 0; }
p { margin: 0; }

.container { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 800px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--forest); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { left: 8px; }

/* ---------- Eyebrow / pills / chips ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 13px;
    border-radius: 999px;
    background: rgba(18, 58, 44, 0.08);
    color: var(--forest-2);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.3;
}
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: 0.8; }
.eyebrow--lime, .page-hero .eyebrow { background: rgba(205, 242, 90, 0.14); color: var(--lime); }
.eyebrow--dark { background: rgba(11, 38, 29, 0.1); color: var(--forest-3); }

.pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--sage);
    color: var(--forest);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.pill:hover { background: var(--forest); color: #fff; }

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 8px 0 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.chip:hover { border-color: var(--forest-2); }
.chip-count { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--sage-2); color: var(--soft); }
.chip.is-active { background: var(--forest); border-color: var(--forest); color: #fff; }
.chip.is-active .chip-count { background: rgba(255, 255, 255, 0.14); color: var(--lime); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 26px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.6; cursor: default; transform: none; }
.btn-lime { background: var(--lime); color: var(--forest-3); }
.btn-lime:hover { background: var(--lime-2); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.55); }
.btn-ink { background: var(--forest); color: #fff; }
.btn-ink:hover { background: var(--forest-2); }
.btn-dark { background: var(--forest-3); color: var(--lime); }
.btn-dark:hover { background: var(--forest); }
.btn-block { width: 100%; }

.round-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--forest);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.round-btn:hover { background: var(--forest); border-color: var(--forest); color: var(--lime); }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--forest);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid var(--lime);
    padding-bottom: 2px;
    transition: gap 0.2s;
}
.link-arrow:hover { gap: 12px; }

/* ---------- Disclosure + header ---------- */
.disclosure-bar { background: var(--forest-3); color: #c9d8cf; font-size: 13px; padding: 8px 0; text-align: center; }
.disclosure-bar .container { display: flex; align-items: center; justify-content: center; gap: 8px; }
.disclosure-bar svg { color: var(--lime); flex: none; }

.site-header { position: sticky; top: 0; z-index: 50; padding: 12px 0; }
.header-shell {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 8px 8px 16px;
    background: rgba(255, 255, 255, 0.88);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    backdrop-filter: saturate(1.4) blur(14px);
    border: 1px solid var(--line);
    border-radius: 999px;
    transition: box-shadow 0.25s;
}
.site-header.is-scrolled .header-shell { box-shadow: 0 14px 34px -22px rgba(18, 58, 44, 0.5); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-mark { width: 38px; height: 38px; }
.brand-word { font-family: var(--display); font-size: 23px; font-weight: 800; letter-spacing: -0.04em; color: var(--forest); line-height: 1; }
.brand-word span { font-weight: 500; color: var(--forest-2); margin-left: 2px; opacity: 0.7; }
.brand--light .brand-word { color: #fff; }
.brand--light .brand-word span { color: var(--lime); opacity: 1; }

.main-nav { display: flex; align-items: center; gap: 2px; margin: 0 auto; }
.main-nav a {
    padding: 9px 15px;
    border-radius: 999px;
    color: var(--soft);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.main-nav a:hover { background: var(--sage-2); color: var(--forest); }
.main-nav a[aria-current="page"] { background: var(--forest); color: #fff; }

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 230px;
    height: 46px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--bg);
    border: 1px solid transparent;
    color: var(--muted);
    transition: border-color 0.2s, width 0.25s;
}
.header-search:focus-within { border-color: var(--forest-2); width: 270px; }
.header-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 15px; color: var(--ink); }

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 0;
    background: var(--forest);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform 0.25s; }
.nav-toggle.is-open span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle.is-open span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 6px 0 0; }
.hero-panel {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 44px;
    align-items: center;
    padding: 56px;
    border-radius: var(--r-xl);
    background:
        radial-gradient(circle at 92% 6%, rgba(205, 242, 90, 0.2), transparent 38%),
        radial-gradient(circle at 0% 100%, rgba(31, 82, 64, 0.9), transparent 55%),
        var(--forest);
    color: #fff;
    overflow: hidden;
}
.hero-copy { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(44px, 6vw, 86px); font-weight: 800; line-height: 0.96; letter-spacing: -0.045em; margin-top: 22px; }
.hl {
    display: inline-block;
    padding: 0 0.14em 0.04em;
    border-radius: 0.18em;
    background: var(--lime);
    color: var(--forest-3);
    transform: rotate(-2deg);
}
.hero-lede { margin: 26px 0 32px; max-width: 520px; font-size: 18px; color: rgba(255, 255, 255, 0.74); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 36px; margin: 44px 0 0; padding: 24px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.hero-stats strong { display: block; font-family: var(--display); font-size: 34px; font-weight: 800; line-height: 1; color: var(--lime); letter-spacing: -0.03em; }
.hero-stats span { display: block; margin-top: 6px; font-size: 13px; color: rgba(255, 255, 255, 0.6); }

.hero-bento {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 1fr);
    grid-template-areas: "a b" "a c" "d c";
    gap: 14px;
    min-height: 540px;
}
.bento-tile {
    position: relative;
    display: block;
    border-radius: var(--r-lg);
    background: var(--sage-2);
    overflow: hidden;
    text-decoration: none;
    color: var(--ink);
}
.bento-tile--1 { grid-area: a; }
.bento-tile--2 { grid-area: b; }
.bento-tile--3 { grid-area: c; background: #f6f8f1; }
.bento-tile--4 { grid-area: d; background: #dfe8d9; }
.bento-img { position: absolute; inset: 0; padding: 22px 22px 56px; display: flex; align-items: center; justify-content: center; }
.bento-img img { max-height: 100%; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform 0.4s; }
.bento-tile:hover .bento-img img { transform: scale(1.05); }
.bento-label { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.bento-cat, .bento-price { padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.bento-cat { background: #fff; color: var(--forest); overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.bento-price { background: var(--forest); color: var(--lime); flex: none; }
.hero-art img { width: 100%; border-radius: var(--r-lg); }

.marquee { margin-top: 22px; overflow: hidden; border-block: 1px solid var(--line); padding: 16px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--forest); white-space: nowrap; }
.marquee-track span::after { content: ''; width: 10px; height: 10px; border-radius: 3px; background: var(--lime); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section--sage { background: var(--sage); }
.section--tight { padding: 24px 0 96px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 36px; }
.section-head h2 { margin-top: 14px; font-size: clamp(32px, 4vw, 52px); font-weight: 800; letter-spacing: -0.035em; }
.section-head > p { max-width: 420px; color: var(--soft); }
.carousel-nav { display: flex; gap: 8px; flex: none; }

/* ---------- Shelves ---------- */
.shelf-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 16px; }
.shelf-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 12px;
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    text-decoration: none;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.shelf-tile:hover { border-color: var(--forest-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.shelf-tile.is-active { border: 2px solid var(--forest); }
/* Küçük raf: üstte görsel kutusu, altta ad + sayı + ok. Geniş raf: solda metin, sağda görsel */
.shelf-text { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name go" "count go"; align-items: center; gap: 6px 12px; padding: 0 6px 6px; }
.shelf-count { grid-area: count; justify-self: start; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--lime-tint); color: var(--forest); }
.shelf-name { grid-area: name; font-family: var(--display); font-size: 19px; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shelf-go { grid-area: go; flex: none; width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--forest); color: #fff; transition: background 0.2s, color 0.2s; }
.shelf-tile:hover .shelf-go { background: var(--lime); color: var(--forest-3); }
.shelf-img { order: -1; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 12px; border-radius: 18px; background: var(--sage-2); overflow: hidden; }
.shelf-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform 0.4s; }
.shelf-tile:hover .shelf-img img { transform: scale(1.06) rotate(-2deg); }

.shelf-tile--wide { grid-column: span 2; grid-row: span 2; flex-direction: row; gap: 20px; padding: 28px; background: var(--forest); color: #fff; border-color: var(--forest); }
.shelf-tile--wide .shelf-text { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; flex: 0 0 40%; padding: 0; }
.shelf-tile--wide .shelf-count { background: rgba(205, 242, 90, 0.16); color: var(--lime); }
.shelf-tile--wide .shelf-name { font-size: clamp(30px, 3vw, 44px); font-weight: 800; letter-spacing: -0.035em; -webkit-line-clamp: 4; }
.shelf-tile--wide .shelf-go { margin-top: auto; width: 54px; height: 54px; background: var(--lime); color: var(--forest-3); }
.shelf-tile--wide:hover .shelf-go { background: #fff; }
.shelf-tile--wide .shelf-img { order: 0; border-radius: var(--r); padding: 24px; }
.shelf-tile--wide.is-active { box-shadow: 0 0 0 3px var(--lime); }
.more-shelves { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }
.more-shelves-label { margin-right: 6px; font-size: 14px; font-weight: 700; color: var(--soft); }
.more-shelves .chip.is-active { background: var(--forest); border-color: var(--forest); color: #fff; }

/* ---------- Product card ---------- */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 10px;
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    background: var(--surface);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cdd6c8; }
.card-media { position: relative; display: block; aspect-ratio: 1; border-radius: var(--r); background: var(--sage-2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 18px; mix-blend-mode: multiply; transition: transform 0.4s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--lime);
    color: var(--forest-3);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.card-body { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: 14px 8px 4px; }
.card-cat { font-size: 12px; font-weight: 700; color: var(--forest-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-title { font-family: var(--sans); font-size: 15.5px; font-weight: 600; line-height: 1.38; letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title a { text-decoration: none; color: var(--ink); }
.card-title a:hover { color: var(--forest-2); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.card-foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.card-price-wrap { display: flex; flex-direction: column; line-height: 1.1; }
.card-price { font-family: var(--display); font-size: 21px; font-weight: 800; letter-spacing: -0.02em; color: var(--forest); }
.card-price.is-muted { font-size: 16px; color: var(--soft); }
.card-price-wrap small { margin-top: 3px; font-size: 12px; color: var(--muted); }
.card-go { flex: none; width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--forest); color: var(--lime); transition: background 0.2s, color 0.2s; }
.card-go:hover { background: var(--lime); color: var(--forest-3); }

.card--skeleton .card-media, .card--skeleton .card-body span {
    background: linear-gradient(90deg, var(--sage-2) 0%, #f7f9f4 50%, var(--sage-2) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.4s ease-in-out infinite;
}
.card--skeleton .card-body span { display: block; height: 12px; border-radius: 6px; }
.card--skeleton .card-body span:nth-child(1) { width: 40%; }
.card--skeleton .card-body span:nth-child(2) { width: 90%; height: 16px; }
.card--skeleton .card-body span:nth-child(3) { width: 30%; height: 20px; margin-top: 14px; }
.card--skeleton:hover { transform: none; box-shadow: none; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Carousel ---------- */
.carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 3 * 16px) / 4);
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 2px 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--forest-2) transparent;
}
.carousel > * { scroll-snap-align: start; }

/* ---------- Standard ---------- */
.standard {
    padding: 96px 0;
    background:
        radial-gradient(circle at 100% 0%, rgba(205, 242, 90, 0.12), transparent 35%),
        var(--forest);
    color: #fff;
}
.standard-head { max-width: 660px; }
.standard-head h2 { margin: 16px 0 14px; font-size: clamp(34px, 4.4vw, 56px); font-weight: 800; letter-spacing: -0.035em; }
.standard-head p { color: rgba(255, 255, 255, 0.72); font-size: 17px; }
.standard-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 48px 0 0; padding: 0; counter-reset: std; }
.standard-grid li {
    position: relative;
    padding: 28px;
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    counter-increment: std;
}
.standard-grid li::before { content: '0' counter(std); position: absolute; top: 26px; right: 26px; font-family: var(--display); font-weight: 700; font-size: 15px; color: rgba(255, 255, 255, 0.35); }
.standard-icon { width: 54px; height: 54px; border-radius: 17px; display: flex; align-items: center; justify-content: center; background: var(--lime); color: var(--forest-3); margin-bottom: 22px; }
.standard-grid h3 { font-size: 21px; margin-bottom: 10px; }
.standard-grid p { font-size: 15px; color: rgba(255, 255, 255, 0.7); }

/* ---------- Catalog ---------- */
.catalog-bar {
    position: sticky;
    top: var(--header-h);
    z-index: 20;
    margin: 0 -20px;
    padding: 12px 20px;
    background: rgba(244, 245, 239, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}
.catalog-bar-top { display: flex; gap: 12px; }
.catalog-search, .sort {
    display: flex;
    align-items: center;
    height: 54px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.catalog-search { flex: 1; gap: 10px; padding: 0 20px; color: var(--muted); }
.catalog-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; color: var(--ink); }
.catalog-search:focus-within, .sort:focus-within { border-color: var(--forest-2); box-shadow: 0 0 0 4px var(--lime-tint); }
.sort { gap: 6px; padding: 0 10px 0 20px; flex: none; }
.sort span { font-size: 14px; color: var(--muted); }
.sort select { border: 0; outline: 0; background: transparent; font-weight: 700; color: var(--forest); padding: 8px 4px; cursor: pointer; }
.chip-scroller { position: relative; margin-top: 12px; }
.chip-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chip-row::-webkit-scrollbar { display: none; }
/* Kaydırılabilir yön varsa kenarda solma + ok butonu (catalog.js > updateChipArrows) */
.chip-scroller::before, .chip-scroller::after { content: ''; position: absolute; top: 0; bottom: 2px; width: 72px; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 0.2s; }
.chip-scroller::before { left: 0; background: linear-gradient(90deg, var(--bg) 35%, rgba(244, 245, 239, 0)); }
.chip-scroller::after { right: 0; background: linear-gradient(270deg, var(--bg) 35%, rgba(244, 245, 239, 0)); }
.chip-scroller.can-prev::before, .chip-scroller.can-next::after { opacity: 1; }
.chip-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 38px;
    height: 38px;
    margin-top: -20px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--forest);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 16px -8px rgba(18, 58, 44, 0.45);
    transition: background 0.2s, color 0.2s;
}
.chip-arrow:hover { background: var(--forest); color: var(--lime); border-color: var(--forest); }
.chip-arrow[hidden] { display: none; }
.chip-arrow--prev { left: 0; }
.chip-arrow--next { right: 0; }
.result-count { margin: 12px 0 18px; font-size: 14px; color: var(--soft); }
.result-count strong { color: var(--forest); }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 64px 24px; border-radius: var(--r-lg); border: 1.5px dashed var(--line); background: var(--surface); color: var(--soft); }
.empty-state .empty-title { font-family: var(--display); font-size: 24px; font-weight: 700; color: var(--forest); margin-bottom: 8px; }
.empty-state .btn { margin-top: 20px; }
.show-more { text-align: center; margin-top: 36px; }

/* ---------- Guides band ---------- */
.guides-band { display: grid; grid-template-columns: 1fr 1.25fr; gap: 36px; align-items: center; padding: 40px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); }
.guides-band h2 { margin: 14px 0 10px; font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; letter-spacing: -0.035em; }
.guides-band-copy p { color: var(--soft); margin-bottom: 20px; max-width: 420px; }
.guides-band-list { display: grid; gap: 12px; }
.guide-mini {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 18px;
    padding: 22px 22px 22px 26px;
    border-radius: var(--r);
    background: var(--bg);
    text-decoration: none;
    color: var(--ink);
    transition: background 0.2s;
}
.guide-mini:hover { background: var(--sage); }
.guide-mini-meta { font-size: 13px; font-weight: 600; color: var(--muted); }
.guide-mini-title { grid-column: 1; font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; margin-top: 4px; }
.guide-mini-go { grid-column: 2; grid-row: 1 / span 2; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--forest); color: var(--lime); }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-3); color: rgba(255, 255, 255, 0.7); padding: 56px 0 32px; }
.footer-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 40px 44px; border-radius: var(--r-xl); background: var(--lime); color: var(--forest-3); }
.footer-cta-title { margin-top: 12px; max-width: 640px; font-family: var(--display); font-size: clamp(26px, 3.2vw, 40px); font-weight: 800; line-height: 1.05; letter-spacing: -0.035em; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-top: 64px; }
.footer-brand p { margin-top: 18px; max-width: 380px; font-size: 15px; }
.footer-col h2 { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lime); margin-bottom: 14px; }
.footer-col a { display: block; padding: 5px 0; font-size: 15px; color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-notice { margin-top: 48px; padding: 20px 24px; border-radius: var(--r); border: 1px solid rgba(255, 255, 255, 0.12); font-size: 13.5px; }
.footer-notice strong { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 28px; font-size: 13px; color: rgba(255, 255, 255, 0.5); }

/* ---------- Static pages ---------- */
.page-hero { padding: 6px 0 0; }
.page-hero-inner {
    padding: 64px 56px;
    border-radius: var(--r-xl);
    background:
        radial-gradient(circle at 95% 0%, rgba(205, 242, 90, 0.18), transparent 40%),
        var(--forest);
    color: #fff;
}
.page-hero h1 { margin-top: 18px; max-width: 900px; font-size: clamp(38px, 5vw, 66px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.page-lede { margin-top: 20px; max-width: 640px; font-size: 18px; color: rgba(255, 255, 255, 0.75); }
.page-meta { margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--lime); }

.prose { max-width: 760px; margin: 56px auto 96px; font-size: 17px; line-height: 1.75; color: var(--text); }
.prose h2 { margin: 48px 0 14px; font-size: 30px; font-weight: 700; color: var(--forest); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 8px; font-family: var(--sans); font-size: 19px; font-weight: 700; letter-spacing: 0; color: var(--ink); }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 18px; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--forest-2); font-weight: 700; }
.prose a { color: var(--forest); font-weight: 600; text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose code { padding: 2px 7px; border-radius: 6px; background: var(--sage); font-size: 14px; }
.callout { margin: 28px 0; padding: 22px 26px; border-radius: var(--r); background: var(--lime-tint); border: 1px solid rgba(160, 200, 40, 0.35); }
.callout .eyebrow { margin-bottom: 10px; }
.callout p:last-child { margin-bottom: 0; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0 8px; }
.value { padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.value-no { display: inline-flex; width: 34px; height: 34px; border-radius: 11px; align-items: center; justify-content: center; background: var(--forest); color: var(--lime); font-family: var(--display); font-size: 14px; font-weight: 700; }
.prose .value h3 { margin: 14px 0 6px; font-family: var(--display); font-size: 20px; }
.prose .value p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--soft); }

.guide-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 48px 0 96px; }
.guide-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 32px;
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    text-decoration: none;
    color: var(--ink);
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.guide-card:hover { border-color: var(--forest-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.guide-card h2 { font-size: 27px; font-weight: 700; }
.guide-card p { color: var(--soft); }
.guide-card .link-arrow { margin-top: auto; padding-top: 8px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; margin: 48px 0 96px; align-items: start; }
.contact-info, .contact-form { padding: 32px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.contact-info > p { color: var(--soft); }
.contact-info dl { margin: 8px 0 0; }
.contact-info dt { margin-top: 20px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.contact-info dd { margin: 4px 0 0; font-weight: 600; color: var(--forest); }
.contact-info dd a { color: var(--forest); }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.field { width: 100%; padding: 14px 18px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg); font-size: 16px; outline: 0; transition: border-color 0.2s, box-shadow 0.2s; }
.field:focus { border-color: var(--forest-2); box-shadow: 0 0 0 4px var(--lime-tint); background: #fff; }
textarea.field { min-height: 170px; resize: vertical; }
.form-hp { position: absolute; left: -9999px; }
.form-message { padding: 14px 18px; border-radius: var(--r-sm); font-weight: 600; }
.form-message.ok { background: var(--lime-tint); color: var(--forest); }
.form-message.err { background: var(--clay-tint); color: #8c2f12; }

.empty-page { padding: 120px 0; text-align: center; }
.empty-page h1 { margin: 18px 0 14px; font-size: clamp(36px, 5vw, 58px); font-weight: 800; letter-spacing: -0.04em; color: var(--forest); }
.empty-page p { max-width: 520px; margin: 0 auto 28px; color: var(--soft); font-size: 17px; }

/* ---------- Product detail ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 18px 4px 20px; font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--soft); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { color: var(--forest); }
.breadcrumb-current { max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.pd-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
.pd-media-col { position: sticky; top: calc(var(--header-h) + 12px); }
.pd-media { position: relative; margin: 0; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: 44px; border-radius: var(--r-xl); background: var(--sage-2); }
.pd-media img { max-height: 100%; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pd-media .card-badge { top: 20px; left: 20px; }
.pd-media-caption { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 0 8px; font-size: 13px; color: var(--muted); }
.pd-info h1 { margin: 16px 0 24px; font-size: clamp(28px, 3.2vw, 42px); font-weight: 700; line-height: 1.12; letter-spacing: -0.03em; color: var(--ink); }
.pd-highlights { list-style: none; display: grid; gap: 10px; margin: 0 0 28px; padding: 0; }
.pd-highlights li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; font-weight: 600; }
.tick { flex: none; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--lime); color: var(--forest-3); margin-top: -1px; }

.price-card { padding: 28px; border-radius: var(--r-lg); background: var(--forest); color: #fff; }
.price-label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.price-value { margin: 6px 0 22px; font-family: var(--display); font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--lime); }
.price-value--text { font-size: 28px; color: #fff; }
.price-note { margin-top: 14px; font-size: 12.5px; color: rgba(255, 255, 255, 0.58); }
.assurances { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.assurances li { display: flex; align-items: center; gap: 10px; margin: 8px 0; font-size: 14px; color: rgba(255, 255, 255, 0.85); }
.assurances svg { color: var(--lime); flex: none; }
.fine-print { margin-top: 14px; font-size: 13px; color: var(--muted); }

.pd-section { margin-top: 88px; }
.pd-section-head { margin-bottom: 28px; }
.pd-section-head h2 { margin-top: 14px; font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; letter-spacing: -0.035em; }

.verdict { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: start; }
.verdict-main, .verdict-side { display: flex; flex-direction: column; gap: 16px; }
.verdict-block { padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.verdict-block h3 { margin-bottom: 10px; font-size: 22px; color: var(--forest); }
.verdict-block p { color: var(--text); line-height: 1.72; }
.verdict-block--for { background: var(--lime-tint); border-color: transparent; }
.pc { padding: 26px; border-radius: var(--r-lg); }
.pc--pros { background: var(--sage); }
.pc--cons { background: var(--clay-tint); }
.pc h3 { margin-bottom: 12px; font-size: 20px; }
.pc ul { list-style: none; margin: 0; padding: 0; }
.pc li { position: relative; margin: 10px 0; padding-left: 32px; font-size: 15.5px; }
.pc li::before { position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; }
.pc--pros li::before { content: '\2713'; background: var(--forest); color: var(--lime); }
.pc--cons li::before { content: '!'; background: var(--clay); color: #fff; }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature { padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.feature-no { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: var(--lime-tint); color: var(--forest); font-family: var(--display); font-size: 13px; font-weight: 700; }
.feature h3 { margin: 14px 0 8px; font-size: 19px; }
.feature p { margin-top: 12px; font-size: 15.5px; line-height: 1.65; color: var(--soft); }
.feature h3 + p { margin-top: 0; }

.pd-cta { display: grid; grid-template-columns: 120px 1fr auto; gap: 28px; align-items: center; margin-top: 88px; padding: 24px 32px 24px 24px; border-radius: var(--r-xl); background: var(--forest); color: #fff; }
.pd-cta-img { width: 120px; height: 120px; padding: 12px; border-radius: 22px; background: var(--sage-2); }
.pd-cta-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pd-cta-title { margin: 10px 0 6px; font-family: var(--display); font-size: 22px; font-weight: 700; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pd-cta-text > p:last-child { color: rgba(255, 255, 255, 0.7); font-size: 15px; }

.related { margin-bottom: 96px; }
.related-all { margin-top: 18px; }

.buybar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1160px) {
    .main-nav a { padding: 9px 11px; font-size: 14.5px; }
    .header-search { width: 190px; }
    .header-search:focus-within { width: 220px; }
    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .carousel { grid-auto-columns: calc((100% - 2 * 16px) / 3); }
    .standard-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
    .hero-panel { padding: 44px; gap: 32px; }
}

@media (max-width: 980px) {
    .nav-toggle { display: inline-flex; }
    .header-search { margin-left: auto; }
    .main-nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        margin: 0;
        padding: 10px;
        border-radius: var(--r-lg);
        background: #fff;
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
    }
    .main-nav.is-open { display: flex; }
    .main-nav a { padding: 13px 18px; font-size: 16px; }

    .hero-panel { grid-template-columns: 1fr; }
    .hero-bento { min-height: 460px; }
    .shelf-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
    .shelf-tile--wide { grid-row: span 1; }
    .pd-grid { grid-template-columns: 1fr; gap: 32px; }
    .pd-media-col { position: static; max-width: 620px; }
    .verdict { grid-template-columns: 1fr; }
    .contact-grid, .guides-band { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
    :root { --header-h: 74px; }
    .container { padding: 0 16px; }
    .site-header { padding: 8px 0; }
    .header-shell { padding: 6px 6px 6px 12px; }
    .brand-word { font-size: 21px; }
    .brand-mark { width: 34px; height: 34px; }
    .header-search { display: none; }
    .nav-toggle { margin-left: auto; }

    .hero-panel { padding: 34px 22px 22px; border-radius: 28px; }
    .hero-lede { font-size: 16.5px; }
    .hero-stats { gap: 22px; margin-top: 32px; }
    .hero-stats strong { font-size: 28px; }
    .hero-bento { min-height: 0; grid-template-rows: repeat(3, 150px); gap: 10px; }
    .bento-img { padding: 14px 14px 48px; }
    .bento-cat { max-width: 100%; }
    .bento-price { display: none; }
    .disclosure-bar { font-size: 12px; }
    .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .hero-stats strong { font-size: 26px; }
    .hero-stats span { font-size: 12px; }
    .marquee-track span { font-size: 18px; }

    .section { padding: 64px 0; }
    .section--tight { padding: 8px 0 72px; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 26px; }
    .shelf-grid { grid-template-columns: 1fr; grid-auto-rows: 132px; gap: 10px; }
    .shelf-tile, .shelf-tile--wide { grid-column: auto; grid-row: auto; flex-direction: row; align-items: stretch; gap: 14px; padding: 10px; }
    .shelf-img, .shelf-tile--wide .shelf-img { order: 0; flex: 0 0 38%; padding: 10px; border-radius: 15px; }
    .shelf-text, .shelf-tile--wide .shelf-text { flex: 1; min-width: 0; align-content: center; padding: 0 0 0 8px; }
    .shelf-tile--wide .shelf-text { display: grid; gap: 6px 12px; }
    .shelf-tile--wide .shelf-name { font-size: 21px; -webkit-line-clamp: 2; }
    .shelf-tile--wide .shelf-go { margin-top: 0; width: 44px; height: 44px; }

    .catalog-bar { position: static; margin: 0; padding: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
    .catalog-bar-top { flex-direction: column; gap: 10px; }
    .catalog-search { flex: none; }
    .chip-arrow { display: none; }
    .sort { justify-content: space-between; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .carousel { grid-auto-columns: 62%; gap: 10px; }
    .card { padding: 7px; border-radius: 20px; }
    .card-media { border-radius: 15px; }
    .card-media img { padding: 12px; }
    .card-body { padding: 10px 5px 3px; }
    .card-title { font-size: 14px; }
    .card-price { font-size: 17px; }
    .card-go { width: 36px; height: 36px; }
    .card-badge { top: 7px; left: 7px; font-size: 10px; padding: 4px 8px; }

    .standard { padding: 72px 0; }
    .standard-grid { grid-template-columns: 1fr; }
    .guides-band { padding: 26px 20px; }
    .guide-mini { padding: 18px; }
    .guide-mini-title { font-size: 18px; }

    .footer-cta { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; margin-top: 48px; }

    .page-hero-inner { padding: 40px 24px; border-radius: 28px; }
    .page-lede { font-size: 16.5px; }
    .prose { margin: 40px auto 72px; font-size: 16.5px; }
    .prose h2 { font-size: 25px; }
    .values, .guide-list { grid-template-columns: 1fr; }
    .guide-card { padding: 26px; }
    .contact-info, .contact-form { padding: 24px; }

    .pd-media { padding: 26px; border-radius: 28px; }
    .price-value { font-size: 40px; }
    .feature-grid { grid-template-columns: 1fr; }
    .pd-section { margin-top: 64px; }
    .pd-cta { grid-template-columns: 76px 1fr; gap: 16px; padding: 18px; margin-top: 64px; border-radius: 28px; }
    .pd-cta-img { width: 76px; height: 76px; padding: 8px; border-radius: 16px; }
    .pd-cta-title { font-size: 18px; }
    .pd-cta .btn { grid-column: 1 / -1; }
    .breadcrumb-current { max-width: 22ch; }

    .buybar {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        z-index: 60;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 8px 8px 8px 22px;
        border-radius: 999px;
        background: var(--forest);
        color: #fff;
        box-shadow: 0 18px 40px -16px rgba(11, 38, 29, 0.7);
    }
    .buybar strong { font-family: var(--display); font-size: 20px; color: var(--lime); }
    .buybar span { margin-left: 6px; font-size: 13px; color: rgba(255, 255, 255, 0.6); }
    .buybar .btn { min-height: 46px; padding: 0 20px; font-size: 15px; }
    body.has-buybar .site-footer { padding-bottom: 100px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .marquee-track { animation: none; }
}
