/* ============================================================
   INGRAM WELLNESS — Clinical Luxury storefront (light mode)
   Type: Manrope (headlines) + Inter (body)
   Icons: Material Symbols Outlined
   Motion: subtle fade-in reveals, hover lift only
   ============================================================ */

:root {
    --surface: #FCF8FA;
    --surface-low: #F6F3F5;
    --surface-container: #F0EDEF;
    --surface-high: #EAE7E9;
    --card: #FFFFFF;
    --ink: #1B1B1D;
    --ink-muted: #45464D;
    --line: #E2E8F0;
    --emerald: #006C4A;
    --emerald-dark: #005A3E;
    --emerald-tint: #82F5C1;
    --emerald-soft: #E7F5EF;
    --copper: #D97706;
    --copper-tint: #FFDCC3;
    --dark: #303032;
    --error: #BA1A1A;
    --success: #006C4A;
    --radius-sm: 4px;
    --radius: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, .05);
    --shadow-card-hover: 0 10px 30px -4px rgba(15, 23, 42, .10);
    --shadow-bar: 0 1px 8px rgba(0, 0, 0, .04);
    --font-head: "Manrope", sans-serif;
    --font-body: "Inter", system-ui, -apple-system, sans-serif;
    --icon: "Material Symbols Outlined";
    --ease: cubic-bezier(.22, .9, .3, 1);
    --wrap: 1200px;
    --pad-x: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    background: var(--surface);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--emerald); color: #fff; }
:focus-visible { outline: 2px solid var(--emerald); outline-offset: 2px; border-radius: var(--radius-sm); }
:focus:not(:focus-visible) { outline: none; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; letter-spacing: -.01em; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.card.reveal { transition-delay: var(--d, 0s); }

/* ---------- Header ---------- */
.site-head {
    position: sticky; top: 0; z-index: 50;
    display: flex; align-items: center; justify-content: space-between;
    height: 72px; padding: 0 var(--pad-x);
    background: rgba(252, 248, 250, .9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-bar);
    border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1rem; letter-spacing: .02em; color: var(--ink); }
.brand-mark { height: 34px; width: auto; }
.brand em { font-style: normal; color: var(--emerald); }
.site-foot .brand em { color: var(--emerald-tint); }
.head-nav { display: flex; align-items: center; gap: 6px; }
.head-nav a {
    padding: 8px 14px; border-radius: var(--radius);
    font-size: .9rem; font-weight: 500; color: var(--ink-muted);
    transition: color .2s, background .2s;
}
.head-nav a:hover { color: var(--ink); }
.head-nav a.active { background: #131B2E; color: #9AA7C7; }
.head-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn {
    position: relative; display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--card); color: var(--ink-muted); transition: color .2s, border-color .2s;
}
.cart-btn:hover { color: var(--ink); border-color: var(--ink-muted); }
.cart-btn svg { display: block; }
.cart-count {
    position: absolute; top: -6px; right: -6px;
    min-width: 18px; height: 18px; padding: 0 4px;
    background: var(--emerald); color: #fff;
    border-radius: 999px; font-size: .66rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.nav-toggle { display: none; background: none; border: none; width: 42px; height: 42px; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .25s var(--ease); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--font-head); font-weight: 600; font-size: .9rem;
    padding: 12px 22px; border-radius: var(--radius); border: 1px solid transparent;
    transition: background .2s, transform .15s, box-shadow .2s, border-color .2s;
    text-decoration: none;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--emerald); color: #fff; box-shadow: 0 4px 20px -2px rgba(0, 108, 74, .2); }
.btn-primary:hover { background: var(--emerald-dark); }
.btn-ghost { background: var(--surface-container); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-high); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 14px; font-size: .82rem; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- Hero ---------- */
.hero {
    background:
        linear-gradient(100deg, rgba(252,248,250,.97) 0%, rgba(252,248,250,.85) 42%, rgba(252,248,250,.35) 72%, rgba(252,248,250,.12) 100%),
        url('hero-bg.jpg') right center / cover no-repeat;
}
.hero-inner {
    max-width: var(--wrap); margin: 0 auto;
    padding: clamp(56px, 8vw, 96px) var(--pad-x);
    display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 64px);
    align-items: center;
}
.pill-badge {
    display: inline-flex; align-items: center; gap: 8px; width: fit-content;
    background: var(--emerald-soft); color: var(--emerald);
    padding: 6px 14px; border-radius: 999px;
    font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.pill-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; margin: 18px 0 16px; text-transform: uppercase; }
.lede { font-size: 1.05rem; color: var(--ink-muted); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-feature {
    position: relative; background: var(--card);
    border: 1px solid var(--line); border-radius: var(--radius-xl);
    padding: 16px; box-shadow: var(--shadow-card-hover);
}
.hero-feature .hf-img { height: 320px; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-container); }
.hero-feature .hf-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-feature .hf-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.hero-feature .hf-tag { display: inline-block; font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--emerald); background: var(--emerald-soft); padding: 3px 10px; border-radius: 999px; margin-bottom: 6px; }
.hero-feature .hf-name { font-family: var(--font-head); font-weight: 700; font-size: 1rem; }
.hero-feature .hf-sub { font-size: .8rem; color: var(--ink-muted); }
.hero-feature .hf-price { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--emerald); }

/* ---------- Metrics bar ---------- */
.metrics { background: var(--surface-low); border-block: 1px solid var(--line); padding: clamp(36px, 5vw, 56px) var(--pad-x); }
.metrics-grid { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.metric-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 26px 24px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 8px; }
.metric-card .icon { width: 40px; height: 40px; border-radius: var(--radius-lg); background: var(--surface-high); color: var(--emerald); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.metric-card strong { font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; }
.metric-card span.label { font-size: .72rem; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Section heads ---------- */
.section-head { max-width: var(--wrap); margin: 0 auto; padding: clamp(48px, 7vw, 88px) var(--pad-x) 0; }
.kicker { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--emerald); margin-bottom: 8px; }
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }

/* ---------- Catalog ---------- */
.catalog { max-width: var(--wrap); margin: 0 auto; padding: 20px var(--pad-x) clamp(56px, 7vw, 90px); }
.catalog-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.catalog-top .lede { font-size: .92rem; max-width: 30em; }
.sort-wrap { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--ink-muted); }
.sort-wrap select {
    background: var(--surface-low); color: var(--ink);
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 9px 14px; font: inherit; font-size: .85rem; font-weight: 500; cursor: pointer;
}
.sort-wrap select:focus { outline: 2px solid var(--emerald); outline-offset: 1px; }
.pill-row { display: flex; gap: 10px; overflow-x: auto; padding: 4px 0 14px; scrollbar-width: none; }
.pill-row::-webkit-scrollbar { display: none; }
.pill {
    white-space: nowrap; border: 1px solid var(--line); background: var(--surface-low);
    color: var(--ink-muted); border-radius: 999px; padding: 11px 18px;
    font-size: .85rem; font-weight: 500; transition: .2s;
}
.pill:hover { color: var(--ink); background: var(--surface-container); }
.pill.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-xl);
    overflow: hidden; box-shadow: var(--shadow-card);
    display: flex; flex-direction: column;
    transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.card-media { position: relative; display: block; height: 250px; background: var(--surface-low); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.badge {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    background: var(--copper-tint); color: var(--copper);
    font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    padding: 5px 12px; border-radius: 999px;
}
.badge-emerald { background: var(--emerald); color: #fff; }
.card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.card-body h3 { font-size: 1.05rem; font-weight: 700; }
.card-body h3 a:hover { color: var(--emerald); }
.card-body .excerpt { font-size: .84rem; color: var(--ink-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 14px; }
.price { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; }
.price s { color: var(--ink-muted); font-weight: 500; font-size: .88rem; margin-right: 6px; }
.soldout { font-size: .82rem; font-weight: 600; color: var(--error); }

/* ---------- Flagship carousel ---------- */
.flagship { padding: clamp(48px, 7vw, 88px) var(--pad-x) clamp(30px, 4vw, 50px); }
.flagship-head { max-width: var(--wrap); margin: 0 auto 26px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.flagship-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.flagship-nav-wrap { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.flagship-link { font-size: .88rem; font-weight: 600; color: var(--emerald); display: inline-flex; align-items: center; gap: 4px; }
.flagship-link:hover { text-decoration: underline; }
.flagship-nav { display: flex; align-items: center; gap: 4px; background: var(--surface-low); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.flagship-btn { width: 44px; height: 44px; border-radius: 50%; border: none; background: var(--card); color: var(--ink); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.flagship-btn:hover { background: var(--surface-high); }
.flagship-btn .material-symbols-outlined { font-size: 18px; }
.flagship-count { font-size: .8rem; font-weight: 600; color: var(--ink-muted); padding: 0 8px; min-width: 44px; text-align: center; }
.flagship-track {
    max-width: var(--wrap); margin: 0 auto;
    display: flex; gap: 20px; overflow-x: auto;
    scroll-snap-type: x mandatory; scroll-behavior: smooth;
    padding-bottom: 16px; scrollbar-width: none;
}
.flagship-track::-webkit-scrollbar { display: none; }
.flagship-track.draggable { cursor: grab; }
.flagship-track.dragging { cursor: grabbing; }
.flagship-track img { -webkit-user-drag: none; user-select: none; }
.flagship-track a { -webkit-user-drag: none; }
.flag-card {
    position: relative;
    min-width: 300px; max-width: 340px; flex: 0 0 32%;
    scroll-snap-align: start;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-xl);
    overflow: hidden; box-shadow: var(--shadow-card);
    display: flex; flex-direction: column;
    transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.flag-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.flag-media { position: relative; display: block; height: 220px; background: var(--surface-low); overflow: hidden; }
.flag-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.flag-card:hover .flag-media img { transform: scale(1.05); }
.flag-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.flag-body h3 { font-size: 1rem; font-weight: 700; }
.flag-body h3 a:hover { color: var(--emerald); }
/* Stretched link — whole card navigates to the PDP; Add button stays on top */
.flag-body h3 a::after { content: ""; position: absolute; inset: 0; }
.flag-card .card-foot .btn { position: relative; z-index: 2; }
.flag-body .excerpt { font-size: .8rem; color: var(--ink-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.flag-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.flag-tag { font-size: .68rem; font-weight: 600; color: var(--ink-muted); background: var(--surface-low); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; }
.flagship-foot { max-width: var(--wrap); margin: 8px auto 0; display: flex; justify-content: space-between; align-items: center; }
.flag-dots { display: flex; gap: 6px; }
.flag-dot { width: 28px; height: 24px; border: none; background: transparent; padding: 10px 3px; background-clip: content-box; background-color: var(--surface-high); border-radius: 999px; transition: background-color .2s; }
.flag-dot.active { background-color: var(--emerald); }
.flag-total { font-size: .78rem; color: var(--ink-muted); }

/* ---------- Archive banner ---------- */
.archive-banner { padding: 0 var(--pad-x); margin: clamp(30px, 4vw, 50px) 0; }
.archive-inner {
    max-width: var(--wrap); margin: 0 auto;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card); padding: clamp(24px, 4vw, 44px) clamp(20px, 4vw, 48px);
    display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.archive-inner h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin-bottom: 6px; }

/* ---------- Commitments ---------- */
.commitments { background: var(--surface-low); border-block: 1px solid var(--line); padding-bottom: clamp(40px, 6vw, 80px); }
.commit-grid { max-width: var(--wrap); margin: 0 auto; padding: 24px var(--pad-x) 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.commit-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 30px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.commit-quote { font-size: 1rem; line-height: 1.7; font-style: italic; color: var(--ink); }
.commit-by { display: flex; align-items: center; gap: 12px; }
.commit-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--emerald-soft); color: var(--emerald); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.commit-name { font-weight: 700; font-size: .92rem; }
.commit-role { font-size: .8rem; color: var(--ink-muted); }

/* ---------- Split / values / statement / CTA ---------- */
.split { max-width: var(--wrap); margin: 0 auto; padding: clamp(30px, 5vw, 64px) var(--pad-x); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.split-rev .split-media { order: 2; }
.split-media { border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-copy h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 14px; }
.split-copy p { color: var(--ink-muted); margin-bottom: 12px; }

.values { max-width: var(--wrap); margin: 0 auto; padding: clamp(30px, 5vw, 64px) var(--pad-x); display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.value { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 28px 26px; box-shadow: var(--shadow-card); transition: transform .3s var(--ease), border-color .3s; }
.value:hover { transform: translateY(-4px); border-color: var(--emerald); }
.value-num { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--emerald); display: block; margin-bottom: 10px; }
.value h3 { font-size: 1.05rem; margin-bottom: 8px; }
.value p { color: var(--ink-muted); font-size: .92rem; }

.cta-band { max-width: var(--wrap); margin: clamp(40px, 6vw, 80px) auto; padding: 0 var(--pad-x); }
.cta-inner {
    background: var(--dark); color: #fff; border-radius: var(--radius-xl);
    padding: clamp(40px, 6vw, 72px) var(--pad-x);
    text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.cta-inner h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.cta-inner .btn-primary { background: var(--emerald); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { max-width: 900px; margin: 0 auto; text-align: center; padding: clamp(50px, 7vw, 96px) var(--pad-x) clamp(30px, 4vw, 56px); }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.15; margin: 16px 0; }
.page-hero .lede { margin: 0 auto; }

/* ---------- Science cards ---------- */
.sci-grid { max-width: var(--wrap); margin: 0 auto; padding: 20px var(--pad-x) clamp(40px, 6vw, 80px); display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.sci-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-card); transition: box-shadow .3s, transform .3s var(--ease); }
.sci-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.sci-card img { height: 190px; width: 100%; object-fit: cover; }
.sci-body { padding: 22px 24px 24px; }
.sci-body h3 { font-size: 1.05rem; margin-bottom: 10px; }
.sci-body p { color: var(--ink-muted); font-size: .9rem; margin-bottom: 14px; }
.sci-link { font-weight: 600; font-size: .88rem; color: var(--emerald); display: inline-flex; align-items: center; gap: 6px; }
.sci-link:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; padding: 0 var(--pad-x) clamp(40px, 6vw, 80px); }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); margin-bottom: 10px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink); }
.faq-q .material-symbols-outlined { transition: transform .25s var(--ease); color: var(--ink-muted); }
.faq-item.open .faq-q .material-symbols-outlined { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-a p { padding: 0 22px 18px; color: var(--ink-muted); font-size: .9rem; }

/* ---------- PDP ---------- */
.pdp { max-width: var(--wrap); margin: 0 auto; padding: clamp(30px, 5vw, 64px) var(--pad-x); display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.pdp-media { position: sticky; top: 96px; }
.pdp-main { position: relative; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--line); background: var(--surface-container); box-shadow: var(--shadow-card-hover); }
.pdp-main .pdp-badge { position: absolute; top: 14px; left: 14px; z-index: 3; }
.pdp-main img { width: 100%; height: clamp(340px, 42vw, 540px); object-fit: cover; transition: transform .6s var(--ease); }
.pdp-main:hover img { transform: scale(1.03); }
.thumb-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.thumb {
    position: relative; height: 96px; border-radius: var(--radius-lg); overflow: hidden;
    border: 2px solid var(--line); background: var(--surface-low); padding: 0;
    transition: border-color .2s, opacity .2s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:not(.active) { opacity: .65; }
.thumb:hover { opacity: 1; }
.thumb.active { border-color: var(--emerald); opacity: 1; }
.pdp-info { display: flex; flex-direction: column; gap: 18px; }
.crumb { font-size: .84rem; color: var(--emerald); font-weight: 600; }
.crumb:hover { text-decoration: underline; }
.pdp-info h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; }
.pdp-price { display: flex; align-items: baseline; gap: 10px; }
.pdp-price strong { font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; }
.pdp-price s { color: var(--ink-muted); font-size: 1.1rem; }
.badge-inline { position: static; }
.pdp-desc { color: var(--ink-muted); font-size: .95rem; }
.pdp-desc p { margin-bottom: 12px; }
.pdp-actions { display: flex; gap: 14px; align-items: stretch; flex-wrap: wrap; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.qty-btn { width: 44px; height: 46px; border: none; background: none; font-size: 1.1rem; color: var(--ink-muted); transition: background .2s; }
.qty-btn:hover { background: var(--surface-container); color: var(--ink); }
.qty input { width: 52px; text-align: center; border: none; font: inherit; font-weight: 600; height: 46px; }
.qty input:focus { outline: none; }
.pdp-actions .btn { flex: 1; min-width: 200px; padding: 14px 22px; }
.pdp-trust { display: flex; flex-wrap: wrap; gap: 20px; padding-top: 8px; border-top: 1px solid var(--line); }
.pdp-trust li { list-style: none; display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--ink-muted); }
.pdp-trust .material-symbols-outlined { font-size: 18px; color: var(--emerald); }

/* ---------- Contact ---------- */
.contact-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad-x) clamp(50px, 6vw, 90px); display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-card); }
.contact-form label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink); margin-bottom: 16px; }
.contact-form input, .contact-form textarea {
    width: 100%; margin-top: 6px; padding: 12px 14px;
    border: 1px solid var(--line); border-radius: var(--radius);
    font: inherit; font-size: .9rem; color: var(--ink); background: var(--surface);
    transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(0, 108, 74, .12); }
.contact-form textarea { resize: vertical; }
.form-error { background: #FDECEC; color: var(--error); padding: 12px 16px; border-radius: var(--radius); font-size: .86rem; margin-bottom: 16px; }
.sent-state { text-align: center; padding: 30px 10px; }
.sent-state h2 { margin: 16px 0 10px; }
.sent-state p { color: var(--ink-muted); margin-bottom: 22px; }
.sent-ring { display: inline-flex; width: 60px; height: 60px; border-radius: 50%; background: var(--emerald-soft); color: var(--emerald); align-items: center; justify-content: center; font-size: 26px; }
.contact-media { border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.contact-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.contact-media figcaption { padding: 14px 18px; font-size: .8rem; color: var(--ink-muted); background: var(--card); }

/* ---------- Success ---------- */
.success-page { min-height: 55vh; display: flex; align-items: center; justify-content: center; padding: clamp(50px, 8vw, 100px) var(--pad-x); }
.success-wrap { text-align: center; max-width: 480px; }
.success-wrap h1 { font-size: 2rem; margin: 22px 0 12px; }
.success-wrap p { color: var(--ink-muted); margin-bottom: 26px; }
.pulse-badge { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 76px; height: 76px; border-radius: 50%; background: var(--emerald-soft); color: var(--emerald); }
.pulse-badge .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--emerald); opacity: 0; animation: pulse-ring 2.4s ease-out infinite; }
.pulse-badge .r2 { animation-delay: .8s; }
.pulse-badge .r3 { animation-delay: 1.6s; }
@keyframes pulse-ring { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.9); opacity: 0; } }

/* ---------- Footer ---------- */
.site-foot { background: var(--dark); color: #E7E5E8; padding: clamp(36px, 5vw, 56px) var(--pad-x) clamp(24px, 3vw, 40px); }
.foot-cols { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: clamp(24px, 4vw, 48px); padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot-brand { display: flex; flex-direction: column; gap: 12px; }
.foot-blurb { font-size: .84rem; color: #B9B7BB; max-width: 30em; }
.foot-col h4 { font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 10px; }
.foot-col a { display: block; font-size: .84rem; color: #B9B7BB; padding: 4px 0; transition: color .2s; }
.foot-col a:hover { color: #fff; }
.site-foot .brand { color: #fff; }
.foot-secure { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: #B9B7BB; }
.foot-legal { max-width: var(--wrap); margin: 22px auto 0; font-size: .72rem; color: #8B898D; line-height: 1.6; }

/* ---------- Cart drawer (light) ---------- */
.drawer-overlay { position: fixed; inset: 0; z-index: 80; background: rgba(27, 27, 29, .4); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s var(--ease); }
.drawer-overlay.open { opacity: 1; }
.drawer {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 90;
    width: min(430px, 100vw); background: var(--surface); color: var(--ink);
    display: flex; flex-direction: column;
    transform: translateX(100%); transition: transform .42s var(--ease);
    box-shadow: -10px 0 40px rgba(15, 23, 42, .15);
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.05rem; font-weight: 700; }
.drawer-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink-muted); font-size: 1.3rem; line-height: 1; transition: .2s; }
.drawer-close:hover { background: var(--surface-container); transform: rotate(90deg); }
.drawer-items { flex: 1; overflow-y: auto; padding: 18px 24px; display: flex; flex-direction: column; gap: 16px; }
.cart-empty { color: var(--ink-muted); text-align: center; padding: 40px 0; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 12px; }
.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius); background: var(--surface-low); }
.ci-name { font-weight: 600; font-size: .88rem; }
.ci-price { font-size: .78rem; color: var(--ink-muted); margin: 3px 0 6px; }
.ci-qty { display: inline-flex; align-items: center; gap: 8px; }
.ci-qty button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 700; font-size: .8rem; line-height: 1; transition: background .2s; }
.ci-qty button:hover { background: var(--emerald-soft); border-color: var(--emerald); }
.ci-qty span { font-size: .86rem; min-width: 16px; text-align: center; font-weight: 600; }
.ci-line { font-family: var(--font-head); font-weight: 700; font-size: .92rem; }
.ci-remove { border: none; background: none; color: var(--ink-muted); font-size: .72rem; cursor: pointer; text-decoration: underline; margin-top: 5px; padding: 0; }
.ci-remove:hover { color: var(--error); }
.drawer-foot { padding: 18px 24px 24px; border-top: 1px solid var(--line); background: var(--card); }

/* Coupon */
.coupon-form { display: flex; gap: 8px; margin-bottom: 10px; }
.coupon-form input {
    flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 10px 12px; color: var(--ink); font-size: .88rem;
}
.coupon-form input::placeholder { color: var(--ink-muted); opacity: .7; }
.coupon-form input:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(0, 108, 74, .12); }
.coupon-form .btn { padding: 10px 14px; font-size: .8rem; }
.coupon-message { font-size: .82rem; margin-bottom: 10px; }
.coupon-message.success { color: var(--success); }
.coupon-message.error { color: var(--error); }
.coupon-message button { background: none; border: none; color: var(--ink-muted); text-decoration: underline; cursor: pointer; padding: 0; margin-left: 6px; font-size: .82rem; }
.coupon-message button:hover { color: var(--ink); }

/* Summary */
.cart-summary { border-top: 1px solid var(--line); padding-top: 12px; margin-bottom: 14px; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 7px; color: var(--ink-muted); font-size: .9rem; }
.summary-row strong { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.summary-row.discount strong { color: var(--success); }
.summary-row.total { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 8px; }
.summary-row.total span { color: var(--ink); font-weight: 600; }
.summary-row.total strong { font-size: 1.15rem; color: var(--emerald); }

/* ---------- Icons ---------- */
.material-symbols-outlined { font-family: var(--icon); font-weight: normal; font-style: normal; font-size: 24px; line-height: 1; letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap; word-wrap: normal; direction: ltr; -webkit-font-smoothing: antialiased; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; padding-top: 44px; }
    .hero-feature { max-width: 480px; }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .grid { grid-template-columns: repeat(2, 1fr); }
    .pdp { grid-template-columns: 1fr; }
    .pdp-media { position: static; }
    .split { grid-template-columns: 1fr; }
    .split-rev .split-media { order: 0; }
    .contact-wrap { grid-template-columns: 1fr; }
    .commit-grid { grid-template-columns: 1fr; }
    .foot-cols { grid-template-columns: 1fr 1fr; }
    .flag-card { flex: 0 0 46%; }
}
@media (max-width: 640px) {
    .head-nav {
        position: fixed; top: 72px; left: 0; right: 0; z-index: 60;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--card); border-bottom: 1px solid var(--line);
        padding: 8px var(--pad-x) 16px;
        transform: translateY(-12px); opacity: 0; pointer-events: none;
        transition: .25s var(--ease);
        box-shadow: 0 12px 24px rgba(15,23,42,.08);
    }
    .head-nav.open { transform: none; opacity: 1; pointer-events: auto; }
    .head-nav a { padding: 12px 10px; border-radius: var(--radius); }
    .nav-toggle { display: block; }
    .grid { grid-template-columns: 1fr; }
    .metrics-grid { grid-template-columns: 1fr; }
    .thumb-row { grid-template-columns: repeat(4, 1fr); }
    .thumb { height: 72px; }
    .catalog-top { flex-direction: column; align-items: flex-start; }
    .flag-card { flex: 0 0 80%; min-width: 260px; }
    .foot-cols { grid-template-columns: 1fr; }
    .archive-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Back to top ---------- */
.back-top {
    position: fixed; right: 20px; bottom: 20px; z-index: 70;
    width: 44px; height: 44px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--ink); color: #fff; border: none; cursor: pointer;
    box-shadow: 0 8px 20px rgba(15,23,42,.18);
    opacity: 0; transform: translateY(12px); pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s;
}
.back-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-top:hover { background: var(--emerald); }
.back-top:focus-visible { outline: 2px solid var(--emerald); outline-offset: 2px; }
.back-top .material-symbols-outlined { font-size: 20px; }
@media (max-width: 768px) {
    .back-top { right: 14px; bottom: 14px; }
}

/* ---------- Subscribe & Save toggle ---------- */
.subscribe-toggle {
    display: flex; align-items: flex-start; gap: 12px;
    background: var(--emerald-soft); border: 1px solid rgba(5,150,105,.25);
    border-radius: var(--radius-lg); padding: 14px 16px; margin-bottom: 14px;
    cursor: pointer; transition: border-color .2s, background .2s;
}
.subscribe-toggle:hover { border-color: var(--emerald); }
.subscribe-toggle input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--emerald); cursor: pointer; flex-shrink: 0; }
.subscribe-copy strong { display: block; font-size: .88rem; color: var(--emerald); }
.subscribe-copy small { display: block; font-size: .74rem; color: var(--ink-muted); margin-top: 2px; }
