/* Aura Home: tokens taken from the logo (gold on warm white). */
:root {
  --bg: #FBFAF7;
  --surface: #FFFFFF;
  --surface-2: #F4F0E8;
  --ink: #22201C;
  --muted: #5F5A52;
  --line: #E6E0D5;
  --gold: #85683F;          /* text-safe gold, 5:1 on white */
  --gold-soft: #F1E8D8;
  --cta: #E2BE6E;           /* the "Add to cart" button, dark text on it */
  --cta-hover: #D6AF59;
  --cta-ink: #22201C;
  --deal: #B42318;
  --star: #D99A1E;
  --ok: #2F6B45;
  --shadow: 0 1px 2px rgb(60 45 20 / .06), 0 8px 24px rgb(60 45 20 / .08);
  --radius: 14px;
  --radius-sm: 10px;
  --pill: 999px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --serif: "Marcellus", Georgia, serif;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #161513; --surface: #1F1D1A; --surface-2: #26231F; --ink: #F2EEE7; --muted: #B7B0A4;
    --line: #36322B; --gold: #D9BE8E; --gold-soft: #2C271F; --deal: #F97066; --ok: #6CC08A;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 10px 30px rgb(0 0 0 / .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #161513; --surface: #1F1D1A; --surface-2: #26231F; --ink: #F2EEE7; --muted: #B7B0A4;
  --line: #36322B; --gold: #D9BE8E; --gold-soft: #2C271F; --deal: #F97066; --ok: #6CC08A;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 10px 30px rgb(0 0 0 / .35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 140px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--sans); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 28px; } }
.muted { color: var(--muted); }
.h2 { font: 400 clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem)/1.15 var(--serif); margin: 0 0 20px; letter-spacing: -.005em; text-wrap: balance; }
.eyebrow { margin: 0 0 12px; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 899px) { .hide-sm { display: none !important; } }
@media (min-width: 900px) { .only-sm { display: none !important; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: var(--pill); border: 1px solid transparent; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .12s var(--ease); }
.btn:active { transform: scale(.98); }
.btn-cta { background: var(--cta); color: var(--cta-ink); }
.btn-cta:hover { background: var(--cta-hover); }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-block { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--surface); font-size: 1.25rem; transition: background-color .2s var(--ease); }
.icon-btn:hover { background: var(--surface-2); }

/* Top bar */
.topbar { background: var(--ink); color: var(--bg); font-size: .85rem; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 6px; }
.country { display: flex; align-items: center; gap: 4px; }
.country select { background: transparent; border: 0; color: inherit; font-weight: 700; padding: 6px 2px; cursor: pointer; }
.country option { color: #22201C; }

/* Header */
.header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--line); }
.header-in { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "menu brand actions" "search search search"; align-items: center; gap: 10px 12px; padding-top: 10px; padding-bottom: 10px; }
#menuBtn { grid-area: menu; }
.brand { grid-area: brand; display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand-mark { width: 52px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 400 1.3rem/1 var(--serif); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.brand-sub { font-size: .62rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.search { grid-area: search; position: relative; display: flex; align-items: center; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--pill); padding-left: 44px; transition: border-color .2s var(--ease); }
.search:focus-within { border-color: var(--gold); }
.search > i { position: absolute; left: 16px; font-size: 1.2rem; color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; height: 46px; outline: none; }
.search input::placeholder { color: var(--muted); opacity: .9; }
.search-go { height: 38px; margin: 4px; padding: 0 18px; border: 0; border-radius: var(--pill); background: var(--ink); color: var(--bg); font-weight: 700; }
.header-actions { grid-area: actions; display: flex; align-items: center; gap: 4px; }
.action { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 44px; justify-content: center; padding: 0 10px; border: 0; background: transparent; border-radius: var(--pill); text-decoration: none; font-weight: 700; font-size: .92rem; transition: background-color .2s var(--ease); }
.action i { font-size: 1.45rem; }
.action:hover { background: var(--surface-2); }
.count { position: absolute; top: 2px; left: 26px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: var(--pill); background: var(--cta); color: var(--cta-ink); font-size: .72rem; display: grid; place-items: center; }
.count[hidden] { display: none; }
@media (min-width: 900px) {
  .header-in { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand search actions"; gap: 28px; padding-top: 14px; padding-bottom: 14px; }
  .brand-mark { width: 60px; }
  .brand-name { font-size: 1.5rem; }
  .search { max-width: 640px; justify-self: center; width: 100%; }
}
.catnav { border-top: 1px solid var(--line); }
.catnav-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-top: 4px; padding-bottom: 4px; }
.catnav-in::-webkit-scrollbar { display: none; }
.catnav a { flex: none; padding: 10px 12px; border-radius: var(--pill); text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--muted); transition: color .2s var(--ease), background-color .2s var(--ease); }
.catnav a:hover { color: var(--ink); background: var(--surface-2); }
.catnav .deal-link { color: var(--deal); }

/* Sheets (menu, cart) */
.sheet-backdrop { position: fixed; inset: 0; z-index: 60; background: rgb(20 16 10 / .45); }
.menu, .cart { position: fixed; top: 0; bottom: 0; z-index: 70; width: min(420px, 92vw); background: var(--surface); display: flex; flex-direction: column; box-shadow: var(--shadow); animation: sheet-in .28s var(--ease); }
.menu { left: 0; --from: -100%; }
.cart { right: 0; --from: 100%; }
.menu[hidden], .cart[hidden] { display: none; }
@keyframes sheet-in { from { transform: translateX(var(--from)); } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.menu-list { list-style: none; margin: 0; padding: 8px; }
.menu-list a { display: flex; align-items: center; gap: 14px; padding: 14px 12px; border-radius: var(--radius-sm); text-decoration: none; font-weight: 600; }
.menu-list a:hover { background: var(--surface-2); }
.menu-list i { font-size: 1.4rem; color: var(--gold); }

/* Hero */
.hero { padding: 20px 0 8px; }
.hero-in { display: grid; gap: 24px; align-items: center; }
.hero h1 { font: 400 clamp(2rem, 1.3rem + 3vw, 3.6rem)/1.08 var(--serif); margin: 0 0 16px; letter-spacing: -.01em; text-wrap: balance; }
.lead { font-size: 1.1rem; color: var(--muted); margin: 0 0 24px; max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-price { position: absolute; left: 16px; bottom: 16px; background: var(--surface); color: var(--ink); border-radius: var(--radius-sm); padding: 10px 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; line-height: 1.2; }
.hero-price span { font-size: .8rem; color: var(--muted); font-weight: 600; }
.hero-price strong { font-size: 1.35rem; }
@media (min-width: 900px) {
  .hero { padding: 40px 0 16px; }
  .hero-in { grid-template-columns: 5fr 7fr; gap: 56px; }
  .hero-media { aspect-ratio: 16 / 11; }
}

/* Perks */
.perks { padding: 24px 0; }
.perks-in { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.perk { display: flex; gap: 12px; align-items: flex-start; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.perk i { font-size: 1.6rem; color: var(--gold); flex: none; }
.perk strong { display: block; font-size: .95rem; }
.perk span { font-size: .85rem; color: var(--muted); }
@media (min-width: 900px) { .perks-in { grid-template-columns: repeat(4, 1fr); gap: 16px; } .perk { padding: 18px; } }

/* Sections */
.section { padding: 40px 0; }
@media (min-width: 900px) { .section { padding: 64px 0; } }

/* Categories: one big tile + 5 */
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cat { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface-2); text-decoration: none; }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cat:hover img { transform: scale(1.04); }
.cat-big, .cat:last-child { grid-column: span 2; aspect-ratio: 16 / 10; }
.cat-label { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; flex-direction: column; padding: 10px 12px; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--surface) 94%, transparent); color: var(--ink); line-height: 1.25; }
.cat-label b { font-size: 1rem; }
.cat-label small { font-size: .82rem; color: var(--muted); font-weight: 600; }
@media (min-width: 900px) {
  .cats { grid-template-columns: 2fr 1fr 1fr 1fr; grid-template-rows: repeat(2, 1fr); gap: 16px; }
  .cat, .cat:last-child { aspect-ratio: auto; min-height: 250px; }
  .cat:last-child { grid-column: span 2; }
  .cat-big { grid-column: 1; grid-row: span 2; aspect-ratio: auto; }
  .cat-big .cat-label b { font-size: 1.3rem; }
}

/* Shop */
.shop { background: var(--surface-2); }
.shop-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.shop-head .h2 { margin: 0; }
.sort { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.sort select, .qv select { min-height: 44px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font-weight: 600; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 18px -16px 0; padding: 2px 16px 4px; }
.chips::-webkit-scrollbar { display: none; }
.chips button { flex: none; min-height: 40px; padding: 0 16px; border-radius: var(--pill); border: 1.5px solid var(--line); background: var(--surface); font-weight: 700; font-size: .9rem; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.chips button:hover { border-color: var(--ink); }
.chips button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.result-line { margin: 14px 0; font-size: .9rem; color: var(--muted); min-height: 1.4em; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }

/* Product card, modelled on the reference */
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s var(--ease); }
.card:hover { box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 1; background: var(--surface-2); border: 0; padding: 0; display: block; width: 100%; 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.04); }
.badge { position: absolute; top: 10px; left: 10px; padding: 4px 9px; border-radius: 6px; font-size: .74rem; font-weight: 800; background: #B42318; color: #fff; }
.badge.best { background: var(--ink); color: var(--bg); }
.heart { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border-radius: var(--pill); border: 0; background: var(--surface); color: var(--ink); display: grid; place-items: center; font-size: 1.25rem; box-shadow: 0 1px 4px rgb(0 0 0 / .15); transition: transform .15s var(--ease); }
.heart:active { transform: scale(.9); }
.heart[aria-pressed="true"] { color: var(--deal); }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 12px; flex: 1; }
@media (min-width: 700px) { .card-body { padding: 14px 16px 16px; } }
.color-line { font-size: .82rem; color: var(--muted); margin: 0; }
.color-line b { color: var(--ink); }
.swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.swatch { width: 28px; height: 28px; border-radius: var(--pill); border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--line); padding: 0; background: var(--c); transition: box-shadow .15s var(--ease); position: relative; }
.swatch::after { content: ""; position: absolute; inset: -8px; } /* bigger tap area */
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }
.card-title { margin: 2px 0 0; font-size: .95rem; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title a { text-decoration: none; }
.card-title a:hover { text-decoration: underline; }
.rating { display: flex; align-items: center; gap: 4px; font-size: .85rem; }
.rating .stars { color: var(--star); display: inline-flex; font-size: .9rem; }
.rating span { color: var(--muted); }
.bought { margin: 0; font-size: .8rem; color: var(--muted); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: 2px; }
.price .now { font-size: 1.45rem; font-weight: 800; letter-spacing: -.01em; }
.price .now sup { font-size: .55em; top: -.75em; position: relative; vertical-align: baseline; }
.price .off { font-size: .82rem; font-weight: 800; color: var(--deal); }
.list-price { margin: 0; font-size: .8rem; color: var(--muted); }
.list-price s { text-decoration-thickness: 1px; }
.split { margin: 0; font-size: .8rem; color: var(--ok); font-weight: 700; }
.card .btn { margin-top: auto; min-height: 44px; padding: 0 12px; font-size: .92rem; }
.card-cta { padding-top: 6px; margin-top: auto; }
.card .btn.added { background: var(--ok); color: #fff; }

/* Under $100 rail */
.under-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.rail-ctrl { display: none; gap: 8px; margin-bottom: 20px; }
@media (min-width: 900px) { .rail-ctrl { display: flex; } }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 700px) { .rail { grid-auto-columns: 30%; gap: 16px; } }
@media (min-width: 1100px) { .rail { grid-auto-columns: calc((100% - 80px) / 6); } }
.rail .card-body { padding: 10px 12px 14px; }
.rail .swatches, .rail .color-line, .rail .bought { display: none; }

/* Bundle */
.bundle { display: grid; background: var(--ink); color: var(--bg); }
.bundle img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; }
.bundle-panel { padding: 32px 16px 40px; max-width: 620px; }
.bundle .eyebrow { color: var(--cta); }
.bundle p { color: color-mix(in srgb, var(--bg) 78%, transparent); }
.bundle-list { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.bundle-list li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.bundle-list i { color: var(--cta); font-size: 1.15rem; }
.bundle-buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--bg) 18%, transparent); }
.bundle-buy .was { text-decoration: line-through; opacity: .7; margin-right: 8px; }
.bundle-buy .now { font-size: 1.8rem; }
.bundle-buy small { display: block; opacity: .8; }
@media (min-width: 900px) {
  .bundle { grid-template-columns: 1fr 1fr; }
  .bundle img { max-height: none; min-height: 560px; }
  .bundle-panel { padding: 64px 56px; align-self: center; }
}

/* Pay in 4 */
.pay-in { display: grid; gap: 24px; }
.pay-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.pay-steps li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--line); }
.pay-steps li:last-child { border-bottom: 1px solid var(--line); }
.pay-steps i { font-size: 1.6rem; color: var(--gold); background: var(--gold-soft); width: 52px; height: 52px; border-radius: var(--pill); display: grid; place-items: center; flex: none; }
.pay-steps strong { display: block; font-size: 1.05rem; margin-bottom: 2px; }
.pay-steps span { color: var(--muted); }
@media (min-width: 900px) { .pay-in { grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; } .pay-in .h2 { margin: 0; } }

/* Reviews */
.reviews { background: var(--surface-2); }
.demo-note { font-size: .85rem; margin: -10px 0 20px; }
.stores .demo-note { margin: 8px 0 0; }
.rev-grid { display: grid; gap: 12px; }
.rev { margin: 0; background: var(--surface); border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.rev .stars { color: var(--star); display: flex; gap: 2px; }
.rev blockquote { margin: 0; font-size: 1rem; line-height: 1.55; }
.rev-main blockquote { font: 400 clamp(1.2rem, 1rem + .8vw, 1.6rem)/1.4 var(--serif); }
.rev figcaption { margin-top: auto; display: flex; flex-direction: column; font-size: .9rem; }
.rev figcaption span { color: var(--muted); }
@media (min-width: 900px) { .rev-grid { grid-template-columns: 2fr 1fr 1fr; gap: 16px; } .rev-main { padding: 32px; } }

/* Stores */
.stores-in { display: grid; gap: 20px; }
.store-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 12px; }
.store-list li { display: flex; flex-direction: column; padding: 16px 18px; border-left: 3px solid var(--gold); background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.store-list b { font: 400 1.2rem var(--serif); }
.store-list span { font-size: .9rem; color: var(--muted); }
@media (min-width: 700px) { .store-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .stores-in { grid-template-columns: 4fr 8fr; gap: 56px; align-items: start; } }

/* Newsletter */
.news { background: var(--gold-soft); padding: 40px 0; }
.news-in { display: grid; gap: 20px; align-items: center; }
.news .h2 { margin-bottom: 6px; }
.news p { margin: 0; color: var(--muted); }
.news-form label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.news-row { display: flex; flex-wrap: wrap; gap: 10px; }
.news-row input { flex: 1 1 220px; min-height: 48px; padding: 0 16px; border-radius: var(--pill); border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); }
.news-row input:focus { outline: none; border-color: var(--gold); }
.news-row input[aria-invalid="true"] { border-color: var(--deal); }
.field-msg { min-height: 1.4em; margin-top: 6px !important; font-size: .88rem; font-weight: 600; }
.field-msg.err { color: var(--deal); }
.field-msg.ok { color: var(--ok); }
@media (min-width: 900px) { .news { padding: 56px 0; } .news-in { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* Footer */
.footer { padding: 48px 0 100px; border-top: 1px solid var(--line); }
.footer-in { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand img { width: 200px; }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-light { display: none; } :root:not([data-theme="light"]) .logo-dark { display: block; } }
.footer h3 { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 10px; color: var(--muted); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer ul a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; text-decoration: none; }
.footer ul a:hover { color: var(--gold); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.footer-base p { margin: 0; }
.footer-base a { text-decoration: none; }
@media (min-width: 900px) { .footer { padding-bottom: 48px; } .footer-in { grid-template-columns: 2fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }

/* Bottom nav (mobile, like the reference screenshot) */
.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.bottom-nav a, .bottom-nav button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 58px; border: 0; background: transparent; text-decoration: none; font-size: .72rem; font-weight: 700; color: var(--muted); }
.bottom-nav i { font-size: 1.5rem; color: var(--ink); }
.bottom-nav .count { top: 4px; left: calc(50% + 4px); }
@media (min-width: 900px) { .bottom-nav { display: none; } }

/* Cart */
.cart-title { font: 400 1.4rem var(--serif); margin: 0; }
.free-ship { padding: 12px 16px; font-size: .88rem; background: var(--gold-soft); }
.free-ship .bar { height: 6px; border-radius: var(--pill); background: color-mix(in srgb, var(--gold) 20%, transparent); margin-top: 8px; overflow: hidden; }
.free-ship .bar i { display: block; height: 100%; background: var(--gold); transform-origin: left; transition: transform .3s var(--ease); }
.cart-items { list-style: none; margin: 0; padding: 8px 16px; overflow-y: auto; flex: 1; }
.cart-items li { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-items img { width: 76px; height: 76px; object-fit: cover; border-radius: var(--radius-sm); }
.ci-name { font-weight: 700; font-size: .92rem; line-height: 1.3; }
.ci-color { font-size: .8rem; color: var(--muted); }
.qty { display: inline-flex; align-items: center; margin-top: 8px; border: 1.5px solid var(--line); border-radius: var(--pill); }
.qty button { width: 36px; height: 36px; border: 0; background: transparent; border-radius: var(--pill); display: grid; place-items: center; }
.qty button:hover { background: var(--surface-2); }
.qty output { min-width: 24px; text-align: center; font-weight: 700; }
.ci-price { font-weight: 800; text-align: right; }
.ci-remove { display: block; margin-top: 6px; margin-left: auto; border: 0; background: none; color: var(--muted); font-size: .8rem; text-decoration: underline; padding: 6px 0; }
.cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; gap: 4px; color: var(--muted); }
.cart-empty i { font-size: 3rem; color: var(--gold); margin-bottom: 8px; }
.cart-empty p { margin: 0; }
.cart-empty strong { color: var(--ink); font-size: 1.1rem; }
.cart-empty .btn { margin-top: 16px; }
.cart-foot { padding: 16px; border-top: 1px solid var(--line); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; }
.cart-total strong { font-size: 1.4rem; }
.cart-split { margin: 4px 0 14px; font-size: .85rem; color: var(--ok); font-weight: 700; }

/* Quick view */
.qv { width: min(940px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--radius); background: var(--surface); color: var(--ink); box-shadow: var(--shadow); overflow: auto; }
.qv::backdrop { background: rgb(20 16 10 / .5); }
.qv[open] { animation: qv-in .25s var(--ease); }
@keyframes qv-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.qv-close { position: absolute; top: 12px; right: 12px; z-index: 2; }
.qv-body { display: grid; }
.qv-body > img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.qv-info { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.qv-info h2 { font: 400 1.6rem/1.2 var(--serif); margin: 0; padding-right: 40px; }
.qv-info .desc { color: var(--muted); margin: 0; }
.qv-info .stock { color: var(--ok); font-weight: 700; margin: 0; font-size: .9rem; }
.qv-buy { display: flex; gap: 10px; align-items: center; margin-top: 6px; }
.qv-buy .btn { flex: 1; }
.qv-facts { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; font-size: .88rem; color: var(--muted); }
.qv-facts li { display: flex; gap: 8px; align-items: center; }
.qv-facts i { color: var(--gold); font-size: 1.1rem; }
@media (min-width: 760px) { .qv-body { grid-template-columns: 1fr 1fr; } .qv-body > img { height: 100%; } .qv-info { padding: 32px; } }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 76px; z-index: 90; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: var(--pill); font-weight: 700; font-size: .92rem; display: flex; gap: 8px; align-items: center; box-shadow: var(--shadow); transition: opacity .2s var(--ease), transform .2s var(--ease); max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast i { color: var(--cta); font-size: 1.2rem; }
@media (min-width: 900px) { .toast { bottom: 28px; } }

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