/* ================================================================
   ОФОРМЛЕНИЕ ЗАКАЗА: ШАГИ И ДОСТАВКА
   ================================================================ */

/* Полоса шагов. Не декорация: по ней видно, сколько ещё осталось,
   и на каком шаге покупатель сейчас. */
.checkout-steps {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.checkout-steps button {
  flex: 1;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 11px;
  background: rgba(255, 255, 255, .02);
  cursor: pointer;
  font-family: var(--frz-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #5c5c5c;
  text-align: center;
  transition: color .25s ease, border-color .25s ease, background .25s ease;
}
.checkout-steps button.is-done { color: #8a8a8a; }
.checkout-steps button:hover:not(.is-current) {
  color: #d0d0d0;
  border-color: rgba(255, 255, 255, .2);
}
.checkout-steps button.is-current {
  color: #fff;
  border-color: rgba(255, 59, 24, .5);
  background: rgba(255, 59, 24, .1);
}

/* Полоса со слайдами. Двигается трансформацией: так свайп получается
   аппаратным, а не перерисовкой — и не зависит от высоты содержимого
   внутри слайдов. */
.checkout-viewport {
  /* Обрезка обязательна: слайды лежат рядом, и без неё второй торчит
     вправо за пределы окна. .modal-box прокручивается по горизонтали
     (scrollWidth 1026 против clientWidth 558), то есть соседний шаг
     был виден сбоку и до него можно было доехать прокруткой.

     Обрезка живёт здесь, а не на .checkout-track: рамка не двигается,
     а полоса уезжает трансформацией. Обрезка на полосе уехала бы вместе
     с ней и отсекла бы тот слайд, который как раз должен быть виден. */
  overflow: hidden;
}

.checkout-track {
  display: flex;
  transition: transform .34s cubic-bezier(.4, 0, .2, 1);
  /* Свой композиторный слой: иначе на каждом кадре перерисовывается
     вся полоса вместе с полями ввода, рамками и картинкой товара, и
     движение дёргается. */
  will-change: transform;
}
.checkout-slide { flex: 0 0 100%; min-width: 0; }

/* Направление свайпа ставит app.js: .is-forward — вперёд, .is-back —
   назад. Без этого полоса ехала бы в одну сторону, и «Назад» читался
   как движение вправо. */
.checkout-track.is-forward { transform: translateX(-100%); }
.checkout-track.is-back { transform: translateX(0); }


.checkout-slide-title {
  /* Отступ сверху: заголовок шага — первый элемент внутри слайда, и без
     него он прилипал к полосе шагов вплотную. */
  margin: 12px 0 16px;
  font-family: var(--frz-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.4px;
  color: #f4f4f0;
}

/* --- окно выбора пункта выдачи ---------------------------------------- */


.pickup-sub {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.55;
  color: #8a8a8a;
}

.pickup-search {
  display: block;
  margin: 0 0 14px;
}
.pickup-search-label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--frz-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #6f6f6f;
}
.pickup-search input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #2b2b2b;
  border-radius: 8px;
  background: #1d1d1d;
  color: #f4f4f0;
  font-family: var(--frz-body);
  font-size: 14px;
  outline: none;
  transition: border-color .2s ease, background-color .2s ease;
}
.pickup-search input:focus { border-color: #ff3b18; background: #212121; }

.pickup-body {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 14px;
  /* Карта задаёт высоту всей колонке: без неё список схлопнется в пару
     строк, и окно будет выглядеть пустым до загрузки точек. */
  min-height: 340px;
}

/* Карта рисуется библиотекой, но фон и рамка — наши: без них при загрузке
   видна дыра, а при ошибке непонятно, грузилось ли что-то. */
.pickup-map {
  height: 340px;
  border: 1px solid #262626;
  border-radius: 12px;
  background: #15181c;
  overflow: hidden;
}

/* Метка пункта выдачи на карте Яндекса.
   API ставит элемент в точку координаты; сдвиг поднимает картинку так,
   чтобы остриё было ровно на точке, а не середина картинки. */
.pickup-pin {
  position: absolute;
  display: block;
  width: 34px;
  height: 46px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transform: translate(-50%, -100%);
  transform-origin: 50% 100%;
  transition: transform .15s ease, filter .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.pickup-pin img {
  display: block;
  width: 34px;
  height: 46px;
  pointer-events: none;
}
.pickup-pin:hover,
.pickup-pin.is-hover {
  transform: translate(-50%, -100%) scale(1.12);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .45));
}
.pickup-pin.is-selected {
  transform: translate(-50%, -100%) scale(1.18);
  filter: drop-shadow(0 0 6px rgba(255, 59, 24, .85));
}
.pickup-pin:focus-visible {
  outline: 2px solid #ff3b18;
  outline-offset: 3px;
  border-radius: 4px;
}

/* Объяснение вместо карты: ключа нет, библиотека не загрузилась. */
.pickup-map-note {
  margin: 0;
  padding: 18px;
  font-size: 13px;
  line-height: 1.55;
  color: #8a8a8a;
}

.pickup-side {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-height: 340px;
}

.pickup-state {
  margin: 0 0 10px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #7a7a7a;
}
.pickup-state:empty { display: none; }
.pickup-state.is-error { color: #ff6a4d; }

.pickup-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  align-content: start;
}

/* Кнопка пункта, а не <li>: весь пункт целиком кликабельный, и это
   честнее, чем клик по строке списка. */
.pickup-item {
  display: block;
  width: 100%;
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 11px;
  background: rgba(255, 255, 255, .03);
  text-align: left;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease;
}
.pickup-item:hover {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .2);
}
.pickup-item.is-picked {
  border-color: rgba(255, 59, 24, .7);
  background: rgba(255, 59, 24, .11);
}
.pickup-item b {
  font-family: var(--frz-display);
  font-size: 13.5px;
  font-weight: 600;
  color: #f2f2ee;
}

/* Название пункта и расстояние в одну строку. Расстояние прижато вправо,
   чтобы взгляд шёл по нему сверху вниз — строки уже отсортированы от
   ближайшей к дальней. */
.pickup-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.pickup-far {
  flex: none;
  font-size: 12px;
  font-weight: 600;
  color: #ff8a72;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.pickup-item.is-picked .pickup-far {
  color: #fff;
}
.pickup-item small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.5;
  color: #777;
}

.pickup-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}
.pickup-chosen {
  margin: 0;
  min-width: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: #8a8a8a;
}
.pickup-chosen b { color: #f2f2ee; }
.pickup-actions { display: flex; gap: 10px; flex: none; }

@media (max-width: 720px) {
  /* Селектор удвоен намеренно: базовое .dialog--wide стоит в файле ниже,
     чем этот медиазапрос (оно рядом с .dialog). У обоих специфичность
     (0,1,0), и при равной специфичности выигрывает нижний — то есть на
     телефоне применилось бы правило шириной 940px, и окно с картой
     вылезло бы за край экрана. Лишний класс поднимает специфичность
     медиазапроса до (0,2,0) и делает его независимым от порядка. */
  .dialog.dialog--wide { width: 100%; }
  .pickup-body { grid-template-columns: minmax(0, 1fr); }
  .pickup-map { height: 230px; }
  .pickup-side { max-height: 260px; }
  .pickup-actions { width: 100%; }
  .pickup-actions .btn { flex: 1; }
}

/* --- способы доставки -------------------------------------------------- */
/* Карточка крупная и с явным выбранным состоянием: выбор доставки —
   главное решение этого шага, и его нельзя спутать с описанием. */
.delivery-options { display: grid; gap: 10px; }

/* Обёртка — это рамка карточки. Кнопка выбора и кнопка пункта выдачи
   лежат внутри неё обе, поэтому пункт выдачи не висит под рамкой
   отдельным элементом.

   Имя не `.delivery-card`: такой класс уже занят карточками в окне
   «Доставка», и правила начали бы цеплять их вместо оформления. */
.delivery-row {
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 15px;
  background: rgba(255, 255, 255, .03);
  overflow: hidden;
  transition: background .18s ease, border-color .18s ease;
}
.delivery-row:hover {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .18);
}
.delivery-row.is-picked {
  border-color: rgba(255, 59, 24, .65);
  background: rgba(255, 59, 24, .09);
}

/* Разворот через grid-template-rows: 0fr -> 1fr. В отличие от max-height
   не нужно угадывать высоту — ряд растёт ровно до своего содержимого.
   Отступы лежат ВНУТРИ обрезаемой части, иначе в свёрнутом виде они
   оставались бы видны. */
.delivery-point {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s cubic-bezier(.4, 0, .2, 1);
}
/* Отступ — на кнопке, а не на .delivery-point-inner: overflow: hidden
   обрезает содержимое, но не отступы. С отступом на самом блоке он
   оставался бы снаружи клипа, и свёрнутая строка занимала 10px
   вместо нуля. */
.delivery-point-inner { overflow: hidden; min-height: 0; }
.delivery-row.is-picked .delivery-point { grid-template-rows: 1fr; }

.delivery-point-btn {
  display: block;
  /* Ширина считается от минус отступы: иначе кнопка вылезет за рамку
     карточки. Отступы живут на самой кнопке, а не на обрезаемом блоке
     .delivery-point-inner: overflow:hidden не обрезает отступы. */
  width: calc(100% - 32px);
  margin: 10px 16px 15px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 11px;
  background: rgba(255, 255, 255, .04);
  color: #f0f0ec;
  cursor: pointer;
  font-family: var(--frz-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .01em;
  transition: background .18s ease, border-color .18s ease;
}
/* Пункт выбран. Зелёным по просьбе владельца: до этого состояние
   сообщалось строкой с адресом под кнопкой. */
.delivery-point-btn.is-chosen {
  border-color: #2f9e5e;
  background: #2f9e5e;
  color: #fff;
}
.delivery-point-btn.is-chosen:hover {
  border-color: #37b96c;
  background: #37b96c;
}

.delivery-point-btn:hover {
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 255, 255, .28);
}

/* Раньше выбранный пункт показывался строкой под кнопкой, и для неё были
   правила .delivery-point-chosen. По просьбе владельца строка убрана, а
   состояние показывает сама кнопка — см. .delivery-point-btn.is-chosen выше.
   Эти правила удалены, чтобы не осталось стилей для несуществующего
   элемента. */

.delivery-option {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 13px;
  width: 100%;
  padding: 15px 16px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.delivery-check {
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  margin-top: 1px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  font-size: 11px;
  color: transparent;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.delivery-text b {
  display: block;
  font-family: var(--frz-display);
  font-size: 15px;
  font-weight: 600;
  color: #f4f4f0;
}
.delivery-text small {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #777;
}

/* Известная цена доставки. Отличается от описания способа тем, что это
   не «где и как», а сколько: цифра, на которую смотрят, чтобы решить.
   Поэтому она светлее и на полтона тона плотнее. */
.delivery-text .delivery-price {
  color: #a9a9a4;
  font-weight: 500;
}
.delivery-option.is-picked .delivery-text .delivery-price { color: #d6d6cf; }

.delivery-option.is-picked .delivery-check {
  background: #ff3b18;
  border-color: #ff3b18;
  color: #0b0f14;
}
.delivery-option.is-picked .delivery-text b { color: #fff; }

.delivery-hint {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: #6f6f6f;
}

/* «Назад» и «Оплатить» в ряд: узкая кнопка оплаты с суммой в одну
   строку не помещается, а растягивать её на всю ширину окна не нужно. */
.checkout-nav {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.checkout-nav .btn { flex: 1; }
.checkout-nav .btn-ghost { flex: 0 0 auto; padding-left: 20px; padding-right: 20px; }

@media (max-width: 520px) {
  .checkout-nav { flex-direction: column-reverse; }
  .checkout-nav .btn { width: 100%; }
}

/* ==========================================================================
   FreeRideZone — стили

   Структура:
     1. База и утилиты
     2. Шапка и мобильное меню
     3. Герой (лендинг)
     4. Бегущая строка
     5. Секции и каталог
     6. Кастом / преимущества / счётчики
     7. Финальный CTA и подвал
     8. Корзина и оформление
     9. Модалки
    10. Анимации и скролл-эффекты
    11. Адаптив
   ========================================================================== */

/* --- 1. База ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Светлая системная полоса прокрутки на тёмной странице выглядит как
   белая полоса справа. Скрываем её — колесо, тач и клавиатура работают. */
html { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar { width: 0; height: 0; }

body {
  margin: 0;
  background: #0b0b0b;
  color: #f4f4f0;
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

button { font: inherit; border: 0; background: none; color: inherit; cursor: pointer; }

img { display: block; max-width: 100%; }

:focus-visible { outline: 2px solid #ff3b18; outline-offset: 3px; }

::selection { background: #ff3b18; color: #fff; }


.skip-link {
  position: absolute; left: 50%; top: -60px; transform: translateX(-50%);
  z-index: 300; background: #ff3b18; color: #fff; padding: 12px 20px;
  font-weight: 800; font-size: 13px; border-radius: 0 0 6px 6px;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

/* Прогресс прокрутки */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, #ff3b18, #ff8a5c);
  z-index: 120; pointer-events: none;
}

/* Пятно света за курсором */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 520px; height: 520px;
  margin: -260px 0 0 -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 59, 24, .10), transparent 65%);
  pointer-events: none; z-index: 1; opacity: 0;
  transition: opacity .4s ease;
  will-change: transform;
}
.cursor-glow.is-active { opacity: 1; }

/* --- 2. Шапка ----------------------------------------------------------- */
.header {
  height: 76px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #242424;
  position: sticky;
  top: 0;
  background: rgba(11, 11, 11, .82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 20;
  transition: height .3s ease, background-color .3s ease, border-color .3s ease;
}

/* Шапка сжимается при прокрутке */
.header.is-scrolled {
  height: 60px;
  background: rgba(11, 11, 11, .96);
}

.logo { font-weight: 900; letter-spacing: -1px; font-size: 20px; color: #fff; }
.logo span { color: #ff3b18; }

.header-nav { display: flex; align-items: center; gap: 32px; color: #aaa; font-size: 14px; }
.header-nav a { position: relative; padding: 4px 0; transition: color .2s ease; }
.header-nav a:hover { color: #fff; }

/* Подчёркивание, выезжающее из центра */
.header-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: #ff3b18;
  transform: scaleX(0); transform-origin: 50% 50%;
  transition: transform .28s cubic-bezier(.2, .8, .2, 1);
}
.header-nav a:hover::after { transform: scaleX(1); }

/* Кнопки в шапке («О нас», «Контакты») выглядят как ссылки, но это
   <button>: без своих правил они взяли бы вид системной кнопки. */
.header-nav button { color: #aaa; font-size: 14px; padding: 0; transition: color .2s ease; }
.header-nav button:hover { color: #fff; }

.cart-button {
  background: #f3f3ee; color: #0b0b0b;
  padding: 11px 16px; border-radius: 100px; font-weight: 700; white-space: nowrap;
  transition: transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .2s ease;
}
.cart-button:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, .5); }
.cart-button span {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px;
  margin-left: 7px; background: #ff3b18; color: #fff; border-radius: 50%;
  font-size: 11px; font-weight: 800;
}
.cart-button.is-bumped span { animation: frzBump .4s cubic-bezier(.2, .8, .2, 1); }
@keyframes frzBump {
  0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); }
}

/* Группа кнопок справа в шапке */
.header-actions { display: flex; align-items: center; gap: 12px; }

/* Счётчик найденных товаров рядом с фильтрами */
.catalog-count { margin: 0 0 0 6px; font-size: 11px; color: #666; letter-spacing: .5px; }

/* Кнопка-бургер */
.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 10px;
  background: rgba(255, 255, 255, .06); position: relative;
}
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: #fff;
  border-radius: 2px; transition: transform .3s cubic-bezier(.2, .8, .2, 1), opacity .2s ease;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Мобильная панель навигации */
.mobile-nav {
  position: fixed; inset: 76px 0 auto 0; z-index: 19;
  background: rgba(11, 11, 11, .98);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid #242424;
  display: grid; gap: 4px; padding: 14px 6vw 24px;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), opacity .3s ease;
}
.mobile-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
.mobile-nav a, .mobile-nav button {
  padding: 15px 4px; font-size: 20px; font-weight: 800; letter-spacing: -.5px;
  color: #ddd; text-align: left; border-bottom: 1px solid #1c1c1c;
}
.mobile-nav a:hover, .mobile-nav button:hover { color: #ff3b18; }
.mobile-nav .btn { margin-top: 14px; border-bottom: 0; }

/* --- 3. Герой ----------------------------------------------------------- */
.hero {
  min-height: 680px;
  padding: 80px 7vw 70px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 40px;
  overflow: hidden;
  position: relative;
  background: radial-gradient(circle at 75% 50%, #272727 0, #101010 32%, #0b0b0b 65%);
}

/* Мягкое световое пятно, реагирующее на курсор */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 59, 24, .09), transparent 70%);
  opacity: 0; transition: opacity .5s ease;
}
.hero.is-hovered::before { opacity: 1; }

.hero-copy { position: relative; z-index: 2; }

.eyebrow {
  margin: 0; font-size: 11px; letter-spacing: 2.5px; color: #ff4a2a;
  font-weight: 800; text-transform: uppercase;
}

/* Заголовок, проявляющийся по буквам */
.hero h1 {
  font-size: clamp(58px, 8vw, 116px);
  line-height: .86; letter-spacing: -6px; margin: 20px 0 30px; max-width: 700px;
  /* Никаких переносов внутри слов: «дос-ка» на телефоне читается как
     опечатка. Если строка не влезает, она переносится по пробелу. */
  overflow-wrap: normal; hyphens: manual;
}
.hero h1 i { font-style: normal; color: #ff3b18; }

.frz-line { display: block; overflow: hidden; }
.frz-motion .frz-line > span {
  display: inline-block; transform: translateY(105%);
  animation: frzLineUp .8s cubic-bezier(.16, 1, .3, 1) forwards;
}
.frz-motion .frz-page-ready .frz-line:nth-of-type(1) > span { animation-delay: .10s; }
.frz-motion .frz-page-ready .frz-line:nth-of-type(2) > span { animation-delay: .20s; }
@keyframes frzLineUp { to { transform: none; } }

.hero-text { max-width: 470px; color: #aaa; line-height: 1.7; font-size: 16px; margin: 0; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-meta {
  display: flex; flex-wrap: wrap; gap: 28px; margin-top: 38px;
  padding-top: 26px; border-top: 1px solid #242424;
}
.hero-meta div { display: grid; gap: 4px; }
.hero-meta b { font-size: 24px; letter-spacing: -1px; }
.hero-meta small { font-size: 10px; letter-spacing: 1.5px; color: #666; text-transform: uppercase; }

.hero-product { position: relative; height: 530px; display: grid; place-items: center; z-index: 2; }

.hero-product img {
  width: min(82%, 520px); height: auto; max-height: 520px; object-fit: contain;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .7));
  transform: rotate(5deg);
  /* Параллакс: смещение задаётся из JS через CSS-переменные */
  translate: var(--px, 0) var(--py, 0);
  transition: translate .35s cubic-bezier(.2, .8, .2, 1);
  will-change: translate;
}

.hero-circle {
  position: absolute; width: 450px; height: 450px; border-radius: 50%;
  background: #ff3b18; opacity: .12; filter: blur(10px);
  translate: var(--cx, 0) var(--cy, 0);
  transition: translate .5s cubic-bezier(.2, .8, .2, 1);
}

.floating-label {
  position: absolute; right: 3%; bottom: 12%;
  padding: 12px 16px; background: #f3f3ee; color: #111;
  font-size: 11px; font-weight: 900; letter-spacing: 1px;
  translate: var(--px, 0) var(--py, 0);
  transition: translate .35s cubic-bezier(.2, .8, .2, 1);
}

/* Стрелка «прокручивай» */
.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; translate: -50% 0;
  display: grid; justify-items: center; gap: 8px;
  font-size: 9px; letter-spacing: 2px; color: #666; text-transform: uppercase;
}
.scroll-hint i {
  display: block; width: 1px; height: 40px; background: linear-gradient(#666, transparent);
  animation: frzScrollLine 1.8s ease-in-out infinite;
}
@keyframes frzScrollLine {
  0%, 100% { transform: scaleY(.4); transform-origin: 50% 0; opacity: .4; }
  50% { transform: scaleY(1); transform-origin: 50% 0; opacity: 1; }
}

/* --- 4. Бегущая строка -------------------------------------------------- */
.marquee {
  display: flex; overflow: hidden; user-select: none;
  padding: 17px 0; border-top: 1px solid #242424; border-bottom: 1px solid #242424;
  color: #777; font-size: 10px; font-weight: 800; letter-spacing: 2px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; flex-shrink: 0; gap: 60px; padding-right: 60px;
  animation: frzMarquee 26s linear infinite;
}
@keyframes frzMarquee { to { transform: translateX(-100%); } }

/* --- 5. Секции и каталог ------------------------------------------------ */
.section { padding: 100px 7vw; }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 45px;
}

.section h2, .custom-copy h2, .features h2, .cta-band h2 {
  font-size: clamp(38px, 5vw, 70px); letter-spacing: -3px; line-height: .95; margin: 12px 0 0;
  /* Unbounded широкий: «следующему» на 38 px занимает 305 px и вылезало
     за край экрана на узких телефонах — страница уезжала вбок.
     Переносы по слогам выключены: «Сде-лаем» в CTA читалось как ошибка.
     Длинное слово при необходимости разорвётся без дефиса. */
  overflow-wrap: break-word; hyphens: manual;
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; }

.filter {
  background: #151515; border: 1px solid #292929; color: #888;
  padding: 9px 13px; border-radius: 100px; font-size: 11px; font-weight: 700;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.filter:hover { transform: translateY(-2px); }
.filter.is-active, .filter:hover { background: #f3f3ee; color: #111; }

.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }

.card {
  position: relative;
  transition: box-shadow .3s ease;
}
/* Карточка больше не подпрыгивает на 7 px при наведении: вместе с ней
   уезжала вверх кнопка «+ В корзину», и курсор оказывался уже вне
   карточки — кнопка исчезала до клика. Тень и зум фото оставляем. */
.card:hover { box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }

.card-image { height: 340px; background: #0c0c0e; position: relative; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-image img { transform: scale(1.06); }

.tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: #ff3b18; color: #fff; font-size: 9px; font-weight: 800;
  padding: 7px 9px; letter-spacing: .5px; text-transform: uppercase;
  z-index: 2;
}

.quick-add {
  position: absolute; bottom: 12px; left: 12px; right: 12px; padding: 12px;
  background: #f3f3ee; color: #111; font-weight: 800;
  opacity: 0; transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease;
  /* Явно выше ссылки на фото. Без этого кнопка оказывалась сверху лишь
     потому, что стоит позже в разметке, — правило, а не гарантия: стоит
     кому-то переставить блок, и тап уйдёт в переход на страницу товара. */
  z-index: 2;
}
.card:hover .quick-add { opacity: 1; transform: none; }
.quick-add:focus-visible { opacity: 1; transform: none; }
.quick-add.is-added { background: #4ade80; color: #07120a; }

.card-info {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 15px; padding: 17px 0; border-bottom: 1px solid #292929;
}
.card-info > div { min-width: 0; }
.card-info h3 { margin: 0 0 4px; font-size: 14px; }
.card-info small {
  display: block; max-width: 100%;
  font-size: 12px; line-height: 1.3; color: #9aa4ae;
  letter-spacing: .2px; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis;
}
.card-info strong { font-size: 14px; white-space: nowrap; }

.catalog-empty { color: #777; padding: 40px 0; }

/* Заголовок страницы каталога */
.page-head {
  padding: 70px 7vw 0;
}
.page-head h1 {
  font-size: clamp(44px, 7vw, 96px); letter-spacing: -4px; line-height: .9;
  margin: 14px 0 0;
}
.page-head p { color: #888; max-width: 520px; line-height: 1.7; margin: 18px 0 0; }
.crumb { font-size: 11px; letter-spacing: 1.5px; color: #666; text-transform: uppercase; }
.crumb a:hover { color: #fff; }

/* --- 6. Кастом / преимущества / счётчики -------------------------------- */
.custom-section { min-height: 698px;
  margin: 30px 7vw 100px; display: grid; grid-template-columns: 1.05fr .95fr;
  background: #151515; position: relative; overflow: hidden;
}
.custom-image { min-height: 600px; position: relative; overflow: hidden; }
.custom-image img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  /* Параллакс: картинка едет медленнее секции */
  translate: 0 var(--img-y, 0); scale: 1.288;
  transition: translate .1s linear; will-change: translate;
}
/* Снимок 036 анфас уже заполняет кадр: убираем доп. зум, чтобы не резать пад */
.custom-image img.custom-img-close { scale: 1; object-position: center; }
.custom-copy { padding: 70px 70px 18px; position: relative; z-index: 2; }
.custom-copy > p:not(.eyebrow) { color: #999; line-height: 1.8; max-width: 500px; }

.custom-copy ul { list-style: none; padding: 15px 0 25px; margin: 0; }
.custom-copy li {
  padding: 14px 0; border-top: 1px solid #292929; color: #bbb;
  transition: padding-left .25s ease, color .25s ease;
}
.custom-copy li:hover { padding-left: 10px; color: #fff; }
.custom-copy li b { color: #ff3b18; margin-right: 20px; }

.features {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #242424; border-bottom: 1px solid #242424;
}
.features > div {
  padding: 50px 4vw; border-right: 1px solid #242424;
  transition: background-color .3s ease;
}
.features > div:hover { background: #101010; }
.features > div:last-child { border-right: 0; }
.features strong { color: #ff3b18; font-size: 11px; letter-spacing: 1px; }
.features h3 { font-size: 22px; margin: 10px 0; }
.features p { color: #777; line-height: 1.7; font-size: 14px; margin: 0; }

/* Счётчики — цифры «накручиваются» при появлении в зоне видимости.
   auto-fit вместо фиксированных 4 колонок: если счётчик скрыт
   (например, рейтинг без реальных отзывов), остальные ровно делят ширину. */
.counters {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 20px; padding: 80px 7vw; border-bottom: 1px solid #242424;
}
.counter { display: grid; gap: 8px; text-align: center; }
.counter[hidden] { display: none; }
.counter b {
  font-size: clamp(38px, 5vw, 64px); font-weight: 900; letter-spacing: -3px;
  color: #fff; font-variant-numeric: tabular-nums;
}
.counter b i { font-style: normal; color: #ff3b18; }

/* Звезда у рейтинга. Типографская звёздочка «*» сидит в шрифте высоко
   над строкой, поэтому используем ★ (U+2605) — она центрируется
   по высоте цифры, как плюсики у соседних счётчиков. */
.counter b i.star-mark {
  display: inline-block;
  font-size: .7em;
  vertical-align: .1em;
  margin-left: .04em;
}
.counter small { font-size: 10px; letter-spacing: 1.5px; color: #666; text-transform: uppercase; }

/* Полоса-призыв перед каталогом */
.cta-band {
  margin: 100px 7vw 0; padding: 70px 6vw; text-align: center;
  border: 1px solid #242424; border-radius: 6px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #141414, #0b0b0b);
}
.cta-band::before {
  content: ""; position: absolute; width: 620px; height: 620px;
  left: 50%; top: -60%; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 59, 24, .18), transparent 62%);
  pointer-events: none;
}
.cta-band h2 { max-width: 760px; margin: 14px auto 30px; position: relative; }

/* --- 7. Подвал ----------------------------------------------------------- */
.footer {
  border-top: 1px solid #242424; padding: 35px 7vw;
  display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center;
  gap: 18px; color: #777; font-size: 12px;
}
.footer .logo { color: #fff; }

.footer-links { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.footer-links a:hover, .footer-links button:hover { color: #fff; }
.footer-links button { color: inherit; font-size: inherit; padding: 0; }
.footer-note { text-align: right; }

/* --- 8. Корзина и оформление -------------------------------------------- */
.overlay {
  position: fixed; inset: 0; background: rgba(0, 0, 0, .72); z-index: 50;
  opacity: 0; pointer-events: none; transition: opacity .38s ease;
}
.overlay.is-open { opacity: 1; pointer-events: auto; }

.cart {
  position: absolute; right: 0; top: 0; height: 100%; width: min(460px, 100%);
  background: #111; padding: 28px; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .42s cubic-bezier(.16, 1, .3, 1);
}
.overlay.is-open .cart { transform: none; }

.cart-head {
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid #292929; padding-bottom: 20px;
}
.cart-head h2 { margin: 0; font-size: 28px; letter-spacing: -1px; }

.icon-close { background: none; color: #fff; font-size: 30px; line-height: 1; }

/* Список позиций прокручивается только вертикально. Анимация въезда
   сдвигает строку вправо — при overflow:auto это мигало бы
   горизонтальным ползунком. */
.cart-items { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 10px 0; }

/* Полоса прокрутки внутри корзины убрана: панель узкая, полоса
   съедала ширину и выглядела как чужой элемент. Колесо мыши и свайп
   продолжают работать. На телефоне полоску оставляем тонкой —
   при большом заказе без неё не понять, что список продолжается. */
.cart-items {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.cart-items::-webkit-scrollbar { width: 0; height: 0; }
@media (max-width: 560px) {
  .cart-items::-webkit-scrollbar { width: 4px; }
}

.cart-item {
  display: grid; grid-template-columns: 80px 1fr 20px; gap: 13px;
  padding: 15px 0; border-bottom: 1px solid #242424;
}
.cart-item img { width: 80px; height: 80px; object-fit: cover; }


.qty { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.qty button {
  background: #242424; color: #fff; width: 25px; height: 25px; font-weight: 800;
  transition: background-color .2s ease, transform .15s ease;
}
.qty button:hover { background: #333; transform: scale(1.1); }
.qty span { min-width: 16px; text-align: center; font-weight: 800; font-size: 13px; }

.remove { color: #666; font-size: 20px; line-height: 1; transition: color .2s ease, transform .2s ease; }
.remove:hover { color: #ff6a4d; transform: rotate(90deg); }

.cart-bottom { position: relative; z-index: 1; }
.total { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; margin: 20px 0; }
.total strong { font-size: 22px; }

.secure, .checkout-note { font-size: 10px; line-height: 1.5; color: #666; margin: 12px 0 0; }
.empty { color: #777; text-align: center; padding: 80px 10px; line-height: 2; }
.empty a { color: #fff; text-decoration: underline; }

/* --- 9. Модалки --------------------------------------------------------- */
.modal {
  position: fixed; inset: 0; z-index: 60; display: grid; place-items: center;
  padding: 20px; background: rgba(0, 0, 0, .72);
  opacity: 0; pointer-events: none; transition: opacity .38s ease;
}
.modal.is-open { opacity: 1; pointer-events: auto; }

.modal-box {
  width: min(560px, 100%); max-height: 90vh; overflow: auto;
  background: #121212; border: 1px solid #292929; padding: 38px;
  position: relative;
}
.modal-close { position: absolute; right: 18px; top: 10px; font-size: 30px; color: #fff; }
.modal-box h2 { font-size: 36px; letter-spacing: -1.5px; margin: 8px 0 25px; }

.modal-box label { display: block; font-size: 11px; color: #999; margin: 13px 0; }
.modal-box input, .modal-box textarea {
  display: block; width: 100%; margin-top: 7px; background: #1b1b1b;
  border: 1px solid #303030; color: #fff; padding: 13px; border-radius: 2px;
  outline: none; font: inherit; font-size: 14px;
  transition: border-color .2s ease, background-color .2s ease;
}
.modal-box input:focus, .modal-box textarea:focus { border-color: #ff3b18; background: #1f1f1f; }
.modal-box textarea { min-height: 80px; resize: vertical; }

.field-error { display: block; color: #ff6a4d; font-size: 11px; margin-top: 6px; min-height: 14px; }
.field-invalid input, .field-invalid textarea { border-color: #ff6a4d; }
.form-error { color: #ff6a4d; font-size: 12px; margin: 10px 0 0; min-height: 16px; }

/* Открытие и закрытие окон.

   Движение общее для подложки и самой панели: одна длительность, одна
   кривая. Если они разойдутся по времени, панель то выпрыгивает из
   готового затемнения, то тонет в неготовом — и переход читается как
   рывок, даже когда каждая часть по отдельности выглядит плавно. */
.dialog-modal {
  position: fixed; inset: 0; z-index: 80; display: grid; place-items: center;
  padding: 20px; visibility: hidden; opacity: 0;
  transition: opacity .3s cubic-bezier(.4, 0, .2, 1), visibility .3s;
}
.dialog-modal.is-open { visibility: visible; opacity: 1; }

/* Тёмное и размытое двигаются по-разному, и это не украшение.

   Затемнение должно начаться сразу — оно и есть отклик на клик.
   А размытие раньше шло по той же кривой с сильным ease-out и за первые
   200 мс проходило больше половины пути: с 0.95 до 5.35px. Самая
   заметная часть движения совпадала с моментом, когда панель ещё
   проявлялась, и глаз читал это как резкое размытие поверх окна.

   Теперь размытие идёт почти равномерно и позже: пауза 80 мс, чтобы
   панель уже обозначилась, и пологий ход на 600 мс. Затемнение тем
   временем уже на месте, поэтому пауза заметной не выглядит. */
.dialog-backdrop {
  position: absolute; inset: 0;
  background: rgba(3, 7, 12, 0);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition: background-color .3s cubic-bezier(.4, 0, .2, 1),
              backdrop-filter .6s cubic-bezier(.3, .3, .7, .7) .08s,
              -webkit-backdrop-filter .6s cubic-bezier(.3, .3, .7, .7) .08s;
}
.dialog-modal.is-open .dialog-backdrop {
  background: rgba(3, 7, 12, .78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.dialog {
  position: relative; width: min(520px, 100%); max-height: min(820px, 90vh);
  overflow: auto; padding: 38px; border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px; background: linear-gradient(145deg, #151a21, #0b0f14);
  box-shadow: 0 30px 100px rgba(0, 0, 0, .58);
  transform: translateY(16px) scale(.985); opacity: 0;
  transition: transform .42s cubic-bezier(.4, 0, .2, 1),
              opacity .42s cubic-bezier(.4, 0, .2, 1);
}

/* Окно выбора пункта выдачи — шире обычного: карта и список должны
   поместиться рядом, а не подменять друг друга.

   Правило обязано стоять ПОСЛЕ .dialog. У обоих специфичность (0,1,0),
   и при равной специфичности выигрывает то, что ниже: если бы это правило
   оказалось выше, ширину снова задал бы .dialog, и окно получилось бы
   узким — карта со списком переставали помещаться. */
.dialog--wide { width: min(940px, 100%); }
/* Масштаб был .96: на панели в 520px это 20px хода по горизонтали,
   и панель заметно «вырастала». 0.985 — тот же жест, но без зума.

   Задержка только при открытии: панель приходит через 50 мс после
   начала затемнения, и движение читается как одно, а не как два
   события подряд. При закрытии класс is-open снимается, задержка
   обнуляется, и окно уходит без «хвоста». */
.dialog-modal.is-open .dialog {
  transform: none; opacity: 1;
  transition-delay: .05s;
}

.dialog-close {
  position: absolute; top: 12px; right: 14px; width: 38px; height: 38px;
  border-radius: 50%; background: rgba(255, 255, 255, .07); color: #fff;
  font-size: 28px; line-height: 1;
  transition: background .2s ease, transform .25s ease;
}
.dialog-close:hover { background: rgba(255, 255, 255, .14); transform: rotate(90deg); }

.dialog-eyebrow { margin: 0 0 8px; font-size: 10px; font-weight: 900; letter-spacing: .16em; opacity: .55; text-transform: uppercase; }
.dialog h2 { margin: 0 42px 12px; font-size: clamp(32px, 5vw, 46px); letter-spacing: -2px; }
.dialog > p { margin: 0 42px 24px 0; color: #999; line-height: 1.65; }

/* Окно описания товара: название модели оранжевым над текстом. */
#productDesc .product-desc-model {
  margin: 0 42px 8px 0; color: #ff4a2a; font-size: 11px; font-weight: 800;
  letter-spacing: 1.4px; text-transform: uppercase;
}
#productDesc .product-desc-text p {
  margin: 0 0 12px; color: #b9b9b4; line-height: 1.65; font-size: 15px;
}
#productDesc .product-desc-text p:last-child { margin-bottom: 0; }

.contact-list { display: grid; gap: 12px; }
.contact-card {
  display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 13px;
  padding: 14px; border: 1px solid rgba(255, 255, 255, .09); border-radius: 16px;
  background: rgba(255, 255, 255, .035);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.contact-card:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .07); border-color: rgba(255, 74, 42, .38); }
.contact-icon {
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 13px; font-size: 19px;
  /* Значки способов связи — красные в обоих окнах, «Контакты» и
     «Обсудить кастом». Оба про одно и то же: как с вами связаться.
     Размер у окон разный, и он задаётся ниже через #contacts. */
  background: rgba(255, 59, 24, .13);
  color: #ff4a2a;
}
.contact-card strong { display: block; font-size: 15px; margin-bottom: 3px; }
.contact-card small { display: block; opacity: .55; font-size: 12px; }
.contact-arrow { font-size: 20px; opacity: .5; transition: transform .2s ease; }
.contact-card:hover .contact-arrow { transform: translateX(4px); color: #ff4a2a; }


.delivery-list { display: grid; gap: 10px; margin: 0 42px 0 0; }
.delivery-card {
  display: grid; grid-template-columns: 34px 1fr; gap: 16px; padding: 19px;
  border: 1px solid rgba(255, 255, 255, .08); border-radius: 17px;
  background: rgba(255, 255, 255, .035);
}
.delivery-num { color: #ff3b18; font-size: 11px; font-weight: 900; padding-top: 3px; }
.delivery-card h3 { margin: 0 0 6px; font-size: 16px; }
.delivery-card p { margin: 0; color: #777; font-size: 13px; line-height: 1.6; }

.delivery-note {
  display: grid; grid-template-columns: auto 1fr; gap: 15px; margin: 18px 42px 0 0;
  padding: 17px 19px; border-radius: 16px;
  background: rgba(255, 59, 24, .07); border: 1px solid rgba(255, 59, 24, .15);
}
.delivery-note strong { color: #ff3b18; font-size: 12px; }
.delivery-note span { color: #999; font-size: 12px; line-height: 1.6; }

/* --- 10. Анимации ------------------------------------------------------- */
@keyframes frzFadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes frzGlow { from { transform: translate3d(0, 0, 0) scale(.95); opacity: .55; } to { transform: translate3d(-45px, 25px, 0) scale(1.08); opacity: 1; } }
@keyframes frzSpin { to { transform: rotate(360deg); } }
@keyframes frzFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes frzPulse { 0%, 100% { opacity: .35; transform: scale(1); } 50% { opacity: .7; transform: scale(1.06); } }

.frz-motion .frz-page-ready .hero-copy { animation: frzFadeUp .7s cubic-bezier(.2, .8, .2, 1) .05s both; }

/* Скрытое начальное состояние применяется ТОЛЬКО когда JS подтвердил,
   что он работает (html.frz-motion). Иначе, если скрипт не загрузится,
   весь контент остался бы невидимым навсегда. */
.frz-motion .frz-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1); }
.frz-motion .frz-reveal.is-visible { opacity: 1; transform: none; }

.frz-motion .frz-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .6s cubic-bezier(.2, .8, .2, 1), transform .6s cubic-bezier(.2, .8, .2, 1); }
.frz-motion .frz-stagger.is-visible > * { opacity: 1; transform: none; }
.frz-motion .frz-stagger.is-visible > *:nth-child(1) { transition-delay: .04s; }
.frz-motion .frz-stagger.is-visible > *:nth-child(2) { transition-delay: .10s; }
.frz-motion .frz-stagger.is-visible > *:nth-child(3) { transition-delay: .16s; }
.frz-motion .frz-stagger.is-visible > *:nth-child(4) { transition-delay: .22s; }
.frz-motion .frz-stagger.is-visible > *:nth-child(5) { transition-delay: .28s; }
.frz-motion .frz-stagger.is-visible > *:nth-child(6) { transition-delay: .34s; }
.frz-motion .frz-stagger.is-visible > *:nth-child(7) { transition-delay: .40s; }
.frz-motion .frz-stagger.is-visible > *:nth-child(8) { transition-delay: .46s; }
.frz-motion .frz-stagger.is-visible > *:nth-child(9) { transition-delay: .52s; }
.frz-motion .frz-stagger.is-visible > *:nth-child(10) { transition-delay: .58s; }

/* Кнопки, «прилипающие» к курсору */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 23px; border-radius: 3px; font-weight: 800; font-size: 13px;
  letter-spacing: .3px; position: relative;
  transition: transform .2s cubic-bezier(.2, .8, .2, 1),
              background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: #ff3b18; color: #fff; }

/* Отключённая кнопка обязана выглядеть отключённой.
   Без этого «Выбрать этот пункт» в окне выбора пункта выдачи оставалась
   красной и нажимабельной на вид, пока на самом деле ничего не делала:
   пока не выбран пункт в списке, нажать её было нельзя. Человек
   нажимал — и ничего не происходило. */
.btn:disabled,
.btn[disabled] {
  opacity: .4;
  cursor: not-allowed;
  box-shadow: none;
}
.btn:disabled:hover,
.btn[disabled]:hover { background: #ff3b18; box-shadow: none; }
.btn-primary:hover { background: #ff512f; box-shadow: 0 12px 34px rgba(255, 59, 24, .32); }
.btn-ghost { border: 1px solid #3b3b3b; color: #fff; }
.btn-ghost:hover { border-color: #777; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none !important; }
.btn-lg { padding: 19px 34px; font-size: 14px; }

/* Пульсирующее кольцо вокруг основной кнопки */
.btn-pulse::after {
  content: ""; position: absolute; inset: -3px; border-radius: 5px;
  border: 1px solid rgba(255, 59, 24, .6); pointer-events: none;
  animation: frzPulse 2.4s ease-in-out infinite;
}

.full { width: 100%; }

.frz-ambient { position: relative; isolation: isolate; }
.frz-ambient::before {
  content: ""; position: absolute; width: 420px; height: 420px; right: -180px; top: 18%;
  border-radius: 50%; background: rgba(255, 59, 24, .065); filter: blur(80px);
  pointer-events: none; z-index: -1; animation: frzGlow 8s ease-in-out infinite alternate;
}

.spinner {
  width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff; border-radius: 50%; display: inline-block;
  vertical-align: -3px; margin-right: 8px; animation: frzSpin .7s linear infinite;
}

.toast {
  position: fixed; bottom: 25px; left: 50%; transform: translate(-50%, 20px);
  background: #f3f3ee; color: #111; padding: 12px 18px; font-size: 12px;
  font-weight: 800; z-index: 200; opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* --- Экран успешной оплаты ---------------------------------------------- */
.success-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: #0b0b0b; }
.success {
  width: min(560px, 100%); padding: 48px 36px; text-align: center;
  background: #121212; border: 1px solid #292929; border-radius: 4px;
}
.success-mark {
  width: 64px; height: 64px; margin: 0 auto 22px; display: grid; place-items: center;
  border-radius: 50%; background: #ff3b18; color: #fff; font-size: 30px; font-weight: 800;
}
.success h1 { margin: 12px 0 12px; font-size: 42px; letter-spacing: -2px; }
.success > p { color: #999; line-height: 1.7; margin: 0 0 28px; }
.success-status { font-size: 13px; color: #777; margin-bottom: 22px; min-height: 40px; line-height: 1.5; }
.success-status[data-state="paid"] { color: #6fdc8c; }
.success-status[data-state="pending"] { color: #ffb45c; }

/* Предупреждение: уведомление продавцу не дошло.
   Не заменяет основной текст, а стоит под ним: заказ оплачен, вопрос
   только в том, знает ли о нём продавец. */
.success-warn {
  margin: -14px 0 22px; padding: 12px 14px;
  border: 1px solid #4a3a1a; border-radius: 12px; background: #1a1509;
  color: #ffb45c; font-size: 13px; line-height: 1.6; text-align: center;
}

/* Номер заказа — то, по чему покупатель свяжется, если что-то не так */
.success-order {
  margin: 0 0 24px; padding: 16px 18px;
  border: 1px solid #292929; border-radius: 14px; background: #141414;
  display: flex; flex-direction: column; gap: 6px; align-items: center;
}
.success-order[hidden] { display: none; }
.success-order-label { font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: #555; }
.success-order-value {
  font-family: var(--frz-display); font-size: 22px; font-weight: 700;
  letter-spacing: 1px; color: #fff; word-break: break-word;
}
.success-order-hint { font-size: 11px; color: #666; line-height: 1.5; }

/* Реквизиты и ссылки на документы под кнопкой */
.success-legal {
  margin: 22px 0 0; padding-top: 18px; border-top: 1px solid #292929;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 6px 16px; font-size: 10px; color: #555; line-height: 1.6;
}
.success-legal span { white-space: nowrap; }
.success-legal a { color: #666; text-decoration: underline; text-underline-offset: 2px; }
.success-legal a:hover { color: #aaa; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .frz-motion .frz-reveal, .frz-motion .frz-stagger > *, .frz-motion .frz-line > span {
    opacity: 1 !important; transform: none !important;
  }
  .marquee-track { animation: none !important; }
}

/* --- 12. Отзывы ---------------------------------------------------------- */
.reviews-page { padding-bottom: 40px; }

/* Предупреждение о демо-данных. Пока DEMO_MODE = true, баннер виден. */
.demo-banner {
  margin: 30px 7vw 0; padding: 20px 24px; max-width: 900px;
  border: 1px solid rgba(255, 176, 46, .35); border-radius: 8px;
  background: rgba(255, 176, 46, .08);
  color: #c9b48a; font-size: 13px; line-height: 1.75;
}
.demo-banner strong { display: block; color: #ffb02e; margin-bottom: 6px; font-size: 14px; }
.demo-banner code {
  background: rgba(0, 0, 0, .35); padding: 2px 6px; border-radius: 3px;
  font-size: 12px; color: #e8c98a;
}

.rating-summary {
  display: grid; grid-template-columns: auto 1fr; gap: 50px;
  align-items: center; margin: 50px 7vw 60px; padding: 40px 0;
  border-top: 1px solid #242424; border-bottom: 1px solid #242424;
}

.rating-score { text-align: center; min-width: 170px; }
.rating-score b {
  display: block; font-size: clamp(56px, 8vw, 88px); font-weight: 900;
  letter-spacing: -5px; line-height: 1;
}
.rating-score small { display: block; margin-top: 12px; font-size: 11px; letter-spacing: 1px; color: #666; text-transform: uppercase; }

.stars { display: inline-flex; gap: 2px; margin-top: 12px; }
.star { color: #3a3a3a; font-size: 17px; line-height: 1; }
.star.is-full { color: #ff3b18; }

.rating-bars { display: grid; gap: 7px; max-width: 420px; width: 100%; }
.rating-bar { display: grid; grid-template-columns: 42px 1fr 30px; align-items: center; gap: 12px; font-size: 12px; }
.rating-bar-label { color: #777; display: inline-flex; align-items: center; gap: 4px; }
.rating-bar-label .star { font-size: 12px; }
.rating-bar-track { height: 5px; background: #1c1c1c; border-radius: 100px; overflow: hidden; }
.rating-bar-track i { display: block; height: 100%; background: #ff3b18; border-radius: 100px; transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.rating-bar-count { color: #666; text-align: right; }

.reviews-list { display: grid; gap: 18px; margin: 0 7vw 90px; }

.review-card {
  position: relative; padding: 28px 30px;
  border: 1px solid #242424; border-radius: 10px; background: #111;
  transition: border-color .25s ease, transform .25s cubic-bezier(.2, .8, .2, 1);
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s cubic-bezier(.2, .8, .2, 1), transform .6s cubic-bezier(.2, .8, .2, 1);
}
.review-card.is-visible { opacity: 1; transform: none; }
.review-card:hover { border-color: #383838; }

.demo-tag {
  position: absolute; top: 14px; right: 16px;
  padding: 4px 9px; border-radius: 100px;
  background: rgba(255, 176, 46, .15); border: 1px solid rgba(255, 176, 46, .4);
  color: #ffb02e; font-size: 9px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase;
}

.review-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: #1c1c1c; color: #ff3b18; font-weight: 900; font-size: 18px;
}
.review-head h3 { margin: 0 0 5px; font-size: 14px; font-weight: 700; }
.review-meta { display: flex; align-items: center; gap: 12px; }
.review-meta .stars { margin: 0; }
.review-meta .star { font-size: 13px; }
.review-meta time { font-size: 11px; color: #555; }

.review-item { margin: 0 0 10px; font-size: 11px; color: #666; letter-spacing: .3px; }
.review-item a { color: #ff4a2a; }
.review-item a:hover { text-decoration: underline; }

.review-text { margin: 0; color: #bbb; font-size: 14px; line-height: 1.8; }

/* Фото отзыва: небольшие миниатюры в один ряд, по клику — файл целиком.
   Размеры заданы жёстко, чтобы карточка не дёргалась, пока грузится
   картинка. */
.review-photos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.review-photo {
  display: block; width: 96px; height: 128px; overflow: hidden;
  border: 1px solid #242424; border-radius: 8px; background: #0d0d0d;
  transition: border-color .25s ease;
}
.review-photo:hover { border-color: #4a4a4a; }
.review-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.review-answer {
  margin-top: 16px; padding: 14px 16px; border-radius: 8px;
  background: #0d0d0d; border-left: 2px solid #ff3b18;
}
.review-answer b { display: block; font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; color: #ff3b18; margin-bottom: 6px; }
.review-answer p { margin: 0; color: #888; font-size: 13px; line-height: 1.7; }

.reviews-empty { text-align: center; padding: 70px 20px; color: #777; }
.reviews-empty p { margin: 0 0 22px; font-size: 14px; }

/* --- Форма отзыва ------------------------------------------------------- */
.review-form-section {
  /* Блок ограничен по ширине: форма в две колонки, растягивать её на
     весь экран незачем. Но отступы были заданы как margin: 0 7vw, и на
     широком экране блок упирался в левый край, а справа оставалась
     пустота. Теперь центрируется: на экране шире 760 + 2*7vw отступы
     не нужны, margin: auto ставит блок ровно посередине. */
  margin: 0 auto 90px; padding: 46px 5vw; max-width: 760px;
  border: 1px solid #242424; border-radius: 14px; background: #111;
}
.review-form-head { margin-bottom: 34px; }
.review-form-head h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -2px; margin: 10px 0 14px; }
.review-form-lead { color: #888; font-size: 14px; line-height: 1.75; margin: 0; max-width: 560px; }

.review-form { display: grid; gap: 20px; }

/* Без этого правила атрибут hidden на форме не работал: display: grid из
   правила автора сильнее браузерного [hidden] { display: none }, и после
   отправки отзыва пустая форма оставалась на экране. Именно так же сделано
   для .counter и .success-order — забыли только здесь. */
.review-form[hidden] { display: none; }

.rf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.rf-field { display: grid; gap: 8px; }
.rf-field.field-invalid input,
.rf-field.field-invalid textarea,
.rf-field.field-invalid select { border-color: #ff6a4d; }

.rf-label { font-size: 11px; color: #999; letter-spacing: .3px; }
.rf-label i { color: #ff3b18; font-style: normal; }

.rf-field input, .rf-field textarea, .rf-field select {
  width: 100%; background: #1b1b1b; border: 1px solid #303030; color: #fff;
  padding: 13px; border-radius: 4px; outline: none;
  font: inherit; font-size: 14px;
  transition: border-color .2s ease, background-color .2s ease;
}
.rf-field textarea { min-height: 110px; resize: vertical; line-height: 1.7; }
.rf-field select {
  appearance: none; cursor: pointer;
  /* стрелка */
  background-image: linear-gradient(45deg, transparent 50%, #777 50%), linear-gradient(135deg, #777 50%, transparent 50%);
  background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.rf-field select option { background: #1b1b1b; color: #fff; }
.rf-field input:focus, .rf-field textarea:focus, .rf-field select:focus { border-color: #ff3b18; background: #1f1f1f; }
.rf-field input::placeholder, .rf-field textarea::placeholder { color: #555; }

.rf-hint { font-size: 10px; color: #555; line-height: 1.5; }

/* Звёзды выбора оценки */
.rf-stars { display: flex; gap: 4px; }
.rf-stars button {
  font-size: 34px; line-height: 1; color: #333; padding: 0 2px;
  transition: color .15s ease, transform .15s ease;
}
.rf-stars button:hover { transform: scale(1.15); }
.rf-stars button.is-preview { color: #5a2a1e; }
.rf-stars button.is-active { color: #ff3b18; }

.rf-consent { font-size: 10px; color: #555; line-height: 1.7; margin: 0; }
.rf-consent a { color: #777; text-decoration: underline; text-underline-offset: 2px; }
.rf-consent a:hover { color: #aaa; }

.form-ok {
  padding: 22px 24px; margin: 0; border-radius: 8px;
  background: rgba(74, 222, 128, .08); border: 1px solid rgba(74, 222, 128, .25);
  color: #6fdc8c; font-size: 14px; line-height: 1.8;
}
.form-ok small { color: #7a8f80; font-size: 12px; }

/* --- 13. Правовые страницы ------------------------------------------------ */
.legal { max-width: 860px; margin: 0 auto; padding: 70px 7vw 100px; }

.legal h1 {
  font-size: clamp(36px, 6vw, 68px); letter-spacing: -3px; line-height: .95;
  margin: 14px 0 12px;
}
.legal-meta { color: #666; font-size: 12px; margin: 0 0 40px; }

.legal h2 {
  font-size: 22px; letter-spacing: -.5px; margin: 46px 0 14px;
  padding-top: 22px; border-top: 1px solid #242424;
}
.legal h3 { font-size: 15px; margin: 26px 0 10px; color: #ddd; }

.legal p, .legal li { color: #999; font-size: 14px; line-height: 1.8; }
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal b, .legal strong { color: #ddd; }

.legal a { color: #ff4a2a; text-decoration: underline; text-underline-offset: 3px; }

/* Таблица реквизитов */
.requisites { display: grid; gap: 0; margin: 20px 0 0; }
.requisites div {
  display: grid; grid-template-columns: minmax(160px, 240px) 1fr; gap: 16px;
  padding: 13px 0; border-bottom: 1px solid #242424;
}
.requisites dt, .requisites span:first-child { color: #888; font-size: 12px; }
.requisites span:last-child { color: #f4f4f0; font-size: 14px; font-weight: 600; }
.requisites .is-empty span:last-child { color: #ff6a4d; font-weight: 400; font-style: italic; }


.legal-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 0; }
.legal-nav a {
  padding: 11px 18px; border: 1px solid #292929; border-radius: 100px;
  font-size: 12px; font-weight: 700; color: #aaa;
}
.legal-nav a:hover { border-color: #555; color: #fff; }

/* Реквизиты в подвале */
.footer-legal { grid-column: 1 / -1; text-align: center; color: #555; font-size: 11px; line-height: 1.8; margin-top: 6px; }
.footer-legal a { color: #666; text-decoration: underline; text-underline-offset: 2px; }
.footer-legal a:hover { color: #aaa; }
.footer-legal span { white-space: nowrap; }

@media (max-width: 900px) {
  .footer { grid-template-columns: 1fr; }
  .footer-legal { text-align: center; }
}
@media (max-width: 560px) {
  .legal { padding: 50px 22px 70px; }
  .requisites div { grid-template-columns: 1fr; gap: 4px; }
}

/* --- 11. Адаптив -------------------------------------------------------- */
@media (max-width: 1000px) {
  .products { grid-template-columns: repeat(3, 1fr); }
  .counters { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .counter[hidden] { display: none; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 50px; }
  .hero-product { height: auto; padding: 24px 0 10px; }
  .hero-product img { height: auto; }
  .custom-section { grid-template-columns: 1fr; min-height: 0; }
  .custom-image { min-height: 400px; }
  .features { grid-template-columns: 1fr; }
  .features > div { border-right: 0; border-bottom: 1px solid #242424; }
  .footer { grid-template-columns: 1fr; text-align: center; }
  .footer-note, .footer-links { text-align: center; justify-content: center; }

  .header-nav { display: none; }
  .nav-toggle { display: block; }
  .mobile-nav { inset: 76px 0 auto 0; }
  .header.is-scrolled ~ .mobile-nav { inset: 60px 0 auto 0; }
}

@media (max-width: 560px) {
  .header { padding: 0 18px; }
  .logo { font-size: 16px; }
  .hero { padding: 50px 22px 90px; min-height: 620px; }
  .hero h1 { font-size: clamp(44px, 14.3vw, 58px); letter-spacing: -4px; }
  .hero-product { height: auto; padding: 16px 0 8px; }
  .hero-product img { height: auto; }
  .hero-meta { gap: 18px 24px; }
  .section, .page-head { padding: 70px 22px; }
  .page-head { padding-top: 44px; }
  .section-head { display: block; }

  /* Заголовок секции из двух строк наезжал на кнопку под ним.
   *
   * Причина в line-height: .95 у крупных заголовков. Блок высотой в две
   * строки — это 2 × 38px при шрифте 40px, а буквы Unbounded с
   * выносными элементами выше. Нижние выносные выходили за пределы блока
   * и ложились прямо на кнопку «Все StomPad'ы».
   *
   * Замеряно в браузере при ширине 390px: глифы выходили за блок на 6px,
   * и overlapsBtn был true.
   *
   * Лечится двумя правилами вместе: межстрочный интервал чуть свободнее
   * и явный отступ перед кнопкой. Только интервал — недостаточно, он
   * оставляет щель в несколько пикселей; только отступ — не помогает,
   * когда строк не две, а три.
   */
  .section h2, .custom-copy h2, .features h2,
  .cta-band h2 { line-height: 1.06; }
  .section-head .btn { margin-top: 20px; }

  .filters { margin-top: 22px; overflow: auto; padding-bottom: 5px; }
  .products { grid-template-columns: 1fr; gap: 30px; }
  .card-image { height: 360px; }
  .quick-add { opacity: 1; transform: none; }
  .custom-section { margin: 0 22px 70px; }
  .custom-copy { padding: 40px 25px; }
  .custom-image { min-height: 330px; }
  .features > div { padding: 38px 22px; }
  .counters { padding: 60px 22px; }
  .cta-band { margin: 70px 22px 0; padding: 50px 24px; }
  .footer { padding: 30px 22px; }
  .dialog, .modal-box { padding: 28px 20px 20px; border-radius: 20px; }
  .dialog h2, .dialog > p, .delivery-list, .delivery-note { margin-right: 0; }
  .delivery-list { margin-left: 0; }
  .delivery-note { grid-template-columns: 1fr; gap: 5px; }
  .success { padding: 36px 22px; }
  .success h1 { font-size: 34px; }
  .scroll-hint { display: none; }
  .cursor-glow { display: none; }

  .rating-summary { grid-template-columns: 1fr; gap: 34px; text-align: center; margin: 40px 22px 50px; }
  .rating-bars { max-width: 100%; }
  .reviews-list { margin: 0 22px 60px; }
  .review-card { padding: 22px 20px; }
  .review-photo { width: 84px; height: 112px; }
  .demo-banner { margin: 24px 22px 0; padding: 16px 18px; }
  /* Отступы 22px оставляем: на узком экране блок почти равен ширине
     окна, и auto-центрирование ничего бы не дало. */
  .review-form-section { margin: 0 auto 60px; padding: 30px 22px; }
  .rf-grid { grid-template-columns: 1fr; gap: 20px; }
  .rf-stars button { font-size: 30px; }
}

/* ================================================================
   СТРАНИЦА ТОВАРА  (product.html)
   ================================================================ */

.product-view {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  padding: 34px 7vw 0;
  align-items: start;
}

/* ------------------------------------------------------------ галерея */

.gallery-main {
  position: relative;
  background: #0c0c0e;
  border: 1px solid #242424;
  overflow: hidden;
  /* Пропорции подстраиваются под саму фотографию (--gal-ratio ставит JS):
     кадры бывают и квадратные (800×800), и вертикальные (1200×1600).
     С фиксированным 1 / 1 вертикальные снимки получали чёрные поля по бокам. */
  aspect-ratio: var(--gal-ratio, 1 / 1);
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.thumb {
  padding: 0;
  border: 1px solid #242424;
  background: #151515;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  transition: border-color .2s ease, opacity .2s ease;
  opacity: .55;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb:hover { opacity: .85; }
.thumb.is-active { opacity: 1; border-color: #ff3b18; }

/* Лупа: увеличенный участок фотографии под курсором. */
.lens {
  position: absolute; top: 0; left: 0;
  width: 150px; height: 150px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .85);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .65);
  pointer-events: none;
  opacity: 0;
  z-index: 1;                       /* под .tag (z-index: 2) */
  background-repeat: no-repeat;
  transition: opacity .18s ease;
}
.gallery-main.is-zooming .lens { opacity: 1; }
.gallery-main.is-zooming { cursor: crosshair; }

/* Стрелки переключения фотографий. */
.gal-arrow {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(11, 11, 11, .74);
  border: 1px solid #2e2e2e;
  color: #fff; font-size: 18px; line-height: 1;
  cursor: pointer; z-index: 3;
  opacity: 0;
  transition: opacity .2s ease, background .2s ease, border-color .2s ease;
}
.gallery-main:hover .gal-arrow { opacity: 1; }
.gal-arrow:hover { background: #ff3b18; border-color: #ff3b18; }
.gal-prev { left: 14px; }
.gal-next { right: 14px; }

/* Переключатель лупы в углу фотографии. */
.zoom-toggle {
  position: absolute; right: 14px; bottom: 14px; z-index: 4;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 13px 8px 11px;
  background: rgba(11, 11, 11, .78);
  border: 1px solid #2e2e2e;
  border-radius: 999px;
  color: #777;
  font-family: inherit;
  font-size: 10px; font-weight: 700;
  letter-spacing: 1.4px; text-transform: uppercase;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.zoom-toggle:hover { color: #fff; border-color: #3d3d3d; background: rgba(11, 11, 11, .92); }

/* Включена — загорается фирменным оранжевым. */
.gallery[data-zoom="on"] .zoom-toggle {
  color: #ff4a2a;
  border-color: rgba(255, 74, 42, .5);
}
.gallery[data-zoom="on"] .zoom-toggle:hover { color: #ff6a4d; border-color: #ff4a2a; }
.gallery[data-zoom="off"] .zoom-toggle { opacity: .75; }

/* На сенсорных экранах лупы нет — прячем значок, чтобы не мигал. */
@media (hover: none) {
  .zoom-toggle { display: none; }

  /* Кнопка «+ В корзину» проявлялась только по наведению мыши. На устройствах
     без наведения — планшет, ноутбук с сенсорным экраном — она оставалась
     невидимой: нажать можно, но не видно, что нажимаешь. Правило для узких
     экранов ниже это покрывает, а широкий планшет — нет. */
  .quick-add { opacity: 1; transform: none; }
}

.gallery-hint {
  margin: 14px 0 0;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #666;
}

/* ------------------------------------------------------ блок с ценой */

.product-info { position: relative; }
.product-info .eyebrow { margin-bottom: 12px; }
.product-info h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  font-weight: 900;
}

.product-price {
  margin: 0 0 22px;
  font-size: 27px;
  font-weight: 800;
  color: #ff4a2a;
  letter-spacing: -.5px;
}

.product-desc p {
  margin: 0 0 26px;
  font-size: 15px;
  line-height: 1.65;
  color: #aaa;
  max-width: 46ch;
}

/* -------------------------------------------------- характеристики */

.specs {
  margin: 0 0 30px;
  border-top: 1px solid #242424;
}
.spec-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid #242424;
  transition: background .2s ease;
}
.spec-row:hover { background: rgba(255, 255, 255, .025); }
.spec-row dt {
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #666;
  padding-top: 3px;
}
.spec-row dd { margin: 0; font-size: 15px; font-weight: 600; color: #f4f4f0; }
.spec-empty { color: #555; font-weight: 500; }

/* Строка «Описание»: кликается вся строка, а не только надпись. */
.spec-row--action { cursor: pointer; }
.spec-open {
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 0; color: #f4f4f0; font: inherit; font-weight: 600;
  transition: color .2s ease;
}
.spec-open-arrow { color: #ff3b18; transition: transform .2s ease; }
.spec-row--action:hover .spec-open { color: #ff4a2a; }
.spec-row--action:hover .spec-open-arrow { transform: translateX(-4px); }
.spec-open:focus-visible { outline: 2px solid #ff3b18; outline-offset: 3px; border-radius: 4px; }

/* Образцы оттенков слева от названия цвета: один кружок на цвет. */
.swatches {
  display: inline-flex; align-items: center; gap: 6px;
  margin-right: 9px; vertical-align: middle;
}
.swatches i {
  display: block; width: 18px; height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .38);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .18);
}

/* ------------------------------------------------------- покупка */

.product-actions { display: grid; gap: 12px; }

/* Отклик кнопки «Добавить в корзину». Магнит тут не нужен:
   он двигает transform из JS и спорил бы с анимацией нажатия. */
#addToCartBtn { transform-origin: center; }
#addToCartBtn.is-pulsed { animation: frzPop .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes frzPop {
  0%   { transform: scale(1); }
  38%  { transform: scale(.93); }
  100% { transform: scale(1); }
}

/* Копия фотографии, летящая в кнопку корзины. */
.fly-ghost {
  position: fixed; z-index: 9999; pointer-events: none;
  border-radius: 14px; object-fit: cover;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .6);
  transition: transform .68s cubic-bezier(.55, 0, .3, 1), opacity .3s ease-in .4s;
}

.is-added { background: #1f9d55 !important; }

/* ---------------------------------------------- товар не найден */

.product-missing {
  padding: 90px 7vw 120px;
  text-align: center;
  display: grid;
  gap: 18px;
  justify-items: center;
}
.product-missing h1 { margin: 0; font-size: 34px; font-weight: 900; letter-spacing: -1px; }
.product-missing p { margin: 0; color: #777; }

/* ------------------------------------------------ инструкция */

/* Вступление перед инструкцией: что уже есть в комплекте и что остаётся покупателю */
.install-lead {
  margin: 0 7vw 26px;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.65;
  color: #8d8d8d;
}

/* Инструкция — дословный текст владельца, но по пунктам: номер,
   первый абзац пункта полужирным, остальное обычным. Одна колонка:
   пункты длинные, в две колонки строки становятся слишком узкими. */
.install-list {
  list-style: none;
  margin: 0 7vw;
  padding: 0;
  display: grid;
  gap: 16px;
}
.install-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 22px;
  background: #151515;
  border: 1px solid #242424;
}
.install-num {
  font-size: 21px;
  font-weight: 900;
  color: #ff3b18;
  letter-spacing: -1px;
  line-height: 1;
}
.install-step p { margin: 0; font-size: 14px; line-height: 1.7; color: #9a9a9a; }
.install-step p + p { margin-top: 10px; }
.install-step b { color: #ddd; font-weight: 700; }

/* Блок разделён на две группы: красная — про сцепление, серая — про
   снятие. Раньше это был один список с буллитами, где серьёзное
   «не клейте на лёд» стояло рядом с «не тяните резко». */
.install-notes {
  margin: 26px 7vw 0;
  padding: 22px 24px;
  background: rgba(255, 59, 24, .07);
  border-left: 3px solid #ff3b18;
}

.in-group + .in-group {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .09);
}

.in-label {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.in-label--stop { color: #ff4a2a; }
.in-label--warm { color: #8d8d8d; }

.in-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 13px; }
.in-list li { display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; align-items: start; }
.in-list p { margin: 0; font-size: 14px; line-height: 1.6; color: #8d8d8d; }
.in-list b { color: #e8e8e8; font-weight: 700; }

/* Значок держит колонку ровной, чтобы текст всех пунктов начинался
   на одной вертикали. */
.in-mark {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}
.in-mark--stop { background: rgba(255, 59, 24, .18); color: #ff5c3d; }
.in-mark--warm { background: rgba(255, 255, 255, .08); color: #c8c8c8; }

/* На телефоне боковые отступы съедали треть ширины: текст оставался
   колонкой в 175 px и ломался через три слова. */
@media (max-width: 700px) {
  .install-notes { margin: 22px 0 0; padding: 18px 16px; }
  .in-group + .in-group { margin-top: 16px; padding-top: 16px; }
  .in-label { margin-bottom: 12px; }
  .in-list { gap: 11px; }
  .in-list li { grid-template-columns: 20px 1fr; column-gap: 10px; }
  .in-list p { font-size: 13.5px; }
  .in-mark { width: 20px; height: 20px; font-size: 11px; }
}

/* --------------------------------------- карточка-ссылка на товар */

a.card-image { display: block; }
.card-photo { display: block; height: 100%; }
.card-info h3 a { color: inherit; text-decoration: none; }
.card-info h3 a:hover { color: #ff4a2a; }

@media (max-width: 900px) {
  .product-view { grid-template-columns: 1fr; gap: 34px; padding-top: 20px; }
  .spec-row { grid-template-columns: 120px 1fr; }
  .install-list { gap: 14px; }
  .install-step { grid-template-columns: 40px 1fr; gap: 12px; padding: 18px 16px; }
}

/* ================================================================
   ОТЗЫВЫ О ТОВАРЕ
   ================================================================ */

/* Одна колонка: карточка отзыва должна быть той же ширины, что
   и на странице «Отзывы». Секция .section уже даёт отступ 7vw —
   свой margin здесь складывался с ним и карточка выходила вдвое уже. */
.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 0;
  align-items: start;
}

#productReviews .reviews-empty {
  margin: 0;
  padding: 40px 30px;
  text-align: center;
  border: 1px dashed #2a2a2a;
  display: grid;
  gap: 18px;
  justify-items: center;
}
#productReviews .reviews-empty p {
  margin: 0;
  max-width: 46ch;
  color: #888;
  line-height: 1.6;
}

#productReviews h2 small {
  font-size: .34em;
  font-weight: 600;
  letter-spacing: 0;
  color: #777;
  vertical-align: middle;
  margin-left: 6px;
}

@media (max-width: 900px) {
  /* На этой ширине страница «Отзывы» даёт карточкам отступ 22px,
     а .section — 7vw. Выравниваем блок отзывов товара по странице
     отзывов, иначе карточки разной ширины. */
  #productReviews { padding-left: 22px; padding-right: 22px; }
  .review-grid { gap: 16px; }
}

/* ================================================================
   ОФОРМЛЕНИЕ КОРЗИНЫ
   ================================================================ */

/* --- карточка позиции --- */

.cart-item {
  position: relative;
  display: grid;
  grid-template-columns: 88px 1fr 22px;
  gap: 15px;
  align-items: start;
  padding: 16px;
  margin: 0 0 12px;
  background: #151515;
  border: 1px solid #222;
  border-radius: 10px;
  transition: border-color .25s ease, transform .25s ease, opacity .22s ease;
}
.cart-item:hover { border-color: #343434; transform: translateX(-3px); }

/* въезд новой позиции */
.cart-item.is-entering { animation: cartIn .34s cubic-bezier(.2, .8, .2, 1); }
/* уход удаляемой позиции */
.cart-item.is-removing {
  opacity: 0;
  transform: translateX(26px) scale(.97);
  pointer-events: none;
}
@keyframes cartIn {
  from { opacity: 0; transform: translateX(26px); }
  to   { opacity: 1; transform: translateX(0); }
}

.ci-photo {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  background: #1d1d1d;
}
.ci-photo img {
  display: block;
  width: 100%;
  height: 88px;
  object-fit: cover;
  transition: transform .45s ease;
}
.ci-photo:hover img { transform: scale(1.07); }

.ci-main { min-width: 0; }

.ci-name {
  display: block;
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.1px;
  color: #f4f4f0;
  text-decoration: none;
  line-height: 1.3;
}
.ci-name:hover { color: #ff4a2a; }

.ci-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ci-row .qty { margin-top: 0; }

.ci-sum { font-size: 14px; font-weight: 800; white-space: nowrap; }

.cart-item .remove {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

/* --- пустое состояние --- */

.cart-empty {
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
  padding: 44px 24px 56px;
}
.cart-empty-art { width: 96px; height: 96px; display: block; }
.cart-empty-title { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -.4px; }
.cart-empty .btn { margin-top: 6px; }

/* ------------------------------------- заверения в оформлении заказа */

/* Версия с пояснениями, разложенная в три колонки. Одной строкой
   было читаемо, но без пояснений — сухо: не сказано, что именно
   покрывает гарантия и с какого момента считается отправка. */

.cart-assure {
  list-style: none;
  margin: 10px 0;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 12px;
  background: rgba(255, 255, 255, .02);
  display: grid;
  /* minmax(0, ...) обязателен: с обычным 1fr длинное «Отказ до передачи»
     растягивает свою колонку шире контейнера, и третий пункт вылезал
     за пра��ый край окна оформления. */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.cart-assure li {
  display: grid;
  grid-template-columns: 20px 1fr;
  grid-template-areas: "mark title" ". hint";
  column-gap: 9px;
  align-items: start;
}

.ca-mark {
  grid-area: mark;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(31, 157, 85, .16);
  color: #1f9d55;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  flex: none;
}

.cart-assure b {
  grid-area: title;
  /* 10.5px в колонке шириной ~137px читался как мелкий шрифт поверх
     галочки, поэтому поднято до 13px.

     Длинные пункты теперь переносятся на две строки — иначе никак:
     доступной ширины под текст 108px, а «Отказ до передачи» на 13px
     занимает 121px. В одну строку умещался только прежний 10.5px
     (97px), то есть ровно тот размер, который и выглядел мелко.
     Перенос допустим: заголовок занимает первую строку сетки, подпись
     («после оплаты») живёт во второй, и блок вырастает с 64 до 76px. */
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: #e8e8e8;
  letter-spacing: -.1px;
  /* Ровняет перенос по ширине строки: без него «Отправка за 2 дня»
     делится как «Отправка за 2» + «дня», а с ним — поровну. */
  text-wrap: balance;
}

.cart-assure small {
  grid-area: hint;
  font-size: 11.5px;
  line-height: 1.35;
  color: #7a7a7a;
  margin-top: 3px;
}

/* ------------------------------------------ список покупки в заказе */

.checkout-summary {
  margin: 0 0 14px;
  padding: 11px 14px;
  border: 1px solid #262626;
  border-radius: 12px;
  background: #161616;
}

/* Список покупки — столбик. Высота ограничена: при большом заказе
   он крутится внутри себя, окно оформления не растёт. */
.cs-list {
  display: grid;
  gap: 9px;
  max-height: 150px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.cs-list::-webkit-scrollbar { width: 0; height: 0; }

.cs-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
}

.cs-photo {
  position: relative;
  display: block;
  width: 44px; height: 44px;
  border-radius: 8px;
  overflow: hidden;
  background: #1d1d1d;
  flex: none;
}
.cs-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Количество — бейдж на углу фото */
.cs-qty {
  position: absolute;
  right: -4px; bottom: -4px;
  min-width: 17px; height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background: #ff3b18;
  color: #fff;
  font-size: 9.5px; font-weight: 800;
  display: grid; place-items: center;
  border: 2px solid #161616;
  line-height: 1;
}

.cs-name {
  font-size: 13px;
  font-weight: 700;
  color: #f4f4f0;
  line-height: 1.3;
  min-width: 0;
}
.cs-sum { font-size: 13px; font-weight: 800; white-space: nowrap; }

/* Цена доставки под списком пунктов выдачи. Показываетс�� у СДЭК и только
   после выбора пункта — до этого она неизвестна, тариф зависит от города. */
.pickup-price {
  margin: 10px 0 0;
  padding: 9px 11px;
  border: 1px solid #2c2c2c;
  border-radius: 10px;
  background: #171717;
  font-size: 12.5px;
  line-height: 1.5;
  color: #b9b9b3;
}
.pickup-price.is-error {
  color: #8d8d8d;
  border-style: dashed;
}

/* Строка доставки — не товар, у неё нет фотографии.
   Без своих колонок название проваливалось бы в колонку 44px от .cs-row
   и сжималось в две буквы подряд. Здесь сетка из двух колонок, а сама
   строка приглушена: доставка — дополнение к заказу, не позиция. */
.cs-row--delivery {
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px dashed #2c2c2c;
}
.cs-row--delivery .cs-name {
  font-weight: 500;
  color: #8d8d8d;
}
.cs-row--delivery .cs-sum { font-weight: 600; color: #b9b9b3; }
.cs-row--delivery .cs-days {
  color: #6f6f6f;
  font-weight: 400;
  font-size: 12px;
}

.cs-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #262626;
}
.cs-total span { font-size: 12px; color: #888; }
.cs-total b { font-size: 19px; font-weight: 800; color: #ff4a2a; letter-spacing: -.5px; }

/* Окно оформления со списком покупки впритык по высоте: поджимаем
   отступы, форма от этого остаётся читаемой. */
#checkout .modal-box { padding: 17px 30px; }

/* Полоса прокрутки внутри окна оформления убрана: на коротких экранах
   при ошибках валидации она появлялась и выглядела как чужой элемент.
   Колесо мыши и свайп продолжают работать. На телефоне полоску
   оставляем тонкой — без неё не понять, что форма продолжается. */
#checkout .modal-box {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
#checkout .modal-box::-webkit-scrollbar { width: 0; height: 0; }

@media (max-width: 560px) {
  #checkout .modal-box::-webkit-scrollbar { width: 4px; }
}
#checkout .modal-box h2 { font-size: 21px; margin-bottom: 8px; }
#checkout .cart-assure { margin: 10px 0; }
#checkout .checkout-note { margin-top: 5px; }
#checkout .checkout-summary { padding: 10px 14px; margin-bottom: 10px; }
#checkout .cs-total { margin-top: 8px; padding-top: 8px; }
#checkoutForm input,
#checkoutForm textarea { padding: 9px 12px; }

/* ------------------------------------------------------ поля оформления

   Форма нарочно сделана такой же карточкой, как список покупки над
   ней: та же заливка, та же рамка, тот же радиус. Раньше поля стояли
   голыми полосами на фоне окна и выглядели как форма из другого
   макета — два разных стиля в одном окне. */

#checkoutForm {
  display: grid;
  /* minmax(0, ...) обязателен: с обычным 1fr длинный плейсхолдер телефона
     растягивает свою колонку и вторую жмёт. */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid #262626;
  border-radius: 12px;
  background: #161616;
}

/* Имя и телефон — в одну строку: оба короткие, а окну оформления
   не хватает высоты на четыре поля столбиком.

   Заверения лежат ВНУТРИ формы (они стоят перед кнопкой оплаты),
   поэтому им тоже нужна растяжка на обе колонки — иначе блок
   зажался бы в первой. */
#checkoutForm label:nth-child(1) { grid-column: 1; }
#checkoutForm label:nth-child(2) { grid-column: 2; }
/* Первые два поля стоят рядом, остальные — во всю ширину.
   Раньше здесь был перечень nth-child(3) и nth-child(4), и добавление
   одного поля ломало вёрстку: «Адрес доставки» становился пятым
   ребёнком, под правило не попадал, и поле схлопывалось до половины
   окна. Перечислять номера бессмысленно — их столько же, сколько
   полей, и сдвигается любой. Поэтому закрепляем только первые два,
   а всем остальным запрещаем схлопываться. */
#checkoutForm > label:not(:nth-child(1)):not(:nth-child(2)),
#checkoutForm > .cart-assure,
#checkoutForm > button { grid-column: 1 / -1; }

@media (max-width: 560px) {
  #checkoutForm { grid-template-columns: minmax(0, 1fr); }

  /* Селекторы здесь должны быть УЖЕ, чем правила выше: у
     `#checkoutForm label:nth-child(1)` специфичность (1,1,1), а у
     `#checkoutForm label` — (1,0,1). Медиазапрос проигрывал, и на
     телефоне сетка становилась одноколоночной, но подписи 1 и 2
     продолжали держаться за grid-column: 1 и 2. Вторая колонка не
     существовала — браузер создавал неявную, и поле «Телефон»
     выезжало за пределы окна. */
  #checkoutForm label:nth-child(1),
  #checkoutForm label:nth-child(2) { grid-column: 1 / -1; }

  /* Три колонки в окне шириной 219 px дают по 65 px на пункт — заголовки
     рвутся на три строки и читаются хуже, чем в одну колонку. */
  .cart-assure { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .cart-assure li { grid-template-columns: 18px 1fr; }

  /* Кнопка оплаты липкая. Окно оформления на телефоне выше экрана
     примерно на 200 px, и без этого главное действие оказывалось
     под сгибом — приходилось догадываться, что содержимое прокручивается.

     Тень нужна, чтобы текст при прокрутке не выглядывал над кнопкой:
     она повторяет фон карточки формы и закрывает полосу под ней. */

  /* Мелочи, чтобы в прокрутку ушло меньше: поля компактнее, адрес
     в три строки вместо четырёх. */
  #checkout .modal-box { padding: 14px 16px; }
  #checkoutForm { gap: 8px 10px; padding: 10px 14px; }
  #checkoutForm textarea { min-height: 62px; }
  #checkout .checkout-note { margin-top: 4px; }
}

#checkoutForm label {
  display: grid;
  gap: 6px;
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #6f6f6f;
}

#checkoutForm input,
#checkoutForm textarea {
  display: block;
  width: 100%;
  margin-top: 0;
  background: #1d1d1d;
  border: 1px solid #2b2b2b;
  border-radius: 8px;
  color: #f4f4f0;
  padding: 10px 12px;
  outline: none;
  font-family: var(--frz-body);
  font-size: 14px;
  line-height: 1.4;
  transition: border-color .2s ease, background .2s ease;
}

#checkoutForm input::placeholder,
#checkoutForm textarea::placeholder { color: #565656; }

#checkoutForm input:focus,
#checkoutForm textarea:focus {
  border-color: #ff3b18;
  background: #212121;
}

/* Подпись об ошибке — внутри карточки, поэтому её цвет спокойнее,
   а сам факт ошибки показывает красная рамка поля. */
#checkoutForm .field-error {
  margin-top: 0;
  min-height: 0;
  font-size: 10.5px;
  letter-spacing: .2px;
  text-transform: none;
}
#checkoutForm .field-error:empty { display: none; }
#checkoutForm .field-invalid input,
#checkoutForm .field-invalid textarea { border-color: #ff6a4d; }

/* --- согласия в оформлении ---

   Две обязательные отметки стоят отдельной карточкой внутри формы.
   Галочки нарисованы вручную: нативный чекбокс в тёмной теме выглядит
   светлой заплатой, а нам нужен тот же оранжевый акцент, что и у
   кнопки оплаты. Разметка остаётся обычным input[type=checkbox] —
   клавиатура и скринридеры работают как обычно. */

.checkout-consents {
  grid-column: 1 / -1;
  min-width: 0;
  display: grid;
  gap: 9px;
  margin: 2px 0 0;
  padding: 11px 13px 12px;
  border: 1px solid #262626;
  border-radius: 10px;
  background: #131313;
}

.checkout-consents legend {
  padding: 0 6px;
  margin-left: -6px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #6f6f6f;
}

.consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 3px 10px;
  align-items: start;
  margin: 0;
}

#checkoutForm .consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  place-content: center;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  padding: 0;
  border: 1.5px solid #3a3a3a;
  border-radius: 5px;
  background: #1d1d1d;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}

#checkoutForm .consent input[type="checkbox"]::before {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) scale(0);
  transform-origin: center;
  transition: transform .16s ease;
}

#checkoutForm .consent input[type="checkbox"]:checked {
  background: #ff3b18;
  border-color: #ff3b18;
}

#checkoutForm .consent input[type="checkbox"]:checked::before {
  transform: rotate(-45deg) scale(1);
}

#checkoutForm .consent input[type="checkbox"]:focus-visible {
  outline: 2px solid #ff3b18;
  outline-offset: 2px;
}

#checkoutForm .consent label {
  display: block;
  margin: 0;
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
  color: #a3a3a3;
  cursor: pointer;
}

#checkoutForm .consent label a {
  color: #ff7a5c;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#checkoutForm .consent label a:hover {
  color: #ff9a82;
}

.consent-error {
  grid-column: 2;
  display: none;
  font-size: 10.5px;
  line-height: 1.35;
  color: #ff6a4d;
}

.consent.field-invalid input[type="checkbox"] {
  border-color: #ff6a4d;
  background: #2a1512;
}

.consent.field-invalid .consent-error {
  display: block;
}

@media (max-width: 560px) {
  #checkoutForm .consent label { font-size: 12px; }
}

/* --- рекомендации --- */

.cart-suggest {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #222;
}
.cart-suggest-title {
  margin: 0 0 12px;
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #666;
}
/* Подпись под честной подборкой: на скольких заказах посчитано */
.cart-suggest-note {
  margin: 8px 0 0;
  font-size: 10px;
  letter-spacing: .4px;
  color: #555;
}

.cs-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 8px;
  margin-bottom: 8px;
  background: none;
  border: 1px solid transparent;
  border-radius: 9px;
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.cs-item:last-child { margin-bottom: 0; }
.cs-item:hover { background: #151515; border-color: #262626; }
.cs-item img { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; display: block; }
.cs-name { font-size: 12px; font-weight: 700; line-height: 1.35; }
.cs-price {
  font-size: 12px;
  font-weight: 800;
  color: #ff4a2a;
  white-space: nowrap;
  transition: color .2s ease;
}
.cs-item.is-added .cs-price { color: #1f9d55; }

@media (max-width: 560px) {
  .cart-item { grid-template-columns: 66px 1fr 20px; gap: 11px; padding: 12px; }
  .ci-photo img { height: 66px; }
}

/* ================================================================
   БЛОК «О НАС»
   ================================================================ */

.about-lead {
  margin: 0 0 22px;
  font-size: 14.5px;
  line-height: 1.7;
  color: #b9b9b9;
}


.contact-hours {
  margin: 14px 0 0;
  font-size: 12px;
  color: #777;
}

/* Реквизиты продавца: при дистанционной продаже их положено показывать */
.contact-seller {
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 14px;
  background: rgba(255, 255, 255, .03);
  display: grid;
  gap: 5px;
}
.contact-seller p { margin: 0; }
.contact-seller-name { font-size: 14px; font-weight: 800; color: #f4f4f0; }
.contact-seller-legal {
  font-size: 11.5px;
  color: #6f6f6f;
  letter-spacing: .3px;
  font-variant-numeric: tabular-nums;
}
.contact-seller-docs {
  display: flex;
  gap: 9px;
  margin-top: 6px;
  font-size: 12px;
  color: #5c5c5c;
}
.contact-seller-docs a { color: #8a8a8a; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.contact-seller-docs a:hover { color: #ff4a2a; border-color: #ff4a2a; }

#about .dialog { padding: 26px 32px; }

#about .about-lead { margin-bottom: 16px; }

/* В окне стоял один Onest — глаз не находил смены ритма. Переводить
   весь лид на гарнитуру бренда нельзя: Unbounded широкий, и абзац
   растянулся с трёх строк на шесть. Поэтому только имя — в гарнитуре
   бренда, остальной текст остаётся на Onest. */
#about .about-lead-brand {
  font-family: var(--frz-display);
  font-size: 1.08em;
  font-weight: 700;
  letter-spacing: -.3px;
  color: #fff;
}
#about .about-flow { margin-bottom: 12px; }


/* Контакты с часами и реквизитами переехали в окно «Контакты» — там их
   видно, куда и писать. Окно стало выше всех остальных, и ужимка
   карточек ниже держит его в окне без прокрутки внутри. */
#contacts .contact-seller { margin-top: 16px; padding: 14px 16px; }

/* Иконка контакта задавала высоту всей карточки: 44px иконки плюс
   отступы давали 70px на контакт, а контактов три. */
/* У «Контактов» три способа связи, и при 44px значка окно уходило в
   прокрутку — карточки здесь ужаты. Только размер: цвет значков и
   подсветка при наведении общие для обоих окон, в .contact-icon и
   .contact-card:hover выше.

   Блок реквизитов в «Контактах» не трогаем: там имя продавца и
   регистрационные данные, красить их — значило бы залить красным ФИО. */
#contacts .contact-card { padding: 10px 12px; gap: 12px; }
#contacts .contact-card strong { font-size: 14px; }
#contacts .contact-icon { width: 36px; height: 36px; border-radius: 11px; font-size: 16px; }

/* Кнопка корзины на узком экране. На 340 px логотип, кнопка и бургер
   вместе не помещались и шапка вылезала за край на 29 px — приходилось
   прокручивать страницу вбок, чтобы увидеть бургер.

   Ниже 325 px шапка по-прежнему не влезала: логотип 130 px + кнопка
   102 px + бургер 38 px + отступы давали ровно те же 325 px, поэтому
   страница уезжала вбок. Сжимаем логотип (при нехватке места он
   обрезается многоточием), кнопку и бургер — шапка больше не задаёт
   минимальную ширину страницы. */
@media (max-width: 460px) {
  .header { padding: 0 12px; gap: 8px; }
  .header .logo {
    font-size: 14px; letter-spacing: -0.5px;
    white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis;
  }
  .cart-button { padding: 9px 10px; font-size: 12px; gap: 0; }
  .header-actions { gap: 6px; flex: 0 0 auto; }
  .nav-toggle { width: 34px; height: 34px; }
}

@media (max-width: 360px) {
  /* «Следующему» на 38 px шире экрана: уменьшаем заголовки, чтобы
     слово влезало целиком и не приходилось переносить по слогам. */
  .section h2, .custom-copy h2, .features h2, .cta-band h2 {
    font-size: 32px; letter-spacing: -2px;
  }
}

@media (max-width: 300px) {
  .header .logo { font-size: 12px; }
  .cart-button { padding: 8px 9px; }
  .cart-button span { margin-left: 4px; min-width: 18px; height: 18px; }
  .nav-toggle { width: 30px; height: 30px; }

  /* Три счётчика в ряд и длинные строки подвала на 210 px не влезают
     и всё ещё добавляли 4 px запаса вбок. */
  .counters { grid-template-columns: 1fr; gap: 26px; }
  .footer .logo { font-size: 16px; }
  .footer-legal span { white-space: normal; }
}

/* ================================================================
   ШРИФТЫ
   Inter убран: он нейтральный и подходит интерфейсу, но магазину
   нужен характер. Взята пара с полной кириллицей:
     Unbounded — широкий тяжёлый гротеск, для заголовков и цифр;
     Onest — спокойный современный гротеск, для текста.
   Если шрифт не загрузился, останется системный sans-serif —
   вид страницы не рассыпается.
   ================================================================ */

:root {
  --frz-display: 'Unbounded', 'Onest', 'Inter', Arial, sans-serif;
  --frz-body: 'Onest', 'Inter', Arial, sans-serif;
}

body { font-family: var(--frz-body); }

h1, h2, h3 {
  font-family: var(--frz-display);
  letter-spacing: -.6px;
}

/* Надзаголовки и технические подписи — моноширинный по духу гротеск */
.eyebrow,
.dialog-eyebrow,
.hero-meta b {
  font-family: var(--frz-display);
  font-weight: 700;
}

.logo { font-family: var(--frz-display); font-weight: 900; }

.btn { font-family: var(--frz-body); font-weight: 700; }

/* ================================================================
   БЛОК ФАКТОВ В «О НАС» — переработан
   ================================================================ */

/* Номер-индекс — читается как производственная маркировка */
/* ------------------------------------------------ производственная цепочка */

.about-flow {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}

/* Соединительная линия между шагами — идёт под кружками,
   поэтому у первого и последнего отступ до края. */
.about-flow::before {
  content: "";
  position: absolute;
  left: 11%; right: 11%; top: 13px;
  height: 1px;
  background: linear-gradient(90deg,
    rgba(255, 59, 24, .18), rgba(255, 59, 24, .55), rgba(255, 59, 24, .18));
}

.about-flow li {
  display: grid;
  justify-items: center;
  gap: 9px;
  position: relative;
  z-index: 1;
}

.flow-num {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #ff3b18;
  border: 1px solid #ff3b18;
  display: grid; place-items: center;
  /* Основная гарнитура, а не брендовая. Unbounded — шрифт для крупных
     заголовков; его цифры широкие, и в кружке 26px цифра «4» занимала
     9.5px — кружок распирало. Заодно сходится с крупными числами
     сайта: счётчики на главной набраны тоже Onest. */
  font-family: var(--frz-body);
  font-size: 13px;
  font-weight: 800;
  /* Тёмная цифра на залитом кружке: на #ff3b18 это 6.6:1 против
     3.9:1 у белой, и выглядит собраннее, чем обводка с цветным текстом. */
  color: #0b0f14;
}

.about-flow b {
  font-family: var(--frz-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -.2px;
  color: #f4f4f0;
  text-align: center;
}

.about-flow-note {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: #888;
}

/* Подпись под шагом: без неё «Модель · Печать · Проверка · Отправка» —
   четыре слова, из которых ничего не следует. Подпись отвечает на вопрос
   «что именно происходит на этом шаге», но остаётся в одну-две строки,
   чтобы окно не вытянулось в столбик. */
.about-flow small {
  display: block;
  max-width: 112px;
  font-size: 11px;
  line-height: 1.45;
  color: #858580;
  text-align: center;
}

/* Три факта в строку: срок, гарантия, доставка — то, о чём спрашивают
   до заказа. Число крупнее подписи, чтобы взгляд цеплялся за цифру. */
.about-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 16px 0 0;
}
.about-fact {
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 13px;
  background: rgba(255, 255, 255, .035);
}
.about-fact b {
  font-family: var(--frz-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.3px;
  color: #ff4a2a;
}
.about-fact span {
  font-size: 11px;
  line-height: 1.4;
  color: #8d8d88;
}

.about-legal {
  margin: 12px 0 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: #5f5f5a;
  text-align: center;
}
.about-legal a {
  color: #8d8d88;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.about-legal a:hover { color: #d8d8d2; border-bottom-color: rgba(255, 255, 255, .32); }

@media (max-width: 460px) {
  .about-flow { grid-template-columns: repeat(2, 1fr); gap: 16px 8px; }
  .about-flow::before { display: none; }
  .about-flow small { max-width: none; }
  .about-facts { grid-template-columns: 1fr; }
}

/* Пояснения под схемой — две плитки вместо голого текста: окно перестаёт
   читаться как стена абзацев. Значки взяты из того же набора глифов,
   что и контакты (✈ ☎ ✉ ✓), ради единообразия. */
.about-points {
  display: grid;
  /* Одна колонка намеренно. В двух на 456px содержимого на колонку
     приходилось 144px, слова рвались по две буквы, а плитки вытягивались
     разной высотой — окно выглядело разъехавшимся. */
  grid-template-columns: 1fr;
  gap: 10px;
}
.about-point {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 13px;
  align-items: center;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 15px;
  background: rgba(255, 255, 255, .035);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.about-point:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 74, 42, .38);
}
.about-point-icon {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(255, 59, 24, .13);
  color: #ff4a2a;
  font-family: var(--frz-display);
  font-size: 14px;
  line-height: 1;
}
.about-point p {
  margin: 0;
  font-size: 13px;
  line-height: 1.62;
  color: #9a9a9a;
}


/* Правая колонка — реквизиты продавца */
.contact-seller { margin-top: 18px; }

/* Полосы прокрутки внутри диалога «О нас» убраны: содержимое
   помещается в окно, а колонка с ползунком выглядела как артефакт.
   Колесо мыши и свайп продолжают работать.

   В «Контактах» правило намеренно НЕ переносим: после переезда
   контактов это окно стало самым высоким, и на невысоком экране
   полоса нужна как подсказка, что содержимое продолжается. */
#about .dialog {
  scrollbar-width: none;                 /* Firefox */
  -ms-overflow-style: none;              /* старый Edge */
}
#about .dialog::-webkit-scrollbar { width: 0; height: 0; }   /* Chrome, Safari */

@media (max-width: 520px) {
  #about .dialog::-webkit-scrollbar { width: 4px; }
}

/* ================================================================
   ФОНОВАЯ СЦЕНА  (низ страницы товара)
   Чистое украшение: горы, снег, оттиск. Текста нет.

   Параллакс сделан на CSS-переменных, которые пишет один обработчик
   в product-page.js:
     --scroll  0..1 — как далеко сцена пролистана
     --mx/--my       — положение курсора над сценой, -1..1
   Каждый слой смотрит на них со своим коэффициентом --k, поэтому
   дальние горы едут медленно, ближние — быстро.
   ================================================================ */

.scene {
  --scroll: 0;
  --mx: 0;
  --my: 0;
  position: relative;
  height: clamp(260px, 30vw, 420px);
  margin-top: 10px;
  overflow: hidden;
  background: #0d1119;
  isolation: isolate;
}

.scene-svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Растушёвка сверху: без неё верхняя кромка сцены читается
   как чужой тёмный блок, а не как небо. Цвет — фон страницы. */
.scene::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 64px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(#0b0b0b, rgba(11, 11, 11, 0));
}

/* Кадр сцены всего 420 px, поэтому и коэффициенты маленькие:
   дальний слой едет на 2 px, ближний -- на 20. С большими значениями
   нижние слои просто уезжали за пределы кадра. */
.scene-layer {
  transform:
    translate3d(calc(var(--mx) * var(--k) * -0.55px),
                 calc(var(--scroll) * var(--k) * -2.4px),
                 0);
  will-change: transform;
}
.scene-layer[data-depth="1"] { --k: 1; }
.scene-layer[data-depth="3"] { --k: 3; }
.scene-layer[data-depth="6"] { --k: 6; }
.scene-layer[data-depth="9"] { --k: 9; }

/* --- падающий снег: три полосы точек на разной скорости --- */

.snow {
  position: absolute;
  inset: -60% 0 0;
  pointer-events: none;
  opacity: .7;
  background-repeat: repeat;
}
.snow-1 {
  background-image:
    radial-gradient(1.6px 1.6px at 20px 30px, #fff, transparent),
    radial-gradient(1.2px 1.2px at 130px 90px, #fff, transparent),
    radial-gradient(1.8px 1.8px at 240px 60px, #fff, transparent);
  background-size: 280px 200px;
  animation: snowFall 14s linear infinite;
}
.snow-2 {
  opacity: .5;
  background-image:
    radial-gradient(2px 2px at 70px 140px, #fff, transparent),
    radial-gradient(1.4px 1.4px at 200px 40px, #fff, transparent);
  background-size: 340px 240px;
  animation: snowFall 9s linear infinite;
}
.snow-3 {
  opacity: .28;
  background-image:
    radial-gradient(2.6px 2.6px at 150px 180px, #fff, transparent),
    radial-gradient(1.8px 1.8px at 40px 70px, #fff, transparent);
  background-size: 420px 300px;
  animation: snowFall 6s linear infinite;
}

@keyframes snowFall {
  from { transform: translateY(-20%); }
  to   { transform: translateY(40%); }
}

/* Уважаем настройку «уменьшить движение»: сцена остаётся,
   просто перестаёт шевелиться. */
.scene.is-still .scene-layer { transform: none; }
.scene.is-still .snow { display: none; }

@media (max-width: 700px) {
  .scene { height: 220px; }
  .snow-3 { display: none; }
}

/* ================================================================
   ГИД ПО СТОМПАДАМ  (chto-takoe-stompad.html)
   ================================================================ */

/* Анонс статьи на главной: одна полоса между преимуществами и призывом. */
.guide-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 0 7vw 100px;
  padding: 34px 40px;
  background: #151515;
  border: 1px solid #242424;
}
.guide-band h2 {
  font-size: clamp(24px, 3vw, 38px);
  letter-spacing: -1px;
  line-height: 1.08;
  margin: 8px 0 10px;
}
.guide-band p:not(.eyebrow) {
  color: #999;
  line-height: 1.7;
  margin: 0;
  max-width: 620px;
}
.guide-band .btn { flex: none; }

/* Сама статья. Колонка шире, чем у юридических страниц: под неё же
   рассчитаны фото и таблицы, а читаемость держим шрифтом и интерлиньяжем. */
.article {
  max-width: 1120px;
  margin: 0 auto;
  padding: 70px clamp(22px, 6vw, 96px) 100px;
}
.article .crumb { margin: 0 0 18px; }
.article h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  letter-spacing: -2.5px;
  line-height: 1.02;
  margin: 14px 0 18px;
}
.article-lead {
  color: #bbb;
  font-size: 18px;
  line-height: 1.75;
  margin: 0 0 18px;
}
.article-meta {
  color: #666;
  font-size: 12px;
  margin: 0 0 38px;
}
.article h2 {
  font-size: 24px;
  letter-spacing: -.6px;
  margin: 46px 0 14px;
  padding-top: 22px;
  border-top: 1px solid #242424;
}
.article p,
.article li {
  color: #999;
  font-size: 16px;
  line-height: 1.8;
}
.article p { margin: 0 0 16px; }
.article ul,
.article ol { margin: 0 0 18px; padding-left: 22px; }
.article li { margin-bottom: 8px; }
.article b,
.article strong { color: #ddd; }
.article a:not(.btn) { color: #ff4a2a; text-decoration: underline; text-underline-offset: 3px; }

.article figure { margin: 28px 0; }
.article figure img {
  width: 100%;
  height: auto;
  border: 1px solid #242424;
  background: #151515;
}
.article figcaption {
  color: #666;
  font-size: 12px;
  margin-top: 10px;
}

.article-toc {
  background: #111;
  border: 1px solid #242424;
  padding: 20px 24px;
  margin: 0 0 34px;
}
.article-toc p {
  color: #888;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.article-toc ol { margin: 0; padding-left: 18px; }
.article-toc li { margin-bottom: 4px; font-size: 14px; }

.article-note {
  background: #141414;
  border-left: 3px solid #ff3b18;
  padding: 18px 22px;
  margin: 24px 0;
}
.article-note p:last-child { margin-bottom: 0; }

.article-faq details {
  border-top: 1px solid #242424;
  padding: 16px 0;
}
.article-faq summary {
  cursor: pointer;
  color: #ddd;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.5;
}
.article-faq details p { margin: 12px 0 0; }

@media (max-width: 700px) {
  .guide-band {
    flex-direction: column;
    align-items: flex-start;
    margin: 0 22px 70px;
    padding: 28px 22px;
  }
  .article { padding: 50px 22px 70px; }
  .article h1 { font-size: 38px; letter-spacing: -2px; }
  .article-lead { font-size: 16px; }
  .article-toc { padding: 18px; }
}

/* В шапке появилась ещё одна ссылка («Гид»). На планшетах, где меню
   ещё не спрятано в бургер, уменьшаем промежутки, чтобы шапка не
   вылезала за край. */
@media (min-width: 901px) and (max-width: 1100px) {
  .header-nav { gap: 18px; font-size: 13px; }
  .header-nav button { font-size: 13px; }
  .cart-button { padding: 10px 13px; }
}

/* --- Cookie-баннер ------------------------------------------------------
   Показывается, пока человек не выбрал вариант. Метрика грузится только
   после «Принять всё» — поэтому баннер не декоративный. */
.cookie-banner {
  position: fixed; left: 20px; bottom: 20px; z-index: 60;
  width: min(400px, calc(100vw - 40px));
  background: #16161a; border: 1px solid #2c2c34; border-radius: 16px;
  padding: 18px 20px 16px; box-shadow: 0 18px 48px rgba(0, 0, 0, .55);
  opacity: 0; transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease;
}
.cookie-banner.is-visible { opacity: 1; transform: none; }
.cookie-banner[hidden] { display: none; }
.cookie-text { margin: 0 0 14px; font-size: 13.5px; line-height: 1.5; color: #b6b6bd; }
.cookie-text a { color: #ff4a2a; text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-btn {
  flex: 1 1 auto; min-width: 120px; padding: 10px 14px; border-radius: 10px;
  border: 1px solid #34343d; background: transparent; color: #e8e8ea;
  font: inherit; font-size: 13.5px; cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.cookie-btn:hover { border-color: #4a4a55; color: #fff; }
.cookie-btn-main { background: #ff3b18; border-color: #ff3b18; color: #fff; font-weight: 600; }
.cookie-btn-main:hover { background: #ff512f; border-color: #ff512f; color: #fff; }
.footer-cookie { background: none; border: 0; color: inherit; font: inherit; padding: 0; cursor: pointer; }
@media (max-width: 460px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 16px; }
  .cookie-btn { min-width: 100%; }
}

