/* ==========================================================================
   Gadget Store pk — storefront
   Same paper, ink and type as the shop POS; the dark "shelf" from the poster.
   ========================================================================== */

:root {
  --paper: #F2F1EE;
  --paper-2: #EAE8E3;
  --surface: #FFFFFF;
  --surface-sunk: #FAFAF8;
  --ink: #141310;
  --ink-2: #43423E;
  --muted: #6D6B65;
  --faint: #9A978F;
  --line: #E5E3DE;
  --line-soft: #F1EFEB;
  --line-strong: #D6D3CC;

  --night: #0E0E0D;
  --night-2: #181715;
  --night-3: #22211E;
  --night-line: #2C2B27;
  --night-ink: #F4F2EE;
  --night-muted: #A3A097;
  --glow: 255, 241, 206;

  --ok-ink: #2E6A4A;
  --ok-bg: #E6EFE9;
  --ok-dot: #3A7D57;
  --low-ink: #8A5A10;
  --low-bg: #F6EDDC;
  --out-ink: #9E3626;
  --out-bg: #F7E6E2;

  --font: 'DM Sans', system-ui, 'Segoe UI', sans-serif;
  --font-title: 'Poppins', system-ui, 'Segoe UI', sans-serif;
  --font-mono: 'DM Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  --r-xs: 8px;
  --r-sm: 11px;
  --r: 15px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --shadow-1: 0 1px 2px rgba(20, 19, 16, .05), 0 1px 1px rgba(20, 19, 16, .03);
  --shadow-2: 0 18px 40px -18px rgba(20, 19, 16, .22), 0 2px 6px -2px rgba(20, 19, 16, .06);
  --shadow-3: 0 40px 80px -30px rgba(20, 19, 16, .38), 0 8px 20px -10px rgba(20, 19, 16, .12);

  --ease: cubic-bezier(.2, .7, .3, 1);
  --t: 160ms var(--ease);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
}

/* ---------- base ---------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
.icon { flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mono { font-family: var(--font-mono); letter-spacing: -0.01em; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 3vw, 36px); }
.section-head h2 { font-size: clamp(26px, 3.2vw, 38px); }
.section-head p { color: var(--muted); margin-top: 8px; max-width: 520px; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-title); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 12px;
}
.kicker::before { content: ""; width: 18px; height: 1.5px; background: currentColor; opacity: .6; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; color: var(--ink); }
.link-arrow .icon { transition: transform var(--t); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- buttons, pills, inputs ---------------------------------------- */

.btn {
  --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px;
  border-radius: var(--r-sm);
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: 15px; letter-spacing: -0.005em; white-space: nowrap;
  transition: transform var(--t), background var(--t), box-shadow var(--t), border-color var(--t), color var(--t);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { --btn-bg: #2A2925; --btn-bd: #2A2925; box-shadow: 0 10px 22px -12px rgba(20, 19, 16, .55); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; border-radius: 14px; }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn-ghost:hover { --btn-bg: var(--surface); --btn-bd: var(--ink); box-shadow: none; }
.btn-light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn-light:hover { --btn-bg: #F1EFEA; --btn-bd: #F1EFEA; }
.btn-night-ghost { --btn-bg: transparent; --btn-fg: var(--night-ink); --btn-bd: rgba(255, 255, 255, .22); }
.btn-night-ghost:hover { --btn-bg: rgba(255, 255, 255, .06); --btn-bd: rgba(255, 255, 255, .5); box-shadow: none; }
.btn-wa { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn-wa .icon { color: #1F8F4E; }
.btn-wa:hover { --btn-bg: #fff; --btn-bd: var(--ink); box-shadow: none; }

.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid transparent; background: transparent;
  color: var(--ink); transition: background var(--t), border-color var(--t);
}
.icon-btn:hover { background: rgba(20, 19, 16, .05); }
.badge {
  position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 10px; background: var(--ink); color: #fff; border: 2px solid var(--paper);
  font-size: 10.5px; font-weight: 700; line-height: 15px; text-align: center;
  transform: scale(1); transition: transform 220ms var(--ease);
}
.badge.bump { animation: bump 420ms var(--ease); }
.badge[hidden] { display: none; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

.pill {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px;
  border-radius: var(--r-pill); font-size: 12.5px; font-weight: 600; white-space: nowrap;
  background: var(--paper-2); color: var(--ink-2);
}
.pill-ok { background: var(--ok-bg); color: var(--ok-ink); }
.pill-low { background: var(--low-bg); color: var(--low-ink); }
.pill-out { background: var(--out-bg); color: var(--out-ink); }
.pill-info { background: var(--paper-2); color: var(--ink-2); }
.pill-accent { background: var(--ink); color: #fff; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.dot-live { background: var(--ok-dot); box-shadow: 0 0 0 0 rgba(58, 125, 87, .5); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(58, 125, 87, .45); } 70% { box-shadow: 0 0 0 7px rgba(58, 125, 87, 0); } 100% { box-shadow: 0 0 0 0 rgba(58, 125, 87, 0); } }

.field { display: grid; gap: 7px; }
.field > label, .label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.input, .field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number],
.field input[type=search], .field input[type=password], .field select, .field textarea {
  width: 100%; height: 50px; padding: 0 15px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  font-size: 15.5px; color: var(--ink);
  transition: border-color var(--t), box-shadow var(--t);
  -webkit-appearance: none; appearance: none;
}
.field textarea { height: auto; padding: 13px 15px; resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(20, 19, 16, .08);
}
.field input::placeholder, .field textarea::placeholder, .input::placeholder { color: var(--faint); }
.field .help { font-size: 13px; color: var(--muted); }
.field .error, .errorlist { color: var(--out-ink); font-size: 13px; font-weight: 500; }
.errorlist { margin: 0; padding: 0; list-style: none; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--out-ink); }
.form-error { padding: 12px 14px; border-radius: var(--r-sm); background: var(--out-bg); color: var(--out-ink); font-weight: 500; font-size: 14px; }
.select { position: relative; }
.select select { padding-right: 40px; cursor: pointer; }
.select::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 1.7px solid var(--ink-2); border-bottom: 1.7px solid var(--ink-2); transform: rotate(45deg); pointer-events: none;
}

.check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14.5px; color: var(--ink-2); padding: 5px 0; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check .box {
  width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-strong); background: #fff;
  display: grid; place-items: center; flex: none; transition: background var(--t), border-color var(--t);
}
.check .box .icon { opacity: 0; color: #fff; transform: scale(.6); transition: opacity var(--t), transform var(--t); }
.check input:checked + .box { background: var(--ink); border-color: var(--ink); }
.check input:checked + .box .icon { opacity: 1; transform: none; }
.check input:focus-visible + .box { outline: 2px solid var(--ink); outline-offset: 2px; }
.check .count { margin-left: auto; color: var(--faint); font-size: 13px; }

/* ---------- announcement + header ----------------------------------------- */

.announce {
  background: var(--night); color: var(--night-ink);
  font-size: 13px; letter-spacing: .01em;
}
.announce .container { display: flex; align-items: center; justify-content: center; gap: 22px; min-height: 38px; text-align: center; }
.announce-item { display: inline-flex; align-items: center; gap: 8px; color: #D9D6CF; }
.announce-item .icon { color: #fff; opacity: .9; }
.announce-sep { width: 4px; height: 4px; border-radius: 50%; background: #5A5852; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(242, 241, 238, .82);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t);
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(242, 241, 238, .92); }
.header-row { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 26px; height: auto; }
.brand-text { display: grid; line-height: 1.1; }
.brand-name { font-family: var(--font-title); font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.brand-place { font-size: 11.5px; color: var(--muted); letter-spacing: .02em; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a, .nav-drop > button {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 13px;
  border-radius: 10px; border: 0; background: none; font-weight: 500; font-size: 15px; color: var(--ink-2);
  transition: background var(--t), color var(--t);
}
.main-nav > a:hover, .nav-drop > button:hover, .nav-drop.open > button, .main-nav > a.active { color: var(--ink); background: rgba(20, 19, 16, .05); }
.nav-drop { position: relative; }
.nav-drop > button .icon { transition: transform var(--t); }
.nav-drop.open > button .icon { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 10px); left: -120px; width: min(760px, calc(100vw - 48px));
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-3);
  padding: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.nav-drop.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; transition: background var(--t); }
.mega a:hover { background: var(--paper); }
.mega .tile { width: 40px; height: 40px; border-radius: 11px; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); flex: none; }
.mega a:hover .tile { background: #fff; }
.mega strong { display: block; font-weight: 600; font-size: 14.5px; line-height: 1.25; }
.mega small { color: var(--muted); font-size: 12.5px; }
.mega-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; margin-top: 6px; padding: 12px 10px 4px; border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--muted); }

.header-tools { margin-left: auto; display: flex; align-items: center; gap: 6px; }

/* the search box in the header: a real input, results drop down beneath it */
.header-search {
  position: relative; display: flex; align-items: center; gap: 10px;
  width: 300px; height: 44px; padding: 0 14px; margin-right: 4px;
  border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .75);
  transition: border-color var(--t), background var(--t), box-shadow var(--t), width 240ms var(--ease);
}
.header-search:hover { border-color: var(--ink-2); background: #fff; }
.header-search:focus-within { width: 340px; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(20, 19, 16, .08); }
.header-search > .icon { color: var(--muted); }
.header-search input {
  flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: none; background: transparent;
  font-size: 15px; font-weight: 400; color: var(--ink); -webkit-appearance: none; appearance: none;
}
.header-search input::placeholder { color: var(--faint); opacity: 1; }
.header-search input::-webkit-search-cancel-button { cursor: pointer; }
.search-suggest {
  position: absolute; top: calc(100% + 8px); right: -1px; z-index: 50; width: 440px; max-width: calc(100vw - 32px);
  max-height: min(70vh, 560px); overflow-y: auto; padding: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-3);
  animation: rise 180ms var(--ease);
}
.search-suggest[hidden] { display: none; }

.menu-toggle, .search-icon-only { display: none; }

/* ---------- mobile menu ---------------------------------------------------- */

.drawer-backdrop {
  position: fixed; inset: 0; z-index: 60; background: rgba(14, 14, 13, .42);
  opacity: 0; visibility: hidden; transition: opacity 240ms var(--ease), visibility 240ms;
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.drawer-backdrop.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; bottom: 0; z-index: 61; width: min(440px, 100vw);
  background: var(--paper); display: flex; flex-direction: column;
  transition: transform 320ms var(--ease); box-shadow: var(--shadow-3);
}
.drawer-right { right: 0; transform: translateX(105%); }
.drawer-left { left: 0; transform: translateX(-105%); width: min(360px, 88vw); }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 20px; }
.drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 20px 20px; }
.drawer-foot { padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }

.mobile-nav a { display: flex; align-items: center; gap: 14px; padding: 13px 4px; border-bottom: 1px solid var(--line-soft); font-weight: 500; }
.mobile-nav .tile { width: 36px; height: 36px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; }
.mobile-nav-title { margin: 22px 0 6px; font-family: var(--font-title); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* ---------- hero (the poster, translated) --------------------------------- */

.hero { position: relative; padding: clamp(44px, 7vw, 84px) 0 clamp(48px, 7vw, 88px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 80%;
  background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}
.hero-head { position: relative; text-align: center; display: grid; justify-items: center; }
.hero-kicker { font-family: var(--font-title); font-weight: 500; font-size: clamp(20px, 2.6vw, 32px); letter-spacing: -0.01em; color: var(--ink); }
.hero-title {
  display: flex; align-items: center; justify-content: center; gap: clamp(10px, 2vw, 22px);
  font-family: var(--font-title); font-weight: 800; font-size: clamp(58px, 11.5vw, 148px);
  line-height: .92; letter-spacing: -0.03em; text-transform: uppercase; margin: 4px 0 10px;
}
.burst { width: clamp(26px, 4vw, 54px); height: auto; color: var(--ink); flex: none; }
.hero-sub { font-family: var(--font-title); font-weight: 500; font-size: clamp(13px, 1.6vw, 20px); letter-spacing: .42em; text-transform: uppercase; margin-right: -.42em; }
.hero-lede { max-width: 560px; margin: 20px auto 0; color: var(--muted); font-size: clamp(15px, 1.4vw, 17px); }

.hero-stage {
  position: relative; margin-top: clamp(30px, 4vw, 48px);
  display: grid; grid-template-columns: 1fr minmax(0, 620px) 1fr; align-items: center; gap: clamp(20px, 3vw, 44px);
}
.hero-cats { display: grid; gap: 22px; justify-self: end; }
.hero-cats a { display: flex; align-items: center; gap: 14px; color: var(--ink); }
.hero-cats .icon { color: var(--ink); transition: transform var(--t); }
.hero-cats span { font-family: var(--font-title); font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; line-height: 1.45; }
.hero-cats a:hover .icon { transform: translateX(-3px); }
.hero-cats .more-dots { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; }

.order-pill {
  justify-self: start; display: grid; justify-items: center; gap: 16px;
  padding: 26px 14px 14px; border-radius: 40px; background: var(--night); color: #fff;
  box-shadow: 0 0 0 5px #fff, 0 0 0 6px var(--line-strong), var(--shadow-2);
  transition: transform var(--t), box-shadow var(--t);
}
.order-pill:hover { transform: translateY(-3px); box-shadow: 0 0 0 5px #fff, 0 0 0 6px var(--ink), var(--shadow-3); }
.order-pill b { writing-mode: vertical-rl; font-family: var(--font-title); font-weight: 700; font-size: 17px; letter-spacing: .14em; }
.order-pill i { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; }
.order-pill i .icon { transform: rotate(90deg); }

/* the shelf */
.shelf {
  position: relative; padding: clamp(10px, 1.4vw, 16px);
  background: linear-gradient(180deg, #1D1C1A 0%, #121110 100%);
  border-radius: 8px;
  box-shadow: 0 60px 90px -40px rgba(14, 14, 13, .65), 0 30px 40px -30px rgba(14, 14, 13, .5), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.shelf::after { /* the floor reflection under the cabinet */
  content: ""; position: absolute; left: 6%; right: 6%; bottom: -26px; height: 26px;
  background: radial-gradient(ellipse at 50% 0%, rgba(14, 14, 13, .35), rgba(14, 14, 13, 0) 70%);
  filter: blur(4px);
}
.shelf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1.1vw, 13px); }
.cubby {
  position: relative; aspect-ratio: 1 / .92; overflow: hidden; isolation: isolate;
  display: grid; place-items: center;
  background:
    radial-gradient(ellipse 70% 62% at 50% -6%, rgba(var(--glow), .2), rgba(var(--glow), 0) 72%),
    linear-gradient(180deg, #0B0B0A 0%, #151413 78%, #1E1D1B 100%);
  border-radius: 3px;
  box-shadow: inset 0 14px 22px -8px rgba(0, 0, 0, .85), inset 0 -1px 0 rgba(255, 255, 255, .05), inset 0 0 0 1px rgba(0, 0, 0, .6);
  color: #EDEAE2;
  transition: box-shadow 260ms var(--ease);
}
.cubby::before { /* the little LED */
  content: ""; position: absolute; top: 7%; left: 50%; width: 22%; height: 5px; transform: translateX(-50%);
  border-radius: 50%; background: #FFFDF6; box-shadow: 0 0 12px 3px rgba(var(--glow), .75), 0 0 34px 10px rgba(var(--glow), .25);
  z-index: 2;
}
.cubby::after { /* the cone of light */
  content: ""; position: absolute; top: 8%; left: 50%; width: 120%; height: 95%; transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(var(--glow), .16), rgba(var(--glow), 0) 85%);
  clip-path: polygon(41% 0, 59% 0, 100% 100%, 0 100%);
  opacity: .75; transition: opacity 260ms var(--ease); z-index: 0;
}
.cubby-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 18%; background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)); border-top: 1px solid rgba(255, 255, 255, .05); z-index: 0; }
.cubby-item { position: relative; z-index: 1; display: grid; place-items: center; width: 54%; aspect-ratio: 1; transform: translateY(4%); transition: transform 320ms var(--ease); }
.cubby-item .icon { width: 100%; height: 100%; filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .55)); }
.cubby-item img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 12px rgba(0, 0, 0, .5)); }
.cubby-label {
  position: absolute; left: 0; right: 0; bottom: 5%; z-index: 2; text-align: center;
  font-family: var(--font-title); font-size: clamp(8px, .85vw, 10.5px); font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(244, 242, 238, .55); transition: color 260ms var(--ease); padding: 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
a.cubby:hover::after { opacity: 1; }
a.cubby:hover .cubby-item { transform: translateY(-2%) scale(1.05); }
a.cubby:hover .cubby-label { color: #fff; }
a.cubby:hover { box-shadow: inset 0 14px 22px -8px rgba(0, 0, 0, .85), inset 0 0 0 1px rgba(var(--glow), .14); }
.cubby-empty .cubby-item { opacity: .14; }

.hero-actions { display: none; }

/* ---------- trust strip ---------------------------------------------------- */

.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--r); background: rgba(255, 255, 255, .55); border: 1px solid var(--line); }
.trust-item .tile { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); flex: none; }
.trust-item strong { display: block; font-family: var(--font-title); font-weight: 600; font-size: 15px; margin-bottom: 2px; letter-spacing: -0.01em; }
.trust-item span { font-size: 14px; color: var(--muted); line-height: 1.45; }

/* ---------- category cards ------------------------------------------------- */

.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat-card {
  position: relative; display: flex; flex-direction: column; gap: 18px; padding: 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.cat-card .tile { width: 52px; height: 52px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; transition: background var(--t), color var(--t); }
.cat-card:hover .tile { background: var(--ink); color: #fff; border-color: var(--ink); }
.cat-card strong { font-family: var(--font-title); font-weight: 600; font-size: 15.5px; line-height: 1.25; letter-spacing: -0.01em; }
.cat-card small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.cat-card .go { position: absolute; top: 18px; right: 18px; color: var(--faint); transition: transform var(--t), color var(--t); }
.cat-card:hover .go { color: var(--ink); transform: translate(2px, -2px); }

/* ---------- product cards -------------------------------------------------- */

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.card-media {
  position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 55% at 50% 0%, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #F6F5F2 0%, #EEECE7 100%);
}
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.card-media img.contain { object-fit: contain; padding: 8%; }
.card:hover .card-media img { transform: scale(1.04); }
.art { position: absolute; inset: 0; display: grid; place-items: center; color: #2F2E2A; }
.art::after { content: ""; position: absolute; left: 30%; right: 30%; bottom: 17%; height: 9%; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(20, 19, 16, .16), rgba(20, 19, 16, 0) 70%); }
.art .art-icon { width: 40%; height: 40%; position: relative; z-index: 1; transition: transform 500ms var(--ease); }
.card:hover .art .art-icon { transform: translateY(-4%) scale(1.04); }
.art-brand { position: absolute; bottom: 9%; left: 0; right: 0; text-align: center; font-family: var(--font-title); font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.card-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 2; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 7px; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; background: #fff; color: var(--ink); box-shadow: var(--shadow-1); }
.tag-dark { background: var(--ink); color: #fff; }
.tag-low { background: var(--low-bg); color: var(--low-ink); box-shadow: none; }
.tag-out { background: var(--out-bg); color: var(--out-ink); box-shadow: none; }
.card-body { display: flex; flex-direction: column; flex: 1; gap: 4px; padding: 14px 16px 16px; }
.card-brand { font-family: var(--font-title); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.card-title { font-family: var(--font-title); font-size: 15px; font-weight: 500; line-height: 1.32; letter-spacing: -0.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-variant { font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.price { font-family: var(--font-title); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; white-space: nowrap; }
.price-old { display: block; font-size: 12.5px; color: var(--faint); text-decoration: line-through; font-family: var(--font); font-weight: 500; }
.add-btn {
  position: relative; z-index: 2; width: 42px; height: 42px; border-radius: 12px; flex: none;
  display: grid; place-items: center; border: 1px solid var(--ink); background: var(--ink); color: #fff;
  transition: transform var(--t), background var(--t);
}
.add-btn:hover { transform: scale(1.06); }
.add-btn[disabled] { background: var(--paper-2); border-color: var(--line); color: var(--faint); cursor: not-allowed; transform: none; }
.add-btn.done { background: var(--ok-ink); border-color: var(--ok-ink); }

/* ---------- dark band ------------------------------------------------------ */

.band-night { background: var(--night); color: var(--night-ink); position: relative; overflow: hidden; }
.band-night::before {
  content: ""; position: absolute; left: 50%; top: -40%; width: 900px; height: 600px; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(var(--glow), .09), rgba(var(--glow), 0) 65%); pointer-events: none;
}
.band-night .section-head p, .band-night .muted { color: var(--night-muted); }
.band-night .kicker { color: var(--night-muted); }
.band-night .link-arrow { color: #fff; }
.band-night .card { border-color: transparent; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { position: relative; padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--night-line); background: linear-gradient(180deg, var(--night-2), var(--night)); }
.step-num { font-family: var(--font-mono); font-size: 13px; color: var(--night-muted); }
.step .tile { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--night-3); border: 1px solid var(--night-line); margin: 18px 0 18px; color: #fff; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--night-muted); font-size: 14.5px; }
.pay-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pay-chip { display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 15px; border-radius: 12px; border: 1px solid var(--night-line); background: var(--night-2); color: #E9E6DF; font-size: 14px; font-weight: 500; }
.pay-chip .soon { font-size: 11px; color: var(--night-muted); border: 1px solid var(--night-line); border-radius: 6px; padding: 1px 6px; }

/* ---------- brands strip --------------------------------------------------- */

.brand-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.brand-chip {
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 24px;
  border-radius: var(--r); border: 1px solid var(--line); background: rgba(255, 255, 255, .6);
  font-family: var(--font-title); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; color: var(--ink-2);
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
}
.brand-chip small { font-family: var(--font); font-size: 12.5px; font-weight: 500; color: var(--faint); }
.brand-chip:hover { background: #fff; color: var(--ink); border-color: var(--line-strong); transform: translateY(-2px); }

/* ---------- visit / map ---------------------------------------------------- */

.visit { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; }
.visit-map { position: relative; min-height: 420px; background: var(--paper-2); }
.visit-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05) brightness(1.02); }
.visit-body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 22px; }
.visit-body h2 { font-size: clamp(26px, 3vw, 36px); }
.info-list { display: grid; gap: 16px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .tile { width: 40px; height: 40px; border-radius: 11px; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; flex: none; }
.info-list strong { display: block; font-weight: 600; font-size: 14.5px; }
.info-list span, .info-list a { color: var(--muted); font-size: 14.5px; }
.info-list a:hover { color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- FAQ ------------------------------------------------------------ */

.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 0 22px; transition: border-color var(--t); }
.faq details[open] { border-color: var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-family: var(--font-title); font-weight: 500; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform var(--t); color: var(--muted); }
.faq details[open] summary .icon { transform: rotate(45deg); color: var(--ink); }
.faq .answer { padding: 0 0 20px; color: var(--ink-2); max-width: 760px; }

/* ---------- page header / breadcrumbs --------------------------------------- */

.page-head { padding: clamp(28px, 4vw, 48px) 0 clamp(20px, 3vw, 32px); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--ink); }
.crumbs .icon { opacity: .5; }
.page-title { font-size: clamp(30px, 4.4vw, 52px); letter-spacing: -0.025em; }
.page-intro { margin-top: 10px; color: var(--muted); font-size: 16.5px; max-width: 640px; }
.page-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cat-hero-tile { width: 64px; height: 64px; border-radius: 18px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: 18px; box-shadow: var(--shadow-1); }

.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 4px; margin-top: 22px; }
.chips::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 15px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .6); font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: all var(--t); }
.chip small { color: var(--faint); font-size: 12px; }
.chip:hover { border-color: var(--ink); color: var(--ink); background: #fff; }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.active small { color: rgba(255, 255, 255, .6); }

/* ---------- catalogue layout ---------------------------------------------- */

.catalog { display: grid; grid-template-columns: 264px 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; padding-bottom: clamp(56px, 8vw, 96px); }
.filters { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 4px; }
.filter-group { padding: 18px 0; border-bottom: 1px solid var(--line); }
.filter-group:first-child { padding-top: 0; }
.filter-group h3 { font-family: var(--font-title); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.filter-scroll { max-height: 260px; overflow-y: auto; padding-right: 6px; }
.price-inputs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.price-inputs .input { height: 42px; font-size: 14.5px; padding: 0 12px; }
.filters-actions { display: flex; gap: 8px; padding-top: 18px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.toolbar .count { color: var(--muted); font-size: 14.5px; }
.toolbar .select select { height: 42px; font-size: 14.5px; border-radius: 10px; width: auto; min-width: 200px; }
.filter-open { display: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 40px; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0 12px; border-radius: 11px; border: 1px solid var(--line); background: #fff; font-weight: 500; font-size: 14.5px; }
.pagination a:hover { border-color: var(--ink); }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }

.empty { text-align: center; padding: clamp(48px, 8vw, 96px) 20px; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--r-lg); }
.empty .tile { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 18px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); }
.empty h2 { font-size: 22px; margin-bottom: 8px; }
.empty p { color: var(--muted); margin-bottom: 20px; }

/* ---------- product page -------------------------------------------------- */

.product { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(24px, 4.5vw, 64px); align-items: start; padding-bottom: clamp(48px, 7vw, 88px); }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 12px; }
.gallery-main { position: relative; aspect-ratio: 1; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(ellipse 60% 55% at 50% 0%, #fff, rgba(255, 255, 255, 0) 70%), linear-gradient(180deg, #F7F6F3, #ECEAE5); }
.gallery-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 300ms var(--ease); }
.gallery-main img.active { opacity: 1; }
.gallery-main .art .art-icon { width: 36%; height: 36%; }
.thumbs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.thumbs button { width: 78px; height: 78px; flex: none; padding: 0; border-radius: 14px; overflow: hidden; border: 1.5px solid var(--line); background: #fff; opacity: .7; transition: all var(--t); }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button.active, .thumbs button:hover { border-color: var(--ink); opacity: 1; }

.p-info { display: grid; gap: 22px; }
.p-brand { display: inline-flex; font-family: var(--font-title); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.p-brand:hover { color: var(--ink); }
.p-title { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -0.025em; margin-top: 8px; }
.p-variant { color: var(--muted); font-size: 17px; margin-top: 6px; }
.p-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; }
.p-price .now { font-family: var(--font-title); font-weight: 600; font-size: 34px; letter-spacing: -0.02em; }
.p-price .was { font-size: 18px; color: var(--faint); text-decoration: line-through; }
.p-price .save { background: var(--ink); color: #fff; border-radius: 8px; font-size: 13px; font-weight: 700; padding: 4px 9px; }
.p-short { font-size: 17px; color: var(--ink-2); }
.variant-row { display: grid; gap: 10px; }
.variant-row .label { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.variant-list { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-list a { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: #fff; font-weight: 500; font-size: 14.5px; transition: border-color var(--t); }
.variant-list a:hover { border-color: var(--ink-2); }
.variant-list a.active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.variant-list a.sold { color: var(--faint); text-decoration: line-through; }

.buy-box { display: grid; gap: 12px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.buy-row { display: flex; gap: 10px; }
.qty { display: inline-flex; align-items: center; height: 56px; border: 1px solid var(--line-strong); border-radius: 14px; background: #fff; flex: none; }
.qty button { width: 46px; height: 100%; border: 0; background: none; display: grid; place-items: center; color: var(--ink-2); }
.qty button:hover { color: var(--ink); }
.qty input { width: 40px; height: 100%; border: 0; text-align: center; font-weight: 600; font-size: 16px; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-sm { height: 40px; border-radius: 11px; }
.qty-sm button { width: 34px; }
.qty-sm input { width: 30px; font-size: 14.5px; }
.buy-row .btn { flex: 1; }
.stock-line { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; }
.stock-line.in { color: var(--ok-ink); }
.stock-line.low { color: var(--low-ink); }
.stock-line.out { color: var(--out-ink); }

.perks { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: rgba(255, 255, 255, .5); }
.perk { display: flex; gap: 14px; padding: 16px 18px; align-items: flex-start; }
.perk + .perk { border-top: 1px solid var(--line); }
.perk .icon { margin-top: 2px; }
.perk strong { display: block; font-weight: 600; font-size: 14.5px; }
.perk span { font-size: 14px; color: var(--muted); }

.highlights { display: grid; gap: 10px; }
.highlights li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.highlights .icon { margin-top: 3px; color: var(--ok-ink); }
.specs { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.specs th, .specs td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 38%; color: var(--muted); font-weight: 500; }
.p-section h2 { font-size: 18px; margin-bottom: 14px; }
.prose { color: var(--ink-2); font-size: 16px; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 14px; }
.prose ul { display: grid; gap: 8px; margin-top: 10px; }
.prose li { position: relative; padding-left: 22px; }
.prose li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.share-row { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }

.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none; align-items: center; gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform 280ms var(--ease);
}
.sticky-buy.show { transform: none; }
.sticky-buy .meta { flex: 1; min-width: 0; }
.sticky-buy .meta strong { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- cart ------------------------------------------------------------ */

.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(20px, 3vw, 40px); align-items: start; padding-bottom: clamp(56px, 8vw, 96px); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.panel-pad { padding: clamp(18px, 2.4vw, 28px); }
.panel h2 { font-size: 20px; }
.line-items { display: grid; }
.line { display: grid; grid-template-columns: 88px 1fr auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.line:last-child { border-bottom: 0; }
.line-media { position: relative; width: 88px; height: 88px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(180deg, #F6F5F2, #EEECE7); }
.line-media img { width: 100%; height: 100%; object-fit: cover; }
.line-media .art .art-icon { width: 46%; height: 46%; }
.line-media .art::after { display: none; }
.line-name { font-family: var(--font-title); font-weight: 500; font-size: 15px; line-height: 1.3; }
.line-name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.line-meta { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.line-actions { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.line-remove { border: 0; background: none; color: var(--muted); font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; padding: 0; }
.line-remove:hover { color: var(--out-ink); }
.line-total { font-family: var(--font-title); font-weight: 600; text-align: right; white-space: nowrap; }
.line-total small { display: block; font-family: var(--font); font-weight: 400; color: var(--muted); font-size: 12.5px; }

.summary { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.sum-rows { display: grid; gap: 10px; font-size: 15px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; }
.sum-row span:first-child { color: var(--ink-2); }
.sum-row.discount span:last-child { color: var(--ok-ink); font-weight: 600; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); }
.sum-total span:first-child { font-weight: 600; }
.sum-total strong { font-family: var(--font-title); font-size: 26px; letter-spacing: -0.02em; }
.free-bar { display: grid; gap: 8px; padding: 14px; border-radius: 12px; background: var(--paper); font-size: 13.5px; color: var(--ink-2); }
.free-bar .track { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.free-bar .fill { display: block; height: 100%; max-width: 100%; background: var(--ink); border-radius: 6px; transition: width 400ms var(--ease); }
.free-bar.done { background: var(--ok-bg); color: var(--ok-ink); }
.coupon-form { display: flex; gap: 8px; }
.coupon-form .input { height: 46px; text-transform: uppercase; }
.coupon-applied { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--ok-bg); color: var(--ok-ink); font-size: 14px; font-weight: 500; }
.coupon-applied button { border: 0; background: none; color: inherit; text-decoration: underline; font-size: 13px; padding: 0; }
.secure-note { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 13px; color: var(--muted); }

.drawer-lines .line { grid-template-columns: 68px 1fr auto; gap: 12px; padding: 14px 0; }
.drawer-lines .line-media { width: 68px; height: 68px; border-radius: 12px; }
.drawer-empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.drawer-empty .tile { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 18px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--ink); }

/* ---------- checkout -------------------------------------------------------- */

.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: clamp(20px, 3vw, 40px); align-items: start; padding-bottom: clamp(56px, 8vw, 96px); }
.co-section { padding: clamp(20px, 2.6vw, 30px); }
.co-section + .co-section { border-top: 1px solid var(--line); }
.co-title { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.co-title .num { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--font-mono); font-size: 13px; }
.co-title h2 { font-size: 19px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.choice-list { display: grid; gap: 10px; }
.choice { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: #fff; cursor: pointer; transition: border-color var(--t), box-shadow var(--t), background var(--t); }
.choice:hover { border-color: var(--ink-2); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .radio { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-strong); flex: none; margin-top: 2px; display: grid; place-items: center; transition: border-color var(--t); }
.choice .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform var(--t); }
.choice.selected, .choice:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choice.selected .radio, .choice:has(input:checked) .radio { border-color: var(--ink); }
.choice.selected .radio::after, .choice:has(input:checked) .radio::after { transform: scale(1); }
.choice input:focus-visible ~ .radio { outline: 2px solid var(--ink); outline-offset: 2px; }
.choice-body { flex: 1; min-width: 0; }
.choice-body strong { display: block; font-weight: 600; font-size: 15px; }
.choice-body span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.choice-side { margin-left: auto; font-weight: 600; font-size: 14.5px; white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.choice .icon-tile { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); flex: none; }
.address-fields[hidden] { display: none; }
.co-summary-lines { display: grid; gap: 12px; max-height: 340px; overflow-y: auto; }
.co-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; }
.co-line .line-media { width: 56px; height: 56px; border-radius: 12px; }
.co-line .qty-badge { position: absolute; top: -1px; right: -1px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 0 0 0 8px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.co-line strong { font-size: 14px; font-weight: 500; line-height: 1.3; display: block; }
.co-line small { color: var(--muted); font-size: 12.5px; }
.co-line .amt { font-weight: 600; font-size: 14px; white-space: nowrap; }

/* ---------- order page ------------------------------------------------------ */

.order-hero { text-align: center; padding: clamp(36px, 5vw, 64px) 0 clamp(24px, 3vw, 40px); display: grid; justify-items: center; gap: 14px; }
.order-hero .seal { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; box-shadow: 0 0 0 10px rgba(20, 19, 16, .06); animation: pop 600ms var(--ease) both; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: none; } }
.order-hero h1 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.025em; }
.order-no { display: inline-flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 14.5px; }
.order-no strong { font-family: var(--font-mono); font-size: 16px; letter-spacing: .02em; }
.order-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(20px, 3vw, 32px); align-items: start; padding-bottom: clamp(56px, 8vw, 96px); }
.order-main { display: grid; gap: 20px; }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.timeline::before { content: ""; position: absolute; top: 15px; left: 10%; right: 10%; height: 2px; background: var(--line); }
.tl-step { position: relative; display: grid; justify-items: center; gap: 10px; text-align: center; font-size: 13px; color: var(--muted); font-weight: 500; }
.tl-dot { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 2px solid var(--line-strong); display: grid; place-items: center; color: transparent; }
.tl-step.done .tl-dot { background: var(--ink); border-color: var(--ink); color: #fff; }
.tl-step.done { color: var(--ink); }
.tl-step.current .tl-dot { box-shadow: 0 0 0 6px rgba(20, 19, 16, .08); }
.tl-bar { position: absolute; top: 15px; left: 10%; height: 2px; background: var(--ink); transition: width 600ms var(--ease); }
.bank-card { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 24px; color: #fff; background: linear-gradient(135deg, #1C1B19 0%, #0E0E0D 60%, #22201C 100%); box-shadow: var(--shadow-2); }
.bank-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--glow), .16), rgba(var(--glow), 0) 70%); }
.bank-card .bank-name { display: flex; align-items: center; gap: 10px; font-family: var(--font-title); font-weight: 600; font-size: 18px; }
.bank-rows { display: grid; gap: 14px; margin-top: 22px; position: relative; z-index: 1; }
.bank-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.bank-row:last-child { border-bottom: 0; padding-bottom: 0; }
.bank-row small { display: block; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: #9E9B93; }
.bank-row span { font-family: var(--font-mono); font-size: 16px; letter-spacing: .02em; word-break: break-all; }
.copy-btn { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: #fff; font-size: 13px; font-weight: 500; }
.copy-btn:hover { background: rgba(255, 255, 255, .12); }
.copy-btn.copied { background: #fff; color: var(--ink); }
.callout { display: flex; gap: 14px; padding: 18px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.callout .icon { margin-top: 2px; }
.callout strong { display: block; font-weight: 600; }
.callout p { color: var(--ink-2); font-size: 14.5px; }
.callout-ok { background: var(--ok-bg); border-color: transparent; color: var(--ok-ink); }
.callout-ok p { color: var(--ok-ink); }
.callout-low { background: var(--low-bg); border-color: transparent; color: var(--low-ink); }
.callout-low p { color: var(--low-ink); }
.events { display: grid; gap: 0; }
.event { display: grid; grid-template-columns: 16px 1fr; gap: 14px; padding-bottom: 18px; position: relative; }
.event::before { content: ""; position: absolute; left: 7px; top: 14px; bottom: 0; width: 2px; background: var(--line); }
.event:last-child::before { display: none; }
.event .dot { width: 16px; height: 16px; border: 3px solid #fff; background: var(--line-strong); box-shadow: 0 0 0 1px var(--line-strong); margin-top: 2px; }
.event:first-child .dot { background: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.event p { font-size: 14.5px; }
.event time { font-size: 12.5px; color: var(--muted); }
.detail-list { display: grid; gap: 14px; font-size: 14.5px; }
.detail-list dt { color: var(--muted); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; margin-bottom: 2px; }
.detail-list dd { margin: 0; }
.file-drop { position: relative; display: grid; justify-items: center; gap: 8px; padding: 26px; border: 1.5px dashed var(--line-strong); border-radius: 14px; background: var(--surface-sunk); text-align: center; color: var(--muted); font-size: 14px; transition: border-color var(--t), background var(--t); cursor: pointer; }
.file-drop:hover, .file-drop.dragging { border-color: var(--ink); background: #fff; }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop strong { color: var(--ink); }
.file-drop .file-name { font-weight: 600; color: var(--ink); }

/* ---------- static pages ---------------------------------------------------- */

.narrow { max-width: 820px; }
.doc { padding-bottom: clamp(56px, 8vw, 96px); }
.doc .prose { font-size: 16.5px; }
.about-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 48px) 0 clamp(40px, 6vw, 72px); }
.about-poster { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-3); background: #fff; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value { padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.value .tile { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); margin-bottom: 16px; }
.value h3 { font-size: 18px; margin-bottom: 6px; }
.value p { color: var(--muted); font-size: 14.5px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(20px, 3vw, 40px); align-items: start; padding-bottom: clamp(56px, 8vw, 96px); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- footer ---------------------------------------------------------- */

.site-footer { background: var(--night); color: var(--night-ink); padding: clamp(56px, 7vw, 88px) 0 28px; margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); padding-bottom: 44px; border-bottom: 1px solid var(--night-line); }
.footer-brand img { width: 34px; margin-bottom: 18px; }
.footer-brand .name { font-family: var(--font-title); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; }
.footer-brand p { color: var(--night-muted); font-size: 14.5px; margin-top: 10px; max-width: 340px; }
.footer-col h3 { font-family: var(--font-title); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--night-muted); margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: #D8D5CE; font-size: 14.5px; transition: color var(--t); }
.footer-col a:hover { color: #fff; }
.footer-contact { display: grid; gap: 10px; margin-top: 22px; }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: center; gap: 10px; color: #D8D5CE; font-size: 14.5px; }
.footer-contact a:hover { color: #fff; }
.socials { display: flex; gap: 8px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; border: 1px solid var(--night-line); color: #fff; transition: background var(--t), border-color var(--t); }
.socials a:hover { background: var(--night-3); border-color: #45433E; }
.footer-pay { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--night-line); }
.footer-pay .pay-row { margin: 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; color: #7E7B74; font-size: 13px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- floating WhatsApp, toasts, search palette ----------------------- */

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 35; display: inline-flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 20px 0 16px; border-radius: 27px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14.5px;
  box-shadow: 0 16px 30px -12px rgba(14, 14, 13, .55); transition: transform var(--t), box-shadow var(--t);
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 20px 34px -12px rgba(14, 14, 13, .6); }
.wa-float .icon { color: #5BD18B; }

.toasts { position: fixed; z-index: 80; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 8px; width: min(440px, calc(100vw - 32px)); pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--night); color: #fff;
  box-shadow: var(--shadow-3); font-size: 14.5px; pointer-events: auto; animation: toast-in 320ms var(--ease) both;
}
.toast.leaving { animation: toast-out 260ms var(--ease) both; }
.toast .icon { flex: none; }
.toast-error .icon, .toast-warning .icon { color: #F2A391; }
.toast-success .icon { color: #7FD3A2; }
.toast a { margin-left: auto; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(10px); } }

.palette-backdrop { position: fixed; inset: 0; z-index: 70; background: rgba(14, 14, 13, .45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); display: none; align-items: flex-start; justify-content: center; padding: 10vh 16px 16px; }
.palette-backdrop.open { display: flex; animation: fade 160ms var(--ease); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.palette { width: min(640px, 100%); background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-3); overflow: hidden; animation: rise 220ms var(--ease); }
@keyframes rise { from { transform: translateY(10px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.palette-input { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.palette-input input { flex: 1; height: 64px; border: 0; outline: none; font-size: 17px; background: transparent; }
.palette-results { max-height: min(60vh, 520px); overflow-y: auto; padding: 8px; }
.palette-group { padding: 10px 10px 6px; font-family: var(--font-title); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.palette-item { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 12px; }
.palette-item.active, .palette-item:hover { background: var(--paper); }
.palette-item .thumb { width: 46px; height: 46px; border-radius: 11px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(180deg, #F6F5F2, #ECEAE5); border: 1px solid var(--line); flex: none; }
.palette-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.palette-item .meta { flex: 1; min-width: 0; }
.palette-item .meta strong { display: block; font-weight: 500; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.palette-item .meta small { color: var(--muted); font-size: 13px; }
.palette-item .amt { font-weight: 600; font-size: 14px; white-space: nowrap; }
.palette-empty { padding: 32px 16px; text-align: center; color: var(--muted); font-size: 14.5px; }

/* ---------- reveal on scroll ------------------------------------------------ */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ------------------------------------------------------ */

@media (max-width: 1180px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .header-search { width: 220px; }
  .header-search:focus-within { width: 260px; }
  .main-nav > a.hide-lg { display: none; }
}

@media (max-width: 1024px) {
  :root { --header-h: 64px; }
  .main-nav, .header-search { display: none; }
  .menu-toggle, .search-icon-only { display: inline-grid; }
  .header-row { gap: 8px; }
  .brand { margin-right: auto; }
  .header-tools { margin-left: 0; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .hero-stage { grid-template-columns: 1fr minmax(0, 560px) 1fr; }
  .catalog { grid-template-columns: 1fr; }
  .filters { position: fixed; top: 0; bottom: 0; left: 0; z-index: 61; width: min(360px, 88vw); background: var(--paper); padding: 20px; overflow-y: auto; transform: translateX(-105%); transition: transform 320ms var(--ease); box-shadow: var(--shadow-3); align-content: start; }
  .filters.open { transform: none; }
  .filters-head { display: flex !important; }
  .filter-open { display: inline-flex; }
  .product { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .cart-layout, .checkout, .order-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .visit { grid-template-columns: 1fr; }
  .visit-map { min-height: 300px; }
  .about-hero, .contact-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .sticky-buy { display: flex; }
}

@media (max-width: 860px) {
  .hero-stage { grid-template-columns: 1fr; justify-items: center; }
  .hero-cats, .order-pill { display: none; }
  .shelf { width: 100%; max-width: 560px; }
  .hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .announce .hide-sm, .announce-sep.hide-sm { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .grid, .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .trust { grid-template-columns: 1fr; gap: 10px; }
  .trust-item { padding: 16px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .card { border-radius: 16px; }
  .card-body { padding: 12px 12px 13px; }
  .card-title { font-size: 14px; }
  .price { font-size: 15.5px; }
  .add-btn { width: 38px; height: 38px; border-radius: 11px; }
  .card-badges { top: 8px; left: 8px; }
  .brand-place { display: none; }
  .brand-name { font-size: 16.5px; }
  .form-grid { grid-template-columns: 1fr; }
  .line { grid-template-columns: 72px 1fr; }
  .line-media { width: 72px; height: 72px; }
  .line-total { grid-column: 2; text-align: left; }
  .timeline { grid-template-columns: repeat(5, 1fr); font-size: 11px; }
  .tl-step { font-size: 11px; }
  .footer-top { grid-template-columns: 1fr; }
  .wa-float span { display: none; }
  .wa-float { width: 54px; padding: 0; justify-content: center; }
  .toolbar .select select { min-width: 0; }
  .hero-title { gap: 8px; }
  .buy-row { flex-wrap: wrap; }
  .buy-row .btn { flex-basis: 100%; }
  .buy-row .qty + .btn { flex-basis: auto; }
  .p-price .now { font-size: 30px; }
  .bank-card { padding: 20px; }
  .visit { border-radius: var(--r-lg); }
}

@media (max-width: 380px) {
  .grid, .grid-3 { gap: 8px; }
  .cubby-label { display: none; }
}

@media print {
  .announce, .site-header, .site-footer, .wa-float, .sticky-buy, .btn, .toasts { display: none !important; }
  body { background: #fff; }
}
