/* ===========================================================================
   Bita — premium light retail storefront (kontakt-style, refined)
   Emerald brand accent, clean neutrals, soft depth, smooth interactions.
   Dark mode available via toggle.
   =========================================================================== */
:root, [data-theme="light"] {
  --bg: #EEF1F5;
  --surface: #FFFFFF;
  --surface-2: #F5F7FA;
  --surface-3: #EDF0F4;
  --ink: #0E1320;
  --ink-2: #5B6577;
  --ink-3: #939CAD;
  --line: #E6E9EF;
  --line-2: #DCE0E8;

  --brand: #16A34A;
  --brand-600: #16A34A;
  --brand-700: #15803D;
  --brand-ink: #0E7A38;
  --brand-grad: linear-gradient(135deg, #1BB55A 0%, #15A34A 55%, #0EA371 100%);
  --brand-soft: #E7F6ED;
  --deal: #E11D48;
  --deal-soft: #FEE7EC;

  --warn: #F59E0B;
  --ok: #16A34A; --ok-soft: #E7F6ED;
  --out: #EF4444; --out-soft: #FEECEC;
  --ring: #16A34A;

  --img-tile: #FFFFFF;
  --shadow-xs: 0 1px 2px rgba(16,22,40,.06);
  --shadow-sm: 0 2px 8px rgba(16,22,40,.07);
  --shadow-md: 0 10px 30px -8px rgba(16,22,40,.16);
  --shadow-lg: 0 30px 60px -20px rgba(16,22,40,.30);
  --shadow-brand: 0 12px 26px -10px rgba(22,163,74,.55);

  --radius: 16px; --radius-sm: 11px; --radius-lg: 24px;
  --maxw: 1320px; --topbar-h: 38px; --header-h: 76px;
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0B0D12;
  --surface: #14171F;
  --surface-2: #1A1E27;
  --surface-3: #20242E;
  --ink: #EDEFF4;
  --ink-2: #99A1B2;
  --ink-3: #6A7283;
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.14);
  --brand: #2DD46F; --brand-600: #25C765; --brand-700: #1FB45A; --brand-ink: #4ADE80;
  --brand-grad: linear-gradient(135deg, #2DD46F, #16A34A 60%, #0FB389);
  --brand-soft: rgba(45,212,111,.13);
  --deal: #FB7185; --deal-soft: rgba(251,113,133,.14);
  --ok: #34D399; --ok-soft: rgba(52,211,153,.14);
  --out: #F87171; --out-soft: rgba(248,113,113,.14);
  --ring: #2DD46F;
  --img-tile: #F3F4F6;
  --shadow-md: 0 10px 30px rgba(0,0,0,.5);
  --shadow-lg: 0 30px 60px -20px rgba(0,0,0,.75);
  --shadow-brand: 0 12px 26px -10px rgba(45,212,111,.4);
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; } }
body { font-family: var(--font-body); background: var(--bg); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; transition: background .35s var(--ease), color .35s var(--ease); }
h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -.02em; font-weight: 700; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: 6px; }
.hide-sm { }

/* ── Buttons ───────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border: 0; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: 15px; cursor: pointer; transition: transform .18s var(--ease), box-shadow .22s var(--ease), filter .18s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--brand-grad); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { filter: brightness(1.05); transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(22,163,74,.7); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-ink); }
.btn-block { width: 100%; }
.icon-btn { display: inline-flex; align-items: center; gap: 8px; min-width: 44px; height: 46px; padding: 0 12px; border: 0; background: transparent; color: var(--ink); border-radius: 13px; cursor: pointer; position: relative; transition: background .16s; }
.icon-btn:hover { background: var(--surface-2); }
.link-btn { background: none; border: 0; color: var(--brand-ink); font-weight: 600; cursor: pointer; padding: 4px; }
.link-btn:hover { text-decoration: underline; }

/* ── Top bar ───────────────────────────────────────────────── */
.topbar { background: var(--ink); color: #fff; font-size: 13px; }
[data-theme="dark"] .topbar { background: #05070B; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: var(--topbar-h); }
.topbar-left { display: flex; gap: 22px; }
.tb-item { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.82); }
.tb-item svg { color: var(--brand); }
.topbar-right { display: flex; gap: 4px; }
.tb-btn { background: none; border: 0; color: rgba(255,255,255,.85); cursor: pointer; height: 26px; padding: 0 9px; border-radius: 7px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.tb-btn:hover { background: rgba(255,255,255,.12); color: #fff; }
.lang-select { position: relative; }
.lang-btn { gap: 7px; }
.lang-btn .lang-cur { font-weight: 600; }
.lang-btn .caret { opacity: .7; transition: transform .18s var(--ease); }
.lang-select.open .lang-btn .caret { transform: rotate(180deg); }
.lang-select.open .lang-btn { background: rgba(255,255,255,.16); color: #fff; }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 184px; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow-lg); padding: 6px; z-index: 200; animation: pmIn .18s var(--ease); }
.lang-opt { display: flex; align-items: center; gap: 11px; width: 100%; padding: 10px 11px; border: 0; background: none; border-radius: 9px; cursor: pointer; color: var(--ink); font-size: 14px; font-weight: 500; text-align: left; }
.lang-opt:hover { background: var(--surface-2); }
.lang-badge { display: grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; border-radius: 6px; background: var(--surface-3); color: var(--ink-2); font-family: var(--font-head); font-weight: 700; font-size: 11px; letter-spacing: .03em; }
.lang-nm { flex: 1; }
.lang-ok { color: var(--brand); opacity: 0; }
.lang-opt[aria-selected="true"] .lang-badge { background: var(--brand); color: #fff; }
.lang-opt[aria-selected="true"] .lang-ok { opacity: 1; }
.lang-opt[aria-selected="true"] { color: var(--brand-ink); font-weight: 600; }
.ico-moon { display: none; }
[data-theme="dark"] .ico-sun { display: none; } [data-theme="dark"] .ico-moon { display: block; }

/* ── Header ────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 22px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--brand-grad); color: #fff; box-shadow: var(--shadow-brand); }
.brand-name span { color: var(--brand); }
.search { flex: 1; max-width: 720px; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 6px 0 18px; background: var(--surface-2); border: 1.5px solid var(--line); border-radius: 999px; transition: border-color .18s, box-shadow .18s, background .18s; }
.search:focus-within { border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 4px var(--brand-soft); }
.search .search-ico { color: var(--ink-3); flex-shrink: 0; }
.search input { flex: 1; border: 0; background: none; outline: none; height: 100%; }
.search input::placeholder { color: var(--ink-3); }
.search-go { height: 40px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--brand-grad); color: #fff; font-family: var(--font-head); font-weight: 700; cursor: pointer; transition: filter .15s; }
.search-go:hover { filter: brightness(1.06); }
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.cart-btn { background: var(--surface-2); }
.cart-btn:hover { background: var(--brand-soft); color: var(--brand-ink); }
.cart-label { font-weight: 600; font-size: 14px; }
.cart-count { position: absolute; top: 4px; left: 30px; min-width: 18px; height: 18px; padding: 0 5px; background: var(--deal); color: #fff; font-size: 11px; font-weight: 700; border-radius: 999px; display: grid; place-items: center; }

/* ── Hero band ─────────────────────────────────────────────── */
.hero-band { display: grid; grid-template-columns: 264px 1fr 316px; gap: 18px; padding-top: 22px; align-items: stretch; }

.cat-sidebar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; box-shadow: var(--shadow-xs); position: relative; z-index: 30; }
.cat-row { position: relative; }
.cat-link { display: flex; align-items: center; gap: 12px; padding: 10.5px 12px; border-radius: 11px; cursor: pointer; color: var(--ink); font-weight: 500; font-size: 14.5px; transition: background .15s, color .15s; border: 0; background: none; width: 100%; text-align: left; }
.cat-row:hover > .cat-link, .cat-link:focus-visible { background: var(--brand-soft); color: var(--brand-ink); }
.cat-link .cat-emblem { width: 30px; height: 30px; display: grid; place-items: center; flex-shrink: 0; }
.cat-link .cat-emblem img { width: 26px; height: 26px; object-fit: contain; }
[data-theme="dark"] .cat-link .cat-emblem img { filter: invert(1) brightness(1.6); opacity: .85; }
.cat-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); opacity: .55; }
.cat-link .cat-name { flex: 1; line-height: 1.25; }
.cat-link .chev { color: var(--ink-3); transition: transform .15s; }
.cat-row:hover > .cat-link .chev { transform: translateX(3px); color: var(--brand); }

/* flyout mega-panel */
.cat-flyout { position: absolute; left: calc(100% + 12px); top: -10px; width: max-content; min-width: 520px; max-width: 720px; max-height: 78vh; overflow-y: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 20px 22px; z-index: 60; opacity: 0; visibility: hidden; transform: translateX(-8px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s; }
.cat-row:hover > .cat-flyout, .cat-row:focus-within > .cat-flyout { opacity: 1; visibility: visible; transform: none; }
.cat-flyout::before { content: ""; position: absolute; left: -12px; top: 0; width: 12px; height: 100%; } /* hover bridge */
.fly-grid { display: grid; grid-template-columns: repeat(3, minmax(150px, 1fr)); gap: 8px 26px; }
.fly-col { break-inside: avoid; }
.fly-head { display: flex; align-items: center; gap: 7px; width: 100%; text-align: left; background: none; border: 0; cursor: pointer; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--ink); padding: 6px 0; }
.fly-head span { font-size: 11px; font-weight: 600; color: var(--ink-3); background: var(--surface-2); padding: 1px 7px; border-radius: 999px; }
.fly-head:hover { color: var(--brand-ink); }
.fly-leaf { display: block; width: 100%; text-align: left; background: none; border: 0; cursor: pointer; color: var(--ink-2); font-size: 13px; padding: 4.5px 0; transition: color .14s, padding .14s; }
.fly-leaf:hover { color: var(--brand-ink); padding-left: 4px; }

.promo { position: relative; overflow: hidden; border-radius: var(--radius); background:
    radial-gradient(120% 130% at 88% 15%, rgba(22,163,74,.18), transparent 55%),
    linear-gradient(120deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line); padding: clamp(26px, 3.5vw, 44px); display: flex; align-items: center; gap: 26px; box-shadow: var(--shadow-xs); }
.promo::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; background: radial-gradient(circle, var(--brand-soft), transparent 70%); filter: blur(10px); z-index: 0; }
.promo-text { position: relative; flex: 1 1 54%; min-width: 0; z-index: 2; }
.promo-tag { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); font-weight: 700; font-size: 12.5px; letter-spacing: .02em; margin-bottom: 16px; }
.promo h1 { font-size: clamp(25px, 2.8vw, 40px); font-weight: 800; }
.promo-sub { color: var(--ink-2); margin: 14px 0 24px; font-size: 15.5px; }
.promo-visual { position: relative; z-index: 1; flex: 0 0 38%; align-self: stretch; display: grid; place-items: center; min-height: 230px; }
.promo-visual img { max-height: 300px; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; filter: drop-shadow(0 24px 40px rgba(16,22,40,.28)); animation: floaty 6s ease-in-out infinite; }
[data-theme="dark"] .promo-visual img { mix-blend-mode: normal; }
@keyframes floaty { 0%,100% { transform: translateY(-9px); } 50% { transform: translateY(9px); } }

.deal-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; box-shadow: var(--shadow-xs); }
.deal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.deal-head h3 { font-size: 16px; }
.deal-fire { font-size: 11px; font-weight: 700; color: var(--deal); background: var(--deal-soft); padding: 4px 9px; border-radius: 999px; }
.countdown { display: flex; gap: 6px; margin-bottom: 14px; }
.cd-box { flex: 1; text-align: center; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 7px 0; }
.cd-box b { display: block; font-family: var(--font-head); font-size: 19px; font-variant-numeric: tabular-nums; line-height: 1; }
.cd-box span { font-size: 10px; color: var(--ink-3); }
.deal-prod { cursor: pointer; transition: opacity .3s var(--ease); }
.deal-prod.swap { opacity: 0; }
.deal-img { position: relative; aspect-ratio: 1; background: var(--img-tile); border-radius: 12px; display: grid; place-items: center; padding: 14px; margin-bottom: 12px; }
.deal-img .disc-badge { position: absolute; top: 8px; left: 8px; }
.deal-price.sale { color: var(--deal); }
.deal-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.deal-brand { display: block; min-height: 14px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--brand-ink); }
.deal-name { font-size: 13.5px; font-weight: 600; line-height: 1.35; min-height: 2.7em; margin: 4px 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.deal-price { font-family: var(--font-head); font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.deal-price .cur { font-size: 15px; color: var(--ink-2); }
.deal-card .btn { margin-top: 12px; height: 44px; }

/* ── Brands ────────────────────────────────────────────────── */
.brands-section { margin-top: 30px; }
.section-head.tight { margin: 0 0 14px; }
.brands-count { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--brand-ink); background: var(--brand-soft); padding: 6px 14px; border-radius: 999px; }
/* top logo strip — horizontal slider with arrows */
.strip-wrap { position: relative; }
.brand-track { display: flex; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; box-shadow: var(--shadow-xs); cursor: grab; }
.brand-track::-webkit-scrollbar { display: none; }
.brand-track.drag { cursor: grabbing; scroll-behavior: auto; }
.brand-cell { flex: 0 0 150px; height: 84px; display: grid; place-items: center; border-radius: 13px; cursor: pointer; padding: 10px; background: var(--surface-2); border: 1px solid transparent; transition: background .15s, transform .15s var(--ease), border-color .15s, box-shadow .15s; user-select: none; }
.brand-cell:hover { background: var(--surface); border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.brand-cell img { max-height: 40px; max-width: 112px; object-fit: contain; pointer-events: none; }
[data-theme="dark"] .brand-cell img { filter: brightness(0) invert(1); opacity: .92; }
.brand-chip { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--ink); letter-spacing: -.02em; text-align: center; pointer-events: none; }
.strip-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow-md); display: grid; place-items: center; cursor: pointer; color: var(--ink); z-index: 5; transition: background .15s, color .15s, opacity .15s; }
.strip-nav:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.strip-nav.prev { left: -15px; } .strip-nav.next { right: -15px; }
.strip-nav[disabled] { opacity: 0; pointer-events: none; }
@media (max-width: 640px) { .strip-nav { display: none; } }

/* bottom all-brands — 3-row horizontal slider */
.brand-cloud { display: grid; grid-auto-flow: column; grid-template-rows: repeat(3, auto); grid-auto-columns: max-content; gap: 10px; margin-top: 14px; padding-bottom: 8px; overflow-x: auto; scrollbar-width: none; cursor: grab; }
.brand-cloud::-webkit-scrollbar { display: none; }
.brand-cloud.drag { cursor: grabbing; }
.brand-tag { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border: 1px solid var(--line-2); background: var(--surface); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; transition: all .15s var(--ease); white-space: nowrap; user-select: none; }
.brand-tag span { font-size: 11px; color: var(--ink-3); background: var(--surface-2); padding: 1px 7px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.brand-tag:hover { border-color: var(--brand); color: var(--brand-ink); background: var(--brand-soft); }
.brand-tag:hover span { background: var(--surface); }

/* ── Services ──────────────────────────────────────────────── */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
.svc { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-xs); }
.svc-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--brand-soft); color: var(--brand-ink); flex-shrink: 0; }
.svc strong { display: block; font-family: var(--font-head); font-size: 15px; }
.svc span { font-size: 12.5px; color: var(--ink-2); }

/* ── Section head & catalog tabs ───────────────────────────── */
.section-head { margin: 48px 0 18px; display: flex; align-items: end; justify-content: space-between; }
.section-head h2 { font-size: clamp(22px, 2.6vw, 30px); }
.cat-tabs { display: flex; gap: 9px; overflow-x: auto; padding-bottom: 16px; scrollbar-width: none; }
.cat-tabs::-webkit-scrollbar { display: none; }
.tab { flex-shrink: 0; height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink-2); font-weight: 600; font-size: 14px; cursor: pointer; transition: all .18s var(--ease); white-space: nowrap; }
.tab:hover { color: var(--ink); border-color: var(--brand); }
.tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }
[data-theme="dark"] .tab.active { background: var(--brand); border-color: var(--brand); color: #06240F; }

/* ── Catalog layout ────────────────────────────────────────── */
.catalog-layout { display: grid; grid-template-columns: 264px 1fr; gap: 24px; padding-bottom: 90px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 14px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-xs); }
.filters-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.filters-head h2 { font-size: 18px; }
.filter-group { padding: 16px 0; border-top: 1px solid var(--line); }
.filter-group h3 { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.price-row { display: flex; align-items: center; gap: 8px; color: var(--ink-3); }
.price-row input, .brand-search { width: 100%; height: 42px; padding: 0 12px; border: 1.5px solid var(--line-2); border-radius: 11px; background: var(--surface-2); color: var(--ink); outline: none; }
.price-row input:focus, .brand-search:focus { border-color: var(--brand); background: var(--surface); }
.brand-search { margin-bottom: 10px; }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); cursor: pointer; }
.brand-list { max-height: 300px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.facet-list { display: flex; flex-direction: column; gap: 2px; max-height: 240px; overflow-y: auto; }
.brand-item { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 9px; cursor: pointer; font-size: 14px; transition: background .15s; }
.brand-item:hover { background: var(--surface-2); }
.brand-item input { width: 17px; height: 17px; accent-color: var(--brand); cursor: pointer; }
.brand-item .count { margin-left: auto; color: var(--ink-3); font-size: 12px; font-variant-numeric: tabular-nums; }

/* ── Toolbar ───────────────────────────────────────────────── */
.toolbar { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.result-count { color: var(--ink-2); font-size: 14px; font-weight: 500; }
.sort { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.sort select { height: 44px; padding: 0 36px 0 14px; border: 1.5px solid var(--line-2); border-radius: 11px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23939CAD' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; -webkit-appearance: none; appearance: none; cursor: pointer; color: var(--ink); }
.sort select:focus { border-color: var(--brand); outline: none; }
.filters-toggle { display: none; border: 1.5px solid var(--line-2); font-weight: 600; font-size: 14px; }
.cat-drawer-btn { display: none; border: 1.5px solid var(--line-2); font-weight: 600; font-size: 14px; }
.cat-drawer { position: fixed; top: 0; left: 0; bottom: 0; width: min(330px, 88%); background: var(--bg); z-index: 215; box-shadow: var(--shadow-lg); transform: translateX(-105%); transition: transform .3s var(--ease); overflow-y: auto; display: flex; flex-direction: column; }
.cat-drawer.open { transform: none; }
.cd-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px; border-bottom: 1px solid var(--line); background: var(--surface); position: sticky; top: 0; }
.cd-head h3 { font-size: 18px; }
.cd-body { padding: 8px; }
.cd-top { display: flex; align-items: center; gap: 11px; width: 100%; padding: 13px 12px; border: 0; background: none; border-radius: 11px; cursor: pointer; color: var(--ink); font-weight: 600; font-size: 14.5px; text-align: left; }
.cd-top:hover { background: var(--surface-2); }
.cd-top img { width: 26px; height: 26px; object-fit: contain; }
[data-theme="dark"] .cd-top img { filter: invert(1) brightness(1.6); }
.cd-name { flex: 1; }
.cd-chev { color: var(--ink-3); transition: transform .2s var(--ease); }
.cd-cat.open .cd-chev { transform: rotate(90deg); color: var(--brand); }
.cd-subs { display: none; padding: 2px 0 8px 40px; }
.cd-cat.open .cd-subs { display: block; }
.cd-sub { display: flex; align-items: center; gap: 6px; width: 100%; padding: 9px 12px; border: 0; background: none; border-radius: 9px; cursor: pointer; color: var(--ink-2); font-size: 14px; text-align: left; }
.cd-sub:hover { background: var(--surface-2); color: var(--brand-ink); }
.cd-sub span { margin-left: auto; font-size: 11px; color: var(--ink-3); }
@media (max-width: 1080px) { .cat-drawer-btn { display: inline-flex; } }
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.active-chips:empty { display: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 6px 0 14px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; }
.chip button { background: none; border: 0; cursor: pointer; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: var(--ink-3); }
.chip button:hover { background: var(--surface-3); color: var(--ink); }

/* ── Product grid ──────────────────────────────────────────── */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(218px, 1fr)); gap: 18px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; margin: 34px 0 8px; }
.pg-btn { min-width: 40px; height: 40px; padding: 0 11px; border: 1.5px solid var(--line); background: var(--surface); border-radius: 11px; font-weight: 700; font-size: 14px; color: var(--ink); cursor: pointer; font-variant-numeric: tabular-nums; transition: border-color .15s, color .15s, background .15s, transform .15s var(--ease); }
.pg-btn:hover:not(:disabled):not(.active) { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.pg-btn.active { background: var(--brand-grad); color: #fff; border-color: transparent; box-shadow: var(--shadow-brand); }
.pg-btn:disabled { opacity: .4; cursor: default; }
.pg-nav { font-size: 19px; line-height: 1; }
.pg-gap { color: var(--ink-3); padding: 0 2px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s; animation: cardIn .45s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(12px); } }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.card-media { position: relative; aspect-ratio: 1; min-height: 0; overflow: hidden; background: var(--img-tile); margin: 12px 12px 0; border-radius: var(--radius-sm); padding: 16px; display: grid; place-items: center; }
.card-media img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; z-index: 2; }
.stock-badge { font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; width: max-content; }
.stock-badge.in { background: var(--ok-soft); color: var(--ok); }
.stock-badge.out { background: var(--out-soft); color: var(--out); }
.disc-badge { font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; color: #fff; background: linear-gradient(135deg, #FB3B5C, #E11D48); box-shadow: 0 6px 14px -4px rgba(225,29,72,.55); font-variant-numeric: tabular-nums; width: max-content; }
.disc-badge.lg { font-size: 14px; padding: 5px 12px; }
.old-price { color: var(--ink-3); text-decoration: line-through; font-weight: 600; font-size: 13px; margin-left: 8px; font-variant-numeric: tabular-nums; }
.price.sale { color: var(--deal); }
.pp-old { color: var(--ink-3); text-decoration: line-through; font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; }
.card-body { display: flex; flex-direction: column; gap: 5px; padding: 12px 16px 16px; flex: 1; }
.card-brand { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--brand-ink); }
.card-name { font-size: 14px; font-weight: 600; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; }
.price { font-family: var(--font-head); font-weight: 800; font-size: 19px; font-variant-numeric: tabular-nums; }
.price .cur { color: var(--ink-2); font-weight: 600; font-size: 13px; }
.price.none { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.add-btn { width: 42px; height: 42px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--surface); display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: all .18s var(--ease); flex-shrink: 0; }
.add-btn:hover { background: var(--brand-grad); color: #fff; border-color: transparent; transform: scale(1.08); box-shadow: var(--shadow-brand); }

.skel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; padding: 12px; }
.skel .sk-media { aspect-ratio: 1; border-radius: var(--radius-sm); }
.skel .sk-line { height: 12px; margin: 12px 4px; border-radius: 6px; }
.shimmer { background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 37%, var(--surface-2) 63%); background-size: 400% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
.empty { text-align: center; padding: 80px 20px; color: var(--ink-2); }
.empty p { font-size: 18px; font-weight: 600; margin: 14px 0 20px; color: var(--ink); }
.sentinel { height: 1px; }
.grid-loader { display: grid; place-items: center; padding: 34px; }
.spinner { width: 30px; height: 30px; border: 3px solid var(--line-2); border-top-color: var(--brand); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Product detail panel ──────────────────────────────────── */
.overlay { position: fixed; inset: 0; background: rgba(8,12,22,.5); backdrop-filter: blur(4px); z-index: 200; animation: fade .25s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.product-panel { position: fixed; top: 0; right: 0; bottom: 0; width: min(960px, 100%); background: var(--bg); z-index: 210; overflow-y: auto; box-shadow: var(--shadow-lg); animation: slideIn .35s var(--ease); }
@keyframes slideIn { from { transform: translateX(50px); opacity: .5; } }
.pp-close { position: absolute; top: 18px; right: 18px; z-index: 5; background: var(--surface); box-shadow: var(--shadow-sm); }
.pp-inner { display: grid; grid-template-columns: 1fr 1fr; }
.pp-gallery { background: var(--surface); padding: 46px 34px; position: sticky; top: 0; align-self: start; border-right: 1px solid var(--line); }
.pp-main-img { position: relative; aspect-ratio: 1; background: var(--img-tile); border-radius: var(--radius); display: grid; place-items: center; padding: 30px; box-shadow: var(--shadow-xs); }
.pp-main-img img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; cursor: zoom-in; }
.pp-zoom { position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); display: grid; place-items: center; cursor: zoom-in; box-shadow: var(--shadow-xs); transition: color .15s, transform .15s var(--ease); }
.pp-zoom:hover { color: var(--brand); transform: scale(1.08); }
.pp-thumbs { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.pp-thumb { width: 64px; height: 64px; border-radius: 11px; border: 1.5px solid var(--line-2); background: var(--img-tile); padding: 7px; cursor: pointer; transition: border-color .15s; }
.pp-thumb.active { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.pp-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pp-content { padding: 56px 42px 50px; }
.pp-breadcrumb { font-size: 13px; color: var(--ink-2); margin-bottom: 14px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pp-breadcrumb a { color: var(--ink-2); text-decoration: none; border-radius: 6px; padding: 1px 4px; transition: color .15s, background .15s; }
.pp-breadcrumb a:hover { color: var(--brand-ink); background: var(--brand-soft); }
.pp-breadcrumb a:last-child { color: var(--ink); font-weight: 600; pointer-events: none; }
.crumb-sep { color: var(--ink-3); }
.pp-brand { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--brand-ink); }
.pp-content h2 { font-size: 27px; margin: 8px 0 18px; }
.pp-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.pp-price { font-family: var(--font-head); font-size: 34px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pp-price .cur { font-size: 21px; color: var(--ink-2); }
.pp-buy { display: flex; gap: 12px; margin-bottom: 14px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.qty button { width: 46px; height: 48px; border: 0; background: var(--surface); color: var(--ink); cursor: pointer; font-size: 20px; }
.qty button:hover { background: var(--surface-2); }
.qty span { min-width: 36px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.pp-note { font-size: 13px; color: var(--ink-2); display: flex; align-items: center; gap: 7px; margin-bottom: 28px; }
.specs h3 { font-size: 18px; margin: 26px 0 12px; }
.spec-group { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 12px; background: var(--surface); }
.spec-group summary { padding: 14px 16px; font-weight: 600; cursor: pointer; font-family: var(--font-head); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.spec-group summary::-webkit-details-marker { display: none; }
.spec-group summary::after { content: "+"; color: var(--brand-ink); font-size: 20px; }
.spec-group[open] summary::after { content: "−"; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-top: 1px solid var(--line); }
.spec-table td { padding: 11px 16px; font-size: 14px; vertical-align: top; }
.spec-table td:first-child { color: var(--ink-2); width: 46%; }
.spec-table td:last-child { font-weight: 600; }

/* ── Product page (full page, not modal) ───────────────────── */
.product-page { display: none; }
body.product-open .product-page { display: block; padding: 22px 0 70px; }
body.product-open .hero-band,
body.product-open .brands-section,
body.product-open .services,
body.product-open .inst-band,
body.product-open #merch,
body.product-open #catalog,
body.product-open .compare-tray { display: none !important; }
.pp2-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.pp2-back { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border: 1px solid var(--line-2); background: var(--surface); border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: 14px; cursor: pointer; color: var(--ink); transition: border-color .15s, color .15s; }
.pp2-back:hover { border-color: var(--brand); color: var(--brand-ink); }
.pp2-head .pp-breadcrumb { margin: 0; }
.pp2 { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.pp2 .pp-gallery { position: sticky; top: 88px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-xs); }
.pp2 .pp-content { padding: 0; }
.pp-content h1 { font-family: var(--font-head); font-size: 30px; font-weight: 800; margin: 8px 0 12px; line-height: 1.15; }
.pp-favbtn { width: 54px; flex: 0 0 auto; padding: 0; }
.pp-favbtn.on { color: var(--deal); border-color: var(--deal); }
.pp-favbtn.on svg { fill: var(--deal); }
.pp-desc { margin-top: 26px; }
.pp-desc h3 { font-size: 18px; margin-bottom: 10px; }
.pp-desc p { color: var(--ink-2); line-height: 1.75; }
@media (max-width: 900px) { .pp2 { grid-template-columns: 1fr; gap: 22px; } .pp2 .pp-gallery { position: static; } }

/* fullscreen image lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(10,15,25,.86); display: grid; place-items: center; padding: 40px; opacity: 0; transition: opacity .2s var(--ease); backdrop-filter: blur(4px); }
.lightbox.open { opacity: 1; }
.lightbox img { max-width: min(92vw, 900px); max-height: 86vh; object-fit: contain; border-radius: 10px; background: #fff; padding: 18px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); }
.lb-close { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; transition: background .15s; }
.lb-close:hover { background: rgba(255,255,255,.25); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 32px; line-height: 1; cursor: pointer; transition: background .15s; }
.lb-nav:hover { background: rgba(255,255,255,.25); }
.lb-prev { left: 20px; } .lb-next { right: 20px; }
.lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 13px; font-variant-numeric: tabular-nums; background: rgba(255,255,255,.12); padding: 5px 12px; border-radius: 999px; }

/* sticky add-to-cart bar (mobile only) */
.pp-stickybar { display: none; }
@media (max-width: 768px) {
  body.product-open .pp-stickybar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; align-items: center; gap: 12px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(16,22,40,.25); }
  .psb-info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
  .psb-name { font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .psb-price { font-family: var(--font-head); font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }
  .psb-add { flex: 0 0 auto; height: 46px; padding: 0 22px; }
  .pp-content { padding-bottom: 84px; }
}
.prod-rows { margin-top: 40px; }
.prow { margin-bottom: 30px; }
.prow h3 { font-size: 20px; margin-bottom: 14px; }
.row-scroll { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.row-scroll::-webkit-scrollbar { height: 8px; }
.row-scroll::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 4px; }
.row-card { width: 210px; flex: 0 0 auto; }
.pp-notify { margin-left: 10px; padding: 0; }
.prow.bundle { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-xs); }
.bundle-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.bundle-card { width: 150px; cursor: pointer; text-align: center; }
.bundle-img { aspect-ratio: 1; background: var(--img-tile); border-radius: 12px; padding: 12px; border: 1px solid var(--line); }
.bundle-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.bundle-name { font-size: 13px; font-weight: 600; margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bundle-price { font-family: var(--font-head); font-weight: 700; color: var(--brand-ink); font-size: 14px; }
.bundle-plus { font-size: 22px; color: var(--ink-3); font-weight: 700; }
.bundle-buy { margin-left: auto; text-align: right; }
.bundle-total { font-size: 14px; color: var(--ink-2); margin-bottom: 8px; }
.bundle-total strong { font-family: var(--font-head); font-size: 20px; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .bundle-buy { margin-left: 0; width: 100%; text-align: left; } }

/* cookie consent */
.cookie-bar { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); width: min(680px, calc(100vw - 28px)); background: var(--ink); color: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 14px 16px; display: flex; align-items: center; gap: 16px; z-index: 280; animation: toastIn .3s var(--ease); }
.cookie-bar span { font-size: 14px; flex: 1; }
.cookie-bar .btn { height: 40px; padding: 0 18px; }

/* ── Account page ──────────────────────────────────────────── */
.account-page { display: none; }
body.account-open .account-page { display: block; padding: 22px 0 70px; }
body.account-open .hero-band, body.account-open .brands-section, body.account-open .services, body.account-open .inst-band, body.account-open #merch,
body.account-open #catalog, body.account-open .compare-tray, body.account-open .product-page { display: none !important; }
.acct-top { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.acct-top h1 { font-size: clamp(22px, 3vw, 30px); }
.account-wrap { display: grid; grid-template-columns: 280px 1fr; gap: 26px; align-items: start; }
.acct-side { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: sticky; top: 88px; box-shadow: var(--shadow-xs); }
.acct-user { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.acct-uinfo { overflow: hidden; }
.acct-uinfo strong { display: block; font-size: 15px; }
.acct-uinfo span { font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-nav { display: flex; flex-direction: column; gap: 3px; }
.acct-navitem { display: flex; align-items: center; gap: 11px; width: 100%; padding: 12px 13px; border: 0; background: none; border-radius: 11px; cursor: pointer; color: var(--ink); font-size: 14.5px; font-weight: 600; text-align: left; }
.acct-navitem svg { color: var(--ink-2); }
.acct-navitem:hover { background: var(--surface-2); }
.acct-navitem.active { background: var(--brand-soft); color: var(--brand-ink); }
.acct-navitem.active svg { color: var(--brand-ink); }
.acct-navitem.danger { color: var(--out); } .acct-navitem.danger svg { color: var(--out); }
.acct-navitem.danger:hover { background: var(--out-soft); }
.acct-main h2 { font-size: 22px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.acct-count { font-size: 13px; font-weight: 700; color: var(--brand-ink); background: var(--brand-soft); padding: 3px 11px; border-radius: 999px; }
.acct-empty { text-align: center; padding: 70px 20px; color: var(--ink-2); }
.acct-empty p { margin-bottom: 18px; font-size: 16px; }
/* my alerts */
.alert-list { display: flex; flex-direction: column; gap: 12px; }
.alert-item { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; box-shadow: var(--shadow-xs); }
.alert-item.fired { border-color: var(--brand); background: var(--brand-soft); }
.al-img { width: 54px; height: 54px; flex-shrink: 0; background: var(--img-tile); border-radius: 10px; display: grid; place-items: center; padding: 5px; }
.al-img img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.al-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.al-name { font-weight: 600; color: var(--ink); cursor: pointer; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.al-name:hover { color: var(--brand); }
.al-status { font-size: 13px; color: var(--ink-2); }
.alert-item.fired .al-status { color: var(--brand-ink); font-weight: 600; }
.al-was { text-decoration: line-through; color: var(--ink-3); font-weight: 400; margin-left: 6px; }
.al-side { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; flex-shrink: 0; }
.al-badge { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--surface-3); color: var(--ink-2); white-space: nowrap; }
.al-badge.on { background: var(--brand); color: #fff; }
@media (max-width: 560px) { .al-side { align-items: flex-end; } .al-name { max-width: 150px; } }
.order-full { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 16px; overflow: hidden; box-shadow: var(--shadow-xs); }
.of-head { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: var(--surface-2); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.of-id b { font-family: var(--font-head); font-size: 15px; }
.of-id span { display: block; font-size: 12px; color: var(--ink-3); }
.status-badge { font-size: 12px; font-weight: 700; color: var(--brand-ink); background: var(--brand-soft); padding: 5px 12px; border-radius: 999px; }
.of-total { margin-left: auto; font-family: var(--font-head); font-size: 19px; font-variant-numeric: tabular-nums; }
.of-items { padding: 8px 20px; }
.of-item { display: flex; align-items: center; gap: 13px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.of-item:last-child { border-bottom: 0; }
.of-img { width: 52px; height: 52px; border-radius: 10px; background: var(--img-tile); padding: 5px; border: 1px solid var(--line); flex-shrink: 0; }
.of-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.of-name { font-size: 14px; font-weight: 600; display: block; }
.of-qp { font-size: 13px; color: var(--ink-2); }
.of-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 16px 20px; border-top: 1px solid var(--line); }
.of-block h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); margin-bottom: 6px; }
.of-block p { font-size: 14px; color: var(--ink); }
.of-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; padding-top: 4px; }
.btn-invoice { display: inline-flex; align-items: center; gap: 7px; }
.acct-fav-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
@media (max-width: 860px) { .account-wrap { grid-template-columns: 1fr; } .acct-side { position: static; } .acct-nav { flex-direction: row; flex-wrap: wrap; } .of-foot { grid-template-columns: 1fr; } }

/* order status badge colors */
.status-badge.st-received { color: var(--brand-ink); background: var(--brand-soft); }
.status-badge.st-processing { color: #B45309; background: rgba(245,158,11,.14); }
.status-badge.st-shipped { color: #1D4ED8; background: rgba(37,99,235,.13); }
.status-badge.st-delivered { color: var(--ok); background: var(--ok-soft); }
.status-badge.st-cancelled { color: var(--out); background: var(--out-soft); }

/* ── Admin page ────────────────────────────────────────────── */
.admin-page { display: none; }
body.admin-open .admin-page { display: block; padding: 22px 0 70px; }
body.admin-open .hero-band, body.admin-open .brands-section, body.admin-open .services,
body.admin-open #catalog, body.admin-open .compare-tray, body.admin-open .product-page, body.admin-open .account-page { display: none !important; }
.adm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 30px; }
.adm-stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-xs); }
.adm-stat-v { display: block; font-family: var(--font-head); font-size: 28px; font-weight: 800; }
.adm-stat-l { font-size: 13px; color: var(--ink-2); }
.adm-section { margin-bottom: 34px; }
.adm-section h2 { font-size: 20px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.adm-tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.adm-table { width: 100%; border-collapse: collapse; }
.adm-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); padding: 12px 14px; border-bottom: 1px solid var(--line); }
.adm-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 14px; white-space: nowrap; }
.adm-table tr:last-child td { border-bottom: 0; }
.adm-email { color: var(--ink-2); }
.adm-status { height: 36px; border: 1.5px solid var(--line-2); border-radius: 9px; padding: 0 10px; background: var(--surface); color: var(--ink); cursor: pointer; font-weight: 600; }
.adm-status.st-delivered { border-color: var(--ok); color: var(--ok); }
.adm-status.st-shipped { border-color: #2563EB; color: #1D4ED8; }
.adm-status.st-cancelled { border-color: var(--out); color: var(--out); }
.adm-promos { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.adm-promo { display: inline-flex; align-items: center; gap: 9px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 8px 8px 15px; font-weight: 600; font-size: 14px; }
.adm-promo span { color: var(--brand-ink); font-size: 12px; }
.adm-del { width: 22px; height: 22px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--ink-3); cursor: pointer; font-size: 11px; }
.adm-del:hover { background: var(--out-soft); color: var(--out); }
.adm-promoform { display: flex; gap: 10px; flex-wrap: wrap; }
.adm-promoform input, .adm-promoform select { height: 46px; padding: 0 12px; border: 1.5px solid var(--line-2); border-radius: 11px; background: var(--surface-2); color: var(--ink); outline: none; }
.adm-promoform input:focus { border-color: var(--brand); }
.adm-promoform #apCode { width: 140px; text-transform: uppercase; }
.adm-promoform #apValue { width: 90px; }
.adm-promoform .btn { height: 46px; }
@media (max-width: 760px) { .adm-stats { grid-template-columns: repeat(2, 1fr); } }

/* ── Cart drawer ───────────────────────────────────────────── */
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--bg); z-index: 210; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); animation: slideIn .35s var(--ease); }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 22px; border-bottom: 1px solid var(--line); background: var(--surface); }
.cart-head h2 { font-size: 20px; }
.cart-body { flex: 1; overflow-y: auto; padding: 12px 22px; }
.cart-empty { text-align: center; color: var(--ink-2); padding: 60px 0; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item-img { width: 64px; height: 64px; background: var(--img-tile); border-radius: 11px; padding: 7px; border: 1px solid var(--line); }
.cart-item-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cart-item-name { font-size: 13px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-item-price { color: var(--brand-ink); font-weight: 700; font-size: 14px; margin-top: 4px; font-variant-numeric: tabular-nums; }
.cart-qty { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; }
.cart-qty button { width: 27px; height: 27px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); border-radius: 8px; cursor: pointer; }
.cart-item-rm { background: none; border: 0; color: var(--ink-3); cursor: pointer; align-self: start; }
.cart-item-rm:hover { color: var(--out); }
.cart-foot { padding: 20px 22px; border-top: 1px solid var(--line); background: var(--surface); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.cart-total strong { font-family: var(--font-head); font-size: 26px; font-variant-numeric: tabular-nums; }

/* ── Account button + profile menu ─────────────────────────── */
.account-btn { background: var(--surface-2); }
.account-btn:hover { background: var(--brand-soft); color: var(--brand-ink); }
.acc-label { font-weight: 600; font-size: 14px; }
.avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-grad); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 13px; flex-shrink: 0; }
.avatar.lg { width: 46px; height: 46px; font-size: 18px; }
.profile-menu { position: fixed; top: calc(var(--topbar-h) + var(--header-h) - 6px); right: max(22px, calc((100vw - var(--maxw)) / 2 + 22px)); width: 280px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); z-index: 220; padding: 8px; animation: pmIn .2s var(--ease); }
@keyframes pmIn { from { opacity: 0; transform: translateY(-8px); } }
.pm-head { display: flex; align-items: center; gap: 12px; padding: 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.pm-id { overflow: hidden; }
.pm-id strong { display: block; font-size: 15px; }
.pm-id span { font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm-item { display: flex; align-items: center; gap: 11px; width: 100%; padding: 11px 12px; border: 0; background: none; color: var(--ink); border-radius: 10px; cursor: pointer; font-size: 14px; font-weight: 500; text-align: left; transition: background .14s; }
.pm-item svg { color: var(--ink-2); }
.pm-item:hover { background: var(--surface-2); }
.pm-item.danger { color: var(--out); } .pm-item.danger svg { color: var(--out); }
.pm-item.danger:hover { background: var(--out-soft); }

/* ── Auth modal ────────────────────────────────────────────── */
.modal-wrap { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; background: rgba(8,12,22,.55); backdrop-filter: blur(6px); animation: fade .22s var(--ease); }
.modal-card { position: relative; width: min(880px, 100%); max-height: 92vh; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); animation: modalIn .3s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: scale(.96) translateY(10px); } }
.auth-side { position: relative; overflow: hidden; padding: 44px 38px; color: #fff; background: var(--brand-grad); display: flex; flex-direction: column; }
.auth-side::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,.12); }
.auth-side .brand-mark.lg { width: 52px; height: 52px; border-radius: 15px; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); margin-bottom: 22px; }
.auth-side h3 { font-size: 26px; font-weight: 800; }
.auth-side p { color: rgba(255,255,255,.9); margin: 12px 0 26px; font-size: 14.5px; line-height: 1.55; }
.auth-perks { list-style: none; display: flex; flex-direction: column; gap: 13px; margin-top: auto; }
.auth-perks li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.auth-perks svg { background: rgba(255,255,255,.2); border-radius: 50%; padding: 3px; flex-shrink: 0; }
.auth-main { position: relative; padding: 44px 40px; overflow-y: auto; }
.modal-close { position: absolute; top: 14px; right: 14px; }
.auth-main h2 { font-size: 26px; }
.auth-sub { color: var(--ink-2); margin: 6px 0 20px; font-size: 14px; }
.auth-tabs { display: flex; gap: 6px; background: var(--surface-2); padding: 5px; border-radius: 12px; margin-bottom: 22px; }
.auth-tab { flex: 1; height: 40px; border: 0; background: none; border-radius: 9px; cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--ink-2); transition: all .18s var(--ease); }
.auth-tab.active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-xs); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; color: var(--ink-2); }
.field input { width: 100%; height: 48px; padding: 0 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--surface-2); color: var(--ink); outline: none; transition: border-color .16s, background .16s; }
.field input:focus { border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 4px var(--brand-soft); }
.field input.invalid { border-color: var(--out); }
.pw { position: relative; }
.pw input { padding-right: 46px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: none; color: var(--ink-3); cursor: pointer; border-radius: 9px; display: grid; place-items: center; }
.pw-toggle:hover { color: var(--ink); background: var(--surface-3); }
.auth-error { background: var(--out-soft); color: var(--out); font-size: 13px; font-weight: 500; padding: 10px 13px; border-radius: 10px; margin-bottom: 14px; }
.auth-main .btn-primary { margin-top: 4px; height: 50px; }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--ink-3); font-size: 12.5px; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-social { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.social-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 46px; border: 1.5px solid var(--line-2); background: var(--surface); border-radius: 12px; cursor: pointer; font-weight: 600; font-size: 14px; transition: background .15s, border-color .15s; }
.social-btn:hover { background: var(--surface-2); border-color: var(--ink-3); }
.auth-switch { text-align: center; font-size: 14px; color: var(--ink-2); margin-top: 20px; }
.auth-switch b { color: var(--brand-ink); cursor: pointer; font-weight: 700; }
.auth-switch b:hover { text-decoration: underline; }
@media (max-width: 720px) { .modal-card { grid-template-columns: 1fr; } .auth-side { display: none; } .auth-main { padding: 38px 26px; } }

/* ── Checkout / orders modal ───────────────────────────────── */
.modal-card.co-card { display: block; width: min(540px, 100%); max-height: 92vh; overflow-y: auto; padding: 34px 32px; }
.co-card h2 { font-size: 24px; margin-bottom: 4px; }
.co-card h3 { font-size: 15px; margin: 22px 0 12px; }
.co-summary { display: flex; align-items: center; justify-content: space-between; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-top: 14px; }
.co-summary span { color: var(--ink-2); font-weight: 600; }
.co-summary strong { font-family: var(--font-head); font-size: 22px; font-variant-numeric: tabular-nums; }
.co-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay-opts { display: grid; gap: 10px; }
.pay-opt { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border: 1.5px solid var(--line-2); border-radius: 12px; cursor: pointer; font-weight: 600; font-size: 14px; transition: border-color .15s, background .15s; }
.pay-opt:hover { border-color: var(--brand); }
.pay-opt:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.pay-opt input { accent-color: var(--brand); width: 18px; height: 18px; }
.pay-emoji { font-size: 18px; }
.co-card .btn-block { margin-top: 18px; height: 52px; }
.dm-opts { grid-template-columns: 1fr 1fr; margin-bottom: 14px; }
.co-select { width: 100%; height: 48px; padding: 0 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--surface-2); color: var(--ink); outline: none; }
.co-select:focus { border-color: var(--brand); }
.promo-row { display: flex; gap: 10px; }
.promo-row input { flex: 1; height: 48px; padding: 0 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--surface-2); color: var(--ink); outline: none; }
.promo-row input:focus { border-color: var(--brand); }
.promo-row .btn { height: 48px; flex: 0 0 auto; }
.promo-msg { font-size: 13px; font-weight: 600; margin-top: 8px; }
.promo-msg.ok { color: var(--ok); } .promo-msg.bad { color: var(--out); }
.co-totals { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.ct-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--ink-2); padding: 4px 0; }
.ct-row.disc { color: var(--ok); font-weight: 600; }
.ct-row.total { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--ink); }
.ct-row.total strong { font-family: var(--font-head); font-size: 22px; font-variant-numeric: tabular-nums; }
.order-success { text-align: center; padding: 16px 8px 8px; }
.ok-check { width: 72px; height: 72px; margin: 8px auto 18px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; animation: pop .4s var(--ease); }
@keyframes pop { from { transform: scale(.5); opacity: 0; } }
.order-success h2 { font-size: 24px; }
.order-success p { color: var(--ink-2); margin-top: 6px; }
.order-success .os-total { font-family: var(--font-head); font-size: 20px; color: var(--ink); font-weight: 700; margin: 10px 0 22px; }
.orders-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.order-row { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.order-row .or-id b { font-family: var(--font-head); }
.order-row .or-id span { display: block; font-size: 12px; color: var(--ink-3); }
.order-row .or-mid { font-size: 13px; color: var(--ink-2); }
.order-row strong { font-family: var(--font-head); font-variant-numeric: tabular-nums; }

/* ── Search autocomplete ───────────────────────────────────── */
.search { position: relative; }
.search-suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden auto; z-index: 120; max-height: 64vh; padding: 6px; }
.ss-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); padding: 9px 10px 4px; }
.ss-item { display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 10px; cursor: pointer; }
.ss-item:hover, .ss-item.active { background: var(--surface-2); }
.ss-thumb { width: 40px; height: 40px; border-radius: 9px; background: var(--img-tile); padding: 4px; object-fit: contain; mix-blend-mode: multiply; flex-shrink: 0; }
.ss-name { font-size: 13.5px; font-weight: 500; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ss-price { font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.ss-tag-ico { width: 40px; height: 40px; border-radius: 9px; background: var(--brand-soft); color: var(--brand-ink); display: grid; place-items: center; flex-shrink: 0; }

/* ── Stars / ratings ───────────────────────────────────────── */
.stars { display: inline-flex; gap: 1px; color: #F5A623; }
.stars .e { color: var(--line-2); }
.rating-mini { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--ink-2); margin-top: 3px; }

/* ── Card favorite + compare actions ───────────────────────── */
.card-actions { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.card-act { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--surface); box-shadow: var(--shadow-xs); display: grid; place-items: center; color: var(--ink-3); cursor: pointer; opacity: 0; transform: translateY(-4px); transition: all .18s var(--ease); }
.card:hover .card-act { opacity: 1; transform: none; }
.card-act:hover { color: var(--ink); }
.card-act.active { opacity: 1; transform: none; }
.card-act.fav.active { color: var(--deal); }
.card-act.fav.active svg { fill: var(--deal); }
.card-act.cmp.active { color: var(--brand); background: var(--brand-soft); }

/* ── Compare tray + table ──────────────────────────────────── */
.compare-tray { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 10px 12px; display: flex; align-items: center; gap: 12px; z-index: 150; max-width: calc(100vw - 28px); animation: toastIn .25s var(--ease); }
.cmp-thumbs { display: flex; gap: 6px; }
.cmp-thumb { position: relative; width: 46px; height: 46px; border-radius: 9px; background: var(--img-tile); padding: 4px; border: 1px solid var(--line); }
.cmp-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cmp-thumb button { position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); color: #fff; border: 0; font-size: 10px; cursor: pointer; display: grid; place-items: center; line-height: 1; }
.compare-tray .btn { height: 42px; }
.cmp-clear { background: none; border: 0; color: var(--ink-3); cursor: pointer; font-size: 13px; font-weight: 600; }
.modal-card.cmp-card { display: block; width: min(1000px, 100%); max-height: 92vh; overflow: auto; padding: 28px; }
.cmp-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.cmp-table td, .cmp-table th { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; font-size: 13px; }
.cmp-table thead th { position: sticky; top: 0; background: var(--surface); z-index: 1; }
.cmp-table .pimg { width: 92px; height: 92px; object-fit: contain; mix-blend-mode: multiply; }
.cmp-table .pname { font-weight: 600; display: block; margin: 8px 0 4px; }
.cmp-table .pprice { font-family: var(--font-head); font-weight: 700; color: var(--brand-ink); }
.cmp-key { color: var(--ink-2); font-weight: 600; background: var(--surface-2); width: 200px; }
.cmp-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.cmp-difftoggle { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.cmp-difftoggle input { width: 17px; height: 17px; accent-color: var(--brand); }
.cmp-table thead th { text-align: center; position: relative; min-width: 180px; vertical-align: top; }
.cmp-table .pimg { display: block; margin: 0 auto 8px; }
.cmp-table .pname { display: block; font-weight: 600; cursor: pointer; min-height: 2.6em; }
.cmp-table .pname:hover { color: var(--brand-ink); }
.cmp-table .pimg { cursor: pointer; }
.cmp-table .pprice { display: block; font-family: var(--font-head); font-weight: 700; color: var(--brand-ink); margin: 6px 0 10px; }
.cmp-table .cmp-add { height: 38px; font-size: 13px; padding: 0 16px; }
.cmp-rm { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--ink-3); cursor: pointer; font-size: 11px; }
.cmp-rm:hover { background: var(--out-soft); color: var(--out); }
.cmp-table tr.diff td:not(.cmp-key) { background: color-mix(in srgb, var(--brand) 7%, transparent); }
.cmp-table tr.diff .cmp-key { color: var(--brand-ink); }
.cmp-table.diffonly tr:not(.diff) { display: none; }

/* ── Reviews ───────────────────────────────────────────────── */
.reviews { margin-top: 30px; }
.reviews h3 { font-size: 18px; margin-bottom: 12px; }
.rev-summary { display: flex; align-items: center; gap: 16px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; }
.rev-avg { font-family: var(--font-head); font-size: 36px; font-weight: 800; line-height: 1; }
.rev-summary .stars svg { width: 18px; height: 18px; }
.rev-count { font-size: 13px; color: var(--ink-2); }
.rev-form { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-bottom: 16px; }
.star-pick { display: flex; gap: 5px; margin-bottom: 10px; }
.star-pick button { background: none; border: 0; cursor: pointer; color: var(--line-2); padding: 0; }
.star-pick button.on { color: #F5A623; }
.rev-form textarea { width: 100%; min-height: 68px; border: 1.5px solid var(--line-2); border-radius: 10px; padding: 10px 12px; background: var(--surface); color: var(--ink); outline: none; resize: vertical; font: inherit; }
.rev-form textarea:focus { border-color: var(--brand); }
.rev-form .btn { margin-top: 10px; height: 42px; }
.rev-login { color: var(--ink-2); font-size: 14px; }
.rev-login b { color: var(--brand-ink); cursor: pointer; }
.rev-item { padding: 14px 0; border-top: 1px solid var(--line); }
.rev-ihead { display: flex; align-items: center; justify-content: space-between; }
.rev-name { font-weight: 600; }
.rev-verified { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; color: var(--ok); background: var(--ok-soft); padding: 2px 8px; border-radius: 999px; margin-left: 6px; }
.rev-date { font-size: 12px; color: var(--ink-3); }
.rev-text { color: var(--ink-2); margin-top: 6px; font-size: 14px; }
.rev-item .stars svg { width: 14px; height: 14px; }

/* ── Toast ─────────────────────────────────────────────────── */
.toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--surface); padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: 14px; z-index: 300; box-shadow: var(--shadow-lg); animation: toastIn .3s var(--ease); display: flex; align-items: center; gap: 9px; }
.toast svg { color: var(--brand); }
@keyframes toastIn { from { transform: translate(-50%, 16px); opacity: 0; } }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); margin-top: 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding: 48px 22px 30px; }
.footer-brand p { color: var(--ink-2); font-size: 14px; margin-top: 14px; max-width: 36ch; }
.footer-col h4 { font-size: 14px; margin-bottom: 14px; }
.footer-col a { display: block; color: var(--ink-2); font-size: 14px; padding: 5px 0; }
.footer-col a:hover { color: var(--brand-ink); }
.footer-bottom { border-top: 1px solid var(--line); padding: 18px 22px; color: var(--ink-3); font-size: 13px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer-privacy { color: var(--ink-2); }
.footer-privacy:hover { color: var(--brand-ink); }
.footer-social { margin-top: 20px; }
.fs-label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; }
.fs-icons { display: flex; gap: 10px; }
.fs-ico { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink-2); background: var(--surface); transition: .15s; }
.fs-ico:hover { color: #fff; background: var(--brand); border-color: var(--brand); transform: translateY(-2px); }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .hero-band { grid-template-columns: 1fr; }
  .cat-sidebar { display: none; }
  .deal-card { display: none; }
  .promo-text { max-width: 100%; }
  .promo-visual { display: none; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0 auto 0 0; width: min(340px, 87%); z-index: 215; border-radius: 0; transform: translateX(-105%); transition: transform .35s var(--ease); overflow-y: auto; }
  .filters.open { transform: none; }
  .filters-toggle { display: inline-flex; }
  .pp-inner { grid-template-columns: 1fr; }
  .pp-gallery { position: static; border-right: 0; border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .cart-label, .acc-label, .search-go { display: none; }
  .brand-name { display: none; }
  .hide-sm { display: none; }
  .pp-content { padding: 34px 22px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .services { grid-template-columns: 1fr; }
  .header-inner { gap: 12px; }
  .search { height: 48px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ═══════════════════════════════════════════════════════════════
   Visual pass v2 — motion, hero carousel, category cards, polish
   ═══════════════════════════════════════════════════════════════ */

/* — add-to-cart fly-to-cart animation — */
.fly-img { position: fixed; z-index: 3000; border-radius: 10px; object-fit: contain; background: #fff;
  box-shadow: 0 12px 30px -8px rgba(16,22,40,.4); pointer-events: none; will-change: transform, opacity;
  transition: transform .85s cubic-bezier(.5,-0.2,.4,1), opacity .85s ease, width .85s ease, height .85s ease; }
@keyframes cartBump { 0%,100% { transform: scale(1); } 30% { transform: scale(1.35); } 60% { transform: scale(.9); } }
.cart-btn.bump svg { animation: cartBump .5s var(--ease); }
.cart-count { transition: transform .2s var(--ease); }
.cart-count.bump { animation: cartBump .45s var(--ease); }

/* — wishlist heart pop + add-btn success — */
@keyframes heartPop { 0% { transform: scale(1); } 40% { transform: scale(1.4); } 70% { transform: scale(.85); } 100% { transform: scale(1); } }
.card-act.fav.pop svg { animation: heartPop .4s var(--ease); }
.add-btn.ok { background: var(--brand-grad); color: #fff; border-color: transparent; }
@keyframes addOk { 0% { transform: scale(1); } 45% { transform: scale(.82); } 100% { transform: scale(1); } }
.add-btn.ok { animation: addOk .4s var(--ease); }

/* — "new" ribbon badge — */
.new-badge { font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 999px; color: #fff;
  background: linear-gradient(135deg, #6366F1, #4338CA); box-shadow: 0 6px 14px -4px rgba(67,56,202,.5); width: max-content; letter-spacing: .02em; }

/* — sticky header: stronger shadow once scrolled — */
.site-header { transition: box-shadow .3s var(--ease), background .3s var(--ease); }
.site-header.scrolled { box-shadow: var(--shadow-md); background: color-mix(in srgb, var(--surface) 94%, transparent); }

/* — hero carousel — */
.promo { display: block !important; padding: 0; overflow: hidden; min-height: clamp(320px, 30vw, 430px); }
.promo::after { display: none; }                     /* old corner-glow was for the static layout */
.promo-track { display: flex; height: 100%; min-height: inherit; transition: transform .55s var(--ease); }
.promo-slide { flex: 0 0 100%; max-width: 100%; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 20px; padding: clamp(28px, 3.2vw, 44px); }
.promo-slide.solo { grid-template-columns: 1fr; max-width: 620px; }
.promo-slide .promo-visual { min-height: 200px; }
.promo-dots { position: absolute; bottom: 16px; left: 44px; display: flex; gap: 8px; z-index: 4; }
.promo-dots button { width: 9px; height: 9px; border-radius: 999px; border: 0; background: color-mix(in srgb, var(--ink) 22%, transparent); cursor: pointer; padding: 0; transition: all .25s var(--ease); }
.promo-dots button.active { width: 26px; background: var(--brand); }
.promo-slide--alt { color: #fff; background: var(--brand-grad); }
.promo-slide--alt .promo-tag { background: rgba(255,255,255,.2); color: #fff; }
.promo-slide--alt h1, .promo-slide--alt p { color: #fff; }
.promo-slide--alt .btn-primary { background: #fff; color: var(--brand-700); }
.promo-slide--dark { color: #fff; background: linear-gradient(135deg, #0F172A, #1E293B); }
.promo-slide--dark h1, .promo-slide--dark p { color: #fff; }
.promo-slide--dark .promo-tag { background: rgba(255,255,255,.14); color: #fff; }
.promo-big { font-size: clamp(30px, 4vw, 52px); font-weight: 800; }

/* — homepage category cards row — */
.cat-cards-section { margin-top: 22px; }
.cat-cards-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.cat-cards-head h2 { font-size: 22px; }
.cat-cards { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.cat-card { scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; text-align: center; transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.cat-card .cc-emblem { width: 62px; height: 62px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; }
.cat-card .cc-emblem img { width: 40px; height: 40px; object-fit: contain; }
[data-theme="dark"] .cat-card .cc-emblem img { filter: invert(1) brightness(1.6); opacity: .85; }
.cat-card .cc-name { font-size: 14px; font-weight: 600; line-height: 1.3; }
.cat-card .cc-count { font-size: 12px; color: var(--ink-3); }

@media (max-width: 860px) {
  .promo-slide { grid-template-columns: 1fr; padding: 30px 26px; }
  .promo-slide .promo-visual { display: none; }
  .promo-dots { left: 26px; bottom: 12px; }
}

/* — installment bank-partners band — */
.inst-band { margin-top: 26px; }
.inst-band .section-head { align-items: baseline; }
.inst-sub { color: var(--ink-3); font-size: 14px; }
.inst-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.inst-tile { position: relative; display: block; aspect-ratio: 2 / 1; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
.inst-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.inst-tile img { width: 100%; height: 100%; object-fit: contain; display: block; }
.inst-tile.tbc { background: #009FE3; }
.inst-tile.bog { background: linear-gradient(135deg, #7A2BBE, #5B1E96); }
.inst-fallback { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #fff; text-align: center; padding: 16px; }
.inst-fallback b { font-family: var(--font-head); font-size: clamp(24px, 3.4vw, 40px); font-weight: 800; letter-spacing: .01em; }
.inst-fallback small { font-size: 16px; opacity: .92; letter-spacing: .04em; }
.inst-tile.miss img { display: none; }
.inst-tile.miss .inst-fallback { display: flex; }
@media (max-width: 720px) { .inst-grid { grid-template-columns: 1fr; } }

/* — header notification bell + dropdown — */
.notif-btn { position: relative; }
.notif-count { position: absolute; top: 3px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px; background: var(--deal); color: #fff; font-size: 10.5px; font-weight: 700; border-radius: 999px; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--surface); }
.notif-btn.has svg { animation: bellRing 1s var(--ease) 1; transform-origin: 50% 4px; }
@keyframes bellRing { 0%,100% { transform: rotate(0); } 15% { transform: rotate(12deg); } 30% { transform: rotate(-10deg); } 45% { transform: rotate(7deg); } 60% { transform: rotate(-4deg); } }
.notif-menu { position: fixed; top: calc(var(--topbar-h) + var(--header-h) - 6px); right: max(22px, calc((100vw - var(--maxw)) / 2 + 22px)); width: 340px; max-width: calc(100vw - 32px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); z-index: 220; overflow: hidden; animation: pmIn .2s var(--ease); }
.nm-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.nm-head strong { font-size: 15px; }
.nm-body { max-height: 60vh; overflow-y: auto; padding: 6px; }
.nm-empty { padding: 34px 18px; text-align: center; color: var(--ink-3); font-size: 14px; }
.nm-item { display: flex; gap: 11px; align-items: center; padding: 10px; border-radius: 12px; cursor: pointer; transition: background .14s; }
.nm-item:hover { background: var(--surface-2); }
.nm-item.fired { background: var(--brand-soft); }
.nm-item.fired:hover { background: color-mix(in srgb, var(--brand-soft) 80%, var(--ink) 6%); }
.nm-thumb { width: 46px; height: 46px; border-radius: 10px; background: var(--img-tile); flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; }
.nm-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.nm-info { min-width: 0; flex: 1; }
.nm-name { font-size: 13.5px; font-weight: 600; line-height: 1.35; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nm-sub { font-size: 12px; color: var(--ink-2); }
.nm-item.fired .nm-sub { color: var(--brand-ink); font-weight: 600; }
.nm-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); flex: 0 0 auto; }

/* — guest checkout + address book — */
.co-guest { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.co-addrbook h3 { margin-bottom: 8px; }
.addr-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.addr-chip { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; text-align: left; transition: border-color .16s, background .16s; min-width: 140px; }
.addr-chip:hover { border-color: var(--line-2); }
.addr-chip.active { border-color: var(--brand); background: var(--brand-soft); }
.addr-chip b { font-size: 13.5px; }
.addr-chip span { font-size: 12px; color: var(--ink-2); }
.addr-chip.new { justify-content: center; align-items: center; color: var(--brand-ink); font-weight: 600; }
.co-save { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); margin-top: 8px; cursor: pointer; }
.co-save input { width: 16px; height: 16px; }
.addr-book { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-bottom: 20px; }
.addr-card { display: flex; justify-content: space-between; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.addr-card.def { border-color: var(--brand); }
.ac-def { font-size: 11px; font-weight: 700; color: var(--brand-ink); background: var(--brand-soft); padding: 2px 8px; border-radius: 999px; }
.ac-acts { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; white-space: nowrap; }
.addr-form { max-width: 440px; border-top: 1px solid var(--line); padding-top: 16px; }
.addr-form h3 { margin-bottom: 12px; }

/* — order status timeline — */
.otl { display: flex; padding: 14px 20px 4px; gap: 4px; }
.otl-step { flex: 1; position: relative; text-align: center; }
.otl-step .otl-dot { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--surface-3); border: 2px solid var(--line-2); margin: 0 auto 6px; position: relative; z-index: 1; transition: .2s; }
.otl-step::before { content: ""; position: absolute; top: 6px; left: -50%; width: 100%; height: 2px; background: var(--line-2); z-index: 0; }
.otl-step:first-child::before { display: none; }
.otl-step.done .otl-dot { background: var(--brand); border-color: var(--brand); }
.otl-step.done::before { background: var(--brand); }
.otl-step.cur .otl-dot { box-shadow: 0 0 0 4px var(--brand-soft); }
.otl-lbl { font-size: 11.5px; color: var(--ink-3); }
.otl-step.done .otl-lbl { color: var(--ink); font-weight: 600; }
.otl-cancelled { margin: 12px 20px; padding: 10px 14px; border-radius: 10px; background: var(--out-soft); color: var(--out); font-weight: 700; font-size: 13px; }
.btn.danger { color: var(--out); }
.btn.danger:hover { background: var(--out-soft); }

/* — notification dropdown push banner — */
.nm-push { display: block; width: calc(100% - 12px); margin: 6px; padding: 11px; border: 0; border-radius: 12px; background: var(--brand-grad); color: #fff; font-weight: 700; font-size: 13.5px; cursor: pointer; box-shadow: var(--shadow-brand); }
.nm-push:hover { filter: brightness(1.05); }

/* — info / content pages — */
.info-page { display: none; }
body.info-open .info-page { display: block; padding: 22px 0 70px; }
body.info-open .hero-band, body.info-open .brands-section, body.info-open .services, body.info-open .inst-band, body.info-open #merch,
body.info-open #catalog, body.info-open .compare-tray, body.info-open .product-page, body.info-open .account-page { display: none !important; }
.info-wrap { max-width: 760px; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-xs); margin-top: 8px; }
.info-ico { font-size: 42px; line-height: 1; margin-bottom: 10px; }
.info-card h1 { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 18px; }
.info-body { color: var(--ink); font-size: 15.5px; line-height: 1.75; }
.info-body p { margin-bottom: 14px; }
.info-body ul { margin: 0 0 14px; padding-left: 20px; }
.info-body li { margin-bottom: 8px; }
.info-body a { color: var(--brand-ink); font-weight: 600; }
.info-body details { border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin-bottom: 10px; background: var(--surface-2); }
.info-body summary { cursor: pointer; font-weight: 600; font-size: 15px; }
.info-body details[open] summary { margin-bottom: 8px; }

/* — cart: free-shipping bar + upsell — */
.ship-bar { margin-bottom: 12px; }
.ship-msg { font-size: 13px; color: var(--ink-2); margin-bottom: 6px; text-align: center; }
.ship-bar.done .ship-msg { color: var(--brand-ink); font-weight: 700; }
.ship-track { height: 8px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.ship-track span { display: block; height: 100%; border-radius: 999px; background: var(--brand-grad); transition: width .4s var(--ease); }
.cart-upsell { border-top: 1px solid var(--line); padding: 14px 16px 4px; }
.cart-upsell h4 { font-size: 13px; color: var(--ink-2); margin-bottom: 10px; }
.up-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.up-card { border: 1px solid var(--line); border-radius: 12px; padding: 8px; cursor: pointer; transition: border-color .16s; background: var(--surface); }
.up-card:hover { border-color: var(--brand); }
.up-img { aspect-ratio: 1; background: var(--img-tile); border-radius: 8px; display: grid; place-items: center; overflow: hidden; margin-bottom: 6px; }
.up-img img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.up-name { font-size: 12px; line-height: 1.35; height: 2.7em; overflow: hidden; }
.up-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.up-price { font-size: 13px; font-weight: 700; }
.up-add { width: 28px; height: 28px; border-radius: 8px; border: 1.5px solid var(--line-2); background: var(--surface); cursor: pointer; font-size: 18px; line-height: 1; color: var(--ink); display: grid; place-items: center; transition: all .16s; }
.up-add:hover { background: var(--brand-grad); color: #fff; border-color: transparent; }

/* — homepage merchandising rows — */
.merch-wrap { display: flex; flex-direction: column; gap: 28px; margin-top: 8px; }
.merch-wrap:empty { display: none; }
.merch-head { margin-bottom: 12px; }
.merch-head h2 { font-size: clamp(19px, 2.4vw, 24px); }
.merch-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.merch-card { scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; display: flex; flex-direction: column; }
.merch-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.mc-img { position: relative; aspect-ratio: 1; background: var(--img-tile); border-radius: var(--radius-sm); display: grid; place-items: center; overflow: hidden; padding: 10px; margin-bottom: 10px; }
.mc-img img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.mc-disc { position: absolute; top: 8px; left: 8px; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; color: #fff; background: linear-gradient(135deg, #FB3B5C, #E11D48); }
.mc-name { font-size: 13px; line-height: 1.4; height: 3.6em; overflow: hidden; color: var(--ink); }
.mc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; }
.mc-price { font-weight: 800; font-size: 15px; }
.mc-add { width: 34px; height: 34px; border-radius: 10px; border: 1.5px solid var(--line-2); background: var(--surface); cursor: pointer; color: var(--ink); display: grid; place-items: center; transition: all .16s var(--ease); }
.mc-add:hover { background: var(--brand-grad); color: #fff; border-color: transparent; transform: scale(1.08); }

/* — reviews 2.0 — */
.rev-summary { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; padding: 16px; background: var(--surface-2); border-radius: var(--radius); margin-bottom: 16px; }
.rs-big { text-align: center; }
.rs-avg { display: block; font-size: 40px; font-weight: 800; font-family: var(--font-head); line-height: 1; }
.rs-cnt { display: block; font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.rs-bars { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 5px; }
.rs-bar { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-2); }
.rs-star { width: 24px; }
.rs-track { flex: 1; height: 7px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.rs-track span { display: block; height: 100%; background: var(--warn); border-radius: 999px; }
.rs-n { width: 24px; text-align: right; }
.rev-sort { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); margin-bottom: 12px; }
.rev-sort select { padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.rev-imgs { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.rev-imgs img { width: 66px; height: 66px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); cursor: zoom-in; }
.rev-helpful { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 5px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: 12.5px; font-weight: 600; cursor: pointer; transition: all .16s; }
.rev-helpful:hover { border-color: var(--brand); color: var(--brand-ink); }
.rev-helpful.on { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-ink); }
.rev-formfoot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.rev-photobtn { font-size: 13px; font-weight: 600; color: var(--brand-ink); cursor: pointer; padding: 8px 12px; border: 1px dashed var(--line-2); border-radius: 10px; }
.rev-photos { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.rp-chip { position: relative; width: 60px; height: 60px; border-radius: 8px; overflow: hidden; }
.rp-chip img { width: 100%; height: 100%; object-fit: cover; }
.rp-chip button { position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; border: 0; border-radius: 50%; background: rgba(15,23,42,.7); color: #fff; font-size: 11px; cursor: pointer; line-height: 1; }
