/* zaan.ge UI-02 — product-first discount finder. Mobile first. */
/* Noto Sans (OFL, fonts/OFL.txt): Georgian, Latin and Cyrillic from one family. */
@font-face { font-family: "Zaan Sans"; font-weight: 100 900; font-display: swap;
  src: url("fonts/noto-sans-georgian-georgian-wght.491ae8fd579d.woff2") format("woff2");
  unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+205A, U+2D00-2D2F, U+2E31; }
@font-face { font-family: "Zaan Sans"; font-weight: 100 900; font-display: swap;
  src: url("fonts/noto-sans-latin-wght.10f8972e3579.woff2") format("woff2");
  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: "Zaan Sans"; font-weight: 100 900; font-display: swap;
  src: url("fonts/noto-sans-georgian-latin-ext-wght.7f3a01dd318c.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: "Zaan Sans"; font-weight: 100 900; font-display: swap;
  src: url("fonts/noto-sans-cyrillic-wght.9d065b00390e.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
:root {
  --ink: #181a19;
  --ink-2: #30322f;
  --paper: #f4f2ec;
  --surface: #fffefb;
  --surface-2: #ebe8df;
  --muted: #686a64;
  --line: #d9d6cc;
  --line-strong: #b9b6ac;
  --accent: #ffbd17;
  --accent-dark: #6b4700;
  --accent-soft: #fff1bf;
  --sale: #b52b26;
  --sale-soft: #fff0ed;
  --info: #2d5b9b;
  --warn: #765100;
  --warn-soft: #fff1c7;
  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 14px 34px rgba(24, 26, 25, .08);
  --wrap: 1240px;
  --gap: 16px;
  font-family: "Zaan Sans", "Noto Sans Georgian", "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* Theme tokens: light values are the original design; dark values below swap only colours. */
  --on-ink: #fff;
  --on-accent: #181a19;
  --header-bg: #fff;
  --header-line: #e4e6ea;
  --header-sep: #d9dce1;
  --field-bg: #fff;
  --field-line: #e3e5e9;
  --field-shadow: 0 10px 28px rgba(18, 24, 33, .09);
  --search-icon: #e0aa00;
  --quiet: #5b6170;
  --solid: #111216;
  --on-solid: #fff;
  --solid-hover: #33353a;
  --hover: #f2f3f5;
  --current: #ececec;
  --home-bg: #fcfaf8;
  --glow-1: rgba(255, 214, 170, .22);
  --glow-2: rgba(255, 196, 140, .18);
  --tile-base-1: #fdfcfa;
  --tile-base-2: #fbfaf8;
  --tile-base-3: #f7f7f8;
  --tile-mix-1: 46%;
  --tile-mix-2: 20%;
  --tile-mix-3: 6%;
  --panel-mix-1: 24%;
  --panel-mix-2: 9%;
  --tile-rim: linear-gradient(160deg, #fff 0%, #c9ccd2 28%, #f4f5f7 52%, #a9adb5 78%, #eceef1);
  --tile-shadow: inset 0 2px 2px rgba(255, 255, 255, .95), inset 0 -3px 8px rgba(140, 146, 158, .18),
    0 2px 0 rgba(255, 255, 255, .9), 0 10px 22px rgba(18, 24, 33, .12);
  --tile-shadow-hover: inset 0 2px 2px rgba(255, 255, 255, .95), inset 0 -3px 8px rgba(140, 146, 158, .18),
    0 2px 0 rgba(255, 255, 255, .9), 0 16px 30px rgba(18, 24, 33, .18);
  --tile-shadow-active: inset 0 2px 4px rgba(140, 146, 158, .25), 0 4px 10px rgba(18, 24, 33, .12);
  --tile-sub: #55575c;
  --tone-lift: 0%;
  --lens-bg: radial-gradient(circle at 35% 28%, rgba(255, 255, 255, .95), rgba(255, 255, 255, .45) 55%, rgba(230, 232, 236, .55));
  --lens-rim: rgba(255, 255, 255, .95);
  --lens-shadow: 0 0 0 1px rgba(150, 156, 166, .45), inset 0 -4px 8px rgba(140, 146, 158, .22), 0 6px 14px rgba(18, 24, 33, .14);
  --soon-bg: rgba(255, 255, 255, .75);
  --soon-ring: rgba(150, 156, 166, .4);
  --chip-line: #e0bd47;
  --thumb-bg: #fff;
  --thumb-ph: #686a64;
  --ok: #27633e;
  --ok-soft: #e9f6ed;
  --footer-bg: #181a19;
  --backdrop: rgba(24, 26, 25, .45);
  --backdrop-strong: rgba(24, 26, 25, .72);
  --sheet-shadow: rgba(24, 26, 25, .25);
  --logo-shadow: drop-shadow(0 5px 6px rgba(18, 24, 33, .16));
  --badge-shadow: 0 3px 8px rgba(18, 24, 33, .18);
  color-scheme: light;
}
/* Dark theme: follows the system unless the visitor picked one (data-theme on <html>). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #edebe5;
    --ink-2: #d2d0c9;
    --paper: #121312;
    --surface: #1b1c1b;
    --surface-2: #262825;
    --muted: #a3a59e;
    --line: #2f312e;
    --line-strong: #464843;
    --accent-dark: #ffd667;
    --accent-soft: #342a0e;
    --sale: #ff8a80;
    --sale-soft: #3a1d1b;
    --info: #8db4f0;
    --warn: #f3c969;
    --warn-soft: #342a0e;
    --shadow: 0 14px 34px rgba(0, 0, 0, .45);
    --on-ink: #181a19;
    --header-bg: #181918;
    --header-line: #2a2c29;
    --header-sep: #3a3c39;
    --field-bg: #222422;
    --field-line: #363834;
    --field-shadow: 0 10px 28px rgba(0, 0, 0, .35);
    --search-icon: #ffbd17;
    --quiet: #a3a59e;
    --solid: #edebe5;
    --on-solid: #181a19;
    --solid-hover: #ffffff;
    --hover: #262825;
    --current: #30322f;
    --home-bg: #131413;
    --glow-1: rgba(255, 170, 90, .08);
    --glow-2: rgba(255, 160, 80, .06);
    --tile-base-1: #1f201f;
    --tile-base-2: #1c1d1c;
    --tile-base-3: #191a19;
    --tile-mix-1: 34%;
    --tile-mix-2: 14%;
    --tile-mix-3: 4%;
    --panel-mix-1: 18%;
    --panel-mix-2: 6%;
    --tile-rim: linear-gradient(160deg, #6a6d73 0%, #34363a 28%, #55585d 52%, #2a2c30 78%, #45484d);
    --tile-shadow: inset 0 2px 2px rgba(255, 255, 255, .08), inset 0 -3px 8px rgba(0, 0, 0, .35),
      0 2px 0 rgba(255, 255, 255, .04), 0 10px 22px rgba(0, 0, 0, .45);
    --tile-shadow-hover: inset 0 2px 2px rgba(255, 255, 255, .08), inset 0 -3px 8px rgba(0, 0, 0, .35),
      0 2px 0 rgba(255, 255, 255, .04), 0 16px 30px rgba(0, 0, 0, .55);
    --tile-shadow-active: inset 0 2px 4px rgba(0, 0, 0, .45), 0 4px 10px rgba(0, 0, 0, .4);
    --tile-sub: #b3b5ae;
    --tone-lift: 28%;
    --lens-bg: radial-gradient(circle at 35% 28%, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06) 55%, rgba(0, 0, 0, .25));
    --lens-rim: rgba(255, 255, 255, .14);
    --lens-shadow: 0 0 0 1px rgba(0, 0, 0, .5), inset 0 -4px 8px rgba(0, 0, 0, .3), 0 6px 14px rgba(0, 0, 0, .4);
    --soon-bg: rgba(0, 0, 0, .35);
    --soon-ring: rgba(255, 255, 255, .14);
    --chip-line: #6b5518;
    --ok: #6cc98e;
    --ok-soft: #17301f;
    --footer-bg: #0b0c0b;
    --backdrop: rgba(0, 0, 0, .6);
    --backdrop-strong: rgba(0, 0, 0, .8);
    --sheet-shadow: rgba(0, 0, 0, .6);
    --logo-shadow: none;
    --badge-shadow: 0 3px 8px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #edebe5;
  --ink-2: #d2d0c9;
  --paper: #121312;
  --surface: #1b1c1b;
  --surface-2: #262825;
  --muted: #a3a59e;
  --line: #2f312e;
  --line-strong: #464843;
  --accent-dark: #ffd667;
  --accent-soft: #342a0e;
  --sale: #ff8a80;
  --sale-soft: #3a1d1b;
  --info: #8db4f0;
  --warn: #f3c969;
  --warn-soft: #342a0e;
  --shadow: 0 14px 34px rgba(0, 0, 0, .45);
  --on-ink: #181a19;
  --header-bg: #181918;
  --header-line: #2a2c29;
  --header-sep: #3a3c39;
  --field-bg: #222422;
  --field-line: #363834;
  --field-shadow: 0 10px 28px rgba(0, 0, 0, .35);
  --search-icon: #ffbd17;
  --quiet: #a3a59e;
  --solid: #edebe5;
  --on-solid: #181a19;
  --solid-hover: #ffffff;
  --hover: #262825;
  --current: #30322f;
  --home-bg: #131413;
  --glow-1: rgba(255, 170, 90, .08);
  --glow-2: rgba(255, 160, 80, .06);
  --tile-base-1: #1f201f;
  --tile-base-2: #1c1d1c;
  --tile-base-3: #191a19;
  --tile-mix-1: 34%;
  --tile-mix-2: 14%;
  --tile-mix-3: 4%;
  --panel-mix-1: 18%;
  --panel-mix-2: 6%;
  --tile-rim: linear-gradient(160deg, #6a6d73 0%, #34363a 28%, #55585d 52%, #2a2c30 78%, #45484d);
  --tile-shadow: inset 0 2px 2px rgba(255, 255, 255, .08), inset 0 -3px 8px rgba(0, 0, 0, .35),
    0 2px 0 rgba(255, 255, 255, .04), 0 10px 22px rgba(0, 0, 0, .45);
  --tile-shadow-hover: inset 0 2px 2px rgba(255, 255, 255, .08), inset 0 -3px 8px rgba(0, 0, 0, .35),
    0 2px 0 rgba(255, 255, 255, .04), 0 16px 30px rgba(0, 0, 0, .55);
  --tile-shadow-active: inset 0 2px 4px rgba(0, 0, 0, .45), 0 4px 10px rgba(0, 0, 0, .4);
  --tile-sub: #b3b5ae;
  --tone-lift: 28%;
  --lens-bg: radial-gradient(circle at 35% 28%, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06) 55%, rgba(0, 0, 0, .25));
  --lens-rim: rgba(255, 255, 255, .14);
  --lens-shadow: 0 0 0 1px rgba(0, 0, 0, .5), inset 0 -4px 8px rgba(0, 0, 0, .3), 0 6px 14px rgba(0, 0, 0, .4);
  --soon-bg: rgba(0, 0, 0, .35);
  --soon-ring: rgba(255, 255, 255, .14);
  --chip-line: #6b5518;
  --ok: #6cc98e;
  --ok-soft: #17301f;
  --footer-bg: #0b0c0b;
  --backdrop: rgba(0, 0, 0, .6);
  --backdrop-strong: rgba(0, 0, 0, .8);
  --sheet-shadow: rgba(0, 0, 0, .6);
  --logo-shadow: none;
  --badge-shadow: 0 3px 8px rgba(0, 0, 0, .5);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 15px; line-height: 1.5; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.wrap { width: min(100%, var(--wrap)); margin: 0 auto; padding-inline: var(--gap); }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; transform: translateY(-150%);
  background: var(--accent); color: var(--on-accent); padding: 10px 14px; font-weight: 800; text-decoration: none; }
.skip-link:focus { transform: none; }

/* Header: brand mark, catalog search (all pages), language switcher. */
.site-header { padding-block: 14px; background: var(--header-bg); border-bottom: 1px solid var(--header-line); }
.header-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px 28px; }
.site-brand { flex: none; display: block; width: 210px; text-decoration: none; }
.site-brand img { width: 100%; height: 72px; object-fit: contain; object-position: left center; filter: var(--logo-shadow); }
/* Black logo for the dark theme; only the visible one is laid out. */
.site-brand .logo-dark { display: none; }
:root[data-theme="dark"] .site-brand .logo-light { display: none; }
:root[data-theme="dark"] .site-brand .logo-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site-brand .logo-light { display: none; }
  :root:not([data-theme="light"]) .site-brand .logo-dark { display: block; }
}
.header-search { width: 100%; max-width: 860px; min-height: 60px; display: flex; align-items: center; gap: 12px;
  padding: 6px 6px 6px 22px; border: 1px solid var(--field-line); border-radius: 999px; background: var(--field-bg);
  box-shadow: var(--field-shadow); }
.header-search:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent), var(--field-shadow); }
.header-search svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--search-icon); stroke-width: 2.6; stroke-linecap: round; }
.header-search input { flex: 1; min-width: 0; height: 44px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 17px;
  text-overflow: ellipsis; }
.header-search input::placeholder { color: var(--quiet); opacity: 1; }
.header-search input::-webkit-search-cancel-button { cursor: pointer; }
.header-search button { min-height: 48px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--solid); color: var(--on-solid);
  font-weight: 800; cursor: pointer; }
.header-search button:hover { background: var(--solid-hover); }
.langs { display: flex; gap: 4px; padding-left: 20px; border-left: 1px solid var(--header-sep); }
.langs a { min-width: 44px; min-height: 44px; display: grid; place-items: center; padding: 4px 8px;
  border-radius: 999px; color: var(--quiet); font-size: 13px; font-weight: 800; text-decoration: none; }
.langs a:hover, .theme-toggle:hover { background: var(--hover); color: var(--ink); }
.langs a[aria-current] { background: var(--current); color: var(--ink); }

.header-tools { display: flex; align-items: center; gap: 4px; }
.theme-toggle { width: 44px; height: 44px; flex: none; display: grid; place-items: center; padding: 0; border: 0;
  border-radius: 999px; background: transparent; color: var(--quiet); cursor: pointer; }
.theme-toggle[hidden] { display: none; }
.theme-toggle:hover { color: var(--ink); }
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme-sun { display: none; }
:root[data-theme="dark"] .theme-moon { display: none; }
:root[data-theme="dark"] .theme-sun { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-moon { display: none; }
  :root:not([data-theme="light"]) .theme-sun { display: block; }
}
main { min-height: 65vh; padding-block: 28px 56px; }
h1, h2, p { overflow-wrap: anywhere; }
h1 { margin: 0 0 12px; max-width: 24ch; font-size: clamp(28px, 5vw, 48px); line-height: 1.08; letter-spacing: -.045em; }
h2 { margin: 28px 0 12px; font-size: 20px; line-height: 1.2; letter-spacing: -.025em; }
.muted { color: var(--muted); }
.eyebrow { margin: 0 0 10px; color: var(--muted); font-size: 11px; font-weight: 850; letter-spacing: .12em;
  text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 20px; height: 3px; margin: 0 8px 3px 0; background: var(--accent); }
.page-heading { margin-bottom: 26px; }
.page-heading > p:last-child { max-width: 64ch; margin: 0; color: var(--muted); font-size: 16px; }

.btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 22px;
  border: 1px solid var(--solid); border-radius: 999px; background: var(--solid); color: var(--on-solid);
  font-weight: 800; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.btn:hover { background: var(--solid-hover); border-color: var(--solid-hover); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: var(--field-bg); border-color: var(--field-line); color: var(--ink); }
.btn.ghost:hover { border-color: var(--ink); }

/* Home: heading and directions; search lives in the header. */
.home-page { background: var(--home-bg); }
.home-main { min-height: 65vh; padding: 0; }
.home-hero { padding: 72px 0 40px; background:
  radial-gradient(120% 70% at 0% 100%, var(--glow-1), transparent 60%),
  radial-gradient(90% 60% at 100% 0%, var(--glow-2), transparent 60%); }
.home-hero h1 { max-width: none; margin: 0; font-size: clamp(36px, 5.4vw, 72px); font-weight: 900; line-height: 1.12; letter-spacing: -.035em; }
.home-mark { display: inline-block; padding-bottom: .18em; background: no-repeat 0 100% / 100% .3em
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 24' preserveAspectRatio='none'%3E%3Cpath d='M6 17C110 6 260 3 394 9' fill='none' stroke='%23fdc800' stroke-width='9' stroke-linecap='round'/%3E%3C/svg%3E"); }
.home-categories { padding: 24px 0 80px; }
.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 26px; }
/* Glass pill: frosted body tinted strongest on the right, silver rim, icon in a round lens, a coloured arc on the bottom-left corner. */
.category-tile { --tone: #6b7280; position: relative; overflow: hidden; display: flex; align-items: center; gap: 24px;
  min-height: 150px; padding: 20px 28px 20px 24px; border: 3px solid transparent; border-radius: 999px; color: var(--ink);
  background:
    linear-gradient(300deg, color-mix(in srgb, var(--tone) var(--tile-mix-1), var(--tile-base-1)) 0%, color-mix(in srgb, var(--tone) var(--tile-mix-2), var(--tile-base-2)) 55%, color-mix(in srgb, var(--tone) var(--tile-mix-3), var(--tile-base-3))) padding-box,
    var(--tile-rim) border-box;
  box-shadow: var(--tile-shadow); }
.category-tile::before { content: ""; position: absolute; inset: 0; border: 7px solid var(--tone); border-radius: inherit; pointer-events: none;
  -webkit-mask: linear-gradient(90deg, #000 22%, transparent 22%), linear-gradient(0deg, #000 50%, transparent 50%);
  -webkit-mask-composite: source-in; mask: linear-gradient(90deg, #000 22%, transparent 22%), linear-gradient(0deg, #000 50%, transparent 50%);
  mask-composite: intersect; }
.category-copy { position: relative; z-index: 2; display: grid; gap: 6px; min-width: 0; }
.category-copy strong { font-size: clamp(24px, 2.3vw, 34px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; overflow-wrap: anywhere; }
.category-copy > span { color: var(--tile-sub); font-size: clamp(15px, 1.4vw, 19px); font-weight: 500; }
.category-icon { order: -1; flex: none; width: 104px; height: 104px; padding: 24px; border-radius: 50%; fill: none; stroke: color-mix(in srgb, var(--tone), #fff var(--tone-lift));
  stroke-width: 5.5; stroke-linecap: round; stroke-linejoin: round;
  background: var(--lens-bg);
  border: 2px solid var(--lens-rim);
  box-shadow: var(--lens-shadow); }
/* Active direction is a link: lifts on hover, presses on click. */
a.category-tile { text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s; }
a.category-tile:hover { transform: translateY(-3px); box-shadow: var(--tile-shadow-hover); }
a.category-tile:active { transform: translateY(2px); box-shadow: var(--tile-shadow-active); }
a.category-tile:focus-visible { outline: 4px solid var(--accent); outline-offset: 4px; }
/* Not yet available: muted, labelled, not a link. */
.category-tile[aria-disabled="true"] { cursor: default; filter: saturate(.55); }
.category-tile[aria-disabled="true"] .category-copy, .category-tile[aria-disabled="true"] .category-icon { opacity: .6; }
/* In the flex row, not overlaid: a long name wraps before the badge instead of running under it. */
.category-soon { position: relative; z-index: 2; flex: none; align-self: center; margin-left: auto; padding: 6px 12px; border-radius: 999px;
  background: var(--soon-bg); box-shadow: 0 0 0 1px var(--soon-ring); color: var(--muted);
  font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.category-alcohol { --tone: #9b1c3c; }
.category-clothing { --tone: #e3a008; }
.category-grocery { --tone: #d4561c; }
.category-pharmacy { --tone: #1f5fd1; }
.category-electronics { --tone: #6d4fd8; }
.category-hardware { --tone: #4b5563; }
.category-pets { --tone: #0f8a7e; }
.category-flowers { --tone: #d6336c; }

/* Catalog and product share the home look: warm glow, glass panels with a silver rim, marked titles. */
.glow-page { background: no-repeat
  radial-gradient(60% 520px at 0% 0%, var(--glow-1), transparent 70%),
  radial-gradient(50% 460px at 100% 0%, var(--glow-2), transparent 70%), var(--home-bg); }
.tone-clothing { --tone: #e3a008; }
.tone-alcohol { --tone: #9b1c3c; }
.filters-panel, .card, .box, .empty { border: 2px solid transparent;
  background:
    linear-gradient(300deg, color-mix(in srgb, var(--tone, var(--accent)) var(--panel-mix-1), var(--tile-base-1)) 0%,
      color-mix(in srgb, var(--tone, var(--accent)) var(--panel-mix-2), var(--tile-base-2)) 55%, var(--tile-base-3)) padding-box,
    var(--tile-rim) border-box;
  box-shadow: var(--tile-shadow); }
.title-mark { display: inline-block; padding-bottom: .16em; background: no-repeat 0 100% / 100% .28em
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 24' preserveAspectRatio='none'%3E%3Cpath d='M6 17C110 6 260 3 394 9' fill='none' stroke='%23fdc800' stroke-width='9' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* Catalog */
.catalog-heading { margin-bottom: 22px; }
.catalog-heading h1 { max-width: none; font-weight: 900; letter-spacing: -.035em; }
.layout { display: grid; gap: 20px; }
/* Filters (UI-04): sidebar on desktop, bottom sheet on phones. */
.filters-panel { min-width: 0; border-radius: var(--radius-lg); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px 12px;
  border-bottom: 1px solid var(--line); }
.panel-head h2 { margin: 0; font-size: 19px; font-weight: 800; }
.sheet-close { display: none; width: 44px; height: 44px; flex: none; border: 0; border-radius: 999px; background: var(--surface-2);
  color: var(--ink); font-size: 18px; cursor: pointer; }
.filters { display: flex; flex-direction: column; min-height: 0; }
.filters-body { display: grid; padding: 0 18px; }
.filters .group { min-width: 0; display: grid; gap: 2px; margin: 0; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); }
.filters .group:last-child { border-bottom: 0; }
.filters legend { float: left; width: 100%; margin-bottom: 6px; padding: 0; color: var(--ink); font-size: 12px; font-weight: 850;
  letter-spacing: .06em; text-transform: uppercase; overflow-wrap: anywhere; }
.filters legend + * { clear: both; }
.filters .sub { margin: 8px 0 4px; color: var(--muted); font-size: 12px; font-weight: 750; }
.filters .hint { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.filters .opt { min-height: 44px; display: flex; align-items: center; gap: 10px; padding: 4px 8px; margin-inline: -8px;
  border-radius: 999px; cursor: pointer; line-height: 1.3; overflow-wrap: anywhere; }
.filters .opt { padding-inline: 12px; margin-inline: -12px; }
.filters .opt:hover { background: var(--hover); }
.filters .opt input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.filters .opt:has(input:checked) { font-weight: 750; }
.filters .opt .n { flex: none; margin-left: auto; padding-left: 8px; white-space: nowrap; color: var(--muted); font-size: 12px; font-weight: 500; }
.filters .opt[hidden] { display: none; }
.filters .scroll { max-height: 264px; overflow-y: auto; padding-right: 6px; overscroll-behavior: contain; }
.filters .list.scroll { margin-inline: -8px; padding-inline: 8px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pill span { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; padding: 4px 14px;
  border: 1px solid var(--field-line); border-radius: 999px; background: var(--field-bg); font-size: 14px; font-weight: 650;
  white-space: nowrap; transition: border-color .15s, background .15s; }
.pill:hover span { border-color: var(--ink); }
.pill input:checked + span { border-color: var(--solid); background: var(--solid); color: var(--on-solid); }
.pill input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.filters .row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.filters .field { display: grid; gap: 4px; color: var(--muted); font-size: 12px; font-weight: 700; }
.filters input[type=number], .brand-search { width: 100%; height: 44px; padding: 0 16px; border: 1px solid var(--field-line);
  border-radius: 999px; background: var(--field-bg); color: var(--ink); font-size: 16px; }
.filters input[type=number]:focus, .brand-search:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent); }
.brand-search { margin-bottom: 6px; }
.panel-foot { display: flex; gap: 8px; padding: 12px 18px 16px; border-top: 1px solid var(--line); }
.panel-foot .btn { flex: 1; }
.panel-foot .btn[type=submit] { flex: 2; }
.filters-open { display: none; }
.filters-open b { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent); font-size: 12px; }
.sheet-backdrop { position: fixed; inset: 0; z-index: 40; background: var(--backdrop); }
.sheet-backdrop[hidden] { display: none; }
.sheet-open body { overflow: hidden; }
.results { min-width: 0; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.toolbar .cols-switch { display: none; }
.toolbar label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 500; }
.toolbar select { max-width: 220px; height: 38px; padding: 0 34px 0 14px; border: 1px solid var(--line);
  border-radius: 999px; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background: var(--field-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%238a8c86' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 13px center;
  transition: border-color .15s ease; }
.toolbar select:hover { border-color: var(--line-strong); }
.toolbar .filters-open { border-radius: 999px; }
.toolbar select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.chips:empty { display: none; }
.chips li { display: contents; }
.chips .suggest-row { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.chip.suggest { border-style: dashed; }
.chip .n { color: var(--muted); font-weight: 600; }
.chip { min-height: 44px; max-width: 100%; overflow-wrap: anywhere; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border: 1px solid var(--chip-line);
  border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font: inherit; font-size: 13px;
  font-weight: 700; text-decoration: none; cursor: pointer; }
.chip.plain { border-color: var(--line-strong); background: var(--surface); color: var(--ink); }

/* Product cards */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border-radius: 20px; color: var(--ink); text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--tile-shadow-hover); }
.card:active { transform: translateY(1px); box-shadow: var(--tile-shadow-active); }
.card:focus-visible { outline: 4px solid var(--accent); outline-offset: 3px; }
.thumb { position: relative; aspect-ratio: 1 / 1; overflow: hidden; display: grid; place-items: center; background: var(--thumb-bg); }
.thumb img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; }
.card:hover .thumb img { transform: scale(1.025); }
.thumb .ph { padding: 14px; color: var(--thumb-ph); font-weight: 850; text-align: center; }
.discount-badge { position: absolute; right: 8px; bottom: 8px; min-width: 52px; padding: 5px 10px;
  border-radius: 999px; background: var(--accent); color: var(--on-accent);
  box-shadow: var(--badge-shadow); font-size: 13px; font-weight: 900; text-align: center; }
.card .body { flex: 1; display: flex; flex-direction: column; gap: 5px; padding: 11px 11px 12px; }
.brand { color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.title { min-height: 42px; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  font-size: 14px; font-weight: 650; line-height: 1.45; overflow-wrap: anywhere; }
.price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.price { color: var(--ink); font-size: 20px; font-weight: 900; letter-spacing: -.035em; white-space: nowrap; }
.price small { color: var(--muted); font-size: 11px; font-weight: 650; letter-spacing: 0; }
.old { color: var(--muted); font-size: 12px; text-decoration: line-through; white-space: nowrap; }
.disc { color: var(--muted); font-size: 10px; line-height: 1.3; }
.meta { color: var(--muted); font-size: 12px; }
.status { display: inline-flex; align-items: center; gap: 6px; width: fit-content; font-size: 11px; font-weight: 700; line-height: 1.3; }
.status::before { content: ""; width: 8px; height: 8px; flex: none; border: 2px solid currentColor; border-radius: 50%; background: transparent; }
.status.in_stock { color: var(--ok); }
.status.in_stock::before { background: currentColor; }
.status.store_only { color: var(--info); }
.status.store_only::before { border-radius: 2px; }
.status.out_of_stock { color: var(--sale); }
.status.out_of_stock::before { background: linear-gradient(45deg, transparent 40%, currentColor 43% 57%, transparent 60%); }
.status.unknown { color: var(--muted); }
.stale { width: fit-content; padding: 3px 6px; border-radius: 4px; background: var(--warn-soft); color: var(--warn); font-size: 11px; }
.sizeline { color: var(--ink-2); font-size: 11px; }
.more { display: flex; justify-content: center; margin-top: 26px; }
.empty { padding: 24px 28px; border-radius: var(--radius-lg); }
.empty h2 { margin-top: 0 !important; }

/* Product detail */
.back { min-height: 40px; display: inline-flex; align-items: center; margin-bottom: 18px; padding: 0 16px; border: 1px solid var(--field-line);
  border-radius: 999px; background: var(--field-bg); color: var(--muted); font-size: 14px; font-weight: 700; text-decoration: none; }
.back:hover { border-color: var(--ink); color: var(--ink); }
.product { display: grid; gap: 26px; }
.product-media { min-width: 0; }
.product .thumb { border: 3px solid transparent; border-radius: 32px;
  /* A plain colour is only valid in the last layer, so the fill is a flat gradient. */
  background: linear-gradient(var(--thumb-bg), var(--thumb-bg)) padding-box, var(--tile-rim) border-box; box-shadow: var(--tile-shadow); }
/* No overflow clip here: the image is rounded itself, so the arc can reach 1px into the rim and hide the
   anti-aliased white edge of the fill and the photo under solid colour. */
.product .thumb { overflow: visible; }
.product .thumb img { border-radius: 29px; }
/* The coloured corner arc of the home tiles, in the section's colour. */
.product .thumb::after { content: ""; position: absolute; inset: -1px; border: 8px solid var(--tone, var(--accent)); border-radius: 30px;
  pointer-events: none;
  -webkit-mask: linear-gradient(90deg, #000 26%, transparent 26%), linear-gradient(0deg, #000 26%, transparent 26%);
  -webkit-mask-composite: source-in; mask: linear-gradient(90deg, #000 26%, transparent 26%), linear-gradient(0deg, #000 26%, transparent 26%);
  mask-composite: intersect; }
.product-copy { min-width: 0; }
.product-copy > .brand { margin-bottom: 8px; font-size: 12px; }
.product-copy h1 { font-size: clamp(30px, 5vw, 52px); font-weight: 900; letter-spacing: -.035em; }
.product-facts { display: flex; flex-wrap: wrap; gap: 5px 9px; margin: 0 0 22px; color: var(--muted); font-size: 13px; }
.box { padding: 18px 22px; border-radius: var(--radius-lg); }
.shop-title { margin: -6px 0 10px; font-size: 13px; overflow-wrap: anywhere; }
.box-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.box-heading h2 { margin: 0; }
.box-heading > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%;
  background: var(--accent); font-size: 12px; font-weight: 900; }
.offer { display: grid; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.offer:first-of-type { padding-top: 2px; border-top: 0; }
.offer-main { display: grid; gap: 5px; }
.offer-shop { font-size: 16px; }
.offer .price { font-size: 28px; }
.offer .old { font-size: 14px; }
.offer-discount { color: var(--muted); font-size: 11px; }
.offer-discount strong { display: inline-block; margin-right: 4px; padding: 3px 7px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent); font-size: 12px; }
.offer .btn { width: 100%; }
.detail-section { padding-top: 3px; }
.detail-section h2 { padding-bottom: 9px; border-bottom: 1px solid var(--line); font-weight: 800; }
.detail-section .sub { margin: 8px 0 6px; color: var(--muted); font-size: 12px; font-weight: 750; }
.sizes { display: flex; flex-wrap: wrap; gap: 7px; }
.size { min-width: 44px; min-height: 38px; display: inline-grid; place-items: center; padding: 5px 14px;
  border: 1px solid var(--field-line); border-radius: 999px; background: var(--field-bg); font-size: 13px; font-weight: 650; }

/* Shops / editorial */
.table-scroll { overflow-x: auto; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); }
table.shops { width: 100%; min-width: 680px; border-collapse: collapse; }
table.shops th, table.shops td { padding: 15px 14px; border-bottom: 1px solid var(--line); text-align: left; }
table.shops th { background: var(--ink); color: var(--on-ink); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
table.shops tr:last-child td { border-bottom: 0; }
.shop-link { font-weight: 850; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.shop-state { display: inline-flex; padding: 4px 8px; border-radius: 999px; background: var(--accent-soft);
  color: var(--accent-dark); font-size: 12px; font-weight: 750; }
.prose { max-width: 800px; }
.page-shell > p { margin: 0; padding: 18px 0; border-top: 1px solid var(--line-strong); font-size: 16px; line-height: 1.7; }
.page-shell > p strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 17px; }
.legal-section { margin-top: 30px; padding: 18px 20px; border-left: 4px solid var(--accent); background: var(--accent-soft);
  scroll-margin-top: 90px; }
.legal-section h2 { margin: 0 0 10px; }
.legal-section ul { margin: 0; padding-left: 20px; font-size: 15px; line-height: 1.6; }
.legal-section li + li { margin-top: 8px; }
.legal-section a { text-underline-offset: 3px; }
.legal-page h2 { margin-top: 30px; }
.legal-page h2 + p { border-top: 1px solid var(--line-strong); }
.legal-page a { text-underline-offset: 3px; }
.legal-meta { display: grid; gap: 10px; margin: 0 0 28px; padding: 18px; border: 1px solid var(--line-strong);
  border-radius: var(--radius); background: var(--surface); }
.legal-meta p { margin: 0; }
.legal-meta strong { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; }
.setup-warning, .legal-notice { padding: 12px 14px; border-left: 4px solid var(--accent); background: var(--accent-soft);
  color: var(--ink-2); font-size: 13px; line-height: 1.5; }
/* In the catalog the notice is a quiet line, not a banner: it sits above every result list. */
.results > .legal-notice { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 14px; padding: 0;
  border: 0; background: none; color: var(--muted); font-size: 12.5px; }
.results > .legal-notice::before { content: "i"; flex: none; display: inline-grid; place-items: center; width: 16px; height: 16px;
  margin-top: 1px; border: 1.5px solid currentColor; border-radius: 50%; font: italic 700 10px/1 Georgia, serif; }
.offer-notice { margin: 10px 0 0; border-left: 0; border-radius: var(--radius); }

footer { border-top: 3px solid var(--accent); background: var(--footer-bg); color: #bfc0bb; font-size: 12px; }
footer .wrap { padding-block: 24px; }
footer a { color: #fff; text-underline-offset: 3px; }
.footer-inner { display: grid; gap: 12px; }
.footer-independent { max-width: 72ch; margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.footer-links .footer-staff { margin-left: auto; color: #8f908b; }
.staff-bar { background: #30322f; color: #fff; font-size: 13px; }
.staff-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; }
.staff-bar form { margin: 0; }
.staff-bar button { padding: 4px 10px; border: 1px solid #8f908b; border-radius: var(--radius-sm); background: transparent;
  color: #fff; font: inherit; cursor: pointer; }
.staff-bar button:hover { background: #fff; color: #181a19; }
.staff-page { max-width: 420px; padding-block: 32px; }
.staff-form { display: grid; gap: 8px; }
.staff-form label { font-weight: 700; }
.staff-form input { height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--surface); font: inherit; }
.staff-form .btn { justify-self: start; margin-top: 4px; }

.feedback-section { margin-top: 36px; padding-top: 6px; border-top: 3px solid var(--ink); }
.feedback-form { display: grid; gap: 16px; }
.feedback-form > label:not(.feedback-consent):not(.feedback-hp) { display: grid; gap: 6px; font-weight: 750; }
.feedback-form input:not([type=checkbox]), .feedback-form select, .feedback-form textarea { width: 100%; padding: 11px 12px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font: inherit; }
.feedback-form input:not([type=checkbox]), .feedback-form select { min-height: 46px; }
.feedback-form textarea { resize: vertical; }
.feedback-form small { color: var(--sale); font-weight: 650; }
.feedback-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.feedback-consent input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--ink); }
.feedback-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important;
  overflow: hidden !important; }
.feedback-form .btn { width: fit-content; }
.form-success, .form-error { padding: 12px 14px; border-left: 4px solid var(--ok); background: var(--ok-soft); }
.form-error { border-left-color: var(--sale); background: var(--sale-soft); }

@media (min-width: 600px) {
  :root { --gap: 22px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); gap: 17px; }
  .card .body { padding: 13px 14px 15px; }
  .title { font-size: 15px; }
  .price { font-size: 23px; }
  .status { font-size: 12px; }
  .offer { grid-template-columns: 1fr auto; align-items: center; }
  .offer .btn { width: auto; min-width: 180px; }
}

@media (min-width: 760px) {
  .product { grid-template-columns: minmax(300px, .85fr) minmax(400px, 1.15fr); align-items: start; }
  .product-media { position: sticky; top: 18px; }
}

@media (min-width: 1100px) {
  .category-tile { min-height: 164px; }
  .category-icon { width: 116px; height: 116px; padding: 27px; }
}

@media (min-width: 960px) {
  main { padding-top: 38px; }
  .layout { grid-template-columns: 292px minmax(0, 1fr); align-items: start; gap: 26px; }
  .filters-panel { position: sticky; top: 12px; max-height: calc(100vh - 24px); display: flex; flex-direction: column; }
  .filters-panel .filters { flex: 1; }
  .filters-panel .filters-body { flex: 1; min-height: 0; overflow-y: auto; }
  .toolbar { justify-content: flex-start; gap: 24px; }
  .toolbar .cols-switch { display: flex; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  :root[data-cols="3"] .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  :root[data-cols="2"] .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :root[data-cols="5"] .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
  :root[data-cols="5"] .card .body { padding: 10px 10px 12px; }
  :root[data-cols="5"] .title { font-size: 13px; min-height: 36px; }
  :root[data-cols="5"] .price { font-size: 18px; }
  :root[data-cols="5"] .discount-badge { min-width: 44px; padding: 4px 6px; font-size: 12px; }
}

/* Phones and tablets with scripts: the panel is a bottom sheet opened from the toolbar.
   Without scripts it stays in the page above the results. */
@media (max-width: 959px) {
  /* Search gets its own row: between logo and languages it is too narrow to read. */
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .header-search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .js .filters-open { display: inline-flex; }
  .js .filters-panel { position: fixed; inset: auto 0 0 0; z-index: 50; max-height: 88vh; display: flex; flex-direction: column;
    border: 0; border-radius: 24px 24px 0 0; box-shadow: 0 -12px 40px var(--sheet-shadow);
    transform: translateY(100%); visibility: hidden; transition: transform .2s ease, visibility 0s linear .2s; }
  .js .filters-panel.open { transform: none; visibility: visible; transition: transform .2s ease; }
  .js .sheet-close { display: inline-grid; place-items: center; }
  .js .filters-panel .filters { flex: 1; min-height: 0; }
  .js .filters-panel .filters-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
  .js .panel-foot { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
}

@media (max-width: 374px) {
  .grid { grid-template-columns: 1fr; }
}

@media (max-width: 599px) {
  .toolbar { flex-wrap: nowrap; }
  .toolbar .sort { min-width: 0; }
  .toolbar .sort-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .toolbar .sort select { max-width: 100%; height: 44px; }
  .site-header { padding-block: 10px 12px; }
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .site-brand { width: 150px; }
  .site-brand img { height: 56px; }
  .header-search { grid-column: 1 / -1; grid-row: 2; min-height: 52px; gap: 8px; padding: 4px 4px 4px 14px; }
  .header-search svg { width: 22px; height: 22px; }
  .header-search input { font-size: 16px; }
  .header-search button { min-height: 44px; padding: 0 16px; }
  .langs { gap: 0; padding-left: 0; border-left: 0; }
  .langs a { min-width: 44px; font-size: 12px; }
  .home-hero { padding: 34px 0 22px; }
  .home-hero h1 { font-size: 36px; }
  .home-categories { padding: 14px 0 52px; }
  .category-grid { grid-template-columns: 1fr; gap: 16px; }
  .category-tile { min-height: 104px; gap: 16px; padding: 12px 20px 12px 14px; }
  .category-tile::before { border-width: 5px; }
  .category-copy strong { font-size: 22px; }
  .category-copy > span { font-size: 14px; }
  .category-soon { padding: 4px 9px; font-size: 10px; }
  .category-icon { width: 72px; height: 72px; padding: 16px; stroke-width: 6; }
  .shops-scroll { overflow: visible; border: 0; background: transparent; }
  table.shops { min-width: 0; display: block; }
  table.shops thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  table.shops tbody { display: grid; gap: 10px; }
  table.shops tr { display: grid; gap: 9px; padding: 14px; border: 1px solid var(--line-strong);
    border-radius: var(--radius); background: var(--surface); }
  table.shops td { display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 0; border: 0; text-align: right; }
  table.shops td::before { content: attr(data-label); color: var(--muted); font-size: 11px; font-weight: 750;
    letter-spacing: .04em; text-align: left; text-transform: uppercase; }
  table.shops td:first-child { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
  table.shops td:first-child .shop-link { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* UI-06: drinks. Facts as the shop states them; age question before the section. */
.card .facts { color: var(--muted); font-size: 12px; }
.age-page { display: grid; place-items: center; padding-block: 48px; }
.age-box { width: min(100%, 420px); background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 28px 24px 24px; text-align: center; }
.age-mark { display: inline-grid; place-items: center; width: 64px; height: 64px; margin: 0 0 12px; border-radius: 50%;
  background: linear-gradient(150deg, #c8102e 0%, #8e0420 70%, #6b0016); font-weight: 800; font-size: 20px; }
.age-box .age-mark { color: #fff; }
.age-box h1 { margin: 0 0 6px; font-size: 22px; line-height: 1.25; }
.age-box p { margin: 0 0 20px; color: var(--muted); }
.age-actions { display: grid; gap: 10px; }

/* Page loader: shown only when a navigation takes longer than a moment. */
.page-loader { position: fixed; top: 0; left: 0; right: 0; z-index: 110; height: 3px; overflow: hidden;
  pointer-events: none; opacity: 0; transition: opacity .15s; }
.page-loader::before { content: ""; position: absolute; inset: 0; width: 40%; background: var(--accent);
  box-shadow: 0 0 8px var(--accent); animation: page-loader 1.1s ease-in-out infinite; }
.is-loading .page-loader { opacity: 1; }
.is-loading main { opacity: .55; transition: opacity .2s; }
@keyframes page-loader { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
@media (prefers-reduced-motion: reduce) {
  .page-loader::before { width: 100%; animation: none; }
}
