/* ============================================================
   SYNGEVE — Redesign 2026
   Light + Navy hybrid design system (Apple / Oura / WHOOP cues)
   Scope: new homepage (index.html). Legacy pages stay on site.css
   until migrated page-by-page.
   ============================================================ */

:root {
  /* ---- Brand ---- */
  --blue:        #1657d6;   /* Syngeve Blue (primary) */
  --blue-deep:   #0f3fa6;
  --blue-bright: #3aa0f5;   /* sky highlight, matches logo */
  --blue-glow:   rgba(58, 160, 245, 0.30);

  --navy:        #0a1530;   /* dark sections / footer / hero base */
  --navy-2:      #0d1c40;
  --navy-3:      #12275a;

  /* ---- Light surfaces ---- */
  --bg:        #ffffff;
  --bg-soft:   #f5f7fb;     /* light grey */
  --bg-mute:   #eef2f8;
  --line:      #e3e9f2;
  --line-soft: #eef2f7;

  /* ---- Ink (text on light) ---- */
  --ink:     #0a1530;       /* near-navy, headings */
  --ink-mid: #45526b;       /* slate-600-ish body */
  --ink-lo:  #6b7891;       /* muted */

  /* ---- On-navy text ---- */
  --on-navy:     #eef3fc;
  --on-navy-mid: #a9b8d6;
  --on-navy-lo:  #6f80a6;
  --on-navy-line: rgba(173, 196, 240, 0.16);

  /* ---- Type ---- */
  --f-display: 'Clash Display', 'Satoshi', system-ui, sans-serif;
  --f-body: 'Satoshi', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --t-mono: 0.72rem;
  --t-body: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --t-lead: clamp(1.1rem, 1.02rem + 0.4vw, 1.3rem);
  --t-h4:   clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  --t-h3:   clamp(1.45rem, 1.2rem + 1vw, 2rem);
  --t-h2:   clamp(2.1rem, 1.6rem + 2.2vw, 3.4rem);
  --t-h1:   clamp(2.8rem, 1.9rem + 4.4vw, 5.6rem);

  /* ---- Space ---- */
  --gut: clamp(1.25rem, 4vw, 2rem);          /* container gutter */
  --sec: clamp(4.5rem, 3rem + 7vw, 9rem);    /* section rhythm (large) */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(10, 21, 48, 0.05), 0 2px 8px rgba(10, 21, 48, 0.04);
  --shadow-md: 0 6px 18px rgba(10, 21, 48, 0.07), 0 2px 6px rgba(10, 21, 48, 0.04);
  --shadow-lg: 0 22px 60px rgba(10, 21, 48, 0.14), 0 6px 18px rgba(10, 21, 48, 0.07);
  --shadow-blue: 0 16px 40px rgba(22, 87, 214, 0.28);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --d: 240ms;

  --container: 1200px;
  --nav-h: 70px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; margin: 0; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.04; color: var(--ink); }
h1 { font-size: var(--t-h1); font-weight: 600; letter-spacing: -0.03em; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); }
h4 { font-size: var(--t-h4); }
p { margin: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: var(--sec); }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--blue); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
  transition: top var(--d);
}
.skip-link:focus { top: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: var(--t-mono);
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue);
  font-weight: 500;
}
.eyebrow::before { content: ''; width: 18px; height: 1.5px; background: var(--blue); opacity: 0.6; }
.on-navy .eyebrow { color: var(--blue-bright); }
.on-navy .eyebrow::before { background: var(--blue-bright); }

.lead { font-size: var(--t-lead); color: var(--ink-mid); line-height: 1.55; }
.muted { color: var(--ink-mid); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 0.98rem; letter-spacing: -0.01em;
  cursor: pointer; transition: transform var(--d) var(--ease), box-shadow var(--d), background var(--d), color var(--d), border-color var(--d);
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn--primary:hover { background: var(--blue-deep); box-shadow: 0 20px 48px rgba(22, 87, 214, 0.36); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn--sm { padding: 10px 18px; font-size: 0.9rem; }
.on-navy .btn--ghost { color: var(--on-navy); border-color: var(--on-navy-line); box-shadow: none; }
.on-navy .btn--ghost:hover { border-color: var(--blue-bright); color: var(--blue-bright); background: rgba(255,255,255,0.03); }

.arrowlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--blue); font-size: 0.95rem;
  transition: gap var(--d);
}
.arrowlink svg { width: 16px; height: 16px; }
.arrowlink:hover { gap: 13px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line-soft);
}
.nav__inner { height: var(--nav-h); display: flex; align-items: center; gap: 22px; }
.nav__logo { display: inline-flex; align-items: center; gap: 10px; }
.nav__logo img { height: 30px; width: auto; display: block; }
.footer__brand img { height: 30px; width: auto; display: block; }
.nav__brand { font-weight: 900; letter-spacing: 0.14em; font-size: 0.96rem; color: var(--ink); }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: 14px; }
.nav__link {
  padding: 8px 13px; border-radius: var(--r-sm); font-weight: 600; font-size: 0.92rem;
  color: var(--ink-mid); transition: color var(--d), background var(--d);
}
.nav__link:hover { color: var(--ink); background: var(--bg-soft); }
.nav__spacer { flex: 1; }
.nav__drop { position: relative; }
.nav__drop-btn { display: inline-flex; align-items: center; gap: 5px; padding: 8px 13px; border-radius: var(--r-sm); font-weight: 600; font-size: 0.92rem; color: var(--ink-mid); transition: color var(--d), background var(--d); }
.nav__drop-btn:hover, .nav__drop.open .nav__drop-btn { color: var(--ink); background: var(--bg-soft); }
.nav__drop-btn svg { width: 13px; height: 13px; transition: transform var(--d); }
.nav__drop:hover .nav__drop-btn svg, .nav__drop.open .nav__drop-btn svg { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px; z-index: 95;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); padding: 8px; display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity var(--d), transform var(--d), visibility var(--d);
}
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu, .nav__drop.open .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu a { display: flex; flex-direction: column; padding: 9px 12px; border-radius: var(--r-sm); font-weight: 700; font-size: 0.9rem; color: var(--ink); transition: background var(--d); }
.nav__menu a small { font-weight: 500; font-size: 0.76rem; color: var(--ink-lo); margin-top: 1px; }
.nav__menu a:hover { background: var(--bg-soft); }
.mmenu__group { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-lo); padding: 14px 4px 4px; }
.nav__right { display: flex; align-items: center; gap: 12px; }
.nav__burger { display: none; width: 42px; height: 42px; border-radius: var(--r-sm); align-items: center; justify-content: center; color: var(--ink); }
.nav__burger:hover { background: var(--bg-soft); }

.cur-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 13px; border: 1px solid var(--line); border-radius: var(--r-pill);
  font-weight: 700; font-size: 0.82rem; color: var(--ink-mid); background: #fff;
  transition: border-color var(--d), color var(--d);
}
.cur-pill:hover { border-color: var(--blue); color: var(--blue); }
.cur-pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }

/* mobile menu */
.mmenu {
  position: fixed; inset: 0; z-index: 120;
  background: #fff; padding: 28px var(--gut);
  display: flex; flex-direction: column; gap: 6px;
  transform: translateX(100%); transition: transform 360ms var(--ease);
  visibility: hidden;
}
.mmenu.open { transform: none; visibility: visible; }
.mmenu__close { align-self: flex-end; width: 44px; height: 44px; display: grid; place-items: center; color: var(--ink); border-radius: var(--r-sm); }
.mmenu a:not(.btn) { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; padding: 12px 4px; border-bottom: 1px solid var(--line-soft); color: var(--ink); }
.mmenu .btn { margin-top: 18px; justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(3.5rem, 2rem + 7vw, 7rem) clamp(4rem, 2rem + 7vw, 8rem);
  background:
    radial-gradient(120% 90% at 92% 0%, rgba(58,160,245,0.10), transparent 55%),
    radial-gradient(80% 70% at 0% 100%, rgba(22,87,214,0.06), transparent 60%),
    var(--bg);
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.hero__chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 15px; border-radius: var(--r-pill);
  background: var(--bg-soft); border: 1px solid var(--line);
  font-size: 0.82rem; font-weight: 600; color: var(--ink-mid); margin-bottom: 26px;
}
.hero__chip-dot { width: 8px; height: 8px; border-radius: 50%; background: #16c172; box-shadow: 0 0 0 4px rgba(22,193,114,0.18); }
.hero h1 { margin-bottom: 22px; }
.hero__brandline { font-family: var(--f-display); font-weight: 700; font-size: clamp(3.6rem, 2rem + 7vw, 7.5rem); letter-spacing: -0.04em; line-height: 0.9; margin-bottom: 20px; }
.hero__sub.hero__sub--lg { font-size: clamp(1.3rem, 1.05rem + 0.9vw, 1.8rem); color: var(--ink); font-weight: 800; letter-spacing: -0.025em; max-width: 22ch; line-height: 1.15; margin-bottom: 18px; }
.hero h1 .grad {
  background: linear-gradient(100deg, var(--blue) 0%, var(--blue-bright) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { font-size: var(--t-lead); color: var(--ink-mid); max-width: 30ch; margin-bottom: 16px; font-weight: 500; }
.hero__support { color: var(--ink-lo); max-width: 42ch; margin-bottom: 32px; font-size: 1rem; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__trust { display: flex; gap: 22px; margin-top: 38px; flex-wrap: wrap; }
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; font-size: 0.86rem; font-weight: 600; color: var(--ink-mid); }
.hero__trust svg { width: 17px; height: 17px; color: var(--blue); }

/* hero device card */
.hero__device { position: relative; aspect-ratio: 4 / 4.4; overflow: visible; }
.hero__device-inner {
  position: absolute; inset: 0; border-radius: var(--r-xl);
  background: linear-gradient(165deg, var(--navy-3) 0%, var(--navy) 70%);
  box-shadow: var(--shadow-lg);
  overflow: hidden; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.06);
}
.hero__device-inner::before {
  content: ''; position: absolute; width: 80%; height: 70%; border-radius: 50%;
  background: radial-gradient(circle, var(--blue-glow), transparent 65%);
  filter: blur(40px); top: 8%;
}
.hero__device-vial { position: relative; width: 46%; filter: drop-shadow(0 24px 40px rgba(0,0,0,0.4)); z-index: 1; }
.hero__device-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.hero__device-grid {
  position: absolute; inset: 0; z-index: 0; opacity: 0.5;
  background-image: linear-gradient(rgba(173,196,240,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(173,196,240,0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 45%, #000, transparent);
          mask-image: radial-gradient(70% 70% at 50% 45%, #000, transparent);
}
.hero__spec {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 14px; border-radius: var(--r-pill);
  background: rgba(255,255,255,0.92); backdrop-filter: blur(6px);
  box-shadow: var(--shadow-md); font-size: 0.8rem; font-weight: 700; color: var(--navy);
}
.hero__spec svg { width: 15px; height: 15px; color: var(--blue); }
.hero__spec--a { top: 11%; left: -4%; }
.hero__spec--b { bottom: 17%; right: -4%; }
.hero__spec--c { top: 47%; left: -7%; }

/* ============================================================
   LOGO / TRUST MARQUEE STRIP
   ============================================================ */
.assure {
  border-block: 1px solid var(--line); background: var(--bg-soft);
}
.assure__row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 30px;
  padding-block: 26px;
}
.assure__item { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.assure__item svg { width: 22px; height: 22px; color: var(--blue); flex: none; }

/* ============================================================
   QUALITY SECTION
   ============================================================ */
.quality { background: var(--bg); }
.quality__head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.quality__head h2 { margin: 14px 0 18px; }
.quality__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.qcard {
  padding: 30px 26px; border-radius: var(--r-lg);
  background: var(--bg); border: 1px solid var(--line);
  transition: transform var(--d) var(--ease), box-shadow var(--d), border-color var(--d);
}
.qcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.qcard__icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(22,87,214,0.12), rgba(58,160,245,0.12));
  color: var(--blue); margin-bottom: 20px;
}
.qcard__icon svg { width: 26px; height: 26px; }
.qcard h3 { font-size: 1.12rem; margin-bottom: 8px; }
.qcard p { color: var(--ink-lo); font-size: 0.92rem; line-height: 1.5; }

/* ============================================================
   SHOP BY CATEGORY
   ============================================================ */
.cats { background: var(--bg-soft); }
.cats__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); flex-wrap: wrap; }
.cats__head h2 { margin-top: 14px; }
.cats__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.catcard {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg); padding: 30px;
  background: var(--bg); border: 1px solid var(--line);
  display: flex; flex-direction: column; min-height: 280px;
  transition: transform var(--d) var(--ease), box-shadow var(--d), border-color var(--d);
}
.catcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.catcard:hover .catcard__go { color: var(--blue); gap: 12px; }
/* feature (first two span wider) */
.catcard--feature { grid-column: span 3; }
.catcard--reg { grid-column: span 2; }
.catcard__icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--navy); color: var(--blue-bright); margin-bottom: 18px;
}
.catcard__icon svg { width: 24px; height: 24px; }
.catcard h3 { font-size: 1.3rem; margin-bottom: 8px; }
.catcard__desc { color: var(--ink-lo); font-size: 0.92rem; line-height: 1.5; margin-bottom: 18px; }
.catcard__peps { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; margin-bottom: 18px; }
.catcard__peps span {
  padding: 5px 11px; border-radius: var(--r-pill); background: var(--bg-mute);
  font-size: 0.78rem; font-weight: 700; color: var(--ink-mid);
}
.catcard__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 0.9rem; color: var(--ink); transition: gap var(--d), color var(--d); }
.catcard__go svg { width: 16px; height: 16px; }
.catcard__watermark { position: absolute; right: -16px; bottom: -16px; width: 130px; opacity: 0.05; pointer-events: none; }

/* ============================================================
   STATS / TRUST BAND (navy)
   ============================================================ */
.on-navy { background: var(--navy); color: var(--on-navy); }
.on-navy h2 { color: var(--on-navy); }
.on-navy .muted { color: var(--on-navy-mid); }
.stats {
  background:
    radial-gradient(90% 120% at 85% 0%, rgba(58,160,245,0.14), transparent 55%),
    var(--navy);
}
.stats__head { text-align: center; max-width: 640px; margin: 0 auto clamp(2.4rem, 5vw, 3.6rem); }
.stats__head h2 { margin: 14px 0 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 14px; }
.stat__num {
  font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); font-weight: 900; letter-spacing: -0.04em;
  background: linear-gradient(180deg, #fff, var(--blue-bright));
  -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1;
}
.stat__label { margin-top: 12px; color: var(--on-navy-mid); font-weight: 600; font-size: 0.92rem; }
.stats__divide { height: 1px; background: var(--on-navy-line); margin-block: clamp(2.4rem,5vw,3.6rem); }
.stats__trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.strust { display: flex; align-items: center; gap: 13px; }
.strust__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(58,160,245,0.12); color: var(--blue-bright); flex: none; }
.strust__icon svg { width: 22px; height: 22px; }
.strust span { font-weight: 700; font-size: 0.92rem; color: var(--on-navy); }

/* ============================================================
   CTA banner
   ============================================================ */
.cta {
  text-align: center;
  background:
    radial-gradient(70% 120% at 50% 0%, rgba(58,160,245,0.10), transparent 60%),
    var(--bg);
}
.cta__card {
  max-width: 820px; margin: 0 auto; padding: clamp(2.6rem, 5vw, 4.4rem) var(--gut);
  border-radius: var(--r-xl); background: linear-gradient(160deg, var(--navy-3), var(--navy));
  box-shadow: var(--shadow-lg); color: var(--on-navy);
}
.cta__card h2 { color: #fff; margin: 14px 0 14px; }
.cta__card p { color: var(--on-navy-mid); max-width: 46ch; margin: 0 auto 28px; }
.cta__row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy); color: var(--on-navy-mid); padding-block: clamp(3rem, 5vw, 4.5rem) 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 900; letter-spacing: 0.12em; cursor: pointer; }
.footer__brand img { width: 30px; height: 30px; }
.footer__desc { margin: 18px 0 22px; max-width: 34ch; font-size: 0.92rem; line-height: 1.6; color: var(--on-navy-mid); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,0.05); color: var(--on-navy-mid); transition: background var(--d), color var(--d); }
.footer__social a:hover { background: var(--blue); color: #fff; }
.footer__social svg { width: 19px; height: 19px; }
.footer h5 { color: #fff; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; font-weight: 700; }
.footer ul li { margin-bottom: 11px; }
.footer ul a { color: var(--on-navy-mid); font-size: 0.92rem; transition: color var(--d); }
.footer ul a:hover { color: var(--blue-bright); }
.footer__disclaimer {
  margin-top: clamp(2.4rem, 4vw, 3.4rem); padding-top: 22px; border-top: 1px solid var(--on-navy-line);
}
.footer__disclaimer p {
  max-width: 92ch; font-size: 0.78rem; line-height: 1.65; color: var(--on-navy-lo); margin: 0;
}
.footer__disclaimer strong { color: var(--on-navy-mid); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--on-navy-line);
  font-size: 0.8rem; color: var(--on-navy-lo);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq__item { border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 12px; background: var(--bg); overflow: hidden; transition: border-color var(--d), box-shadow var(--d); }
.faq__item[open] { border-color: transparent; box-shadow: var(--shadow-md); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 20px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-weight: 700; font-size: 1.02rem; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--bg-mute); color: var(--blue); flex: none; transition: transform var(--d), background var(--d), color var(--d); }
.faq__item[open] .faq__ic { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq__a { padding: 0 22px 22px; color: var(--ink-mid); line-height: 1.6; }

/* ============================================================
   SHARED COMPONENTS (all interior pages)
   ============================================================ */

/* ---- Interior page hero ---- */
.phero {
  padding-block: clamp(2.5rem, 2rem + 4vw, 5rem) clamp(2rem, 1.5rem + 3vw, 3.5rem);
  background:
    radial-gradient(90% 90% at 95% 0%, rgba(58,160,245,0.08), transparent 55%),
    var(--bg);
  border-bottom: 1px solid var(--line-soft);
}
.phero h1 { font-size: clamp(2.2rem, 1.6rem + 3vw, 3.6rem); margin: 14px 0 16px; }
.phero p { color: var(--ink-mid); max-width: 60ch; font-size: var(--t-lead); }

/* ---- Breadcrumbs ---- */
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--ink-lo); font-weight: 600; flex-wrap: wrap; }
.crumbs a { color: var(--ink-lo); transition: color var(--d); }
.crumbs a:hover { color: var(--blue); }
.crumbs span.sep { opacity: 0.5; }
.crumbs span.cur { color: var(--ink); }

/* ---- Generic panel / badge / divider ---- */
.panel { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: var(--r-pill); background: var(--bg-mute); color: var(--ink-mid); font-size: 0.76rem; font-weight: 700; }
.badge--blue { background: rgba(22,87,214,0.10); color: var(--blue); }
.badge--new { background: var(--blue); color: #fff; }
.divider { height: 1px; background: var(--line); border: 0; margin-block: clamp(2rem,4vw,3rem); }

/* ============================================================
   SHOP — toolbar + product grid + card
   ============================================================ */
.shopbar { position: sticky; top: var(--nav-h); z-index: 40; background: rgba(255,255,255,0.9); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); padding-block: 16px; }
.shopbar__row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.shop__filters { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; min-width: 0; }
.filter-chip {
  padding: 9px 16px; border-radius: var(--r-pill); border: 1px solid var(--line);
  background: #fff; font-weight: 700; font-size: 0.86rem; color: var(--ink-mid);
  transition: all var(--d); white-space: nowrap;
}
.filter-chip:hover { border-color: var(--blue); color: var(--blue); }
.filter-chip.active { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.filter-chip__n { opacity: 0.6; font-size: 0.78em; margin-left: 3px; }
.shop__controls { display: flex; gap: 10px; align-items: center; }
.seg { display: inline-flex; background: var(--bg-mute); border-radius: var(--r-pill); padding: 4px; gap: 2px; }
.seg button { padding: 7px 14px; border-radius: var(--r-pill); font-weight: 700; font-size: 0.82rem; color: var(--ink-mid); transition: all var(--d); }
.seg button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.select, .sortsel {
  appearance: none; -webkit-appearance: none;
  padding: 10px 38px 10px 15px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2345526b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") no-repeat right 13px center;
  font-weight: 600; font-size: 0.88rem; color: var(--ink); cursor: pointer; transition: border-color var(--d);
}
.select:focus, .sortsel:focus { outline: none; border-color: var(--blue); }

.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 18px; }
.pcard {
  position: relative; display: flex; flex-direction: column; text-align: left;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: transform var(--d) var(--ease), box-shadow var(--d), border-color var(--d);
  cursor: pointer;
}
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pcard:hover .pcard__cta { color: var(--blue); gap: 11px; }
.pcard__media { position: relative; aspect-ratio: 1 / 0.82; display: grid; place-items: center; background: linear-gradient(165deg, #f7f9fd, #eef2f8); border-bottom: 1px solid var(--line-soft); }
.pcard__media img { width: 44%; max-height: 78%; object-fit: contain; transition: transform 0.5s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.06); }
/* Real product photos are full studio shots (own background) — fill the frame edge-to-edge */
.pcard__media img.is-photo { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.pcard__tag { position: absolute; top: 12px; left: 12px; z-index: 2; }
.pcard__badge { position: absolute; top: 12px; right: 12px; z-index: 2; }
.pcard__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pcard__cat { font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-lo); }
.pcard__name { font-weight: 800; font-size: 1.02rem; color: var(--ink); letter-spacing: -0.01em; line-height: 1.25; }
.pcard__row { display: flex; align-items: flex-end; justify-content: space-between; margin-top: auto; padding-top: 12px; }
.pcard__price { font-weight: 800; font-size: 1.1rem; color: var(--ink); }
.pcard__unit { font-size: 0.74rem; color: var(--ink-lo); font-weight: 600; }
.pcard__cta { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: 0.84rem; color: var(--ink-mid); transition: gap var(--d), color var(--d); }
.pcard__cta svg { width: 15px; height: 15px; }

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.pd__media {
  position: sticky; top: calc(var(--nav-h) + 24px);
  aspect-ratio: 1 / 1.05; border-radius: var(--r-xl); overflow: hidden; isolation: isolate;
  display: grid; place-items: center;
  background:
    radial-gradient(125% 85% at 50% -12%, rgba(58,160,245,0.20), transparent 56%),
    linear-gradient(rgba(173,196,240,0.05) 1px, transparent 1px) 0 0 / 100% 28px,
    linear-gradient(90deg, rgba(173,196,240,0.05) 1px, transparent 1px) 0 0 / 28px 100%,
    linear-gradient(165deg, var(--navy-3), var(--navy));
  box-shadow: var(--shadow-lg),
    inset 0 1px 0 rgba(255,255,255,0.07),
    inset 0 0 0 1px rgba(173,196,240,0.10);
}
/* soft glow halo behind the product */
.pd__media::before { content:''; position:absolute; z-index:0; width:70%; height:58%; top:13%; border-radius:50%; background: radial-gradient(circle, var(--blue-glow), transparent 64%); filter: blur(46px); }
/* grounded pedestal so the subject doesn't float in void */
.pd__media::after { content:''; position:absolute; z-index:0; left:50%; bottom:10.5%; width:60%; height:12%; transform:translateX(-50%); background: radial-gradient(ellipse at center, rgba(3,8,22,0.55), transparent 70%); filter: blur(7px); }
.pd__media img {
  position: relative; width: 57%; z-index: 1;
  filter: drop-shadow(0 26px 42px rgba(0,0,0,0.5));
  -webkit-box-reflect: below -2px linear-gradient(transparent 62%, rgba(180,210,255,0.13));
  transition: transform 0.6s var(--ease);
}
.pd__media:hover img { transform: translateY(-6px) scale(1.035); }
/* Real product photos fill the framed panel (no float/reflection treatment) */
.pd__media img.is-photo { width: 100%; height: 100%; object-fit: cover; filter: none; -webkit-box-reflect: none; }
.pd__media:hover img.is-photo { transform: scale(1.03); }
.pd__info h1 { font-size: clamp(1.9rem, 1.4rem + 2.4vw, 3rem); margin: 12px 0 14px; }
.pd__chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.pd__chip { padding: 7px 13px; border-radius: var(--r-pill); background: var(--bg-soft); border: 1px solid var(--line); font-size: 0.8rem; font-weight: 700; color: var(--ink-mid); }
.pd__lead { color: var(--ink-mid); font-size: var(--t-lead); line-height: 1.55; margin-bottom: 24px; }
.pd__pricebar { display: flex; align-items: baseline; gap: 12px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.pd__price { font-size: 2rem; font-weight: 900; letter-spacing: -0.03em; color: var(--ink); }
.pd__unit { color: var(--ink-lo); font-weight: 600; }
.pd__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.pd__section { margin-bottom: 28px; }
.pd__section h2 { font-size: 1.2rem; margin-bottom: 12px; }
.pd__section p { color: var(--ink-mid); line-height: 1.65; }
.spec-list li { display: flex; align-items: flex-start; gap: 11px; padding: 8px 0; color: var(--ink-mid); border-bottom: 1px solid var(--line-soft); }
.spec-list li svg { width: 18px; height: 18px; color: var(--blue); flex: none; margin-top: 2px; }
.pd__note { font-size: 0.8rem; color: var(--ink-lo); line-height: 1.5; padding: 16px; background: var(--bg-soft); border-radius: var(--r-md); }

/* ---- "Pairs well with" reuse pgrid ---- */
.related { margin-top: clamp(3rem,5vw,4.5rem); }

/* ============================================================
   FORMS / TOOLS (calculator + scheduler)
   ============================================================ */
.toolwrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field > label, .field-label { font-weight: 700; font-size: 0.86rem; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.input, .field input[type="number"], .field input[type="text"], .field input[type="date"], .field select {
  width: 100%; padding: 12px 15px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: #fff; font-size: 0.96rem; font-weight: 600; color: var(--ink); transition: border-color var(--d), box-shadow var(--d);
}
.input:focus, .field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22,87,214,0.12); }
.tabs { display: inline-flex; gap: 4px; background: var(--bg-mute); padding: 4px; border-radius: var(--r-pill); margin-bottom: 24px; }
.tab { padding: 9px 18px; border-radius: var(--r-pill); font-weight: 700; font-size: 0.9rem; color: var(--ink-mid); transition: all var(--d); }
.tab.active, .tab[aria-selected="true"] { background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
.result-card {
  position: relative; isolation: isolate; color: var(--on-navy);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 1.1rem + 1.8vw, 2.4rem);
  background:
    radial-gradient(135% 95% at 50% -12%, rgba(58,160,245,0.17), transparent 54%),
    linear-gradient(rgba(173,196,240,0.04) 1px, transparent 1px) 0 0 / 100% 30px,
    linear-gradient(90deg, rgba(173,196,240,0.04) 1px, transparent 1px) 0 0 / 30px 100%,
    linear-gradient(160deg, var(--navy-3), var(--navy));
  box-shadow: var(--shadow-lg),
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 0 0 1px rgba(173,196,240,0.09);
}
.result-card h3 { color: #fff; }
.result-big { font-size: clamp(2.6rem,2rem+3vw,4rem); font-weight: 900; letter-spacing: -0.04em; background: linear-gradient(180deg,#fff,var(--blue-bright)); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.result-card .muted, .result-card small { color: var(--on-navy-mid); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(1.5rem,4vw,3rem); align-items: start; }
.channel { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); margin-bottom: 14px; transition: box-shadow var(--d), border-color var(--d), transform var(--d); }
.channel:hover { box-shadow: var(--shadow-md); border-color: transparent; transform: translateY(-2px); }
.channel__icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(22,87,214,0.10); color: var(--blue); flex: none; }
.channel__icon svg { width: 23px; height: 23px; }
.channel h3 { font-size: 1.05rem; margin-bottom: 4px; }
.channel p { color: var(--ink-lo); font-size: 0.9rem; }
.contact-feature { background: linear-gradient(160deg, var(--navy-3), var(--navy)); color: var(--on-navy); border-radius: var(--r-xl); padding: 34px; box-shadow: var(--shadow-lg); }
.contact-feature h2 { color: #fff; }
.contact-feature p { color: var(--on-navy-mid); }

/* ---- value/feature split (about) ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }

/* ---- price table ---- */
.ptable { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.ptable th, .ptable td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.ptable th { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-lo); }
.ptable td:last-child, .ptable th:last-child { text-align: right; font-weight: 800; }
.ptable tr:hover td { background: var(--bg-soft); }

/* ---- sticky mobile order bar ---- */
.orderbar { display: none; }

/* ============================================================
   Component responsive
   ============================================================ */
@media (max-width: 900px) {
  .pd { grid-template-columns: 1fr; }
  .pd__media { position: relative; top: 0; max-width: 380px; margin-inline: auto; aspect-ratio: 1/1; order: -1; }
  .toolwrap { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
}

/* ============================================================
   REGION MODAL
   ============================================================ */
.region-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s; }
.region-modal.open { opacity: 1; visibility: visible; }
.region-modal__scrim { position: absolute; inset: 0; background: rgba(10, 21, 48, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.region-modal__card {
  position: relative; width: 100%; max-width: 500px; background: #fff;
  border-radius: var(--r-xl); padding: clamp(26px, 5vw, 40px); box-shadow: var(--shadow-lg);
  transform: translateY(24px) scale(0.96); opacity: 0;
  transition: transform 0.55s var(--ease), opacity 0.45s var(--ease);
}
.region-modal.open .region-modal__card { transform: none; opacity: 1; }
.region-modal__card h2 { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.2rem); margin: 12px 0 8px; }
.region-modal__card > .muted { margin-bottom: 8px; }
.region-tiles { display: grid; gap: 11px; margin-top: 22px; }
.region-tile {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 20px; border: 1.5px solid var(--line); border-radius: var(--r-md);
  background: #fff; cursor: pointer; text-align: left; transition: border-color var(--d), background var(--d), transform var(--d), box-shadow var(--d);
}
.region-tile:hover { border-color: var(--blue); background: var(--bg-soft); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.region-tile__txt { display: flex; flex-direction: column; }
.region-tile__name { font-weight: 800; color: var(--ink); font-size: 1.02rem; }
.region-tile__txt small { color: var(--ink-lo); font-size: 0.82rem; }
.region-tile__cur { font-weight: 800; color: var(--blue); font-size: 1rem; flex: none; }
.region-modal__skip { display: block; margin: 18px auto 0; color: var(--ink-lo); font-weight: 600; font-size: 0.88rem; padding: 6px 10px; border-radius: var(--r-sm); }
.region-modal__skip:hover { color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  .region-modal, .region-modal__card { transition: opacity 0.2s !important; transform: none !important; }
}

/* ============================================================
   T&C ORDER GATE — confirm before any WhatsApp order link
   ============================================================ */
.tcgate { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0.35s; }
.tcgate.open { opacity: 1; visibility: visible; }
.tcgate__scrim { position: absolute; inset: 0; background: rgba(10, 21, 48, 0.42); backdrop-filter: blur(16px) saturate(120%); -webkit-backdrop-filter: blur(16px) saturate(120%); }
.tcgate__card {
  position: relative; width: 100%; max-width: 560px; max-height: 88vh; display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  overflow: hidden; transform: translateY(26px) scale(0.97); opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.4s var(--ease);
}
.tcgate.open .tcgate__card { transform: none; opacity: 1; }
.tcgate__head { display: flex; align-items: center; gap: 13px; padding: 24px clamp(20px, 4vw, 30px) 14px; }
.tcgate__mark { width: 18px; height: 36px; flex: none; }
.tcgate__head h2 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); margin: 0; line-height: 1.05; }
.tcgate__eyebrow { display: block; margin: 0 0 2px; color: var(--blue); font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; }
.tcgate__close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: var(--r-sm); display: grid; place-items: center; color: var(--ink-lo); background: transparent; transition: background var(--d), color var(--d); }
.tcgate__close:hover { background: var(--bg-soft); color: var(--ink); }
.tcgate__close svg { width: 20px; height: 20px; }
.tcgate__body { overflow-y: auto; padding: 4px clamp(20px, 4vw, 30px); color: var(--ink-mid); font-size: 0.92rem; line-height: 1.62; }
.tcgate__body p { margin: 0 0 13px; }
.tcgate__body ul { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 10px; }
.tcgate__body li { position: relative; padding-left: 24px; }
.tcgate__body li::before { content: ""; position: absolute; left: 3px; top: 0.62em; width: 7px; height: 7px; border-radius: 2px; background: linear-gradient(135deg, var(--blue-bright), var(--blue)); transform: rotate(45deg); }
.tcgate__foot { padding: 16px clamp(20px, 4vw, 30px) clamp(20px, 4vw, 26px); border-top: 1px solid var(--line-soft); background: var(--bg-soft); }
.tcgate__agree { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; user-select: none; margin-bottom: 16px; }
.tcgate__agree input { position: absolute; opacity: 0; width: 0; height: 0; }
.tcgate__box { flex: none; width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--line); background: var(--bg); display: grid; place-items: center; margin-top: 1px; transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease); }
.tcgate__box svg { width: 16px; height: 16px; color: #fff; }
.tcgate__box path { stroke-dasharray: 26; stroke-dashoffset: 26; transition: stroke-dashoffset 0.4s 0.06s var(--ease); }
.tcgate__agree input:focus-visible + .tcgate__box { outline: 2px solid var(--blue); outline-offset: 2px; }
.tcgate__agree input:checked + .tcgate__box { background: linear-gradient(135deg, var(--blue-bright), var(--blue)); border-color: var(--blue); transform: scale(1.08); }
.tcgate__agree input:checked + .tcgate__box path { stroke-dashoffset: 0; }
.tcgate__agree-txt { font-size: 0.9rem; color: var(--ink); line-height: 1.45; }
.tcgate__agree-txt a { color: var(--blue); font-weight: 700; }
.tcgate__continue { width: 100%; justify-content: center; pointer-events: none; opacity: 0.5; filter: grayscale(0.45); transition: opacity 0.3s var(--ease), filter 0.3s var(--ease), transform 0.18s var(--ease); }
.tcgate__continue.ready { pointer-events: auto; opacity: 1; filter: none; animation: tcpop 0.42s var(--ease); }
@keyframes tcpop { 0% { transform: scale(0.98); } 55% { transform: scale(1.025); } 100% { transform: scale(1); } }
[data-theme="dark"] .tcgate__card { background: #0c1838; border-color: rgba(255, 255, 255, 0.1); }
[data-theme="dark"] .tcgate__foot { background: rgba(255, 255, 255, 0.03); border-top-color: rgba(255, 255, 255, 0.08); }
[data-theme="dark"] .tcgate__box { background: #0c1838; border-color: rgba(255, 255, 255, 0.18); }
[data-theme="dark"] .tcgate__scrim { background: rgba(0, 0, 0, 0.5); }
@media (prefers-reduced-motion: reduce) {
  .tcgate, .tcgate__card, .tcgate__box, .tcgate__box path, .tcgate__continue { transition: none !important; animation: none !important; }
}

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }

/* ============================================================
   Microinteractions (subtle, brand-safe)
   ============================================================ */
/* tactile press on every button/CTA */
.btn { transition: background var(--d) var(--ease), color var(--d) var(--ease), border-color var(--d) var(--ease), box-shadow var(--d) var(--ease), transform 0.18s var(--ease); }
.btn:active { transform: translateY(0) scale(0.975); }
/* nav links + crumbs lift their underline/colour a touch faster */
.cur-pill:active, .nav__burger:active { transform: scale(0.96); }
/* select / input chevrons + arrowlinks glide */
.arrowlink svg { transition: transform var(--d) var(--ease); }
.arrowlink:hover svg { transform: translateX(4px); }
/* breadcrumb hover */
.crumbs a { transition: color var(--d) var(--ease); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .cats__grid { grid-template-columns: repeat(2, 1fr); }
  .catcard--feature, .catcard--reg { grid-column: auto; }
  .quality__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .nav__links { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__spacer { flex: 1; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__device { max-width: 420px; margin-top: 18px; order: 2; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__trust { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .quality__grid { grid-template-columns: 1fr; }
  .cats__grid { grid-template-columns: 1fr; }
  .assure__row { justify-content: flex-start; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; }
  .hero__spec--a, .hero__spec--c { left: 4%; }
  .hero__spec--b { right: 4%; }
}
/* phones: the WhatsApp button + lang switch overflow the bar — they live in
   the mobile menu / are non-essential here. Keep theme + region + burger only. */
@media (max-width: 620px) {
  .nav__right { gap: 8px; }
  .nav__right > .btn--primary { display: none; }
  .lang-switch { display: none; }
  .cur-pill { padding: 8px 11px; font-size: 0.78rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn:hover, .btn:active, .qcard:hover, .catcard:hover,
  .pd__media:hover img, .pcard:hover .pcard__media img,
  .cur-pill:active, .nav__burger:active, .arrowlink:hover svg { transform: none !important; }
}

/* ============================================================
   Nav controls — theme toggle + language switcher
   ============================================================ */
.nav__ctrl { display: inline-flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: var(--r-sm);
  display: inline-grid; place-items: center; color: var(--ink-mid);
  border: 1px solid var(--line); background: var(--bg);
  transition: color var(--d), border-color var(--d), background var(--d), transform 0.18s var(--ease);
}
.icon-btn:hover { color: var(--ink); border-color: var(--blue); }
.icon-btn:active { transform: scale(0.94); }
.icon-btn svg { width: 18px; height: 18px; }
/* sun/moon crossfade */
.theme-toggle .ico-moon { display: none; }
[data-theme="dark"] .theme-toggle .ico-sun { display: none; }
[data-theme="dark"] .theme-toggle .ico-moon { display: block; }

.lang-switch { position: relative; }
.lang-switch__btn {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 11px;
  border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg);
  font-weight: 700; font-size: 0.8rem; color: var(--ink-mid);
  transition: color var(--d), border-color var(--d);
}
.lang-switch__btn:hover { color: var(--ink); border-color: var(--blue); }
.lang-switch__btn svg { width: 15px; height: 15px; }
.lang-switch__menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 150px; z-index: 60;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); padding: 6px; opacity: 0; visibility: hidden;
  transform: translateY(-6px); transition: opacity var(--d), transform var(--d), visibility var(--d);
}
.lang-switch.open .lang-switch__menu { opacity: 1; visibility: visible; transform: none; }
.lang-switch__menu button {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  padding: 9px 12px; border-radius: var(--r-sm); font-weight: 700; font-size: 0.88rem;
  color: var(--ink); transition: background var(--d);
}
.lang-switch__menu button:hover { background: var(--bg-soft); }
.lang-switch__menu button[aria-current="true"] { color: var(--blue); }
.lang-switch__menu button small { font-family: var(--f-mono); font-size: 0.7rem; color: var(--ink-lo); font-weight: 500; }

/* RTL: flip the nav-control menu anchor + give base spacing fixes */
[dir="rtl"] .eyebrow::before { transform: scaleX(-1); }
[dir="rtl"] .arrowlink svg, [dir="rtl"] .btn .icon { transform: scaleX(-1); }
[dir="rtl"] .arrowlink:hover svg { transform: scaleX(-1) translateX(4px); }

/* ============================================================
   DARK MODE  (token swap + hardcoded-light overrides)
   ============================================================ */
[data-theme="dark"] {
  --bg:        #070f24;
  --bg-soft:   #0b1736;
  --bg-mute:   #11204a;
  --ink:       #eef3fc;
  --ink-mid:   #aebbd6;
  --ink-lo:    #7e8eb0;
  --line:      rgba(173, 196, 240, 0.14);
  --line-soft: rgba(173, 196, 240, 0.08);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4), 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 6px 18px rgba(0,0,0,0.45), 0 2px 6px rgba(0,0,0,0.3);
  --shadow-lg: 0 22px 60px rgba(0,0,0,0.6), 0 6px 18px rgba(0,0,0,0.4);
}
[data-theme="dark"] .nav { background: rgba(7, 15, 36, 0.82); }
[data-theme="dark"] .shopbar { background: rgba(7, 15, 36, 0.9); }
[data-theme="dark"] .nav__menu,
[data-theme="dark"] .mmenu,
[data-theme="dark"] .region-modal__card,
[data-theme="dark"] .region-tile,
[data-theme="dark"] .cur-pill,
[data-theme="dark"] .filter-chip,
[data-theme="dark"] .input,
[data-theme="dark"] .field input,
[data-theme="dark"] .field select,
[data-theme="dark"] .select,
[data-theme="dark"] .calc-input-wrap input,
[data-theme="dark"] .select,
[data-theme="dark"] .sortsel,
[data-theme="dark"] .calc-sel { background-color: #0c1838; color: var(--ink); }
/* selects need the chevron re-tinted for the dark surface or it vanishes */
[data-theme="dark"] .calc-sel,
[data-theme="dark"] .select,
[data-theme="dark"] .sortsel {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23aebbd6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 16px;
}
[data-theme="dark"] .calc-sel option,
[data-theme="dark"] .sortsel option,
[data-theme="dark"] .select option { background: #0c1838; color: var(--ink); }
[data-theme="dark"] .seg button.active,
[data-theme="dark"] .tab.active,
[data-theme="dark"] .tab[aria-selected="true"] { background: #17294e; color: var(--blue-bright); }
[data-theme="dark"] .pcard__media { background: linear-gradient(165deg, #0f1d42, #0a1530); }
[data-theme="dark"] .region-modal__scrim { background: rgba(0, 0, 0, 0.62); }
[data-theme="dark"] .icon-btn,
[data-theme="dark"] .lang-switch__btn { background: #0c1838; }

/* ============================================================
   WORKED EXAMPLE (calculator) — stepped, uncramped
   ============================================================ */
.wex { text-align: left; padding: clamp(1.6rem, 1.2rem + 2vw, 2.6rem); }
.wex__head h2 { margin: .55rem 0 0; font-size: var(--t-h3); }
.wex__head .muted { margin-top: .6rem; line-height: 1.6; }
.wex__steps { display: grid; gap: 12px; margin: 1.7rem 0 0; }
.wex__step { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-soft); }
.wex__n { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .95rem; background: var(--blue); color: #fff; }
.wex__step h3 { font-size: 1rem; margin: 3px 0 5px; }
.wex__math { font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.wex__math b { color: var(--blue); }
.wex__note { font-size: .85rem; color: var(--ink-lo); margin-top: 4px; line-height: 1.45; }
.wex__cta { margin-top: 1.5rem; }

/* ============================================================
   GUIDE LINK (calculator -> homepage guide)
   ============================================================ */
.guidelink { display: flex; align-items: center; gap: 16px; max-width: 640px; margin: 18px auto 0; padding: 18px 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(135deg, rgba(22,87,214,.07), rgba(58,160,245,.05)); transition: border-color var(--d), box-shadow var(--d), transform var(--d); }
.guidelink:hover { border-color: var(--blue); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.guidelink__icon { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--navy); color: var(--blue-bright); }
.guidelink__icon svg { width: 22px; height: 22px; }
.guidelink__txt { display: flex; flex-direction: column; gap: 1px; }
.guidelink__txt strong { font-weight: 800; color: var(--ink); }
.guidelink__txt span { font-size: .9rem; color: var(--ink-mid); }
.guidelink__go { width: 20px; height: 20px; flex: none; margin-left: auto; color: var(--blue); }

/* Guides page — pre-filled pen callout + step tags */
.guide__pen { display: flex; align-items: flex-start; gap: 16px; margin: clamp(1.8rem, 3vw, 2.6rem) 0; padding: 20px 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(135deg, rgba(22,87,214,.07), rgba(58,160,245,.045)); box-shadow: var(--shadow-sm); }
.guide__pen-ic { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--navy); color: var(--blue-bright); box-shadow: 0 6px 16px -5px rgba(10, 21, 48, .55); }
.guide__pen-ic svg { width: 22px; height: 22px; }
.guide__pen h4 { margin: 0 0 3px; font-weight: 800; color: var(--ink); }
.guide__pen p { margin: 0; color: var(--ink-mid); font-size: .94rem; }
.guide__tag { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; background: rgba(22,87,214,.1); color: var(--blue); }

/* ============================================================
   VIAL / PEN DELIVERY SWITCH (shop cards + product pages)
   ============================================================ */
.vtoggle { position: relative; display: inline-flex; align-items: center; background: rgba(10,21,48,.05); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.vtoggle__opt { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 999px; font-weight: 700; font-size: .78rem; color: var(--ink-mid); cursor: pointer; user-select: none; white-space: nowrap; transition: color .22s ease; }
.vtoggle__opt svg { width: 15px; height: 15px; }
.vtoggle__opt.is-on { color: #fff; }
.vtoggle__opt:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.vtoggle__thumb { position: absolute; top: 3px; left: 0; height: calc(100% - 6px); border-radius: 999px; background: var(--navy); box-shadow: 0 2px 8px rgba(10,21,48,.2); transition: transform .3s cubic-bezier(.16,1,.3,1), width .3s cubic-bezier(.16,1,.3,1); will-change: transform, width; }

.pcard__variant { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 10px 0 12px; flex-wrap: wrap; }
.pcard__conc { font-size: .76rem; font-weight: 700; color: var(--blue); margin-left: auto; min-height: 1em; }
.pd__variant { margin: 4px 0 14px; }
.pd__penconc { font-weight: 700; color: var(--ink); margin-left: auto; }

/* icon cross-fade on switch */
.pcard__media img, .pd__media img { transition: opacity .2s ease, transform .2s ease; }
.vimg-swapping { opacity: 0 !important; transform: scale(.9); }

[data-theme="dark"] .vtoggle { background: rgba(255,255,255,.06); }
[data-theme="dark"] .vtoggle__thumb { background: var(--blue); }

@media (prefers-reduced-motion: reduce) {
  .vtoggle__thumb { transition: none; }
  .pcard__media img, .pd__media img { transition: none; }
}

/* ============================================================
   PROTOCOL STACK CARDS (shop — Stacks tab)
   ============================================================ */
.pcard--stack { cursor: default; padding: 22px 20px 20px; }
.pcard--stack:hover { transform: none; box-shadow: var(--shadow-md); border-color: var(--line); }
.stack__head { display: flex; gap: 13px; align-items: center; margin-bottom: 12px; }
.stack__icon { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--blue-bright); }
.stack__icon svg { width: 21px; height: 21px; }
.stack__name { display: block; font-weight: 800; font-size: 1.05rem; color: var(--ink); letter-spacing: -.01em; line-height: 1.2; margin-top: 2px; }
.stack__goal { font-size: .87rem; color: var(--ink-mid); line-height: 1.45; margin-bottom: 14px; }
.stack__list { display: flex; flex-direction: column; margin-bottom: 16px; }
.stack__list li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line-soft); font-size: .85rem; }
.stack__list li:last-child { border-bottom: 1px solid var(--line-soft); }
.stack__pep { font-weight: 700; color: var(--ink); }
.stack__dose { color: var(--ink-lo); font-weight: 600; white-space: nowrap; }
.stack__cta { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: .85rem; color: var(--blue); transition: gap var(--d); }
.stack__cta svg { width: 15px; height: 15px; }
.stack__cta:hover { gap: 11px; }

/* ============================================================
   INJECTION & DOSING GUIDE (home)
   ============================================================ */
.guide__supplies { margin: 0 0 clamp(1.8rem, 3vw, 2.6rem); display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.guide__supplies-label { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-lo); }
.guide__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.guide__chips span { padding: 7px 13px; border-radius: var(--r-pill); background: var(--bg-mute); font-size: .8rem; font-weight: 700; color: var(--ink-mid); }
.guide__layout { display: grid; gap: 16px; align-items: start; }
.guide__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guide__steps li { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-soft); transition: border-color var(--d), box-shadow var(--d), transform var(--d); }
.guide__steps li:hover { border-color: var(--blue); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.guide__sn { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .85rem; background: linear-gradient(150deg, var(--blue-bright), var(--blue)); color: #fff; box-shadow: 0 4px 10px -3px rgba(22, 87, 214, .55); }
.guide__steps h4 { font-size: 1rem; margin: 2px 0 5px; }
.guide__steps p { font-size: .9rem; color: var(--ink-mid); line-height: 1.55; }
.guide__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guide__card { padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-soft); transition: border-color var(--d), box-shadow var(--d), transform var(--d); }
.guide__card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.guide__card-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(150deg, rgba(22,87,214,.14), rgba(58,160,245,.14)); color: var(--blue); margin-bottom: 12px; }
.guide__card-ic svg { width: 22px; height: 22px; }
.guide__card h4 { font-size: 1rem; margin-bottom: 9px; }
.guide__card ul { display: flex; flex-direction: column; gap: 6px; }
.guide__card li { font-size: .85rem; color: var(--ink-mid); line-height: 1.4; padding-left: 16px; position: relative; }
.guide__card li::before { content: ''; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

/* ---- dosing details + table ---- */
.dosing { margin-top: clamp(1.8rem, 3vw, 2.6rem); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); overflow: hidden; }
.dosing summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; }
.dosing summary::-webkit-details-marker { display: none; }
.dosing summary b { font-size: 1.05rem; color: var(--ink); }
.dosing summary small { display: block; font-size: .85rem; color: var(--ink-lo); font-weight: 500; margin-top: 2px; }
.dosing__chev { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-mute); color: var(--blue); transition: transform var(--d); }
.dosing[open] .dosing__chev { transform: rotate(45deg); }
.dosing__body { padding: 0 24px 24px; }
.dosing__note { font-size: .86rem; line-height: 1.55; margin-bottom: 16px; }
.dosing__note code { font-family: var(--f-mono); font-size: .8rem; background: var(--bg-mute); padding: 2px 6px; border-radius: 5px; }
.dosing__note a { color: var(--blue); font-weight: 700; }
.dosing__h { font-size: .95rem; margin: 18px 0 10px; }
.dosing__scroll { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--r-md); -webkit-overflow-scrolling: touch; }
.dosetable { width: 100%; border-collapse: collapse; font-size: .86rem; }
.dosetable th { text-align: left; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-lo); padding: 12px 16px; background: var(--bg-soft); position: sticky; top: 0; }
.dosetable td { padding: 11px 16px; border-top: 1px solid var(--line-soft); color: var(--ink-mid); }
.dosetable td:first-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
.dosetable tbody tr:hover { background: var(--bg-soft); }

@media (max-width: 980px) {
  .guide__steps { grid-template-columns: repeat(2, 1fr); }
  .guide__cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .guide__steps { grid-template-columns: 1fr; }
  .guide__cards { grid-template-columns: 1fr; }
}

/* ── Document pages (quality / privacy / terms / returns / shipping):
      flat section list → numbered carded grid with hierarchy + life ── */
.panel--doc {
  padding: 0 !important;
  background: transparent;
  border: 0;
  box-shadow: none;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: start;
  counter-reset: docsec;
}
.panel--doc .pd__section {
  counter-increment: docsec;
  position: relative;
  margin: 0;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(2.6rem, 2rem + 1.4vw, 3.1rem) clamp(1.3rem, 1rem + 1vw, 1.8rem) clamp(1.3rem, 1rem + 1vw, 1.8rem);
  transition: transform var(--d), border-color var(--d), box-shadow var(--d);
}
.panel--doc .pd__section::before {
  content: counter(docsec, decimal-leading-zero);
  position: absolute;
  top: clamp(1.15rem, 0.9rem + 1vw, 1.5rem);
  left: clamp(1.3rem, 1rem + 1vw, 1.8rem);
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--blue);
}
.panel--doc .pd__section:hover {
  transform: translateY(-3px);
  border-color: var(--blue-bright);
  box-shadow: var(--shadow-md);
}
.panel--doc .pd__section h2 {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.28rem);
  line-height: 1.25;
  margin: 0 0 0.55rem;
}
.panel--doc .pd__section p { margin: 0; color: var(--ink-mid); line-height: 1.6; }
.panel--doc .pd__note { grid-column: 1 / -1; margin-top: 4px !important; }
[dir="rtl"] .panel--doc .pd__section::before { left: auto; right: clamp(1.3rem, 1rem + 1vw, 1.8rem); }

/* ============================================================
   CART (nav button + drawer + add-to-cart)
   ============================================================ */
.nav__cart { position: relative; width: 42px; height: 42px; border-radius: var(--r-sm); display: grid; place-items: center; color: var(--ink); transition: background var(--d), color var(--d); }
.nav__cart:hover { background: var(--bg-mute); color: var(--blue); }
.nav__cart-count {
  position: absolute; top: 3px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 9px; background: var(--blue); color: #fff;
  font-size: 0.68rem; font-weight: 800; line-height: 1; box-shadow: 0 0 0 2px var(--bg);
}

.cartdrawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.cartdrawer.open { visibility: visible; }
.cartdrawer__scrim { position: absolute; inset: 0; background: rgba(10, 21, 48, 0.5); opacity: 0; transition: opacity var(--d); backdrop-filter: blur(2px); }
.cartdrawer.open .cartdrawer__scrim { opacity: 1; }
.cartdrawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(420px, 92vw);
  background: var(--bg); border-left: 1px solid var(--line); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform var(--d) var(--ease-out, cubic-bezier(0.16,1,0.3,1));
}
.cartdrawer.open .cartdrawer__panel { transform: translateX(0); }
[dir="rtl"] .cartdrawer__panel { right: auto; left: 0; border-left: 0; border-right: 1px solid var(--line); transform: translateX(-100%); }
[dir="rtl"] .cartdrawer.open .cartdrawer__panel { transform: translateX(0); }
.cartdrawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.cartdrawer__head h3 { font-size: 1.15rem; margin: 0; }
.cartdrawer__close { width: 38px; height: 38px; border-radius: var(--r-sm); display: grid; place-items: center; color: var(--ink-mid); transition: background var(--d), color var(--d); }
.cartdrawer__close:hover { background: var(--bg-mute); color: var(--ink); }
.cartdrawer__items { flex: 1; overflow-y: auto; padding: 12px 22px; }
.cartdrawer__empty { text-align: center; padding: 48px 12px; color: var(--ink-lo); display: grid; gap: 16px; place-items: center; }
.citem { display: flex; gap: 12px; justify-content: space-between; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line-soft, var(--line)); }
.citem__name { display: block; font-weight: 700; font-size: 0.95rem; }
.citem__spec { display: block; font-size: 0.8rem; color: var(--ink-lo); margin-top: 3px; }
.citem__right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex: none; }
.citem__price { font-weight: 800; font-size: 0.92rem; color: var(--blue); }
.citem__qty { display: flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 2px; }
.citem__qty button { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--ink); transition: background var(--d); }
.citem__qty button:hover { background: var(--bg-mute); }
.citem__qty span { min-width: 18px; text-align: center; font-weight: 700; font-size: 0.9rem; }
.citem__del { width: 28px; height: 28px; display: grid; place-items: center; color: var(--ink-lo); border-radius: var(--r-sm); transition: background var(--d), color var(--d); }
.citem__del:hover { background: rgba(220, 50, 50, 0.1); color: #d33; }
.cartdrawer__foot { padding: 18px 22px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg-soft); }
.cartdrawer__totalrow { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; font-size: 1.05rem; margin-bottom: 10px; }
.cartdrawer__note { font-size: 0.78rem; color: var(--ink-lo); line-height: 1.5; margin-bottom: 14px; }
.cartdrawer__checkout { width: 100%; justify-content: center; }
.cartdrawer__checkout.is-disabled { opacity: 0.45; pointer-events: none; }
.cartdrawer__clear { display: block; width: 100%; margin-top: 10px; padding: 8px; font-size: 0.85rem; font-weight: 600; color: var(--ink-lo); transition: color var(--d); }
.cartdrawer__clear:hover { color: #d33; }

.pcard__add {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 9px 14px;
  border-radius: var(--r-pill); border: 1.5px solid var(--line); background: var(--bg);
  font-weight: 700; font-size: 0.86rem; color: var(--ink); cursor: pointer;
  transition: border-color var(--d), color var(--d), background var(--d);
}
.pcard__add:hover { border-color: var(--blue); color: var(--blue); }
.pcard__add.is-added { border-color: #16c172; color: #16c172; }
.pd__add { cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  .cartdrawer__panel, .cartdrawer__scrim { transition: none; }
}

/* ============================================================
   SHOP GRID DENSITY TOGGLE
   ============================================================ */
.seg--density { margin-left: 8px; }
.seg--density button { min-width: 38px; font-variant-numeric: tabular-nums; }
.pgrid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.pgrid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.pgrid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 720px) {
  .seg--density { display: none; }
  .pgrid.cols-2, .pgrid.cols-3, .pgrid.cols-4 { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}

/* ============================================================
   COA PROOF BAND (homepage)
   ============================================================ */
.coa { background: linear-gradient(180deg, var(--bg), var(--bg-soft)); }
.coa__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.coa__media { position: relative; }
.coa__frame {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); background: #fff; transform: rotate(-1.5deg);
  transition: transform var(--d);
}
.coa__frame:hover { transform: rotate(0deg) translateY(-3px); }
.coa__frame img { display: block; width: 100%; height: auto; }
.coacert { padding: clamp(1.4rem, 1rem + 2vw, 2.2rem); color: #0a1530; font-family: var(--f-body, inherit); }
.coacert__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid #c9a24b; }
.coacert__brand { font-weight: 900; letter-spacing: 0.22em; font-size: 1.05rem; color: #0a1530; }
.coacert__lab { font-size: 0.66rem; letter-spacing: 0.06em; color: #7a8499; text-transform: uppercase; }
.coacert__title { font-family: var(--f-display, serif); font-size: clamp(1.1rem, 1rem + 1vw, 1.5rem); margin: 16px 0 12px; color: #0a1530; }
.coacert__meta { display: flex; justify-content: space-between; gap: 12px; font-size: 0.8rem; font-weight: 700; color: #45526b; margin-bottom: 14px; }
.coacert__rows { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.coacert__rows td { padding: 9px 6px; border-bottom: 1px solid #eef1f6; color: #45526b; }
.coacert__rows td:first-child { font-weight: 700; color: #0a1530; }
.coacert__rows td.pass { text-align: right; font-weight: 800; color: #168a4b; }
.coacert__foot { display: block; margin-top: 14px; font-size: 0.68rem; color: #99a1b3; letter-spacing: 0.02em; }
.coa__stamp {
  position: absolute; bottom: -14px; right: -10px; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: var(--r-pill); background: var(--blue); color: #fff;
  font-weight: 800; font-size: 0.85rem; box-shadow: var(--shadow-md);
}
.coa__stamp svg { width: 17px; height: 17px; }
.coa__copy h2 { margin: 14px 0 14px; }
.coa__points { display: grid; gap: 12px; margin: 22px 0 28px; }
.coa__points li { display: flex; align-items: center; gap: 11px; font-weight: 600; color: var(--ink); }
.coa__points svg { width: 20px; height: 20px; color: var(--blue); flex: none; }
@media (max-width: 860px) {
  .coa__grid { grid-template-columns: 1fr; }
  .coa__media { max-width: 420px; margin: 0 auto; }
}

/* ============================================================
   MOBILE SHOP POLISH — clean 2-up grid, no clipped cards
   ============================================================ */
@media (max-width: 560px) {
  /* Always a tidy 2-column grid on phones, ignore density toggle */
  .pgrid,
  .pgrid.cols-2, .pgrid.cols-3, .pgrid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Shorter media frame so the price + View row never clips */
  .pcard__media { aspect-ratio: 1 / 0.9; }
  .pcard__body { padding: 12px 12px 14px; gap: 3px; }
  .pcard__cat { font-size: 0.6rem; letter-spacing: 0.08em; }
  .pcard__name { font-size: 0.92rem; }

  /* Stack price above View so nothing gets squeezed off-card */
  .pcard__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-top: 10px;
  }
  .pcard__price { font-size: 0.98rem; }
  .pcard__cta { font-size: 0.8rem; }

  /* Kill hover-lift on touch (it causes jumpy taps) */
  .pcard:hover { transform: none; box-shadow: var(--shadow-md); }

  /* Compact toolbar: single scrollable chip row, less vertical space */
  .shopbar { padding-block: 10px; }
  .shopbar__row { gap: 10px; }
  .shop__filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .shop__filters::-webkit-scrollbar { display: none; }
  .filter-chip { flex: 0 0 auto; }

  .shop__controls { width: 100%; justify-content: space-between; gap: 8px; }
  .seg { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .seg::-webkit-scrollbar { display: none; }
  .seg button { flex: 0 0 auto; padding: 6px 12px; font-size: 0.78rem; }
  .sortsel { flex: 0 0 auto; }
}

/* Single column only on very small / very narrow phones */
@media (max-width: 360px) {
  .pgrid,
  .pgrid.cols-2, .pgrid.cols-3, .pgrid.cols-4 {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   MOBILE SHOP POLISH v2 — even card heights, no floating gaps,
   scrollable category row, tidy variant toggle
   ============================================================ */
@media (max-width: 560px) {
  /* Make every card an equal-height flex column so a card WITHOUT
     a variant toggle doesn't leave a big empty gap before its price */
  .pcard { height: 100%; }
  .pgrid { align-items: stretch; }

  /* Variant toggle + concentration: give them their own tidy rows */
  .pcard__variant {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin: 10px 0 8px;
  }
  .vtoggle { width: 100%; justify-content: center; }
  .vtoggle__opt { flex: 1; justify-content: center; padding: 7px 8px; }
  .pcard__conc { margin-left: 0; text-align: center; font-size: .72rem; }

  /* Push price + CTA + Add button to the bottom of the card so they
     line up across the row regardless of what's above them */
  .pcard__price { margin-top: auto; }
  .pcard__add { width: 100%; justify-content: center; margin-top: 10px; }

  /* Category chips: proper edge padding so the last chip isn't sliced,
     and a soft fade hint that there's more to scroll */
  .shop__filters {
    padding-left: 2px;
    padding-right: 16px;
    scroll-padding-right: 16px;
  }
  .shop__filters > *:last-child { margin-right: 4px; }
}
