/* =====================================================================
   RETROSENS – Studio Clean design system
   ===================================================================== */
:root {
  --bg: #F4F4F1;
  --surface: #FFFFFF;
  --surface-2: #EDEDEA;
  --ink: #14141A;
  --ink-2: #2A2A33;
  --muted: #55555F;
  --faint: #8A8A93;
  --line: rgba(20,20,26,.09);
  --accent: #2F5BFF;
  --accent-ink: #1A3FD6;
  --accent-soft: #E9EDFF;
  --good: #11845B;
  --bad: #C4321A;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 32px;
  --shadow: 0 24px 60px rgba(20,20,30,.10);
  --head: "Inter Tight", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--body); min-height: 100vh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-ink); }
h1, h2, h3, h4 { font-family: var(--head); letter-spacing: -.02em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(2.6rem, 7vw, 5.5rem); font-weight: 800; letter-spacing: -.045em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.035em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1rem 0; }
.container { width: min(1280px, 100% - 48px); margin: 0 auto; }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.accent { color: var(--accent); }
.err-text { color: var(--bad); }
.lead { font-size: 1.15rem; color: var(--muted); line-height: 1.6; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 999; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.mobile-only { display: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: #fff; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } * { animation: none !important; transition: none !important; } }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: 0 1.6rem; border-radius: 999px; border: 0; background: var(--accent); color: #fff; font: 600 .95rem var(--body); cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .2s; text-decoration: none !important; white-space: nowrap; }
.btn:hover { background: var(--accent-ink); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(47,91,255,.28); }
.btn:active { transform: translateY(0); }
.btn.dark { background: var(--ink); }
.btn.dark:hover { background: #000; box-shadow: 0 10px 24px rgba(0,0,0,.2); }
.btn.ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost:hover { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn.small { min-height: 40px; padding: 0 1.1rem; font-size: .875rem; }
.btn.full { width: 100%; }
.btn.grow { flex: 1; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); cursor: pointer; transition: background .2s; flex-shrink: 0; }
.icon-btn:hover { background: rgba(20,20,26,.06); color: var(--ink); }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; font-size: .85rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--bad); }
.count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font: 700 .68rem var(--body); display: grid; place-items: center; }
.count[data-empty="true"] { display: none; }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 .95rem; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-size: .875rem; font-weight: 500; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ===== Forms ===== */
input, select, textarea { width: 100%; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-sm); padding: .8rem 1rem; font: 1rem var(--body); transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
input[type=checkbox], input[type=radio] { width: 18px; height: 18px; accent-color: var(--accent); padding: 0; }
input[type=range] { padding: 0; border: 0; accent-color: var(--accent); background: none; box-shadow: none; }
label { font-size: .875rem; font-weight: 600; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .wide { grid-column: 1 / -1; }
.form-grid label { display: block; margin-bottom: .35rem; }
.notice { padding: .9rem 1.1rem; border-radius: var(--r-sm); font-size: .93rem; }
.notice.ok { background: #E6F6EF; color: #0B5C3F; }
.notice.err { background: #FDECE8; color: #8A2412; }
.notice.warn { background: #FFF5DB; color: #6B4A00; }
.notice.small { font-size: .85rem; padding: .6rem .85rem; }
.panel { background: var(--surface); border-radius: var(--r); padding: 1.6rem; }

/* ===== Announcement ===== */
.announce { background: var(--ink); color: #fff; font-size: .8rem; font-weight: 500; overflow: hidden; height: 36px; }
.announce-track { display: flex; flex-direction: column; animation: ticker 16s infinite var(--ease); }
.announce-track span { height: 36px; display: grid; place-items: center; text-align: center; padding: 0 1rem; }
.announce-track strong { color: #9DB2FF; }
@keyframes ticker { 0%,20% { transform: translateY(0) } 25%,45% { transform: translateY(-36px) } 50%,70% { transform: translateY(-72px) } 75%,95% { transform: translateY(-108px) } 100% { transform: translateY(0) } }

/* ===== Header ===== */
.header { position: sticky; top: 0; z-index: 60; background: rgba(244,244,241,.82); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.header.scrolled { border-color: var(--line); background: rgba(244,244,241,.92); }
.header-inner { display: flex; align-items: center; gap: 2rem; height: 68px; }
.logo { font-family: var(--head); font-weight: 800; font-size: 1.4rem; color: var(--ink); letter-spacing: -.03em; }
.logo span { color: var(--accent); }
.logo:hover { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 1.6rem; margin-right: auto; }
.nav > a, .has-mega > a { color: var(--ink); font-size: .9rem; font-weight: 500; padding: 1.4rem 0; position: relative; }
.nav > a::after, .has-mega > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 1.1rem; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav > a:hover::after, .nav a.active::after, .has-mega:hover > a::after { transform: scaleX(1); }
.nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: .25rem; }
.currency { width: auto; padding: .45rem .6rem; font-size: .85rem; font-weight: 600; border-radius: 999px; background: transparent; }
.cart-btn { height: 44px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; padding: 0 1.1rem; font: 600 .875rem var(--body); cursor: pointer; display: inline-flex; gap: .45rem; align-items: center; margin-left: .35rem; transition: transform .2s var(--ease); }
.cart-btn:hover { transform: translateY(-1px); }
.cart-btn .count { position: static; background: #fff; color: var(--ink); }
.menu-btn { display: none; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 40px 80px rgba(20,20,30,.12); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s var(--ease); }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner { display: grid; grid-template-columns: 3fr 1fr; gap: 2.5rem; padding: 2rem 0 2.4rem; }
.mega-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .25rem; }
.mega-cats a { display: flex; gap: 1rem; align-items: center; padding: .8rem; border-radius: var(--r-sm); color: var(--ink); transition: background .2s; }
.mega-cats a:hover { background: var(--bg); color: var(--ink); }
.mega-cats .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.mega-cats small { display: block; color: var(--muted); font-weight: 400; }
.mega-side { display: flex; flex-direction: column; gap: .55rem; padding-left: 2rem; border-left: 1px solid var(--line); }
.mega-side h4 { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin-bottom: .3rem; }
.mega-side a { color: var(--ink); font-weight: 500; }
@media (max-width: 1000px) {
  .menu-btn { display: inline-grid; }
  .header-inner { gap: .5rem; }
  .logo { margin-right: auto; }
  .nav { position: absolute; top: 100%; left: 0; width: min(360px, 90vw); height: calc(100vh - 68px); flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); box-shadow: var(--shadow); transform: translateX(-105%); transition: transform .3s var(--ease); overflow-y: auto; padding: .5rem 0; }
  .nav-open .nav { transform: none; }
  .nav > a, .has-mega > a, .mobile-extra a { display: block; padding: .95rem 1.5rem; font-size: 1rem; }
  .nav > a::after, .has-mega > a::after { display: none; }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; }
  .mega-inner { grid-template-columns: 1fr; padding: 0 .75rem; width: 100%; }
  .mega-cats { grid-template-columns: 1fr; }
  .mega-cats small, .mega-side { display: none; }
  .mobile-only { display: block; }
  .hide-sm { display: none; }
}
@media (max-width: 520px) { .currency { display: none; } }

/* ===== Overlay, drawer, search, popup ===== */
.overlay { position: fixed; inset: 0; background: rgba(20,20,26,.35); backdrop-filter: blur(4px); z-index: 80; opacity: 0; visibility: hidden; transition: .25s; }
.overlay.show { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 10px; right: 10px; bottom: 10px; width: min(430px, calc(100% - 20px)); background: var(--surface); border-radius: 24px; z-index: 90; display: flex; flex-direction: column; transform: translateX(110%); transition: transform .4s var(--ease); box-shadow: var(--shadow); overflow: hidden; }
.drawer:not(.open) { visibility: hidden; }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 1.2rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 1rem 1.4rem; }
.drawer-foot { padding: 1.2rem 1.4rem; border-top: 1px solid var(--line); display: grid; gap: .5rem; }
.drawer-foot:empty { display: none; }
.row { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; }
.row.total { border-top: 1px solid var(--line); margin-top: .5rem; padding-top: 1rem; font-weight: 700; font-size: 1.15rem; }
.row.accent { color: var(--good); }
.search-panel { position: fixed; top: 0; left: 0; right: 0; background: var(--surface); z-index: 90; padding: 1.5rem 0 2rem; transform: translateY(-105%); transition: transform .35s var(--ease); max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow); border-radius: 0 0 28px 28px; }
.search-panel:not(.open) { visibility: hidden; }
.search-panel.open { transform: none; }
.search-form { display: flex; gap: .5rem; align-items: center; }
.search-form input { font-size: 1.3rem; padding: 1rem 1.2rem; border-radius: 16px; background: var(--bg); border-color: transparent; }
.search-results { margin-top: 1.2rem; display: grid; gap: .25rem; }
.sr { display: grid; grid-template-columns: 56px 1fr auto; gap: 1rem; align-items: center; padding: .5rem; border-radius: var(--r-sm); color: var(--ink); }
.sr:hover { background: var(--bg); color: var(--ink); }
.cookie { position: fixed; left: 1rem; bottom: 1rem; max-width: 420px; background: var(--ink); color: #fff; border-radius: 18px; padding: 1rem 1.1rem; z-index: 75; display: flex; gap: 1rem; align-items: center; font-size: .85rem; box-shadow: var(--shadow); }
.cookie a { color: #9DB2FF; }
.to-top { position: fixed; right: 1rem; bottom: 1rem; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); cursor: pointer; z-index: 70; opacity: 0; visibility: hidden; transition: .25s; }
.to-top.show { opacity: 1; visibility: visible; }
.toast { position: fixed; bottom: 1.5rem; left: 50%; transform: translate(-50%, 160%); background: var(--ink); color: #fff; border-radius: 999px; padding: .8rem 1.4rem; z-index: 100; transition: transform .35s var(--ease); font-size: .9rem; font-weight: 500; }
.toast.show { transform: translate(-50%, 0); }

/* ===== Compare bar ===== */
.compare-bar { position: fixed; left: 50%; bottom: 1.2rem; transform: translate(-50%, 160%); background: var(--ink); color: #fff; border-radius: 999px; padding: .5rem .5rem .5rem 1.3rem; display: flex; align-items: center; gap: 1rem; z-index: 72; box-shadow: var(--shadow); transition: transform .35s var(--ease); font-size: .9rem; }
.compare-bar.show { transform: translate(-50%, 0); }
.compare-bar .btn { background: #fff; color: var(--ink); min-height: 40px; }

/* ===== Hero ===== */
.hero { padding: clamp(4rem, 9vw, 7rem) 0 3.5rem; text-align: center; }
.hero .kicker { color: var(--accent); font-weight: 600; margin-bottom: 1rem; display: inline-flex; gap: .5rem; align-items: center; }
.hero .kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(47,91,255,.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(47,91,255,0); } 100% { box-shadow: 0 0 0 0 rgba(47,91,255,0); } }
.hero h1 { max-width: 920px; margin: 0 auto; }
.hero h1 span { color: var(--faint); }
.hero .lead { max-width: 580px; margin: 1.5rem auto 0; font-size: 1.25rem; }
.hero-cta { display: flex; gap: .75rem; justify-content: center; margin-top: 2.2rem; flex-wrap: wrap; }

/* ===== Bento ===== */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 290px; gap: 16px; }
.tile { position: relative; border-radius: var(--r-lg); background: var(--surface); overflow: hidden; color: var(--ink); padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; transition: transform .45s var(--ease), box-shadow .45s var(--ease); isolation: isolate; }
.tile:hover { transform: scale(1.012); box-shadow: var(--shadow); color: var(--ink); }
.tile.big { grid-column: span 2; grid-row: span 2; }
.tile.dark { background: var(--ink); color: #fff; }
.tile.dark:hover { color: #fff; }
.tile.blue { background: var(--accent); color: #fff; }
.tile.blue:hover { color: #fff; }
.tile .eyebrow { font-size: .875rem; opacity: .7; }
.tile h3 { font-size: clamp(1.6rem, 2.6vw, 2.5rem); font-weight: 800; letter-spacing: -.035em; }
.tile .tile-media { position: absolute; inset: 0; z-index: -1; display: grid; place-items: center; transition: transform .7s var(--ease); background: linear-gradient(180deg, #fff 0%, #E9ECFF 100%); }
.tile .tile-media img { width: 100%; height: 100%; object-fit: cover; }
.tile:hover .tile-media { transform: scale(1.05); }
.tile .arrow { display: inline-flex; gap: .4rem; align-items: center; font-weight: 600; font-size: .9rem; }
.tile .arrow svg { transition: transform .3s var(--ease); }
.tile:hover .arrow svg { transform: translateX(4px); }
@media (max-width: 860px) { .bento { grid-template-columns: 1fr; grid-auto-rows: 240px; } .tile.big { grid-column: auto; grid-row: span 2; } }

/* ===== Marquee ===== */
.marquee { overflow: hidden; background: var(--surface); border-block: 1px solid var(--line); }
.marquee-track { display: flex; gap: 3.5rem; padding: 1.1rem 0; width: max-content; animation: marq 32s linear infinite; font-family: var(--head); font-weight: 700; font-size: 1.2rem; color: var(--faint); white-space: nowrap; }
.marquee-track span { display: inline-flex; align-items: center; gap: .6rem; }
.marquee-track svg { color: var(--accent); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ===== Sections ===== */
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section-sm { padding: 2rem 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.section-head p { color: var(--muted); margin-top: .5rem; }
.section-head a { font-weight: 600; }
.page-head { padding: 3rem 0 1.5rem; }
.page-head p { color: var(--muted); margin-top: .7rem; font-size: 1.1rem; }

/* Categories */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cat-tile { background: var(--surface); border-radius: var(--r); padding: 1.3rem; color: var(--ink); display: flex; align-items: center; gap: 1rem; transition: transform .3s var(--ease), box-shadow .3s; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.cat-tile .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.cat-tile b { display: block; font-size: .98rem; }
.cat-tile small { color: var(--muted); }
@media (max-width: 860px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ===== Product grid & card ===== */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.card { position: relative; background: var(--surface); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 4 / 5; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.ph { display: grid; place-items: center; gap: .4rem; color: var(--faint); text-align: center; font-size: .8rem; font-weight: 500; padding: 1rem; }
.ph svg { opacity: .55; }
.badges { position: absolute; top: .8rem; left: .8rem; display: flex; gap: .35rem; flex-wrap: wrap; z-index: 2; }
.badge { background: var(--surface); color: var(--ink); font: 600 .72rem var(--body); padding: .3rem .65rem; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.badge.sale { background: var(--bad); color: #fff; }
.badge.b-deal { background: var(--accent); color: #fff; }
.badge.best { background: var(--ink); color: #fff; }
.wish { position: absolute; top: .7rem; right: .7rem; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--faint); cursor: pointer; display: grid; place-items: center; transition: transform .2s var(--ease), color .2s; }
.wish:hover { transform: scale(1.08); color: var(--bad); }
.wish.on, .wish-lg.on { color: var(--bad); }
.wish.on svg, .wish-lg.on svg { fill: currentColor; }
.quick-add { position: absolute; left: .8rem; right: .8rem; bottom: .8rem; z-index: 2; transform: translateY(130%); transition: transform .35s var(--ease); }
.card:hover .quick-add, .card:focus-within .quick-add { transform: none; }
.card-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .2rem; flex: 1; }
.card-cat { font-size: .78rem; color: var(--faint); font-weight: 500; }
.card h3 { font-size: 1rem; font-weight: 600; letter-spacing: -.01em; font-family: var(--body); }
.card h3 a { color: var(--ink); }
.card .spec { color: var(--muted); font-size: .85rem; }
.card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: .7rem; gap: .5rem; }
.cmp-toggle { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 500; color: var(--muted); cursor: pointer; }
.price { display: flex; gap: .5rem; align-items: baseline; flex-wrap: wrap; }
.price .now { font-weight: 700; font-size: 1.05rem; }
.price .old { color: var(--faint); text-decoration: line-through; font-size: .9rem; }
.price.big .now { font-size: 1.7rem; font-family: var(--head); letter-spacing: -.02em; }
@media (hover: none) { .quick-add { transform: none; position: static; margin: 0 1.2rem 1.2rem; } }

/* ===== Feature band (finder / deal) ===== */
.band { border-radius: 36px; background: var(--ink); color: #fff; padding: clamp(2rem, 5vw, 4rem); display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.band .kicker { color: #9DB2FF; font-weight: 600; }
.band h2 { margin: .6rem 0 1rem; }
.band p { color: #B9B9C6; }
.band-card { background: #22222B; border-radius: 24px; padding: 1.8rem; }
.band-card .opt { display: block; width: 100%; text-align: left; border-radius: 16px; border: 1px solid #3A3A46; background: transparent; color: #fff; padding: 1rem 1.1rem; font: 500 .95rem var(--body); margin-top: .6rem; cursor: pointer; transition: border-color .2s, background .2s; }
.band-card .opt:hover, .band-card .opt.on { border-color: var(--accent); background: rgba(47,91,255,.14); }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; } }
.deal-band { background: var(--surface); color: var(--ink); }
.deal-band p { color: var(--muted); }
.deal-media { aspect-ratio: 4 / 3; border-radius: 24px; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; }
.deal-media img { width: 100%; height: 100%; object-fit: cover; }
.countdown { display: flex; gap: .6rem; margin: 1.4rem 0; }
.countdown div { background: var(--bg); border-radius: 14px; padding: .7rem .5rem; min-width: 70px; text-align: center; }
.countdown b { display: block; font-family: var(--head); font-size: 1.6rem; letter-spacing: -.02em; }
.countdown small { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }

/* Why / USP */
.usp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.usp { background: var(--surface); border-radius: var(--r); padding: 1.5rem; }
.usp .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 1rem; }
.usp b { display: block; margin-bottom: .2rem; }
.usp p { color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) { .usp-grid { grid-template-columns: 1fr 1fr; } }

/* Journal */
.guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.guide-card { background: var(--surface); border-radius: 24px; overflow: hidden; color: var(--ink); display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s; }
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.guide-art { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--accent-soft), #fff); display: grid; place-items: center; color: var(--accent); }
.guide-body { padding: 1.4rem; display: grid; gap: .5rem; }
.guide-body h3 { font-size: 1.25rem; }
.guide-body p { color: var(--muted); font-size: .95rem; }
.guide-hero { aspect-ratio: 21 / 8; border-radius: 28px; background: linear-gradient(135deg, var(--accent-soft), #fff); display: grid; place-items: center; color: var(--accent); margin: 1.5rem 0 2rem; }
.prose { font-size: 1.08rem; line-height: 1.75; }
.prose h2 { font-size: 1.6rem; margin: 2.4rem 0 .8rem; }
.prose p { margin: 0 0 1.1rem; color: var(--ink-2); }

/* Newsletter + footer */
.newsletter-band { padding: 0 0 4rem; }
.nl-inner { background: var(--accent); color: #fff; border-radius: 36px; padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; }
.nl-inner h2 { color: #fff; }
.nl-inner p { color: rgba(255,255,255,.82); margin-top: .6rem; }
.nl-form { display: flex; gap: .5rem; background: #fff; padding: .4rem; border-radius: 999px; }
.nl-form input { border: 0; background: transparent; box-shadow: none !important; }
.nl-form .btn { background: var(--ink); }
.newsletter-band .notice { background: rgba(255,255,255,.95); }
@media (max-width: 860px) { .nl-inner { grid-template-columns: 1fr; } }
.footer { background: var(--surface); border-top: 1px solid var(--line); padding: 4rem 0 2rem; }
.footer .cols { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2rem; }
.footer h4 { font-family: var(--body); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin-bottom: 1rem; font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer a { color: var(--ink-2); font-size: .92rem; }
.footer a:hover { color: var(--accent); }
.footer p { color: var(--muted); font-size: .92rem; margin-top: .8rem; max-width: 320px; }
.footer .bottom { border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: .82rem; }
.pay { display: flex; gap: .35rem; flex-wrap: wrap; }
.pay span { border: 1px solid var(--line); border-radius: 6px; padding: .15rem .55rem; font-size: .72rem; font-weight: 600; color: var(--ink-2); background: var(--surface); }
@media (max-width: 860px) { .footer .cols { grid-template-columns: 1fr 1fr; } }

/* ===== Shop ===== */
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 2rem; padding-bottom: 4rem; }
.filters { position: sticky; top: 88px; align-self: start; }
.filter-group { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.filter-group:first-child { padding-top: 0; }
.filter-group h4 { font-family: var(--body); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin-bottom: .7rem; }
.radio { display: flex; align-items: center; gap: .6rem; font-weight: 500; font-size: .92rem; padding: .3rem 0; cursor: pointer; }
.radio small { margin-left: auto; color: var(--faint); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.toolbar select { width: auto; border-radius: 999px; }
.toggle-filters { display: none; }
.more-wrap { text-align: center; margin-top: 2.5rem; }
@media (max-width: 860px) { .shop-layout { grid-template-columns: 1fr; } .filters { position: static; display: none; background: var(--surface); padding: 1.2rem; border-radius: var(--r); } .filters-open .filters { display: block; } .toggle-filters { display: inline-flex; } }

/* ===== Product page ===== */
.crumbs { color: var(--faint); font-size: .85rem; margin: 1.6rem 0; }
.crumbs a { color: var(--muted); }
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3.5rem; align-items: start; }
.gallery { position: sticky; top: 88px; }
.gallery-main { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); background: var(--surface); display: grid; place-items: center; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: .6rem; margin-top: .8rem; flex-wrap: wrap; }
.thumbs button { width: 76px; height: 76px; padding: 0; border: 2px solid transparent; border-radius: 14px; overflow: hidden; cursor: pointer; background: var(--surface); }
.thumbs button.active { border-color: var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info h1 { font-size: clamp(2rem, 4vw, 3rem); margin: .4rem 0 .8rem; }
.pdp-info .lead { margin: 1rem 0; }
.variants h4 { font-family: var(--body); font-size: .9rem; margin: 1.4rem 0 .6rem; }
.variants h4 span { color: var(--muted); font-weight: 500; }
.variant { min-height: 44px; background: var(--surface); border: 1.5px solid var(--line); color: var(--ink); padding: 0 1.1rem; border-radius: 999px; cursor: pointer; margin: 0 .4rem .4rem 0; font: 500 .9rem var(--body); transition: border-color .2s; }
.variant.active { border-color: var(--ink); }
.buy-row { display: flex; gap: .6rem; margin: 1.6rem 0 .7rem; align-items: stretch; }
.wish-lg { width: 52px; height: auto; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.qty { display: flex; align-items: center; background: var(--surface); border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.qty button { background: none; border: 0; width: 42px; align-self: stretch; font-size: 1.1rem; cursor: pointer; color: var(--ink); }
.qty input { width: 42px; text-align: center; border: 0; padding: .6rem 0; background: transparent; box-shadow: none !important; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty.sm { width: max-content; margin-top: .5rem; min-height: 34px; }
.qty.sm button { width: 32px; }
.qty.sm span { width: 26px; text-align: center; font-weight: 600; font-size: .9rem; }
.assurance { display: grid; gap: .7rem; margin-top: 1.4rem; padding: 1.2rem 1.3rem; background: var(--surface); border-radius: var(--r); font-size: .92rem; }
.assurance > div { display: flex; gap: .7rem; align-items: center; }
.assurance svg { color: var(--accent); flex-shrink: 0; }
.assurance select { width: auto; padding: .25rem .6rem; font-size: .88rem; display: inline-block; border-radius: 999px; }
.fbt { margin-top: 1.4rem; padding: 1.2rem 1.3rem; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.fbt h4 { font-family: var(--body); font-size: .9rem; margin-bottom: .7rem; }
.fbt-item { display: grid; grid-template-columns: 22px 48px 1fr auto; gap: .7rem; align-items: center; padding: .35rem 0; font-size: .9rem; }
.fbt-item .thumb { width: 48px; height: 48px; }
.tabs { margin: 4rem 0 1rem; }
.tab-buttons { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .2rem; }
.tab-buttons button { background: transparent; border: 0; color: var(--muted); padding: .7rem 1.1rem; font: 600 .92rem var(--body); cursor: pointer; border-radius: 999px; white-space: nowrap; transition: background .2s, color .2s; }
.tab-buttons button.active { background: var(--ink); color: #fff; }
.tab { padding: 1.8rem 0; max-width: 860px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.ticks li { padding-left: 1.8rem; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45rem; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; background: var(--surface); border-radius: var(--r); overflow: hidden; }
.table th, .table td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); font-weight: 600; }
.table tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; border-radius: var(--r); }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; gap: 1.5rem; } .gallery { position: static; } }

/* Reviews */
.reviews-summary { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.stars { color: #F5A524; letter-spacing: 2px; }
.review { background: var(--surface); border-radius: var(--r); padding: 1.3rem 1.4rem; margin-bottom: .8rem; }
.review b { display: block; }
.review .meta { color: var(--faint); font-size: .82rem; margin: .2rem 0 .6rem; }
.verified { color: var(--good); font-weight: 600; font-size: .78rem; }
.star-input { display: flex; gap: .2rem; flex-direction: row-reverse; justify-content: flex-end; }
.star-input input { position: absolute; opacity: 0; width: 1px; }
.star-input label { font-size: 1.8rem; color: #D6D6D2; cursor: pointer; line-height: 1; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #F5A524; }

/* ===== Cart / checkout ===== */
.two-col { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2rem; align-items: start; padding-bottom: 4rem; }
.summary { background: var(--surface); border-radius: var(--r-lg); padding: 1.6rem; position: sticky; top: 88px; display: grid; gap: .6rem; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: .9rem; align-items: start; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.line.big { grid-template-columns: 100px 1fr auto; background: var(--surface); border-radius: var(--r); padding: 1rem; margin-bottom: .7rem; border: 0; }
.thumb { position: relative; display: grid; place-items: center; aspect-ratio: 1; width: 100%; border-radius: 12px; background: var(--surface-2); overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .ph { padding: 0; font-size: 0; }
.line-name { color: var(--ink); font-weight: 600; }
.line-right { text-align: right; display: flex; flex-direction: column; gap: .4rem; align-items: end; }
.shipbar { background: var(--surface); border-radius: var(--r); padding: .9rem 1.1rem; margin-bottom: 1rem; font-size: .9rem; }
.drawer .shipbar { background: var(--bg); }
.shipbar p { margin-bottom: .55rem; }
.track { height: 6px; background: var(--surface-2); border-radius: 3px; overflow: hidden; }
.track div { height: 100%; background: var(--accent); border-radius: 3px; transition: width .6s var(--ease); }
.code-form { display: flex; gap: .5rem; }
.code-form input { text-transform: uppercase; }
.sum-line { display: grid; grid-template-columns: 54px 1fr auto; gap: .8rem; align-items: center; padding: .35rem 0; font-size: .92rem; }
.sum-line .thumb { overflow: visible; }
.sum-line .thumb i { position: absolute; top: -6px; right: -6px; background: var(--ink); color: #fff; font: 700 .7rem var(--body); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; }
.checkout-box h2 { font-size: 1.15rem; grid-column: 1 / -1; margin-top: 1.2rem; font-family: var(--body); letter-spacing: 0; }
.checkout-box h2:first-child { margin-top: 0; }
.agree { display: flex; gap: .6rem; align-items: start; font-weight: 400; }
.agree input { margin-top: .2rem; flex-shrink: 0; }
.secure-note { display: flex; gap: .7rem; align-items: center; font-size: .9rem; color: var(--muted); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } .summary { position: static; } .form-grid { grid-template-columns: 1fr; } .line.big { grid-template-columns: 76px 1fr; } .line.big .line-right { grid-column: 2; flex-direction: row; justify-content: space-between; align-items: center; } }

/* ===== Compare ===== */
.cmp-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border-radius: var(--r-lg); overflow: hidden; min-width: 640px; }
.cmp-table th, .cmp-table td { padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.cmp-table th { width: 180px; color: var(--muted); font-weight: 500; font-size: .9rem; }
.cmp-table thead td { vertical-align: top; }
.cmp-table .best { color: var(--good); font-weight: 700; }
.cmp-head .thumb { width: 120px; margin-bottom: .8rem; }
.yes { color: var(--good); font-weight: 600; }
.no { color: var(--faint); }

/* ===== Quiz ===== */
.quiz { max-width: 760px; margin: 0 auto; }
.quiz-progress { height: 6px; background: var(--surface-2); border-radius: 3px; overflow: hidden; margin-bottom: 2rem; }
.quiz-progress div { height: 100%; background: var(--accent); transition: width .5s var(--ease); }
.quiz h2 { margin-bottom: 1.4rem; }
.quiz-opts { display: grid; gap: .7rem; }
.quiz-opt { display: flex; gap: 1rem; align-items: center; text-align: left; width: 100%; border: 1.5px solid var(--line); background: var(--surface); border-radius: 20px; padding: 1.2rem 1.3rem; font: 500 1rem var(--body); cursor: pointer; color: var(--ink); transition: border-color .2s, transform .2s var(--ease); }
.quiz-opt:hover { border-color: var(--accent); transform: translateX(4px); }
.quiz-opt small { display: block; color: var(--muted); font-weight: 400; }
.match { position: relative; }
.match .badge { position: absolute; top: .8rem; left: .8rem; }

/* ===== Bundle builder ===== */
.bundle-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2rem; align-items: start; padding-bottom: 4rem; }
.bundle-step { margin-bottom: 2.2rem; }
.bundle-step h3 { font-size: 1.3rem; margin-bottom: 1rem; display: flex; gap: .7rem; align-items: center; }
.bundle-step h3 span { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .85rem; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .7rem; }
.pick { position: relative; text-align: left; background: var(--surface); border: 2px solid transparent; border-radius: 18px; padding: .7rem; cursor: pointer; font: inherit; color: var(--ink); transition: border-color .2s, transform .2s var(--ease); }
.pick:hover { transform: translateY(-2px); }
.pick.on { border-color: var(--accent); }
.pick .thumb { margin-bottom: .5rem; }
.pick b { display: block; font-size: .88rem; line-height: 1.3; }
.pick small { color: var(--muted); }
.pick .check { position: absolute; top: .6rem; right: .6rem; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; display: none; place-items: center; }
.pick.on .check { display: grid; }
@media (max-width: 860px) { .bundle-layout { grid-template-columns: 1fr; } }

/* ===== Text pages ===== */
.text-page { max-width: 780px; padding: 3rem 0 4rem; }
.text-page h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 1rem; }
.text-page h2 { font-size: 1.4rem; margin: 2.4rem 0 .8rem; }
.text-page p, .text-page li { color: var(--ink-2); }
.text-page p { margin-bottom: 1rem; }
.fill { background: #FFF5DB; color: #6B4A00; padding: 0 .3rem; border-radius: 4px; }
details { background: var(--surface); border-radius: var(--r); padding: 1.1rem 1.3rem; margin-bottom: .6rem; transition: box-shadow .2s; }
details[open] { box-shadow: 0 0 0 1.5px var(--ink); }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--muted); transition: transform .25s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: .8rem; color: var(--ink-2); }
.faq-cat { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); font-weight: 600; margin: 2.4rem 0 1rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem; padding-bottom: 4rem; }
.contact-cards { display: grid; gap: .8rem; align-content: start; }
.contact-cards .panel h3 { margin-bottom: .3rem; }
.contact-cards .panel p { color: var(--muted); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: .4rem; margin: 1.6rem 0; }
.step { text-align: center; font-size: .82rem; color: var(--faint); }
.step span { display: block; width: 20px; height: 20px; margin: 0 auto .5rem; border-radius: 50%; border: 2px solid var(--surface-2); background: var(--surface); }
.step.done { color: var(--ink); }
.step.done span { background: var(--accent); border-color: var(--accent); }

/* Empty states */
.empty { text-align: center; padding: 4rem 1rem; }
.empty .big { width: 72px; height: 72px; margin: 0 auto 1rem; border-radius: 50%; background: var(--surface); color: var(--accent); display: grid; place-items: center; }
.empty h2, .empty h1 { margin-bottom: .6rem; }
.empty p { color: var(--muted); margin-bottom: 1.4rem; }

/* ===== Small screens ===== */
@media (max-width: 600px) {
  .announce { font-size: .72rem; }
  .announce-track span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; line-height: 36px; }
  .container { width: calc(100% - 32px); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card { border-radius: 18px; }
  .card-body { padding: .8rem .85rem 1rem; }
  .card h3 { font-size: .9rem; }
  .card .spec { font-size: .75rem; }
  .card-foot { flex-direction: column; align-items: flex-start; gap: .3rem; }
  .badges { top: .5rem; left: .5rem; }
  .badge { font-size: .65rem; padding: .25rem .5rem; }
  .wish { width: 34px; height: 34px; top: .45rem; right: .45rem; }
  .quick-add { display: none; }
  .badges { right: 3rem; }
  .hero .lead { font-size: 1.08rem; }
  .tile { padding: 1.5rem; border-radius: 26px; }
  .usp-grid { grid-template-columns: 1fr; }
  .cookie { right: 1rem; }
  .compare-bar { width: calc(100% - 24px); justify-content: space-between; padding-left: 1rem; font-size: .82rem; }
  .countdown div { min-width: 0; flex: 1; }
}
.compare-bar:not(.show) { visibility: hidden; }

/* ===== Under construction (settings.js → storeOpen: false) ===== */
.construction { background: #FFF5DB; color: #4A3500; border-bottom: 1px solid rgba(107,74,0,.15); font-size: .9rem; }
.construction .container { display: flex; align-items: center; gap: 1rem; padding: .7rem 0; flex-wrap: wrap; }
.construction span:nth-child(2) { flex: 1; min-width: 220px; }
.construction-tag { background: #14141A; color: #FFD45C; font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 999px; background-image: repeating-linear-gradient(-45deg, #14141A 0 8px, #2a2a33 8px 16px); }
.store-closed .cart-btn, .store-closed .quick-add, .store-closed .fbt, .store-closed .buy-row, .store-closed #buy-now, .store-closed .cart-action { display: none !important; }
.closed-box { margin: 1.6rem 0 .5rem; padding: 1.3rem; border-radius: var(--r); background: #FFF5DB; }
.closed-box .nl-form { background: #fff; }
.announce-track span { display: flex; justify-content: center; align-items: center; gap: .3em; }

/* ===== Extras ===== */
.screen-scale { background: linear-gradient(135deg, #1d2440, #2F5BFF); border-radius: 6px; box-shadow: 0 0 0 5px #14141A, 0 8px 20px rgba(20,20,30,.18); display: grid; place-items: center; margin: 8px; color: #fff; font: 700 .8rem var(--body); }
.share-btn { display: block; margin-top: .8rem; color: var(--accent); text-decoration: none; }
.share-btn:hover { color: var(--accent-ink); text-decoration: underline; }
.glossary { display: grid; gap: .6rem; }
.glossary dt { font-family: var(--head); font-weight: 700; font-size: 1.1rem; margin-top: 1.2rem; }
.glossary dd { margin: 0; color: var(--ink-2); }
.letter-nav { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.4rem 0; }
.variant:disabled { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
