/*
 * IbroKom online shop, second design ("showroom").
 * A soft grey floor with white rounded panels on it, one dark panel for the hero and the footer,
 * and the brand red kept for the things you press. Headlines in Unbounded (wide, heavy),
 * reading text in Manrope; both have the standard Cyrillic that Macedonian readers expect.
 * Nothing of the old site's frame is kept: no black strip, no red menu bar.
 */
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 200 900; font-display: swap; src: url(fonts/unbounded-cyrillic-ext-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 200 900; font-display: swap; src: url(fonts/unbounded-cyrillic-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 200 900; font-display: swap; src: url(fonts/unbounded-latin-ext-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 200 900; font-display: swap; src: url(fonts/unbounded-latin-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(fonts/manrope-cyrillic-ext-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(fonts/manrope-cyrillic-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(fonts/manrope-latin-ext-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(fonts/manrope-latin-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --bg: #f1f2f4;
  --card: #ffffff;
  --ink: #0e1116;
  --ink-2: #39424e;
  --mute: #6c7583;
  --mute-2: #9aa2ad;
  --line: #e2e5e9;
  --soft: #f1f2f4;
  --red: #e0182a;
  --red-deep: #b40f1f;
  --green: #0a8f4e;
  --green-soft: #e1f6ea;
  --amber-soft: #fdf0d5;
  --dark: #0e1116;
  --dark-2: #1a1f27;
  --display: 'Unbounded', 'Manrope', 'Segoe UI', sans-serif;
  --text: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --r-xl: 32px;
  --r-l: 24px;
  --r-m: 16px;
  --r-s: 12px;
  --page: 1320px;
  --shadow: 0 1px 2px rgba(14, 17, 22, 0.04), 0 12px 32px -16px rgba(14, 17, 22, 0.18);
  /* old names still used by a few inline styles */
  --steel: var(--mute); --steel-2: var(--mute-2); --wash: var(--soft); --wash-2: #f7f8f9; --white: #fff; --green-wash: var(--green-soft);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--text); font-size: 16px; font-weight: 500; line-height: 1.5; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--page); margin: 0 auto; padding: 0 20px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
svg.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
main { min-height: 60vh; }

/* ---------- Header: one floating bar ---------- */
.hd { position: sticky; top: 0; z-index: 40; padding: 12px 20px 0; pointer-events: none; }
.hd__bar { pointer-events: auto; max-width: calc(var(--page) - 40px); margin: 0 auto; display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 18px; background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: var(--r-l); box-shadow: var(--shadow); }
.logo img { height: 46px; width: auto; }
.hd__nav { display: flex; align-items: center; gap: 2px; margin-left: 10px; }
.hd__nav a, .hd__cats { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border: 0; border-radius: 999px; background: none; font-weight: 700; font-size: 15px; white-space: nowrap; transition: background 0.15s ease, color 0.15s ease; }
.hd__nav a:hover, .hd__cats:hover { background: var(--soft); }
.hd__nav a[aria-current='page'] { background: var(--soft); }
.hd__cats { background: var(--ink); color: #fff; padding: 0 18px 0 14px; }
.hd__cats:hover { background: var(--red); }
.hd__cats svg { width: 20px; height: 20px; }
.search { flex: 1; min-width: 120px; position: relative; display: flex; margin-left: 6px; }
.search input { width: 100%; height: 46px; padding: 0 16px 0 46px; border: 1px solid transparent; border-radius: 999px; background: var(--soft); font-size: 15px; font-weight: 600; transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease; }
.search input::placeholder { color: var(--mute); font-weight: 500; }
.search input:focus { outline: none; background: #fff; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(14, 17, 22, 0.08); }
.search button { position: absolute; left: 4px; top: 4px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: none; color: var(--mute); display: grid; place-items: center; }
.search button:hover { color: var(--ink); }
.search button svg { width: 20px; height: 20px; }
.lang { display: flex; padding: 3px; border-radius: 999px; background: var(--soft); }
.lang button { border: 0; background: none; height: 34px; padding: 0 11px; border-radius: 999px; font-weight: 800; font-size: 12px; color: var(--mute); }
.lang button[aria-pressed='true'] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(14, 17, 22, 0.15); }
.l-full { display: none; }
.hd__tel { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 999px; font-weight: 800; font-size: 14px; white-space: nowrap; }
.hd__tel:hover { background: var(--soft); }
.hd__tel svg { width: 18px; height: 18px; color: var(--red); }
.cartbtn { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 800; font-size: 15px; white-space: nowrap; transition: background 0.15s ease; }
.cartbtn:hover { background: var(--red-deep); }
.cartbtn .count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #fff; color: var(--red); font-size: 12px; display: grid; place-items: center; }

/* ---------- Category menu: a full dark sheet ---------- */
.mega { position: fixed; inset: 0; z-index: 60; background: var(--dark); color: #fff; overflow-y: auto; animation: sheet 0.28s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes sheet { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: none; } }
.mega .wrap { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; column-gap: 56px; padding-top: 28px; padding-bottom: 56px; min-height: 100%; align-content: start; }
.mega__close { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; padding: 0 0 18px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); background: none; color: #9aa2ad; font-weight: 700; font-size: 15px; }
.mega__close svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: #fff; transition: background 0.15s ease, transform 0.2s ease; }
.mega__close:hover svg { background: var(--red); transform: rotate(90deg); }
.mega__tops { list-style: none; margin: 0; padding: 0; }
.mega__tops button { width: 100%; display: flex; align-items: center; gap: 16px; padding: 9px 0; border: 0; background: none; color: #7e8794; text-align: left; font-family: var(--display); font-weight: 600; font-size: clamp(20px, 2.1vw, 30px); line-height: 1.15; letter-spacing: -0.02em; transition: color 0.15s ease, transform 0.2s ease; }
.mega__tops button svg.i { width: 26px; height: 26px; stroke-width: 1.6; opacity: 0.7; }
.mega__tops button .chev { display: none; }
.mega__tops button:hover, .mega__tops button[aria-current='true'] { color: #fff; transform: translateX(6px); }
.mega__tops button[aria-current='true'] svg.i { color: var(--red); opacity: 1; }
.mega__tops .btn { margin: 22px 0 0 !important; background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.mega__tops .btn:hover { background: #fff; color: var(--ink); }
.mega__panel { animation: fadeup 0.22s ease-out; padding-top: 10px; }
.mega__title { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 8px 16px 8px 18px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 800; font-size: 14px; }
.mega__title svg { width: 16px; height: 16px; }
.mega__title:hover { background: #fff; color: var(--ink); }
.mega__cols { columns: 3; column-gap: 40px; }
.mega__group { break-inside: avoid; margin-bottom: 26px; }
.mega__group > a { display: block; font-weight: 800; font-size: 17px; padding: 3px 0; color: #fff; }
.mega__group ul { list-style: none; margin: 4px 0 0; padding: 0; }
.mega__group li a { display: block; padding: 4px 0; color: #9aa2ad; }
.mega__group a:hover { color: var(--red); }
.scrim { display: none; }

/* ---------- Common ---------- */
.h1 { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3.6vw, 48px); line-height: 1.05; letter-spacing: -0.03em; }
.h2 { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.1; letter-spacing: -0.03em; }
.section { padding: 56px 0 0; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section__head a { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; padding: 8px 16px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); white-space: nowrap; }
.section__head a:hover { background: var(--ink); color: #fff; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 2px solid var(--ink); background: transparent; font-weight: 800; font-size: 16px; transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease; }
.btn:hover { background: var(--ink); color: #fff; }
.btn:active { transform: scale(0.97); }
.btn--red { background: var(--red); border-color: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--red); border-color: var(--red); }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; padding: 22px 0 0; font-size: 14px; font-weight: 600; color: var(--mute); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs span[aria-hidden] { color: var(--mute-2); }
.empty { padding: 56px 24px; text-align: center; background: var(--card); border-radius: var(--r-l); box-shadow: var(--shadow); }
.empty h2 { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -0.03em; margin-bottom: 8px; }
.empty p { color: var(--mute); max-width: 52ch; margin: 0 auto 18px; }
.price { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1; letter-spacing: -0.03em; }
.price small { font-family: var(--text); font-weight: 700; font-size: 13px; letter-spacing: 0; margin-left: 5px; color: var(--mute); }
.badge { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; line-height: 1.2; white-space: nowrap; color: var(--mute); }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--mute-2); flex: none; }
.badge--yes { color: var(--green); }
.badge--yes i { background: var(--green); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(10, 143, 78, 0.5); } 100% { box-shadow: 0 0 0 8px rgba(10, 143, 78, 0); } }

/* ---------- Home: the dark hero panel ---------- */
.hero { padding: 14px 20px 0; }
.hero__panel { position: relative; max-width: calc(var(--page) - 40px); margin: 0 auto; border-radius: var(--r-xl); background: var(--dark); color: #fff; overflow: hidden; isolation: isolate; }
.hero__panel::before { content: ''; position: absolute; z-index: -1; right: -12%; top: -30%; width: 62%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(224, 24, 42, 0.55), rgba(224, 24, 42, 0) 70%); animation: glow 9s ease-in-out infinite alternate; }
@keyframes glow { to { transform: translate(-8%, 10%) scale(1.12); } }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; align-items: center; padding: clamp(32px, 5vw, 72px); }
.hero__status { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); font-size: 13px; font-weight: 700; margin-bottom: 26px; }
.hero__status i { width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; animation: pulse 1.8s ease-out infinite; }
.hero__status--no i { background: #9aa2ad; animation: none; }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 5.2vw, 76px); line-height: 1; letter-spacing: -0.04em; }
.hero h1 .rise { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero h1 .rise > span { display: block; transform: translateY(105%); animation: rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0ms) forwards; }
.hero h1 .rise:last-of-type > span { color: #ff5a68; }
@keyframes rise { to { transform: none; } }
.swoosh { display: block; width: min(360px, 70%); height: 22px; margin-top: 14px; overflow: visible; }
.swoosh path { fill: none; stroke: var(--red); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 0.7s cubic-bezier(0.6, 0, 0.2, 1) 0.6s forwards; }
.swoosh path + path { stroke: #fff; stroke-width: 3; animation-delay: 0.8s; animation-duration: 0.55s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero p { margin: 26px 0 30px; font-size: 18px; color: #b9c0ca; max-width: 46ch; opacity: 0; animation: fadeup 0.5s ease-out 0.5s forwards; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; opacity: 0; animation: fadeup 0.5s ease-out 0.65s forwards; }
.hero__cta .btn { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.hero__cta .btn:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero__cta .btn--red { border-color: var(--red); }
.hero__cta .btn--red:hover { background: #fff; border-color: #fff; color: var(--ink); }
@keyframes fadeup { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* The product in the spotlight: a real product that is on the shelves now, changing every few seconds */
.spot { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: var(--r-l); background: #fff; color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7); transform: rotate(2.5deg); transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); animation: spotin 0.8s cubic-bezier(0.2, 0.9, 0.2, 1) 0.2s both; perspective: 700px; }
.spot:hover { transform: rotate(0deg) translateY(-6px); }
@keyframes spotin { from { opacity: 0; transform: rotate(8deg) translateY(50px); } }
.spot::before, .spot::after { content: ''; position: absolute; z-index: -1; inset: 0; border-radius: var(--r-l); background: rgba(255, 255, 255, 0.16); transform: rotate(-5deg) translate(-10px, 8px); }
.spot::after { background: rgba(255, 255, 255, 0.08); transform: rotate(-10deg) translate(-22px, 14px); }
.spot__label { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 800; color: var(--green); }
.spot__label span { display: inline-flex; align-items: center; gap: 8px; }
.spot__label i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 1.6s ease-out infinite; }
.spot__label em { font-style: normal; color: var(--mute); font-variant-numeric: tabular-nums; }
.spot__img { aspect-ratio: 1.15; border-radius: var(--r-m); background: var(--soft); display: grid; place-items: center; overflow: hidden; }
.spot__img img { width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; transition: opacity 0.25s ease, transform 0.4s ease; }
.spot__img img.swap { opacity: 0; transform: scale(0.94); }
.spot__img .noimg { color: var(--mute-2); }
.spot__img .noimg svg { width: 64px; height: 64px; stroke-width: 1.2; }
.spot__name { font-weight: 800; font-size: 18px; line-height: 1.25; min-height: 2.5em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.spot__row { display: flex; align-items: center; gap: 8px; }
.spot__price { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -0.03em; margin-right: auto; white-space: nowrap; }
.now__stock { display: grid; justify-items: center; min-width: 62px; padding: 5px 8px; border-radius: var(--r-s); background: var(--soft); color: var(--mute-2); }
.now__stock b { font-size: 18px; font-weight: 800; line-height: 1.1; min-height: 20px; }
.now__stock small { font-size: 10px; font-weight: 700; white-space: nowrap; }
.now__stock.has { background: var(--green-soft); color: var(--green); }
.flap { display: inline-block; transform-origin: 50% 55%; backface-visibility: hidden; }
.flapping { animation: flap 0.34s ease-in-out; }
@keyframes flap { 0% { transform: rotateX(0); } 50% { transform: rotateX(90deg); } 100% { transform: rotateX(0); } }

/* Categories: a row of round buttons that scrolls sideways */
.rail { display: flex; gap: 14px; overflow-x: auto; padding: 6px 20px 18px; margin: 0 -20px; scroll-snap-type: x proximity; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail__item { flex: 0 0 132px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; font-weight: 800; font-size: 14px; line-height: 1.25; }
.rail__icon { width: 108px; height: 108px; border-radius: 50%; background: var(--card); display: grid; place-items: center; box-shadow: var(--shadow); transition: background 0.2s ease, color 0.2s ease, transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1); }
.rail__icon svg { width: 42px; height: 42px; stroke-width: 1.4; transition: transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1); }
.rail__item:hover .rail__icon { background: var(--red); color: #fff; transform: translateY(-6px); }
.rail__item:hover .rail__icon svg { transform: scale(1.15) rotate(-6deg); }

/* The two stores */
.stores { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.storecard { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; padding: 28px; border-radius: var(--r-l); background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.storecard__n { grid-row: span 4; font-family: var(--display); font-weight: 800; font-size: 96px; line-height: 0.82; letter-spacing: -0.06em; color: var(--red); }
.storecard h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.03em; }
.storecard p { color: var(--ink-2); }
.storecard__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.storecard__links a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--soft); font-weight: 800; font-size: 14px; }
.storecard__links a:hover { background: var(--ink); color: #fff; }
.open { font-family: var(--text); font-size: 12px; font-weight: 800; letter-spacing: 0; padding: 4px 10px; border-radius: 999px; background: var(--green-soft); color: var(--green); }
.open--no { background: var(--soft); color: var(--mute); }
.stores__hours { grid-column: 1 / -1; text-align: center; color: var(--mute); font-size: 14px; font-weight: 600; }

/* What we promise */
.facts { margin-top: 56px; }
.facts .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fact { display: flex; flex-direction: column; gap: 4px; padding: 22px; border-radius: var(--r-l); border: 1px solid var(--line); }
.fact svg { width: 30px; height: 30px; color: var(--red); margin-bottom: 10px; }
.fact strong { font-weight: 800; font-size: 17px; line-height: 1.25; }
.fact span { color: var(--mute); font-size: 14px; }

/* ---------- Product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pc { position: relative; display: flex; flex-direction: column; padding: 10px; border-radius: var(--r-l); background: var(--card); box-shadow: var(--shadow); transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease; animation: pcin 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) backwards; }
.pc:nth-child(2) { animation-delay: 0.05s; } .pc:nth-child(3) { animation-delay: 0.1s; } .pc:nth-child(4) { animation-delay: 0.15s; }
@keyframes pcin { from { opacity: 0; transform: translateY(18px); } }
.pc:hover { transform: translateY(-6px); box-shadow: 0 1px 2px rgba(14, 17, 22, 0.04), 0 28px 48px -22px rgba(14, 17, 22, 0.38); }
.pc__img { position: relative; aspect-ratio: 1; border-radius: var(--r-m); background: var(--soft); display: grid; place-items: center; overflow: hidden; }
.pc__img img { width: 100%; height: 100%; object-fit: contain; padding: 9%; mix-blend-mode: multiply; transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.pc:hover .pc__img img { transform: scale(1.07); }
.pc__img .noimg { color: var(--mute-2); }
.pc__img .noimg svg { width: 52px; height: 52px; stroke-width: 1.2; }
.pc__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 8px 6px; flex: 1; }
.pc__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 20px; }
.pc__brand { font-size: 13px; font-weight: 700; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc__name { font-weight: 700; font-size: 16px; line-height: 1.3; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc__name::after { content: ''; position: absolute; inset: 0; border-radius: var(--r-l); }
.pc__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.pc__add { position: relative; z-index: 1; flex: none; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 800; font-size: 14px; overflow: hidden; transition: background 0.2s ease, transform 0.15s cubic-bezier(0.3, 1.6, 0.5, 1); }
.pc__add span { max-width: 0; opacity: 0; white-space: nowrap; transition: max-width 0.3s ease, opacity 0.2s ease; }
.pc__add svg { width: 20px; height: 20px; }
.pc:hover .pc__add, .pc__add:focus-visible { background: var(--red); }
.pc:hover .pc__add span, .pc__add:focus-visible span { max-width: 90px; opacity: 1; }
.pc__add:active { transform: scale(0.93); }
.pc--out .pc__img img { opacity: 0.55; }
.sk { background: linear-gradient(90deg, #e7e9ec 0%, #f4f5f6 50%, #e7e9ec 100%); background-size: 200% 100%; animation: sk 1.2s linear infinite; border-radius: var(--r-l); }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- Listing ---------- */
.listhead { padding: 14px 0 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip { padding: 10px 18px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); font-weight: 700; font-size: 15px; transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease; }
.chip:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.chip small { color: var(--mute-2); font-weight: 700; margin-left: 6px; }
.tools { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 12px 12px 12px 20px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); margin-bottom: 20px; }
.tools__count { color: var(--mute); font-weight: 700; margin-right: auto; }
.check { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--green); }
.select { height: 44px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--soft); font-weight: 700; }
.more { display: flex; justify-content: center; padding: 32px 0 0; }

/* ---------- Product page ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 20px; padding: 18px 0 20px; align-items: start; }
.gallery { padding: 14px; border-radius: var(--r-xl); background: var(--card); box-shadow: var(--shadow); }
.gallery__main { position: relative; aspect-ratio: 1; background: var(--soft); border-radius: var(--r-l); display: grid; place-items: center; overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 6%; animation: fadeup 0.4s ease-out both; }
.gallery__main.zoomable { cursor: zoom-in; }
.gallery__main.zoomable img { transition: transform 0.35s ease; }
.gallery__main.zoomable:hover img { transform: scale(1.05); }
.gallery__zoom { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 800; box-shadow: var(--shadow); pointer-events: none; transition: background 0.15s ease, color 0.15s ease; }
.gallery__zoom svg { width: 20px; height: 20px; }
.gallery__main.zoomable:hover .gallery__zoom { background: var(--ink); color: #fff; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery__thumbs button { width: 78px; height: 78px; padding: 5px; border-radius: var(--r-s); border: 2px solid transparent; background: var(--soft); transition: border-color 0.15s ease; }
.gallery__thumbs button[aria-current='true'] { border-color: var(--ink); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.buy { padding: clamp(22px, 3vw, 36px); border-radius: var(--r-xl); background: var(--card); box-shadow: var(--shadow); position: sticky; top: 96px; }
.buy__brand { font-weight: 800; color: var(--red); font-size: 14px; }
.buy h1 { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.08; letter-spacing: -0.03em; margin: 6px 0 8px; }
.buy__model { color: var(--mute); font-size: 14px; font-weight: 600; }
.buy__price { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 22px 0 4px; }
.buy .price { font-size: clamp(36px, 4vw, 50px); }
.buy .price small { font-size: 18px; }
.buy__vat { color: var(--mute); font-size: 13px; font-weight: 600; }
.where { margin: 22px 0; border-radius: var(--r-m); background: var(--soft); padding: 6px; perspective: 500px; }
.where__head { padding: 10px 12px 8px; font-weight: 800; font-size: 14px; color: var(--mute); }
.where__row { display: grid; grid-template-columns: 46px 1fr; align-items: start; gap: 14px; padding: 12px; border-radius: var(--r-s); background: var(--card); }
.where__row + .where__row { margin-top: 6px; }
.where__mark { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--mute-2); animation: flipin 0.55s cubic-bezier(0.3, 1.4, 0.5, 1) 0.15s both; }
.where__row + .where__row .where__mark { animation-delay: 0.3s; }
@keyframes flipin { from { transform: rotateX(-95deg) scale(0.8); opacity: 0; } to { transform: none; opacity: 1; } }
.where__row.has .where__mark { background: var(--green); color: #fff; }
.where__mark svg { width: 22px; height: 22px; stroke-width: 2.6; }
.where__name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 800; }
.where__row:not(.has) .where__name { color: var(--mute); }
.where__low { font-size: 12px; font-weight: 800; padding: 2px 9px; border-radius: 999px; background: var(--amber-soft); color: #9a4a06; }
.where__sub { font-size: 14px; color: var(--mute); }
.where__row.has .where__sub b { color: var(--green); }
.where__addr { font-size: 13px; color: var(--mute); }
.buyrow { display: flex; gap: 10px; align-items: stretch; }
.qty { display: inline-flex; border-radius: 999px; background: var(--soft); padding: 4px; }
.qty button { width: 46px; border: 0; border-radius: 50%; background: var(--card); font-size: 20px; font-weight: 800; box-shadow: 0 1px 2px rgba(14, 17, 22, 0.12); }
.qty button:hover { background: var(--ink); color: #fff; }
.qty input { width: 50px; border: 0; background: none; text-align: center; font-weight: 800; font-size: 18px; -moz-appearance: textfield; }
.qty input:focus { outline: none; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buyrow .btn { flex: 1; min-height: 56px; font-size: 17px; }
.assure { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; color: var(--ink-2); font-size: 15px; }
.assure li { display: flex; gap: 10px; align-items: flex-start; }
.assure svg { color: var(--red); margin-top: 1px; width: 20px; height: 20px; }
.desc { margin: 0 0 20px; padding: clamp(22px, 3vw, 40px); border-radius: var(--r-xl); background: var(--card); box-shadow: var(--shadow); }
.desc h2 { margin-bottom: 14px; }
.desc p { max-width: 72ch; white-space: pre-line; color: var(--ink-2); font-size: 17px; }
.specs { margin: 0; max-width: 820px; display: grid; gap: 4px; }
.specs > div { display: grid; grid-template-columns: minmax(140px, 40%) 1fr; gap: 16px; padding: 12px 16px; border-radius: var(--r-s); }
.specs > div:nth-child(odd) { background: var(--soft); }
.specs dt { color: var(--mute); font-weight: 600; }
.specs dd { margin: 0; font-weight: 800; }
.buybar { display: none; }

/* ---------- Cart + order ---------- */
.two { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 20px; padding: 22px 0 20px; align-items: start; }
.two > div:first-child, .form { padding: clamp(18px, 2.4vw, 32px); border-radius: var(--r-xl); background: var(--card); box-shadow: var(--shadow); }
.line { display: grid; grid-template-columns: 92px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line:first-child { padding-top: 0; } .line:last-child { border-bottom: 0; padding-bottom: 0; }
.line__img { width: 92px; height: 92px; background: var(--soft); border-radius: var(--r-m); display: grid; place-items: center; overflow: hidden; color: var(--mute-2); }
.line__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 8px; }
.line__name { font-weight: 800; }
.line__name:hover { color: var(--red-deep); }
.line__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; }
.line__meta .qty button { width: 34px; height: 34px; font-size: 17px; }
.line__meta .qty input { width: 40px; font-size: 16px; }
.linkbtn { border: 0; background: none; padding: 0; color: var(--mute); text-decoration: underline; font-size: 14px; font-weight: 600; }
.linkbtn:hover { color: var(--red); }
.line__total { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -0.03em; white-space: nowrap; }
.sum { position: sticky; top: 96px; border-radius: var(--r-xl); background: var(--dark); color: #fff; padding: 26px; display: grid; gap: 14px; }
.sum h2 { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.03em; }
.sum__row { display: flex; justify-content: space-between; gap: 12px; color: #b9c0ca; }
.sum__row--total { border-top: 1px solid rgba(255, 255, 255, 0.16); padding-top: 14px; color: #fff; align-items: baseline; font-weight: 800; }
.sum__row--total b { font-family: var(--display); font-size: 28px; letter-spacing: -0.03em; }
.sum__note { font-size: 14px; color: #9aa2ad; }
.sum__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: #d6dae0; }
.sum__items li { display: flex; justify-content: space-between; gap: 12px; }
.sum__items span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sum .btn { border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.sum .btn:hover { background: #fff; color: var(--ink); border-color: #fff; }
.sum .btn--red { border-color: var(--red); }
.form { display: grid; gap: 30px; }
.form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; min-width: 0; }
.form legend { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.03em; padding: 0; margin-bottom: 6px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-weight: 800; font-size: 14px; }
.field label small { font-weight: 600; color: var(--mute); }
.field input, .field textarea { min-height: 52px; padding: 12px 16px; border: 2px solid transparent; border-radius: var(--r-s); background: var(--soft); font-size: 16px; font-weight: 600; transition: border-color 0.15s ease, background 0.15s ease; }
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.field input[aria-invalid='true'] { border-color: var(--red); background: #fff5f6; }
.opts { display: grid; gap: 8px; }
.opt { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; padding: 14px 16px; border: 2px solid var(--line); border-radius: var(--r-m); cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease; }
.opt:has(input:checked) { border-color: var(--ink); background: var(--soft); }
.opt input { width: 20px; height: 20px; accent-color: var(--red); margin-top: 3px; grid-row: span 2; }
.opt strong { font-weight: 800; }
.opt span { color: var(--mute); font-size: 14px; }
.opt .ok { color: var(--green); font-weight: 800; }
.error { padding: 14px 18px; border-radius: var(--r-s); background: #fde8ea; color: var(--red-deep); font-weight: 800; }
.done { max-width: 760px; margin: 40px auto 20px; padding: clamp(32px, 6vw, 72px); text-align: center; border-radius: var(--r-xl); background: var(--card); box-shadow: var(--shadow); }
.done__no { display: inline-block; margin: 22px 0; padding: 12px 28px; border-radius: var(--r-m); background: var(--dark); color: #fff; font-family: var(--display); font-weight: 700; font-size: clamp(26px, 5vw, 44px); letter-spacing: -0.02em; animation: stamp 0.6s cubic-bezier(0.3, 1.6, 0.5, 1) 0.2s both; }
@keyframes stamp { from { opacity: 0; transform: scale(1.6) rotate(-8deg); } }
.done p { color: var(--ink-2); font-size: 18px; margin-bottom: 26px; }
.prose { max-width: 820px; margin: 22px 0 20px; padding: clamp(22px, 3vw, 44px); border-radius: var(--r-xl); background: var(--card); box-shadow: var(--shadow); }
.prose h1 { margin-bottom: 20px; padding-top: 0 !important; }
.prose h2 { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.03em; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink-2); font-size: 17px; }
/* contact page reuses the store cards */
.board { border-radius: var(--r-xl); background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.board__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 24px; background: var(--dark); color: #fff; font-weight: 800; }
.store { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; padding: 22px 24px; }
.store + .store { border-top: 1px solid var(--line); }
.store__n { grid-row: span 3; font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 0.85; letter-spacing: -0.06em; color: var(--red); }
.store__name { font-weight: 800; font-size: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.store__addr { color: var(--ink-2); }
.store__meta { color: var(--mute); font-size: 14px; }
.store__meta a { font-weight: 800; color: var(--ink); text-decoration: underline; }

/* ---------- Toast, flying picture ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 70; display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 20px; border-radius: 999px; background: var(--dark); color: #fff; font-weight: 800; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.5); transition: transform 0.25s cubic-bezier(0.3, 1.4, 0.5, 1), opacity 0.2s ease; max-width: calc(100vw - 32px); }
.toast.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.toast a { background: #fff; color: var(--ink); padding: 8px 16px; border-radius: 999px; white-space: nowrap; }
.fly { position: fixed; z-index: 80; pointer-events: none; object-fit: contain; border-radius: var(--r-m); background: var(--red); will-change: transform; }
img.fly { background: #fff; box-shadow: 0 14px 34px rgba(14, 17, 22, 0.3); padding: 6px; }
.cartbtn.bump, .tabbar__cart.bump { animation: bump 0.45s cubic-bezier(0.3, 1.6, 0.5, 1); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.16); } 100% { transform: scale(1); } }

/* ---------- Picture zoom ---------- */
.zoom { position: fixed; inset: 0; z-index: 90; background: var(--bg); display: flex; animation: zoomin 0.2s ease-out; }
@keyframes zoomin { from { opacity: 0; } to { opacity: 1; } }
.zoom__stage { flex: 1; min-width: 0; display: grid; place-items: center; overflow: hidden; touch-action: none; cursor: zoom-in; user-select: none; }
.zoom.zoomed .zoom__stage { cursor: grab; }
.zoom.zoomed .zoom__stage:active { cursor: grabbing; }
.zoom__stage img { max-width: 92vw; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); object-fit: contain; mix-blend-mode: multiply; will-change: transform; -webkit-user-drag: none; animation: zoompop 0.28s cubic-bezier(0.2, 0.9, 0.3, 1); }
@keyframes zoompop { from { opacity: 0; scale: 0.94; } to { opacity: 1; scale: 1; } }
.zoom button { border: 0; background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow); }
.zoom button:hover { background: var(--ink); color: #fff; }
.zoom__close { position: absolute; top: 16px; right: 16px; width: 52px; height: 52px; border-radius: 50%; }
.zoom__nav { position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; }
.zoom__nav--prev { left: 16px; } .zoom__nav--prev svg { transform: rotate(180deg); } .zoom__nav--next { right: 16px; }
.zoom__bar { position: absolute; left: 50%; bottom: 44px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); }
.zoom__bar button { width: 44px; height: 44px; border-radius: 50%; font-size: 24px; font-weight: 800; line-height: 1; box-shadow: none; background: var(--soft); }
.zoom__pct { min-width: 60px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.zoom__count { padding: 0 14px 0 10px; border-left: 1px solid var(--line); margin-left: 6px; font-weight: 800; color: var(--mute); white-space: nowrap; }
.zoom__hint { position: absolute; left: 0; right: 0; bottom: 14px; margin: 0; text-align: center; font-size: 13px; font-weight: 600; color: var(--mute); pointer-events: none; padding: 0 16px; }

/* ---------- Footer: the second dark panel ---------- */
.foot { padding: 56px 20px 20px; }
.foot__panel { max-width: calc(var(--page) - 40px); margin: 0 auto; border-radius: var(--r-xl); background: var(--dark); color: #b9c0ca; overflow: hidden; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding: clamp(28px, 4vw, 56px); }
.foot__logo { display: inline-block; padding: 10px 16px; border-radius: var(--r-m); background: #fff; margin-bottom: 16px; }
.foot__logo img { height: 48px; width: auto; }
.foot h3 { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: -0.02em; color: #fff; margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.foot strong { color: #fff; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot__legal { padding: 18px clamp(28px, 4vw, 56px); border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13px; color: #7e8794; }

.tabbar { display: none; }

/* ---------- Medium screens ---------- */
@media (max-width: 1180px) {
  .hd__tel span { display: none; }
  .hd__tel { padding: 0 12px; }
  .hd__nav a { display: none; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .two { grid-template-columns: 1fr; }
  .sum, .buy { position: static; }
  .mega__cols { columns: 2; }
}
@media (hover: none) {
  .pc:hover { transform: none; }
  .pc:hover .pc__img img { transform: none; }
  .pc__add span { display: none; }
  .spot { transform: none; }
}

/* ---------- Phones ---------- */
@media (max-width: 760px) {
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .wrap { padding: 0 14px; }
  .hd { padding: 8px 10px 0; }
  .hd__bar { padding: 8px 8px 8px 14px; gap: 6px; border-radius: 20px; }
  .logo img { height: 36px; }
  .hd__nav, .hd__tel { display: none; }
  .search { order: 5; flex-basis: 100%; margin: 2px 0 0; }
  .hd__bar { flex-wrap: wrap; }
  .hd__bar .lang { margin-left: auto; }
  .cartbtn { height: 42px; padding: 0 14px 0 12px; }
  .cartbtn .label { display: none; }

  /* bottom bar, floating like the header */
  .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 45; padding: 6px; border-radius: 24px; background: rgba(14, 17, 22, 0.94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.5); }
  .tabbar a, .tabbar button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 56px; border: 0; border-radius: 18px; background: none; font-size: 11px; font-weight: 700; color: #9aa2ad; }
  .tabbar svg { width: 23px; height: 23px; }
  .tabbar [aria-current] { background: #fff; color: var(--ink); }
  .tabbar b { position: absolute; top: 6px; left: calc(50% + 6px); min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--red); color: #fff; font-size: 11px; display: grid; place-items: center; }

  .mega .wrap { display: block; padding: 14px 16px calc(110px + env(safe-area-inset-bottom)); }
  .mega__close { position: sticky; top: 0; z-index: 1; background: var(--dark); padding: 12px 0; margin-bottom: 6px; }
  .mega__tops button { font-size: 21px; padding: 13px 0; }
  .mega__tops button .chev { display: block; margin-left: auto; width: 20px; height: 20px; opacity: 0.6; transition: transform 0.2s ease; }
  .mega__tops button[aria-current='true'] .chev { transform: rotate(90deg); }
  .mega__tops button:hover, .mega__tops button[aria-current='true'] { transform: none; }
  .mega__panel { padding: 4px 0 18px 42px; }
  .mega__cols { columns: 1; }
  .mega__title { margin-bottom: 14px; }
  .mega__group { margin-bottom: 16px; }
  .mega__group > a { padding: 6px 0; }
  .mega__group li a { padding: 6px 0; }

  .hero { padding: 10px 10px 0; }
  .hero__grid { grid-template-columns: 1fr; gap: 34px; padding: 26px 20px 30px; }
  .hero__panel { border-radius: 26px; }
  .hero h1 { font-size: clamp(30px, 9.4vw, 42px); }
  .hero p { font-size: 16px; margin: 20px 0 22px; }
  .hero__cta .btn { flex: 1; padding: 0 14px; }
  .spot { transform: rotate(1.5deg); margin: 0 6px; }
  .section { padding-top: 40px; }
  .section__head { margin-bottom: 16px; }
  .rail { gap: 10px; padding: 4px 14px 14px; margin: 0 -14px; }
  .rail__item { flex-basis: 92px; font-size: 13px; gap: 8px; }
  .rail__icon { width: 80px; height: 80px; }
  .rail__icon svg { width: 32px; height: 32px; }
  .stores { grid-template-columns: 1fr; }
  .storecard { padding: 20px; gap: 4px 16px; }
  .storecard__n { font-size: 68px; }
  .facts { margin-top: 40px; }
  .facts .wrap { grid-template-columns: 1fr 1fr; gap: 10px; }
  .fact { padding: 16px; }
  .fact strong { font-size: 15px; }

  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pc { padding: 7px; border-radius: 20px; }
  .pc__img { border-radius: 14px; }
  .pc__body { padding: 10px 5px 4px; gap: 4px; }
  .pc__name { font-size: 14px; }
  .pc__meta { flex-direction: column; align-items: flex-start; gap: 2px; }
  .pc__brand { font-size: 12px; }
  .badge { font-size: 12px; }
  .pc .price { font-size: 17px; }
  .pc .price small { font-size: 11px; margin-left: 3px; }
  .pc__add { height: 40px; padding: 0 11px; }

  .crumbs { padding-top: 16px; font-size: 13px; flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .crumbs::-webkit-scrollbar { display: none; }
  .listhead { padding: 10px 0 14px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 14px -14px 0; padding: 0 14px 8px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .tools { gap: 8px 12px; padding: 12px 14px; border-radius: 20px; margin-bottom: 14px; }
  .tools__count { flex-basis: 100%; font-size: 14px; }
  .check { font-size: 14px; margin-right: auto; }
  .select { height: 42px; font-size: 14px; max-width: 46vw; }

  .product { grid-template-columns: 1fr; gap: 12px; padding: 12px 0 12px; }
  .gallery { padding: 8px; border-radius: 24px; }
  .gallery__main { border-radius: 18px; }
  .gallery__thumbs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .gallery__thumbs button { flex: none; width: 64px; height: 64px; }
  .gallery__zoom { right: 8px; bottom: 8px; font-size: 13px; padding: 7px 12px 7px 9px; }
  .buy { padding: 20px; border-radius: 24px; }
  .buyrow .btn { display: none; }
  .buyrow .qty { width: 100%; }
  .buyrow .qty input { flex: 1; height: 44px; }
  .desc { padding: 20px; border-radius: 24px; margin-bottom: 12px; }
  .desc p { font-size: 16px; }
  .specs > div { grid-template-columns: 44% 1fr; gap: 10px; padding: 10px 12px; font-size: 15px; }
  .buybar { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; left: 10px; right: 10px; z-index: 44; bottom: calc(86px + env(safe-area-inset-bottom)); padding: 8px 8px 8px 18px; border-radius: 22px; background: #fff; box-shadow: 0 14px 34px -10px rgba(14, 17, 22, 0.4); }
  .buybar .price { font-size: 20px; white-space: nowrap; }
  .buybar .btn { flex: 1; max-width: 230px; min-height: 46px; padding: 0 12px; font-size: 15px; }
  body:has(.buybar) { padding-bottom: calc(158px + env(safe-area-inset-bottom)); }

  .two { gap: 12px; padding: 14px 0 12px; }
  .two > div:first-child, .form { padding: 16px; border-radius: 24px; }
  .line { grid-template-columns: 68px 1fr; gap: 12px; }
  .line__img { width: 68px; height: 68px; }
  .line__total { grid-column: 2; font-size: 16px; }
  .sum { padding: 20px; border-radius: 24px; }
  .fields { grid-template-columns: 1fr; }
  .form { gap: 24px; }
  .done { margin: 16px auto 12px; border-radius: 24px; }
  .prose { margin: 14px 0 12px; border-radius: 24px; }
  .foot { padding: 40px 10px 10px; }
  .foot__panel { border-radius: 26px; }
  .foot__grid { grid-template-columns: 1fr; gap: 26px; }
  .toast { bottom: calc(92px + env(safe-area-inset-bottom)); width: max-content; }
  body:has(.buybar) .toast { bottom: calc(164px + env(safe-area-inset-bottom)); }
  .zoom__stage img { max-width: 100vw; max-height: calc(100dvh - 170px); }
  .zoom__close { top: 10px; right: 10px; }
  .zoom__nav { width: 44px; height: 44px; }
  .zoom__nav--prev { left: 6px; } .zoom__nav--next { right: 6px; }
  .zoom__bar { bottom: 56px; }
}

/* fixes after looking at it on a phone-size screen */
.mega__close { width: 100%; }
@media (max-width: 760px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__grid > * { min-width: 0; }
  .hero__cta .btn { min-height: 48px; font-size: 15px; white-space: nowrap; }
}
/* ==========================================================================
   Scroll and pointer animations
   ========================================================================== */
/* Reveal on scroll. The start state exists only while an element carries data-rv. */
.rv-on [data-rv] { opacity: 0; transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), clip-path 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); transition-delay: calc(var(--rv-i, 0) * 70ms); will-change: transform, opacity; }
.rv-on [data-rv='up'] { transform: translateY(44px); }
.rv-on [data-rv='pop'] { transform: scale(0.5) translateY(24px); transition-timing-function: ease, cubic-bezier(0.3, 1.5, 0.5, 1), ease; }
.rv-on [data-rv='side'][data-rv-dir='l'] { transform: translateX(-80px) rotate(-3deg); }
.rv-on [data-rv='side'][data-rv-dir='r'] { transform: translateX(80px) rotate(3deg); }
/* A heading wipes up from a mask. The mask sits on what is inside: the element itself has to stay
   visible for the browser to notice it has scrolled into view. */
.rv-on [data-rv='mask'] { opacity: 1; }
.rv-on [data-rv='mask'] > * { clip-path: inset(0 0 100% 0); translate: 0 34px; transition: clip-path 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), translate 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.rv-on [data-rv='mask'] > *:nth-child(2) { transition-delay: 0.12s; }
.rv-on [data-rv='mask'].rv-in > * { clip-path: inset(-25% -5% -25% -5%); translate: 0 0; }
.rv-on [data-rv='fade'] { transform: none; }
.rv-on [data-rv].rv-in { opacity: 1; transform: none; clip-path: inset(-20% -5% -20% -5%); }
.pc { animation: none; }

/* The big 1 and 2 of the stores roll up into place when their card arrives */
.storecard__n { overflow: hidden; }
.rv-on .storecard[data-rv-seen] .storecard__n { transform: translateY(70%); opacity: 0; }
.rv-on .storecard.rv-in .storecard__n { transform: none; opacity: 1; transition: transform 0.8s cubic-bezier(0.3, 1.5, 0.5, 1) 0.25s, opacity 0.4s ease 0.25s; }
/* Icons of the promises draw themselves */
.rv-on .fact[data-rv-seen] svg { stroke-dasharray: 80; stroke-dashoffset: 80; }
.rv-on .fact.rv-in svg { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s ease calc(0.2s + var(--rv-i, 0) * 70ms); }

/* Header: tightens after the first scroll, with a thin line that shows how far down the page you are */
.hd__bar { position: relative; overflow: hidden; transition: padding 0.25s ease, box-shadow 0.25s ease, background 0.25s ease; }
.hd__bar::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--red); transform: scaleX(var(--scroll, 0)); transform-origin: left; transition: transform 0.1s linear; }
.hd--scrolled .hd__bar { padding-top: 6px; padding-bottom: 6px; background: rgba(255, 255, 255, 0.94); box-shadow: 0 1px 2px rgba(14, 17, 22, 0.05), 0 18px 40px -18px rgba(14, 17, 22, 0.35); }
.logo img { transition: height 0.25s ease; }
.hd--scrolled .logo img { height: 38px; }

/* Hero: sinks back as the page scrolls; the card leans toward the pointer; the glow follows it */
.hero__panel { transform: scale(calc(1 - var(--p, 0) * 0.05)); transform-origin: 50% 20%; }
.hero__grid > div:first-child { translate: 0 calc(var(--p, 0) * 70px); opacity: calc(1 - var(--p, 0) * 1.1); }
.hero__panel::before { translate: var(--gx, 0) var(--gy, 0); transition: translate 0.5s ease-out; }
.spot { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(2.5deg); translate: 0 calc(var(--p, 0) * -60px); transition: transform 0.25s ease-out; }
.spot:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(0deg) scale(1.02); }
.spot__img img { animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* Product cards lean a little under the pointer */
.pc:hover { transform: perspective(800px) translateY(-6px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }

/* The moving band of promises */
.marq { overflow: hidden; padding: 30px 0 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marq__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marq 46s linear infinite; translate: calc(var(--scroll, 0) * -420px) 0; }
.marq:hover .marq__track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }
.marq span { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 3.6vw, 50px); letter-spacing: -0.03em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.marq span:nth-of-type(even) { color: var(--ink); -webkit-text-stroke: 0; }
.marq i { font-style: normal; font-size: clamp(18px, 2.4vw, 32px); color: var(--red); animation: spin 8s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }

/* Round category buttons: a ring sweeps around on hover */
.rail__icon { position: relative; }
.rail__icon::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--red); opacity: 0; transform: scale(0.85); transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.3, 1.5, 0.5, 1); }
.rail__item:hover .rail__icon::after { opacity: 1; transform: none; }

/* Buttons: a light sweeps across the red ones */
.btn--red, .cartbtn, .pc__add { position: relative; overflow: hidden; }
.btn--red::after, .cartbtn::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent); transform: skewX(-20deg); transition: left 0.6s ease; pointer-events: none; }
.btn--red:hover::after, .cartbtn:hover::after { left: 130%; }

@media (max-width: 760px) {
  .marq { padding-top: 22px; }
  .marq__track { gap: 18px; animation-duration: 34s; }
  .rv-on [data-rv='side'][data-rv-dir='l'], .rv-on [data-rv='side'][data-rv-dir='r'] { transform: translateY(44px); }
  .spot { transform: rotate(1.5deg); }
}
