/* HotSki demo — base: tokens, type, grid, components shared by all 9 templates.
   Skeleton: coolzone (grid 4x338, caps scale, one outlined button, [ links ], dot sign).
   Colour: client red + white. Motion: transform/opacity only (see DESIGN.md §5). */
@import url("../fonts/fonts.css");

:root {
  --red: #e21119;
  --white: #ffffff;
  --ink: #151515;
  --gray: #888888;
  --snow: #eef1f4;
  /* roles (build P8): the accent and the surface change with the season, the brand red stays the brand */
  --accent: var(--red);
  --accent-rgb: 226, 17, 25;
  --surface: var(--snow);
  --on-accent: var(--white);

  --f-text: "Geologica", "Segoe UI", system-ui, sans-serif;
  --f-disp: "Alumni Sans", sans-serif;

  --pad: 20px;
  --col: 338px;
  --gap: 16px;
  --hdr: 64px;
  --tr: 0.2s ease-in-out;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --glass: rgba(255, 255, 255, 0.55);
}

/* ---------- season (build P8, logic/NEW_MAP_SEASON.md §1): one system, the season repaints it ----------
   Summer palette (refs/summer/NOTES.md L09 · L10 · L03) — the client's own secondary colours, which the winter left out:
   sky #0a6fd1 (accent: panels, dots, callouts — client link blue #008cff one step deeper, so white type on it reads 4.7:1),
   lime #c1df00 (client lime: summer badges, the pulse of the dots, the front hills), sand #f2efe7 (surface under product photos),
   ink and white as in winter. The brand red stays in the logo. */
html[data-season="summer"] {
  --accent: #0a6fd1;
  --accent-rgb: 10, 111, 209;
  --surface: #f2efe7;
  --lime: #c1df00;
}
html[data-season="winter"] [data-only="summer"],
html[data-season="summer"] [data-only="winter"] { display: none !important; }
html[data-season="summer"] .pcard[data-pseason="summer"] .pcard__media img,
html[data-season="summer"] [data-blend] { mix-blend-mode: multiply; }   /* client photos on white melt into the sand */
.pcard[data-pseason="summer"] .pcard__media img { object-fit: contain; padding: 0 6%; }   /* a bike is wide: the whole bike, not its middle */

/* the switch «Зима / Лето»: two words and a sliding thumb (transform only) */
.seas { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; align-items: center; height: 30px; padding: 2px;
  border: 1px solid currentColor; border-radius: 15px; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.seas__thumb { position: absolute; left: 2px; top: 2px; bottom: 2px; width: calc(50% - 2px); border-radius: 13px; background: var(--accent);
  transform: translateX(0); transition: transform 0.55s var(--ease-out); }
html[data-season="summer"] .seas__thumb { transform: translateX(100%); }
.seas__b { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 100%; padding: 0 10px;
  white-space: nowrap; }
.seas__b svg { width: 12px; height: 12px; flex: none; }
html[data-season="winter"] .seas__b[data-to="winter"], html[data-season="summer"] .seas__b[data-to="summer"] { color: var(--white); }
.seas__b:focus-visible { outline: 1px solid var(--accent); outline-offset: 2px; border-radius: 13px; }
@media (max-width: 1400px) { .seas__b span { display: none; } .seas__b { padding: 0 9px; } }

/* season change overlay: two panels and the mark, played by js/season-fx.js */
.seasc { position: fixed; inset: 0; z-index: 210; pointer-events: none; visibility: hidden; }
.seasc.is-on { visibility: visible; pointer-events: auto; }
.seasc__p { position: absolute; left: 0; right: 0; height: 50.5%; transform: scaleY(0); }
.seasc__p--t { top: 0; transform-origin: 50% 0; }
.seasc__p--b { bottom: 0; transform-origin: 50% 100%; }
.seasc__word { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; color: var(--white);
  font-family: var(--f-disp); font-weight: 900; text-transform: uppercase; line-height: 0.82; font-size: clamp(90px, 17vw, 320px); opacity: 0; }
.seasc__mark { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; color: var(--white); opacity: 0; }

/* pages: the browser keeps the old page painted until the new one is ready (cross-document view transition),
   prerendered by the speculation rules of each page — the curtain covers both, so the switch reads as one move */
/* P8 08.10: the cross-document @view-transition was removed — the GSAP curtain (app.js curtain()) already covers the leave and
   the arrival, and the two together made Chromium log «Transition was aborted because of invalid state» on every in-site link */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; overflow-x: clip; }   /* the viewport never widens: body's clip does not propagate to it (agent product 26.09: 451x977 on a 375 phone) */
body {
  margin: 0;
  overflow-x: clip;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-text);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--accent); color: var(--white); }

/* ---------- type scale (coolzone, caps) ---------- */
.t44 { font-size: 44px; line-height: 1.02; font-weight: 300; text-transform: uppercase; letter-spacing: -0.005em; }
.t30 { font-size: 30px; line-height: 1.15; font-weight: 300; text-transform: uppercase; }
.t20 { font-size: 20px; line-height: 1.18; font-weight: 400; text-transform: uppercase; }
.t18 { font-size: 18px; line-height: 1.15; font-weight: 400; }
.t16 { font-size: 16px; line-height: 1.15; font-weight: 400; text-transform: uppercase; }
.t15 { font-size: 15px; line-height: 1.45; font-weight: 300; }
.t13 { font-size: 13px; line-height: 1.15; font-weight: 400; text-transform: uppercase; letter-spacing: 0.02em; }
.t12 { font-size: 12px; line-height: 1.35; font-weight: 400; }
.t10 { font-size: 10px; line-height: 1.3; font-weight: 400; text-transform: uppercase; letter-spacing: 0.04em; }
.disp { font-family: var(--f-disp); font-weight: 800; text-transform: uppercase; line-height: 0.86; letter-spacing: -0.01em; }
.gray { color: var(--gray); }
.red { color: var(--accent); }

/* ---------- layout ---------- */
.wrap { padding-left: var(--pad); padding-right: var(--pad); }
.sec { padding-top: 70px; padding-bottom: 50px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px var(--gap); }
.line { height: 1px; background: var(--ink); }
.narrow { max-width: 820px; margin-left: auto; margin-right: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- the one button: outlined ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 37px; padding: 11px 28px; border: 1px solid var(--ink); border-radius: 10px;
  font-size: 13px; line-height: 1; font-weight: 400; text-transform: uppercase; letter-spacing: 0.02em;
  background: transparent; color: var(--ink); cursor: pointer; white-space: nowrap;
  transition: box-shadow var(--tr), background-color var(--tr), color var(--tr);
}
.btn:hover, .btn:focus-visible { box-shadow: inset 0 0 0 0.5px currentColor; }
.btn--w { border-color: var(--white); color: var(--white); }
.btn--full { width: 100%; }
.btn--min { min-width: 200px; }
.btn[disabled] { opacity: 0.4; cursor: default; }
.consent__pol { font-size: 12px; line-height: 1.45; color: #6b6b6b; margin: -4px 0 12px 28px; }   /* 11.10 ticket 02: policy line under the consent tick */
.consent__pol a { text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; opacity: 0; }   /* ticket 21: honeypot field of the forms */

/* [ bracket link ] with a growing underline */
.blink { position: relative; display: inline-block; font-size: 13px; line-height: 1.2; font-weight: 400; text-transform: uppercase; letter-spacing: 0.02em; cursor: pointer; }
.blink::before { content: "[\00a0"; }
.blink::after { content: "\00a0]"; }
.blink > span { position: relative; display: inline-block; }
.blink > span::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform var(--tr);
}
.blink:hover > span::after, .blink:focus-visible > span::after { transform: scaleX(1); }

/* tabs */
.tabs { display: flex; gap: 22px; flex-wrap: wrap; }
.tab { position: relative; font-size: 13px; text-transform: uppercase; letter-spacing: 0.02em; padding: 4px 0; cursor: pointer; color: var(--ink); }
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease-out); }
.tab.is-on::after, .tab:hover::after { transform: scaleX(1); }

/* inputs "on the line" */
.field { display: block; position: relative; }
.field__label { display: block; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: 8px 0 10px; font-size: 15px; outline: none; border-radius: 0;
}
.field input:focus, .field textarea:focus { border-bottom-color: var(--accent); }

/* the dot — brand sign (red) */
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.dots { display: inline-flex; gap: 6px; }

/* round arrows (carousels) */
.arr { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--ink); display: inline-grid; place-items: center; position: relative; transition: box-shadow var(--tr), border-color var(--tr); background: var(--white); }
.arr::before { content: ""; position: absolute; inset: -13px; }
.arr:hover { box-shadow: inset 0 0 0 0.5px var(--ink); }
.arr svg { width: 10px; height: 10px; }
.arr[disabled] { opacity: 0.3; }

/* ---------- ice glass (R13) ---------- */
.ice {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.78), rgba(238, 241, 244, 0.46));
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 18px 40px rgba(40, 60, 90, 0.12);
}

/* ---------- header ---------- */
.hdr { position: fixed; z-index: 50; left: 0; right: 0; top: 0; color: var(--ink); transition: transform 0.26s var(--ease-out); }   /* 08.10 (#7): ~250 ms slide */
.hdr__bar {
  position: relative; height: var(--hdr); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--pad); background: var(--white); transition: background-color 0.3s, box-shadow 0.3s;
}
.hdr.is-transparent .hdr__bar { background: transparent; }
.hdr.is-transparent:not(.is-open) { color: var(--white); }
.hdr.is-transparent:not(.is-open) .hdr__link.is-sale, .hdr.is-transparent:not(.is-open) .hdr__minus { color: var(--white); }
.hdr.is-transparent:not(.is-open) .hdr__tel small { color: rgba(255, 255, 255, 0.78); }
.hdr.is-transparent:not(.is-open) .hdr__link::after { background: var(--white); }
.hdr.is-scrolled .hdr__bar { background: var(--white); box-shadow: 0 10px 30px rgb(150 150 150 / 0.15); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__left { display: flex; align-items: center; gap: 26px; }
.hdr__menu { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.02em; }
.hdr__menu i { display: inline-grid; gap: 4px; width: 16px; }
.hdr__menu i::before, .hdr__menu i::after { content: ""; height: 1px; background: currentColor; display: block; }
.hdr__menu i::after { width: 70%; }
.hdr__link { position: relative; font-size: 13px; text-transform: uppercase; letter-spacing: 0.02em; padding: 6px 0; }
.hdr__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--tr); }
.hdr__link:hover::after, .hdr__link.is-on::after { transform: scaleX(1); }
.hdr__link.is-sale { color: var(--accent); }
.hdr__logo { display: block; justify-self: center; }
.hdr__logo { position: relative; }
.hdr__logo img { height: 30px; width: auto; }
.hdr__logo .lg--w { position: absolute; left: 0; top: 0; opacity: 0; }
.hdr.is-transparent:not(.is-open) .lg--w { opacity: 1; }
.hdr.is-transparent:not(.is-open) .lg--ink { opacity: 0; }
.hdr__right { display: flex; align-items: center; justify-content: flex-end; gap: 22px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.02em; }
.hdr__tel { display: grid; justify-items: end; line-height: 1.15; white-space: nowrap; }
.hdr__tel small { font-size: 10px; letter-spacing: 0.03em; color: var(--gray); text-transform: none; }
.hdr__icon { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.hdr__icon svg { width: 17px; height: 17px; }
.hdr__badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: var(--white); font-size: 10px; letter-spacing: 0; }
.hdr__minus { color: var(--accent); }

/* mega menu (coolzone §5): left column = selections, then categories */
.mega {
  position: absolute; left: 0; right: 0; top: var(--hdr); background: var(--white);
  padding: 34px var(--pad) 40px; display: grid; grid-template-columns: 220px repeat(4, 1fr); gap: 0 40px;
  border-top: 1px solid #e6e6e6; box-shadow: 0 30px 40px rgba(20, 20, 20, 0.08);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.25s, transform 0.35s var(--ease-out), visibility 0s 0.35s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.25s, transform 0.35s var(--ease-out), visibility 0s; }
.mega__sel { border-right: 1px solid var(--ink); display: grid; align-content: start; gap: 12px; padding-right: 20px; }
.mega__sel a { font-size: 13px; text-transform: uppercase; letter-spacing: 0.02em; }
.mega__sel a.red { color: var(--accent); }
.mega__col h4 { font-size: 13px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 14px; }
.mega__col a { display: block; font-size: 13px; line-height: 1.9; }
.mega__col a:hover { color: var(--accent); }
.mega__pic { grid-column: span 1; }
.mega__pic img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.mega__pic span { display: block; margin-top: 8px; font-size: 12px; }

/* side panels: search (right half) and drawer (left) */
.panel-veil { position: fixed; inset: 0; z-index: 60; background: rgba(21, 21, 21, 0.28); opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0s 0.3s; }
.panel-veil.is-open { opacity: 1; visibility: visible; transition: opacity 0.3s, visibility 0s; }
.side { position: fixed; z-index: 61; top: 0; bottom: 0; width: 50vw; max-width: 720px; background: var(--white); padding: 22px 34px 40px; transition: transform 0.55s var(--ease-out), visibility 0s 0.55s; overflow: auto; visibility: hidden; }
.side--right { right: 0; transform: translateX(101%); }
.side--left { left: 0; width: 420px; transform: translateX(-101%); }
.side.is-open { transform: none; visibility: visible; transition: transform 0.55s var(--ease-out), visibility 0s; }
.side__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.side__x { width: 28px; height: 28px; position: relative; }
.side__x::before, .side__x::after { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 1px; background: var(--ink); transform: rotate(45deg); }
.side__x::after { transform: rotate(-45deg); }
.search-form { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--ink); padding-bottom: 10px; }
.search-form input { flex: 1; border: 0; outline: none; background: transparent; font-size: 15px; }
.search-form svg { width: 16px; height: 16px; }
.pop { margin-top: 32px; }
.pop h5 { font-size: 10px; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray); margin: 0 0 14px; }
.pop a { display: block; font-size: 15px; line-height: 2; }
.pop a:hover { color: var(--accent); }
.drawer-nav a { display: block; font-size: 20px; text-transform: uppercase; line-height: 1.7; }
.drawer-nav a:hover { color: var(--accent); }
.drawer-meta { margin-top: 40px; display: grid; gap: 18px; font-size: 13px; }

/* narrow desktops: menu and right icons must not reach the centred logo */
@media (max-width: 1500px) {
  .hdr__left { gap: 20px; }
}
@media (max-width: 1400px) {
  .hdr__left { gap: 13px; }
  .hdr__link, .hdr__menu { font-size: 12px; letter-spacing: 0.01em; }
  .hdr__right { gap: 16px; }
  .hdr__tel small { display: none; }
}
@media (max-width: 1240px) {
  .hdr__tel { display: none; }
}

/* ---------- product card (coolzone §1) ---------- */
.pcard { position: relative; display: block; }
.pcard__media { display: block; position: relative; aspect-ratio: 338 / 479; background: var(--surface); overflow: hidden; }
.pcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity 0.85s ease-in-out, transform 1.2s var(--ease-out); }
.pcard__media img.is-back { opacity: 0; }
.pcard:hover .pcard__media img.is-front.has-back { opacity: 0; }
.pcard:hover .pcard__media img.is-back { opacity: 1; }
.pcard__media img:only-of-type { transform-origin: 50% 32%; }
.pcard:hover .pcard__media img:only-of-type { transform: none; }   /* 08.10 (#12): no zoom on hover — a zoomed product is cut by the card */
.pcard__arr { position: absolute; top: 50%; margin-top: -14px; opacity: 0; transition: opacity var(--tr); }
.pcard__arr--l { left: 12px; }
.pcard__arr--r { right: 12px; }
.pcard:hover .pcard__arr { opacity: 1; }
.pcard__fav { position: absolute; top: 12px; right: 12px; width: 18px; height: 18px; opacity: 0; transition: opacity var(--tr); }
.pcard:hover .pcard__fav { opacity: 1; }
.pcard__badge { position: absolute; left: 12px; top: 12px; padding: 5px 8px; border-radius: 4px; font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; background: var(--white); color: var(--ink); }
.pcard__badge--red { background: var(--accent); color: var(--white); }
.pcard__body { padding-top: 12px; display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: start; }
.pcard__meta { grid-column: 1 / -1; font-size: 12px; color: var(--gray); text-transform: uppercase; letter-spacing: 0.02em; min-height: 14px; transition: opacity var(--tr); }
.pcard__name { grid-column: 1 / 2; font-size: 13px; line-height: 1.25; text-transform: uppercase; letter-spacing: 0.02em; }
.pcard__sizes { grid-column: 2 / 3; grid-row: 2 / 3; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; max-width: 140px; font-size: 12px; opacity: 0; transition: opacity var(--tr); }
.pcard__sizes span { position: relative; }
.pcard__sizes span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--ink); transform: scaleX(0); transition: transform 0.3s ease-in-out; }
.pcard__sizes span:hover::after { transform: scaleX(1); }
.pcard__price { grid-column: 1 / 2; font-size: 18px; font-weight: 400; }
.pcard__buy { grid-column: 2 / 3; align-self: center; justify-self: end; opacity: 0; transition: opacity var(--tr); }
.pcard:hover .pcard__sizes, .pcard:hover .pcard__buy, .pcard:focus-within .pcard__buy { opacity: 1; }
.pcard--big .pcard__media { aspect-ratio: 506 / 717; }
.pcard.is-soldout { opacity: 0.5; }

/* carousel */
.car { position: relative; overflow: hidden; }
.car__track { display: flex; gap: var(--gap); transition: transform 0.85s var(--ease-out); will-change: transform; }
.car__track > * { flex: 0 0 calc((100% - 3 * var(--gap)) / 4); }
.car__bar { display: flex; align-items: center; gap: 24px; margin-top: 30px; }
.car__arrows { display: flex; gap: 8px; }
.car__progress { flex: 1; height: 1px; background: rgba(21, 21, 21, 0.28); position: relative; overflow: visible; }
.car__progress i { position: absolute; left: 0; top: -1px; height: 3px; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0.25); transition: transform 0.85s var(--ease-out); }

/* section head: title + tabs + link (coolzone B3) */
.shead { display: flex; align-items: flex-end; gap: 40px; margin-bottom: 36px; }
.shead .t30 { flex: 0 0 auto; }
.shead__aside { margin-left: auto; }

/* crumbs */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; }
.crumbs a:hover { color: var(--accent); }
.crumbs span.sep { color: var(--gray); }
.crumbs .last { color: var(--gray); }

/* ---------- photo + panel (coolzone B4/B8; pastel -> red) ---------- */
.pp { display: grid; grid-template-columns: 2fr 1fr; min-height: 690px; }
.pp__photo { position: relative; overflow: hidden; background: var(--surface); }
.pp__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pp__panel { background: var(--accent); color: var(--white); padding: 24px 22px 30px; display: flex; flex-direction: column; justify-content: space-between; }

/* ---------- advantages: four dots (coolzone B10 + R13 ice + R12 numbers) ---------- */
.adv { position: relative; overflow: hidden; padding: 128px var(--pad) 70px; background: linear-gradient(180deg, #ffffff 0%, #e9f1f8 100%); }
.adv__canvas { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }   /* F3 (walk 12.10): the flakes fly over the plaques, not behind their glass */   /* 09.10 walk #18: top padding 64 -> 128 px, the flakes sit in it above the plaques */
.adv__rule { position: relative; height: 1px; background: var(--ink); margin-bottom: 26px; }
.adv__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.adv__grid:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }   /* 09.10 row 33: winter has three cards */
.adv__item { padding: 22px 22px 26px; border-radius: 0; min-height: 300px; display: flex; flex-direction: column; }
.adv .ice { background: linear-gradient(160deg, rgba(255, 255, 255, 0.62), rgba(214, 232, 248, 0.28)); -webkit-backdrop-filter: blur(10px) saturate(1.6); backdrop-filter: blur(10px) saturate(1.6); border: 1px solid rgba(255, 255, 255, 0.95); box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(160, 196, 228, 0.5), 0 24px 50px rgba(60, 100, 140, 0.14); }
.adv__num { font-family: var(--f-disp); font-weight: 800; font-size: 92px; line-height: 0.82; text-transform: uppercase; margin: 22px 0 18px; color: var(--ink); white-space: nowrap; }
.adv__num small { font-size: 0.42em; margin-left: 6px; letter-spacing: 0.02em; }
.adv__num .ch { display: inline-block; }
.adv__title { font-size: 20px; line-height: 1.18; font-weight: 400; text-transform: uppercase; margin-bottom: 14px; }
.adv__text { font-size: 13px; line-height: 1.45; margin-top: auto; }
.adv__more { white-space: nowrap; font-size: 11px; text-transform: uppercase; letter-spacing: 0.02em; }

/* ---------- footer (coolzone B11 + R12 mountains & brand word) ---------- */
.ftr { position: relative; background: var(--ink); color: var(--white); overflow: hidden; }
.ftr__top { display: grid; grid-template-columns: 1.1fr 1fr 1.6fr 1.2fr; gap: 40px; padding: 60px var(--pad) 50px; border-top: 1px solid rgba(255,255,255,0.14); }
.ftr__cap { font-size: 12px; color: #9a9a9a; margin-bottom: 18px; }
.ftr a { transition: color var(--tr); }
.ftr a:hover { color: var(--accent); }
.ftr__list a { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: 0.02em; line-height: 2; }
.ftr__shop { font-size: 13px; line-height: 1.5; margin-bottom: 16px; }
.ftr__shop b { display: block; font-weight: 400; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 4px; }
.ftr__tel { font-size: 20px; line-height: 1.2; }
.ftr__copy { display: flex; justify-content: space-between; padding: 0 var(--pad) 26px; font-size: 12px; color: #9a9a9a; }
/* 09.10 walk #31: the whole banner is drawn in one unit — var(--alp) x vw — so mountains, word and skier keep their places
   relative to each other at every width (the 1440 picture is the reference: height 540 = 37.5vw). Phone: --alp 1.3, the
   word fills ~77 % of the width, the skier stays inside the screen and stands whole above the tab bar (body keeps the tab bar's height as bottom padding) */
.ftr__alp { --alp: 1; position: relative; height: calc(var(--alp) * 37.5vw); overflow: hidden; background: var(--ink); }
.ftr__mnt-back, .ftr__mnt-front { position: absolute; max-width: none; height: auto; will-change: transform; }
.ftr__mnt-back { left: calc(50% - var(--alp) * 52%); width: calc(var(--alp) * 104%); top: calc(100% - var(--alp) * 35.3vw); filter: brightness(0.56) saturate(1.2) contrast(1.05); }
.ftr__alp::before { content: ""; position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 58%; background: linear-gradient(180deg, var(--ink) 18%, rgba(21, 21, 21, 0)); pointer-events: none; }
.ftr__word-wrap { position: absolute; z-index: 2; inset: 0; }
.o-disc { display: inline-block; width: 0.6em; height: 0.6em; margin: 0 0.02em; vertical-align: baseline; }
.ftr__word {
  position: absolute; left: 0; right: 0; bottom: 0.02em; text-align: center; white-space: nowrap;
  font-family: var(--f-disp); font-weight: 900; font-size: calc(var(--alp) * 25vw); line-height: 0.74; letter-spacing: -0.01em; color: var(--white); text-transform: uppercase;
  will-change: transform; pointer-events: none; text-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.ftr__mnt-front { z-index: 3; left: calc(50% - var(--alp) * 62%); width: calc(var(--alp) * 124%); top: calc(100% - var(--alp) * 21.4vw); }   /* ridge anchored to the bottom in vw: the word is cut the same at every width (232 px at 1440) */
.ftr__jumper { position: absolute; z-index: 4; width: calc(var(--alp) * 17.4vw); left: calc(50% + var(--alp) * 8vw); top: calc(100% - var(--alp) * 33vw); transform: rotate(-8deg); filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.35)); pointer-events: none; }

/* ---------- page curtain (transition between pages) ---------- */
.curtain { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.curtain__panel { position: absolute; inset: 0; background: var(--accent); transform: scaleY(0); transform-origin: 50% 100%; }
.curtain__mark { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--white); opacity: 0; }
html.is-leaving .curtain { pointer-events: auto; }
/* arrival: js/season.js marks the page in <head>, so the curtain already covers the first paint (no white flash, P8 bug 1) */
html.is-arriving .curtain__panel { transform: scaleY(1); transform-origin: 50% 0%; }
html.is-arriving .curtain__mark { opacity: 1; }
@keyframes hs-arrive-out { to { transform: scaleY(0); opacity: 0; } }
html.is-arriving .curtain__panel, html.is-arriving .curtain__mark { animation: hs-arrive-out 0.5s 2.5s forwards; }   /* failsafe if scripts fail */

/* ---------- reveal helpers (JS adds .rv, GSAP animates transform/opacity) ---------- */
.js .rv { opacity: 0; }
.js .rv-up { opacity: 0; transform: translateY(28px); }

/* toast (cart) */
.toast { position: fixed; z-index: 120; left: 50%; bottom: 26px; margin-left: -110px; width: 220px; text-align: center; padding: 12px 20px; opacity: 0; pointer-events: none; }

/* loader dots */
.ldots { display: inline-flex; gap: 6px; }
.ldots i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: fadeDots 1.6s ease infinite; }
.ldots i:nth-child(2) { animation-delay: 0.2s; }
.ldots i:nth-child(3) { animation-delay: 0.4s; }
@keyframes fadeDots { 0%, 100% { opacity: 0.18; } 50% { opacity: 1; } }

[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .rv, .js .rv-up { opacity: 1; transform: none; }
}

/* ================= adaptive — site/ADAPTIVE.md: same content, different packaging (Baymard), one logic on every width =================
   breakpoints after the skeleton coolzone: sm <=767 phone · md 768–1199 laptop/tablet (burger) · lg 1200–1599 · xl >=1600 */

/* fluid type and rhythm with ceilings (screen_fit §1): the 1440 values are the maximum, not a start of endless growth */
.t44 { font-size: clamp(28px, 1.5vw + 22.4px, 44px); }   /* exactly 44 at 1440 (agent cart 27.09: was 43.6) */
.t30 { font-size: clamp(22px, 0.75vw + 19.2px, 30px); }   /* exactly 30 at 1440 (was 29.8) */
.t20 { font-size: clamp(17px, 0.3vw + 16px, 20px); }
.sec { padding-top: clamp(44px, 3vw + 30px, 70px); padding-bottom: clamp(34px, 1.5vw + 28px, 50px); }
@media (min-width: 1600px) { :root { --pad: clamp(20px, 15.625vw - 230px, 70px); } }   /* 20 px at 1600 -> 70 px at 1920, like coolzone */

/* header: phone link as an icon below the text-menu width */
.hdr__call { display: none; }
@media (max-width: 1199px) {
  .hdr__link, .hdr__tel { display: none; }
  .hdr__menu { font-size: 0; gap: 0; padding: 10px 10px 10px 0; }
  .hdr__menu i { width: 20px; gap: 6px; }
  .hdr__call { display: inline-flex; }
  .mega { display: none; }
}

/* drawer groups = the mega menu content (selections, categories, brands) */
.dgrp { border-bottom: 1px solid #e6e6e6; }
.dgrp summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 20px; text-transform: uppercase; line-height: 1.7; }
.dgrp summary::-webkit-details-marker { display: none; }
.dgrp summary::after { content: "+"; font-weight: 300; transition: transform var(--tr); }
.dgrp[open] summary::after { transform: rotate(45deg); }
.dgrp__in { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; padding: 4px 0 16px; }
.drawer-nav .dgrp__in a { font-size: 13px; line-height: 2.1; text-transform: uppercase; letter-spacing: 0.02em; }
.drawer-nav a.red { color: var(--accent); }

/* bottom tab bar — the Operator's mobile references R06–R08, R10 */
.tabbar { display: none; position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; height: calc(60px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  grid-template-columns: repeat(5, 1fr); background: rgba(255, 255, 255, 0.96); border-top: 1px solid #e3e3e3;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.tabbar__i { position: relative; display: grid; justify-items: center; align-content: center; gap: 4px; font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); }
.tabbar__i svg { width: 20px; height: 20px; }
.tabbar__i em { font-style: normal; color: var(--accent); }
.tabbar__i.is-on::before { content: ""; position: absolute; top: 5px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--accent); }
.tabbar__n { position: absolute; top: 5px; left: calc(50% + 6px); min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--accent); color: var(--white); font-size: 10px; font-weight: 400; display: grid; place-items: center; }

/* product card on touch: nothing hides behind hover — arrows, buy and the flip by tap */
@media (hover: none) {
  .pcard__arr, .pcard__fav, .pcard__buy { opacity: 1; }
  .pcard:hover .pcard__media img.is-front.has-back { opacity: 1; }
  .pcard:hover .pcard__media img.is-back { opacity: 0; }
  .pcard:hover .pcard__media img:only-of-type { transform: none; }
}

/* carousel: 4 / 3 + edge / 2 + edge; on touch the track scrolls under the finger (JS sets .is-touch) */
@media (max-width: 1199px) { .car__track > * { flex-basis: calc((100% - 2 * var(--gap)) / 3.25); } }
@media (max-width: 767px) { .car__track > * { flex-basis: calc((100% - var(--gap)) / 2.15); } }
.car.is-touch .car__track { overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; transition: none; scrollbar-width: none; overscroll-behavior-x: contain; }
.car.is-touch .car__track::-webkit-scrollbar { display: none; }
.car.is-touch .car__track > * { scroll-snap-align: start; }

/* photo + panel */
@media (min-width: 768px) and (max-width: 1199px) { .pp { min-height: 520px; } }

/* grids */
@media (max-width: 1199px) { .grid4 { grid-template-columns: repeat(3, 1fr); } }

/* four dots */
.adv__pager { display: none; justify-content: center; gap: 8px; margin-top: 18px; position: relative; }
.adv__pager i { width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--ink); transition: background-color var(--tr); }
.adv__pager i.is-on { background: var(--ink); }
@media (max-width: 1199px) {
  .adv__grid { grid-template-columns: repeat(2, 1fr); }
  .adv__grid:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
  .adv__num { font-size: clamp(64px, 3vw + 50px, 92px); }
}

/* footer */
@media (max-width: 1199px) { .ftr__top { grid-template-columns: 1fr 1fr; gap: 34px 40px; } }

/* ---------- phone ---------- */
@media (max-width: 767px) {
  :root { --hdr: 56px; --pad: 16px; --gap: 12px; }
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .tabbar { display: grid; }
  .hdr__right { gap: 16px; }
  .hdr__right [data-nav="personal"] { display: none; }
  .hdr__icon[data-nav="cart"] { font-size: 0; gap: 0; }
  .hdr__icon[data-nav="cart"] .hdr__badge { font-size: 11px; margin-left: 4px; }
  .hdr__logo img { height: 24px; width: auto; }
  .side, .side--left { width: 100vw; max-width: none; padding: 18px var(--pad) 30px; }
  .side__top { margin-bottom: 26px; }
  .toast { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .btn { min-height: 44px; }

  .shead { flex-wrap: wrap; gap: 14px 20px; margin-bottom: 22px; }
  .shead .t30 { flex: 1 1 100%; }
  .shead .tabs { flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .shead .tabs::-webkit-scrollbar { display: none; }
  .shead__aside { margin-left: 0; }
  .tab { white-space: nowrap; }

  .grid4 { grid-template-columns: repeat(2, 1fr); gap: 24px var(--gap); }

  .pcard__body { grid-template-columns: 1fr; gap: 4px; padding-top: 8px; }
  .pcard__sizes { display: none; }
  .pcard__name, .pcard__price, .pcard__buy { grid-column: 1; grid-row: auto; justify-self: start; }
  .pcard__meta { font-size: 10px; min-height: 0; }
  .pcard__name { font-size: 11px; }
  .pcard__price { font-size: 15px; }
  .pcard__arr { width: 26px; height: 26px; margin-top: -13px; background: rgba(255, 255, 255, 0.7); }
  .pcard__arr--l { left: 6px; }
  .pcard__arr--r { right: 6px; }
  .car__bar { gap: 14px; margin-top: 20px; }

  .pp { grid-template-columns: 1fr; min-height: 0; }
  .pp__photo { aspect-ratio: 4 / 5; }
  .pp__panel { min-height: 300px; }

  .adv { padding: 44px 0 50px; }
  .adv__rule { margin: 0 var(--pad) 22px; }
  .adv__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding: 0 var(--pad); scrollbar-width: none; }
  .adv__grid::-webkit-scrollbar { display: none; }
  .adv__item { flex: 0 0 84%; scroll-snap-align: center; min-height: 280px; }
  .adv__pager { display: flex; }

  .ftr__top { grid-template-columns: 1fr; gap: 28px; padding: 44px var(--pad) 34px; }
  .ftr__copy { flex-direction: column; gap: 8px; }
  .ftr__alp { --alp: 1.3; }
}

/* agent home 27.09: on touch the hidden size chips took width from the name (768: 102 -> 214 px, 2 lines instead of 4-5) */
@media (hover: none) { .pcard__sizes { display: none; } .pcard__name { grid-column: 1 / -1; } }
/* agent home 27.09: at 1200-1279 the text menu touched the logo (0 px at 1200) -> 37 px at 1200, 1280+ unchanged */
@media (min-width: 1200px) and (max-width: 1279px) { .hdr__left { gap: 10px; } .hdr__link, .hdr__menu { font-size: 11.5px; letter-spacing: 0; } }
/* ADAPTIVE.md §3: footer links in two columns on the phone, shops and contacts across */
@media (max-width: 767px) { .ftr__top { grid-template-columns: 1fr 1fr; gap: 28px 20px; } .ftr__top > div:nth-child(n+3) { grid-column: 1 / -1; } }

/* ---------- P8: header sets by season, the switch in the header and in the drawer ---------- */
.hdr__set { display: contents; }
.hdr.is-transparent:not(.is-open) .seas { color: var(--white); }
.seas--drawer { margin: -18px 0 28px; height: 34px; font-size: 12px; }
.seas--drawer .seas__b span { display: inline; }
@media (max-width: 1199px) { .hdr__right .seas { height: 28px; } .hdr__right .seas__b { padding: 0 7px; } }
@media (max-width: 767px) { .hdr__right .seas { display: none; } }
html[data-season-lock] [data-season-switch] { display: none !important; }   /* season locked in config/season.json (js/season.js LOCK) */   /* phone: the switch lives in the drawer and under the hero */

/* ---------- P8: one modal for small forms (callback, «Хочу дешевле», subscription) ---------- */
.modal { position: fixed; inset: 0; z-index: 62; display: grid; place-items: center; padding: 20px; pointer-events: none; visibility: hidden; }
.modal.is-open { pointer-events: auto; visibility: visible; }
.modal__box { position: relative; width: min(420px, 100%); display: grid; gap: 16px; padding: 34px 30px 26px; background: rgba(255, 255, 255, 0.92);
  opacity: 0; transform: translateY(18px) scale(0.98); transition: opacity 0.35s, transform 0.5s var(--ease-out); }
.modal.is-open .modal__box { opacity: 1; transform: none; }
.modal__x { position: absolute; right: 12px; top: 12px; }
.field { display: grid; gap: 6px; }
.field input, .field textarea { width: 100%; border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: 8px 0; font-size: 15px; outline: none; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--accent); }
.form-msg { min-height: 1.35em; color: var(--gray); }
form.is-sent .form-msg { color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .modal__box { transition: none; } }

/* P8: the summer accessories menu is one wide column of the stand's categories, read in three columns */
.mega__col--wide { grid-column: span 3; columns: 3; column-gap: 40px; }
.mega__col--wide h4 { column-span: all; }
/* P8 (07.10, agent p8_info): the summer menu is wider («Велоаксессуары») and touched the logo at 1440 — tighter gaps in summer */
@media (min-width: 1200px) and (max-width: 1500px) { html[data-season="summer"] .hdr__left { gap: 14px; } }
@media (min-width: 1200px) and (max-width: 1400px) { html[data-season="summer"] .hdr__left { gap: 10px; } html[data-season="summer"] .hdr__link, html[data-season="summer"] .hdr__menu { font-size: 11.5px; letter-spacing: 0; } }
@media (min-width: 1200px) and (max-width: 1279px) { html[data-season="summer"] .hdr__left { gap: 8px; } html[data-season="summer"] .hdr__link, html[data-season="summer"] .hdr__menu { font-size: 11px; } }
/* the summer hours line («…без выходных») is longer than winter's: under the phone only from 1601 up */
@media (max-width: 1600px) { html[data-season="summer"] .hdr__tel small { display: none; } }

/* consent checkbox on every form with personal data (js/app.js consent(), checklist L1/L3, 08.10) */
.consent { position: relative; display: flex; align-items: flex-start; gap: 10px; margin: 14px 0; font-size: 12px; line-height: 1.45; color: var(--gray, #6b6b6b); cursor: pointer; text-align: left; }
.consent input { position: absolute; opacity: 0; width: 20px; height: 20px; margin: 0; }
.consent__box { flex: 0 0 auto; width: 20px; height: 20px; border: 1px solid currentColor; border-radius: 4px; display: grid; place-items: center; }
.consent input:checked + .consent__box { background: var(--accent); border-color: var(--accent); }
.consent input:checked + .consent__box::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.consent input:focus-visible + .consent__box { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent a { color: inherit; text-decoration: underline; }
.consent.is-err { color: var(--accent); }

/* 09.10 walk #25 — every form on a red panel reads clearly: white at full opacity, label 10 -> 13 px, input 15 -> 17 px,
   consent 12 -> 14 px, a white 2 px checkbox (checked: white box, red tick); red-on-red error states turn to dark ink */
.call__panel .field__label, .on-red form .field__label { font-size: 13px; color: var(--white); }
.call__panel .field input, .on-red form .field input { font-size: 17px; color: var(--white); border-bottom: 1px solid var(--white); }
.call__panel .field input::placeholder, .on-red form .field input::placeholder { color: var(--white); opacity: 1; }
.call__panel .consent, .on-red form .consent { font-size: 14px; color: var(--white); }
.call__panel .consent__box, .on-red form .consent__box { width: 22px; height: 22px; border: 2px solid var(--white); }
.call__panel .consent input:checked + .consent__box, .on-red form .consent input:checked + .consent__box { background: var(--white); border-color: var(--white); }
.call__panel .consent input:checked + .consent__box::after, .on-red form .consent input:checked + .consent__box::after { border-color: var(--accent); }
.call__panel .consent input:focus-visible + .consent__box, .on-red form .consent input:focus-visible + .consent__box { outline-color: var(--white); }
.call__panel .consent.is-err, .on-red form .consent.is-err { color: var(--ink); }

/* 08.10 queue piece 4 — phone: checklist S100 (form fields 16 px, iOS does not zoom on focus) and S157 (tap targets at least
   24 x 24 px, WCAG 2.5.8; running-text links are the standard's own exception). Boxes grow, the drawing stays the same size. */
@media (max-width: 767px) {
  html body input:not([type=checkbox]):not([type=radio]), html body textarea:not([hidden]), html body select:not([hidden]) { font-size: 16px; }
  html body .pd-spec__row dd a, html body .ftr__copy a { display: inline-flex; align-items: center; min-height: 24px; }
  html body .blink { display: inline-flex; align-items: center; min-height: 24px; }
  html body .hdr__icon { min-width: 32px; min-height: 32px; justify-content: center; }
  html body .pcard__fav { width: 32px; height: 32px; top: 5px; right: 5px; padding: 7px; box-sizing: border-box; }
  html body .crumbs a { display: inline-flex; align-items: center; min-height: 24px; }
  html body .co__dot { width: 24px; height: 24px; left: -12px; top: -12px; }
  html body .kit-card__tog { width: 26px; height: 26px; right: 7px; top: 7px; }
  html body .pcard__name { display: inline-block; min-height: 24px; }
  html body .tabbar a { min-height: 44px; }
  /* 09.10 walk #32: phone, search and cart are one group on the right — 44 px tap boxes side by side, no gap between boxes,
     the drawn icons are pulled together inside them (phone right, search centre, cart left) so they stand ~14 px apart and the phone no longer sits by the logo; the breadcrumb items share one baseline */
  html body .hdr__right { gap: 0; }
  html body .hdr__right .hdr__icon { min-width: 44px; min-height: 44px; }
  html body .hdr__right { margin-right: -10px; }   /* the last tap box may reach into the page padding */
  html body .hdr__right .hdr__call { justify-content: flex-end; }   /* drawn icons pulled together inside their 44 px boxes */
  html body .hdr__right .hdr__icon[data-nav="cart"] { position: relative; justify-content: flex-start; }
  html body .hdr__right .hdr__icon[data-nav="cart"] .hdr__badge { position: absolute; left: 50%; top: 4px; margin: 0 0 0 4px; }
  html body .crumbs { align-items: center; }
  html body .crumbs > * { display: inline-flex; align-items: center; min-height: 24px; line-height: 1; }
}

/* F4 (walk 12.10): «[ ОТПРАВИТЬ ]» and every bracket link stay on one line — the closing bracket never wraps */
.blink { white-space: nowrap; }
/* F5: the reason a field is wrong, under the field */
.field__err { display: block; margin-top: 4px; font-size: 12px; line-height: 1.3; color: var(--accent); }
