/* ============================================================
   PeptiPrince — Design System
   Palette: navy #1D2F3B + gold #C9A24B (per brand brief)
   Fonts:   Cormorant Garamond (display) · Manrope (UI/body)
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --navy-900: #16242E;
  --navy-800: #1D2F3B;   /* brand navy */
  --navy-700: #243d4c;
  --navy-600: #2f4d5f;
  --navy-500: #3d6178;

  --gold-700: #a9842f;
  --gold-600: #b98e36;
  --gold-500: #C9A24B;   /* brand gold */
  --gold-400: #d9b86e;
  --gold-200: #ecd7a3;

  --paper:    #fbfaf7;
  --cream:    #f4f1ea;
  --surface:  #ffffff;
  --line:     #e7e2d8;

  --ink:      #1D2F3B;
  --ink-soft: #41525c;
  --muted:    #6c7a82;
  --on-dark:  #eef2f4;
  --on-dark-soft: rgba(238,242,244,0.72);

  --ok:   #2e8b6f;
  --warn: #c2603a;

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-ui: 'Manrope', 'Segoe UI', system-ui, -apple-system, Helvetica, Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(22,36,46,0.06);
  --shadow-md: 0 12px 34px rgba(22,36,46,0.10);
  --shadow-lg: 0 26px 60px rgba(22,36,46,0.18);
  --shadow-gold: 0 14px 30px rgba(201,162,75,0.30);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
  --announce-h: 34px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; color: var(--ink); letter-spacing: -0.01em; }
.h-xl { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 600; }
.h-lg { font-size: clamp(2.1rem, 4.5vw, 3.2rem); }
.h-md { font-size: clamp(1.6rem, 3vw, 2.3rem); }
p { color: var(--ink-soft); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--ink-soft); line-height: 1.7; }

.eyebrow {
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-600);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold-500); display: inline-block; }
.eyebrow.center::after { content: ""; width: 26px; height: 1px; background: var(--gold-500); display: inline-block; }
.text-gold { color: var(--gold-600); }
.serif-italic { font-style: italic; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 860px; }
.section { padding-block: clamp(56px, 8vw, 110px); }
.section-tight { padding-block: clamp(40px, 5vw, 64px); }
.section-head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head p { margin-top: 14px; }
.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.bg-paper { background: var(--paper); }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy-800); color: var(--on-dark); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }
.bg-navy p { color: var(--on-dark-soft); }

/* dotted molecular texture for dark sections */
.tex-molecule {
  background-color: var(--navy-800);
  background-image:
    radial-gradient(circle at 18% 22%, rgba(201,162,75,0.10), transparent 28%),
    radial-gradient(circle at 82% 78%, rgba(61,97,120,0.35), transparent 30%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='52' viewBox='0 0 60 52'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.05' stroke-width='1'%3E%3Cpath d='M30 4 L52 16 L52 40 L30 52 L8 40 L8 16 Z'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 0.92rem; letter-spacing: 0.01em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, color .25s, border-color .25s;
  white-space: nowrap; line-height: 1;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-gold { background: var(--gold-500); color: var(--navy-900); box-shadow: var(--shadow-gold); }
.btn-gold:hover { background: var(--gold-400); transform: translateY(-2px); box-shadow: 0 18px 38px rgba(201,162,75,0.42); }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; border: 1.5px solid currentColor; color: inherit; }
.btn-ghost:hover { background: currentColor; transform: translateY(-2px); }
.btn-ghost:hover > * { color: var(--navy-800); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,0.65); }
.btn-ghost.on-dark:hover { background: #fff; color: var(--navy-800); border-color: #fff; }
.btn-outline { background: transparent; border: 1.5px solid var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--gold-500); color: var(--gold-700); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 0.82rem; }
.btn-lg { padding: 16px 34px; font-size: 1rem; }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 1000;
  transition: transform .5s var(--ease), background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.solid,
.site-header.is-stuck { position: fixed; }

/* announcement marquee */
.announce-bar {
  background: var(--navy-900); color: var(--gold-200);
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
  height: var(--announce-h); display: flex; align-items: center; overflow: hidden; white-space: nowrap;
  border-bottom: 1px solid rgba(201,162,75,0.18);
}
.marquee { display: flex; width: max-content; animation: marquee 55s linear infinite; will-change: transform; }
.marquee-track { display: flex; flex-shrink: 0; }
.marquee-track span { display: inline-flex; align-items: center; white-space: nowrap; }
.marquee-track span::after { content: "◆"; color: var(--gold-500); font-size: 0.55rem; margin: 0 2.6rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.announce-bar:hover .marquee { animation-play-state: paused; }

/* promo bar */
.promo-bar {
  background: var(--gold-500); color: var(--navy-900);
  font-size: 0.78rem; font-weight: 600; text-align: center;
  padding: 7px var(--gutter); display: flex; gap: 28px; justify-content: center; align-items: center;
  transition: max-height .4s var(--ease), opacity .3s, padding .3s;
}
.promo-bar .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--navy-900); display: inline-block; }
.is-stuck .promo-bar { max-height: 0; opacity: 0; padding-block: 0; overflow: hidden; pointer-events: none; }

/* nav bar */
.nav-bar {
  height: var(--header-h);
  display: flex; align-items: center; gap: 24px;
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), color .4s var(--ease);
  color: var(--on-dark);
}
.nav-inner { display: flex; align-items: center; gap: 28px; width: 100%; }
.brand { display: inline-flex; align-items: center; color: inherit; }
.brand svg { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 18px; }
.nav-links a {
  position: relative; padding: 10px 14px; font-size: 0.9rem; font-weight: 600; color: inherit;
  border-radius: var(--r-sm); transition: color .25s, background-color .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px;
  background: var(--gold-500); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold-400); }

.nav-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-btn {
  position: relative; width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; color: inherit;
  transition: background-color .25s, color .25s, transform .25s;
}
.icon-btn:hover { background: rgba(255,255,255,0.12); transform: translateY(-1px); }
.icon-btn svg { width: 21px; height: 21px; }
.icon-btn .count {
  position: absolute; top: 2px; right: 0px; min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--gold-500); color: var(--navy-900); border-radius: var(--r-pill);
  font-size: 0.66rem; font-weight: 800; font-family: var(--font-ui);
  display: flex; align-items: center; justify-content: center; line-height: 1;
  transform: scale(0); transition: transform .3s var(--ease);
}
.icon-btn .count.show { transform: scale(1); }
.lang-btn { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; width: auto; padding: 0 12px; gap: 5px; }
.nav-cta { margin-left: 8px; }

/* solid / stuck states swap colours */
.site-header.solid .nav-bar,
.site-header.is-stuck .nav-bar {
  background: rgba(251,250,247,0.92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--line);
}
.site-header.solid .icon-btn:hover,
.site-header.is-stuck .icon-btn:hover { background: rgba(29,47,59,0.08); }
.site-header.is-stuck { animation: slideDown .5s var(--ease); }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

/* mobile menu toggle */
.menu-toggle { display: none; width: 42px; height: 42px; border-radius: 50%; align-items: center; justify-content: center; }
.menu-toggle span { position: relative; width: 20px; height: 2px; background: currentColor; transition: .3s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; transition: .3s var(--ease); }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
body.menu-open .menu-toggle span { background: transparent; }
body.menu-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
body.menu-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }

/* spacer when header is solid (non-hero pages) */
body.has-solid-header { padding-top: calc(var(--header-h) + var(--announce-h)); }

/* ---------- Mobile drawer ---------- */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 1100; visibility: hidden; pointer-events: none;
}
.mobile-drawer .scrim { position: absolute; inset: 0; background: rgba(22,36,46,0.5); opacity: 0; transition: opacity .35s; }
.mobile-drawer .panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 86vw);
  background: var(--navy-800); color: var(--on-dark); padding: 28px 26px;
  transform: translateX(100%); transition: transform .4s var(--ease);
  display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
}
body.menu-open .mobile-drawer { visibility: visible; pointer-events: auto; }
body.menu-open .mobile-drawer .scrim { opacity: 1; }
body.menu-open .mobile-drawer .panel { transform: translateX(0); }
.mobile-drawer .panel a.m-link { padding: 14px 8px; font-size: 1.05rem; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; }
.mobile-drawer .panel a.m-link:hover { color: var(--gold-400); }
.mobile-drawer .m-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mobile-drawer .m-foot { margin-top: auto; padding-top: 20px; display: grid; gap: 10px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; color: var(--on-dark); overflow: hidden; padding-top: calc(var(--header-h) + var(--announce-h) + 40px); padding-bottom: 60px; }
.hero-page { min-height: 56vh; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,36,46,0.55) 0%, rgba(22,36,46,0.78) 100%); z-index: 1; }
.hero > .container { position: relative; z-index: 2; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-content { max-width: 720px; }
.hero h1 { color: #fff; margin: 18px 0 20px; }
.hero h1 em { color: var(--gold-400); font-style: italic; }
.hero .lede { color: rgba(255,255,255,0.82); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-eyebrow { color: var(--gold-300); }
.hero-eyebrow::before { background: var(--gold-300); }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,0.6); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-hint .line { width: 1px; height: 36px; background: linear-gradient(var(--gold-400), transparent); animation: scrollPulse 1.8s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100% { opacity: .3; transform: scaleY(.6); } 50% { opacity: 1; transform: scaleY(1); } }

.hero-page-wrap { position: relative; }
.hero-page .hero-content { max-width: 760px; }
.hero-page h1 { margin-bottom: 14px; }
.breadcrumbs { display: flex; gap: 8px; font-size: 0.8rem; color: var(--on-dark-soft); margin-bottom: 16px; flex-wrap: wrap; }
.breadcrumbs a:hover { color: var(--gold-400); }
.breadcrumbs .sep { opacity: 0.5; }

/* ---------- Trust strip ---------- */
.trust-strip { border-block: 1px solid var(--line); background: var(--surface); }
.trust-strip .row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-block: 22px; }
.trust-item { display: flex; align-items: center; gap: 12px; justify-content: center; font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.trust-item svg { width: 26px; height: 26px; color: var(--gold-600); flex: none; }

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: clamp(16px, 2vw, 26px); }
.product-card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold-200); }
.product-media { position: relative; aspect-ratio: 1; background: var(--navy-800); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.badge {
  font-size: 0.64rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: var(--r-pill); line-height: 1;
}
.badge-best { background: var(--gold-500); color: var(--navy-900); }
.badge-new { background: #2e8b6f; color: #fff; }
.badge-hot { background: #c2603a; color: #fff; }
.badge-cat { background: rgba(29,47,59,0.9); color: var(--gold-300); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.fav-btn {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.92); color: var(--navy-700); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), color .25s, background-color .25s;
}
.fav-btn:hover { transform: scale(1.12); }
.fav-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: fill .25s, transform .3s var(--ease); }
.fav-btn.active { color: #d4435e; }
.fav-btn.active svg { fill: #d4435e; animation: pop .4s var(--ease); }
@keyframes pop { 0% { transform: scale(.6); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }

.product-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-cat { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-600); }
.product-name { font-family: var(--font-display); font-size: 1.32rem; font-weight: 600; line-height: 1.12; color: var(--ink); }
.product-name a:hover { color: var(--gold-700); }
.product-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--ink); }
.product-price small { font-family: var(--font-ui); font-size: 0.7rem; color: var(--muted); font-weight: 600; }
.add-btn {
  display: inline-flex; align-items: center; gap: 7px; background: var(--navy-800); color: #fff;
  padding: 10px 16px; border-radius: var(--r-pill); font-size: 0.82rem; font-weight: 700;
  transition: background-color .25s, transform .25s var(--ease);
}
.add-btn:hover { background: var(--gold-500); color: var(--navy-900); transform: translateY(-1px); }
.add-btn svg { width: 16px; height: 16px; }

/* ============================================================
   CATEGORY TILES
   ============================================================ */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: clamp(14px, 2vw, 22px); }
.cat-tile {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; overflow: hidden;
}
.cat-tile::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--gold-500); transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease); }
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-200); }
.cat-tile:hover::before { transform: scaleY(1); }
.cat-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(201,162,75,0.12); color: var(--gold-600); display: flex; align-items: center; justify-content: center; }
.cat-icon svg { width: 24px; height: 24px; }
.cat-tile h3 { font-size: 1.4rem; }
.cat-tile .cat-count { font-size: 0.78rem; font-weight: 700; color: var(--gold-600); letter-spacing: 0.04em; }
.cat-tile p { font-size: 0.85rem; color: var(--muted); }
.cat-tile .go { margin-top: auto; font-size: 0.8rem; font-weight: 700; color: var(--ink); display: inline-flex; gap: 6px; align-items: center; }
.cat-tile:hover .go { color: var(--gold-700); }

/* ============================================================
   FEATURE / WHY / STEPS
   ============================================================ */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(18px, 2.4vw, 30px); }
.feature {
  padding: 30px 26px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature .ficon { width: 54px; height: 54px; border-radius: 14px; background: var(--navy-800); color: var(--gold-400); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.feature .ficon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.4rem; margin-bottom: 8px; }
.feature p { font-size: 0.9rem; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(18px, 2.4vw, 32px); counter-reset: step; }
.step { position: relative; padding: 30px 26px 28px; }
.step .num { font-family: var(--font-display); font-size: 3.4rem; font-weight: 600; color: var(--gold-200); line-height: 1; margin-bottom: 10px; }
.bg-navy .step .num { color: rgba(201,162,75,0.4); }
.step h3 { font-size: 1.35rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(40px, 6vw, 72px); text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.8); max-width: 540px; margin-inline: auto; margin-bottom: 28px; }
.cta-band .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-900); color: var(--on-dark-soft); padding-top: clamp(48px, 6vw, 80px); }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 36px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand svg { height: 40px; color: #fff; margin-bottom: 18px; }
.footer-brand p { font-size: 0.88rem; max-width: 320px; line-height: 1.7; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.16); display: flex; align-items: center; justify-content: center; color: var(--on-dark-soft); transition: .25s var(--ease); }
.footer-social a:hover { background: var(--gold-500); color: var(--navy-900); border-color: var(--gold-500); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 { font-family: var(--font-ui); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--gold-300); margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; font-size: 0.88rem; color: var(--on-dark-soft); transition: color .2s, transform .2s; }
.footer-col a:hover { color: #fff; transform: translateX(3px); }
.footer-disclaimer { padding: 22px 0; text-align: center; font-size: 0.8rem; color: var(--gold-200); border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0 30px; font-size: 0.8rem; flex-wrap: wrap; }
.footer-bottom .pay { display: flex; gap: 8px; align-items: center; opacity: 0.7; }
.footer-bottom .pay span { border: 1px solid rgba(255,255,255,0.2); border-radius: 5px; padding: 3px 8px; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.05em; }

/* ============================================================
   SHOP: toolbar / sidebar / filters
   ============================================================ */
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: clamp(22px, 3vw, 44px); align-items: start; }
.shop-sidebar { position: sticky; top: calc(var(--header-h) + var(--announce-h) + 16px); }
.filter-group { border-bottom: 1px solid var(--line); padding: 18px 0; }
.filter-group:first-child { padding-top: 0; }
.filter-group h4 { font-family: var(--font-ui); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink); margin-bottom: 14px; }
.filter-list button { display: flex; justify-content: space-between; width: 100%; align-items: center; padding: 7px 10px; border-radius: var(--r-sm); font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); transition: .2s; }
.filter-list button:hover { background: var(--cream); color: var(--ink); }
.filter-list button.active { background: var(--navy-800); color: #fff; }
.filter-list button.active .fc { color: var(--gold-300); }
.filter-list .fc { font-size: 0.74rem; color: var(--muted); font-weight: 700; }
.price-display { font-weight: 700; color: var(--ink); margin-top: 8px; font-size: 0.9rem; }
input[type="range"] { width: 100%; accent-color: var(--gold-500); }

.shop-toolbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.shop-count { font-size: 0.9rem; color: var(--muted); font-weight: 600; }
.shop-count strong { color: var(--ink); }
.shop-search { position: relative; flex: 1; min-width: 220px; max-width: 360px; }
.shop-search input { width: 100%; padding: 11px 14px 11px 42px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); transition: border-color .25s, box-shadow .25s; }
.shop-search input:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(201,162,75,0.15); }
.shop-search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; padding: 11px 38px 11px 16px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); font-weight: 600; font-size: 0.85rem; cursor: pointer; }
.select-wrap select:focus { outline: none; border-color: var(--gold-500); }
.select-wrap::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.mobile-filter-toggle { display: none; }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip { display: inline-flex; align-items: center; gap: 7px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 6px 12px; font-size: 0.8rem; font-weight: 600; }
.chip button { color: var(--muted); display: inline-flex; }
.chip button:hover { color: var(--warn); }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); grid-column: 1 / -1; }

.cat-anchor { scroll-margin-top: calc(var(--header-h) + var(--announce-h) + 20px); }
.cat-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 8px 0 18px; padding-bottom: 12px; border-bottom: 2px solid var(--line); }
.cat-section-head h2 { font-size: 1.9rem; }
.cat-section-head .cnt { color: var(--muted); font-weight: 700; font-size: 0.85rem; }

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.pdp-gallery { position: sticky; top: calc(var(--header-h) + var(--announce-h) + 20px); }
.pdp-main-img { border-radius: var(--r-lg); overflow: hidden; background: var(--navy-800); border: 1px solid var(--line); cursor: zoom-in; position: relative; }
.pdp-main-img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pdp-zoom-hint { position: absolute; bottom: 14px; right: 14px; background: rgba(22,36,46,0.7); color: #fff; font-size: 0.72rem; padding: 6px 12px; border-radius: var(--r-pill); display: inline-flex; gap: 6px; align-items: center; }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pdp-thumbs button { width: 76px; height: 76px; border-radius: var(--r-sm); overflow: hidden; border: 2px solid transparent; background: var(--navy-800); transition: border-color .25s; }
.pdp-thumbs button.active { border-color: var(--gold-500); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pdp-info .product-cat { font-size: 0.78rem; }
.pdp-info h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 8px 0 14px; }
.pdp-meta-badges { display: flex; gap: 8px; margin-bottom: 16px; }
.pdp-price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.pdp-stock { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; color: var(--ok); margin-bottom: 22px; }
.pdp-stock .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.pdp-buy { display: flex; gap: 12px; align-items: stretch; margin-bottom: 18px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-pill); overflow: hidden; }
.qty button { width: 44px; height: 100%; font-size: 1.2rem; color: var(--ink); transition: background-color .2s; }
.qty button:hover { background: var(--cream); }
.qty input { width: 46px; text-align: center; border: none; font-weight: 700; background: transparent; }
.pdp-buy .btn-gold { flex: 1; min-width: 200px; }
.pdp-fav { width: 52px; border: 1px solid var(--line); border-radius: var(--r-pill); display: flex; align-items: center; justify-content: center; color: var(--navy-700); transition: .25s; }
.pdp-fav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.pdp-fav.active { color: #d4435e; border-color: #d4435e; }
.pdp-fav.active svg { fill: #d4435e; }
.pdp-assurance { display: grid; gap: 10px; padding: 18px 20px; background: var(--cream); border-radius: var(--r-md); margin-bottom: 22px; }
.pdp-assurance div { display: flex; gap: 10px; align-items: center; font-size: 0.86rem; font-weight: 600; color: var(--ink-soft); }
.pdp-assurance svg { width: 20px; height: 20px; color: var(--gold-600); flex: none; }

/* tabs */
.tabs { margin-top: 8px; }
.tab-nav { display: flex; gap: 4px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tab-nav button { padding: 12px 18px; font-weight: 700; font-size: 0.9rem; color: var(--muted); position: relative; }
.tab-nav button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold-500); transform: scaleX(0); transition: transform .3s var(--ease); }
.tab-nav button.active { color: var(--ink); }
.tab-nav button.active::after { transform: scaleX(1); }
.tab-panel { padding: 24px 2px; display: none; animation: fadeUp .4s var(--ease); }
.tab-panel.active { display: block; }
.tab-panel p { margin-bottom: 12px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.spec-table th { color: var(--muted); font-weight: 600; width: 38%; }
.spec-table td { font-weight: 600; color: var(--ink); }
.coa-box { display: flex; gap: 16px; align-items: center; padding: 20px; border: 1px dashed var(--gold-400); border-radius: var(--r-md); background: rgba(201,162,75,0.06); }
.coa-box svg { width: 38px; height: 38px; color: var(--gold-600); flex: none; }

/* ============================================================
   CART
   ============================================================ */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: clamp(24px, 3vw, 44px); align-items: start; }
.cart-item { display: grid; grid-template-columns: 92px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item img { width: 92px; height: 92px; border-radius: var(--r-sm); object-fit: cover; background: var(--navy-800); }
.cart-item .ci-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.cart-item .ci-cat { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-600); font-weight: 700; }
.cart-item .ci-remove { font-size: 0.8rem; color: var(--muted); margin-top: 6px; }
.cart-item .ci-remove:hover { color: var(--warn); }
.cart-item .ci-price { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; text-align: right; }
.cart-item .qty { transform: scale(0.92); }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; position: sticky; top: calc(var(--header-h) + var(--announce-h) + 16px); }
.summary h3 { font-size: 1.5rem; margin-bottom: 18px; }
.summary-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: 0.92rem; color: var(--ink-soft); }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; font-size: 1.15rem; font-weight: 800; color: var(--ink); font-family: var(--font-ui); }
.summary-row.total b { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; }
.summary-row .free { color: var(--ok); font-weight: 700; }
.ship-progress { margin: 14px 0 18px; }
.ship-progress .track { height: 7px; background: var(--cream); border-radius: var(--r-pill); overflow: hidden; }
.ship-progress .fill { height: 100%; background: linear-gradient(90deg, var(--gold-500), var(--gold-400)); border-radius: var(--r-pill); transition: width .5s var(--ease); }
.ship-progress p { font-size: 0.8rem; margin-top: 8px; color: var(--ink-soft); }
.promo-input { display: flex; gap: 8px; margin: 16px 0; }
.promo-input input { flex: 1; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.member-banner { display: flex; gap: 10px; align-items: center; background: rgba(201,162,75,0.1); border: 1px solid var(--gold-200); border-radius: var(--r-sm); padding: 12px 14px; font-size: 0.82rem; margin-bottom: 16px; }
.member-banner svg { width: 20px; height: 20px; color: var(--gold-600); flex: none; }

/* ============================================================
   FORMS / AUTH
   ============================================================ */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.82rem; font-weight: 700; margin-bottom: 7px; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(201,162,75,0.14); }
.field textarea { min-height: 130px; resize: vertical; }
.field .hint { font-size: 0.76rem; color: var(--muted); margin-top: 6px; }
.field.error input { border-color: var(--warn); }
.field .err-msg { color: var(--warn); font-size: 0.76rem; margin-top: 6px; display: none; }
.field.error .err-msg { display: block; }
.auth-card { max-width: 460px; margin-inline: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-md); }
.auth-card h1 { font-size: 2rem; margin-bottom: 6px; }
.auth-switch { text-align: center; margin-top: 20px; font-size: 0.88rem; color: var(--muted); }
.auth-switch a { color: var(--gold-700); font-weight: 700; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; font-size: 0.84rem; color: var(--ink-soft); }
.checkbox-row input { width: auto; margin-top: 3px; accent-color: var(--gold-500); }

/* contact / map */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 54px); align-items: start; }
.contact-info-card { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-info-card .ci-ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(201,162,75,0.12); color: var(--gold-600); display: flex; align-items: center; justify-content: center; flex: none; }
.contact-info-card h4 { font-family: var(--font-ui); font-size: 0.95rem; margin-bottom: 3px; }
.contact-info-card p, .contact-info-card a { font-size: 0.88rem; color: var(--ink-soft); }
.contact-info-card a:hover { color: var(--gold-700); }
.map-embed { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/8; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* FAQ accordion */
.accordion { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--surface); }
.acc-item + .acc-item { border-top: 1px solid var(--line); }
.acc-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 700; font-size: 1rem; text-align: left; color: var(--ink); }
.acc-q:hover { color: var(--gold-700); }
.acc-q .ic { flex: none; width: 24px; height: 24px; position: relative; transition: transform .3s; }
.acc-q .ic::before, .acc-q .ic::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: var(--gold-600); }
.acc-q .ic::before { width: 14px; height: 2px; }
.acc-q .ic::after { width: 2px; height: 14px; transition: transform .3s; }
.acc-item.open .acc-q .ic::after { transform: translate(-50%,-50%) scaleY(0); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acc-a-inner { padding: 0 22px 22px; color: var(--ink-soft); font-size: 0.92rem; }

/* lab reports list */
.lab-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.lab-card { display: flex; gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); transition: .3s var(--ease); }
.lab-card:hover { border-color: var(--gold-300); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.lab-card .pdf-ic { width: 46px; height: 46px; border-radius: 10px; background: rgba(194,96,58,0.1); color: var(--warn); display: flex; align-items: center; justify-content: center; flex: none; }
.lab-card .lab-meta { flex: 1; }
.lab-card h4 { font-family: var(--font-ui); font-size: 0.95rem; margin-bottom: 2px; }
.lab-card .batch { font-size: 0.76rem; color: var(--muted); }

/* legal / prose */
.prose { max-width: 800px; }
.prose h2 { font-size: 1.7rem; margin: 36px 0 14px; }
.prose h3 { font-size: 1.3rem; margin: 24px 0 10px; }
.prose p, .prose li { color: var(--ink-soft); line-height: 1.75; margin-bottom: 12px; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.prose ul li { margin-bottom: 6px; }
.prose a { color: var(--gold-700); font-weight: 600; text-decoration: underline; }
.legal-meta { font-size: 0.84rem; color: var(--muted); padding: 12px 16px; background: var(--cream); border-radius: var(--r-sm); margin-bottom: 28px; }

/* ============================================================
   Compliance banner (per product / inline)
   ============================================================ */
.compliance-banner {
  display: flex; gap: 12px; align-items: center; justify-content: center; text-align: center;
  background: var(--navy-900); color: var(--gold-200); padding: 16px var(--gutter);
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em;
}
.compliance-banner svg { width: 20px; height: 20px; color: var(--gold-500); flex: none; }
.compliance-inline { border: 1px solid var(--gold-200); background: rgba(201,162,75,0.07); border-radius: var(--r-sm); padding: 14px 18px; font-size: 0.84rem; color: var(--ink-soft); display: flex; gap: 10px; align-items: center; }
.compliance-inline svg { width: 20px; height: 20px; color: var(--gold-600); flex: none; }

/* ============================================================
   Toast / feedback
   ============================================================ */
.toast-wrap { position: fixed; bottom: 24px; right: 24px; z-index: 1300; display: flex; flex-direction: column; gap: 10px; }
.toast {
  display: flex; gap: 12px; align-items: center; background: var(--navy-800); color: #fff;
  padding: 14px 18px; border-radius: var(--r-md); box-shadow: var(--shadow-lg); min-width: 280px; max-width: 360px;
  transform: translateX(120%); opacity: 0; transition: transform .45s var(--ease), opacity .35s;
  border-left: 3px solid var(--gold-500);
}
.toast.show { transform: translateX(0); opacity: 1; }
.toast .t-ic { width: 36px; height: 36px; border-radius: 50%; background: rgba(201,162,75,0.2); color: var(--gold-300); display: flex; align-items: center; justify-content: center; flex: none; }
.toast .t-ic svg { width: 20px; height: 20px; }
.toast .t-body { flex: 1; font-size: 0.86rem; }
.toast .t-body strong { display: block; font-weight: 700; }
.toast .t-body span { color: rgba(255,255,255,0.7); font-size: 0.78rem; }
.toast a { color: var(--gold-300); font-weight: 700; font-size: 0.8rem; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 1400; background: rgba(16,26,33,0.92); display: none; align-items: center; justify-content: center; padding: 5vw; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lightbox.open { display: flex; animation: fadeUp .3s var(--ease); }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: var(--r-md); }
.lightbox .lb-close { position: absolute; top: 24px; right: 28px; color: #fff; font-size: 2rem; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; }

/* ============================================================
   Scroll-reveal animations
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.float-img { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* stat counters */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; text-align: center; }
.stat .num { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 600; color: var(--gold-400); line-height: 1; }
.bg-paper .stat .num, .bg-cream .stat .num { color: var(--gold-600); }
.stat .lbl { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; margin-top: 8px; color: var(--muted); }
.bg-navy .stat .lbl { color: var(--on-dark-soft); }

/* page header (solid pages without dark hero) */
.page-hero { padding-top: clamp(40px, 5vw, 70px); padding-bottom: clamp(28px, 3vw, 40px); }

/* utility */
.mt-0 { margin-top: 0; } .center { text-align: center; } .mx-auto { margin-inline: auto; }
.flex { display: flex; } .between { justify-content: space-between; } .items-center { align-items: center; }
.gap-sm { gap: 8px; } .gap-md { gap: 16px; } .wrap { flex-wrap: wrap; }
.hidden { display: none !important; }
.related-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 24px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold-500); color: var(--navy-900); padding: 10px 18px; z-index: 2000; border-radius: 0 0 8px 0; font-weight: 700; }
.skip-link:focus { left: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .nav-cta { display: none; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; }
  .mobile-filter-toggle { display: inline-flex; }
  .desktop-only-filters { display: none; }
  .pdp { grid-template-columns: 1fr; }
  .pdp-gallery { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 720px) {
  .trust-strip .row { grid-template-columns: 1fr 1fr; gap: 18px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .promo-bar { font-size: 0.7rem; gap: 14px; flex-direction: column; gap: 4px; padding-block: 9px; }
  .promo-bar .dot { display: none; }
  .hero { min-height: 88vh; }
  .cat-section-head h2 { font-size: 1.5rem; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-name { font-size: 1.15rem; }
  .product-price { font-size: 1.25rem; }
  .add-btn span { display: none; }
  .add-btn { padding: 10px; }
}
@media (max-width: 460px) {
  .footer-top { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 70px 1fr; }
  .cart-item .ci-price { grid-column: 2; text-align: left; }
}

/* mobile filter drawer */
.filter-drawer { position: fixed; inset: 0; z-index: 1150; visibility: hidden; pointer-events: none; }
.filter-drawer .scrim { position: absolute; inset: 0; background: rgba(22,36,46,0.5); opacity: 0; transition: opacity .3s; }
.filter-drawer .panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(320px, 86vw); background: var(--paper); padding: 24px; transform: translateX(-100%); transition: transform .35s var(--ease); overflow-y: auto; }
body.filters-open .filter-drawer { visibility: visible; pointer-events: auto; }
body.filters-open .filter-drawer .scrim { opacity: 1; }
body.filters-open .filter-drawer .panel { transform: translateX(0); }

/* ============================================================
   ADDITIONS (app.js dependencies)
   ============================================================ */
:root { --gold-300: #e0c585; }

/* hide promo bar in solid (inner-page) + stuck states; keep marquee */
.site-header.solid .promo-bar { max-height: 0; opacity: 0; padding-block: 0; overflow: hidden; pointer-events: none; }

/* logo sizing inside brand */
.brand .logo-full { height: 50px; width: auto; }
.footer-brand .logo-full { height: 46px; }
.mobile-drawer .m-head .logo-full { height: 40px; }

/* a11y helpers */
.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; }
body.no-scroll { overflow: hidden; }
.add-btn.added { background: var(--gold-500); color: var(--navy-900); }

/* search modal */
.search-modal { position: fixed; inset: 0; z-index: 1500; display: none; }
.search-modal.open { display: block; animation: fadeUp .25s var(--ease); }
.search-modal .sm-scrim { position: absolute; inset: 0; background: rgba(16,26,33,0.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sm-panel { position: relative; max-width: 620px; margin: 9vh auto 0; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.sm-form { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.sm-form > svg { width: 22px; height: 22px; color: var(--gold-600); flex: none; }
.sm-form input { flex: 1; border: none; font-size: 1.05rem; background: transparent; }
.sm-form input:focus { outline: none; }
.sm-close { width: 34px; height: 34px; border-radius: 50%; color: var(--muted); display: flex; align-items: center; justify-content: center; }
.sm-close:hover { background: var(--cream); color: var(--ink); }
.sm-results { padding: 10px; max-height: 60vh; overflow-y: auto; }
.sm-hint { padding: 22px; text-align: center; color: var(--muted); font-size: 0.9rem; }
.sm-row { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: var(--r-sm); transition: background-color .2s; }
.sm-row:hover { background: var(--cream); }
.sm-row img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; background: var(--navy-800); flex: none; }
.sm-row-name { flex: 1; font-weight: 700; font-size: 0.95rem; display: flex; flex-direction: column; }
.sm-row-name small { font-weight: 600; color: var(--gold-600); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; }
.sm-row-price { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.sm-all { display: block; text-align: center; padding: 14px; font-weight: 700; color: var(--gold-700); border-top: 1px solid var(--line); margin-top: 6px; }
.sm-all:hover { background: var(--cream); }

/* language dropdown */
.lang-wrap { position: relative; }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 184px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-md); padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; z-index: 1200; }
.lang-wrap.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 9px 12px; border-radius: var(--r-sm); font-size: 0.86rem; font-weight: 600; color: var(--ink); transition: background-color .2s; }
.lang-menu button:hover { background: var(--cream); }
.lang-menu button.active { color: var(--gold-700); }
.lang-menu .lc { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.04em; background: var(--cream); border-radius: 5px; padding: 3px 6px; color: var(--muted); line-height: 1; }
.lang-menu button.active .lc { background: var(--gold-500); color: var(--navy-900); }
.lang-menu .tick { margin-left: auto; color: var(--gold-600); font-weight: 800; }

/* crypto payment box (checkout + confirmation) */
.crypto-box { border: 1px solid var(--gold-200); background: rgba(201,162,75,0.07); border-radius: var(--r-md); padding: 18px 20px; margin-top: 14px; }
.crypto-box .cb-row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 0.88rem; color: var(--ink-soft); }
.crypto-box .cb-row b { color: var(--ink); }
.crypto-addr { display: flex; gap: 10px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; margin: 6px 0 4px; }
.crypto-addr code { flex: 1; font-size: 0.8rem; word-break: break-all; color: var(--ink); }
.copy-btn { flex: none; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.04em; color: var(--gold-700); border: 1px solid var(--gold-400); border-radius: var(--r-pill); padding: 6px 13px; transition: background-color .2s, color .2s; }
.copy-btn:hover { background: var(--gold-500); color: var(--navy-900); border-color: var(--gold-500); }
.crypto-box .cb-note { font-size: 0.78rem; color: var(--muted); margin-top: 8px; }
.crypto-box .cb-steps { list-style: decimal; padding-left: 20px; margin-top: 12px; }
.crypto-box .cb-steps li { font-size: 0.86rem; color: var(--ink-soft); padding: 3px 0; }

/* member pill (cart/checkout) */
.member-pill { display: inline-flex; align-items: center; gap: 7px; background: rgba(46,139,111,0.12); color: var(--ok); border-radius: var(--r-pill); padding: 5px 12px; font-size: 0.78rem; font-weight: 700; }

/* compact header on small screens — keep the logo legible */
.brand { flex-shrink: 0; }
@media (max-width: 580px) {
  .nav-inner { gap: 12px; }
  .nav-actions { gap: 2px; }
  .nav-actions .icon-btn { width: 38px; height: 38px; }
  #accountBtn, .nav-actions a[href="favoriti.html"] { display: none; }
  #langLabel { display: none; }
  .lang-btn { padding: 0; }
  .brand .logo-full { height: 36px; }
}
/* hide the hero scroll hint when the viewport is too short for it */
@media (max-height: 620px) { .scroll-hint { display: none; } }

/* ---- Instructions / guide page ---- */
.guide-toc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.guide-toc a { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); font-weight: 700; font-size: 0.88rem; transition: transform .2s var(--ease), border-color .2s, color .2s; }
.guide-toc a:hover { border-color: var(--gold-500); color: var(--gold-700); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.guide-toc a b { color: var(--gold-600); }
.guide-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 56px); align-items: center; }
.guide-row.rev .guide-text { order: 2; }
.guide-text .guide-num { font-family: var(--font-display); font-size: 3.2rem; font-weight: 600; color: var(--gold-200); line-height: 1; margin-bottom: 6px; }
.guide-text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.guide-steplist { counter-reset: gstep; margin-top: 6px; }
.guide-steplist li { position: relative; padding: 10px 0 10px 44px; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: 0.95rem; }
.guide-steplist li:last-child { border-bottom: 0; }
.guide-steplist li::before { counter-increment: gstep; content: counter(gstep); position: absolute; left: 0; top: 9px; width: 30px; height: 30px; border-radius: 50%; background: var(--navy-800); color: var(--gold-300); font-family: var(--font-ui); font-weight: 800; font-size: 0.82rem; display: flex; align-items: center; justify-content: center; }
.guide-check { list-style: none; padding: 0; margin-top: 6px; }
.guide-check li { position: relative; padding: 9px 0 9px 32px; color: var(--ink-soft); font-size: 0.95rem; }
.guide-check li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold-500); }
.guide-figure { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-md); }
.guide-figure img { width: 100%; display: block; }
.guide-figure figcaption { padding: 12px 18px; font-size: 0.8rem; color: var(--muted); border-top: 1px solid var(--line); text-align: center; }
@media (max-width: 820px) {
  .guide-row { grid-template-columns: 1fr; gap: 24px; }
  .guide-row.rev .guide-text { order: 0; }
}
