:root {
  /* Бордовый + светлый лёд.
     Прошлые версии: versions/burgundy/, versions/ice/, versions/burgundy-ice/ */
  --accent: #8a1f30;        /* бордовый: заголовки, цены, главные кнопки, текст на льду */
  --accent-dark: #6e1525;   /* наведение на кнопки */
  --ice: #eaf4fe;           /* светлый лёд: плашки, светлые блоки, заливки при наведении */
  --frost: #eaf4fe;         /* фон блоков «О бренде», «Технологии», футера */
  --cold: #93b8d8;          /* ледяные линии и мелкие подписи на белом */
  --accent-soft: #bcd7ef;   /* очень светлый лёд: флажки, линии */
  --line: #e6e0e0;          /* тонкие линии и рамки */
  --tint: #f3f8ff;          /* лёгкая подсветка выбранного */
  --text: #1f1a1b;          /* почти чёрный, чуть тёплый */
  --muted: #c9c9c9;
  --white: #ffffff;

  --font-display: 'Unbounded', 'Arial Black', sans-serif;
  --font-ui: 'Inter', Arial, sans-serif;
  --font-light: 'Roboto', Arial, sans-serif;
}

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

body {
  font-family: var(--font-ui);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* скрытые элементы скрыты всегда, даже если у них задан display */
[hidden] { display: none !important; }

/* ---------- Верхняя плашка ---------- */
.topbar {
  overflow: hidden;
  background: var(--ice);
  font-size: 11px;
  line-height: 1;
}
.topbar__track {
  display: flex;
  width: max-content;
  animation: topbar 60s linear infinite;
}
.topbar:hover .topbar__track { animation-play-state: paused; }
.topbar__group {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 9px 14px;
}
/* фразы повторяются трижды, чтобы группа была шире любого экрана */
.topbar__group span { white-space: nowrap; }
.topbar__group i {
  font-style: normal;
  font-size: 9px;
  color: var(--accent);
}
@keyframes topbar { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .topbar__track { animation: none; } }

/* ---------- Шапка ---------- */
.header {
  position: relative;
  z-index: 10;
  height: 75px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 64px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
}

.header__nav {
  display: flex;
  gap: 26px;
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #7d878a;
}
.header__nav a { transition: color .2s; }
.header__nav a:hover { color: var(--accent); }

.header__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 46px;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1;
}

.header__actions {
  justify-self: end;
  display: flex;
  gap: 22px;
}
.icon-btn {
  position: relative;
  width: 28px;
  height: 28px;
  color: var(--accent);
  transition: transform .2s;
}
.icon-btn:hover { transform: scale(1.1); }
.icon-btn svg { width: 100%; height: 100%; }
.icon-btn__badge {
  position: absolute;
  top: -5px;
  right: -7px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--white);
  font-size: 10px;
  font-weight: 500;
  line-height: 16px;
  text-align: center;
}

/* ---------- Главный экран ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* высота = пропорция фотографий (≈ 7:9), поэтому обе видны целиком, без обрезки */
  height: calc(50vw * 1.286);
  overflow: hidden;
}
.hero__img {
  background-size: cover;
  background-position: center;
  background-color: #dfe9ee;
}
.hero__img--left {
  background-image: url('img/hero-left.jpg'),
                    linear-gradient(170deg, #b9c9d4 0%, #eef3f6 55%, #ffffff 100%);
}
.hero__img--right {
  background-image: url('img/hero-right.jpg'),
                    linear-gradient(200deg, #a9cadb 0%, #e7f1f6 60%, #ffffff 100%);
}

.hero__content {
  position: absolute;
  left: 4.4vw;
  bottom: 12%;
  z-index: 2;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 6.6vw, 120px);
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--accent);
}
/* ---------- Адаптив ---------- */
@media (max-width: 1024px) {
  .header { padding: 0 24px; }
  .header__nav { gap: 16px; font-size: 11.5px; }
  .header__logo { font-size: 34px; }
}

@media (max-width: 768px) {
  .header { grid-template-columns: auto 1fr auto; padding: 0 16px; height: 60px; }
  .header__nav { display: none; }
  .header__logo { font-size: 28px; }
  .hero__content { left: 16px; right: 16px; }
  .hero__title { font-size: 7.9vw; }
}

/* телефоны: фото друг под другом, каждое целиком — в своих пропорциях */
@media (max-width: 600px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    height: auto;
  }
  .hero__img { aspect-ratio: 1556 / 2000; }
  .hero__content { bottom: auto; top: calc(50% - 4px); transform: translateY(-100%); }
}

/* бейдж в шапке скрыт, пока счётчик = 0 */
.icon-btn__badge:empty,
.icon-btn__badge[data-zero] { display: none; }
.icon-btn.is-bump { animation: bump .4s ease; }
@keyframes bump { 40% { transform: scale(1.3); } }

/* =========================================================
   ХИТЫ СЕЗОНА — канатная дорога
   ========================================================= */
.hits {
  position: relative;
  overflow: hidden;
  padding: 110px 0 70px;
  background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
}

/* топографические линии на фоне */
.hits__topo {
  position: absolute;
  right: -12%;
  top: -18%;
  width: 78vw;
  max-width: 1100px;
  fill: none;
  stroke: #d9e9f8;
  stroke-width: 1.2;
  pointer-events: none;
}

.hits__inner { position: relative; }

/* ---------- Заголовок блока (как на главном экране) ---------- */
.hits__head {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  padding: 0 64px 0 4.4vw;
  margin-bottom: 30px;
}
.hits__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 6.6vw, 120px);
  line-height: 0.88;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--accent);
}
.hits__title-line { position: relative; display: inline-block; }

/* бирка ски-пасса, приклеенная к заголовку */
.skitag {
  position: absolute;
  left: calc(100% + 34px);
  top: -0.15em;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 170px;
  padding: 14px 14px 12px;
  border-radius: 12px;
  background: var(--ice);
  transform: rotate(8deg);
  box-shadow: 0 18px 36px -20px rgba(40, 70, 90, .45);
  letter-spacing: 0;
  animation: sway 6s ease-in-out infinite;
}
.skitag__top {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  color: var(--accent);
}
.skitag__barcode {
  height: 30px;
  background: repeating-linear-gradient(90deg,
    var(--text) 0 2px, transparent 2px 4px,
    var(--text) 4px 5px, transparent 5px 9px,
    var(--text) 9px 12px, transparent 12px 14px);
  opacity: .85;
}

.hits__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 28px;
  text-align: right;
}
.hits__subtitle {
  font-family: var(--font-light);
  font-weight: 300;
  font-size: clamp(18px, 2.05vw, 34px);
  line-height: 1.2;
  color: #a7b0b3;   /* на белом фоне чуть темнее, чем на фото */
}

.hits__controls {
  display: flex;
  align-items: center;
  gap: 18px;
}
.round-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1.5px solid var(--cold);
  background: transparent;
  color: var(--cold);
  font-size: 20px;
  cursor: pointer;
  transition: background .25s, color .25s;
}
.round-btn:hover { background: var(--ice); border-color: var(--ice); color: var(--accent); }
.hits__station {
  font-family: var(--font-display);
  font-size: 14px;
  color: #9aa6aa;
}
.hits__station b { color: var(--cold); font-weight: 700; }

/* ---------- Трасса ---------- */
.track {
  overflow-x: auto;
  scrollbar-width: none;
  cursor: grab;
  scroll-snap-type: x mandatory;
  scroll-padding-left: max(48px, 4.4vw);   /* карточка «примагничивается» с отступом, а не к самому краю */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
}
.track::-webkit-scrollbar { display: none; }
.track.is-dragging { cursor: grabbing; scroll-snap-type: none; }

.track__inner {
  --step: 64px;               /* насколько каждая кабинка выше предыдущей */
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 56px;
  width: max-content;
  padding: 0 64px 20px max(48px, 4.4vw);
}
.track__cable {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.track__cable .cable   { stroke: var(--cold); stroke-width: 1.6; fill: none; }
.track__cable .cable-2 { stroke: var(--cold); stroke-width: 1; fill: none; opacity: .22; }
.track__cable .pulley  { fill: #fff; stroke: var(--cold); stroke-width: 1.6; }

/* каждая следующая кабинка поднимается выше по склону */
.gondola { position: relative; flex: none; scroll-snap-align: start; }
.gondola:nth-child(2) { margin-top: calc(var(--step) * 4); }
.gondola:nth-child(3) { margin-top: calc(var(--step) * 3); }
.gondola:nth-child(4) { margin-top: calc(var(--step) * 2); }
.gondola:nth-child(5) { margin-top: calc(var(--step) * 1); }
.gondola:nth-child(6) { margin-top: 0; }

.gondola__hanger {
  position: relative;
  width: 2px;
  height: 64px;
  margin: 0 auto;
  background: var(--cold);
}
.gondola__hanger::after {          /* перекладина над кабинкой */
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 70px;
  height: 2px;
  transform: translateX(-50%);
  background: var(--cold);
}
.gondola__alt {
  position: absolute;
  left: 12px;
  top: 22px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--cold);
}

.gondola__card,
.summit {
  width: 290px;
  transform-origin: 50% -64px;      /* качается от точки на тросе */
  animation: sway 7s ease-in-out infinite;
}
.gondola:nth-child(3) .gondola__card { animation-delay: -1.5s; }
.gondola:nth-child(4) .gondola__card { animation-delay: -3s; }
.gondola:nth-child(5) .gondola__card { animation-delay: -4.5s; }
.gondola:nth-child(6) .summit        { animation-delay: -2s; }
.gondola:hover .gondola__card,
.gondola:hover .summit { animation: swing 1.4s ease-out; }

@keyframes sway {
  0%, 100% { rotate: -0.6deg; }
  50%      { rotate: 0.6deg; }
}
@keyframes swing {
  0%   { rotate: 0deg; }
  20%  { rotate: 3deg; }
  45%  { rotate: -2deg; }
  70%  { rotate: 1deg; }
  100% { rotate: 0deg; }
}

.gondola__card {
  border-radius: 22px 22px 18px 18px;
  background: #fff;
  box-shadow: 0 30px 60px -34px rgba(30, 60, 80, .45);
  overflow: hidden;
}

.gondola__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--ice);
  overflow: hidden;
}
.gondola__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .5s, transform .8s;
}
.gondola__photo img.alt { opacity: 0; }
.gondola:hover .gondola__photo img.alt { opacity: 1; }
.gondola:hover .gondola__photo img { transform: scale(1.04); }

/* заглушка, пока нет фото */
.ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(180deg, #e2effc 0%, #f5faff 100%);
  font-size: 11px;
  color: #7b8c91;
}
.ph::before {                       /* силуэт гор */
  content: '';
  width: 64px;
  height: 40px;
  background: #c2daf0;
  clip-path: polygon(0 100%, 34% 18%, 50% 50%, 68% 0, 100% 100%);
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 10px 5px;
  border-radius: 20px;
  background: var(--ice);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
}
.fav {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: transform .2s;
}
.fav:hover { transform: scale(1.1); }
.fav svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  transition: fill .2s;
}
.fav.is-active svg { fill: var(--accent); }

.gondola__body { padding: 18px 20px 20px; }
.gondola__type {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8d999d;
}
.gondola__name {
  margin-top: 4px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.gondola__desc {
  margin-top: 6px;
  font-family: var(--font-light);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.35;
  color: #6c787c;
}

.sizes {
  display: flex;
  gap: 6px;
  margin-top: 14px;
}
.sizes button {
  min-width: 36px;
  height: 28px;
  padding: 0 8px;
  border: 1px solid #d8e3e6;
  border-radius: 14px;
  background: transparent;
  font: 500 11px var(--font-ui);
  color: var(--text);
  cursor: pointer;
  transition: all .2s;
}
.sizes button:hover { border-color: var(--accent); }
.sizes button.is-active { background: var(--text); border-color: var(--text); color: #fff; }

.gondola__buy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}
.price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--accent);
}
.add {
  position: relative;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  transition: transform .2s, background .3s;
}
.add:hover { transform: rotate(90deg); }
.add.is-added { background: var(--text); }
.add.is-added:hover { transform: none; }

/* верхняя станция */
.gondola--summit { display: block; }
.summit {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 290 / 420;
  padding: 26px;
  border-radius: 22px;
  background: var(--ice);
  color: var(--accent);
  box-shadow: 0 30px 60px -30px rgba(138, 31, 48, .6);
}
.summit__label {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .7;
}
.summit__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  line-height: .95;
  text-transform: uppercase;
}
.summit__arrow {
  align-self: flex-end;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 26px;
  transition: transform .3s;
}
.gondola--summit:hover .summit__arrow { transform: translateX(6px) rotate(-45deg); }

@media (prefers-reduced-motion: reduce) {
  .skitag, .gondola__card, .summit { animation: none !important; }
}

@media (max-width: 1024px) {
  .hits__head { flex-direction: column; align-items: flex-start; padding: 0 24px; }
  .hits__side { align-items: flex-start; text-align: left; }
  .skitag { width: 130px; padding: 10px; left: calc(100% + 12px); }
  .track__inner { --step: 36px; padding: 0 48px 20px; }
}
@media (max-width: 768px) {
  .hits { padding: 90px 0 80px; }
  .hits__head { padding: 0 16px; }
  .hits__title { font-size: 13vw; }
  .skitag { display: none; }
  .track__inner { --step: 22px; gap: 24px; padding: 0 28px 20px; }
  .track { scroll-padding-left: 28px; }
  .track { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%); }
  .gondola__card, .summit { width: 260px; }
  .summit__title { font-size: 32px; }
}

/* =========================================================
   КАТЕГОРИИ — названия как огромные заголовки
   ========================================================= */
.cats {
  position: relative;
  padding: 120px 0 140px;
  background: #fff;
}
.cats__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 64px 36px 4.4vw;
}
.cats__lead {
  font-family: var(--font-light);
  font-weight: 300;
  font-size: clamp(18px, 2.05vw, 34px);
  line-height: 1.2;
  color: #a7b0b3;
}
.cats__all {
  font-size: 15px;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.cats__list { list-style: none; border-top: 1px solid var(--line); }
.cats__list li { border-bottom: 1px solid var(--line); }

.cat {
  position: relative;
  display: flex;
  align-items: center;
  gap: 3vw;
  padding: 1.6vw 64px 1.4vw 4.4vw;
  overflow: hidden;
  isolation: isolate;
}
/* бордовая заливка, которая поднимается снизу */
.cat::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ice);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .5s cubic-bezier(.7, 0, .2, 1);
}
.cat:hover::before { transform: scaleY(1); }

.cat__num {
  align-self: flex-start;
  margin-top: 1.2vw;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  transition: color .4s;
}
.cat__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  /* контур: обводка рисуется под заливкой цвета фона — так не видно внутренних линий букв */
  color: #fff;
  -webkit-text-stroke: 3px var(--accent);
  paint-order: stroke fill;
  transition: color .4s, -webkit-text-stroke-color .4s, transform .5s;
}
.cat__name sup {
  margin-left: 6px;
  font-size: max(11px, 0.16em);
  font-weight: 700;
  letter-spacing: 0;
  vertical-align: top;
  line-height: 1.6;
  color: var(--accent);
  -webkit-text-stroke: 0;
  transition: color .4s;
}
.cat__note {
  position: absolute;
  right: 170px;
  top: 50%;
  width: 230px;
  margin-top: -1.3em;
  font-family: var(--font-light);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.3;
  color: var(--accent);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .4s, transform .4s;
}
.cat__arrow {
  flex: none;
  margin-left: auto;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-size: 26px;
  transition: all .4s;
}
.cat__thumb { display: none; }

.cat:hover .cat__name {
  color: var(--accent);
  transform: translateX(1.5vw);
}
.cat:hover .cat__note { opacity: .85; transform: none; transition-delay: .1s; }
.cat:hover .cat__arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ice);
  transform: rotate(-45deg);
}

/* плавающее фото */
.cats__float {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  width: 300px;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  scale: .6;
  box-shadow: 0 40px 80px -30px rgba(30, 60, 80, .4);
  transition: opacity .35s, scale .45s cubic-bezier(.2, .8, .2, 1);
  will-change: transform;
}
.cats__float.is-visible { opacity: 1; scale: 1; }
.cats__float img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cats__float img.is-broken { display: none; }

/* ---------- Сенсорные экраны и телефоны ---------- */
@media (max-width: 1200px) { .cat__note { display: none; } }

@media (hover: none), (max-width: 768px) {
  .cats__float { display: none; }
  .cat__name { color: var(--accent); -webkit-text-stroke: 0; }
  .cat__note { display: none; }
  .cat__arrow { display: none; }
  .cat__thumb {
    display: block;
    position: relative;
    flex: none;
    width: 56px;
    height: 56px;
    margin-left: auto;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(180deg, #e2effc, #f5faff);
  }
  .cat__thumb img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.6); }   /* вещь крупнее в маленьком кружке */
}
@media (max-width: 768px) {
  .cats { padding: 80px 0 90px; }
  .cats__head { flex-direction: column; align-items: flex-start; gap: 16px; padding: 0 16px 28px; }
  .cat { gap: 12px; padding: 18px 16px; }
  .cat__num { margin-top: 2px; font-size: 11px; }
  .cat__name { font-size: 6vw; }
  .cat__thumb { width: 44px; height: 44px; }
}

/* =========================================================
   ДОСТАВКА — слаломная трасса
   ========================================================= */
.delivery {
  position: relative;
  padding: 130px 0 120px;
  background: #fff;
  overflow: hidden;
}
.delivery__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  padding: 0 64px 60px 4.4vw;
}
.delivery__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 6.6vw, 120px);
  line-height: 0.88;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--accent);
}
.delivery__subtitle {
  text-align: right;
  font-family: var(--font-light);
  font-weight: 300;
  font-size: clamp(18px, 2.05vw, 34px);
  line-height: 1.2;
  color: #a7b0b3;
}

.route {
  --p: 0;                       /* прогресс прорисовки 0..1, ставится из JS */
  position: relative;
}
.route__track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  clip-path: inset(0 0 calc(100% - var(--p) * 100%) 0);
}
.route__track path {
  fill: none;
  stroke: var(--cold);
  stroke-width: 2;
  stroke-dasharray: 2 9;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.route__track .route__track-2 { opacity: .35; }

/* точка-лыжник на кончике трассы */
.route__skier {
  position: absolute;
  z-index: 2;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(138, 31, 48, .15);
  opacity: 0;
  transition: opacity .3s;
}
.route.is-moving .route__skier { opacity: 1; }

.step {
  position: relative;
  height: 320px;
}
.step__text {
  position: absolute;
  top: 50%;
  width: 32%;
  transform: translateY(-40%);
  opacity: 0;
  transition: opacity .6s, transform .6s cubic-bezier(.2, .8, .2, 1);
}
.step--right .step__text { right: 52%; text-align: right; }
.step--left  .step__text { left: 52%; }
.step.is-on .step__text { opacity: 1; transform: translateY(-50%); }

.step__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(60px, 7vw, 120px);
  line-height: .9;
  letter-spacing: -0.03em;
  color: #fff;
  -webkit-text-stroke: 3px var(--accent);
  paint-order: stroke fill;
}
.step__title {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 1.9vw, 30px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--accent);
}
.step__desc {
  margin-top: 10px;
  font-family: var(--font-light);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.35;
  color: #6c787c;
}
.step--right .step__desc { margin-left: auto; max-width: 340px; }
.step--left  .step__desc { max-width: 340px; }

/* слаломные ворота: две палки и флаг между ними */
.gate {
  position: absolute;
  top: 50%;
  width: 54px;
  height: 92px;
  transform-origin: 50% 100%;
  translate: -50% -100%;
  scale: 0;
  rotate: -25deg;
  transition: scale .6s cubic-bezier(.3, 1.6, .5, 1), rotate .6s cubic-bezier(.3, 1.6, .5, 1);
}
.step--right .gate { left: 67%; }
.step--left  .gate { left: 33%; }
.step.is-on .gate { scale: 1; rotate: 0deg; }
.gate i {
  position: absolute;
  bottom: 0;
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: #2b2b2b;
}
.gate i:first-child { left: 0; }
.gate i:nth-child(2) { right: 0; }
.gate b {
  position: absolute;
  top: 6px;
  left: 3px;
  right: 3px;
  height: 46px;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%);
  animation: flutter 2.4s ease-in-out infinite;
  transform-origin: top;
}
.gate--red b  { background: var(--accent); }
.gate--blue b { background: var(--accent-soft); }
@keyframes flutter {
  0%, 100% { transform: skewX(0deg); }
  50%      { transform: skewX(-6deg); }
}

@media (prefers-reduced-motion: reduce) {
  .gate b { animation: none; }
}

/* ---------- Планшет и телефон: прямая трасса слева ---------- */
@media (max-width: 900px) {
  .delivery { padding: 90px 0 80px; }
  .delivery__head { flex-direction: column; align-items: flex-start; gap: 20px; padding: 0 16px 40px; }
  .delivery__title { font-size: 13vw; }
  .delivery__subtitle { text-align: left; }

  .route { margin: 0 16px; }
  .route__track { display: none; }
  .route::before {                 /* прямая пунктирная лыжня */
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 26px;
    width: 2px;
    background: repeating-linear-gradient(180deg, var(--accent) 0 3px, transparent 3px 11px);
    clip-path: inset(0 0 calc(100% - var(--p) * 100%) 0);
  }
  .route__skier { display: none; }

  .step { height: auto; padding: 24px 0 36px 72px; }
  .step__text,
  .step--right .step__text,
  .step--left .step__text {
    position: static;
    width: auto;
    text-align: left;
    transform: translateY(16px);
  }
  .step.is-on .step__text { transform: none; }
  .step--right .step__desc { margin-left: 0; }
  .step .gate,
  .step--right .gate,
  .step--left .gate {
    top: 24px;
    left: 26px;
    width: 34px;
    height: 58px;
    translate: -50% 0;
  }
  .gate b { height: 28px; }
  .step__num { font-size: 56px; -webkit-text-stroke-width: 2px; }
}

/* =========================================================
   ВНУТРЕННИЕ СТРАНИЦЫ
   ========================================================= */
.header__nav a.is-current { color: var(--accent); }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding: 28px 64px 0 4.4vw;
  font-size: 13px;
  color: #9aa6aa;
}
.crumbs a { transition: color .2s; }
.crumbs a:hover { color: var(--accent); }
.crumbs span:last-child { color: var(--text); }

.delivery--page { padding-top: 50px; }

@media (max-width: 768px) {
  .crumbs { padding: 20px 16px 0; }
  .delivery--page { padding-top: 36px; }
}

/* =========================================================
   ПОДПИСКА — «сотри снег»
   ========================================================= */
.pv { display: grid; }

.pv__label {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8d999d;
}
.pv__title {
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 6.6vw, 120px);
  line-height: .95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--accent);
}
.pv__text {
  max-width: 460px;
  margin-top: 26px;
  font-family: var(--font-light);
  font-weight: 300;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.45;
  color: #6c6668;
}

/* общая форма */
.sub-form {
  display: flex;
  margin-top: 24px;
  padding: 5px;
  border: 1.5px solid var(--accent);
  border-radius: 40px;
  background: #fff;
}
.sub-form input {
  flex: 1;
  min-width: 0;
  padding: 0 18px;
  border: 0;
  outline: 0;
  background: transparent;
  font: 400 16px var(--font-ui);
  color: var(--text);
}
.sub-form button {
  flex: none;
  padding: 15px 24px;
  border: 0;
  border-radius: 30px;
  background: var(--accent);
  color: #fff;
  font: 500 13px var(--font-ui);
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s;
}
.sub-form button:hover { background: var(--accent-dark); }
.sub-form.is-error { border-color: #d4495e; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.sub-note { margin-top: 10px; font-size: 12px; color: #a7a0a2; }
.sub-note a { text-decoration: underline; }

.pv--3 {
  justify-items: center;
  padding: 130px 24px 140px;
  text-align: center;
  background: #fff;
}
.pv3__title { font-size: clamp(40px, 5.6vw, 100px); }
.scratch {
  position: relative;
  width: min(560px, 100%);
  aspect-ratio: 16 / 10;
  margin-top: 50px;
  border-radius: 28px;
  overflow: hidden;
  transform: rotate(-2deg);
  box-shadow: 0 40px 80px -40px rgba(60, 80, 100, .45);
}
.scratch__prize {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
}
.scratch__prize span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(80px, 11vw, 170px);
  line-height: .85;
  letter-spacing: -0.05em;
}
.scratch__prize small { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--ice); }
.scratch__frost {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
  transition: opacity .6s;
}
.scratch__frost.is-gone { opacity: 0; pointer-events: none; }
.scratch__hint { margin-top: 26px; font-size: 13px; color: #8d999d; }
.pv3__form { width: min(520px, 100%); margin-top: 30px; }
.pv3__done {
  max-width: 520px;
  padding: 22px 26px;
  border-radius: 20px;
  background: var(--ice);
  font-size: 17px;
  line-height: 1.4;
}
.pv3__done b { font-family: var(--font-display); color: var(--accent); }
.pv3__form .pv__text { margin: 0 auto; }
.pv3__done { margin: 24px auto 0; }

@media (max-width: 900px) {
  .pv__title { font-size: 11vw; }
  .pv--3 { padding: 90px 16px 100px; }
}
@media (max-width: 480px) {
  .sub-form { flex-direction: column; gap: 6px; border-radius: 24px; }
  .sub-form input { padding: 14px 16px; }
}

/* =========================================================
   ФУТЕР
   ========================================================= */
.footer {
  overflow: hidden;
  padding: 90px 0 0;
  background: var(--frost);
  color: var(--text);
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 0 64px 0 4.4vw;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
}
.footer__col a,
.footer__col span { opacity: .8; transition: opacity .2s; }
.footer__col a:hover { opacity: 1; }
.footer__head {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}
.footer__social { display: flex; flex-wrap: wrap; gap: 8px; }
.footer__social a {
  padding: 9px 16px;
  border: 1px solid rgba(138, 31, 48, .45);
  border-radius: 20px;
  font-size: 13px;
  opacity: 1;
  transition: background .25s, color .25s;
}
.footer__social a:hover { background: var(--accent); border-color: var(--accent); color: var(--ice); }

.footer__legal {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 80px;
  padding: 22px 64px 0 4.4vw;
  border-top: 1px solid rgba(138, 31, 48, .3);
  font-size: 12px;
  opacity: .6;
}
.footer__logo {
  margin-top: 2vw;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20.5vw;
  line-height: .72;
  letter-spacing: -0.04em;
  /* нижняя часть букв уходит за край — как подпись */
  margin-bottom: -2.8vw;
  user-select: none;
  color: #d6e7f8;   /* на тон темнее фона — как тиснение */
}

@media (max-width: 900px) {
  .subscribe { padding: 80px 0 90px; }
  .subscribe__big { -webkit-text-stroke-width: 2px; }
  .subscribe__big::after { -webkit-text-stroke-width: 2px; }
  .subscribe__row { flex-direction: column; align-items: flex-start; padding: 0 16px; margin-top: 40px; }
  .subscribe__title { font-size: 13vw; }
  .footer { padding-top: 64px; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 40px 20px; padding: 0 16px; }
  .footer__legal { flex-direction: column; padding: 20px 16px 0; margin-top: 56px; }
}
@media (max-width: 480px) {
  .subscribe__form { flex-direction: column; gap: 6px; border-radius: 24px; }
  .subscribe__form input { padding: 14px 16px; }
}

.nowrap { white-space: nowrap; }

/* =========================================================
   О БРЕНДЕ — бордовый блок
   ========================================================= */
.about-wrap { position: relative; overflow: hidden; background: #fff; }

.about__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 6.6vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--accent);
}

.about {
  padding: 130px 64px 120px 4.4vw;
  background: var(--frost);
  color: var(--text);
}
.v2__top {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 460px);
  align-items: end;
  gap: 40px;
}
.v2__text {
  font-family: var(--font-light);
  font-weight: 300;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.45;
  opacity: .8;
}
.v2__stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 90px;
  border-top: 1px solid rgba(138, 31, 48, .35);
}
.v2__stats li {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 34px 30px 0;
  border-left: 1px solid rgba(138, 31, 48, .35);
}
.v2__stats li:first-child { padding-left: 0; border-left: 0; }
.v2__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 6vw, 108px);
  line-height: .9;
  color: var(--accent);
  letter-spacing: -0.04em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.v2__num small { margin-left: .1em; font-size: .38em; letter-spacing: 0; }
.v2__label {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .7;
}

/* ---------- Бегущая строка ---------- */
.marquee {
  width: 110%;
  margin: -24px -5% 50px;
  padding: 22px 0 18px;
  background: var(--ice);
  transform: rotate(-2deg);
  overflow: hidden;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 64px);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--accent);
}
@keyframes marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}
@media (max-width: 900px) {
  .about { padding: 90px 16px 80px; }
  .about__title { font-size: 13vw; }
  .v2__top { grid-template-columns: 1fr; }
  .v2__stats { grid-template-columns: 1fr; margin-top: 50px; }
  .v2__stats li,
  .v2__stats li:first-child { padding: 24px 0; border-left: 0; border-bottom: 1px solid rgba(138, 31, 48, .35); }
  .marquee { padding: 16px 0 12px; margin-bottom: 36px; }
}

/* =========================================================
   КАТАЛОГ
   ========================================================= */
.catalog { padding: 40px 0 130px; }
.catalog__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  padding: 0 64px 0 4.4vw;
}
.catalog__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(52px, 9vw, 160px);
  line-height: .9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--accent);
}
.catalog__title sup {
  margin-left: .1em;
  font-size: max(11px, .16em);
  letter-spacing: 0;
  vertical-align: top;
  line-height: 1.6;
}
.catalog__subtitle {
  padding-bottom: 10px;
  text-align: right;
  font-family: var(--font-light);
  font-weight: 300;
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1.3;
  color: #a7b0b3;
}

/* категории-«таблетки», прилипают при прокрутке */
.cat-tabs {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  gap: 8px;
  margin-top: 50px;
  padding: 14px 64px 14px 4.4vw;
  overflow-x: auto;
  scrollbar-width: none;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tabs button {
  flex: none;
  padding: 12px 22px;
  border: 1.5px solid var(--line);
  border-radius: 30px;
  background: #fff;
  font: 500 14px var(--font-ui);
  color: var(--text);
  cursor: pointer;
  transition: all .25s;
}
.cat-tabs button:hover { border-color: var(--accent); color: var(--accent); }
.cat-tabs button.is-active { background: var(--ice); border-color: var(--ice); color: var(--accent); }

/* панель инструментов */
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 10px 64px 30px 4.4vw;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.toolbar__found { color: #8d999d; }
.toolbar__found b { color: var(--text); font-weight: 500; }
.toolbar__right { display: flex; align-items: center; gap: 32px; }

.size-filter { display: flex; align-items: center; gap: 6px; }
.size-filter span, .sort span {
  margin-right: 6px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8d999d;
}
.size-filter button {
  min-width: 36px;
  height: 32px;
  border: 1px solid #dfe5e7;
  border-radius: 16px;
  background: transparent;
  font: 500 12px var(--font-ui);
  cursor: pointer;
  transition: all .2s;
}
.size-filter button:hover { border-color: var(--accent); }
.size-filter button.is-active { background: var(--text); border-color: var(--text); color: #fff; }

.sort { display: flex; align-items: center; }
.sort select {
  padding: 8px 28px 8px 12px;
  border: 1px solid #dfe5e7;
  border-radius: 16px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238a1f30' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 11px center / 10px;
  font: 500 13px var(--font-ui);
  color: var(--text);
  appearance: none;
  cursor: pointer;
}

.view-toggle { display: flex; gap: 4px; }
.view-toggle button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}
.view-toggle svg { width: 16px; height: 16px; fill: #c3cbcd; transition: fill .2s; }
.view-toggle button.is-active svg,
.view-toggle button:hover svg { fill: var(--cold); }

/* сетка */
.grid {
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  gap: 48px 28px;
  padding: 0 64px 0 4.4vw;
}
.grid[data-view="3"] { --cols: 3; }
.grid[data-view="2"] { --cols: 2; }

@keyframes card-in {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* карточка товара */
.pcard {
  position: relative;
  animation: card-in .6s cubic-bezier(.2, .8, .2, 1) both;
}
.pcard__photo {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  background: var(--ice);
}
.pcard__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .5s, transform .8s;
}
.pcard__photo img.alt { opacity: 0; }
.pcard:hover .pcard__photo img.alt { opacity: 1; }
.pcard:hover .pcard__photo img { transform: scale(1.04); }
.pcard .fav { top: 14px; right: 14px; z-index: 3; }

/* быстрое добавление — выезжает снизу фото */
.pcard__media { position: relative; }
.quick {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.pcard:hover .quick,
.pcard:focus-within .quick { opacity: 1; transform: none; pointer-events: auto; }
.quick__label {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6c787c;
}
.quick.is-done .quick__label { color: var(--accent); font-weight: 500; }
.quick__sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.quick__sizes button {
  min-width: 42px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #dfe5e7;
  border-radius: 17px;
  background: #fff;
  font: 500 12px var(--font-ui);
  cursor: pointer;
  transition: all .2s;
}
.quick__sizes button:hover { background: var(--ice); border-color: var(--ice); color: var(--accent); }

.pcard__body { padding: 18px 4px 0; }
.pcard__row { display: flex; justify-content: space-between; align-items: center; }
.pcard__type {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8d999d;
}
.pcard__colors { display: flex; gap: 5px; }
.pcard__colors i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.15);
}
.pcard__name {
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
}
.pcard__name a { transition: color .2s; }
.pcard__name a:hover { color: var(--accent); }
.pcard__desc {
  margin-top: 6px;
  font-family: var(--font-light);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.35;
  color: #6c787c;
}
.pcard__price {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--accent);
}
.pcard__price s {
  margin-left: 10px;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 14px;
  color: #a7b0b3;
}

/* рекламные вставки на 2 колонки */
.promo {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  min-height: 100%;
  padding: 40px;
  border-radius: 20px;
  background: var(--accent);
  color: #fff;
  animation: card-in .6s cubic-bezier(.2, .8, .2, 1) both;
}
.grid[data-view="2"] .promo { min-height: 360px; }
.promo--light { background: var(--ice); color: var(--accent); }
.promo__label {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .75;
}
.promo__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 4.6vw, 80px);
  line-height: .95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.promo__title em {
  font-style: normal;
  color: var(--accent);              /* заливка цветом фона прячет внутренние линии букв */
  -webkit-text-stroke: 4px #fff;
  paint-order: stroke fill;
}
.promo__btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 10px 10px 24px;
  border-radius: 40px;
  background: #fff;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.promo--light .promo__btn { background: var(--accent); color: #fff; }
.promo__btn span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  transition: transform .3s;
}
.promo--light .promo__btn span { background: #fff; color: var(--accent); }
.promo__btn:hover span { transform: rotate(-45deg); }

/* пусто */
.empty {
  padding: 80px 20px;
  text-align: center;
}
.empty__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  text-transform: uppercase;
  color: var(--accent);
}
.empty__text { margin-top: 10px; color: #8d999d; }
.empty__reset {
  margin-top: 24px;
  padding: 14px 26px;
  border: 0;
  border-radius: 30px;
  background: var(--accent);
  color: #fff;
  font: 500 13px var(--font-ui);
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .toolbar { flex-direction: column; align-items: flex-start; }
  .toolbar__right { flex-wrap: wrap; gap: 18px; }
}
@media (max-width: 900px) {
  .catalog { padding: 24px 0 90px; }
  .catalog__head { flex-direction: column; align-items: flex-start; gap: 16px; padding: 0 16px; }
  .catalog__subtitle { text-align: left; }
  .catalog__title { font-size: 13vw; }
  .cat-tabs { padding: 12px 16px; margin-top: 30px; }
  .toolbar { margin: 6px 16px 24px; }
  .view-toggle { display: none; }
  .grid,
  .grid[data-view="3"],
  .grid[data-view="2"] { --cols: 2; gap: 32px 12px; padding: 0 16px; }
  .promo { padding: 26px; }
  .promo__title { font-size: 8.4vw; }
  .pcard__name { font-size: 18px; }
  .pcard__desc { display: none; }
  .pcard__price { font-size: 16px; }
  .quick { display: none; }
}
@media (max-width: 520px) {
  .grid, .grid[data-view="3"], .grid[data-view="2"] { --cols: 1; }
  .promo { grid-column: span 1; }
  .pcard__desc { display: block; }
}

/* =========================================================
   СТРАНИЦА ТОВАРА
   ========================================================= */
.product { padding: 30px 0 0; }
.product__top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 5vw;
  padding: 0 64px 0 4.4vw;
}

/* галерея: первое фото крупно, остальные — по два в ряд */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.gallery__item {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  background: var(--ice);
}
.gallery__item:first-child,
.gallery__item:nth-child(2):last-child { grid-column: span 2; }
.gallery__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery__dots { display: none; }

/* правая колонка прилипает при прокрутке галереи */
.info {
  position: sticky;
  top: 24px;
  align-self: start;
  padding-top: 10px;
}
.info__type {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8d999d;
}
.badge--inline { position: static; }
.info__name {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(54px, 7vw, 120px);
  line-height: .9;
  letter-spacing: -0.04em;
  color: var(--accent);
}
.info__price {
  margin-top: 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  color: var(--text);
}
.info__price s {
  margin-left: 12px;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 18px;
  color: #a7b0b3;
}
.info__split { margin-top: 6px; font-size: 13px; color: #8d999d; }

.info__block { margin-top: 30px; }
.info__row { display: flex; justify-content: space-between; align-items: baseline; }
.info__label {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8d999d;
}
.info__label b { font-weight: 500; color: var(--text); letter-spacing: .06em; }
.info__link {
  border: 0;
  background: none;
  font: 400 13px var(--font-ui);
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.swatches { display: flex; gap: 10px; margin-top: 12px; }
.swatches button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.14);
  cursor: pointer;
  transition: box-shadow .2s;
}
.swatches button.is-active { box-shadow: inset 0 0 0 1px rgba(0,0,0,.14), 0 0 0 3px #fff, 0 0 0 4.5px var(--accent); }

.size-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.size-pick button {
  min-width: 58px;
  height: 48px;
  padding: 0 16px;
  border: 1.5px solid #dfe5e7;
  border-radius: 14px;
  background: #fff;
  font: 500 15px var(--font-ui);
  cursor: pointer;
  transition: all .2s;
}
.size-pick button:hover { border-color: var(--accent); }
.size-pick button.is-active { background: var(--text); border-color: var(--text); color: #fff; }
.size-pick.is-error { animation: shake .4s; }
.size-pick.is-error button:not(.is-active) { border-color: #d4495e; }
.size-hint {
  height: 0;
  overflow: hidden;
  font-size: 13px;
  color: #d4495e;
  transition: height .2s, margin .2s;
}
.size-hint.is-visible { height: 18px; margin-top: 8px; }

.info__actions { display: flex; gap: 10px; margin-top: 30px; }
.buy {
  flex: 1;
  height: 62px;
  border: 0;
  border-radius: 40px;
  background: var(--accent);
  color: #fff;
  font: 500 14px var(--font-ui);
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .3s, transform .2s;
}
.buy:hover { background: var(--accent-dark); }
.buy:active { transform: scale(.98); }
.buy.is-done { background: var(--text); }
.buy-fav {
  flex: none;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: background .25s;
}
.buy-fav svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.8; transition: fill .2s; }
.buy-fav.is-active svg { fill: var(--accent); }
.buy-fav:hover { background: var(--tint); }

.info__perks {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-top: 22px;
  font-size: 13px;
  color: #6c787c;
}
.info__perks li { position: relative; padding-left: 20px; }
.info__perks li::before { content: '✦'; position: absolute; left: 0; color: var(--cold); font-size: 10px; top: 2px; }

/* аккордеон */
.acc { margin-top: 34px; border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  text-transform: uppercase;
  cursor: pointer;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: '+';
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 26px;
  line-height: 1;
  color: var(--cold);
  transition: transform .3s;
}
.acc details[open] summary::after { transform: rotate(45deg); }
.acc p {
  padding: 0 0 18px;
  font-family: var(--font-light);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  color: #4f5d61;
}
.acc a { color: var(--accent); text-decoration: underline; }

/* технологии: бордовая полоса с цифрами */
.tech {
  margin-top: 120px;
  padding: 90px 64px 90px 4.4vw;
  background: var(--frost);
  color: var(--text);
}
.tech__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 90px);
  line-height: .95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--accent);
}
.tech__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 60px;
  border-top: 1px solid rgba(138, 31, 48, .35);
}
.tech__list li {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px 30px 0;
  border-left: 1px solid rgba(138, 31, 48, .35);
}
.tech__list li:first-child { padding-left: 0; border-left: 0; }
.spec__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 92px);
  line-height: .9;
  color: var(--accent);
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.spec__num i { font-style: normal; }
.spec__num small { margin-left: .1em; font-size: .36em; letter-spacing: 0; }
.spec__label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }

/* с этим носят */
.pair { padding: 120px 0 130px; }
.pair__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 64px 40px 4.4vw;
}
.pair__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 6.6vw, 120px);
  line-height: .95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--accent);
}

/* модальное окно с таблицей размеров */
.modal {
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 28px;
  max-width: min(640px, calc(100% - 32px));
  width: 100%;
  background: #fff;
  box-shadow: 0 40px 100px -30px rgba(30, 50, 60, .4);
}
.modal::backdrop { background: rgba(30, 50, 60, .4); backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes modal-in { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.modal__box { position: relative; padding: 44px 40px 36px; }
.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--ice);
  color: var(--accent);
  font-size: 15px;
  cursor: pointer;
}
.modal__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  line-height: .95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--accent);
}
.size-table {
  width: 100%;
  margin-top: 28px;
  border-collapse: collapse;
  font-size: 15px;
  text-align: left;
}
.size-table th {
  padding: 0 8px 12px 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8d999d;
}
.size-table td { padding: 14px 8px 14px 0; border-top: 1px solid var(--line); }
.size-table td:first-child { font-family: var(--font-display); font-weight: 700; color: var(--accent); }
.modal__note { margin-top: 20px; font-size: 13px; line-height: 1.5; color: #6c787c; }

/* всплывающее уведомление */
.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  padding: 18px 24px;
  border-radius: 18px;
  background: var(--text);
  color: #fff;
  font-size: 14px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.5);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.toast.is-visible { opacity: 1; transform: none; }
.toast b { font-family: var(--font-display); }

@media (max-width: 900px) {
  .product { padding-top: 16px; }
  .product__top { grid-template-columns: 1fr; gap: 28px; padding: 0; }

  /* галерея листается пальцем */
  .gallery {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery__item {
    flex: 0 0 100%;
    max-height: 78svh;
    background: #eaf4fe;
    border-radius: 0;
    scroll-snap-align: start;
  }
  .gallery__item img { object-fit: contain; }   /* фон фото совпадает с фоном — обрезать не нужно */
  .gallery__dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
  }
  .gallery__dots i { width: 6px; height: 6px; border-radius: 3px; background: #d5dcde; transition: all .3s; }
  .gallery__dots i.is-active { width: 22px; background: var(--cold); }

  .info { position: static; padding: 0 16px; }
  .info__name { font-size: 15vw; }
  .tech { margin-top: 80px; padding: 70px 16px; }
  .tech__title { font-size: 10vw; }
  .spec__num { font-size: 12vw; }
  .tech__list { grid-template-columns: 1fr; margin-top: 36px; }
  .tech__list li,
  .tech__list li:first-child { padding: 22px 0; border-left: 0; border-bottom: 1px solid rgba(138, 31, 48, .35); }
  .pair { padding: 80px 0 90px; }
  .pair__head { flex-direction: column; align-items: flex-start; gap: 16px; padding: 0 16px 28px; }
  .pair__title { font-size: 13vw; }
  .modal__box { padding: 36px 20px 26px; }
  .size-table { font-size: 13px; }
  .toast { left: 16px; right: 16px; bottom: 16px; }
}

/* =========================================================
   ОБЩЕЕ ДЛЯ ВНУТРЕННИХ СТРАНИЦ
   ========================================================= */
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  padding: 40px 64px 50px 4.4vw;
}
.page-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(52px, 9vw, 160px);
  line-height: .9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--accent);
}
.page-title sup {
  margin-left: .1em;
  font-size: max(11px, .16em);
  letter-spacing: 0;
  vertical-align: top;
  line-height: 1.6;
}
.page-subtitle {
  flex: 0 1 380px;
  min-width: 0;
  padding-bottom: 10px;
  text-align: right;
  font-family: var(--font-light);
  font-weight: 300;
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1.3;
  color: #a7b0b3;
}

/* поля форм */
.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--wide { grid-column: span 2; }
.field span {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8d999d;
}
.field input {
  height: 54px;
  padding: 0 18px;
  border: 1.5px solid #dfe5e7;
  border-radius: 14px;
  background: #fff;
  font: 400 16px var(--font-ui);
  color: var(--text);
  outline: none;
  transition: border-color .2s;
}
.field input:focus { border-color: var(--accent); }
.field.is-error input { border-color: #d4495e; background: #fff7f8; }

.empty-state, .done {
  padding: 40px 4.4vw 140px;
  text-align: center;
}
.empty-state__big, .done__big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(80px, 18vw, 320px);
  line-height: .85;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #fff;
  -webkit-text-stroke: 3px var(--accent);
  paint-order: stroke fill;
}
.done__big { color: var(--accent); }
.empty-state__text, .done__text {
  max-width: 480px;
  margin: 26px auto 0;
  font-family: var(--font-light);
  font-weight: 300;
  font-size: 19px;
  line-height: 1.4;
  color: #6c787c;
}
.done__label {
  margin-bottom: 20px;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8d999d;
}
.done__label b { color: var(--accent); }
.empty-state__btn {
  margin-top: 34px;
  align-self: center;
  background: var(--accent);
  color: #fff;
}
.empty-state__btn span { background: #fff; color: var(--accent); }

.pcard.is-leaving, .line.is-leaving {
  opacity: 0;
  transform: scale(.96);
  transition: opacity .3s, transform .3s;
}

/* =========================================================
   КОРЗИНА
   ========================================================= */
.cart { padding-bottom: 130px; }
.cart__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 4vw;
  align-items: start;
  padding: 0 64px 0 4.4vw;
}

.ship-bar {
  padding: 22px 24px;
  border-radius: 18px;
  background: var(--ice);
}
.ship-bar__text { font-size: 15px; color: #4f5d61; }
.ship-bar__text b { color: var(--accent); font-weight: 500; }
.ship-bar__track {
  height: 6px;
  margin-top: 14px;
  border-radius: 3px;
  background: rgba(255,255,255,.7);
  overflow: hidden;
}
.ship-bar__fill {
  height: 100%;
  border-radius: 3px;
  background: var(--accent);
  transition: width .6s cubic-bezier(.2, .8, .2, 1);
}
.ship-bar.is-free .ship-bar__text { color: var(--accent); font-weight: 500; }

.cart-list { list-style: none; margin-top: 10px; }
.line {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto 120px 40px;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.line__img {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ice);
}
.line__img .ph::before { width: 36px; height: 22px; }
.line__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.line__name {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.02em;
}
.line__name:hover { color: var(--accent); }
.line__size { margin-top: 6px; font-size: 14px; color: #6c787c; }
.qty {
  display: flex;
  align-items: center;
  border: 1.5px solid #dfe5e7;
  border-radius: 24px;
}
.qty button {
  width: 40px;
  height: 42px;
  border: 0;
  background: none;
  font-size: 18px;
  color: var(--accent);
  cursor: pointer;
}
.qty span { min-width: 18px; text-align: center; font-weight: 500; }
.line__price {
  text-align: right;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
}
.line__remove {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #a7b0b3;
  cursor: pointer;
  transition: all .2s;
}
.line__remove:hover { background: var(--tint); color: var(--accent); }

/* итог заказа */
.summary {
  position: sticky;
  top: 24px;
  padding: 34px 30px 30px;
  border-radius: 24px;
  background: var(--ice);
}
.summary__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  text-transform: uppercase;
  color: var(--accent);
}
.summary__rows { margin-top: 22px; display: grid; gap: 12px; font-size: 15px; }
.summary__rows div { display: flex; justify-content: space-between; gap: 10px; }
.summary__rows dt { color: #6c787c; }
.summary__rows dd.is-minus { color: var(--accent); }
.summary__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(138, 31, 48, .2);
}
.summary__total span { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #6c787c; }
.summary__total b { font-family: var(--font-display); font-size: 32px; color: var(--text); }

.promo-code {
  display: flex;
  margin-top: 24px;
  padding: 5px;
  border-radius: 30px;
  background: #fff;
}
.promo-code input {
  flex: 1;
  min-width: 0;
  padding: 0 16px;
  border: 0;
  outline: 0;
  background: transparent;
  font: 400 15px var(--font-ui);
  text-transform: uppercase;
}
.promo-code button {
  padding: 12px 18px;
  border: 0;
  border-radius: 24px;
  background: var(--text);
  color: #fff;
  font: 500 12px var(--font-ui);
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}
.promo-code__msg { min-height: 18px; margin-top: 8px; font-size: 13px; }
.promo-code__msg.is-ok { color: #2f7d4f; }
.promo-code__msg.is-error { color: #d4495e; }
.summary__btn { width: 100%; margin-top: 14px; }
.summary__hint { margin-top: 14px; font-size: 12px; line-height: 1.45; color: #8d999d; }
.summary__hint b { color: var(--accent); }

/* оформление */
.checkout { margin-top: 70px; }
.checkout__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 84px);
  line-height: .95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--accent);
}
.checkout__group { margin-top: 44px; padding: 0; border: 0; }
.checkout__group legend {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
}
.checkout__group legend span { margin-right: 8px; color: var(--accent); }
.options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option__box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 18px;
  border: 1.5px solid #dfe5e7;
  border-radius: 16px;
  cursor: pointer;
  transition: all .2s;
}
.option__box b { font-weight: 500; font-size: 15px; }
.option__box small { font-size: 13px; color: #8d999d; }
.option__box em { margin-top: 6px; font-style: normal; font-family: var(--font-display); font-weight: 700; color: var(--accent); }
.option:hover .option__box { border-color: var(--accent-soft); }
.option input:checked + .option__box { border-color: var(--accent); background: var(--tint); box-shadow: inset 0 0 0 1px var(--accent); }
.option input:focus-visible + .option__box { outline: 2px solid var(--accent); outline-offset: 2px; }
.checkout__note { margin-top: 26px; font-size: 13px; color: #a7b0b3; }

/* =========================================================
   КОНТАКТЫ
   ========================================================= */
.contact-lines {
  list-style: none;
  padding: 0 64px 0 4.4vw;
  border-top: 1px solid var(--line);
}
.contact-lines li {
  display: flex;
  align-items: baseline;
  gap: 4vw;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.contact-lines__label {
  flex: none;
  width: 140px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8d999d;
}
.contact-lines a {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4.6vw, 80px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  -webkit-text-stroke: 2.5px var(--accent);
  paint-order: stroke fill;
  transition: color .3s;
}
.contact-lines a:hover { color: var(--cold); -webkit-text-stroke-color: var(--cold); }

.showroom {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 4vw;
  margin-top: 110px;
  padding: 0 64px 0 4.4vw;
}
.showroom__map {
  position: relative;
  min-height: 520px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--ice);
}
.showroom__map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pin {
  position: absolute;
  left: 48%;
  top: 46%;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  background: var(--cold);
  box-shadow: 0 0 0 6px rgba(138, 31, 48, .18);
}
.pin i {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--cold);
  animation: ping 2s ease-out infinite;
}
@keyframes ping { to { transform: scale(2.6); opacity: 0; } }
.pin__label {
  position: absolute;
  left: calc(48% + 22px);
  top: calc(46% - 14px);
  padding: 7px 12px;
  border-radius: 14px;
  background: #fff;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 10px 30px -14px rgba(0,0,0,.3);
}
.showroom__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 5.6vw, 100px);
  line-height: .95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--accent);
}
.showroom__addr {
  margin-top: 22px;
  font-family: var(--font-light);
  font-weight: 300;
  font-size: 21px;
  line-height: 1.4;
}
.showroom__hours { margin-top: 10px; font-size: 14px; color: #8d999d; }
.fitting {
  margin-top: 36px;
  padding: 28px;
  border-radius: 22px;
  border: 1.5px solid var(--line);
}
.fitting__title {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  text-transform: uppercase;
}
.fitting .buy { width: 100%; height: 56px; margin-top: 18px; }
.fitting__done {
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--ice);
  font-size: 16px;
}

.faq {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 4vw;
  margin-top: 120px;
  padding: 0 64px 130px 4.4vw;
}
.faq__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 4.8vw, 90px);
  line-height: .95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--accent);
}
.faq__list { margin-top: 0; }
.faq__list summary { font-size: 17px; text-transform: none; letter-spacing: 0; }

@media (max-width: 1100px) {
  .cart__layout { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
  .showroom, .faq { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .page-head { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 16px 34px; }
  .page-title { font-size: 11vw; }
  .page-subtitle { flex: initial; text-align: left; }
  .cart__layout { padding: 0 16px; }
  .line {
    position: relative;
    grid-template-columns: 80px auto minmax(0, 1fr);
    grid-template-areas: "img info info" "img qty price";
    gap: 10px 14px;
  }
  .line__img { grid-area: img; }
  .line__info { grid-area: info; padding-right: 40px; }
  .qty { grid-area: qty; }
  .line__price { grid-area: price; justify-self: end; }
  .line__remove { position: absolute; top: 16px; right: 0; }
  .line__name { font-size: 20px; }
  .options { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .field--wide { grid-column: auto; }
  .empty-state, .done { padding: 30px 16px 90px; }
  .contact-lines { padding: 0 16px; }
  .contact-lines li { flex-direction: column; gap: 8px; }
  .contact-lines a { font-size: 8.4vw; -webkit-text-stroke-width: 1.5px; }
  .showroom { margin-top: 70px; padding: 0 16px; }
  .showroom__map { min-height: 300px; }
  .fitting { padding: 20px; }
  .faq { margin-top: 80px; padding: 0 16px 90px; }
}

/* =========================================================
   СТРАНИЦА «О БРЕНДЕ»
   ========================================================= */
.v2__more { display: inline-block; margin-top: 18px; }
.brand { overflow: hidden; }   /* повёрнутая бегущая строка не вылезает за край */

.manifest { padding: 10px 64px 120px 4.4vw; }
.manifest__text {
  max-width: 1250px;
  font-family: var(--font-light);
  font-weight: 300;
  font-size: clamp(26px, 3.4vw, 58px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text);
}
.manifest__text b {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--accent);
}
.manifest__text em {
  font-style: normal;
  padding: 0 .25em .05em;
  border-radius: .4em;
  background: var(--ice);
  color: var(--accent);
  white-space: nowrap;
}

/* история */
.story {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 5vw;
  padding: 0 64px 0 4.4vw;
}
.story__photo {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--ice);
}
.story__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.story__photo--big { aspect-ratio: 4 / 5; }
.story__photo--big img { object-position: center 18%; }
.story__photo figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .9);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.story__text { display: flex; flex-direction: column; justify-content: flex-start; padding-top: 4vw; }
.story__title {
  margin-bottom: 30px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 90px);
  line-height: .95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--accent);
}
.story__text p {
  max-width: 520px;
  margin-bottom: 18px;
  font-family: var(--font-light);
  font-weight: 300;
  font-size: 19px;
  line-height: 1.5;
  color: #4a4446;
}
.story__photo--small {
  width: 62%;
  margin-top: auto;
  margin-left: auto;
  aspect-ratio: 4 / 5;
  transform: rotate(3deg);
}

/* как мы шьём */
.process {
  margin-top: 130px;
  padding: 100px 64px 110px 4.4vw;
  background: var(--frost);
}
.process__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 6.6vw, 120px);
  line-height: .95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--accent);
}
.process__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-top: 60px;
}
.process__list li {
  padding-top: 26px;
  border-top: 1.5px solid rgba(138, 31, 48, .3);
}
.process__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(54px, 5.6vw, 96px);
  line-height: .9;
  letter-spacing: -0.03em;
  color: var(--frost);
  -webkit-text-stroke: 2.5px var(--accent);
  paint-order: stroke fill;
}
.process__list h3 {
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--accent);
}
.process__list p {
  margin-top: 10px;
  font-family: var(--font-light);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.45;
  color: #4a4446;
}

/* цифры */
.brand-stats { padding: 110px 64px 0 4.4vw; }
.brand-stats .v2__stats { margin-top: 0; }

/* ценности */
.values { padding: 130px 64px 0 4.4vw; }
.values__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 6.6vw, 120px);
  line-height: .95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--accent);
}
.values__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 50px;
}
.value {
  padding: 34px 30px 36px;
  border-radius: 24px;
  border: 1.5px solid var(--line);
  transition: background .3s, border-color .3s, transform .3s;
}
.value:hover { background: var(--ice); border-color: var(--ice); transform: translateY(-4px); }
.value__icon { font-size: 18px; color: var(--accent); }
.value h3 {
  margin-top: 40px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--accent);
}
.value p {
  margin-top: 14px;
  font-family: var(--font-light);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  color: #4a4446;
}

/* цитата */
.quote { padding: 140px 64px 100px 4.4vw; text-align: center; }
.quote__text {
  max-width: 1150px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4.4vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--accent);
}
.quote__author { margin-top: 26px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #8d999d; }

/* призыв в каталог */
.brand-cta { padding: 60px 64px 130px 4.4vw; }
.brand-cta__link {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 50px 50px 46px;
  border-radius: 28px;
  background: var(--accent);
  color: #fff;
  overflow: hidden;
  transition: background .3s;
}
.brand-cta__link:hover { background: var(--accent-dark); }
.brand-cta__label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; opacity: .75; }
.brand-cta__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 8vw, 150px);
  line-height: .9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.brand-cta__arrow {
  position: absolute;
  right: 50px;
  bottom: 46px;
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ice);
  color: var(--accent);
  font-size: 34px;
  transition: transform .4s;
}
.brand-cta__link:hover .brand-cta__arrow { transform: rotate(-45deg); }

@media (max-width: 1100px) {
  .process__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .values__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .manifest { padding: 0 16px 80px; }
  .manifest__text em { white-space: normal; }
  .story { grid-template-columns: minmax(0, 1fr); padding: 0 16px; }
  .story__text { padding-top: 10px; }
  .story__photo--small { width: 70%; margin-top: 20px; }
  .process { margin-top: 80px; padding: 70px 16px; }
  .process__list { grid-template-columns: minmax(0, 1fr); margin-top: 36px; }
  .brand-stats { padding: 70px 16px 0; }
  .values { padding: 80px 16px 0; }
  .values__title, .process__title { font-size: 12vw; }
  .quote { padding: 90px 16px 70px; }
  .brand-cta { padding: 40px 16px 90px; }
  .brand-cta__link { padding: 30px 24px 120px; }
  .brand-cta__arrow { right: 24px; bottom: 24px; width: 70px; height: 70px; }
}

/* =========================================================
   МОБИЛЬНОЕ МЕНЮ
   ========================================================= */
.burger { display: none; }

.mmenu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  padding: 0 16px 28px;
  background: #fff;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-16px);
  transition: opacity .3s, transform .4s cubic-bezier(.2, .8, .2, 1), visibility 0s .4s;
}
.mmenu.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity .3s, transform .4s cubic-bezier(.2, .8, .2, 1);
}
.mmenu__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  flex: none;
}
.mmenu__top .header__logo { font-size: 28px; }
.mmenu__close {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--ice);
  color: var(--accent);
  font-size: 16px;
  cursor: pointer;
}
.mmenu__nav {
  display: flex;
  flex-direction: column;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}
.mmenu__nav a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 9vw, 44px);
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--accent);
}
.mmenu__nav a.is-current { color: var(--cold); }
.mmenu__nav i {
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0;
  color: #8d999d;
}
.mmenu__bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 30px;
  font-size: 15px;
}
.mmenu__bottom p { margin-top: 8px; font-size: 13px; color: #8d999d; }
body.menu-open { overflow: hidden; }

@media (max-width: 768px) {
  .header { grid-template-columns: 1fr auto 1fr; }
  .burger {
    justify-self: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 0 10px;
    margin-left: -10px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .burger span {
    display: block;
    height: 2px;
    border-radius: 1px;
    background: var(--accent);
  }
  .burger span:last-child { width: 65%; }
}

