/* Kilele Electronics — shared stylesheet
   Layout concept: a calm grey-green "workbench" ground, products sit on tinted
   display plinths; one cobalt accent for every action. Mono for prices & specs. */
:root {
  --bg: #F1F2EE;
  --surface: #FFFFFF;
  --surface-2: #E6E8E2;
  --ink: #121512;
  --muted: #5A6159;
  --line: #D3D6CE;
  --accent: #1F5EFF;
  --accent-ink: #FFFFFF;
  --accent-soft: #E0EAFF;
  --ok: #1D7D45;
  --warn: #9A6412;
  --bad: #B8322A;
  --ms: 22%;
  --ml: 88%;
  --dev-body: #1B1F1C;
  --dev-screen: #2E3540;
  --dev-hi: rgba(255,255,255,.55);
  --shadow: 0 1px 2px rgba(18,21,18,.06), 0 8px 24px rgba(18,21,18,.07);

  --f-display: "Plus Jakarta Sans", "Figtree", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --step--1: clamp(.8rem, .78rem + .1vw, .86rem);
  --step-0: clamp(.95rem, .92rem + .15vw, 1.03rem);
  --step-1: clamp(1.15rem, 1.08rem + .35vw, 1.35rem);
  --step-2: clamp(1.4rem, 1.25rem + .75vw, 1.9rem);
  --step-3: clamp(1.8rem, 1.5rem + 1.5vw, 2.8rem);
  --step-4: clamp(2.2rem, 1.7rem + 2.6vw, 4.2rem);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1110; --surface: #161A18; --surface-2: #1E2320; --ink: #ECEFEA;
    --muted: #99A198; --line: #2A302C; --accent: #6C9BFF; --accent-ink: #07101F;
    --accent-soft: #16294F; --ok: #4CC27E; --warn: #E0A64A; --bad: #EF6A5F;
    --ms: 14%; --ml: 17%; --dev-body: #E4E7E2; --dev-screen: #39414C; --dev-hi: rgba(255,255,255,.35);
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E1110; --surface: #161A18; --surface-2: #1E2320; --ink: #ECEFEA;
  --muted: #99A198; --line: #2A302C; --accent: #6C9BFF; --accent-ink: #07101F;
  --accent-soft: #16294F; --ok: #4CC27E; --warn: #E0A64A; --bad: #EF6A5F;
  --ms: 14%; --ml: 17%; --dev-body: #E4E7E2; --dev-screen: #39414C; --dev-hi: rgba(255,255,255,.35);
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: var(--step-0); line-height: 1.6;
  overflow-x: clip; animation: pagein .35s ease-out;
}
@keyframes pagein { from { opacity: .4; } to { opacity: 1; } }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.12; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.eyebrow { font-family: var(--f-mono); font-size: var(--step--1); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(48px, 7vw, 96px); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head p { max-width: 52ch; color: var(--muted); margin-top: 8px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }

/* ---------- Buttons & inputs ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .15s, background .2s, border-color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: var(--step--1); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.icon-btn {
  width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 999px;
  border: 0; background: transparent; cursor: pointer; position: relative; text-decoration: none;
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 21px; height: 21px; }
.badge-count {
  position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--accent); color: var(--accent-ink);
  font: 600 11px/18px var(--f-mono); text-align: center;
}
.badge-count:empty, .badge-count[data-n="0"] { display: none; }
.field { display: grid; gap: 6px; }
.field label { font-size: var(--step--1); font-weight: 600; }
.input, .select, textarea.input {
  width: 100%; min-height: 46px; padding: 10px 14px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--surface); transition: border-color .2s;
}
textarea.input { min-height: 120px; resize: vertical; }
.input:focus, .select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.field.invalid .input, .field.invalid .select { border-color: var(--bad); }
.err { color: var(--bad); font-size: var(--step--1); min-height: 1em; }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .grid-2 { grid-template-columns: 1fr; } }

/* ---------- Header ---------- */
#site-header { display: contents; }
.announce { background: var(--ink); color: var(--bg); font-size: 12.5px; padding-block: 7px; }
.announce-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.announce-msg { display: inline-flex; align-items: center; gap: 8px; }
.announce-msg svg { width: 15px; height: 15px; }
.announce-msg i { font-style: normal; opacity: .65; }
.announce b { font-family: var(--f-mono); font-weight: 600; }
.announce-links { display: flex; gap: 20px; }
.announce-links a { text-decoration: none; opacity: .75; transition: opacity .2s; }
.announce-links a:hover { opacity: 1; }
@media (max-width: 760px) { .announce-links { display: none; } .announce-row { justify-content: center; } }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  transition: box-shadow .25s, background .25s;
}
.site-header.scrolled { box-shadow: 0 6px 30px -8px rgba(18,21,18,.18); background: color-mix(in srgb, var(--surface) 92%, transparent); }
.header-row { display: flex; align-items: center; gap: 22px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.03em; }
.logo svg { width: 32px; height: 32px; }
.logo small { display: block; font: 500 10px/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.main-nav { display: flex; gap: 4px; }
.main-nav > a, .main-nav > .has-mega > a {
  display: block; padding: 9px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .95rem;
}
.main-nav a { position: relative; transition: color .2s, background .2s; }
.main-nav a:hover { background: var(--surface-2); }
.main-nav > a[aria-current="page"], .main-nav > .has-mega > a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.has-mega { position: relative; }
.has-mega::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; }
.mega {
  position: absolute; left: -12px; top: calc(100% + 14px); width: min(680px, 80vw);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow);
  padding: 14px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--r-sm); text-decoration: none; }
.mega a:hover { background: var(--surface-2); }
.mega .cat-thumb { width: 44px; height: 44px; border-radius: var(--r-sm); flex: none; }
.mega small { display: block; color: var(--muted); font-size: 12px; }
.search { position: relative; flex: 1; max-width: 380px; margin-left: auto; }
.search input { width: 100%; min-height: 44px; border-radius: 999px; border: 1px solid transparent; background: var(--surface-2); padding: 0 16px 0 42px; transition: background .2s, border-color .2s, box-shadow .2s; }
.search input:focus { outline: none; background: var(--surface); border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.search > svg { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 17px; height: 17px; color: var(--muted); }
.suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); padding: 6px; z-index: 5;
}
.suggest a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--r-sm); text-decoration: none; }
.suggest a:hover, .suggest a.active { background: var(--surface-2); }
.suggest .thumb { width: 40px; height: 40px; border-radius: var(--r-sm); flex: none; }
.suggest .s-name { font-weight: 600; font-size: 14px; }
.suggest .s-price { font: 12px var(--f-mono); color: var(--muted); }
.suggest .empty { padding: 12px; color: var(--muted); font-size: 14px; }
.header-icons { display: flex; align-items: center; gap: 2px; }
.burger { display: none; }
@media (max-width: 980px) {
  .main-nav { display: none; }
  .burger { display: inline-grid; }
  .search { max-width: none; }
}
@media (max-width: 640px) {
  .header-row { flex-wrap: wrap; gap: 8px; padding-block: 8px; }
  .search { order: 5; flex-basis: 100%; }
  .logo small { display: none; }
  .header-icons .hide-sm { display: none; }
}

/* ---------- Drawers, modals, toasts ---------- */
.scrim { position: fixed; inset: 0; background: rgba(8,10,9,.45); z-index: 60; opacity: 0; transition: opacity .25s; }
.scrim.open { opacity: 1; }
.drawer {
  position: fixed; top: 0; bottom: 0; right: 0; z-index: 61; width: min(440px, 100%);
  background: var(--surface); display: flex; flex-direction: column;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
  transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.drawer.left { right: auto; left: 0; transform: translateX(-100%); }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: var(--step-1); }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 20px; display: grid; gap: 12px; }
.mobile-nav a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.mobile-nav .sub a { font-weight: 500; font-size: .95rem; padding-left: 16px; color: var(--muted); }
.modal {
  position: fixed; z-index: 62; inset: 50% auto auto 50%; translate: -50% -50%;
  width: min(920px, calc(100% - 32px)); max-height: calc(100% - 48px); overflow-y: auto;
  background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow);
  opacity: 0; scale: .97; transition: opacity .2s, scale .2s;
}
.modal.open { opacity: 1; scale: 1; }
.modal-close { position: absolute; top: 10px; right: 10px; z-index: 2; background: var(--surface); }
.toasts { position: fixed; z-index: 80; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); left: 50%; translate: -50% 0; display: grid; gap: 8px; width: min(420px, calc(100% - 32px)); }
.toast {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r-md);
  background: var(--ink); color: var(--bg); box-shadow: var(--shadow); font-size: 14px;
  animation: toastin .25s ease-out;
}
.toast a { margin-left: auto; font-weight: 700; white-space: nowrap; }
.toast.ok::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }
.toast.bad::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bad); flex: none; }
@keyframes toastin { from { opacity: 0; transform: translateY(10px); } }
.wa-float {
  position: fixed; z-index: 30; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: #1FA855; color: #fff; box-shadow: var(--shadow); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Cart lines (drawer + cart page) ---------- */
.line { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; padding-block: 14px; border-bottom: 1px solid var(--line); align-items: start; }
.line .thumb { width: 76px; height: 76px; border-radius: var(--r-sm); }
.line h4 { font-family: var(--f-body); font-size: 15px; font-weight: 600; letter-spacing: 0; }
.line h4 a { text-decoration: none; }
.line .variant { font-size: 13px; color: var(--muted); }
.line .price { font-family: var(--f-mono); font-weight: 600; text-align: right; }
.line .remove { background: none; border: 0; color: var(--muted); font-size: 13px; text-decoration: underline; cursor: pointer; padding: 0; margin-top: 6px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; margin-top: 8px; }
.qty button { width: 34px; height: 34px; border: 0; background: none; cursor: pointer; font-size: 18px; border-radius: 999px; }
.qty button:hover { background: var(--surface-2); }
.qty input { width: 40px; text-align: center; border: 0; background: none; font-family: var(--f-mono); }
.qty-lg button { width: 44px; height: 46px; }
.free-bar { font-size: 13px; }
.free-bar .track { height: 6px; background: var(--surface-2); border-radius: 999px; overflow: hidden; margin-top: 8px; }
.free-bar .fill { height: 100%; background: var(--ok); border-radius: 999px; transition: width .4s; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; }
.sum-row span:last-child { font-family: var(--f-mono); }
.sum-total { font-weight: 700; font-size: 1.1rem; padding-top: 12px; border-top: 1px solid var(--line); }
.empty-state { text-align: center; padding: 40px 16px; display: grid; gap: 14px; justify-items: center; }
.empty-state svg { width: 64px; height: 64px; color: var(--muted); }

/* ---------- Product art & cards ---------- */
.art { background: hsl(var(--h, 220) var(--ms) var(--ml)); display: grid; place-items: center; overflow: hidden; }
.art svg { width: 78%; height: 78%; }
.d-body { fill: var(--dev-body); }
.d-screen { fill: var(--dev-screen); }
.d-acc { fill: hsl(var(--h, 220) 70% 55%); }
.d-acc-2 { fill: hsl(calc(var(--h, 220) + 40) 75% 62%); }
.d-hi { fill: var(--dev-hi); }
.d-line { stroke: var(--dev-body); fill: none; }
.d-shadow { fill: rgba(0,0,0,.12); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: clamp(14px, 2vw, 24px); }
.card { position: relative; display: flex; flex-direction: column; gap: 12px; }
.card-media { position: relative; aspect-ratio: 1 / 1; max-width: 100%; border-radius: var(--r-md); overflow: hidden; }
.card-media .art { position: absolute; inset: 0; transition: opacity .35s, transform .5s; }
.card-media .art.alt { opacity: 0; }
.card:hover .card-media .art.main { opacity: 0; }
.card:hover .card-media .art.alt { opacity: 1; transform: scale(1.04); }
.card-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; z-index: 2; }
.tag { font: 600 11px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; padding: 6px 8px; border-radius: 4px; background: var(--surface); color: var(--ink); }
.tag.sale { background: var(--bad); color: #fff; }
.tag.new { background: var(--accent); color: var(--accent-ink); }
.tag.out { background: var(--ink); color: var(--bg); }
.card-tools { position: absolute; top: 8px; right: 8px; z-index: 2; display: grid; gap: 6px; }
.card-tools .icon-btn { background: var(--surface); box-shadow: var(--shadow); width: 38px; height: 38px; }
.card-tools .icon-btn svg { width: 18px; height: 18px; }
.icon-btn.wished svg { fill: var(--bad); color: var(--bad); }
.card-quick {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2;
  opacity: 0; transform: translateY(8px); transition: .2s;
}
.card:hover .card-quick, .card:focus-within .card-quick { opacity: 1; transform: none; }
@media (hover: none) { .card-quick { display: none; } }
.card-meta { display: grid; gap: 4px; }
.card-cat { font: 500 11px var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.card-title { font-weight: 600; font-size: 1rem; line-height: 1.3; text-decoration: none; }
.card-title::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-spec { font-size: 13px; color: var(--muted); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; position: relative; z-index: 2; }
.price { font-family: var(--f-mono); font-weight: 600; font-variant-numeric: tabular-nums; }
.price s { color: var(--muted); font-weight: 400; font-size: .85em; margin-left: 6px; }
.stars { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); }
.stars i { font-style: normal; color: var(--warn); letter-spacing: 1px; }
.add-mini { width: 40px; height: 40px; border-radius: 999px; border: 0; background: var(--ink); color: var(--bg); cursor: pointer; display: grid; place-items: center; transition: transform .15s; }
.add-mini:hover { transform: scale(1.08); background: var(--accent); color: var(--accent-ink); }
.add-mini svg { width: 18px; height: 18px; }
.cards.list { grid-template-columns: 1fr; }
.cards.list .card { display: grid; grid-template-columns: 180px minmax(0,1fr); gap: 20px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
@media (max-width: 520px) { .cards.list .card { grid-template-columns: 110px minmax(0,1fr); gap: 14px; } }

/* ---------- Home ---------- */
.hero { padding-block: clamp(32px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 1.6rem + 3.6vw, 4.6rem); letter-spacing: -.045em; line-height: 1.02; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lede { font-size: var(--step-1); color: var(--muted); max-width: 44ch; margin-top: 20px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 36px; }
.hero-stats b { display: block; font-family: var(--f-display); font-size: var(--step-2); }
.hero-stats span { font-size: 13px; color: var(--muted); }
.hero-stage { display: block; position: relative; aspect-ratio: 1 / 1; max-width: 100%; border-radius: var(--r-lg); }
.hero-stage .art { position: absolute; inset: 0; border-radius: var(--r-lg); }
.hero-stage .art svg { width: 70%; height: 70%; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(-1deg); } }
.spec-chip {
  position: absolute; background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow);
  padding: 10px 14px; font-size: 13px; display: grid; gap: 2px;
}
.spec-chip b { font-family: var(--f-mono); font-size: 15px; }
.spec-chip.a { top: 8%; left: -4%; }
.spec-chip.b { bottom: 10%; right: -3%; }
.hero-card { position: absolute; left: 5%; right: 5%; bottom: 5%; display: none; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .spec-chip.a { left: 8px; } .spec-chip.b { right: 8px; }
}
.trust { border-block: 1px solid var(--line); }
.trust-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-item { display: flex; gap: 14px; align-items: center; padding: 22px 18px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item svg { width: 28px; height: 28px; flex: none; color: var(--accent); }
.trust-item b { display: block; font-size: 15px; }
.trust-item span { font-size: 13px; color: var(--muted); }
@media (max-width: 860px) {
  .trust-row { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) { .trust-item { padding: 16px 8px; flex-direction: column; align-items: flex-start; gap: 8px; } }
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cat-tile { position: relative; border-radius: var(--r-md); overflow: hidden; text-decoration: none; aspect-ratio: 4 / 3; max-width: 100%; }
.cat-tile .art { position: absolute; inset: 0; transition: transform .5s; }
.cat-tile .art svg { width: 62%; height: 62%; transform: translate(18%, 10%); }
.cat-tile:hover .art { transform: scale(1.05); }
.cat-tile .label { position: absolute; left: 16px; top: 14px; z-index: 1; }
.cat-tile .label b { display: block; font-family: var(--f-display); font-size: 1.05rem; font-weight: 600; }
.cat-tile .label span { font: 12px var(--f-mono); color: var(--muted); }
@media (max-width: 860px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.deal { background: var(--ink); color: var(--bg); border-radius: var(--r-lg); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.deal-copy { padding: clamp(24px, 5vw, 56px); display: grid; gap: 18px; align-content: center; }
.deal-copy .eyebrow { color: color-mix(in srgb, var(--bg) 65%, transparent); }
.deal .art { min-height: 320px; }
.countdown { display: flex; gap: 10px; }
.countdown div { background: color-mix(in srgb, var(--bg) 10%, transparent); border-radius: var(--r-sm); padding: 10px 12px; min-width: 64px; text-align: center; }
.countdown b { display: block; font: 600 1.6rem/1.1 var(--f-mono); }
.countdown span { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; opacity: .7; }
.deal .price { font-size: 1.4rem; }
.deal .btn-primary { justify-self: start; }
@media (max-width: 760px) { .deal { grid-template-columns: 1fr; } .deal .art { min-height: 240px; order: -1; } }
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.story-figure { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.story-figure .art { aspect-ratio: 3/4; max-width: 100%; border-radius: var(--r-md); }
.story-figure .art:nth-child(2) { margin-top: 40px; }
.story p { color: var(--muted); max-width: 56ch; margin-top: 16px; }
@media (max-width: 760px) { .story { grid-template-columns: 1fr; } }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.quote { background: var(--surface); border-radius: var(--r-md); padding: 24px; display: grid; gap: 16px; align-content: space-between; }
.quote p { font-size: 1.02rem; }
.quote footer { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 600 14px var(--f-mono); background: var(--accent-soft); color: var(--accent); flex: none; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }
.newsletter { background: var(--accent); color: var(--accent-ink); border-radius: var(--r-lg); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.newsletter p { opacity: .85; margin-top: 10px; }
.newsletter form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter .input { flex: 1; min-width: 200px; border-color: transparent; background: var(--accent-ink); color: var(--accent); }
.newsletter .btn { background: var(--accent-ink); color: var(--accent); }
.newsletter .input::placeholder { color: color-mix(in srgb, var(--accent) 60%, transparent); }
.newsletter .msg { flex-basis: 100%; font-size: 14px; }
@media (max-width: 760px) { .newsletter { grid-template-columns: 1fr; } }

/* ---------- Blog cards ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 24px; }
.post-card { display: grid; gap: 12px; text-decoration: none; }
.post-card .art { aspect-ratio: 16 / 10; max-width: 100%; border-radius: var(--r-md); }
.post-card .art svg { width: 50%; height: 60%; }
.post-card h3 { font-size: 1.1rem; }
.post-card:hover h3 { color: var(--accent); }
.post-card p { color: var(--muted); font-size: 15px; }

/* ---------- Page header / breadcrumbs ---------- */
.page-head { padding-block: clamp(28px, 4vw, 48px) 8px; }
.page-head p { color: var(--muted); max-width: 60ch; margin-top: 10px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 14px; list-style: none; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* ---------- Shop ---------- */
.shop { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 36px; align-items: start; }
.filters { position: sticky; top: 104px; display: grid; gap: 24px; }
.filters h3 { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 500; margin-bottom: 10px; }
.filters .opts { display: grid; gap: 8px; }
.filters .opts .count { margin-left: auto; font: 12px var(--f-mono); color: var(--muted); }
.range-wrap { display: grid; gap: 10px; }
.range-wrap input[type=range] { width: 100%; accent-color: var(--accent); }
.range-vals { display: flex; justify-content: space-between; font: 13px var(--f-mono); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 18px; }
.toolbar .count { color: var(--muted); font-size: 14px; margin-right: auto; }
.toolbar .select { width: auto; min-height: 40px; }
.view-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.view-toggle button { border: 0; background: none; width: 34px; height: 32px; border-radius: 999px; cursor: pointer; display: grid; place-items: center; }
.view-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.view-toggle svg { width: 16px; height: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface-2); border: 0; font-size: 13px; cursor: pointer; }
.chip:hover { background: var(--accent-soft); }
.filter-btn { display: none; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 36px; flex-wrap: wrap; }
.pager button { min-width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line); background: none; cursor: pointer; font-family: var(--f-mono); }
.pager button[aria-current="page"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.no-results { padding: 48px 0; text-align: center; color: var(--muted); }
@media (max-width: 900px) {
  .shop { grid-template-columns: 1fr; }
  .filter-btn { display: inline-flex; }
  .filters { position: fixed; top: 0; bottom: 0; left: 0; z-index: 61; width: min(340px, 90%); background: var(--surface); padding: 20px; overflow-y: auto; transform: translateX(-100%); transition: transform .3s; align-content: start; }
  .filters.open { transform: none; }
}
.filters .close-filters { display: none; }
@media (max-width: 900px) { .filters .close-filters { display: inline-flex; } }

/* ---------- Product detail ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.gallery { display: grid; gap: 12px; position: sticky; top: 104px; }
.gallery-main { position: relative; aspect-ratio: 1/1; max-width: 100%; border-radius: var(--r-lg); overflow: hidden; cursor: zoom-in; }
.gallery-main .art { position: absolute; inset: 0; }
.gallery-main .art svg { transition: transform .2s; }
.gallery-main.zoom .art svg { transform: scale(1.8); }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.thumbs button { aspect-ratio: 1/1; border-radius: var(--r-sm); border: 2px solid transparent; padding: 0; overflow: hidden; cursor: pointer; background: none; }
.thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.thumbs .art { width: 100%; height: 100%; }
.pdp-info { display: grid; gap: 18px; }
.pdp-info h1 { font-size: var(--step-3); }
.pdp-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pdp-price .price { font-size: var(--step-2); }
.save { font: 600 13px var(--f-mono); color: var(--bad); }
.opt-group { display: grid; gap: 10px; }
.opt-group > span { font-size: 14px; font-weight: 600; }
.opt-group > span em { font-style: normal; font-weight: 400; color: var(--muted); }
.swatches, .pills { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }
.pill { padding: 10px 16px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 14px; }
.pill small { display: block; font: 12px var(--f-mono); color: var(--muted); }
.pill[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.stock { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.stock.low::before { background: var(--warn); }
.stock.out::before { background: var(--bad); }
.buy-row { display: flex; gap: 10px; flex-wrap: wrap; }
.buy-row .btn { flex: 1; min-width: 150px; }
.perks { display: grid; gap: 10px; padding: 16px; border-radius: var(--r-md); background: var(--surface); font-size: 14px; }
.perks div { display: flex; gap: 10px; align-items: center; }
.perks svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.tabs { margin-top: clamp(40px, 6vw, 72px); }
.tablist { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tablist button { border: 0; background: none; padding: 12px 16px; cursor: pointer; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tablist button[aria-selected="true"] { color: var(--ink); border-color: var(--ink); }
.tabpanel { padding-block: 24px; max-width: 78ch; }
.tabpanel p + p { margin-top: 12px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 38%; font-weight: 500; color: var(--muted); }
.spec-table td { font-family: var(--f-mono); font-size: 14px; }
.review { padding-block: 18px; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.review-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 14px; }
.rating-summary { display: flex; gap: 24px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.rating-summary b { font-family: var(--f-display); font-size: var(--step-3); }
.bars { display: grid; gap: 4px; font: 12px var(--f-mono); min-width: 220px; }
.bars div { display: grid; grid-template-columns: 24px 1fr 30px; gap: 8px; align-items: center; }
.bars .t { height: 6px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.bars .t i { display: block; height: 100%; background: var(--warn); }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; } .gallery { position: static; } }
.qv { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.qv .art { aspect-ratio: 1/1; max-width: 100%; }
.qv-body { padding: clamp(20px, 4vw, 36px); display: grid; gap: 14px; align-content: start; }
.qv-body h2 { font-size: var(--step-2); }
@media (max-width: 700px) { .qv { grid-template-columns: 1fr; } .qv .art { aspect-ratio: 16/11; } }

/* ---------- Cart & checkout pages ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.summary { background: var(--surface); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 12px; position: sticky; top: 104px; }
.summary h2 { font-size: var(--step-1); }
.promo { display: flex; gap: 8px; }
.promo .input { min-height: 42px; }
.promo-msg { font-size: 13px; }
.promo-msg.ok { color: var(--ok); }
.promo-msg.bad { color: var(--bad); }
.cart-page .line { grid-template-columns: 110px minmax(0, 1fr) auto; }
.cart-page .line .thumb { width: 110px; height: 110px; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } .summary { position: static; } }
@media (max-width: 520px) { .cart-page .line { grid-template-columns: 76px minmax(0, 1fr) auto; } .cart-page .line .thumb { width: 76px; height: 76px; } }
.steps { display: flex; gap: 8px; margin-bottom: 28px; list-style: none; padding: 0; flex-wrap: wrap; }
.steps li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.steps li + li::before { content: ""; width: 24px; height: 1px; background: var(--line); }
.steps .n { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font: 600 12px var(--f-mono); }
.steps li.active { color: var(--ink); font-weight: 600; }
.steps li.active .n { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.steps li.done .n { background: var(--ok); color: #fff; border-color: var(--ok); }
.step-panel { display: grid; gap: 18px; background: var(--surface); padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); }
.step-panel h2 { font-size: var(--step-2); }
.step-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.radio-cards { display: grid; gap: 10px; }
.radio-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md); cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.radio-card input { accent-color: var(--accent); width: 18px; height: 18px; }
.radio-card .rc-main { flex: 1; }
.radio-card .rc-main small { display: block; color: var(--muted); font-size: 13px; }
.radio-card .rc-price { font-family: var(--f-mono); font-weight: 600; }
.pay-detail { padding: 16px; background: var(--surface-2); border-radius: var(--r-md); display: grid; gap: 12px; font-size: 14px; }
.review-block { display: grid; gap: 4px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
.review-block b { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-family: var(--f-mono); color: var(--muted); font-weight: 500; }
.success { text-align: center; display: grid; gap: 16px; justify-items: center; max-width: 640px; margin-inline: auto; }
.success .tick { width: 72px; height: 72px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; }
.success .tick svg { width: 36px; height: 36px; }
.order-box { width: 100%; text-align: left; background: var(--surface); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 10px; }

/* ---------- Content pages ---------- */
.prose { max-width: 70ch; display: grid; gap: 16px; }
.prose h2 { font-size: var(--step-2); margin-top: 16px; }
.prose h3 { margin-top: 8px; }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.value { background: var(--surface); border-radius: var(--r-md); padding: 24px; display: grid; gap: 8px; }
.value p { color: var(--muted); font-size: 15px; }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; border-block: 1px solid var(--line); padding-block: 28px; }
.stat-row b { display: block; font-family: var(--f-display); font-size: var(--step-3); }
.stat-row span { color: var(--muted); font-size: 14px; }
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.member { display: grid; gap: 10px; }
.member .art { aspect-ratio: 1/1; max-width: 100%; border-radius: var(--r-md); font: 600 2rem var(--f-display); color: var(--ink); }
.member span { color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } .stat-row, .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-card { background: var(--surface); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 18px; }
.contact-card dl { margin: 0; display: grid; gap: 14px; }
.contact-card dt { font: 500 12px var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.contact-card dd { margin: 2px 0 0; }
.copy-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.map-card { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16/10; max-width: 100%; background: var(--surface-2); display: block; text-decoration: none; }
.map-card svg { width: 100%; height: 100%; }
.map-card span { position: absolute; left: 12px; bottom: 12px; background: var(--surface); padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.hours { width: 100%; border-collapse: collapse; font-size: 14px; }
.hours td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-family: var(--f-mono); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.faq-list { display: grid; gap: 10px; max-width: 820px; }
.faq-group h2 { font-size: var(--step-1); margin: 24px 0 12px; }
details.acc { background: var(--surface); border-radius: var(--r-md); }
details.acc summary { cursor: pointer; list-style: none; padding: 18px 20px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: "+"; font: 400 1.4rem/1 var(--f-mono); transition: transform .2s; }
details.acc[open] summary::after { transform: rotate(45deg); }
details.acc .acc-body { padding: 0 20px 18px; color: var(--muted); }
.policy-tabs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 36px; align-items: start; }
.policy-nav { display: grid; gap: 4px; position: sticky; top: 104px; }
.policy-nav button { text-align: left; padding: 10px 14px; border-radius: var(--r-sm); border: 0; background: none; cursor: pointer; font-weight: 500; }
.policy-nav button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
@media (max-width: 760px) { .policy-tabs { grid-template-columns: 1fr; } .policy-nav { position: static; display: flex; overflow-x: auto; } .policy-nav button { white-space: nowrap; } }
.acct { max-width: 480px; margin-inline: auto; }
.acct-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface-2); border-radius: 999px; padding: 4px; margin-bottom: 20px; }
.acct-tabs button { border: 0; background: none; padding: 10px; border-radius: 999px; cursor: pointer; font-weight: 600; }
.acct-tabs button[aria-selected="true"] { background: var(--surface); box-shadow: var(--shadow); }
.order-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.order-table th, .order-table td { padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.order-table td.mono { white-space: nowrap; }
.status { font: 600 11px var(--f-mono); text-transform: uppercase; letter-spacing: .08em; padding: 4px 8px; border-radius: 4px; background: var(--accent-soft); color: var(--accent); }
.table-scroll { overflow-x: auto; }
.post-hero .art { aspect-ratio: 21/9; max-width: 100%; border-radius: var(--r-lg); margin-block: 24px; }
.post-hero .art svg { width: 30%; height: 70%; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter-pills button { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: none; cursor: pointer; }
.filter-pills button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.nf { text-align: center; display: grid; gap: 18px; justify-items: center; padding-block: 80px; }
.nf b { font-family: var(--f-display); font-size: clamp(5rem, 18vw, 11rem); line-height: 1; letter-spacing: -.06em; }

/* ---------- Footer ---------- */
.site-footer { margin-top: clamp(48px, 7vw, 96px); background: var(--surface); border-top: 1px solid var(--line); padding-top: 56px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-grid h3 { font: 500 12px var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--accent); }
.foot-about p { color: var(--muted); margin-top: 14px; max-width: 36ch; font-size: 15px; }
.socials { display: flex; gap: 6px; margin-top: 16px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); }
.socials svg { width: 16px; height: 16px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 24px; margin-top: 48px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); align-items: center; }
.pay-icons { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-icons span { font: 600 11px var(--f-mono); padding: 5px 9px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }

/* ---------- Motion ---------- */
.reveal { transition: opacity .6s, transform .6s; }
.reveal.pre { transform: translateY(14px); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal.pre { opacity: 1; transform: none; }
}

/* ============================================================
   Modern layer — refined surfaces, gradients, depth, motion
   ============================================================ */
:root {
  --accent-2: #00B8D9;
  --grad: linear-gradient(135deg, var(--accent), var(--accent-2));
  --shadow-lg: 0 2px 4px rgba(18,21,18,.05), 0 24px 56px -12px rgba(18,21,18,.22);
  --ring: 0 0 0 1px color-mix(in srgb, var(--line) 80%, transparent);
}
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3 { letter-spacing: -.03em; font-weight: 700; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 500; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }
.section-head h2 { margin-top: 8px; }

/* Buttons */
.btn { min-height: 48px; padding: 0 26px; letter-spacing: -.005em; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-primary:hover { filter: none; transform: translateY(-2px); box-shadow: 0 14px 28px -10px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn-ghost { background: color-mix(in srgb, var(--surface) 60%, transparent); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.icon-btn { transition: background .2s, transform .15s; }
.icon-btn:active { transform: scale(.92); }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: clip; padding-block: clamp(40px, 7vw, 96px); }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: min(820px, 90vw); aspect-ratio: 1; z-index: -1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 24%, transparent), transparent 70%); filter: blur(30px);
}
.hero::after {
  content: ""; position: absolute; inset: auto auto -30% -10%; width: min(600px, 80vw); aspect-ratio: 1; z-index: -1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent-2) 16%, transparent), transparent 70%); filter: blur(40px);
}
.hero .eyebrow { padding: 6px 14px 6px 12px; border-radius: 999px; background: var(--surface); box-shadow: var(--ring); font-size: 12px; }
.hero .eyebrow::before { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 25%, transparent); }
.hero h1 em { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats { padding-top: 28px; border-top: 1px solid var(--line); }
.hero-stage .art { box-shadow: var(--shadow-lg); background: linear-gradient(160deg, hsl(var(--h, 220) var(--ms) calc(var(--ml) + 4%)), hsl(var(--h, 220) var(--ms) calc(var(--ml) - 8%))); }
.spec-chip { backdrop-filter: blur(12px); background: color-mix(in srgb, var(--surface) 85%, transparent); border: 1px solid var(--line); }

/* Trust strip */
.trust { background: var(--surface); border-block: 1px solid var(--line); }
.trust-item svg { padding: 6px; width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); }

/* Cards */
.card { padding: 10px; margin: -10px; border-radius: var(--r-lg); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, background .3s; }
.card:hover { transform: translateY(-4px); background: var(--surface); box-shadow: var(--shadow-lg); }
.card-media { border-radius: calc(var(--r-lg) - 6px); }
.tag { border-radius: 999px; padding: 6px 10px; box-shadow: var(--ring); }
.cat-tile { border-radius: var(--r-lg); box-shadow: var(--ring); transition: box-shadow .3s, transform .3s; }
.cat-tile:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.post-card .art, .story-figure .art { box-shadow: var(--ring); }
.post-card { transition: transform .3s; } .post-card:hover { transform: translateY(-3px); }
.quote, .value, .contact-card, .step-panel, .summary, .order-box { box-shadow: var(--ring); border-radius: var(--r-lg); }
.quote { transition: transform .3s, box-shadow .3s; }
.quote:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

/* Deal & newsletter */
.deal { border-radius: 28px; background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--accent) 35%, var(--ink)), var(--ink) 60%); box-shadow: var(--shadow-lg); }
.newsletter { border-radius: 28px; background: var(--grad); color: #fff; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.newsletter::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,.12); }
.newsletter > * { position: relative; z-index: 1; }
.newsletter .input { background: #fff; color: #121512; }
.newsletter .input::placeholder { color: #6b7068; }
.newsletter .btn { background: var(--ink); color: #fff; }

/* Mega menu */
.mega { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 12px; }
.mega a { border-radius: var(--r-md); }

/* Footer */
.site-footer { background: var(--ink); color: var(--bg); border-top: 0; padding-top: 72px; border-radius: 32px 32px 0 0; }
.site-footer .logo svg rect { fill: var(--bg); } .site-footer .logo svg path { fill: var(--ink); }
.site-footer .foot-grid h3, .site-footer .foot-about p, .site-footer .foot-bottom, .site-footer .logo small { color: color-mix(in srgb, var(--bg) 60%, transparent); }
.site-footer .foot-grid a:hover { color: #fff; text-decoration: underline; }
.site-footer .foot-bottom, .site-footer .socials a, .site-footer .pay-icons span { border-color: color-mix(in srgb, var(--bg) 18%, transparent); }
.site-footer .pay-icons span { color: var(--bg); }
.site-footer .socials a:hover { background: var(--bg); color: var(--ink); }

/* Floating WhatsApp, toasts, inputs */
.wa-float { box-shadow: 0 10px 28px -6px rgba(31,168,85,.6); }
.input, .select, textarea.input { border-radius: 12px; }
.toast { border-radius: 14px; backdrop-filter: blur(10px); }

/* Scroll reveal polish */
.cards > *, .cat-grid > *, .posts > *, .quotes > * { animation: rise .6s cubic-bezier(.2,.8,.2,1) both; }
.cards > *:nth-child(2), .cat-grid > *:nth-child(2) { animation-delay: .05s; }
.cards > *:nth-child(3), .cat-grid > *:nth-child(3) { animation-delay: .1s; }
.cards > *:nth-child(4), .cat-grid > *:nth-child(4) { animation-delay: .15s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* Mobile header tidy */
@media (max-width: 640px) {
  .header-row { min-height: 0; padding-block: 10px; }
  .hero-stage .art svg { width: 62%; height: 62%; }
}
@media (max-width: 640px) { .announce .hide-sm { display: none; } }

/* ============================================================
   Sliders — compact hero carousel, category chips, product rails
   ============================================================ */
.hero { padding-block: clamp(16px, 2.5vw, 28px) clamp(20px, 3vw, 36px); }
.hero::before, .hero::after { display: none; }
.hs { position: relative; border-radius: 28px; overflow: hidden; isolation: isolate; box-shadow: var(--ring);
  background: radial-gradient(90% 140% at 100% 0%, color-mix(in srgb, var(--accent) 18%, var(--surface)), var(--surface) 62%); }
.hs-slides { display: grid; }
.hs-slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 24px;
  padding: clamp(24px, 4vw, 48px) clamp(24px, 5vw, 64px) clamp(56px, 6vw, 68px); min-height: clamp(300px, 34vw, 400px);
  opacity: 0; visibility: hidden; transform: translateX(24px); transition: opacity .6s, transform .6s, visibility .6s; }
.hs-slide.active { opacity: 1; visibility: visible; transform: none; }
.hs-copy { display: grid; gap: 14px; justify-items: start; }
.hs-copy h1 { font-size: clamp(1.7rem, 1.2rem + 2.4vw, 3.1rem); letter-spacing: -.04em; line-height: 1.06; }
.hs-copy h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hs-text { color: var(--muted); max-width: 44ch; font-size: var(--step-0); }
.hs-price { display: flex; align-items: baseline; gap: 8px; font-size: 1.15rem; }
.hs-copy .hero-cta { margin-top: 4px; }
.hs-copy .btn { min-height: 44px; padding: 0 22px; }
.hs-stage { display: grid; place-items: center; height: clamp(200px, 26vw, 300px); }
.hs-stage .art { background: transparent !important; box-shadow: none; width: 100%; height: 100%; }
.hs-stage .art svg { width: auto; height: 100%; max-width: 100%; filter: drop-shadow(0 24px 30px rgba(0,0,0,.18)); }
.hs-slide.active .hs-stage .art svg { animation: float 6s ease-in-out infinite; }
.hs-ctrl { position: absolute; left: clamp(24px, 5vw, 64px); bottom: 18px; display: flex; align-items: center; gap: 12px; z-index: 2; }
.hs-arrow, .slider-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s, transform .15s, opacity .2s; }
.hs-arrow:hover, .slider-btn:hover:not([disabled]) { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.hs-arrow svg, .slider-btn svg { width: 18px; height: 18px; }
.hs-dots { display: flex; gap: 8px; }
.hs-dot { width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; background: color-mix(in srgb, var(--ink) 25%, transparent); cursor: pointer; transition: width .3s, background .3s; }
.hs-dot.active { width: 28px; background: var(--accent); }
@media (max-width: 760px) {
  .hs-slide { grid-template-columns: 1fr; gap: 8px; padding: 24px 20px 64px; min-height: 0; }
  .hs-stage { order: -1; height: 150px; }
  .hs-text { display: none; }
  .hs-ctrl { left: 20px; }
}

/* Category chips: slim horizontal rail */
.slider { position: relative; }
.slider-track { display: flex; gap: clamp(14px, 2vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 14px 10px 24px; margin: -14px -10px -24px; }
.slider-track::-webkit-scrollbar { display: none; }
.slider-track > * { flex: 0 0 auto; scroll-snap-align: start; }
#best > .card { flex: 0 0 clamp(200px, 22vw, 262px); }
.slider-btn { position: absolute; top: 40%; z-index: 3; box-shadow: var(--shadow); width: 44px; height: 44px; }
.slider-btn.prev { left: -14px; } .slider-btn.next { right: -14px; }
.slider-btn[disabled] { opacity: 0; pointer-events: none; }
@media (max-width: 760px) { .slider-btn { display: none; } }
#cats { gap: 12px; }
.cat-track + .slider-btn, .slider:has(.cat-track) .slider-btn { top: 50%; translate: 0 -50%; }
.cat-chip { display: flex; align-items: center; gap: 12px; padding: 8px 20px 8px 8px; border-radius: 999px; background: var(--surface); box-shadow: var(--ring); text-decoration: none; white-space: nowrap; transition: transform .25s, box-shadow .25s, background .25s; }
.cat-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow); background: var(--accent-soft); }
.cat-chip b { display: block; font-size: .95rem; line-height: 1.2; }
.cat-chip small { color: var(--muted); font: 12px var(--f-mono); }
.cat-ico { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex: none; display: block; }
.cat-ico .art { width: 100%; height: 100%; }
.cat-ico .art svg { width: 78%; height: 78%; }

/* Back to top */
.to-top { position: fixed; z-index: 30; right: 20px; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .25s, visibility .25s, background .2s, color .2s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: translateY(-3px); }
.to-top svg { width: 22px; height: 22px; }

/* Tighter vertical rhythm */
.section { padding-block: clamp(24px, 3.5vw, 44px); }
.section-head { margin-bottom: 18px; }
.hero { padding-block: clamp(14px, 2vw, 22px) clamp(16px, 2vw, 24px); }
.site-footer { margin-top: clamp(28px, 4vw, 48px); padding-top: 48px; }
.foot-bottom { margin-top: 32px; }
.slider-track { scroll-snap-type: x proximity; }

/* ============================================================
   Page transitions: simple loader + staggered content rise
   ============================================================ */
body { animation: none; }
html { --d: .05s; }
html.pt-in { --d: .42s; }

/* Leaving / arriving: a light veil with a small spinner (no logo or image) */
html.pt-out::before, html.pt-in::before { content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(2px); }
html.pt-out::after, html.pt-in::after {
  content: ""; position: fixed; left: 50%; top: 50%; z-index: 10000; width: 44px; height: 44px; margin: -22px 0 0 -22px; pointer-events: none;
  border: 4px solid color-mix(in srgb, var(--accent) 22%, transparent); border-top-color: var(--accent); border-radius: 50%; animation: ptSpin .7s linear infinite;
}
html.pt-out::before { animation: ptFadeIn .18s ease-out both; }
html.pt-out::after { animation: ptSpin .7s linear infinite, ptFadeIn .18s ease-out both; }
html.pt-in::before { animation: ptFadeOut .35s .1s ease-out both; }
html.pt-in::after { animation: ptSpin .7s linear infinite, ptFadeOut .25s .05s ease-out both; }
@keyframes ptSpin { to { transform: rotate(360deg); } }
@keyframes ptFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes ptFadeOut { from { opacity: 1; } to { opacity: 0; } }

/* Page content rises in, section by section */
main > * { animation: pageRise .8s var(--d) cubic-bezier(.2, .8, .2, 1) backwards; }
main > *:nth-child(2) { animation-delay: calc(var(--d) + .08s); }
main > *:nth-child(3) { animation-delay: calc(var(--d) + .16s); }
main > *:nth-child(4) { animation-delay: calc(var(--d) + .24s); }
main > *:nth-child(n+5) { animation-delay: calc(var(--d) + .3s); }
.site-footer { animation: pageRise .8s calc(var(--d) + .3s) cubic-bezier(.2, .8, .2, 1) backwards; }
@keyframes pageRise { from { opacity: 0; transform: translateY(28px); } }

@media (prefers-reduced-motion: reduce) {
  html.pt-in::before, html.pt-in::after, html.pt-out::before, html.pt-out::after { display: none; }
}

/* The hidden attribute must always win over component display rules
   (checkout address box, payment detail panels) */
[hidden] { display: none !important; }

/* Phones: keep the fixed header compact and the floating buttons out of the way */
@media (max-width: 640px) {
  .search { overflow: visible; max-height: 60px; transition: max-height .25s, opacity .2s, margin .25s; }
  .site-header.scrolled .search { max-height: 0; opacity: 0; pointer-events: none; margin: 0; }
  .site-header.scrolled .header-row { padding-block: 6px; }
  .wa-float { width: 46px; height: 46px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .wa-float svg { width: 24px; height: 24px; }
  .to-top { width: 40px; height: 40px; right: 16px; bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  .site-footer { padding-bottom: 56px; }
  .toasts { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Header account menu ---------- */
.acct-menu { position: relative; }
.acct-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); cursor: pointer; font-weight: 600; font-size: .9rem; margin-inline: 4px; color: inherit; font-family: inherit; }
.acct-btn:hover { border-color: var(--ink); }
.acct-btn svg { width: 20px; height: 20px; }
.acct-btn.signed { padding-left: 5px; }
.avatar { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font: 700 12px var(--f-display); }
.avatar.lg { width: 44px; height: 44px; font-size: 15px; }
.acct-panel { position: absolute; right: 0; top: calc(100% + 10px); width: 290px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); padding: 14px; z-index: 40; display: grid; gap: 4px; }
.acct-panel[hidden] { display: none; }
.acct-panel p { color: var(--muted); font-size: 14px; margin: 0 0 8px; }
.acct-hi { font: 700 1.05rem var(--f-display); }
.acct-panel > a:not(.btn), .acct-out { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--r-sm); text-decoration: none; font-size: 14.5px; border: 0; background: none; cursor: pointer; text-align: left; width: 100%; color: inherit; font-family: inherit; }
.acct-panel > a:not(.btn):hover, .acct-out:hover { background: var(--surface-2); }
.acct-panel > a svg { width: 18px; height: 18px; color: var(--muted); }
.acct-out { color: var(--bad) !important; font-weight: 600; margin-top: 4px; }
.acct-who { display: flex; align-items: center; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.acct-who small { display: block; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.acct-points { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent); font-size: 13px; margin-bottom: 4px; }
.acct-sep { height: 1px; background: var(--line); margin: 8px 0; }
.acct-panel .btn + .btn { margin-top: 6px; }
@media (max-width: 640px) { .acct-label { display: none; } .acct-btn { padding: 0 10px; } .acct-btn.signed { padding-left: 5px; padding-right: 5px; } .acct-panel { position: fixed; right: 12px; left: 12px; top: 64px; width: auto; } }
.mega.drop { width: 340px; grid-template-columns: 1fr; }
.mega.drop a { display: block; padding: 10px 12px; }
.mega.drop b { display: block; font-size: .95rem; }

/* ---------- Account / tracking ---------- */
.auth-grid { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; max-width: 1000px; margin-inline: auto; }
.auth-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 32px); }
.auth-card form { display: grid; gap: 14px; }
.perks ul { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 16px; }
.perks li { display: flex; gap: 14px; align-items: flex-start; }
.perks li svg { width: 24px; height: 24px; flex: none; color: var(--accent); margin-top: 2px; }
.perks small { display: block; color: var(--muted); }
.pw { position: relative; }
.pw .input { padding-right: 48px; }
.pw-toggle { position: absolute; right: 4px; top: 50%; translate: 0 -50%; border: 0; background: none; cursor: pointer; padding: 8px; color: var(--muted); }
.pw-toggle svg { width: 20px; height: 20px; }
.acct-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: start; }
.acct-nav { display: grid; gap: 4px; position: sticky; top: 90px; }
.acct-nav a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: var(--r-sm); text-decoration: none; font-weight: 500; }
.acct-nav a svg { width: 19px; height: 19px; color: var(--muted); }
.acct-nav a:hover { background: var(--surface-2); }
.acct-nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.acct-nav a[aria-current="page"] svg { color: var(--accent); }
.count-pill { margin-left: auto; font: 600 11px var(--f-mono); background: var(--surface-2); padding: 2px 8px; border-radius: 99px; color: var(--muted); }
.acct-main { display: grid; gap: 16px; min-width: 0; }
.acct-h { font-size: var(--step-1); margin-top: 8px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; display: grid; gap: 2px; }
.tile b { font: 700 1.7rem var(--f-display); }
.tile span { color: var(--muted); font-size: 13px; }
.quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.quick a { display: flex; align-items: center; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; font-weight: 500; background: var(--surface); }
.quick a:hover { border-color: var(--ink); }
.quick svg { width: 20px; height: 20px; color: var(--accent); }
.ord { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.ord-head { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 14px 16px; }
.ord-head small { display: block; color: var(--muted); font-size: 12.5px; }
.ord summary { padding: 10px 16px; cursor: pointer; font-weight: 600; font-size: 14px; color: var(--accent); border-top: 1px solid var(--line); }
.ord-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; padding: 6px 16px 18px; }
.ord-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ret-form { display: grid; gap: 8px; margin-top: 12px; }
.ret-form[hidden] { display: none; }
.s-completed { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.s-cancelled, .s-refunded { background: color-mix(in srgb, var(--bad) 14%, transparent); color: var(--bad); }
.s-pending { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); }
.tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.tl li { display: flex; gap: 14px; padding-bottom: 18px; position: relative; color: var(--muted); }
.tl li:not(:last-child)::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
.tl li.done:not(:last-child)::before { background: var(--ok); }
.tl .dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; font: 600 12px var(--f-mono); background: var(--surface-2); border: 2px solid var(--line); }
.tl li.done .dot { background: var(--ok); border-color: var(--ok); color: #fff; }
.tl li.now .dot { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 4px var(--accent-soft); }
.tl li.now, .tl li.done { color: var(--ink); }
.tl b { display: block; font-size: 14.5px; }
.tl small { color: var(--muted); font-size: 12.5px; }
.tl-flag { padding: 10px 12px; border-radius: var(--r-sm); background: color-mix(in srgb, var(--bad) 10%, transparent); font-size: 14px; margin-bottom: 12px; }
.tl-flag.warn { background: color-mix(in srgb, var(--warn) 14%, transparent); }
.tl-log { list-style: none; padding: 0; display: grid; gap: 8px; }
.tl-log small { display: block; color: var(--muted); }
.addr-list { display: grid; gap: 10px; }
.addr { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.addr span, .addr small { display: block; } .addr small { color: var(--muted); }
.tk { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.tk small { display: block; color: var(--muted); } .tk p { grid-column: 1 / -1; margin: 0; font-size: 14px; }
.track-form { display: grid; gap: 14px; margin-bottom: 24px; }
@media (max-width: 860px) {
  .auth-grid, .acct-layout, .ord-body { grid-template-columns: 1fr; }
  .acct-nav { position: static; display: flex; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  .acct-nav a { white-space: nowrap; border: 1px solid var(--line); border-radius: 99px; padding: 8px 14px; }
  .ord-head { grid-template-columns: 1fr auto; } .ord-head .mono { grid-column: 1 / -1; }
}

/* ---------- Services ---------- */
.svc-list { display: grid; gap: 20px; padding-block: 24px 40px; }
.svc { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 24px; padding: clamp(20px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); scroll-margin-top: 110px; }
.svc-icon { width: 64px; height: 64px; border-radius: var(--r-md); background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.svc-icon svg { width: 30px; height: 30px; }
.svc h2 { font-size: var(--step-2); }
.svc p { color: var(--muted); max-width: 60ch; margin-block: 8px 14px; }
.svc ul { padding-left: 20px; display: grid; gap: 6px; margin-bottom: 20px; }
.svc-quote { max-width: 720px; padding-bottom: 80px; scroll-margin-top: 100px; }
.svc-quote form { display: grid; gap: 14px; }
@media (max-width: 560px) { .svc { grid-template-columns: 1fr; } }
.perks b { display: block; }
.main-nav > a, .main-nav > .has-mega > a { padding-inline: 11px; }
.search { min-width: 190px; }
@media (max-width: 1180px) and (min-width: 981px) { .acct-btn:not(.signed) .acct-label { display: none; } .acct-btn { padding: 0 10px; } }
.main-nav a, .acct-btn { white-space: nowrap; }
.main-nav { flex: none; }
.search { min-width: 120px; }
.logo { flex: none; }
@media (max-width: 1180px) { .logo small { display: none; } }
@media (max-width: 1100px) { .search { min-width: 0; flex: 1 1 90px; } .header-icons [data-theme-toggle] { display: none; } .main-nav > a, .main-nav > .has-mega > a { padding-inline: 9px; } }

/* ---------- Customer account: professional dashboard ---------- */
.acct-hero { position: relative; overflow: hidden; border-radius: 24px; padding: clamp(22px, 3.5vw, 40px); margin-bottom: 28px; color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 24px 32px; align-items: center;
  background: radial-gradient(900px 340px at 105% -20%, rgba(108,155,255,.55), transparent 60%), radial-gradient(600px 300px at -10% 120%, rgba(24,169,153,.35), transparent 60%), linear-gradient(135deg, #0F1630 0%, #17245A 100%); box-shadow: 0 18px 50px rgba(15,22,48,.25); }
.acct-hero .eyebrow { color: rgba(255,255,255,.65); }
.ah-id { display: flex; align-items: center; gap: 20px; min-width: 0; }
.ah-id h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); color: #fff; margin: 4px 0 2px; }
.ah-id p { margin: 0; color: rgba(255,255,255,.75); font-size: 14px; overflow-wrap: anywhere; }
.avatar.xl { width: 72px; height: 72px; font-size: 24px; flex: none; background: linear-gradient(135deg, #6C9BFF, #18A999); color: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.18); }
.ah-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: flex-end; }
.ah-btn { background: #fff; color: #0F1630; border-color: #fff; }
.ah-btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.ah-btn.ghost:hover { border-color: #fff; }
.ah-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.14); border-radius: 16px; overflow: hidden; }
.ah-stats div { background: rgba(10,16,40,.45); padding: 16px 18px; display: grid; gap: 2px; backdrop-filter: blur(4px); }
.ah-stats b { font: 700 clamp(1.1rem, 1rem + .7vw, 1.6rem) var(--f-display); letter-spacing: -.01em; overflow-wrap: anywhere; }
.ah-stats span { font-size: 12.5px; color: rgba(255,255,255,.7); }
.tier { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 99px; font: 700 11.5px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.16); color: #fff; }
.tier.t-silver { background: #DDE2EA; color: #2B3340; } .tier.t-gold { background: #F6D77A; color: #5A4300; } .tier.t-plat { background: #CFE0FF; color: #14308A; }
.panel .tier.t-base { background: var(--surface-2); color: var(--muted); }

.acct-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 28px; }
.acct-side { display: grid; gap: 16px; position: sticky; top: 90px; }
.acct-nav { position: static; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 8px; box-shadow: var(--shadow); }
.acct-nav a { border-radius: 12px; padding: 12px 14px; }
.acct-nav a[aria-current="page"] { background: var(--ink); color: var(--bg); }
.acct-nav a[aria-current="page"] svg { color: var(--bg); }
.acct-nav a[aria-current="page"] .count-pill { background: rgba(255,255,255,.2); color: inherit; }
.help-card { border-radius: 18px; padding: 18px; background: var(--accent-soft); display: grid; gap: 8px; }
.help-card p { margin: 0; font-size: 13.5px; color: var(--muted); }
.help-phone { text-align: center; font-size: 13px; text-decoration: none; color: var(--muted); }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(16px, 2.2vw, 24px); box-shadow: var(--shadow); display: grid; gap: 14px; min-width: 0; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.panel-head h2 { font-size: 1.05rem; letter-spacing: -.01em; }
.panel-head a { font-size: 13.5px; font-weight: 600; text-decoration: none; color: var(--accent); }
.ov-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.ov-main, .ov-side { display: grid; gap: 20px; min-width: 0; }
.rlist { display: grid; }
.rrow { display: grid; grid-template-columns: 1.1fr 1fr auto auto; gap: 12px; align-items: center; padding: 12px 4px; border-top: 1px solid var(--line); text-decoration: none; font-size: 14px; }
.rrow:first-child { border-top: 0; } .rrow:hover { background: var(--surface-2); border-radius: 10px; }
.loy-pts { display: flex; align-items: baseline; gap: 8px; } .loy-pts b { font: 800 2.4rem var(--f-display); letter-spacing: -.03em; } .loy-pts span { color: var(--muted); }
.bar { height: 10px; border-radius: 99px; background: var(--surface-2); overflow: hidden; } .bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #18A999); }
.quick.v { grid-template-columns: 1fr; gap: 0; }
.quick.v a { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; padding: 13px 4px; }
.quick.v a:first-child { border-top: 0; } .quick.v a:hover { background: var(--surface-2); border-radius: 10px; }
.quick.v a > svg:last-child { margin-left: auto; width: 16px; height: 16px; color: var(--muted); }

/* order cards */
.ord { border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.ord-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 16px 18px 6px; }
.thumbs { display: flex; } .ord-thumb { position: relative; width: 52px; height: 52px; border-radius: 14px; overflow: hidden; border: 2px solid var(--surface); margin-left: -14px; background: var(--surface-2); }
.thumbs .ord-thumb:first-child { margin-left: 0; } .ord-thumb .art { position: absolute; inset: 0; } .ord-thumb.more { display: grid; place-items: center; font: 600 12px var(--f-mono); color: var(--muted); }
.ord-id { min-width: 0; } .ord-id small { display: block; color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ord-total { font-size: 1rem; }
.ord-head { display: none; }
.mt { display: flex; padding: 14px 24px 18px; }
.mt span { flex: 1; position: relative; display: grid; justify-items: center; gap: 6px; color: var(--muted); font-size: 11.5px; }
.mt span i { width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line); position: relative; z-index: 1; }
.mt span::before { content: ""; position: absolute; top: 5px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.mt span:first-child::before { display: none; }
.mt span.done::before, .mt span.now::before { background: var(--ok); }
.mt span.done i { background: var(--ok); border-color: var(--ok); } .mt span.now i { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.mt span.now { color: var(--ink); font-weight: 700; } .mt span.done { color: var(--ink); }
.mt em { font-style: normal; text-align: center; }
.status { border-radius: 99px; padding: 5px 11px; }
.ord summary { background: var(--surface-2); border-top: 0; padding: 12px 18px; }
.ord-body { padding: 18px; }

/* forms & lists inside the account area */
.acct-main .step-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: clamp(18px, 2.4vw, 28px); display: grid; gap: 14px; }
.acct-main .step-panel h3 { font-size: 1.05rem; }
.addr-list { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.addr { border-radius: 16px; box-shadow: var(--shadow); align-items: flex-start; flex-direction: column; }
.tk { border-radius: 16px; }
.filter-pills { margin-bottom: 4px; }
@media (max-width: 980px) { .ov-grid { grid-template-columns: 1fr; } .acct-hero { grid-template-columns: 1fr; } .ah-actions { justify-content: flex-start; } }
@media (max-width: 860px) {
  .acct-layout { grid-template-columns: 1fr; } .acct-side { position: static; } .help-card { display: none; }
  .acct-nav { display: flex; overflow-x: auto; border-radius: 99px; padding: 6px; gap: 4px; } .acct-nav a { border: 0; white-space: nowrap; border-radius: 99px; padding: 9px 14px; }
  .ah-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .ord-top { grid-template-columns: auto minmax(0, 1fr) auto; } .ord-total { grid-column: 2 / -1; }
  .mt { padding-inline: 8px; } .mt em { font-size: 10.5px; } .ah-id { align-items: flex-start; } .avatar.xl { width: 56px; height: 56px; font-size: 19px; }
  .rrow { grid-template-columns: 1fr auto; } .rrow span:nth-child(2) { display: none; }
}

/* Product photos */
.art[data-photo] { background: #fff; }
.art[data-photo] img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-media .art[data-photo], .gallery-main .art[data-photo] { border-radius: inherit; }
.ord-thumb .art[data-photo] img, .cat-thumb .art[data-photo] img { object-fit: cover; }

/* Shop list view: image on the left, details and price stacked on the right */
.cards.list { min-width: 0; }
.cards.list .card { grid-template-columns: 180px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 24px; row-gap: 8px; align-items: start; min-width: 0; }
.cards.list .card-media { grid-column: 1; grid-row: 1 / span 2; width: 180px; }
.cards.list .card-meta { grid-column: 2; grid-row: 1; align-self: end; }
.cards.list .card-foot { grid-column: 2; grid-row: 2; margin-top: 0; align-self: start; justify-content: flex-start; gap: 18px; flex-wrap: wrap; }
@media (max-width: 520px) { .cards.list .card { grid-template-columns: 110px minmax(0, 1fr); } .cards.list .card-media { width: 110px; } }

/* Brand logo (image) */
.logo-img { display: block; height: 34px; width: auto; max-width: 100%; }
.site-header .logo-img { height: 36px; }
.drawer-head .logo-img { height: 32px; }
.site-footer .logo-img { height: 38px; background: #fff; padding: 6px 12px; border-radius: 10px; box-sizing: content-box; }
:root[data-theme="dark"] .site-header .logo-img, :root[data-theme="dark"] .drawer-head .logo-img { background: #fff; padding: 4px 10px; border-radius: 9px; box-sizing: content-box; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .site-header .logo-img, :root:not([data-theme="light"]) .drawer-head .logo-img { background: #fff; padding: 4px 10px; border-radius: 9px; box-sizing: content-box; } }
@media (max-width: 640px) { .site-header .logo-img { height: 30px; } }
.site-header .logo-img { height: 44px; }
@media (max-width: 640px) { .site-header .logo-img { height: 34px; } }
@media (max-width: 1100px) and (min-width: 981px) { .site-header .logo-img { height: 38px; } }

/* Mobile menu: tidy rows, collapsible sub-menus with a plus / minus toggle */
.mobile-nav { padding: 6px 20px 28px; }
.mobile-nav a { border-bottom: 0; }
.mn-group, .mn-row { border-bottom: 1px solid var(--line); }
.mn-group .mn-row { border-bottom: 0; }
.mn-row { display: flex; align-items: center; }
.mn-row > a { flex: 1; display: block; padding: 16px 4px; font: 600 1.05rem var(--f-display); letter-spacing: -.01em; }
.mn-row > a[aria-current="page"] { color: var(--accent); }
.mn-toggle { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--ink); cursor: pointer; transition: background .2s, color .2s, transform .25s; }
.mn-toggle svg { width: 20px; height: 20px; }
.mn-toggle .v { transform-origin: center; transition: transform .25s, opacity .2s; }
.mn-group.open > .mn-row > .mn-toggle { background: var(--accent); color: var(--accent-ink); }
.mn-group.open > .mn-row > .mn-toggle .v { transform: scaleY(0); opacity: 0; }
.mobile-nav .sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.mobile-nav .sub > div { overflow: hidden; min-height: 0; }
.mn-group.open > .sub { grid-template-rows: 1fr; }
.mobile-nav .sub a { padding: 11px 14px; margin-left: 4px; border-left: 2px solid var(--line); font-weight: 500; font-size: .96rem; color: var(--muted); }
.mobile-nav .sub a:hover, .mobile-nav .sub a:active { color: var(--accent); border-left-color: var(--accent); }
.mn-group.open > .sub > div { padding-bottom: 12px; }
.mobile-nav > a, .mobile-nav #mobile-acct > a { display: block; padding: 16px 4px; font: 600 1.05rem var(--f-display); border-bottom: 1px solid var(--line); }
#mobile-acct { margin-top: 8px; padding-top: 8px; border-top: 2px solid var(--surface-2); }
#mobile-acct { margin-top: 0; padding-top: 0; border-top: 0; }
#mobile-acct:empty { display: none; }

/* Tighter page headers (breadcrumb + title) */
.page-head { padding-block: clamp(12px, 1.6vw, 20px) 0; }
.crumbs { margin-bottom: 8px; }
.page-head h1 { line-height: 1.1; }
.wrap.shop { padding-top: 8px !important; }

.pager { flex-wrap: wrap; }
.pg-gap { align-self: center; color: var(--muted); padding: 0 2px; }

/* Shop mega menu: grouped, compact */
.mega.cats { width: min(900px, 94vw); display: block; padding: 22px 24px 16px; left: -90px; }
.mega-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 28px; }
.mg ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 1px; }
.mega .mg-title { display: block; padding: 0 0 6px; border-bottom: 1px solid var(--line); font: 700 .8rem var(--f-display); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); border-radius: 0; }
.mega .mg-title:hover { background: none; color: var(--accent); }
.mega .mg li a { display: block; padding: 6px 8px; margin: 0 -8px; font-size: 14px; color: var(--muted); border-radius: 6px; }
.mega .mg li a:hover { background: var(--surface-2); color: var(--accent); }
.mega-foot { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.mega .mega-foot a { padding: 4px 0; font-weight: 600; font-size: 14px; color: var(--accent); }
.mega .mega-foot a:hover { background: none; text-decoration: underline; }
@media (max-width: 1180px) { .mega.cats { left: -140px; } .mega-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Shop sidebar: collapsible category groups */
.fgroups { display: grid; gap: 2px; }
.fgroup { border-bottom: 1px solid var(--line); }
.fgroup summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 2px; cursor: pointer; font-weight: 600; font-size: 14.5px; list-style: none; }
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary::after { content: "+"; margin-left: auto; font: 500 18px/1 var(--f-mono); color: var(--muted); order: 3; }
.fgroup[open] summary::after { content: "−"; }
.fgroup summary .count { order: 2; margin-left: auto; margin-right: 8px; }
.fgroup .opts { padding: 2px 0 12px 4px; }

/* Mobile: nested group toggles inside Shop */
.mobile-nav .mn-group.inner { border-bottom: 0; margin-left: 4px; border-left: 2px solid var(--line); }
.mobile-nav .mn-group.inner > .mn-row > a { font: 600 .98rem var(--f-body); padding: 12px 10px; }
.mobile-nav .mn-group.inner .mn-toggle { width: 36px; height: 36px; }
.mobile-nav .mn-group.inner .mn-toggle svg { width: 16px; height: 16px; }
.mobile-nav .mn-group.inner .sub a { margin-left: 10px; font-size: .92rem; padding: 9px 12px; border-left: 0; }
.mobile-nav .mn-all { display: block; margin: 6px 0 4px 14px; padding: 10px 0; font-weight: 700; color: var(--accent); border: 0; }
