/* ==========================================================================
   AuraVape storefront styles
   Brand green #2F8638
   ========================================================================== */

:root {
    --green: #2f8638;
    --green-dark: #22662a;
    --green-deep: #14371c;
    --green-soft: #e8f2e9;
    --ink: #16211a;
    --muted: #6b7a70;
    --line: #e3e8e3;
    --bg: #ffffff;
    --bg-soft: #f6f7f4;
    --cream: #faf8f3;
    --danger: #c0392b;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(20, 55, 28, 0.08);
    --max: 1720px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Inter", "Helvetica Neue", Arial, "PingFang SC", sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 600; }
.serif { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* ---------------------------------------------------------------- top bar */
.announce {
    background: var(--green-deep);
    color: #eaf4ea;
    font-size: 13px;
    letter-spacing: .02em;
    padding: 9px 0;
    overflow: hidden;
    white-space: nowrap;
}
.announce-track {
    display: inline-flex;
    width: max-content;
    animation: announce-scroll 30s linear infinite;
}
.announce-group {
    display: inline-flex;
    align-items: center;
    min-width: 100vw;
    justify-content: space-around;
}
.announce:hover .announce-track { animation-play-state: paused; }
.announce-item {
    padding: 0 28px;
    color: inherit;
    text-decoration: none;
}
.announce-item::after {
    content: "•";
    margin-left: 28px;
    opacity: .45;
}
.announce a.announce-item:hover { text-decoration: underline; }
@keyframes announce-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .announce-track { animation: none; }
}

/* ---------------------------------------------------------------- header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 74px;
}
.brand img { height: 40px; width: auto; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.main-nav { display: flex; align-items: center; gap: 24px; margin-left: 12px; }
.main-nav > a,
.main-nav .nav-parent {
    font-size: 14px;
    font-weight: 500;
    color: #2a352d;
    padding: 6px 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.main-nav > a::after,
.main-nav .nav-parent::after {
    content: "";
    position: absolute; left: 0; bottom: 0;
    width: 0; height: 2px; background: var(--green);
    transition: width .2s ease;
}
.main-nav > a:hover::after,
.main-nav .nav-parent:hover::after,
.main-nav .nav-item:hover .nav-parent::after { width: 100%; }

/* nav dropdown */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-caret { width: 12px; height: 12px; transition: transform .2s ease; }
.nav-item:hover .nav-caret { transform: rotate(180deg); }
.nav-dropdown {
    position: absolute; top: 100%; left: 50%;
    transform: translateX(-50%);
    padding-top: 14px;
    opacity: 0; visibility: hidden;
    transition: opacity .18s ease, visibility .18s ease;
    z-index: 70;
}
.nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; }
.nav-dropdown-inner {
    min-width: 214px;
    display: flex; flex-direction: column; gap: 2px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(20, 55, 28, .14);
    padding: 8px;
}
.nav-dropdown a {
    display: block;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #2a352d;
    white-space: nowrap;
    transition: background .15s ease, color .15s ease;
}
.nav-dropdown a:hover { background: var(--green-soft); color: var(--green-dark); }
.nav-dropdown a.is-all {
    font-weight: 600;
    color: var(--green-dark);
    border-bottom: 1px solid var(--line);
    border-radius: 8px 8px 0 0;
    margin-bottom: 4px;
}

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn {
    position: relative;
    border: 0; background: none;
    width: 42px; height: 42px;
    display: grid; place-items: center;
    border-radius: 50%;
    color: var(--ink);
    transition: background .18s;
}
.icon-btn:hover { background: var(--bg-soft); }
.icon-btn svg { width: 21px; height: 21px; }
.cart-count {
    position: absolute; top: 2px; right: 0;
    min-width: 18px; height: 18px; padding: 0 5px;
    background: var(--green); color: #fff;
    font-size: 11px; font-weight: 700; line-height: 18px;
    border-radius: 9px; text-align: center;
}
.menu-toggle { display: none; }

/* search overlay */
.search-panel {
    display: none;
    border-top: 1px solid var(--line);
    background: #fff;
    padding: 16px 0;
}
.search-panel.open { display: block; }
.search-panel form { display: flex; gap: 10px; max-width: 720px; margin: 0 auto; }
.search-panel input {
    flex: 1; height: 46px; border: 1px solid var(--line);
    border-radius: 999px; padding: 0 20px; font-size: 15px; outline: none;
}
.search-panel input:focus { border-color: var(--green); }

/* ---------------------------------------------------------------- buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 48px; padding: 0 28px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 14px; font-weight: 600; letter-spacing: .02em;
    transition: all .18s ease;
    white-space: nowrap;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: var(--bg-soft); color: var(--ink); }
.btn-ghost:hover { background: var(--green-soft); }
.btn-block { width: 100%; }
.btn-sm { height: 38px; padding: 0 18px; font-size: 13px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------------------------------------------------------------- hero */
.hero {
    position: relative;
    min-height: 560px;
    display: flex; align-items: center;
    background: var(--green-deep);
    color: #fff;
    overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-slide {
    position: absolute; inset: 0;
    opacity: 0;
    transition: opacity 1.1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img,
.hero-slide video {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    opacity: .55;
}
.hero::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(10, 28, 15, .88) 0%, rgba(10, 28, 15, .55) 48%, rgba(10, 28, 15, .15) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 620px; padding: 90px 0; }
.eyebrow {
    display: inline-block; font-size: 12px; font-weight: 700;
    letter-spacing: .18em; text-transform: uppercase;
    color: #b9e0bd; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(38px, 5vw, 62px); letter-spacing: -.02em; margin-bottom: 18px; }
.hero p { font-size: 17px; color: rgba(255,255,255,.82); max-width: 480px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }
.hero .btn-outline:hover { background: #fff; color: var(--green-deep); }

.hero-simple {
    background: var(--cream);
    padding: 64px 0 52px;
    border-bottom: 1px solid var(--line);
}
.hero-simple h1 { font-size: clamp(32px, 4vw, 46px); }
.hero-simple p { color: var(--muted); max-width: 640px; margin-top: 12px; }

/* shared shop hero (all products + collection pages) — rotating backgrounds */
.page-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 420px;
    background: var(--green-deep);
    color: #fff;
    overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-slide {
    position: absolute; inset: 0;
    opacity: 0;
    transition: opacity 1.1s ease;
}
.page-hero-slide.active { opacity: 1; }
.page-hero-slide img,
.page-hero-slide video {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.page-hero::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(10, 28, 15, .92) 0%, rgba(10, 28, 15, .72) 46%, rgba(10, 28, 15, .3) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero-copy { max-width: 620px; padding: 76px 0; }
.page-hero-copy .eyebrow { color: #b9e0bd; margin-bottom: 14px; }
.page-hero-copy h1 { font-size: clamp(32px, 4vw, 48px); color: #fff; }
.page-hero-copy p {
    color: rgba(255, 255, 255, .8);
    font-size: 16px;
    max-width: 500px;
    margin: 14px 0 26px;
}
@media (max-width: 865px) {
    .page-hero { min-height: 300px; }
    .page-hero-copy { padding: 48px 0; }
    .page-hero::after {
        background: linear-gradient(180deg, rgba(10, 28, 15, .8), rgba(10, 28, 15, .9));
    }
}

/* ---------------------------------------------------------------- sections */
.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section-cream { background: var(--cream); }
.section-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 20px; margin-bottom: 34px;
}
.section-head h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.01em; }
.section-head p { color: var(--muted); margin: 8px 0 0; font-size: 15px; }
.section-link { font-size: 14px; font-weight: 600; color: var(--green); white-space: nowrap; }
.section-link:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- product grid */
.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s;
    display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d3ded4; }
.card-media {
    position: relative; aspect-ratio: 1 / 1;
    background: var(--bg-soft); overflow: hidden;
}
.card-media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s ease;
}
.card:hover .card-media img { transform: scale(1.05); }
.badge {
    position: absolute; top: 12px; left: 12px;
    background: var(--green); color: #fff;
    font-size: 11px; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; padding: 5px 10px; border-radius: 999px;
}
.badge.sale { background: #c0392b; }
.card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-collection { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card-title { font-size: 15px; font-weight: 600; line-height: 1.35; }
.card-title:hover { color: var(--green); }
.card-price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 8px; }
.price { font-size: 16px; font-weight: 700; }
.price-old { font-size: 13px; color: #9aa79d; text-decoration: line-through; }
.stars { color: #e0a92e; font-size: 12px; letter-spacing: 1px; }

/* featured picks: deep green band + wide editorial cards */
.section-deep {
    background:
        radial-gradient(78% 130% at 6% -12%, rgba(104, 178, 112, .34) 0%, rgba(104, 178, 112, 0) 60%),
        radial-gradient(64% 120% at 102% 108%, rgba(146, 198, 146, .20) 0%, rgba(146, 198, 146, 0) 62%),
        radial-gradient(50% 80% at 62% 40%, rgba(46, 110, 58, .28) 0%, rgba(46, 110, 58, 0) 70%),
        linear-gradient(168deg, #1e5127 0%, #17401f 42%, #123218 74%, #0e2914 100%);
    color: #f2f5f0;
}
.section-deep .section-head p { color: rgba(242, 245, 240, .62); }
.section-deep .section-link { color: #bfe3c3; }
.featured-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.featured-card {
    display: flex; gap: 18px; padding: 16px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .028));
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 16px;
    transition: background .22s ease, border-color .22s ease, transform .22s ease;
}
.featured-card:hover { background: linear-gradient(145deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .05)); border-color: rgba(255, 255, 255, .32); transform: translateY(-3px); }
.featured-media {
    position: relative; flex: 0 0 140px; width: 140px; height: 140px;
    border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, .08);
}
.featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.featured-card:hover .featured-media img { transform: scale(1.06); }
.featured-tag {
    position: absolute; top: 8px; left: 8px;
    padding: 3px 8px; border-radius: 999px;
    background: rgba(20, 55, 28, .78);
    font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    color: #dff0e1;
}
.featured-body { display: flex; flex-direction: column; gap: 5px; min-width: 0; padding: 4px 0; }
.featured-collection { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(242, 245, 240, .52); }
.featured-body h3 { font-size: 20px; line-height: 1.3; }
.featured-price { margin-top: auto; display: flex; align-items: baseline; gap: 8px; font-size: 15px; font-weight: 700; }
.featured-price .price-old { color: rgba(242, 245, 240, .45); }
.featured-link { font-size: 12px; font-weight: 600; color: #bfe3c3; }

/* new arrivals: compact scrollable strip */
.arrivals-rail {
    display: flex; gap: 16px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    scrollbar-width: none;
}
.arrivals-rail::-webkit-scrollbar { display: none; }
.arrival-card {
    flex: 0 0 calc((100% - 48px) / 4);
    display: flex; flex-direction: column; gap: 8px;
    scroll-snap-align: start;
}
.arrival-media {
    position: relative; aspect-ratio: 1 / 1;
    border-radius: 12px; overflow: hidden; background: var(--bg-soft);
}
.arrival-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.arrival-card:hover .arrival-media img { transform: scale(1.05); }
.arrival-flag {
    position: absolute; top: 10px; left: 10px;
    padding: 4px 9px; border-radius: 999px;
    background: #fff; color: var(--green-dark);
    font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(20, 55, 28, .12);
}
.arrival-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.arrival-title { font-size: 14px; font-weight: 600; line-height: 1.4; }
.arrival-price { font-size: 13px; font-weight: 700; color: var(--green-dark); white-space: nowrap; }
.arrival-sub { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* best sellers: ranked list */
.rank-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
.rank-item {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 2px;
    border-bottom: 1px solid rgba(20, 55, 28, .1);
}
.rank-no {
    flex: 0 0 46px; width: 46px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px; line-height: 1; color: rgba(20, 55, 28, .22);
}
.rank-no.is-top { color: var(--green); }
.rank-thumb {
    flex: 0 0 76px; width: 76px; height: 76px;
    border-radius: 10px; overflow: hidden; background: #fff;
}
.rank-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.rank-item:hover .rank-thumb img { transform: scale(1.06); }
.rank-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.rank-title { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-meta { display: flex; align-items: center; gap: 10px; }
.rank-sold { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--green-dark); }
.rank-price { font-size: 15px; font-weight: 700; white-space: nowrap; }

/* rating */
.rating-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }

/* product tags (chips under the title) */
.pdp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.pdp-tag {
    display: inline-flex; align-items: center;
    padding: 5px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 12px; font-weight: 600; line-height: 1.4;
    letter-spacing: .02em;
    background: var(--bg-soft);
}

/* ---------------------------------------------------------------- collection tiles */
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile {
    position: relative; min-height: 260px; border-radius: var(--radius);
    overflow: hidden; color: #fff; display: flex; align-items: flex-end;
    padding: 26px;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tile::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(10,25,14,.72));
}
.tile:hover img { transform: scale(1.05); }
.tile-body { position: relative; z-index: 2; }
.tile-body h3 { font-size: 21px; margin-bottom: 4px; }
.tile-body span { font-size: 13px; opacity: .8; }
.tile-grid.is-1 { grid-template-columns: 1fr; }
.tile-grid.is-2 { grid-template-columns: repeat(2, 1fr); }
.tile-grid.is-3 { grid-template-columns: repeat(3, 1fr); }
.tile-grid.is-4 { grid-template-columns: repeat(4, 1fr); }

/* 系列超过 4 个时横向自动循环滚动，悬停暂停 */
.tile-marquee { overflow: hidden; }
.tile-marquee .tile-track {
    display: flex;
    width: max-content;
    animation: tile-marquee 40s linear infinite;
}
.tile-marquee .tile-track:hover { animation-play-state: paused; }
.tile-marquee .tile-group { display: flex; gap: 20px; padding-right: 20px; }
.tile-marquee .tile { flex: 0 0 360px; width: 360px; }
@keyframes tile-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .tile-marquee { overflow-x: auto; }
    .tile-marquee .tile-track { animation: none; }
}

/* ---------------------------------------------------------------- trust strip */
.trust-strip {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1px; background: var(--line);
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.trust-item { background: #fff; padding: 26px 18px; text-align: center; }
.trust-item h4 { font-size: 14px; margin-bottom: 4px; }
.trust-item p { margin: 0; font-size: 12px; color: var(--muted); }
.trust-item .ico { display: flex; align-items: center; justify-content: center; margin-bottom: 10px; color: var(--green); }
.trust-item .ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.trust-item .ico img { display: block; width: 26px; height: 26px; object-fit: contain; }

/* ---------------------------------------------------------------- product detail */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; padding: 40px 0 72px; max-width: 1240px; margin: 0 auto; }
.pdp-gallery { display: flex; flex-direction: column; gap: 12px; }
.pdp-main {
    border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; background: var(--bg-soft); aspect-ratio: 1/1;
    position: relative; cursor: zoom-in;
}
.pdp-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.pdp-main.zoomed img { transform: scale(2); }
.pdp-zoom-hint {
    position: absolute; right: 12px; bottom: 12px; z-index: 2;
    background: rgba(255, 255, 255, .92); border: 1px solid var(--line);
    border-radius: 999px; padding: 5px 11px; font-size: 11.5px; color: var(--muted);
    pointer-events: none;
}
.pdp-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.pdp-thumb {
    border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
    aspect-ratio: 1; background: var(--bg-soft); cursor: pointer;
}
.pdp-thumb.active { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }

.pdp-info h1 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -.01em; margin: 10px 0 12px; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; margin: 16px 0 22px; }
.pdp-price .price { font-size: 28px; }
.pdp-desc { color: #4b584f; font-size: 15px; margin-bottom: 22px; }
.option-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.option-values { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.option-value {
    border: 1px solid var(--line); background: #fff; color: var(--ink);
    border-radius: 999px; padding: 9px 16px; font-size: 13px; transition: all .15s;
}
.option-value:hover { border-color: var(--green); }
.option-value.active { background: var(--green); border-color: var(--green); color: #fff; }
.option-value.out { opacity: .4; text-decoration: line-through; cursor: not-allowed; }

.qty-row { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.pdp-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 0; }
.pdp-actions .btn { width: 100%; padding: 0 16px; }
@media (max-width: 560px) { .pdp-actions { grid-template-columns: 1fr; } }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 40px; height: 44px; border: 0; background: #fff; font-size: 18px; }
.qty button:hover { background: var(--bg-soft); }
.qty input { width: 48px; height: 44px; border: 0; text-align: center; font-size: 15px; outline: none; }
.pdp-meta { display: grid; gap: 10px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.pdp-meta strong { color: var(--ink); }

/* pdp trust / payment / delivery */
.pdp-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0 0; font-size: 12.5px; color: var(--muted); list-style: none; }
.pdp-trust li { display: flex; align-items: center; gap: 7px; }
.pdp-trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.pdp-pay { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.pdp-pay img { height: 34px; width: auto; display: block; border-radius: 6px; }
.pdp-member-note { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.pdp-delivery {
    display: flex; align-items: flex-start; gap: 9px;
    background: var(--green-soft); color: #3f4d43;
    border-radius: 10px; padding: 11px 13px; margin-top: 14px; font-size: 13px; line-height: 1.5;
}
.pdp-delivery strong { color: var(--green-deep); }

/* pdp specifications */
.pdp-specs table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pdp-specs th, .pdp-specs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pdp-specs th { width: 200px; color: var(--muted); font-weight: 600; }
.pdp-specs tr:first-child th, .pdp-specs tr:first-child td { border-top: 1px solid var(--line); }

/* pdp lightbox */
.pdp-lightbox {
    position: fixed; inset: 0; z-index: 200;
    display: none; align-items: center; justify-content: center;
    background: rgba(10, 18, 12, .93); padding: 56px 18px;
}
.pdp-lightbox.open { display: flex; }
.pdp-lightbox img { max-width: min(1080px, 92vw); max-height: 86vh; object-fit: contain; border-radius: 8px; }
.plb-close, .plb-nav {
    position: absolute; width: 44px; height: 44px; border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .14); color: #fff; font-size: 26px; line-height: 1;
    display: grid; place-items: center; cursor: pointer;
}
.plb-close:hover, .plb-nav:hover { background: rgba(255, 255, 255, .28); }
.plb-close { top: 18px; right: 18px; font-size: 30px; }
.plb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.plb-next { right: 18px; top: 50%; transform: translateY(-50%); }
body.lb-open { overflow: hidden; }

/* tabs */
.tabs { border-bottom: 1px solid var(--line); display: flex; gap: 28px; margin-bottom: 28px; }
.tab-btn { border: 0; background: none; padding: 14px 0; font-size: 15px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; }
.tab-btn.active { color: var(--ink); border-bottom-color: var(--green); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.rich-content { color: #3d4a41; font-size: 15px; }
.rich-content h1, .rich-content h2, .rich-content h3 { margin: 22px 0 10px; color: var(--ink); }
.rich-content p { margin: 0 0 14px; }
.rich-content ul, .rich-content ol { margin: 0 0 16px; padding-left: 20px; }
.rich-content li { margin-bottom: 6px; }
.rich-content img { border-radius: 10px; margin: 16px 0; }
.rich-content table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.rich-content td, .rich-content th { border: 1px solid var(--line); padding: 8px 10px; }

/* reviews */
.review { border-bottom: 1px solid var(--line); padding: 22px 0; }
.review:first-child { padding-top: 0; }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--green-soft); color: var(--green-dark); display: grid; place-items: center; font-weight: 700; }

/* ---------------------------------------------------------------- cart drawer */
.drawer-mask {
    position: fixed; inset: 0; background: rgba(10, 20, 12, .45);
    opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 90;
}
.drawer-mask.open { opacity: 1; pointer-events: auto; }
.drawer {
    position: fixed; top: 0; right: 0; height: 100%; width: 420px; max-width: 92vw;
    background: #fff; z-index: 95; transform: translateX(100%);
    transition: transform .3s ease; display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 18px 22px 24px; }
.drawer-note { margin: 0 0 12px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.drawer-item { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.drawer-item img { width: 70px; height: 70px; object-fit: cover; border-radius: 10px; background: var(--bg-soft); }
.drawer-item h4 { font-size: 14px; margin-bottom: 3px; }
.drawer-item .sub { font-size: 12px; color: var(--muted); }
.drawer-item .rm { border: 0; background: none; color: #9aa79d; font-size: 12px; text-decoration: underline; padding: 0; margin-top: 6px; }
.drawer-total { display: flex; justify-content: space-between; font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }

/* ---------------------------------------------------------------- forms */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.input, .select, textarea.input {
    width: 100%; height: 46px; border: 1px solid var(--line);
    border-radius: 10px; padding: 0 14px; font-size: 14px; font-family: inherit;
    background: #fff; outline: none; transition: border-color .15s, box-shadow .15s;
}
textarea.input { height: auto; padding: 12px 14px; min-height: 100px; resize: vertical; }
.input:focus, .select:focus, textarea.input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(47, 134, 56, .12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #46534a; }
.check input { margin-top: 4px; }
.alert { padding: 12px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 18px; }
.alert-success { background: #e9f6ec; color: #1e6b2c; border: 1px solid #c8e8cf; }
.alert-error { background: #fdf0ee; color: #a5342a; border: 1px solid #f3cfca; }
.alert-info { background: #eef4fb; color: #2b4d73; border: 1px solid #d6e3f3; }

/* ---------------------------------------------------------------- custom select
   Native select popups are OS drawn; shop.js swaps them for this brand dropdown. */
.usel { position: relative; display: inline-block; width: 100%; vertical-align: middle; }
.usel > select.usel-native {
    position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0;
    border: 0; opacity: 0; pointer-events: none; -webkit-appearance: none; appearance: none;
}
.usel-btn {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    width: 100%; height: 46px; margin: 0; padding: 0 14px;
    border: 1px solid var(--line); border-radius: 10px; background: #fff;
    background-image: none !important; color: var(--ink);
    font-family: inherit; font-size: 14px; line-height: 1.2; text-align: left;
    white-space: nowrap; cursor: pointer; -webkit-appearance: none; appearance: none;
    transition: border-color .15s, box-shadow .15s;
}
.usel-btn .usel-label { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.usel-btn.is-placeholder .usel-label { color: #a9b5ac; }
.usel-btn:focus { outline: none; }
.usel-chev { flex: 0 0 16px; width: 16px; height: 16px; color: #6b7a70; transition: transform .16s ease; }
.usel.is-open .usel-chev { transform: rotate(180deg); }
.usel-menu {
    position: absolute; z-index: 70; top: calc(100% + 6px); left: 0; right: 0;
    max-height: 272px; overflow: auto; margin: 0; padding: 6px;
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    box-shadow: 0 18px 44px rgba(20, 55, 28, .16);
    opacity: 0; visibility: hidden; transform: translateY(-4px);
    transition: opacity .14s ease, transform .14s ease, visibility .14s;
}
.usel.is-up .usel-menu { top: auto; bottom: calc(100% + 6px); }
.usel.is-open .usel-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.usel-opt {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 9px 12px; border-radius: 8px; font-size: 14px; line-height: 1.35;
    color: var(--ink); cursor: pointer;
}
.usel-opt:hover, .usel-opt.is-active { background: var(--green-soft); color: var(--green-dark); }
.usel-opt[aria-selected="true"] { color: var(--green-dark); font-weight: 600; }
.usel-opt[aria-selected="true"]::after { content: "\2713"; font-size: 12px; }
.usel-opt.is-disabled { color: #b6c0b8; cursor: not-allowed; background: none; }
.usel-opt.is-disabled[aria-selected="true"]::after { content: ""; }

/* ---------------------------------------------------------------- auth */
.auth-wrap { max-width: 460px; margin: 56px auto 80px; padding: 0 24px; }
.auth-card { border: 1px solid var(--line); border-radius: 18px; padding: 34px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 28px; margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.auth-foot { text-align: center; margin-top: 18px; font-size: 14px; color: var(--muted); }
.auth-foot a { color: var(--green); font-weight: 600; }

/* ---------------------------------------------------------------- cart / checkout */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; padding: 44px 0 80px; align-items: start; }
.cart-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cart-row { display: grid; grid-template-columns: 92px 1fr auto auto; gap: 18px; padding: 18px; border-bottom: 1px solid var(--line); align-items: center; }
.cart-row:last-child { border-bottom: 0; }
.cart-row img { width: 92px; height: 92px; border-radius: 10px; object-fit: cover; background: var(--bg-soft); }
.cart-row h4 { font-size: 15px; margin-bottom: 4px; }
.cart-row .sub { font-size: 12px; color: var(--muted); }
.summary-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; position: sticky; top: 96px; }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; color: #4a574e; padding: 7px 0; }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 16px; font-size: 19px; font-weight: 700; color: var(--ink); }
.summary-box .btn { margin-top: 18px; }

.checkout-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 44px; padding: 40px 0 80px; align-items: start; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom: 20px; background: #fff; }
.panel h2 { font-size: 19px; margin-bottom: 18px; }
.ship-option { display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; cursor: pointer; }
.ship-option input { margin-right: 6px; }
.ship-option.active { border-color: var(--green); background: #f5fbf6; }
.mini-item { display: flex; gap: 14px; align-items: center; padding: 10px 0; }
.mini-item img { width: 58px; height: 58px; border-radius: 8px; object-fit: cover; background: var(--bg-soft); }

/* ---------------------------------------------------------------- order success */
.success-wrap { max-width: 760px; margin: 60px auto 90px; padding: 0 24px; }
.success-icon { width: 74px; height: 74px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-size: 34px; margin: 0 auto 18px; }
.order-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 24px 0; }
.order-line { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }

/* ---------------------------------------------------------------- account */
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 34px; padding: 44px 0 80px; align-items: start; }
.account-nav { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.account-nav a { display: block; padding: 13px 18px; font-size: 14px; border-bottom: 1px solid var(--line); }
.account-nav a:last-child { border-bottom: 0; }
.account-nav a.active { background: var(--green-soft); color: var(--green-dark); font-weight: 600; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat { border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.stat .lbl { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.stat .val { font-size: 24px; font-weight: 700; margin-top: 6px; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.table th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.status-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--bg-soft); }
.status-paid, .status-completed { background: #e9f6ec; color: #1e6b2c; }
.status-pending { background: #fff5e2; color: #8a5a00; }
.status-processing { background: #e8f1fd; color: #1f5aa6; }
.status-rejected { background: #fdecec; color: #a5342a; }
.status-cancelled, .status-refunded { background: #fdecea; color: #a5342a; }
.status-shipped { background: #e9f0fb; color: #2b4d73; }

/* ---------------------------------------------------------------- article */
.article-wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 48px 40px 90px; }
.article-wrap h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 18px; }
.page-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.page-link { border: 1px solid var(--line); border-radius: 12px; padding: 20px; transition: all .18s; }
.page-link:hover { border-color: var(--green); background: var(--green-soft); }

/* ---------------------------------------------------------------- imported rich pages */
.rich-page { width: 100%; overflow: hidden; }
.rich-page > * { max-width: none; }

/* FAQ / About: replace the reference site's 1180px centered container with the site container used by nav and product pages */
.smv-faq-hero-inner,
.smv-faq-strip,
.smv-faq-main,
.smv-about-hero-inner,
.smv-about-bar,
.smv-about-main {
    max-width: var(--max) !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
}
.smv-faq-hero,
.smv-about-hero {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Lab Reports: drop the floating card effect, full-bleed background, content aligned with the site container */
#smokvera-lab-reports .sv-lab-hero {
    width: 100% !important;
    padding: 0 !important;
}
#smokvera-lab-reports .sv-lab-hero-inner {
    max-width: none !important;
    padding: 80px max(40px, calc((100% - 1640px) / 2)) !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-radius: 0 !important;
}
#smokvera-lab-reports .sv-lab-content {
    width: 100% !important;
    max-width: none !important;
    padding: 48px max(40px, calc((100% - 1640px) / 2)) 90px !important;
}

/* FAQ accordion */
.accordion { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 12px; }
.acc-head { width: 100%; text-align: left; background: #fff; border: 0; padding: 16px 20px; font-size: 15px; font-weight: 600; display: flex; justify-content: space-between; }
.acc-body { display: none; padding: 0 20px 18px; color: #4b584f; font-size: 14px; }
.accordion.open .acc-body { display: block; }
.accordion.open .acc-head span { transform: rotate(45deg); }
.acc-head span { transition: transform .2s; font-size: 20px; line-height: 1; }

/* ---------------------------------------------------------------- newsletter / footer */
.newsletter { background: var(--green-deep); color: #fff; padding: 56px 0; }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.newsletter h2 { font-size: 30px; }
.newsletter p { color: rgba(255,255,255,.72); font-size: 14px; margin: 8px 0 0; }
.newsletter form { display: flex; flex-direction: column; gap: 10px; }
.newsletter-field { display: flex; gap: 10px; }
.newsletter input { flex: 1; height: 50px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; padding: 0 20px; outline: none; }
.newsletter input::placeholder { color: rgba(255,255,255,.55); }
.newsletter-consent { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; line-height: 1.45; color: rgba(255,255,255,.68); cursor: pointer; }
.newsletter .newsletter-consent input {
    flex: 0 0 auto; width: 15px; height: 15px; margin: 2px 0 0; padding: 0;
    border-radius: 3px; border: 1px solid rgba(255,255,255,.45); background: transparent;
    accent-color: var(--green);
}
.newsletter-success {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 20px; border-radius: 14px;
    background: rgba(255, 255, 255, .09);
    border: 1px solid rgba(191, 227, 195, .45);
}
.newsletter-success[hidden] { display: none !important; }
.newsletter-success-icon {
    flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%;
    background: var(--green); color: #fff;
    display: grid; place-items: center; font-size: 19px; font-weight: 700;
}
.newsletter-success-copy { display: flex; flex-direction: column; gap: 2px; }
.newsletter-success-copy strong { font-size: 16px; color: #fff; }
.newsletter-success-copy span { font-size: 13px; color: rgba(255, 255, 255, .72); }
.newsletter-success-copy b { color: #cdeccf; font-weight: 600; }

.site-footer { background: #0f1d13; color: #c9d5cc; padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 34px; padding-bottom: 40px; }
.site-footer h5 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.site-footer a { color: #a9b8ae; font-size: 14px; display: block; padding: 4px 0; }
.site-footer a:hover { color: #fff; }
.footer-about { font-size: 13px; color: #93a397; line-height: 1.7; margin-top: 14px; max-width: 300px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; font-size: 12px; color: #7f9085; flex-wrap: wrap; }
.pay-icons { display: flex; gap: 8px; }
.pay-icons span { border: 1px solid rgba(255,255,255,.18); border-radius: 6px; padding: 2px 8px; font-size: 11px; }

/* ---------------------------------------------------------------- age gate */
.age-gate { position: fixed; inset: 0; z-index: 200; background: rgba(8, 18, 11, .82); display: none; place-items: center; padding: 20px; }
.age-gate.open { display: grid; }
.age-card { background: #fff; border-radius: 18px; max-width: 440px; width: 100%; padding: 36px; text-align: center; }
.age-card h2 { font-size: 26px; margin-bottom: 10px; }
.age-card p { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.age-actions { display: grid; gap: 10px; }

/* ---------------------------------------------------------------- toast */
.toast {
    position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 24px);
    max-width: calc(100% - 32px);
    background: var(--ink); color: #fff; padding: 14px 26px; border-radius: 999px;
    font-size: 15px; font-weight: 600; letter-spacing: .01em; text-align: center;
    box-shadow: 0 18px 44px rgba(20, 55, 28, .26);
    opacity: 0; pointer-events: none; transition: all .28s; z-index: 300;
}
.toast.success { background: var(--green); padding-left: 56px; }
.toast.success::before {
    content: "✓"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    width: 24px; height: 24px; border-radius: 50%;
    background: rgba(255, 255, 255, .22);
    display: grid; place-items: center; font-size: 13px; line-height: 1;
}
.toast.error { background: var(--danger); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 560px) {
    .toast { left: 16px; right: 16px; bottom: 16px; transform: translateY(24px); max-width: none; }
    .toast.show { transform: translateY(0); }
}

/* ---------------------------------------------------------------- pagination */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.pagination a, .pagination span {
    min-width: 38px; height: 38px; display: grid; place-items: center;
    border: 1px solid var(--line); border-radius: 8px; font-size: 14px; padding: 0 10px;
}
.pagination .active span { background: var(--green); color: #fff; border-color: var(--green); }

/* ---------------------------------------------------------------- mock pay */
.mock-pay { max-width: 520px; margin: 60px auto 90px; padding: 0 24px; }
.mock-card { border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); }

/* ---------------------------------------------------------------- large desktop */
@media (min-width: 1500px) {
    .container { padding: 0 40px; }
    .collection-layout .grid-3 { grid-template-columns: repeat(4, 1fr); }
    .tile-grid { grid-template-columns: repeat(4, 1fr); }
    .section { padding: 84px 0; }
    .hero { min-height: 620px; }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(3, 1fr); }
    .pdp { grid-template-columns: 1fr; gap: 34px; }
    .pdp-main { cursor: zoom-in; }
    .pdp-main.zoomed img { transform: none; }
    .plb-prev { left: 8px; }
    .plb-next { right: 8px; }
    .cart-layout, .checkout-grid { grid-template-columns: 1fr; }
    .summary-box { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .tile-grid { grid-template-columns: repeat(2, 1fr); }
    .tile-grid.is-3, .tile-grid.is-4 { grid-template-columns: repeat(2, 1fr); }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .featured-grid { grid-template-columns: 1fr; }
    .arrival-card { flex-basis: calc((100% - 16px) / 2); }
    .rank-grid { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 820px) {
    .main-nav { display: none; }
    .menu-toggle { display: grid; }
    .main-nav.mobile-open {
        display: flex; flex-direction: column; align-items: flex-start;
        position: absolute; left: 0; right: 0; top: 74px;
        background: #fff; padding: 18px 24px 24px; gap: 14px;
        border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    }
    .main-nav.mobile-open .nav-item { flex-direction: column; align-items: flex-start; }
    .main-nav.mobile-open .nav-caret { display: none; }
    .main-nav.mobile-open .nav-dropdown {
        position: static; transform: none; opacity: 1; visibility: visible;
        padding: 2px 0 4px 14px;
    }
    .main-nav.mobile-open .nav-dropdown-inner {
        border: 0; box-shadow: none; padding: 0; min-width: 0; gap: 0;
    }
    .main-nav.mobile-open .nav-dropdown a { padding: 5px 0; font-size: 13.5px; color: var(--muted); }
    .main-nav.mobile-open .nav-dropdown a.is-all { color: var(--green); border-bottom: 0; margin-bottom: 0; }
    .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .trust-strip { grid-template-columns: repeat(2, 1fr); }
    .account-layout { grid-template-columns: 1fr; }
    .newsletter-inner { grid-template-columns: 1fr; }
    .page-list { grid-template-columns: 1fr 1fr; }
    .cart-row { grid-template-columns: 70px 1fr auto; }
    .cart-row img { width: 70px; height: 70px; }
    .cart-row .line-total { grid-column: 2 / -1; text-align: right; }
    .section { padding: 52px 0; }
    .tile-marquee .tile { flex-basis: 270px; width: 270px; }
    .article-wrap { padding: 36px 24px 70px; }
}

@media (max-width: 560px) {
    .container { padding: 0 16px; }
    .article-wrap { padding: 28px 16px 60px; }
    .grid-4, .grid-3, .grid-2, .tile-grid, .page-list { grid-template-columns: 1fr 1fr; }
    .field-row, .field-row-3 { grid-template-columns: 1fr; }
    .hero { min-height: 480px; }
    .hero-content { padding: 64px 0; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .pdp-thumbs { grid-template-columns: repeat(4, 1fr); }
    .drawer { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .newsletter-field { flex-direction: column; }
    .newsletter-field .btn { width: 100%; }
    .tile-marquee .tile { flex-basis: 78vw; width: 78vw; min-height: 220px; }
    .featured-card { flex-direction: column; gap: 12px; }
    .featured-media { flex: 0 0 auto; width: 100%; height: 190px; }
    .featured-body h3 { font-size: 18px; }
    .arrival-card { flex-basis: 72%; }
    .rank-item { gap: 12px; padding: 14px 0; }
    .rank-no { flex-basis: 34px; width: 34px; font-size: 26px; }
    .rank-thumb { flex-basis: 62px; width: 62px; height: 62px; }
    .rank-title { font-size: 14px; }
}



/* ---------------------------------------------------------------- real talk videos */
/* sage band so it reads apart from the cream best-seller section */
.section-realtalk { background: #e7efe8; }
.section-realtalk .section-head { display: block; text-align: center; margin-bottom: 30px; }
.section-realtalk .section-head p { margin: 10px auto 0; max-width: 560px; }
.realtalk-carousel { --realtalk-video-w: min(54.8vw, 274px); --realtalk-card-w: calc(var(--realtalk-video-w) + 16px); }
.realtalk-stage {
    position: relative;
    width: 100%;
    padding: 0 calc((100% - var(--realtalk-card-w)) / 2);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}
.realtalk-stage::-webkit-scrollbar { display: none; }
.realtalk-track { display: flex; width: max-content; align-items: stretch; }
.realtalk-slide {
    flex: 0 0 var(--realtalk-card-w);
    width: var(--realtalk-card-w);
    min-width: 0;
    padding: 0 8px;
    scroll-snap-align: center;
}
.realtalk-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 213 / 328;
    overflow: hidden;
    border-radius: 13px;
    background: linear-gradient(140deg, #2c4338, #405c56);
    isolation: isolate;
    cursor: pointer;
}
.realtalk-poster,
.realtalk-video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.realtalk-poster { filter: brightness(.9); }
.realtalk-video { opacity: 0; background: transparent; transition: opacity .18s ease; }
.realtalk-slide.is-ready .realtalk-video { opacity: 1; }
.realtalk-shade {
    pointer-events: none;
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to top, rgba(0, 0, 0, .2), transparent 24%);
}
.realtalk-sound {
    position: absolute;
    z-index: 3;
    right: 12px;
    bottom: 12px;
    width: 37px;
    height: 37px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(30, 33, 34, .78);
    color: #fff;
    cursor: pointer;
}
.realtalk-sound svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.realtalk-play {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 50%;
    background: rgba(0, 0, 0, .46);
    color: #fff;
    font-size: 17px;
    line-height: 1;
    cursor: pointer;
    display: none;
    place-items: center;
}
.realtalk-slide.is-paused .realtalk-play { display: grid; }
.realtalk-product {
    height: 86px;
    margin-top: 11px;
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    border: 1px solid #e3e4e6;
    border-radius: 11px;
    background: #fff;
    color: var(--ink);
}
.realtalk-product img {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 5px;
    background: #fafafa;
}
.realtalk-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.realtalk-name {
    font-size: 12.5px;
    line-height: 1.22;
    font-weight: 800;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.realtalk-price { font-size: 13px; line-height: 1.15; font-weight: 800; color: var(--ink); }
.realtalk-product:hover .realtalk-name { color: var(--green); }
.realtalk-nav { display: none; }
@media (min-width: 768px) {
    .realtalk-carousel { --realtalk-video-w: 246px; }
    .realtalk-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; }
    .realtalk-nav button {
        display: grid;
        place-items: center;
        width: 42px;
        height: 42px;
        padding: 0;
        border: 1px solid #d9dedb;
        border-radius: 50%;
        background: #fff;
        color: #29352f;
        font-size: 21px;
        line-height: 1;
        cursor: pointer;
        transition: border-color .18s ease, color .18s ease;
    }
    .realtalk-nav button:hover { border-color: var(--green); color: var(--green); }
}
@media (max-width: 370px) {
    .realtalk-product { height: 80px; padding: 6px; gap: 7px; }
    .realtalk-product img { width: 49px; height: 49px; flex-basis: 49px; }
    .realtalk-name { font-size: 11px; }
}

/* ---------------------------------------------------------------- customer reviews */
.review-card { display: flex; flex-direction: column; }
.review-card .rating-row { margin-bottom: 18px; }
.review-text {
    font-size: 14px;
    line-height: 1.55;
    color: #46534a;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.review-product {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding: 9px 10px;
    border: 1px solid #e3e4e6;
    border-radius: 11px;
    background: #fbfbfa;
    color: var(--ink);
    text-decoration: none;
    transition: border-color .18s ease, background .18s ease;
}
.review-product img {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: 6px;
    background: #fff;
}
.review-product-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.review-product-name {
    font-size: 12.5px;
    line-height: 1.22;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.review-product-price { font-size: 13px; line-height: 1.15; font-weight: 800; color: var(--ink); }
.review-product-arrow {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .45;
}
.review-product:hover { border-color: var(--green); background: #fff; }
.review-product:hover .review-product-name { color: var(--green); }

/* ---------- Page loading indicator ---------- */
.page-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s ease;
}
.page-progress.is-active { opacity: 1; }
.page-progress > span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 0 2px 2px 0;
    background: linear-gradient(90deg, var(--green-dark), var(--green));
    box-shadow: 0 0 10px rgba(47, 134, 56, .55);
    transition: width 2.6s cubic-bezier(.2, .7, .3, 1);
}
.page-progress.is-fast > span { transition-duration: .18s; }

.page-veil {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .62);
    -webkit-backdrop-filter: blur(1.5px);
    backdrop-filter: blur(1.5px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, visibility .18s ease;
}
.page-veil.is-active { opacity: 1; visibility: visible; }
.page-veil-spinner {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid rgba(47, 134, 56, .16);
    border-top-color: var(--green);
    animation: av-page-spin .8s linear infinite;
}
@keyframes av-page-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
    .page-progress > span { transition-duration: .1s; }
    .page-veil-spinner { animation-duration: 2s; }
}

/* ---------------------------------------------------------------- file picker */
/* 原生「选择文件」按钮统一替换为品牌风格按钮（js/file-picker.js） */
.fp-wrap { position: relative; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fp-native {
    position: absolute !important;
    top: 0; left: 0;
    width: 1px !important; height: 1px !important;
    padding: 0 !important; margin: 0 !important;
    border: 0 !important; opacity: 0; pointer-events: none;
}
.fp-btn {
    display: inline-flex; align-items: center; gap: 8px;
    height: 42px; padding: 0 16px;
    border: 1px solid var(--line); border-radius: 10px;
    background: #fff; color: var(--ink);
    font-family: inherit; font-size: 13.5px; font-weight: 600;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.fp-btn svg { width: 16px; height: 16px; }
.fp-btn:hover { border-color: var(--green); background: var(--green-soft); color: var(--green-dark); }
.fp-btn:active { transform: translateY(1px); }
.fp-btn:focus-visible { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(47, 134, 56, .14); }
.fp-name { font-size: 12.5px; color: var(--green-dark); word-break: break-all; }
.fp-name.is-empty { color: var(--muted); }

/* 原生勾选框 / 单选框统一品牌色 */
input[type="checkbox"], input[type="radio"] { accent-color: var(--green); }
