/* =============================================================
   ORACLE – design system
   Built from the logo: a rounded lime square with black dots.
   Rounded panels, pill controls, solid lime blocks.
   ============================================================= */
/* fonts are loaded via <link> in each page <head> (faster than @import) */

:root {
  --lime: #d2fd5f; --ink: #010103;
  --bg: #010103; --bg2: #0a0b0d; --card: #111215; --card2: #18191d;
  --line: rgba(255,255,255,.08); --line2: rgba(255,255,255,.14);
  --text: #f5f6f2; --muted: #9a9ea6;
  --accent: var(--lime); --accent2: #e2ff8f; --accent-ink: var(--ink); --accent-text: var(--lime);
  --accent-soft: rgba(210,253,95,.10);
  --good: #7ee0a4;
  --r-xl: 32px; --r-lg: 24px; --r-md: 18px; --r-sm: 12px; --radius: var(--r-lg);
  --display: "Bricolage Grotesque", Inter, system-ui, sans-serif;
  --mono: Inter, system-ui, sans-serif;
  --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 20px 50px -30px rgba(0,0,0,.8);
}
:root[data-theme="light"] {
  --bg: #f5f5ef; --bg2: #ebebe3; --card: #ffffff; --card2: #f0f0e8;
  --line: rgba(1,1,3,.09); --line2: rgba(1,1,3,.16);
  --text: #010103; --muted: #5c6068;
  --accent-text: #4a6300; --accent-soft: rgba(210,253,95,.45);
  --good: #1f8a4c;
  --shadow: 0 20px 40px -28px rgba(1,1,3,.25);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: Inter, system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.55; overflow-x: hidden; font-feature-settings: "tnum" 1; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 560px) { .wrap { padding: 0 16px; } }
section { padding: 64px 0; }
h1, h2, h3, .display { font-family: var(--display); letter-spacing: -.02em; }
h1 { font-size: clamp(36px, 6vw, 72px); line-height: 1.02; font-weight: 700; }
h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; font-weight: 700; margin-bottom: 10px; }
h3 { font-size: 19px; font-weight: 600; line-height: 1.25; }
.muted { color: var(--muted); }
.accent { color: var(--accent-text); }
.mono { font-variant-numeric: tabular-nums; }
.link { color: var(--accent-text); font-weight: 600; font-size: 14px; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.hl { background: var(--lime); color: var(--ink); padding: 0 .18em; border-radius: .22em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* Eyebrow = small pill with a dot (echoes the logo dots) */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--text); background: var(--card2); border: 1px solid var(--line); padding: 5px 12px 5px 8px; border-radius: 999px; margin-bottom: 16px; text-transform: none; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px var(--accent-soft); }
:root[data-theme="light"] .eyebrow::before { background: var(--ink); box-shadow: 0 0 0 3px var(--lime); }

/* ---------- Header ---------- */
header.site { position: sticky; top: 0; z-index: 50; padding: 12px 0; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.nav { display: flex; align-items: center; gap: 16px; height: 52px; }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 38px; width: auto; }
.logo .logo-light { display: none; }
:root[data-theme="light"] .logo .logo-dark { display: none; }
:root[data-theme="light"] .logo .logo-light { display: block; }
.nav-links { display: flex; gap: 2px; margin: 0 auto; padding: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 500; }
.nav-links a { padding: 8px 16px; border-radius: 999px; color: var(--muted); transition: .15s; white-space: nowrap; }
.nav-links a:hover { color: var(--text); background: var(--card2); }
.nav-links a.active { background: var(--lime); color: var(--ink); }
.nav-icons { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.nav-links + .nav-icons { margin-left: 0; }
.icon-btn { position: relative; height: 42px; min-width: 42px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; font-size: 14px; font-weight: 600; transition: .15s; }
.icon-btn:hover { border-color: var(--line2); background: var(--card2); }
.icon-btn svg { width: 18px; height: 18px; }
.cart-btn { background: var(--lime); color: var(--ink); border-color: transparent; padding: 0 16px; }
.cart-btn:hover { background: var(--accent2); }
.badge { background: var(--ink); color: var(--lime); font-size: 11px; font-weight: 700; min-width: 20px; height: 20px; border-radius: 10px; display: inline-grid; place-items: center; padding: 0 5px; }
.badge:empty, .badge[data-n="0"] { display: none; }
.menu-btn { display: none; }
@media (max-width: 980px) { .nav-links { display: none; } .menu-btn { display: inline-flex; } .nav-icons { margin-left: auto; } .nav { gap: 10px; } }
@media (max-width: 560px) { .cart-label, .theme-btn { display: none; } .logo img { height: 30px; } .icon-btn { height: 40px; min-width: 40px; padding: 0 10px; } .cart-btn { padding: 0 12px; } header.site { padding: 10px 0; } }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: .15s; white-space: nowrap; }
.btn-primary { background: var(--lime); color: var(--ink); }
.btn-primary:hover { background: var(--accent2); transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: var(--lime); }
.btn-dark:hover { background: #1b1c20; }
.btn-ghost { border-color: var(--line2); background: transparent; }
.btn-ghost:hover { background: var(--card2); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-wa { background: #25d366; color: #fff; }
.btn-tg { background: #2aabee; color: #fff; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.arrow-btn { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--lime); color: var(--ink); flex: none; transition: .2s; }
.arrow-btn svg { width: 16px; height: 16px; }

/* ---------- Generic blocks ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; transition: .2s; }
a.card:hover { border-color: var(--line2); transform: translateY(-2px); box-shadow: var(--shadow); }
.grid { display: grid; gap: 16px; }
.g3 { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head p { max-width: 560px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.chip { font-size: 13px; font-weight: 500; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); background: var(--card); cursor: pointer; white-space: nowrap; transition: .15s; }
.chip:hover { color: var(--text); border-color: var(--line2); }
.chip.on { background: var(--lime); color: var(--ink); border-color: transparent; }
.notice { background: var(--card2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; font-size: 13px; color: var(--muted); }
.ico-circle { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); flex: none; }
:root[data-theme="light"] .ico-circle { background: var(--lime); color: var(--ink); }
.ico-circle svg { width: 22px; height: 22px; }

/* ---------- Home: bento hero ---------- */
.hero { padding: 24px 0 48px; }
.bento { display: grid; grid-template-columns: 1.55fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.bento-main { grid-row: span 2; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; position: relative; overflow: hidden; }
.bento-main::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 280px; height: 280px; border-radius: 64px; background: var(--lime); opacity: .06; transform: rotate(12deg); pointer-events: none; }
.bento-main .lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 540px; margin-top: 20px; }
.hero-search { display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--line2); border-radius: 999px; padding: 6px 6px 6px 20px; max-width: 560px; position: relative; z-index: 1; }
.hero-search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.hero-search input { flex: 1; min-width: 0; background: none; border: 0; outline: none; font-size: 15px; padding: 10px 0; }
.hero-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--muted); align-items: center; position: relative; z-index: 1; }
.bento-lime { background: var(--lime); color: var(--ink); border-radius: var(--r-xl); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; min-height: 260px; position: relative; overflow: hidden; }
.bento-lime .big { font-family: var(--display); font-size: clamp(56px, 7vw, 88px); font-weight: 800; line-height: .9; letter-spacing: -.04em; }
.bento-lime p { font-weight: 500; max-width: 240px; }
.dots { position: absolute; right: 22px; top: 22px; display: grid; grid-template-columns: repeat(2, 30px); gap: 8px; }
.dots i { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); display: block; }
.dots i:nth-child(2) { opacity: .15; }
.bento-dark { background: var(--card2); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 24px 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.bento-dark b { font-family: var(--display); font-size: 26px; display: block; letter-spacing: -.02em; }
.bento-dark > div > span { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr; } .bento-main { grid-row: auto; } }

/* Brand strip */
.brand-strip { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; padding: 22px 0; border-block: 1px solid var(--line); color: var(--muted); font-family: var(--display); font-weight: 600; font-size: 17px; }
.brand-strip small { font-family: Inter, sans-serif; font-size: 12px; font-weight: 500; color: var(--muted); margin-right: 8px; }

/* Research areas */
.areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.area { display: flex; align-items: center; gap: 16px; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); transition: .2s; }
.area:hover { border-color: var(--line2); background: var(--card2); }
.area h3 { font-size: 16px; }
.area p { font-size: 13px; color: var(--muted); }
.area .arrow-btn { margin-left: auto; width: 34px; height: 34px; background: transparent; color: var(--text); border: 1px solid var(--line2); }
.area:hover .arrow-btn { background: var(--lime); color: var(--ink); border-color: transparent; transform: rotate(-45deg); }

/* Tabs (catalog groups) */
.group-nav { display: flex; gap: 6px; overflow-x: auto; padding: 4px; margin-bottom: 24px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; scrollbar-width: none; }
.group-nav::-webkit-scrollbar { display: none; }
.group-nav .chip { border: 0; background: transparent; padding: 8px 16px; }
.group-nav .chip.on { background: var(--lime); color: var(--ink); }

/* Dark band (assurances / steps) */
.band { background: var(--ink); color: #f5f6f2; border-radius: var(--r-xl); padding: clamp(28px, 5vw, 56px); border: 1px solid var(--line); }
.band .muted { color: #9a9ea6; }
.band .eyebrow { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); color: #f5f6f2; }
.band .eyebrow::before { background: var(--lime); box-shadow: 0 0 0 3px rgba(210,253,95,.15); }
.band .ico-circle { background: rgba(210,253,95,.12); color: var(--lime); }
.assure { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px; margin-top: 32px; }
.assure h3 { margin: 14px 0 6px; font-size: 18px; }
.assure p { font-size: 14px; }
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin-top: 36px; counter-reset: s; position: relative; }
.timeline::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: repeating-linear-gradient(90deg, rgba(210,253,95,.5) 0 8px, transparent 8px 16px); }
.timeline li { list-style: none; position: relative; counter-increment: s; }
.timeline li::before { content: counter(s); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--lime); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 18px; margin-bottom: 16px; position: relative; }
.timeline h3 { font-size: 17px; margin-bottom: 6px; }
.timeline p { font-size: 14px; color: #9a9ea6; }
@media (max-width: 820px) { .timeline { grid-template-columns: 1fr; } .timeline::before { left: 22px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, rgba(210,253,95,.5) 0 8px, transparent 8px 16px); } .timeline li { padding-left: 64px; min-height: 46px; } .timeline li::before { position: absolute; left: 0; top: 0; } }

.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Product card ---------- */
.pcard { display: flex; flex-direction: column; padding: 8px; overflow: hidden; border-radius: var(--r-lg); }
.pimg { aspect-ratio: 4/3; background: var(--card2); border-radius: calc(var(--r-lg) - 6px); display: grid; place-items: center; position: relative; overflow: hidden; }
.pphoto { width: 100%; height: 100%; object-fit: cover; }
.tag-new { position: absolute; top: 10px; left: 10px; z-index: 1; background: var(--lime); color: var(--ink); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.pbody { padding: 14px 12px 10px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.pbrand { font-size: 12px; color: var(--muted); font-weight: 500; }
.pbody h3 { font-size: 18px; }
.pmeta { font-size: 13px; color: var(--muted); }
.pfoot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; }
.price { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
.price s { color: var(--muted); font-weight: 500; font-size: 14px; margin-right: 6px; font-family: Inter, sans-serif; }
.price small { font-weight: 500; color: var(--muted); font-size: 12px; margin-right: 4px; font-family: Inter, sans-serif; }
.pcard .arrow-btn { width: 36px; height: 36px; }
.pcard:hover .arrow-btn { transform: rotate(-45deg); }
.bac-tag { display: inline-flex; align-self: start; margin-top: 6px; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); }

/* ---------- FAQ ---------- */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--card2); color: var(--text); font-size: 18px; transition: .2s; }
details[open] summary::after { content: "−"; background: var(--lime); color: var(--ink); }
details p { color: var(--muted); margin-top: 10px; max-width: 70ch; }

/* ---------- Reviews ---------- */
.review .who { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-weight: 700; }

/* ---------- Page header / prose ---------- */
.page-head { padding: 40px 0 28px; }
.page-head h1 { font-size: clamp(34px, 5vw, 60px); }
.page-head .stats { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.page-head .stats span { font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.page-head .stats b { color: var(--accent-text); margin-right: 4px; }
.prose { max-width: 740px; font-size: 17px; }
.prose p, .prose li { color: var(--muted); margin-bottom: 16px; }
.prose h3 { margin: 32px 0 10px; font-size: 22px; }
.prose ul { padding-left: 20px; }
.crumbs { font-size: 13px; color: var(--muted); padding-top: 20px; }
.crumbs a:hover { color: var(--text); }
.empty { text-align: center; padding: 60px 0; }

/* ---------- Shop ---------- */
.shop { display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: start; }
.filters { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; position: sticky; top: 90px; }
.filters h4 { font-size: 12px; font-weight: 600; color: var(--muted); margin: 20px 0 8px; text-transform: uppercase; letter-spacing: .06em; }
.filters label { display: flex; gap: 10px; align-items: center; font-size: 14px; padding: 6px 0; cursor: pointer; }
.filters input[type=checkbox] { accent-color: var(--accent-text); width: 16px; height: 16px; }
.toolbar { display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; align-items: center; }
.input, select.input, textarea.input { background: var(--card); border: 1px solid var(--line2); border-radius: var(--r-sm); padding: 12px 16px; width: 100%; outline: none; transition: .15s; }
.input:focus { border-color: var(--accent-text); box-shadow: 0 0 0 3px var(--accent-soft); }
.toolbar .input { flex: 1; min-width: 180px; width: auto; border-radius: 999px; }
.filter-toggle { display: none; }
@media (max-width: 820px) { .shop { grid-template-columns: 1fr; } .filters { display: none; position: static; } .filters.open { display: block; } .filter-toggle { display: inline-flex; } }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; padding: 20px 0 40px; align-items: start; }
.pdp-media { display: grid; gap: 12px; position: sticky; top: 90px; }
.pdp-media .pimg { aspect-ratio: 1; border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--card); }
.assure-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.assure-row div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; font-size: 13px; color: var(--muted); }
.assure-row b { display: block; font-size: 14px; margin-bottom: 2px; color: var(--text); }
.assure-row .ico-circle { width: 34px; height: 34px; margin-bottom: 10px; }
.assure-row .ico-circle svg { width: 17px; height: 17px; }
.buybox { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 32px); }
.brand-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding: 5px 12px 5px 6px; border-radius: 999px; background: var(--card2); }
.brand-pill i { width: 18px; height: 18px; border-radius: 50%; display: block; }
.pdp-h1 { font-size: clamp(34px, 4.4vw, 52px); margin-top: 14px; }
.pdp-sub { color: var(--muted); font-size: 15px; margin-top: 6px; }
.pdp-slogan { display: inline-block; margin-top: 16px; font-family: var(--display); font-weight: 600; font-size: 17px; }
.pdp-desc { color: var(--muted); margin-top: 10px; }
.pdp-meta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 16px; font-size: 14px; }
.stock { display: inline-flex; align-items: center; gap: 6px; color: var(--good); font-weight: 600; font-size: 13px; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 25%, transparent); }
.opt-label { font-size: 13px; font-weight: 600; color: var(--muted); margin: 24px 0 10px; }
.packs { display: grid; gap: 10px; }
.pack { border: 1px solid var(--line2); border-radius: var(--r-md); padding: 16px; cursor: pointer; background: var(--bg); transition: .15s; display: grid; gap: 4px; }
.pack:hover { border-color: var(--muted); }
.pack.on { border-color: var(--accent-text); background: var(--accent-soft); }
.pack-top { display: flex; align-items: center; gap: 12px; }
.pack-price { margin-left: auto; font-family: var(--display); font-size: 18px; }
.pack-price s { color: var(--muted); font-weight: 500; margin-right: 6px; font-size: 14px; font-family: Inter, sans-serif; }
.radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line2); flex: none; transition: .15s; }
.pack.on .radio { border: 6px solid var(--accent-text); }
.pack-desc { font-size: 13px; color: var(--muted); padding-left: 32px; }
.pack-badge { font-size: 12px; font-weight: 600; color: var(--good); padding-left: 32px; }
.buy-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.buy-row .btn { flex: 1; min-width: 130px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line2); border-radius: 999px; overflow: hidden; background: var(--bg); }
.qty button { width: 42px; height: 48px; background: transparent; border: 0; cursor: pointer; font-size: 18px; }
.qty button:hover { background: var(--card2); }
.qty input { width: 36px; text-align: center; background: transparent; border: 0; font-weight: 600; }
.buy-foot { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.buy-foot a { color: var(--text); font-weight: 600; }
.buy-foot a:hover { color: var(--accent-text); }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; } .pdp-media { position: static; } }
@media (max-width: 480px) { .assure-row { gap: 8px; } .assure-row div { padding: 10px; font-size: 11px; } .assure-row .ico-circle { display: none; } }

/* Sticky section tabs */
.ptabs { position: sticky; top: 76px; z-index: 20; padding: 8px 0; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.ptabs nav { display: flex; gap: 4px; overflow-x: auto; padding: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; scrollbar-width: none; }
.ptabs nav::-webkit-scrollbar { display: none; }
.ptabs a { padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.ptabs a:hover { color: var(--text); }
.ptabs a.on { background: var(--lime); color: var(--ink); }
.psec { padding: 56px 0; scroll-margin-top: 150px; }
.psec + .psec { border-top: 1px solid var(--line); }
.psec h2 { margin-bottom: 20px; }
.overview { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
@media (max-width: 900px) { .overview { grid-template-columns: 1fr; } }
.ticks { list-style: none; display: grid; gap: 12px; margin-top: 18px; }
.ticks li { padding-left: 34px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23010103' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.facts { background: var(--card2); border-radius: var(--r-lg); padding: 24px; }
.facts h3 { margin-bottom: 14px; }
.facts dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { font-weight: 500; }
.benefit-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.benefit-list > div { background: var(--card); padding: 28px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.benefit-list .num { font-family: var(--display); font-size: 40px; font-weight: 800; line-height: .9; color: var(--accent-text); }
.benefit-list h3 { margin-bottom: 6px; }
.benefit-list p { font-size: 14px; color: var(--muted); }
@media (max-width: 720px) { .benefit-list { grid-template-columns: 1fr; } }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; align-items: stretch; }
.flow.row { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 40px; }
.flow .step { position: relative; }
.flow .step-arrow { display: none; }
.flow.row .step-arrow { display: grid; place-items: center; position: absolute; left: -32px; top: 50%; width: 24px; height: 24px; transform: translateY(-50%); color: var(--accent-text); }
.flow .step-arrow svg { width: 22px; height: 22px; }
.flow .step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.flow .step small { display: inline-block; font-size: 12px; font-weight: 700; background: var(--lime); color: var(--ink); border-radius: 999px; padding: 3px 10px; margin-bottom: 14px; }
.flow .step p { font-size: 14px; color: var(--muted); margin-top: 6px; }
.flow .join { display: grid; place-items: center; color: var(--accent-text); }
.flow .join svg { width: 22px; height: 22px; }
@media (max-width: 900px) {
  .flow, .flow.row { grid-template-columns: 1fr; gap: 14px; }
  .flow.row .step-arrow { display: none; }
  .flow .step:not(:first-child)::before { content: ""; position: absolute; left: 36px; top: -15px; width: 2px; height: 14px; background: var(--lime); opacity: .55; }
}
.community-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.community-pct { font-family: var(--display); font-size: 40px; font-weight: 800; color: var(--accent-text); }
.bar { height: 8px; border-radius: 4px; background: var(--card2); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 4px; background: var(--lime); }
.stack-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.stack-card { display: flex; gap: 16px; align-items: center; }
.stack-card p { font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.stack-card .arrow-btn { margin-left: auto; }
.stack-card:hover .arrow-btn { transform: rotate(-45deg); }
table.specs { width: 100%; border-collapse: collapse; font-size: 15px; }
table.specs td { padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.specs td:first-child { color: var(--muted); width: 38%; padding-right: 16px; }
.spec-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 8px 24px; }
.spec-card tr:last-child td { border-bottom: 0; }
.final-cta { background: var(--lime); color: var(--ink); border-radius: var(--r-xl); padding: clamp(28px, 5vw, 48px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.final-cta h2 { color: var(--ink); margin-bottom: 6px; }
.final-cta p { color: rgba(1,1,3,.7); font-weight: 500; }
.final-cta .btn-ghost { border-color: rgba(1,1,3,.25); color: var(--ink); }
.final-cta .btn-ghost:hover { background: rgba(1,1,3,.06); }
.final-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.brand-note { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* Reference table */
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }
table.ref { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 820px; }
table.ref th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); padding: 16px 20px; border-bottom: 1px solid var(--line); }
table.ref td { padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.ref tr:last-child td { border-bottom: 0; }
@media (hover: hover) { table.ref tr:hover td { background: var(--card2); } }

/* ---------- Cart / checkout ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.line-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; align-items: center; padding: 16px; margin-bottom: 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); }
.line-item .thumb { width: 76px; height: 76px; border-radius: var(--r-sm); background: var(--card2); overflow: hidden; }
.line-item .qty button { height: 36px; width: 34px; }
.remove { background: none; border: 0; color: var(--muted); font-size: 13px; cursor: pointer; text-decoration: underline; }
.summary { position: sticky; top: 90px; border-radius: var(--r-xl); }
.sum-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 15px; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-family: var(--display); font-weight: 700; font-size: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.radio-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.radio-cards label { border: 1px solid var(--line2); border-radius: var(--r-md); padding: 16px; cursor: pointer; display: flex; gap: 10px; align-items: center; background: var(--card); font-size: 14px; font-weight: 500; transition: .15s; }
.radio-cards input { accent-color: var(--accent-text); }
.radio-cards label:has(input:checked) { border-color: var(--accent-text); background: var(--accent-soft); }

/* ---------- Toast / footer / floats ---------- */
.toast { position: fixed; bottom: calc(24px + env(safe-area-inset-bottom)); left: 16px; right: 16px; margin-inline: auto; width: fit-content; max-width: 420px; display: flex; align-items: center; gap: 10px; transform: translateY(160px); opacity: 0; background: var(--lime); color: var(--ink); padding: 11px 18px 11px 12px; border-radius: 16px; font-weight: 600; font-size: 14px; line-height: 1.35; transition: transform .35s cubic-bezier(.2,.9,.3,1.1), opacity .2s; z-index: 1000; box-shadow: 0 12px 32px -8px rgba(0,0,0,.45); pointer-events: none; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast-ico { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--lime); display: grid; place-items: center; }
.toast-ico svg { width: 14px; height: 14px; }
@media (max-width: 560px) { .toast { bottom: calc(16px + env(safe-area-inset-bottom)); width: auto; max-width: none; font-size: 13.5px; } }
footer.site { padding: 0 0 28px; margin-top: 56px; }
.foot-card { background: var(--ink); color: #f5f6f2; border-radius: var(--r-xl); padding: clamp(28px, 5vw, 56px); border: 1px solid var(--line); }
:root[data-theme="light"] .foot-card .logo .logo-dark { display: block; }
:root[data-theme="light"] .foot-card .logo .logo-light { display: none; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h5 { font-size: 13px; font-weight: 600; color: var(--lime); margin-bottom: 14px; }
.foot-grid a { display: block; font-size: 14px; padding: 4px 0; color: #9a9ea6; }
.foot-grid a:hover { color: #fff; }
.foot-grid .logo img { height: 44px; }
.foot-grid .muted { color: #9a9ea6; }
.foot-bottom { display: flex; justify-content: space-between; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; color: #9a9ea6; flex-wrap: wrap; gap: 10px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }
section[id] { scroll-margin-top: 90px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
.ib { width: 16px; height: 16px; display: inline-block; vertical-align: -3px; margin-right: 4px; }
.line-item > div { min-width: 0; }
@media (max-width: 480px) {
  .line-item { grid-template-columns: 60px 1fr; gap: 12px; padding: 12px; }
  .line-item .thumb { width: 60px; height: 60px; }
  .line-item > b { grid-column: 2; }
}


/* ---------- Mobile drawer (slides in from the left) ---------- */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; pointer-events: none; transition: visibility 0s linear .34s; }
.drawer.open { visibility: visible; pointer-events: auto; transition: visibility 0s; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(1,1,3,.62); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); opacity: 0; transition: opacity .3s ease; }
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(88vw, 360px); overflow: hidden; background: var(--bg2); border-right: 1px solid var(--line); transform: translateX(-102%); transition: transform .34s cubic-bezier(.22,.9,.24,1); box-shadow: 24px 0 60px rgba(0,0,0,.45); outline: none; overscroll-behavior: contain; will-change: transform; }
:root[data-theme="light"] .drawer-panel { background: #fff; }
.drawer.open .drawer-panel { transform: translateX(0); }
.drawer-view { position: absolute; inset: 0; display: flex; flex-direction: column; background: inherit; padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); transition: transform .3s cubic-bezier(.22,.9,.24,1), opacity .3s; }
.drawer-view:not(.is-main) { transform: translateX(100%); }
.drawer-view.active { transform: translateX(0); }
.drawer-view.is-main.behind { transform: translateX(-28%); opacity: 0; }
.drawer-head { display: flex; align-items: center; gap: 8px; min-height: 72px; padding: 12px 16px 12px 22px; border-bottom: 1px solid var(--line); flex: none; }
.drawer-head h2 { flex: 1; font-size: 22px; margin: 0; }
.drawer-close, .drawer-back { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line2); background: transparent; display: grid; place-items: center; cursor: pointer; flex: none; color: var(--text); }
.drawer-close:hover, .drawer-back:hover { background: var(--card2); }
.drawer-close svg, .drawer-back svg { width: 18px; height: 18px; }
.drawer-back { margin-left: -8px; border-color: transparent; }
.drawer-back svg { transform: rotate(180deg); }
.drawer-scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 8px 12px 20px; }
.drawer-list { display: grid; padding: 8px 0; }
.drawer-list + .drawer-list { border-top: 1px solid var(--line); }
.drawer-list > a, .drawer-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 48px; padding: 10px 12px; border-radius: var(--r-sm); font-size: 17px; font-weight: 500; color: var(--text); background: none; border: 0; text-align: left; cursor: pointer; }
.drawer-list > a:hover, .drawer-row:hover, .drawer-list > a:active, .drawer-row:active { background: var(--card2); }
.drawer-list > a.on { background: var(--card2); color: var(--accent-text); }
.drawer-list > a.hl-lime { color: var(--accent-text); font-weight: 600; }
.drawer-row { font-weight: 600; }
.drawer-row svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.drawer-row.row-accent { color: var(--accent-text); }
.drawer-group { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 16px 12px 4px; }
.drawer-areas > a { justify-content: flex-start; font-size: 15px; }
.drawer-areas .ico-circle { width: 34px; height: 34px; }
.drawer-areas .ico-circle svg { width: 17px; height: 17px; }
.drawer-compounds > a small { font-size: 12px; color: var(--muted); background: var(--card2); border-radius: 999px; padding: 2px 9px; font-weight: 600; }
.drawer-all { display: flex; justify-content: center; margin: 12px 0 0; padding: 14px; border-radius: 999px; background: var(--lime); color: var(--ink); font-weight: 600; }
.drawer-foot { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
html.drawer-open, html.drawer-open body { overflow: hidden; }
@media (max-width: 900px) { html.pop-open, html.pop-open body { overflow: hidden; } }
/* the dimmed layer is a normal page layer (see pageScrim in app.js); the fixed menu and pop-up on top stay transparent */
.page-scrim { position: absolute; left: 0; width: 100%; z-index: 190; pointer-events: none; opacity: 0; transition: opacity .28s ease;
  background: rgba(1,1,3,.6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.page-scrim[hidden] { display: none; }
.page-scrim.on { opacity: 1; }
.page-scrim.menu { background: color-mix(in srgb, var(--bg) 80%, transparent); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%); }
:root[data-theme="light"] .page-scrim:not(.menu) { background: rgba(1,1,3,.4); }
.drawer-backdrop, .cart-pop-backdrop { background: transparent !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
@media (min-width: 981px) { .drawer { display: none; } }
@media (prefers-reduced-motion: reduce) { .drawer-view { transition: none; } }

/* ---------- Header: matching round icon buttons, centred logo on mobile ---------- */
.icon-btn { width: 44px; height: 44px; min-width: 0; padding: 0; border-radius: 50%; color: var(--text); }
.cart-btn { background: var(--card); color: var(--text); border-color: var(--line); padding: 0; }
.cart-btn:hover { background: var(--card2); }
.cart-btn .badge { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; font-size: 11px; background: var(--lime); color: var(--ink); box-shadow: 0 0 0 2px var(--bg); }
.theme-btn .i-sun { display: none; }
.theme-btn span { display: grid; }
:root[data-theme="light"] .theme-btn .i-sun { display: grid; }
:root[data-theme="light"] .theme-btn .i-moon { display: none; }
@media (max-width: 980px) {
  .nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
  .nav .menu-btn { justify-self: start; }
  .nav .logo { justify-self: center; }
  .nav .nav-icons { justify-self: end; margin: 0; gap: 8px; }
}
@media (max-width: 560px) {
  .nav .theme-btn { display: none !important; }
  .nav { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .icon-btn { width: 42px; height: 42px; padding: 0 !important; }
  .nav .nav-icons { gap: 8px; }
  .logo img { height: 30px; }
}
@media (max-width: 340px) { .logo img { height: 24px; } .icon-btn { width: 38px; height: 38px; } }
.drawer-theme { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line2); background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--text); }
.drawer-theme svg { width: 18px; height: 18px; }
.drawer-theme .i-sun { display: none; }
:root[data-theme="light"] .drawer-theme .i-sun { display: grid; }
:root[data-theme="light"] .drawer-theme .i-moon { display: none; }
.drawer-foot-actions { display: flex; gap: 10px; align-items: center; }

/* ---------- Social icons (WhatsApp / Telegram) ---------- */
.social { display: flex; gap: 10px; align-items: center; }
.social a, .foot-grid .social a { width: 44px; height: 44px; padding: 0; border-radius: 50%; display: grid; place-items: center; color: #fff; transition: transform .15s, filter .15s; }
.social a:hover, .foot-grid .social a:hover { transform: translateY(-2px); filter: brightness(1.08); color: #fff; }
.social .brand-ico { width: 22px; height: 22px; }
.social-wa { background: #25d366; }
.social-tg { background: #2aabee; }
.social-foot { margin-top: 20px; }
.drawer-foot .social a { width: 40px; height: 40px; }
.drawer-foot .social .brand-ico { width: 20px; height: 20px; }

/* ---------- WhatsApp / Telegram ---------- */
.brand-ico { width: 18px; height: 18px; flex: none; }
.btn-sm .brand-ico { width: 16px; height: 16px; }
.btn-pair { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-wa:hover { background: #1fb959; }
.btn-tg:hover { background: #1d97d6; }
.final-cta .btn-ghost .brand-ico { color: #1a9c4b; }
.buy-foot-help { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.mini-wa, .mini-tg { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.mini-wa .brand-ico, .mini-tg .brand-ico { width: 16px; height: 16px; }
.mini-wa .brand-ico { color: #25d366; }
.mini-tg .brand-ico { color: #2aabee; }
.contact-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; margin-bottom: 16px; }
.contact-ico .brand-ico { width: 28px; height: 28px; }
.radio-cards .brand-ico { width: 20px; height: 20px; }

/* ---------- Misc ---------- */
.caution { margin-top: 20px; padding: 14px 16px; border-radius: var(--r-md); background: rgba(255,176,32,.08); border: 1px solid rgba(255,176,32,.3); font-size: 13px; }
.caution b { display: block; margin-bottom: 4px; color: #f0a020; }
:root[data-theme="light"] .caution b { color: #9a5a00; }
.caution p { color: var(--muted); }
.f-group { font-size: 12px; font-weight: 600; color: var(--text); margin: 12px 0 2px; }
.f-group:first-child { margin-top: 0; }
.line-actions { display: flex; gap: 14px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.qty-sm button { width: 34px; height: 36px; }
.sum-line { font-size: 14px; gap: 12px; }
.sum-line > span:first-child { min-width: 0; }
.sum-line > span:last-child { flex: none; }
.order-check { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--ink); }
.order-check svg { width: 32px; height: 32px; }
.order-pre { white-space: pre-wrap; word-break: break-word; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; color: var(--muted); }
.line-count { font-size: 13px; color: var(--muted); }
.lines-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.line-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 240px; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--card); overflow: hidden; transition: .2s; }
.line-card:hover { border-color: var(--line2); transform: translateY(-2px); }
.line-card h3 { font-size: clamp(32px, 4vw, 48px); font-weight: 700; }
.line-card p { color: var(--muted); max-width: 380px; margin-top: 8px; }
.line-card .arrow-btn { width: 52px; height: 52px; }
.line-card:hover .arrow-btn { transform: rotate(-45deg); }
.line-card.lime { background: var(--lime); color: var(--ink); border-color: transparent; }
.line-card.lime p { color: rgba(1,1,3,.7); }
.line-card.lime .arrow-btn { background: var(--ink); color: var(--lime); }
.line-card .dots { top: 28px; right: 28px; }
.line-card:not(.lime) .dots i { background: var(--lime); }
@media (max-width: 720px) { .lines-grid { grid-template-columns: 1fr; } .line-card { min-height: 200px; } }
.area-tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 20px; }
.area-tabs .chip { border: 0; background: transparent; padding: 8px 18px; }
.area-tabs .chip.on { background: var(--lime); color: var(--ink); }

/* ---------- Responsive hardening ---------- */
@media (max-width: 560px) {
  section { padding: 44px 0; }
  .hero { padding: 12px 0 32px; }
  .bento-main { padding: 24px; gap: 24px; border-radius: var(--r-lg); }
  .bento-lime, .bento-dark { border-radius: var(--r-lg); }
  .hero-search { padding-left: 14px; }
  .hero-search .btn { padding: 11px 16px; }
  .bento-dark { padding: 20px; gap: 14px; }
  .bento-dark b { font-size: 22px; }
  .band { border-radius: var(--r-lg); }
  .section-head { margin-bottom: 20px; }
  .buybox { border-radius: var(--r-lg); }
  .pdp-media .pimg { border-radius: var(--r-lg); }
  .buy-row .btn { min-width: 0; padding: 14px 16px; }
  .buy-row .qty { flex: 1 0 100%; justify-content: space-between; }
  .buy-row .qty input { flex: 1; }
  .final-cta { border-radius: var(--r-lg); }
  .final-cta-btns, .final-cta-btns .btn { width: 100%; }
  .benefit-list > div { padding: 20px; gap: 14px; }
  .benefit-list .num { font-size: 30px; }
  .spec-card { padding: 4px 16px; }
  table.specs { font-size: 14px; }
  .foot-card { border-radius: var(--r-lg); }
  .ptabs { top: 60px; }
  .psec { scroll-margin-top: 130px; padding: 40px 0; }
  .g4 { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
  .pcard { padding: 6px; }
  .pbody { padding: 10px 8px 6px; }
  .pbody h3 { font-size: 16px; }
  .price { font-size: 17px; }
  .pcard .arrow-btn { width: 30px; height: 30px; }
  .bac-tag { font-size: 10px; }
}
@media (max-width: 360px) { .g4 { grid-template-columns: 1fr 1fr; } .pmeta { font-size: 12px; } }
.ico-wa, .ico-tg { display: inline-flex; }
.ico-wa .brand-ico { color: #25d366; width: 20px; height: 20px; }
.ico-tg .brand-ico { color: #2aabee; width: 20px; height: 20px; }
.contact-ico[data-ico] .brand-ico { width: 28px; height: 28px; }
.stats-link { font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line2); color: var(--accent-text); }
.stats-link:hover { background: var(--card2); }
.catalog-jump { position: sticky; top: 76px; z-index: 10; padding: 8px 0; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.catalog-jump .group-nav { margin: 0; }
.catalog-jump + section, .catalog-jump ~ section { scroll-margin-top: 150px; }
@media (max-width: 560px) { .catalog-jump { top: 60px; } }
/* never let grid children or long buttons force horizontal scroll */
@media (max-width: 900px) { .pdp { grid-template-columns: minmax(0, 1fr); } }
.pdp > *, .overview > *, .split > *, .two-col > *, .bento > *, .lines-grid > * { min-width: 0; }
.btn { max-width: 100%; }
.section-head .btn, .page-head .btn { white-space: normal; text-align: center; }
@media (max-width: 360px) { .assure-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } .assure-row div { padding: 8px; overflow-wrap: anywhere; } }

/* ---------- Custom select arrow ---------- */
select.input { -webkit-appearance: none; -moz-appearance: none; appearance: none; cursor: pointer; padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a9ea6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; background-size: 16px; }
select.input::-ms-expand { display: none; }
.toolbar select.input { flex: 0 0 auto; width: auto; min-width: 200px; }
@media (max-width: 560px) { .toolbar .input[type=search] { flex: 1 0 100%; } .toolbar select.input { flex: 1; min-width: 0; } }

/* ---------- Single add-to-cart bar (sticky on mobile) ---------- */
.buy-bar { align-items: center; }
.buy-bar-price { display: none; }
.buy-bar #add { flex: 1; }
.buy-bar #add .ib { margin-right: 6px; }
@media (max-width: 900px) {
  .buy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; margin: 0; flex-wrap: nowrap; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); box-shadow: 0 -12px 30px rgba(0,0,0,.25); }
  .buy-bar .qty { flex: none !important; }
  .buy-bar .qty button { width: 34px; height: 46px; }
  .buy-bar .qty input { width: 28px; flex: none; }
  .buy-bar #add { min-width: 0; padding: 14px 14px; }
  .buy-bar-price { display: flex; flex-direction: column; min-width: 0; flex: 0 1 auto; line-height: 1.2; }
  .buy-bar-price b { font-family: var(--display); font-size: 18px; white-space: nowrap; }
  .buy-bar-price span { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  body[data-page="product"] { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) { .buy-bar #add .ib { display: none; } .buy-bar-price b { font-size: 16px; } }

/* ---------- Added-to-cart popup ---------- */
.cart-pop { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; padding: 16px; visibility: hidden; pointer-events: none; transition: visibility 0s linear .3s; }
/* closed overlays leave the page completely (display:none): iOS Safari 26 tints its toolbar from hidden fixed overlays */
.cart-pop[hidden], .drawer[hidden] { display: none; }
.cart-pop.open { visibility: visible; pointer-events: auto; transition: visibility 0s; }
.cart-pop-backdrop { position: absolute; inset: 0; background: rgba(1,1,3,.6); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; transition: opacity .25s; }
.cart-pop.open .cart-pop-backdrop { opacity: 1; }
.cart-pop-panel { position: relative; width: 100%; max-width: 440px; background: var(--card); border: 1px solid var(--line2); border-radius: var(--r-xl); padding: 24px; box-shadow: 0 30px 80px rgba(0,0,0,.5); outline: none;
  transform: translateY(16px) scale(.97); opacity: 0; transition: transform .3s cubic-bezier(.2,.9,.3,1.15), opacity .2s; }
.cart-pop.open .cart-pop-panel { transform: none; opacity: 1; }
.cart-pop-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.cart-pop-head h2 { font-size: 22px; margin: 0; flex: 1; }
.cart-pop-check { width: 40px; height: 40px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; flex: none; animation: pop-in .4s cubic-bezier(.2,.9,.3,1.4); }
.cart-pop-check svg { width: 22px; height: 22px; }
@keyframes pop-in { from { transform: scale(.4); } }
.cart-pop-item { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; padding: 14px; border-radius: var(--r-md); background: var(--card2); }
.cart-pop-item .thumb { width: 72px; height: 72px; border-radius: var(--r-sm); overflow: hidden; background: var(--bg); }
.cart-pop-item > div { min-width: 0; }
.cart-pop-sum { padding: 16px 2px 4px; }
.cart-pop-sum .sum-row { padding: 0; }
.cart-pop-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.cart-pop-continue { display: block; width: 100%; margin-top: 10px; padding: 10px; background: none; border: 0; color: var(--muted); font-weight: 500; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.cart-pop-continue:hover { color: var(--text); }
@media (max-width: 560px) {
  /* a floating card above Safari's toolbar (a sheet glued to the bottom edge gets cut off by Safari 26) */
  .cart-pop { place-items: end stretch; padding: 0 10px calc(10px + env(safe-area-inset-bottom)); }
  .cart-pop-panel { max-width: none; border-radius: var(--r-xl); padding: 20px 16px 12px; transform: translateY(calc(100% + 40px)); opacity: 1; transition: transform .32s cubic-bezier(.22,.9,.24,1); }
  .cart-pop-panel::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 2px; background: var(--line2); margin: -6px auto 14px; }
}
.cart-btn.bump { animation: bump .5s cubic-bezier(.2,.9,.3,1.5); }
@keyframes bump { 30% { transform: scale(1.12); } }

/* ---------- Guides row + FAQ block (home) ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.guide-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; }
.guide-tag { align-self: start; font-size: 12px; font-weight: 600; color: var(--accent-text); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; }
.guide-card h3 { font-size: 18px; line-height: 1.3; }
.guide-card p { font-size: 14px; color: var(--muted); flex: 1; }
.guide-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.guide-card .arrow-btn { width: 36px; height: 36px; }
.guide-card:hover .arrow-btn { transform: rotate(-45deg); }
@media (max-width: 900px) { .guide-grid { grid-template-columns: 1fr; } .guide-card { padding: 18px; } }
.faq-wrap { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 48px); }
.faq-aside { align-self: start; position: sticky; top: 100px; }
.faq-aside h2 { font-size: clamp(28px, 3.4vw, 40px); }
.faq-list details:first-child { padding-top: 4px; }
.faq-list details:last-child { border-bottom: 0; }
.faq-list summary { font-size: 16px; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; border-radius: var(--r-lg); } .faq-aside { position: static; } }
/* SEO copy */
.seo-card { padding: clamp(24px, 4vw, 44px); }
.seo-card h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 18px; }
.seo-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.seo-cols h3 { font-size: 17px; margin-bottom: 8px; }
.seo-cols p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.seo-card .link { font-size: inherit; font-weight: 500; }
@media (max-width: 900px) { .seo-cols { grid-template-columns: 1fr; gap: 20px; } }
.faq-aside .btn-pair { flex-wrap: nowrap; } .faq-aside .btn-pair .btn { flex: 1; min-width: 0; padding-inline: 14px; }

/* line cards: dots sit in their own row above the title so they never overlap text */
.line-card .dots { position: static; display: flex; gap: 6px; grid-template-columns: none; margin-bottom: 18px; }
.line-card .dots i { width: 14px; height: 14px; }
.line-card { gap: 28px; }

/* ---------- Coupon ---------- */
.coupon { margin: 16px 0 4px; padding-top: 16px; border-top: 1px solid var(--line); }
.coupon label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row .input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .04em; border-radius: 999px; padding: 11px 16px; }
.coupon-row .input::placeholder { text-transform: none; letter-spacing: 0; }
.coupon-row .btn { padding: 11px 18px; flex: none; }
.coupon-msg { font-size: 13px; margin-top: 8px; min-height: 0; }
.coupon-msg.ok { color: var(--good); }
.coupon-msg.err { color: #ff6b6b; }
.coupon-applied { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px 10px 14px; border-radius: 999px; background: var(--accent-soft); border: 1px dashed var(--accent-text); font-size: 14px; }
.coupon-applied b { color: var(--accent-text); letter-spacing: .04em; }
.coupon-applied button { background: none; border: 0; color: var(--muted); font-size: 13px; text-decoration: underline; cursor: pointer; }
.sum-row.discount span:last-child { color: var(--good); font-weight: 600; }

/* rich text from the admin editor */
.rich a { color: var(--accent-text); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.rich img { max-width: 100%; height: auto; border-radius: var(--r-md); margin: 12px 0; }
.rich blockquote { border-left: 3px solid var(--lime); padding-left: 16px; color: var(--muted); margin: 16px 0; }
.seo-cols .rich p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.form-error { margin-top: 16px; padding: 12px 14px; border-radius: var(--r-sm); background: rgba(255,90,90,.1); border: 1px solid rgba(255,90,90,.35); color: #ff8a8a; font-size: 14px; }
.stock-note { font-size: 12px; font-weight: 600; padding-left: 32px; }
.stock-note.low { color: #f0a020; }
.stock-note.out { color: #ff6b6b; }
.pack.soldout { opacity: .55; }
.pack.soldout .pack-price { text-decoration: line-through; }

/* ---------- Hero trust badges (wrap as whole tags, never mid-phrase) ---------- */
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; }
.hero-badges li { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-size: 13px; font-weight: 600; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--card2); border: 1px solid var(--line); }
.hero-badges li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; flex: none; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23010103' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/10px no-repeat; }
@media (max-width: 560px) { .hero-badges { gap: 6px; } .hero-badges li { font-size: 12px; padding: 5px 10px 5px 6px; } }

/* ---------- Lime catalog tile: labelled number + clear CTA ---------- */
.bento-lime { justify-content: flex-start; gap: 6px; min-height: 0; }
.bento-lime .lime-label { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: rgba(1,1,3,.65); }
.bento-lime .lime-stat { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.bento-lime .big { font-family: var(--display); font-size: clamp(56px, 7vw, 88px); font-weight: 800; line-height: .95; letter-spacing: -.04em; }
.bento-lime .big-unit { font-family: var(--display); font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.02em; }
.bento-lime .lime-text { font-weight: 500; max-width: 280px; color: rgba(1,1,3,.75); }
.bento-lime .lime-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; font-weight: 700; font-size: 16px; }
.bento-lime .lime-cta .arrow-btn { width: 44px; height: 44px; background: var(--ink); color: var(--lime); }
.bento-lime:hover .lime-cta .arrow-btn { transform: rotate(-45deg); }
.bento-lime .dots { top: 24px; right: 24px; grid-template-columns: repeat(2, 22px); gap: 6px; }
.bento-lime .dots i { width: 22px; height: 22px; }
@media (max-width: 560px) { .bento-lime { padding: 22px; } .bento-lime .big { font-size: 64px; } }
/* trust badges: glowing lime dot instead of a tick */
.hero-badges li::before { width: 8px; height: 8px; margin: 0 2px 0 4px; background: var(--lime); box-shadow: 0 0 0 3px rgba(210,253,95,.18), 0 0 10px 2px rgba(210,253,95,.55); animation: badge-glow 2.4s ease-in-out infinite; }
.hero-badges li:nth-child(2)::before { animation-delay: .4s; }
.hero-badges li:nth-child(3)::before { animation-delay: .8s; }
@keyframes badge-glow { 50% { box-shadow: 0 0 0 5px rgba(210,253,95,.08), 0 0 16px 4px rgba(210,253,95,.75); } }
:root[data-theme="light"] .hero-badges li::before { background: #7fb800; box-shadow: 0 0 0 3px rgba(127,184,0,.2), 0 0 8px 2px rgba(127,184,0,.45); }

/* soft (non-dark) band, e.g. "How ordering works" */
.band.band-soft { background: var(--card); color: var(--text); }
.band.band-soft .muted, .band.band-soft .timeline p { color: var(--muted); }
.band.band-soft .eyebrow { background: var(--card2); border-color: var(--line); color: var(--text); }

/* ---------- Add to cart: brand lime ---------- */
#add { background: var(--lime); color: var(--ink); border: 0; gap: 10px; font-weight: 800;
  box-shadow: 0 12px 28px -14px rgba(210,253,95,.7), inset 0 1px 0 rgba(255,255,255,.55), inset 0 -2px 0 rgba(1,1,3,.1); }
#add:hover { background: var(--accent2); transform: translateY(-1px); }
#add .add-ico { width: 22px; height: 22px; flex: none; }
#add:disabled { background: #2c2d33; color: #8c9098; box-shadow: none; }
:root[data-theme="light"] #add:disabled { background: #d9dad4; color: #6c7078; }


/* ---------- duotone icons ---------- */
.ico { display: block; }
.icon-btn .ico { width: 20px; height: 20px; }
.ico-circle .ico { width: 22px; height: 22px; }
.ib.ico { display: inline-block; width: 17px; height: 17px; vertical-align: -3px; margin-right: 5px; }

/* ---------- final CTA: WhatsApp / Telegram in brand colours ---------- */
.final-cta .btn-wa, .final-cta .btn-tg { color: #fff; box-shadow: 0 10px 24px -10px rgba(1,1,3,.45); }
.final-cta .btn-wa .brand-ico, .final-cta .btn-tg .brand-ico { color: #fff; width: 20px; height: 20px; }

/* ---------- product photo gallery ---------- */
.gallery { position: relative; width: 100%; height: 100%; }
.g-track { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; border-radius: inherit; outline: none; }
.g-track::-webkit-scrollbar { display: none; }
.g-slide { flex: 0 0 100%; height: 100%; scroll-snap-align: center; scroll-snap-stop: always; }
.g-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(1,1,3,.45); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity .2s, background .2s; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); z-index: 2; }
.g-nav .ico { width: 18px; height: 18px; }
.g-prev { left: 12px; } .g-prev .ico { transform: rotate(180deg); }
.g-next { right: 12px; }
.gallery:hover .g-nav:not(:disabled), .g-nav:focus-visible { opacity: 1; }
.g-nav:disabled { opacity: 0 !important; pointer-events: none; }
.g-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 6px; z-index: 2; pointer-events: none; }
.g-dots i { width: 7px; height: 7px; border-radius: 999px; background: rgba(255,255,255,.45); transition: width .25s, background .25s; }
.g-dots i.on { width: 20px; background: #fff; }
.g-count { position: absolute; top: 12px; right: 12px; z-index: 2; font-size: 12px; font-weight: 600; color: #fff; background: rgba(1,1,3,.45); padding: 4px 10px; border-radius: 999px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.g-thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.g-thumbs::-webkit-scrollbar { display: none; }
.g-thumb { flex: 0 0 64px; height: 64px; padding: 0; border-radius: 14px; overflow: hidden; border: 2px solid transparent; background: var(--card2); cursor: pointer; opacity: .6; transition: .15s; }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-thumb.on { border-color: var(--accent-text); opacity: 1; }
.g-thumb:hover { opacity: 1; }
@media (hover: none) { .g-nav { display: none; } }

/* ---------- brand logo slots ---------- */
.brand-logos { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.brand-logo { width: 150px; height: 60px; border-radius: 14px; display: grid; place-items: center; padding: 10px 16px; background: var(--card2); border: 1px solid var(--line); }
.brand-logo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.brand-logo.is-empty span { font-size: 13px; font-weight: 600; color: var(--muted); font-family: Inter, sans-serif; text-align: center; line-height: 1.2; }
@media (max-width: 560px) { .brand-logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; } .brand-logo { width: auto; height: 52px; padding: 8px 10px; } }

/* ---------- SARMs card: dimmed dot visible in both themes ---------- */
.line-card:not(.lime) .dots i:nth-child(2) { background: var(--line2); opacity: 1; }
:root[data-theme="light"] .line-card:not(.lime) .dots i:nth-child(2) { background: rgba(1,1,3,.14); }

/* ---------- speed: skip rendering off-screen sections until needed ---------- */
body[data-page="home"] main > section:not(.hero):not(#catalog):not(#lines) { content-visibility: auto; contain-intrinsic-size: auto 700px; }


/* ---------- checkout option cards: icon + label aligned, label on one line ---------- */
.radio-cards label { gap: 10px; min-height: 56px; padding: 12px 14px; }
.radio-cards label .rc-ico { display: inline-grid; place-items: center; width: 22px; height: 22px; flex: none; color: var(--accent-text); }
.radio-cards label .rc-ico .ico, .radio-cards label .rc-ico .brand-ico { width: 20px; height: 20px; margin: 0; }
.radio-cards label .rc-text { white-space: nowrap; line-height: 1.2; }
.radio-cards input { flex: none; margin: 0; }
@media (max-width: 400px) { .radio-cards { grid-template-columns: 1fr 1fr; gap: 8px; } .radio-cards label { padding: 12px 10px; gap: 8px; font-size: 13.5px; } }

/* ---------- modern menu (drawer main view) ---------- */
.dm { display: grid; gap: 16px; padding: 4px 16px 20px !important; align-content: start; }
.drawer-head .logo img { height: 30px; }
.dm-search { display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 48px; border-radius: 16px; background: var(--card2); border: 1px solid var(--line); }
.dm-search .ico { width: 19px; height: 19px; color: var(--muted); flex: none; }
.dm-search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 16px; }
.dm-lines { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dm-line { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 104px; padding: 14px; border-radius: 20px; background: var(--card2); border: 1px solid var(--line); overflow: hidden; transition: transform .15s; }
.dm-line.lime { background: var(--lime); color: var(--ink); border-color: transparent; }
.dm-line-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.dm-line b { font-family: var(--display); font-size: 21px; letter-spacing: -.02em; line-height: 1; }
.dm-line .ico { width: 18px; height: 18px; transform: rotate(-45deg); flex: none; }
.dm-line > span:last-child { font-size: 12px; font-weight: 600; opacity: .7; }
.dm-line:active, .dm-tile:active, .dm-chip:active { transform: scale(.97); }
.dm-line::after { content: ""; position: absolute; right: -18px; bottom: -18px; width: 64px; height: 64px; border-radius: 20px; background: currentColor; opacity: .06; transform: rotate(18deg); }
.dm-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dm-tile { display: grid; gap: 2px; padding: 14px; border-radius: 18px; background: var(--card2); border: 1px solid var(--line); transition: transform .15s, border-color .15s; }
.dm-tile .ico { width: 26px; height: 26px; color: var(--accent-text); margin-bottom: 8px; }
.dm-tile b { font-size: 14px; }
.dm-tile > span { font-size: 12px; color: var(--muted); }
.dm-tile.on { border-color: var(--accent-text); }
.dm-label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 4px 0 -6px; }
.dm-chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 4px; scrollbar-width: none; scroll-snap-type: x proximity; }
.dm-chips::-webkit-scrollbar { display: none; }
.dm-chip { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--card2); border: 1px solid var(--line); font-size: 13px; font-weight: 600; white-space: nowrap; scroll-snap-align: start; transition: transform .15s; }
.dm-chip .ico { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); flex: none; }
:root[data-theme="light"] .dm-chip .ico { background: var(--lime); color: var(--ink); }
.dm-rows { display: grid; border-radius: 18px; background: var(--card2); border: 1px solid var(--line); overflow: hidden; }
.dm-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 14px 16px; background: none; border: 0; font-weight: 600; font-size: 15px; text-align: left; cursor: pointer; color: var(--text); }
.dm-row + .dm-row { border-top: 1px solid var(--line); }
.dm-row span { flex: 1; }
.dm-row small { font-size: 12px; color: var(--muted); background: var(--card); border-radius: 999px; padding: 2px 9px; }
.dm-row .ico { width: 18px; height: 18px; color: var(--muted); }
.dm-row:active { background: var(--card); }
.dm-links { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 2px 4px; }
.dm-links a { font-size: 13.5px; color: var(--muted); font-weight: 500; }
.dm-links a.on, .dm-links a:hover { color: var(--text); }
.dm-help { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 12px 12px; padding: 12px 12px 12px 16px; border-radius: 20px; background: var(--card2); border: 1px solid var(--line); }
.dm-help b { display: block; font-size: 14px; }
.dm-help span { font-size: 12px; color: var(--muted); }
.dm-help-actions { display: flex; gap: 8px; align-items: center; }
.dm-help .social a { width: 40px; height: 40px; }
.dm-help .social .brand-ico { width: 20px; height: 20px; }
/* staggered entrance when the menu opens */
.drawer .dm > * { opacity: 0; transform: translateY(8px); }
.drawer.open .dm > * { opacity: 1; transform: none; transition: opacity .35s ease, transform .35s cubic-bezier(.2,.9,.3,1); }
.drawer.open .dm > :nth-child(1) { transition-delay: .06s; } .drawer.open .dm > :nth-child(2) { transition-delay: .1s; }
.drawer.open .dm > :nth-child(3) { transition-delay: .14s; } .drawer.open .dm > :nth-child(4) { transition-delay: .18s; }
.drawer.open .dm > :nth-child(5) { transition-delay: .2s; } .drawer.open .dm > :nth-child(6) { transition-delay: .22s; }
.drawer.open .dm > :nth-child(n+7) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .drawer .dm > * { opacity: 1; transform: none; } }
/* menu layout fixes: stack never squashes; close button on the right */
.dm { display: flex !important; flex-direction: column; }
.dm > * { flex: none; }
.drawer-head .logo { margin-right: auto; }

/* =============== Full-screen mobile menu =============== */
.drawer.fm .drawer-panel { inset: 0; width: 100%; border: 0; border-radius: 0; box-shadow: none;
  background: transparent;
  transform: none; opacity: 0; transition: opacity .28s ease; }
.drawer.fm.open .drawer-panel { opacity: 1; }
.drawer.fm .drawer-panel::before { display: none; }
.drawer.fm .drawer-view { padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom); }
/* top row mirrors the site header: ✕ where ☰ was, logo centred, cart right */
.fm-top { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; height: 60px; margin: 10px 12px 0; padding: 0 8px; flex: none; }
.fm-top .drawer-close { justify-self: start; }
.fm-top .logo { justify-self: center; }
.fm-top .logo img { height: 30px; }
.fm-top .fm-cart { justify-self: end; }
.fm-cart .badge { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; font-size: 11px; background: var(--lime); color: var(--ink); box-shadow: 0 0 0 2px var(--bg); }
.fm-body { display: flex; flex-direction: column; gap: 24px; padding: 18px 20px 24px !important; }
.fm-search { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; border-radius: 16px; background: var(--card2); border: 1px solid var(--line); flex: none; }
.fm-search .ico { width: 20px; height: 20px; color: var(--muted); flex: none; }
.fm-search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 17px; }
.fm-links { display: flex; flex-direction: column; }
.fm-link { display: flex; align-items: center; gap: 12px; padding: 16px 2px; border-bottom: 1px solid var(--line); }
.fm-link span { font-family: var(--display); font-size: clamp(28px, 8.5vw, 36px); font-weight: 700; letter-spacing: -.025em; line-height: 1.05; }
.fm-link small { font-size: 13px; font-weight: 600; color: var(--muted); margin-right: auto; align-self: flex-start; margin-top: 4px; }
.fm-link span + .ico { margin-left: auto; }
.fm-link .ico { width: 22px; height: 22px; color: var(--muted); transform: rotate(-45deg); transition: transform .2s, color .2s; flex: none; }
.fm-link:active .ico, .fm-link:hover .ico { transform: rotate(0); color: var(--accent-text); }
.fm-link[aria-current] span { color: var(--accent-text); }
.fm-small { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.fm-small a { font-size: 15px; font-weight: 500; color: var(--muted); }
.fm-small a[aria-current], .fm-small a:hover { color: var(--text); }
.fm-foot { display: flex; gap: 10px; padding: 12px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); flex: none; }
.fm-foot .fm-btn { flex: 1; padding: 13px 12px; }
.fm-foot .fm-theme { width: 50px; height: 50px; flex: none; }
/* staggered reveal */
.drawer.fm .fm-body > *, .drawer.fm .fm-link, .drawer.fm .fm-foot { opacity: 0; transform: translateY(14px); }
.drawer.fm.open .fm-body > *, .drawer.fm.open .fm-link, .drawer.fm.open .fm-foot { opacity: 1; transform: none; transition: opacity .4s ease, transform .45s cubic-bezier(.2,.9,.3,1); }
.drawer.fm.open .fm-search { transition-delay: .04s; }
.drawer.fm.open .fm-links { transition-delay: 0s; }
.drawer.fm.open .fm-link:nth-child(1) { transition-delay: .08s; } .drawer.fm.open .fm-link:nth-child(2) { transition-delay: .12s; }
.drawer.fm.open .fm-link:nth-child(3) { transition-delay: .16s; } .drawer.fm.open .fm-link:nth-child(4) { transition-delay: .2s; }
.drawer.fm.open .fm-small { transition-delay: .24s; } .drawer.fm.open .fm-foot { transition-delay: .26s; }
@media (prefers-reduced-motion: reduce) { .drawer.fm .fm-body > *, .drawer.fm .fm-link, .drawer.fm .fm-foot { opacity: 1; transform: none; } }
.fm-theme span { display: grid; }
.fm-theme .i-sun { display: none; }
:root[data-theme="light"] .fm-theme .i-sun { display: grid; }
:root[data-theme="light"] .fm-theme .i-moon { display: none; }
.fm-theme .ico { width: 20px; height: 20px; }







/* ---------- "Buy" button: compact lime pill in the phone dock ---------- */
@media (max-width: 900px) {
  .buy-bar #add { flex: 0 0 auto; min-width: 104px; height: 46px; padding: 0 20px !important; font-size: 16px; gap: 8px; margin-left: auto; }
  .buy-bar #add .add-ico { width: 20px; height: 20px; }
  .buy-bar .buy-bar-price { flex: 1 1 auto; }
}
/* menu: pill search + icon-only chat buttons */
.fm-search { border-radius: 999px; padding: 0 18px; }
.fm-foot { align-items: center; gap: 12px; }
.fm-help { flex: 1; min-width: 0; font-size: 14px; color: var(--muted); }
.fm-social { gap: 10px; }
.fm-social a { width: 50px; height: 50px; }
.fm-social .brand-ico { width: 24px; height: 24px; }
.fm-help { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }

/* ---------- Account ---------- */
.acct { max-width: 760px; margin: 0 auto; padding: 40px 0 80px; min-height: 60vh; }
.acct-auth { max-width: 460px; margin: 0 auto; text-align: center; }
.acct-auth h1 { font-size: clamp(30px, 6vw, 42px); }
.acct-tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 16px; }
.acct-tabs .chip { border: 0; background: transparent; padding: 8px 18px; font-size: 14px; }
.acct-tabs .chip.on { background: var(--lime); color: var(--ink); }
.acct-form { text-align: left; padding: 24px; }
.acct-form .field { margin-bottom: 14px; }
.acct-form .field label .muted { font-weight: 400; }
.acct-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; }
.acct-head h1 { font-size: clamp(30px, 6vw, 42px); }
.acct-head .btn { white-space: nowrap; flex: none; }
.acct-orders { display: grid; gap: 14px; }
.acct-order { padding: 20px; display: grid; gap: 16px; }
.acct-order header, .acct-order footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.acct-order header > div { display: grid; gap: 2px; font-size: 14px; }
.acct-order header b { font-size: 16px; letter-spacing: .01em; }
.acct-order footer { border-top: 1px solid var(--line); padding-top: 14px; font-size: 14px; }
.acct-order footer b { font-size: 18px; }
.acct-status { font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--card2); border: 1px solid var(--line2); white-space: nowrap; }
.acct-status.shipped, .acct-status.delivered { background: var(--lime); color: var(--ink); border-color: transparent; }
.acct-status.cancelled { color: #ff8a80; border-color: rgba(255,138,128,.35); }
.acct-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.acct-steps li { position: relative; display: grid; justify-items: center; gap: 8px; font-size: 11.5px; color: var(--muted); text-align: center; }
.acct-steps li i { width: 14px; height: 14px; border-radius: 50%; background: var(--card2); border: 2px solid var(--line2); position: relative; z-index: 1; }
.acct-steps li:not(:first-child)::before { content: ""; position: absolute; top: 6px; right: 50%; width: 100%; height: 2px; background: var(--line2); }
.acct-steps li.done { color: var(--text); }
.acct-steps li.done i { background: var(--lime); border-color: var(--lime); }
.acct-steps li.done:not(:first-child)::before { background: var(--lime); }
.acct-steps li.now i { box-shadow: 0 0 0 4px var(--accent-soft), 0 0 10px 2px rgba(210,253,95,.5); }
.acct-steps li.now span { font-weight: 700; }
.acct-track { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--r-md); background: var(--accent-soft); border: 1px solid var(--line2); }
.acct-track > svg { width: 22px; height: 22px; flex: none; color: var(--accent-text); }
.acct-track > div { display: grid; gap: 2px; font-size: 14px; min-width: 0; }
.acct-track span { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.acct-track a { font-weight: 700; color: var(--accent-text); }
.acct-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.acct-items li { display: flex; justify-content: space-between; gap: 12px; }
.acct-items li > span:last-child { white-space: nowrap; font-weight: 600; }
.acct-cta { display: flex; align-items: center; gap: 14px; padding: 16px 18px; text-align: left; }
.acct-cta > div { flex: 1; min-width: 0; }
:root[data-theme="light"] .acct-status.cancelled { color: #b3261e; }
:root[data-theme="light"] .acct-track > svg { color: #4a6300; }
@media (min-width: 901px) { .acct-btn { display: inline-flex; } }
@media (max-width: 900px) { .acct-btn { display: none; } }
@media (max-width: 560px) {
  .acct { padding-top: 24px; }
  .acct-head { align-items: flex-start; }
  .acct-order { padding: 16px; }
  .acct-steps li { font-size: 10px; }
  .acct-cta { flex-wrap: wrap; }
  .acct-cta .btn { width: 100%; }
}

/* ---------- Bulk buy ---------- */
.bulk { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; align-items: start; padding-top: 40px; }
.bulk-intro { position: sticky; top: 100px; }
.bulk-intro h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.02; }
.bulk-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.bulk-points li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); }
.bulk-points li > svg { width: 24px; height: 24px; flex: none; color: var(--accent-text); margin-top: 2px; }
.bulk-points li div { display: grid; gap: 2px; }
.bulk-points li span { font-size: 14px; color: var(--muted); }
.bulk-form { padding: 28px; }
.bulk-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bulk-form .field.full { grid-column: 1 / -1; }
.bulk-form .field { min-width: 0; }
.bulk-form .radio-cards label .rc-text { white-space: normal; }
.radio-cards.three { grid-template-columns: repeat(3, 1fr); }
.bulk-form .radio-cards label { min-width: 0; min-height: 48px; padding: 10px 12px; font-size: 13.5px; }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.bulk-form textarea.input { resize: vertical; min-height: 104px; }
.bulk-done { text-align: center; display: grid; justify-items: center; gap: 10px; padding: 48px 28px; }
:root[data-theme="light"] .bulk-points li > svg { color: #4a6300; }
@media (max-width: 900px) {
  .bulk { grid-template-columns: 1fr; gap: 28px; padding-top: 24px; }
  .bulk-intro { position: static; }
  .bulk-points { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .bulk-points { gap: 8px; margin-top: 20px; }
  .bulk-points li { flex-direction: column; gap: 8px; padding: 12px; font-size: 14px; }
  .bulk-points li span { display: none; }
  .bulk-form { padding: 20px 16px; }
  .bulk-form .form-grid { grid-template-columns: 1fr; }
  .radio-cards.three { grid-template-columns: 1fr; }
  .bulk-form .radio-cards, .bulk-form .radio-cards.three { grid-template-columns: 1fr; }
}

/* Outline-only icons in header/menu buttons (no duotone tint) */
.icon-btn .ico > g[fill] { display: none; }
.acct-tabs .chip.on { font-weight: 600; }

/* Account: order history details */
.acct-h2 { font-size: 22px; margin-bottom: 14px; }
.acct-items { gap: 12px; }
.acct-items li { align-items: center; gap: 12px; }
.acct-thumb { width: 56px; height: 56px; flex: none; border-radius: 12px; overflow: hidden; background: var(--card2); border: 1px solid var(--line); display: grid; place-items: center; }
.acct-thumb img, .acct-thumb svg { width: 100%; height: 100%; object-fit: cover; }
.acct-item-text { flex: 1; min-width: 0; display: grid; gap: 1px; font-size: 13px; }
.acct-item-text b { font-size: 14.5px; }
.acct-item-text a:hover b { text-decoration: underline; }
.acct-item-total { white-space: nowrap; font-size: 14.5px; }
.acct-more { border-top: 1px solid var(--line); padding-top: 12px; }
.acct-more summary { font-size: 14px; }
.acct-more summary::after { width: 24px; height: 24px; font-size: 16px; }
.acct-grid { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 18px; margin-top: 14px; font-size: 14px; }
.acct-grid h4 { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.acct-grid p { line-height: 1.55; overflow-wrap: anywhere; }
.acct-sum > div { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }
.acct-sum .tot { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 8px; font-weight: 700; }
.acct-order footer .btn { display: inline-flex; gap: 8px; align-items: center; }
.acct-order footer .btn svg { width: 18px; height: 18px; }
@media (max-width: 700px) { .acct-grid { grid-template-columns: 1fr; gap: 14px; } }
@media (max-width: 560px) {
  .acct-thumb { width: 48px; height: 48px; }
}

/* Account v2: stats strip, view tabs, filters, actions, support, settings, sheets */
.nowrap { white-space: nowrap; }
.acct-head { align-items: flex-start; }
.acct-head .eyebrow { margin-bottom: 12px; }
.acct-head p { margin-top: 4px; }
.acct-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; margin-bottom: 24px; overflow: hidden; }
.acct-stats > div { padding: 14px 18px; display: grid; gap: 2px; min-width: 0; }
.acct-stats > div + div { border-left: 1px solid var(--line); }
.acct-stats span { font-size: 12px; color: var(--muted); white-space: nowrap; }
.acct-stats b { font-family: var(--display); font-size: 20px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-views { margin-bottom: 18px; }
.acct-views .chip { display: inline-flex; align-items: center; gap: 6px; }
.dot-n { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #ff6b6b; color: #fff; font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; }
.acct-filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 14px; padding: 2px 16px; }
.acct-filters::-webkit-scrollbar { display: none; }
.acct-filters .chip { flex: none; display: inline-flex; gap: 6px; align-items: center; }
.acct-filters .chip span { font-size: 11.5px; opacity: .65; }
.acct-none { text-align: center; padding: 24px 0; font-size: 14px; }
.acct-more-wrap { text-align: center; margin-top: 16px; }
.acct-order footer { flex-wrap: wrap; }
.acct-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.btn-danger { background: #e5484d; color: #fff; }
.btn-danger:hover { background: #d13a3f; }
.acct-tickets { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.acct-order .acct-tickets { padding: 12px 14px; border-radius: var(--r-md); background: var(--card2); border: 1px solid var(--line); }
.card.acct-tickets { padding: 6px 18px; gap: 0; }
.card.acct-tickets .acct-ticket { padding: 14px 0; }
.card.acct-tickets .acct-ticket + .acct-ticket { border-top: 1px solid var(--line); }
.acct-ticket { display: grid; gap: 4px; font-size: 14px; }
.acct-ticket p { overflow-wrap: anywhere; white-space: pre-wrap; }
.tk-status { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-left: 4px; background: rgba(255,176,64,.15); color: #ffb040; }
.tk-status.in_progress { background: rgba(80,160,255,.15); color: #7db8ff; }
.tk-status.resolved { background: rgba(126,224,164,.15); color: var(--good); }
.tk-reply { padding: 8px 10px; border-left: 3px solid var(--lime); background: var(--accent-soft); border-radius: 0 8px 8px 0; color: var(--text); }
.acct-support-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 14px; font-size: 14px; }
.acct-support-head .btn { flex: none; }
.acct-settings { display: grid; gap: 14px; }
.acct-set { padding: 20px; }
.acct-set h3 { font-size: 18px; margin-bottom: 12px; }
.acct-set .field { margin-bottom: 12px; }
.acct-set .field label .muted { font-weight: 400; }
.acct-set .small { font-size: 13px; margin-bottom: 12px; }
.acct-set .form-error { margin: 0 0 12px; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.label-row label { margin-bottom: 6px; }
.small-link { font-size: 13px; }
/* sheet dialog: centered on desktop, bottom sheet on phones */
dialog.sheet { border: 0; padding: 0; background: transparent; color: var(--text); max-width: min(520px, calc(100vw - 32px)); width: 100%; max-height: 90vh; overflow: visible; }
dialog.sheet::backdrop { background: rgba(0,0,0,.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.sheet-body { background: var(--card); border: 1px solid var(--line2); border-radius: var(--r-lg); padding: 24px; max-height: 90vh; overflow-y: auto; box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); }
.sheet-body h2 { font-size: 22px; margin-bottom: 6px; }
.sheet-body > p { font-size: 14px; margin-bottom: 16px; }
.sheet-body .field { margin-bottom: 14px; }
.sheet-body .form-error { margin: 0 0 14px; }
.sheet-note { font-size: 14px; padding: 12px 14px; border-radius: var(--r-sm); background: rgba(255,176,64,.1); border: 1px solid rgba(255,176,64,.3); margin-bottom: 16px; }
.sheet-actions { display: flex; gap: 10px; justify-content: flex-end; }
.type-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.type-chip { position: relative; cursor: pointer; }
.type-chip input { position: absolute; opacity: 0; pointer-events: none; }
.type-chip span { display: inline-block; font-size: 13px; font-weight: 500; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line2); background: var(--card); transition: .15s; }
.type-chip input:checked + span { background: var(--lime); color: var(--ink); border-color: transparent; }
.type-chip input:focus-visible + span { outline: 2px solid var(--accent-text); outline-offset: 2px; }
:root[data-theme="light"] .sheet-body { background: #fff; }
:root[data-theme="light"] .tk-status { color: #9a5a00; }
:root[data-theme="light"] .tk-status.in_progress { color: #1d5fb8; }
@media (max-width: 560px) {
  .acct-stats > div { padding: 12px; }
  .acct-stats b { font-size: 16px; }
  .acct-stats span { font-size: 11px; }
  .acct-order footer { align-items: stretch; }
  .acct-total { display: flex; justify-content: space-between; align-items: baseline; width: 100%; }
  .acct-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .acct-actions .btn { justify-content: center; }
  .acct-actions .btn-primary { grid-column: 1 / -1; order: -1; }
  .acct-actions .btn:only-child { grid-column: 1 / -1; }
  .acct-actions .btn-ghost:first-child:nth-last-child(2) { grid-column: 1 / -1; }
  .acct-support-head { flex-direction: column; align-items: stretch; }
  dialog.sheet { max-width: 100vw; margin: auto 0 0; }
  .sheet-body { border-radius: var(--r-lg) var(--r-lg) 0 0; padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); }
  .sheet-actions { display: grid; grid-template-columns: 1fr 1fr; }
}
.acct-more { border-bottom: 0; padding: 12px 0 0; }
.acct-more p { color: var(--text); margin-top: 0; max-width: none; }
.acct-head-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.acct-head-top .eyebrow { margin: 0; }
.acct-head-top .btn { white-space: nowrap; }
.acct-head { display: block; margin-bottom: 20px; }
.tk-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tk-top .tk-status { margin-left: 0; flex: none; }
.tk-meta { font-size: 12.5px; color: var(--muted); margin-top: -2px; }
.acct-ticket > p.muted { margin-top: 4px; }
/* keep toasts above the phone Buy bar on product pages */
@media (max-width: 900px) { body[data-page="product"] .toast { bottom: calc(96px + env(safe-area-inset-bottom)); } }

/* sheets: undo the global margin reset so dialogs centre on desktop */
dialog.sheet { position: fixed; inset: 0; margin: auto; height: fit-content; }
@media (max-width: 560px) { dialog.sheet { margin: auto 0 0; width: 100%; max-width: 100%; } }
.pick-orders { display: grid; gap: 8px; max-height: 232px; overflow-y: auto; overscroll-behavior: contain; padding: 2px; }
.pick-order { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line2); border-radius: var(--r-md); background: var(--card2); cursor: pointer; transition: .15s; position: relative; }
.pick-order input { position: absolute; opacity: 0; pointer-events: none; }
.pick-order > span { flex: 1; min-width: 0; display: grid; gap: 2px; font-size: 14px; }
.pick-order > span .muted { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick-order .po-total { font-size: 14px; white-space: nowrap; }
.pick-order:has(input:checked) { border-color: var(--accent-text); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent-text); }
.pick-order:has(input:focus-visible) { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.pick-order.fixed { cursor: default; justify-content: space-between; font-size: 14px; }
.sheet-body .type-chips { gap: 8px; }
.field .pick-order { display: flex; margin: 0; color: var(--text); font-size: 14px; font-weight: 400; }
.field .type-chip { display: inline-block; margin: 0; color: var(--text); font-weight: 500; }

/* custom dropdown (order picker in sheets) */
.dd { position: relative; }
.dd-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; text-align: left; cursor: pointer; min-height: 52px; height: auto; padding-block: 8px; }
.dd-btn > svg { width: 18px; height: 18px; flex: none; transform: rotate(90deg); transition: transform .2s; color: var(--muted); }
.dd-btn[aria-expanded="true"] > svg { transform: rotate(-90deg); }
.dd-label { display: grid; gap: 1px; min-width: 0; font-size: 14.5px; }
.dd-label .muted { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dd-panel { margin-top: 6px; border: 1px solid var(--line2); border-radius: var(--r-md); background: var(--card2); padding: 6px; }
.dd-search { margin-bottom: 6px; height: 42px; }
.dd-list { list-style: none; margin: 0; padding: 0; max-height: 220px; overflow-y: auto; overscroll-behavior: contain; display: grid; gap: 2px; }
.dd-opt { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; padding: 10px 12px; border-radius: 12px; background: transparent; border: 0; color: var(--text); cursor: pointer; font: inherit; }
.dd-opt > span { flex: 1; min-width: 0; display: grid; gap: 1px; font-size: 14px; }
.dd-opt > span .muted { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dd-opt .po-total { font-size: 14px; white-space: nowrap; }
.dd-opt:hover, .dd-opt:focus-visible { background: var(--accent-soft); outline: none; }
.dd-opt[aria-selected="true"] { background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent-text); }
.dd-empty { font-size: 13px; padding: 10px 12px; }
:root[data-theme="light"] .dd-panel { background: #fff; }

/* announcement bar (Admin → Header & footer) */
.announce { background: var(--lime); color: var(--ink); text-align: center; font-size: 13.5px; font-weight: 600; padding: 8px 16px; line-height: 1.35; }
.announce a { color: inherit; text-decoration: none; }
.announce a:hover { text-decoration: underline; }
/* contact form */
.contact-form { margin-top: 20px; padding: clamp(20px, 3vw, 32px); max-width: 760px; }
.contact-form .type-chips { margin-top: 2px; }
/* support conversation in My account */
.tk-msg { margin-top: 8px; padding: 9px 12px; border-radius: 12px; font-size: 14px; background: var(--card2); border: 1px solid var(--line); }
.tk-msg.staff { border-left: 3px solid var(--lime); background: var(--accent-soft); }
.tk-msg b { font-size: 13px; }
.tk-msg .tk-when { font-size: 12px; color: var(--muted); margin-left: 8px; }
.tk-msg p { margin-top: 3px; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text); }
.tk-reply-box { margin-top: 8px; }
.tk-reply-open { background: none; border: 0; padding: 0; cursor: pointer; font-size: 13.5px; }
.tk-reply-form { display: grid; gap: 8px; margin-top: 6px; }
.tk-reply-form .form-error { margin: 0; }
.tk-reply-actions { display: flex; gap: 8px; justify-content: flex-end; }
.tk-reply-form[hidden], .tk-reply-open[hidden] { display: none; }


/* ================= v1.2 responsive & Safari polish ================= */
html { background: var(--bg); scroll-padding-top: 112px; }
/* sticky header never hides a field the browser scrolls to (validation, focus) */
input, select, textarea, .field, label, .radio-cards, .type-chips { scroll-margin-top: 112px; }
/* iPhone Safari zooms into inputs smaller than 16px – keep them at 16px on phones */
@media (max-width: 900px) { input, select, textarea, .input { font-size: 16px !important; } }
/* errors never touch the button below */
.form-error { margin: 14px 0; line-height: 1.45; overflow-wrap: anywhere; }
.form-error[hidden] { display: none; }
/* odd number of benefit cells: last one spans the row instead of leaving a hole */
.benefit-list > :last-child:nth-child(odd) { grid-column: 1 / -1; }
/* fact tiles: odd count – last tile spans */
.bento-dark > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
/* long words / IDs never push the layout wider than the screen */
h1, h2, h3, p, li, dd, td, .muted { overflow-wrap: break-word; }
img, svg, video { max-width: 100%; }
/* custom dropdown floats over the sheet instead of stretching it */
.dd-panel { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; margin-top: 0; box-shadow: 0 18px 40px -12px rgba(0,0,0,.55); }
.dd-list { max-height: min(260px, 42vh); }
:root[data-theme="light"] .dd-panel { box-shadow: 0 18px 40px -16px rgba(1,1,3,.25); }
.sheet-body { overflow-x: hidden; }

/* radio cards never overflow: long labels (or a larger iPhone text size) wrap inside the card */
.radio-cards { grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); }
@media (max-width: 400px) { .radio-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.radio-cards label { min-width: 0; }
.radio-cards label .rc-text { white-space: normal; min-width: 0; overflow-wrap: break-word; }

/* quantity steppers: a round press/hover highlight inside the pill instead of a square half-filled block.
   Hover only on devices that really hover (on iPhone a tapped button otherwise stays "hovered"). */
button, a, label, summary { -webkit-tap-highlight-color: transparent; }
.qty button { position: relative; color: var(--text); touch-action: manipulation; }
.qty button:hover { background: transparent; }
.qty button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%;
  background: currentColor; opacity: 0; transform: scale(.5); transition: opacity .15s ease, transform .15s ease; pointer-events: none; }
@media (hover: hover) { .qty button:hover::after { opacity: .08; transform: scale(1); } }
.qty button:active::after { opacity: .16; transform: scale(1); transition-duration: .05s; }

/* inline form messages (checkForm in app.js) */
.field-msg { margin: 6px 0 0; font-size: 13px; line-height: 1.4; color: #ff8a8a; }
:root[data-theme="light"] .field-msg { color: #c0392b; }
.input[aria-invalid="true"] { border-color: rgba(255,90,90,.65) !important; box-shadow: 0 0 0 3px rgba(255,90,90,.14) !important; }
input[type="checkbox"][aria-invalid="true"] { outline: 2px solid rgba(255,90,90,.75); outline-offset: 2px; border-radius: 4px; }
label:has(> input[type="checkbox"][aria-invalid="true"]) { color: var(--text); }
label:has(> input[type="checkbox"]) + .field-msg { padding-left: 26px; }

/* ---------- brands (v1.2.19) ---------- */
/* shop filters: the panel scrolls on its own when it's taller than the screen (desktop, where it's sticky) */
@media (min-width: 901px) {
  .filters { max-height: calc(100vh - 110px - env(safe-area-inset-top)); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
}
.foot-grid { grid-template-columns: 1.6fr repeat(4, 1fr); }
@media (max-width: 1100px) { .foot-grid { grid-template-columns: 1fr 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.brand-logos a.brand-logo { transition: transform .15s, opacity .15s; }
@media (hover: hover) { .brand-logos a.brand-logo:hover { transform: translateY(-2px); } }
.brand-strip { position: relative; }
.brand-all { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--muted); }
.brand-all .ico, .brand-all svg { width: 14px; height: 14px; }
@media (hover: hover) { .brand-all:hover { color: var(--text); } }
a.brand-pill { text-decoration: none; }
@media (hover: hover) { a.brand-pill:hover { border-color: var(--glass-hi, var(--line2)); } }

.brand-mark { display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 18px; overflow: hidden;
  background: var(--card2); border: 1px solid var(--line); }
.brand-mark img { width: 80%; height: 80%; object-fit: contain; }
.brand-mark.lg { width: clamp(96px, 16vw, 148px); height: clamp(96px, 16vw, 148px); border-radius: 28px; }
.bm-initials { width: 100%; height: 100%; display: grid; place-items: center; background: var(--bc, var(--lime)); color: #fff;
  font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.02em; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.brand-mark.lg .bm-initials { font-size: clamp(32px, 5vw, 48px); }

.brand-hero { display: flex; align-items: center; gap: clamp(20px, 4vw, 40px); padding: clamp(22px, 4vw, 40px); margin: 8px 0 8px; }
.brand-hero h1 { font-size: clamp(32px, 5vw, 56px); margin: 6px 0 0; }
.brand-about { margin-top: 12px; max-width: 680px; font-size: 17px; }
.brand-hero .stats { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.brand-hero .stats span { font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--glass-edge, var(--line)); }
:root[data-theme="light"] .brand-hero .stats span { background: rgba(1,1,3,.04); }
.brand-hero .stats b { color: var(--accent-text); margin-right: 4px; }
@media (max-width: 600px) { .brand-hero { flex-direction: column; align-items: flex-start; } }
.brand-empty { padding: clamp(24px, 4vw, 40px); margin: 28px 0; display: grid; gap: 12px; justify-items: start; }

.brand-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.brand-tiles.small { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); margin-top: 16px; }
.brand-tile { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--r-lg); background: var(--glass, var(--card));
  border: 1px solid var(--glass-edge, var(--line)); color: var(--text); transition: transform .15s, border-color .15s; min-width: 0; }
.brand-tile > span:not(.brand-mark):not(.arrow-btn) { display: grid; gap: 2px; min-width: 0; flex: 1; }
.brand-tile b { font-size: 16px; }
.brand-tile small { color: var(--muted); font-size: 13px; }
.brand-tile em { font-style: normal; color: var(--muted); font-size: 13px; line-height: 1.4; }
.brand-tile .bt-count { color: var(--accent-text, var(--text)); font-weight: 600; margin-top: 4px; }
.brand-tile.big { padding: 18px; gap: 18px; align-items: center; }
.brand-tile.big .brand-mark { width: 76px; height: 76px; }
.brand-tiles.small .brand-mark { width: 48px; height: 48px; border-radius: 14px; }
.brand-tiles.small .bm-initials { font-size: 17px; }
@media (hover: hover) { .brand-tile:hover { transform: translateY(-2px); border-color: var(--glass-hi, var(--line2)); } }

/* ---------- v1.2.21 ---------- */
/* brand logos: shown exactly as uploaded – no tile, border or padding around them */
.brand-logo, .brand-logo.is-empty { background: none !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; border-radius: 0; width: auto; height: auto; display: block; }
.brand-logo img { display: block; height: 52px; width: auto; max-width: 200px; object-fit: contain; }
.brand-logos { gap: 14px 28px; }
@media (max-width: 560px) { .brand-logos { gap: 14px 16px; } .brand-logo { display: grid; place-items: center; } .brand-logo img { width: auto; max-width: 100%; height: auto; max-height: 40px; } }
.brand-mark { background: none !important; border: 0 !important; border-radius: 0; overflow: visible; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-mark:has(.bm-initials) { border-radius: 18px; overflow: hidden; }
.brand-mark.lg:has(.bm-initials) { border-radius: 28px; }
.brand-mark.lg:has(img) { width: clamp(150px, 22vw, 240px); height: clamp(64px, 9vw, 100px); }
.brand-tile .brand-mark:has(img) { width: 96px; height: 48px; }
.brand-tile.big .brand-mark:has(img) { width: 120px; height: 56px; }
.brand-tiles.small .brand-mark:has(img) { width: 84px; height: 36px; }

/* uploaded product photos: whole photo, centred; blurred copy behind fills the frame */
.pphoto-wrap { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; isolation: isolate; }
.pphoto-wrap .pphoto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.g-slide { position: relative; }
.thumb, .acct-thumb { position: relative; }

/* ---------- v1.2.22: product cards ---------- */
/* a real photo: the picture box takes the photo's own shape – whole photo, no crop, no fill */
.pcard .pimg:has(.pphoto-wrap) { aspect-ratio: auto; display: block; background: none !important; }
.pcard .pphoto-wrap { position: relative; inset: auto; display: block; }
.pcard .pphoto-wrap .pphoto { position: static; display: block; width: 100%; height: auto; object-fit: initial; aspect-ratio: auto 1 / 1; } /* square until loaded, then the photo's own shape */
/* the price follows the details directly (no gap pushed above it) */
.pfoot { margin-top: 0; padding-top: 12px; align-items: flex-end; gap: 8px; }
.pfoot .price { min-width: 0; line-height: 1.1; }
/* MRP + saving on a small line above the offer price, so it never runs into the arrow */
.price .was { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-bottom: 3px; font-family: Inter, sans-serif; font-size: 12px; font-weight: 500; letter-spacing: 0; }
.price .was s { margin: 0; font-size: 12px; }
.price .was em { font-style: normal; font-weight: 700; color: var(--accent-text); }
.pcard .arrow-btn { flex: none; }
