/* ==========================================================================
   Advis-Ecom — design system
   Palette: deep emerald · brass · warm ivory. Type: Fraunces (display) + Manrope (UI).
   ========================================================================== */
:root {
  --emerald-950: #08201D;
  --emerald-900: #0B2E2A;
  --emerald-800: #0E4D45;
  --emerald-700: #13665B;
  --emerald-100: #DCEBE6;
  --emerald-50: #EEF5F2;
  --brass: #C9A14A;
  --brass-600: #856621; /* text-safe brass: ≥4.5:1 on ivory & sand */
  --brass-100: #F4EAD2;
  --ivory: #FBF8F2;
  --sand: #F2ECE1;
  --sand-300: #E4DACA;
  --ink: #17201E;
  --text: #2A3331;
  --muted: #5E6764;
  --line: #E6DFD3;
  --white: #FFFFFF;
  --rust: #B4432F;
  --rust-100: #F8E3DE;
  --success: #1E7A4C;
  --info: #24577A;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-ui: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --arch: 999px 999px var(--r) var(--r);
  --shadow-sm: 0 1px 2px rgba(11, 46, 42, .06), 0 1px 1px rgba(11, 46, 42, .04);
  --shadow: 0 10px 30px -12px rgba(11, 46, 42, .22);
  --shadow-lg: 0 24px 60px -20px rgba(11, 46, 42, .35);
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); scroll-padding-bottom: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }
body.no-scroll { overflow: hidden; }
body {
  margin: 0; background: var(--ivory); color: var(--text);
  font: 400 15.5px/1.6 var(--font-ui); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.eyebrow { font: 700 .72rem/1 var(--font-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--brass-600); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 22px; height: 1.5px; background: currentColor; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--emerald-800); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 1000; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 .9rem/1 var(--font-ui); letter-spacing: .02em; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--emerald-800); color: var(--ivory); }
.btn-primary:hover { background: var(--emerald-900); box-shadow: var(--shadow); }
.btn-brass { background: var(--brass); color: var(--emerald-950); }
.btn-brass:hover { background: #D6B060; box-shadow: 0 10px 24px -10px rgba(201,161,74,.7); }
.btn-outline { border-color: var(--emerald-800); color: var(--emerald-800); background: transparent; }
.btn-outline:hover { background: var(--emerald-800); color: var(--ivory); }
.btn-ghost-light { border-color: rgba(251,248,242,.5); color: var(--ivory); }
.btn-ghost-light:hover { background: var(--ivory); color: var(--emerald-900); }
.btn-sm { padding: 9px 16px; font-size: .8rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.link { color: var(--emerald-700); font-weight: 700; border-bottom: 1.5px solid var(--brass); padding-bottom: 1px; }
.link:hover { color: var(--emerald-900); }
.icon { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Announcement + header ---------- */
.announce { background: var(--emerald-950); color: var(--brass-100); font-size: .78rem; letter-spacing: .04em; overflow: hidden; }
.announce .container { display: flex; justify-content: center; gap: 36px; padding-top: 9px; padding-bottom: 9px; }
.announce span { display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; }
.announce span::before { content: '✦'; color: var(--brass); font-size: .7rem; }
@media (max-width: 760px) { .announce span:nth-child(n+2) { display: none; } }

.site-header { position: sticky; top: 0; z-index: 60; background: rgba(251, 248, 242, .92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.logo img { width: 40px; height: 40px; }
.logo-text { font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; color: var(--emerald-900); letter-spacing: -.02em; line-height: 1; }
.logo-text small { display: block; font: 700 .58rem/1 var(--font-ui); letter-spacing: .32em; color: var(--brass-600); margin-top: 4px; }

.main-nav { display: flex; gap: 4px; margin: 0 auto; }
.main-nav > .nav-item { position: relative; }
.main-nav > .nav-item > a { display: block; padding: 10px 14px; font-weight: 600; font-size: .92rem; color: var(--ink); border-radius: 999px; transition: background .2s; }
.main-nav > .nav-item > a:hover, .main-nav > .nav-item:focus-within > a { background: var(--sand); }
.main-nav > .nav-item > a.sale { color: var(--rust); }
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 22px; min-width: 460px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 26px;
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s;
}
.mega::before { content: ''; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav-item:hover .mega, .nav-item:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega h4 { grid-column: 1 / -1; font-size: 1.05rem; margin: 0 0 6px; }
.mega a { display: flex; align-items: center; gap: 12px; padding: 7px 8px; border-radius: 10px; font-size: .9rem; font-weight: 600; }
.mega a:hover { background: var(--emerald-50); color: var(--emerald-800); }
.mega a img { width: 38px; height: 38px; object-fit: cover; border-radius: 50%; background: var(--sand); }
.mega a small { display: block; color: var(--muted); font-weight: 500; font-size: .75rem; }

.header-search { position: relative; flex: 0 1 300px; }
.header-search input {
  width: 100%; height: 44px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white);
  padding: 0 44px 0 18px; font-size: .9rem; transition: border-color .2s, box-shadow .2s;
}
.header-search input:focus { outline: none; border-color: var(--emerald-700); box-shadow: 0 0 0 4px var(--emerald-50); }
.header-search button { position: absolute; right: 5px; top: 5px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--emerald-800); color: var(--ivory); display: grid; place-items: center; cursor: pointer; }
.header-search button .icon { width: 17px; height: 17px; }
.suggest {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; min-width: 340px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 8px; display: none; z-index: 80;
}
.suggest.open { display: block; }
.suggest a { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 10px; font-size: .86rem; }
.suggest a:hover, .suggest a.active { background: var(--emerald-50); }
.suggest img { width: 42px; height: 52px; object-fit: cover; border-radius: 8px; background: var(--sand); }
.suggest .s-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.35; }
.suggest .s-price { font-weight: 700; color: var(--emerald-800); font-size: .82rem; }
.suggest .s-chip { display: inline-block; padding: 5px 12px; margin: 2px; background: var(--sand); border-radius: 999px; font-weight: 600; font-size: .8rem; }
.suggest .s-all { justify-content: center; font-weight: 700; color: var(--emerald-800); border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; margin-top: 4px; }

.header-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 0; background: transparent; cursor: pointer; color: var(--ink); transition: background .2s; }
.icon-btn:hover { background: var(--sand); }
.badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--brass); color: var(--emerald-950); font: 800 .66rem/18px var(--font-ui); text-align: center; }
.badge:empty, .badge[data-count="0"] { display: none; }
.menu-toggle { display: none; }

@media (max-width: 380px) {
  .header-row .logo-text small { display: none; }
  .header-row { gap: 4px; }
  .logo { gap: 8px; }
  .logo img { width: 34px; height: 34px; }
  .logo-text { font-size: 1.3rem; }
  .icon-btn { width: 40px; height: 40px; }
  .header-actions { gap: 0; }
}
@media (max-width: 1100px) {
  .main-nav, .header-search { display: none; }
  .menu-toggle { display: grid; }
  .header-row { gap: 8px; }
  .logo { margin-right: auto; }
}

/* Mobile drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(8, 32, 29, .45); opacity: 0; visibility: hidden; transition: .25s; z-index: 90; }
.drawer { position: fixed; top: 0; left: 0; bottom: 0; width: min(88vw, 380px); background: var(--ivory); z-index: 100; transform: translateX(-100%); visibility: hidden; transition: transform .3s cubic-bezier(.2,.8,.2,1), visibility 0s .3s; display: flex; flex-direction: column; padding-bottom: env(safe-area-inset-bottom); }
body.drawer-open .drawer { transform: none; visibility: visible; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
body.drawer-open .drawer-backdrop { opacity: 1; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.drawer-body { overflow-y: auto; padding: 16px 18px 40px; }
.drawer form { position: relative; margin-bottom: 18px; }
.drawer form input { width: 100%; height: 46px; border-radius: 999px; border: 1.5px solid var(--line); padding: 0 18px; background: #fff; }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary { list-style: none; padding: 14px 4px; font-weight: 700; display: flex; justify-content: space-between; cursor: pointer; }
.drawer summary::after { content: '+'; color: var(--brass-600); font-size: 1.2rem; line-height: 1; }
.drawer details[open] summary::after { content: '–'; }
.drawer details a { display: block; padding: 8px 14px; color: var(--muted); font-weight: 600; }
.drawer .d-link { display: block; padding: 14px 4px; font-weight: 700; border-bottom: 1px solid var(--line); }

/* ---------- Flash ---------- */
.flash-wrap { position: fixed; top: 96px; right: max(20px, env(safe-area-inset-right)); z-index: 120; display: grid; gap: 10px; max-width: min(420px, calc(100vw - 40px)); }
.flash { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--white); border-radius: var(--r); box-shadow: var(--shadow-lg); border-left: 4px solid var(--emerald-700); font-weight: 600; font-size: .9rem; animation: slidein .35s ease; }
.flash.error { border-color: var(--rust); }
.flash.info { border-color: var(--info); }
.flash button { margin-left: auto; border: 0; background: none; cursor: pointer; color: var(--muted); font-size: 1.1rem; line-height: 1; }
@keyframes slidein { from { opacity: 0; transform: translateY(-8px); } }
.alert { padding: 14px 16px; border-radius: var(--r-sm); background: var(--rust-100); color: #7A2A1C; font-size: .9rem; margin-bottom: 18px; }
.alert ul { margin: 0; padding-left: 18px; }
.alert.ok { background: var(--emerald-50); color: var(--emerald-900); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--emerald-900); color: var(--ivory); }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(900px 500px at 85% 20%, rgba(201,161,74,.18), transparent 60%), radial-gradient(700px 600px at 0% 100%, rgba(19,102,91,.6), transparent 60%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero h1 { color: var(--ivory); font-weight: 400; font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.025em; }
.hero h1 em { font-style: italic; color: var(--brass); }
.hero .eyebrow { color: var(--brass); }
.hero p.lead { font-size: 1.08rem; color: rgba(251,248,242,.78); max-width: 34em; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(251,248,242,.14); flex-wrap: wrap; }
.hero-stats b { display: block; font: 500 1.9rem/1 var(--font-display); color: var(--ivory); }
.hero-stats span { font-size: .78rem; color: rgba(251,248,242,.6); letter-spacing: .06em; text-transform: uppercase; }
.hero-art { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: end; }
.hero-art figure { margin: 0; overflow: hidden; background: var(--emerald-800); box-shadow: var(--shadow-lg); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .a1 { border-radius: var(--arch); aspect-ratio: 3/4.3; grid-row: span 2; }
.hero-art .a2 { border-radius: var(--r-lg); aspect-ratio: 1; }
.hero-art .a3 { border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 120px; aspect-ratio: 1; }
.hero-seal {
  position: absolute; left: -36px; bottom: 26px; width: 118px; height: 118px; border-radius: 50%;
  background: var(--brass); color: var(--emerald-950); display: grid; place-items: center; text-align: center;
  font: 700 .7rem/1.25 var(--font-ui); letter-spacing: .12em; text-transform: uppercase; box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.hero-seal b { display: block; font: 500 2rem/1 var(--font-display); letter-spacing: 0; text-transform: none; margin: 2px 0; }
@keyframes float { 50% { transform: translateY(-8px) rotate(-4deg); } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 520px; width: 100%; }
  .hero-seal { left: auto; right: -6px; bottom: -14px; width: 96px; height: 96px; }
}

/* Marquee */
.ticker { background: var(--brass); color: var(--emerald-950); overflow: hidden; border-block: 1px solid rgba(0,0,0,.05); }
.ticker-track { display: flex; gap: 48px; padding: 14px 0; width: max-content; animation: ticker 38s linear infinite; font: 500 1.05rem/1 var(--font-display); font-style: italic; }
.ticker-track span { display: inline-flex; align-items: center; gap: 48px; white-space: nowrap; }
.ticker-track span::after { content: '✦'; font-style: normal; font-size: .8rem; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track, .hero-seal { animation: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section.tight { padding: clamp(36px, 5vw, 64px) 0; }
.section.alt { background: var(--sand); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 8px 0 0; color: var(--muted); max-width: 40em; }

/* Category arches (horizontal scroller) */
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; }
.scroller > * { scroll-snap-align: start; }
.arch-card { text-align: center; }
.arch-card .arch { border-radius: var(--arch); overflow: hidden; aspect-ratio: 3/4; background: var(--sand); border: 6px solid var(--white); box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.arch-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.arch-card:hover .arch { transform: translateY(-6px); box-shadow: var(--shadow); }
.arch-card:hover img { transform: scale(1.06); }
.arch-card h3 { font-size: 1.05rem; margin: 14px 0 2px; }
.arch-card span { font-size: .78rem; color: var(--muted); }

/* Gender tiles */
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.audience { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3/4; background: var(--emerald-800); isolation: isolate; }
.audience img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; z-index: -2; }
.audience::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8,32,29,.85)); z-index: -1; }
.audience:hover img { transform: scale(1.05); }
.audience .a-body { position: absolute; left: 22px; right: 22px; bottom: 22px; color: var(--ivory); display: flex; justify-content: space-between; align-items: end; }
.audience h3 { color: var(--ivory); font-size: 1.7rem; margin: 0; }
.audience small { color: rgba(251,248,242,.75); font-size: .8rem; }
.audience .arrow { width: 44px; height: 44px; border-radius: 50%; background: var(--brass); color: var(--emerald-950); display: grid; place-items: center; transition: transform .3s; }
.audience:hover .arrow { transform: rotate(-45deg); }
@media (max-width: 900px) { .audience-grid { grid-template-columns: repeat(2, 1fr); } }

/* Product grid & card */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
@media (max-width: 1024px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; } }
.card-title { overflow-wrap: anywhere; }
.card { position: relative; display: flex; flex-direction: column; }
.card-media { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/5; background: var(--white); border: 1px solid var(--line); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: opacity .45s, transform .6s; background: #fff; }
.card-media img.alt { opacity: 0; }
.card:hover .card-media img.main { transform: scale(1.04); }
.card:hover .card-media img.alt { opacity: 1; }
/* Touch devices can't hover: don't download the second image at all (lazy + display:none is never fetched). */
@media (hover: none) { .card-media img.alt { display: none; } }
.card-tag { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 5px 10px; border-radius: 999px; font: 800 .68rem/1 var(--font-ui); letter-spacing: .04em; background: var(--emerald-800); color: var(--ivory); }
.card-tag.sale { background: var(--rust); }
.wish-btn { position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm); transition: transform .2s, color .2s; color: var(--ink); }
.wish-btn .icon { width: 19px; height: 19px; }
.wish-btn:hover { transform: scale(1.08); }
.wish-btn.saved { color: var(--rust); }
.wish-btn.saved .icon { fill: var(--rust); }
.card-body { padding: 14px 4px 0; display: flex; flex-direction: column; gap: 6px; }
.card-meta { display: flex; justify-content: space-between; align-items: center; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.card-title { font-weight: 600; font-size: .92rem; line-height: 1.4; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.card-title:hover { color: var(--emerald-700); }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b { font-size: 1.05rem; color: var(--ink); font-weight: 800; }
.price s { color: var(--muted); font-size: .85rem; }
.price .off { color: var(--rust); font-weight: 800; font-size: .8rem; }
.swatches { display: flex; gap: 5px; }
.swatches i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); display: inline-block; }
.stars { display: inline-flex; align-items: center; gap: 2px; color: var(--brass); font-size: .78rem; }
.stars svg { width: 13px; height: 13px; }
.stars .num { color: var(--muted); font-weight: 700; margin-left: 4px; }

/* Tabs */
.tabs { display: inline-flex; gap: 6px; background: var(--white); border: 1px solid var(--line); padding: 5px; border-radius: 999px; }
.tabs button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: .85rem; cursor: pointer; color: var(--muted); }
.tabs button.active { background: var(--emerald-800); color: var(--ivory); }
.tab-panel[hidden] { display: none; }

/* Collections band */
.collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.collection-col h3 { font-size: 1.35rem; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: baseline; }
.collection-col h3 a { font: 700 .78rem var(--font-ui); color: var(--emerald-700); }
.coll-list { display: grid; gap: 12px; }
.coll-item { display: flex; gap: 16px; align-items: center; padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s, transform .2s, box-shadow .2s; }
.coll-item:hover { border-color: var(--brass); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.coll-item img { width: 76px; height: 76px; border-radius: 12px; object-fit: contain; background: #fff; flex: none; }
.coll-item b { display: block; font-weight: 700; color: var(--ink); font-size: .92rem; line-height: 1.3; }
.coll-item small { color: var(--muted); font-size: .8rem; }
@media (max-width: 900px) { .collections { grid-template-columns: 1fr; } }

/* Editorial split */
.editorial { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--emerald-900); color: var(--ivory); }
.editorial .ed-copy { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.editorial h2 { color: var(--ivory); }
.editorial h2 em { color: var(--brass); }
.editorial p { color: rgba(251,248,242,.75); }
.editorial .ed-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--emerald-950); }
.editorial .ed-products a { position: relative; background: #fff; aspect-ratio: 1; overflow: hidden; }
.editorial .ed-products img { width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: transform .5s; }
.editorial .ed-products a:hover img { transform: scale(1.06); }
.editorial .ed-products span { position: absolute; left: 10px; bottom: 10px; background: var(--emerald-900); color: var(--ivory); font-weight: 700; font-size: .78rem; padding: 6px 10px; border-radius: 999px; }
@media (max-width: 900px) { .editorial { grid-template-columns: 1fr; } }

/* Values / trust */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { padding: 26px; background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--line); }
.value .v-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--emerald-50); color: var(--emerald-800); margin-bottom: 16px; }
.value h3 { font-size: 1.1rem; margin-bottom: 6px; }
.value p { color: var(--muted); font-size: .88rem; margin: 0; }
@media (max-width: 900px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

.trust-band { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); background: var(--brass-100); border: 1px solid #E8D7AE; }
.trust-band dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0; font-size: .9rem; }
.trust-band dt { font-weight: 800; color: var(--emerald-900); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; padding-top: 2px; }
.trust-band dd { margin: 0; font-family: ui-monospace, 'SF Mono', Menlo, monospace; color: var(--ink); word-break: break-word; }
@media (max-width: 900px) { .trust-band { grid-template-columns: 1fr; } }

/* Newsletter */
.newsletter { background: var(--emerald-800); color: var(--ivory); border-radius: var(--r-lg); padding: clamp(32px, 5vw, 60px); display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.newsletter::after { content: ''; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(201,161,74,.15); }
.newsletter h2 { color: var(--ivory); margin: 0 0 8px; }
.newsletter p { color: rgba(251,248,242,.75); margin: 0; }
.newsletter form { display: flex; gap: 8px; background: var(--ivory); padding: 6px; border-radius: 999px; position: relative; z-index: 1; }
.newsletter input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 16px; font-size: .95rem; outline: none; }
@media (max-width: 800px) { .newsletter { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--emerald-950); color: rgba(251,248,242,.72); margin-top: 0; font-size: .9rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.3fr; gap: 36px; padding: 64px 0 48px; }
.site-footer h4 { color: var(--ivory); font: 800 .74rem/1 var(--font-ui); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer ul a { display: inline-block; padding: 4px 0; min-height: 28px; }
.site-footer a:hover { color: var(--brass); }
.site-footer .logo-text { color: var(--ivory); }
.site-footer .logo-text small, .admin-side .logo-text small { color: var(--brass); }
.footer-about p { margin: 16px 0; max-width: 30em; }
.socials { display: flex; gap: 8px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(251,248,242,.2); display: grid; place-items: center; }
.socials a:hover { background: var(--brass); color: var(--emerald-950); border-color: var(--brass); }
.socials .icon { width: 17px; height: 17px; }
.footer-legal address { font-style: normal; line-height: 1.6; }
.footer-legal .reg { margin-top: 14px; display: grid; gap: 4px; font-size: .8rem; }
.footer-legal .reg b { color: var(--brass); font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(251,248,242,.1); padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; }
.pay-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-badges span { border: 1px solid rgba(251,248,242,.2); border-radius: 6px; padding: 4px 9px; font-weight: 700; font-size: .7rem; letter-spacing: .06em; }
@media (max-width: 1000px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-about, .footer-legal { grid-column: 1 / -1; } }

/* ---------- Breadcrumb / page head ---------- */
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); padding: 18px 0; }
.crumbs a:hover { color: var(--emerald-700); }
.crumbs span[aria-hidden] { color: var(--sand-300); }
.page-head { padding: 20px 0 28px; }
.page-head h1 { margin-bottom: 6px; }
.page-banner { background: var(--emerald-900); color: var(--ivory); padding: clamp(40px, 6vw, 80px) 0; position: relative; overflow: hidden; }
.page-banner::after { content: ''; position: absolute; right: 6%; bottom: -120px; width: 280px; height: 280px; border-radius: 999px 999px 0 0; border: 2px solid rgba(201,161,74,.35); }
.page-banner h1 { color: var(--ivory); }
.page-banner p { color: rgba(251,248,242,.75); max-width: 40em; margin: 0; }
.page-banner .crumbs { color: rgba(251,248,242,.55); padding-top: 0; }

/* ---------- Shop listing ---------- */
.shop-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; align-items: start; padding-bottom: 80px; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 4px; }
.filter-group { border-bottom: 1px solid var(--line); padding: 16px 0; }
.filter-group h4, .filter-group .h4 { font: 800 .74rem/1 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 12px; color: var(--ink); }
.filter-links { display: grid; gap: 2px; }
.filter-links a { display: flex; justify-content: space-between; padding: 6px 10px; border-radius: 8px; font-size: .9rem; font-weight: 500; }
.filter-links a:hover { background: var(--sand); }
.filter-links a.on { background: var(--emerald-800); color: var(--ivory); font-weight: 700; }
.filter-links a small { color: inherit; opacity: .6; }
.color-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.color-filter a { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); box-shadow: inset 0 0 0 2px #fff; }
.color-filter a.on { outline: 2px solid var(--emerald-800); outline-offset: 2px; }
.price-filter { display: flex; gap: 8px; align-items: center; }
.price-filter input { width: 100%; height: 40px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 10px; background: #fff; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.toolbar .count { color: var(--muted); font-size: .9rem; }
.select { height: 42px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 38px 0 16px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230E4D45' stroke-width='1.8' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; font-weight: 600; font-size: .88rem; cursor: pointer; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .82rem; font-weight: 600; }
.chip:hover { border-color: var(--rust); color: var(--rust); }
.chip.on { background: var(--emerald-800); color: var(--ivory); border-color: var(--emerald-800); }
.sub-pills { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; }
.sub-pills a { white-space: nowrap; padding: 9px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 700; font-size: .84rem; }
.sub-pills a.on, .sub-pills a:hover { background: var(--emerald-800); color: var(--ivory); border-color: var(--emerald-800); }
.filter-toggle { display: none; }
.empty { text-align: center; padding: 70px 20px; background: var(--white); border-radius: var(--r-lg); border: 1px dashed var(--sand-300); }
.empty h3 { font-size: 1.5rem; }
@media (max-width: 900px) {
  .shop-layout { grid-template-columns: minmax(0, 1fr); }
  .filters { position: fixed; inset: 0 0 0 auto; width: min(88vw, 360px); background: var(--ivory); z-index: 100; padding: 20px 20px calc(20px + env(safe-area-inset-bottom)); overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .3s, visibility 0s .3s; top: 0; }
  body.filters-open .filters { transform: none; visibility: visible; box-shadow: var(--shadow-lg); transition: transform .3s; }
  body.filters-open .drawer-backdrop { opacity: 1; visibility: visible; }
  .filter-toggle { display: inline-flex; }
}
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 48px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 12px; border-radius: 999px; display: grid; place-items: center; font-weight: 700; font-size: .88rem; border: 1px solid var(--line); background: var(--white); }
.pagination a:hover { border-color: var(--emerald-800); }
.pagination .current { background: var(--emerald-800); color: var(--ivory); border-color: var(--emerald-800); }
.pagination .gap { border: 0; background: none; }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); padding-bottom: 60px; align-items: start; }
.gallery { display: grid; grid-template-columns: 76px 1fr; gap: 14px; position: sticky; top: calc(var(--header-h) + 20px); }
.thumbs { display: grid; gap: 10px; align-content: start; max-height: 600px; overflow-y: auto; scrollbar-width: none; }
.thumbs button { padding: 0; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; cursor: pointer; aspect-ratio: 4/5; }
.thumbs button.on { border-color: var(--emerald-800); box-shadow: 0 0 0 2px var(--emerald-100); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.stage { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); aspect-ratio: 4/5; cursor: zoom-in; }
.stage img { width: 100%; height: 100%; object-fit: contain; transition: transform .2s; }
.stage.zoom img { transform: scale(2); }
.stage .nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); box-shadow: var(--shadow-sm); cursor: pointer; display: grid; place-items: center; }
.stage .prev { left: 12px; } .stage .next { right: 12px; }
@media (max-width: 900px) {
  .pdp { grid-template-columns: minmax(0, 1fr); }
  .gallery { position: static; grid-template-columns: 1fr; }
  .thumbs { grid-auto-flow: column; grid-auto-columns: 64px; order: 2; overflow-x: auto; }
}
.pdp-info .p-cat { font: 800 .74rem/1 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--brass-600); }
.pdp-info h1 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 12px 0; }
.pdp-rating { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: .88rem; color: var(--muted); }
.pdp-rating a { display: inline-block; padding: 4px 0; text-decoration: underline; text-underline-offset: 3px; }
.back-link { display: inline-block; padding: 4px 0; min-height: 28px; }
.pdp-price { padding: 18px 0; border-block: 1px solid var(--line); margin-bottom: 22px; }
.pdp-price .price b { font-size: 1.9rem; font-family: var(--font-display); font-weight: 500; }
.pdp-price .price s { font-size: 1.05rem; }
.pdp-price .price .off { font-size: .95rem; background: var(--rust-100); padding: 4px 10px; border-radius: 999px; }
.pdp-price small { display: block; color: var(--muted); margin-top: 6px; font-size: .8rem; }
.opt-label { display: flex; justify-content: space-between; font-weight: 700; font-size: .88rem; margin-bottom: 10px; }
.opt-label span { color: var(--muted); font-weight: 600; }
.opt-group { margin-bottom: 22px; }
.size-opts, .color-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.size-opts label, .color-opts label { position: relative; cursor: pointer; display: inline-flex; }
.size-opts input, .color-opts input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.size-opts span { display: grid; place-items: center; min-width: 52px; height: 46px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: .86rem; transition: .15s; }
.size-opts label:hover span { border-color: var(--emerald-700); }
.size-opts input:checked + span { background: var(--emerald-800); border-color: var(--emerald-800); color: var(--ivory); }
.size-opts input:focus-visible + span, .color-opts input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.color-opts span { display: block; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); box-shadow: inset 0 0 0 3px #fff; }
.color-opts input:checked + span { outline: 2px solid var(--emerald-800); outline-offset: 2px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; height: 50px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; font-size: 1.2rem; cursor: pointer; color: var(--emerald-800); }
.qty input { width: 40px; text-align: center; border: 0; font-weight: 800; background: none; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.buy-row .btn { height: 50px; flex: 1; min-width: 150px; }
.buy-row .wish-inline { flex: none; width: 50px; padding: 0; min-width: 0; }
@media (max-width: 560px) {
  .buy-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 50px; }
  .buy-row .btn { min-width: 0; padding: 0 10px; white-space: normal; text-align: center; line-height: 1.15; }
}
@media (max-width: 360px) { .buy-row .btn-primary .icon { display: none; } }
.buy-row .wish-inline.saved { color: var(--rust); border-color: var(--rust); }
.buy-row .wish-inline.saved .icon { fill: var(--rust); }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 26px; }
.perks div { background: var(--emerald-50); border-radius: var(--r); padding: 14px; font-size: .8rem; font-weight: 600; color: var(--emerald-900); display: grid; gap: 6px; }
.perks .icon { color: var(--emerald-700); }
.pincode { display: flex; gap: 8px; margin-bottom: 8px; }
.pincode input { flex: 1; min-width: 0; height: 46px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 18px; background: #fff; }
.pincode-msg { font-size: .84rem; min-height: 1.4em; margin-bottom: 18px; }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 800; display: flex; justify-content: space-between; align-items: center; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: '+'; font: 400 1.4rem/1 var(--font-display); color: var(--brass-600); }
.accordion details[open] summary::after { content: '–'; }
.accordion .acc-body { padding-bottom: 20px; color: var(--text); font-size: .93rem; }
.spec { width: 100%; border-collapse: collapse; font-size: .9rem; }
.spec th, .spec td { text-align: left; padding: 9px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.spec th { width: 40%; color: var(--muted); font-weight: 600; }

.reviews { display: grid; grid-template-columns: 320px 1fr; gap: 40px; }
.review-summary { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; align-self: start; }
.review-summary .big { font: 500 3.2rem/1 var(--font-display); color: var(--ink); }
.review { padding: 20px 0; border-bottom: 1px solid var(--line); }
.review header { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; font-size: .88rem; }
.review header b { color: var(--ink); }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input { position: relative; }
.star-input input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.star-input input:focus-visible + label { outline: 2px solid var(--brass); outline-offset: 2px; border-radius: 4px; }
.star-input label { font-size: 1.7rem; color: var(--sand-300); cursor: pointer; line-height: 1; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--brass); }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--white); border-top: 1px solid var(--line); padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); display: none; gap: 10px; align-items: center; box-shadow: 0 -10px 30px -15px rgba(0,0,0,.2); }
.sticky-buy .price b { font-size: 1.1rem; }
@media (max-width: 900px) { .sticky-buy { display: flex; } .pdp-page { padding-bottom: 70px; } }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 700; font-size: .84rem; color: var(--ink); }
.field input:not([type=radio]):not([type=checkbox]), .field select, .field textarea {
  width: 100%; min-height: 48px; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--white); font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:not([type=radio]):not([type=checkbox]):focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--emerald-700); box-shadow: 0 0 0 4px var(--emerald-50); }
.field .hint { font-size: .78rem; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.radio-cards { display: flex; gap: 8px; flex-wrap: wrap; }
.radio-cards label { cursor: pointer; position: relative; }
.radio-cards input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.radio-cards input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.radio-cards span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: .84rem; }
.radio-cards input:checked + span { border-color: var(--emerald-800); background: var(--emerald-50); color: var(--emerald-900); }
.checkbox { display: flex; gap: 10px; align-items: center; font-size: .9rem; font-weight: 600; cursor: pointer; }
.checkbox input { width: 18px; height: 18px; accent-color: var(--emerald-800); }

.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); }
.panel + .panel { margin-top: 20px; }
.panel h2, .panel h3 { margin-bottom: 18px; }

/* Auth */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 120px); }
.auth-art { position: relative; background: var(--emerald-900) center/cover no-repeat; color: var(--ivory); display: flex; align-items: end; padding: 48px; isolation: isolate; }
.auth-art::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,32,29,.1), rgba(8,32,29,.85)); z-index: -1; }
.auth-art h2 { color: var(--ivory); font-weight: 400; font-size: 2.4rem; }
.auth-art h2 em { color: var(--brass); }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 48px var(--gutter); }
.auth-form > div { width: 100%; max-width: 420px; }
.auth-form h1 { font-size: 2.2rem; }
.divider { text-align: center; color: var(--muted); font-size: .85rem; margin: 22px 0; }
@media (max-width: 900px) { .auth-wrap { grid-template-columns: 1fr; } .auth-art { display: none; } }

/* ---------- Cart / checkout ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; padding-bottom: 80px; }
@media (max-width: 960px) { .cart-layout { grid-template-columns: minmax(0, 1fr); } }
.cart-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-item:first-child { padding-top: 0; }
.cart-item .ci-img { border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); aspect-ratio: 4/5; }
.cart-item .ci-img img { width: 100%; height: 100%; object-fit: contain; }
.cart-item h3 { font: 700 .95rem/1.4 var(--font-ui); margin: 0 0 6px; }
.cart-item h3 a, .order-row .item-link { display: inline-block; padding: 3px 0; }
.auth-form .link.small { display: inline-block; padding: 5px 0; }
.ci-meta { font-size: .82rem; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; align-items: center; }
.ci-meta i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; border: 1px solid rgba(0,0,0,.2); vertical-align: -2px; margin-right: 4px; }
.ci-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.ci-actions .qty { height: 40px; }
.ci-actions .qty button { width: 36px; }
.text-btn { border: 0; background: none; color: var(--muted); font-weight: 700; font-size: .82rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; min-height: 32px; padding: 6px 8px; }
.text-btn:hover { color: var(--rust); }
.ci-price { text-align: right; }
@media (max-width: 560px) { .cart-item { grid-template-columns: 84px 1fr; } .ci-price { grid-column: 2; text-align: left; } }
.summary { position: sticky; top: calc(var(--header-h) + 20px); }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: .92rem; }
.summary-row.save { color: var(--success); font-weight: 700; }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; font-weight: 800; font-size: 1.1rem; color: var(--ink); }
.ship-meter { background: var(--emerald-50); border-radius: var(--r); padding: 14px; font-size: .84rem; margin-bottom: 18px; color: var(--emerald-900); font-weight: 600; }
.ship-meter .bar { height: 6px; border-radius: 999px; background: var(--emerald-100); margin-top: 10px; overflow: hidden; }
.ship-meter .bar i { display: block; height: 100%; background: var(--emerald-700); border-radius: inherit; }
.address-card { display: block; position: relative; cursor: pointer; }
.address-card input { position: absolute; top: 20px; left: 18px; accent-color: var(--emerald-800); width: 18px; height: 18px; }
.address-card .ac-body { border: 1.5px solid var(--line); border-radius: var(--r); padding: 16px 16px 16px 48px; background: #fff; font-size: .9rem; line-height: 1.55; transition: .15s; }
.address-card input:checked + .ac-body { border-color: var(--emerald-800); background: var(--emerald-50); }
.address-card .tag { display: inline-block; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; padding: 3px 8px; border-radius: 6px; background: var(--sand); margin-left: 8px; }
.address-grid { display: grid; gap: 12px; margin-bottom: 16px; }
.pay-option { display: flex; gap: 14px; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r); padding: 16px; background: #fff; margin-bottom: 10px; }
.pay-option.on { border-color: var(--emerald-800); background: var(--emerald-50); }
.pay-option.off { background: var(--sand); border-style: dashed; color: var(--muted); }
.pay-option.off b { color: var(--text); }
.pay-option small { display: block; color: var(--muted); }
.mini-items { display: grid; gap: 12px; margin-bottom: 16px; max-height: 280px; overflow-y: auto; }
.mini-item { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; font-size: .84rem; }
.mini-item img { width: 54px; height: 66px; object-fit: contain; border-radius: 8px; background: #fff; border: 1px solid var(--line); }
.mini-item .n { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 600; }

/* Thank-you */
.thanks { max-width: 720px; margin: 0 auto; padding: 60px 0 90px; text-align: center; }
.thanks .tick { width: 84px; height: 84px; border-radius: 50%; background: var(--emerald-800); color: var(--brass); display: grid; place-items: center; margin: 0 auto 24px; }
.thanks .tick .icon { width: 40px; height: 40px; stroke-width: 2.4; }

/* Account */
.account-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: start; padding-bottom: 80px; }
.account-nav { display: grid; gap: 4px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px; position: sticky; top: calc(var(--header-h) + 20px); }
.account-nav a, .account-nav button { display: flex; gap: 12px; align-items: center; padding: 11px 14px; border-radius: 12px; font-weight: 700; font-size: .9rem; border: 0; background: none; width: 100%; cursor: pointer; text-align: left; }
.account-nav a:hover, .account-nav button:hover { background: var(--sand); }
.account-nav a.on { background: var(--emerald-800); color: var(--ivory); }
.account-nav .icon { width: 19px; height: 19px; }
@media (max-width: 860px) { .account-layout { grid-template-columns: minmax(0, 1fr); } .account-nav { position: static; grid-auto-flow: column; overflow-x: auto; } .account-nav a, .account-nav button { white-space: nowrap; } }
.stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.stat-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.stat-card b { display: block; font: 500 2rem/1.1 var(--font-display); color: var(--ink); }
.stat-card span { color: var(--muted); font-size: .82rem; font-weight: 600; }
@media (max-width: 560px) { .stat-cards { grid-template-columns: 1fr; } }
.order-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.order-row img { width: 64px; height: 76px; object-fit: contain; background: #fff; border-radius: 10px; border: 1px solid var(--line); }
.status { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .03em; background: var(--sand); color: var(--ink); white-space: nowrap; }
.status.placed, .status.confirmed { background: #E5EEF7; color: var(--info); }
.status.packed, .status.shipped, .status.out_for_delivery { background: var(--brass-100); color: #7A5B17; }
.status.delivered, .status.paid { background: var(--emerald-50); color: var(--success); }
.status.cancelled, .status.returned, .status.refunded { background: var(--rust-100); color: var(--rust); }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); margin: 10px 0 26px; }
.timeline div { position: relative; text-align: center; font-size: .76rem; font-weight: 700; color: var(--muted); padding-top: 30px; }
.timeline div::before { content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 16px; height: 16px; border-radius: 50%; background: var(--sand-300); z-index: 1; }
.timeline div::after { content: ''; position: absolute; top: 13px; left: -50%; right: 50%; height: 2px; background: var(--sand-300); }
.timeline div:first-child::after { display: none; }
.timeline div.done { color: var(--emerald-800); }
.timeline div.done::before, .timeline div.done::after { background: var(--emerald-700); }

/* Tables */
.table-wrap { overflow-x: auto; position: relative; }
table.data { width: 100%; border-collapse: collapse; font-size: .88rem; }
table.data th { text-align: left; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 12px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data tr:hover td { background: var(--ivory); }
table.data img { width: 44px; height: 54px; object-fit: contain; border-radius: 8px; background: #fff; border: 1px solid var(--line); }

/* Content pages */
.prose { max-width: 760px; font-size: 1rem; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose a { color: var(--emerald-700); font-weight: 700; text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 3px; }
.policy-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; padding: 48px 0 90px; }
.policy-layout nav { display: grid; gap: 4px; align-self: start; position: sticky; top: calc(var(--header-h) + 20px); }
.policy-layout nav a { padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: .9rem; }
.policy-layout nav a.on { background: var(--emerald-800); color: var(--ivory); }
.policy-layout nav a:not(.on):hover { background: var(--sand); }
@media (max-width: 860px) { .policy-layout { grid-template-columns: 1fr; } .policy-layout nav { position: static; grid-auto-flow: column; overflow-x: auto; } .policy-layout nav a { white-space: nowrap; } }
.legal-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; font-size: .9rem; }
.legal-card dl { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 10px 16px; margin: 0; }
.legal-card dd { overflow-wrap: anywhere; }
.legal-card dt { color: var(--muted); font-weight: 700; }
.legal-card dd { margin: 0; color: var(--ink); font-weight: 600; }
@media (max-width: 560px) { .legal-card dl { grid-template-columns: 1fr; gap: 2px; } .legal-card dd { margin-bottom: 10px; } }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.about-grid figure { margin: 0; border-radius: var(--arch); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-lg); }
.about-grid figure img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.person { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: flex; gap: 16px; align-items: center; }
.person .mono { width: 56px; height: 56px; border-radius: 50%; background: var(--emerald-800); color: #D4AF5A; display: grid; place-items: center; font: 500 1.3rem/1 var(--font-display); flex: none; }
.person b { display: block; color: var(--ink); }
.person small { color: var(--muted); font-weight: 600; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; padding: 48px 0 90px; align-items: start; }
.contact-card { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-card .v-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--emerald-50); color: var(--emerald-800); display: grid; place-items: center; flex: none; }
.contact-card b { display: block; color: var(--ink); margin-bottom: 2px; }
.contact-card p { margin: 0; color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.faq-list details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 10px; padding: 0 20px; }
.faq-list summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 20px; }
.faq-list summary::after { content: '+'; color: var(--brass-600); font-size: 1.3rem; line-height: 1; }
.faq-list details[open] summary::after { content: '–'; }
.faq-list .a { padding-bottom: 18px; color: var(--muted); }

/* Error */
.error-page { text-align: center; padding: 90px 0 120px; }
.error-page .code { font: 400 clamp(5rem, 14vw, 9rem)/1 var(--font-display); color: var(--emerald-800); letter-spacing: -.04em; }
.error-page .code em { color: var(--brass); }

/* Admin */
.admin-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; }
.admin-side { min-width: 0; }
.grid-split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 1000px) { .grid-split { grid-template-columns: minmax(0, 1fr); } }
.admin-side { background: var(--emerald-950); color: rgba(251,248,242,.75); padding: 22px 14px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 4px; }
.admin-side .logo { padding: 4px 10px 22px; }
.admin-side .logo-text { color: var(--ivory); font-size: 1.3rem; }
.admin-side a { display: flex; gap: 12px; align-items: center; padding: 11px 14px; border-radius: 10px; font-weight: 600; font-size: .9rem; }
.admin-side a:hover { background: rgba(251,248,242,.06); color: var(--ivory); }
.admin-side a.on { background: var(--emerald-800); color: var(--ivory); }
.admin-side .icon { width: 19px; height: 19px; }
.admin-side .bottom { margin-top: auto; }
.admin-main { padding: 28px clamp(16px, 3vw, 40px) 60px; min-width: 0; }
.admin-main h1 { font-size: 2rem; }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 24px; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.inline-form input, .inline-form select { height: 42px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 12px; background: #fff; }
@media (max-width: 860px) {
  .admin-shell { grid-template-columns: minmax(0, 1fr); }
  .admin-side { position: static; height: auto; flex-direction: row; overflow-x: auto; padding: 10px; }
  .admin-side .logo, .admin-side .bottom { display: none; }
  .admin-side a { white-space: nowrap; }
}

/* Utilities */
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: minmax(0, 1fr); } }
.stack { display: grid; gap: 12px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt { margin-top: 24px; } .mb { margin-bottom: 24px; }
.center { text-align: center; }
.small { font-size: .85rem; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

@media print {
  .site-header, .site-footer, .announce, .no-print { display: none !important; }
  body { background: #fff; }
}

/* ---------- Audit additions ---------- */
.stock-note { font-size: .84rem; font-weight: 700; margin: -8px 0 18px; }
.stock-note.low { color: var(--rust); }
.stock-note.out { color: var(--rust); background: var(--rust-100); padding: 10px 14px; border-radius: var(--r-sm); margin-top: 0; }
.ci-warn { color: var(--rust); font-size: .8rem; font-weight: 700; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 76px !important; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-height: 36px; padding: 0 12px; border: 0; border-radius: 8px; background: var(--sand); font: 700 .78rem var(--font-ui); cursor: pointer; color: var(--emerald-900); }
.reset-link { display: block; word-break: break-all; background: var(--emerald-50); padding: 12px; border-radius: var(--r-sm); font-family: ui-monospace, Menlo, monospace; font-size: .82rem; margin: 10px 0; }
.btn.loading { opacity: .7; pointer-events: none; }
