/* ===================== VARIABLES ===================== */
:root {
  --black: #0A0A0A;
  --white: #ffffff;
  --peach: #f4b997;
  --peach-dark: #e8a67d;
  --peach-light: #efbc8d;
  --peach-line: #b67552;
  --section-bg: #f0e6e4;
  --section-bg-2: #f8efec;
  --line-soft: #eacbc1;
  --paw-bg: #d4a693;
  --gray-text: #9a9a9a;
  --blue-ozon: #0844ff;
  --blue-ozon-text: #0e22f9;
  --for-who-line: #d8aa8f;
  --for-who-paw: #d79773;
  --for-who-title: #cb8d67;
  --text-dark: #1c1a19;
  --font-body: 'Montserrat', sans-serif;
  --font-logo: 'Optima Custom', 'Optima', 'Bodoni 72', Georgia, serif;
}

@font-face {
  font-family: 'Optima Custom';
  src: url('../fonts/optima-font.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ===================== RESET ===================== */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow { max-width: 860px; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.98rem;
  font-family: var(--font-body);
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(244,185,151,0.35); }

.btn--peach { background: var(--peach); color: var(--black); }

.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { box-shadow: 0 10px 24px rgba(0,0,0,0.35); }

/* Вторичная кнопка на персиковом фоне: прозрачная с тёмной обводкой
   (обводка через inset-тень, чтобы высота совпадала с .btn--dark) */
.btn--outline { background: transparent; color: var(--black); box-shadow: inset 0 0 0 1.5px var(--black); }
.btn--outline:hover { box-shadow: inset 0 0 0 1.5px var(--black), 0 10px 24px rgba(0,0,0,0.18); }

.btn--big { padding: 18px 32px; font-size: 1.05rem; }

.btn { max-width: 100%; }
.btn__group { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }

.btn-icon { width: 18px; height: 18px; object-fit: contain; flex-shrink: 0; }

.accent-peach { color: var(--peach); }
.accent-brown { color: var(--for-who-title); }
.accent-blue { color: var(--blue-ozon); font-weight: 600; }

.badge-ozon {
  display: inline-block;
  background: var(--blue-ozon);
  color: var(--white);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 5px;
  letter-spacing: 0.02em;
}
.badge-ozon--sm { font-size: 0.68rem; padding: 1px 6px; vertical-align: middle; }
.badge-ozon--btn { font-size: 0.9rem; padding: 3px 10px; vertical-align: middle; }

.badge-ozon-pay {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  border-radius: 5px;
  padding: 3px 6px 3px 8px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-dark);
  gap: 2px;
}
.badge-ozon-pay__ozon { color: var(--blue-ozon); }

/* ===================== DARK WRAP (Header + Hero) ===================== */
.dark-wrap {
  background: var(--black);
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.02) 0%, transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(255,255,255,0.015) 0%, transparent 45%);
  position: relative;
}

/* ===================== HEADER ===================== */
.header { padding: 22px 0; position: relative; z-index: 100; }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  color: var(--white);
  font-family: var(--font-logo);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__link {
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 300;
  position: relative;
  transition: color 0.2s ease;
}
.nav__link:hover { color: var(--peach); }

.nav__cta-mobile { display: none; }

.header__cta { text-align: right; flex-shrink: 0; }

.header__delivery {
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 300;
  margin-top: 8px;
  opacity: 0.85;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  z-index: 101;
}
.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== HERO ===================== */
.hero { padding: 40px 0 60px; position: relative; }

.hero__inner {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 40px;
  align-items: stretch;
}

.hero__title-wrap {
  display: inline-block;
  max-width: 100%;
}

.hero__title {
  display: block;
  color: var(--white);
  font-family: var(--font-logo);
  font-size: 6.5rem;
  letter-spacing: 0.02em;
  line-height: 1;
  font-weight: 400;
  white-space: nowrap;
}

.hero__divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 18px 0 22px;
  width: 100%;
}
.hero__divider::before,
.hero__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--peach-line);
}
.hero__divider span {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  white-space: nowrap;
}

.hero__subtitle {
  color: var(--white);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 300;
  margin-bottom: 30px;
}
.hero__subtitle em { font-style: normal; color: var(--peach-light); }

.hero__price-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}

.price--new {
  color: var(--peach);
  font-size: 2.4rem;
  font-weight: 700;
  font-family: var(--font-heading);
}
.price--old {
  color: var(--gray-text);
  font-size: 1.3rem;
  text-decoration: line-through;
  font-weight: 300;
}

.discount-badge {
  display: block;
  width: fit-content;
  background: var(--peach);
  color: var(--black);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 6px 18px;
  border-radius: 60px;
  margin: 14px 0 28px;
}

.hero__args {
  display: flex;
  gap: 0;
  width: 100%;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}
.arg {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1 1 0;
  min-width: 200px;
  padding: 0 28px;
  border-left: 1px solid var(--peach);
}
.arg:first-child { padding-left: 0; border-left: none; }
.arg__icon { flex-shrink: 0; width: 34px; height: 34px; margin-top: 2px; object-fit: contain; }
.arg h3 {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 5px;
}
.arg p { color: rgba(255,255,255,0.65); font-size: 0.82rem; line-height: 1.4; }

.hero__right { position: relative; height: 100%; overflow: visible; }
.hero__box-wrap {
  /* Absolutely positioned so its size can't feed back into the grid row's
     auto height (which caused the row to grow when width was viewport-capped). */
  position: absolute;
  top: 0;
  left: 0;
  width: 128%;
  /* Same zoomed-in size as before, but capped so it never runs past the right
     edge of the viewport and gets cropped (it can only shrink, never grow past it). */
  max-width: calc(100vw - max(0px, (100vw - 1240px) / 2) - 544px);
  height: 100%;
}
.hero__box {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.6));
}

/* ---------- TEMP: блик по коробке ---------- */
.hero__shine {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  /* clip the sweep to the box silhouette */
  -webkit-mask: url("../images/hero-box.webp") left center / contain no-repeat;
          mask: url("../images/hero-box.webp") left center / contain no-repeat;
}
.hero__shine::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -50%;
  width: 35%;
  height: 120%;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0.08) 30%, rgba(255,240,225,0.55) 50%, rgba(255,255,255,0.08) 70%, transparent 100%);
  opacity: 0;
  will-change: transform, opacity;
  animation: landing_pageBlick 5s linear infinite;
}
/* one continuous sweep from -50% to 120% of the box (170% / 35% stripe width = 486%);
   opacity has its own stops so the fade never interrupts the movement */
@keyframes landing_pageBlick {
  0%, 45% { transform: translateX(0) skewX(-20deg); opacity: 0; }
  52%     { opacity: 1; }
  66%     { opacity: 1; }
  75%     { transform: translateX(486%) skewX(-20deg); opacity: 0; }
  100%    { transform: translateX(486%) skewX(-20deg); opacity: 0; }
}

/* ---------- TEMP: переливающееся свечение фона ---------- */
.hero-glow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.hero-glow span {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  mix-blend-mode: screen;
}
.hero-glow span:first-child {
  width: 75vw; height: 75vw;
  max-width: 1100px; max-height: 1100px;
  top: 50%; left: 68%;
  background: radial-gradient(circle, rgba(244,185,151,0.6) 0%, rgba(182,117,82,0.35) 40%, transparent 70%);
  animation: heroGlowA 9s ease-in-out infinite alternate;
}
.hero-glow span:last-child {
  width: 55vw; height: 55vw;
  max-width: 820px; max-height: 820px;
  top: 40%; left: 58%;
  background: radial-gradient(circle, rgba(255,214,170,0.45) 0%, rgba(203,141,103,0.25) 45%, transparent 70%);
  animation: heroGlowB 7s ease-in-out infinite alternate;
}
@keyframes heroGlowA {
  0%   { transform: translate(-50%, -50%) scale(0.9);  opacity: 0.65; filter: blur(90px) hue-rotate(0deg); }
  50%  { transform: translate(-46%, -54%) scale(1.08); opacity: 1;    filter: blur(100px) hue-rotate(-12deg); }
  100% { transform: translate(-54%, -47%) scale(0.96); opacity: 0.8;  filter: blur(90px) hue-rotate(10deg); }
}
@keyframes heroGlowB {
  0%   { transform: translate(-50%, -50%) scale(1.05); opacity: 0.5; }
  50%  { transform: translate(-58%, -44%) scale(0.85); opacity: 0.9; }
  100% { transform: translate(-42%, -56%) scale(1.1);  opacity: 0.6; }
}
.hero { z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .hero__shine::before, .hero-glow span { animation: none; }
}

/* ===================== SECTION COMMON ===================== */
.section { padding: 90px 0; }

.section__title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--text-dark);
  margin-bottom: 14px;
  line-height: 1.25;
}
.section__title--light { color: var(--white); }

.section__subtitle {
  text-align: center;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 300;
  color: #4a4441;
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.5;
}
.section__subtitle--light { color: rgba(255,255,255,0.75); }
.section__subtitle--wide { max-width: 720px; }

/* Подсказка под разделителем (значок i + текст), подтягивается к разделителю */
.section__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: -22px auto 32px;
  font-size: 0.88rem;
  font-weight: 400;
  color: #4a4441;
  text-align: center;
}
.section__hint svg { flex-shrink: 0; }

.divider-paw {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 500px;
  margin: 0 auto 40px;
}
.divider-paw__line {
  flex: 1;
  height: 3px;
  border-radius: 999px;
  border: 1px solid var(--peach-line);
  background: linear-gradient(180deg, #fbe4c4 0%, #f7c996 45%, #e3a15b 100%);
}
.divider-paw__line--short { max-width: 160px; }
.divider-paw__icon { flex-shrink: 0; width: 24px; height: 24px; object-fit: contain; }

.unbox__eyebrow-text {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--peach-light);
  white-space: nowrap;
}
.unbox__eyebrow-text--dark { color: var(--for-who-title); }

/* ===================== ЧТО ВНУТРИ ===================== */
/* Фон с лапками по верхним углам; цвет под картинкой = её основной тон, чтобы низ блока был бесшовным.
   Откат: вернуть `background: var(--section-bg);` (копия — _backup/2026-10-05_до-фона-блока-Что-внутри) */
.inside { background: #fef6ee url("../images/bg-inside.webp") center top / 100% auto no-repeat; }
.section.inside { padding-top: 60px; } /* меньше отступ сверху, чем у остальных секций (90px) */

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Карточка товара в рамке; вся карточка кликабельна и открывает окно товара */
.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(182,117,82,0.1);
  border-radius: 20px;
  padding: 24px 20px 22px;
  box-shadow: 0 12px 30px rgba(28,26,25,0.06);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(28,26,25,0.1); }
.product-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 0; /* иначе высокое фото растягивает блок и названия встают на разную высоту */
  margin-bottom: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.product-card__img img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px rgba(28,26,25,0.14));
  transition: transform 0.4s ease;
}
.product-card:hover .product-card__img img { transform: scale(1.05); }
.product-card--toy .product-card__img img { width: 70%; height: 70%; }

.product-card__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
}
.product-card__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}
.product-card__tags span {
  background: var(--section-bg);
  color: #3a3531;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.3;
  padding: 6px 14px;
  border-radius: 999px;
}
.product-card__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--peach-line);
}
.product-card__more span { transition: transform 0.2s ease; }
.product-card:hover .product-card__more span { transform: translateX(4px); }
.product-card__more:focus-visible { outline: 2px solid var(--peach-line); outline-offset: 4px; border-radius: 4px; }

.product-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card__icon img { width: 100%; height: 100%; object-fit: contain; }

.product-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
  text-align: left;
}

/* ===================== ПРЕИМУЩЕСТВА ===================== */
.benefits { background: var(--section-bg); }

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.compare__col {
  border-radius: 18px;
  padding: 36px;
}
.compare__col--no {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden; /* тень котов не выходит за край карточки */
}
/* Коты в свободном месте внизу колонки «Собрать самому»: прижаты к низу, по центру,
   смотрят вправо — на колонку Cat Box. Когда колонки встают друг под другом (≤992px),
   <picture> подставляет картинку, где коты смотрят вниз */
.compare__cats {
  display: block;
  width: 100%;
  max-width: 306px;
  margin: auto auto -16px; /* чуть выше нижнего края карточки (padding 36px) */
  padding-top: 24px;
  filter: drop-shadow(0 16px 22px rgba(28,26,25,0.14));
}
.compare__cats img { width: 100%; }
.compare__col--yes {
  background: #ffe0cd;
  position: relative;
  padding-right: 230px;
}
.compare__box-img {
  position: absolute;
  top: 30px;
  right: 22px;
  width: 210px;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.22));
}

.compare__col h3 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.compare__col--no h3 { color: var(--text-dark); }
.compare__col--yes h3 { color: var(--black); }

.compare__lead {
  font-size: 0.85rem;
  margin-bottom: 26px;
  padding-bottom: 22px;
}
.compare__col--no .compare__lead { color: #3a3531; font-weight: 400; border-bottom: 1px solid rgba(0,0,0,0.08); }
.compare__col--yes .compare__lead { color: rgba(0,0,0,0.85); font-weight: 400; border-bottom: 1px solid rgba(0,0,0,0.12); }

.compare__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
}
.compare__col--no .compare__list li { border-bottom: 1px solid rgba(0,0,0,0.06); }
.compare__col--yes .compare__list li { border-bottom: 1px solid rgba(0,0,0,0.08); }
.compare__list li:last-child { border-bottom: none; }

.compare__list strong {
  display: block;
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 4px;
}
.compare__col--no .compare__list strong { color: var(--text-dark); }
.compare__col--yes .compare__list strong { color: var(--black); }

.compare__list p {
  font-size: 0.86rem;
  line-height: 1.55;
  font-weight: 400;
}
.compare__col--no .compare__list p { color: #3a3531; }
.compare__col--yes .compare__list p { color: rgba(0,0,0,0.85); }

.mark {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
.mark--x { border: 1.5px solid rgba(0,0,0,0.25); color: #9a938f; }
.compare__col--yes .mark--check { border: 1.5px solid rgba(0,0,0,0.4); color: var(--black); }

.compare__col--yes .btn--dark { margin-top: 26px; width: 100%; }
.compare__note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--black);
  font-weight: 400;
  margin-top: 14px;
}

/* ===================== ДЛЯ КОГО ===================== */
.for-whom { background: var(--black); }

.whom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.whom-card {
  background: transparent;
  border-radius: 16px;
  overflow: hidden;
}
.whom-card__img { aspect-ratio: 4/3; overflow: hidden; border-radius: 14px; }
.whom-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.whom-card:hover .whom-card__img img { transform: scale(1.05); }

.whom-card__body {
  display: flex;
  gap: 14px;
  padding: 22px 4px 0;
}
.whom-card__num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--for-who-line);
  color: var(--peach-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
}
.whom-card__body h3 { font-size: 1rem; font-family: var(--font-body); font-weight: 600; margin-bottom: 6px; color: var(--white); }
.whom-card__body p { font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.45; font-weight: 300; }

.whom-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  padding: 26px 32px;
  flex-wrap: wrap;
}
.whom-cta__left { display: flex; align-items: center; gap: 18px; flex: 1; min-width: 260px; }
.whom-cta__left p { font-size: 0.98rem; font-weight: 300; line-height: 1.5; color: rgba(255,255,255,0.75); }

/* ===================== ВИДЕО РАСПАКОВКА ===================== */
.unbox { background: var(--black); text-align: center; }

.unbox__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
}
.unbox__eyebrow-line { width: 60px; height: 1px; background: var(--peach-line); }

.video-frame {
  position: relative;
  max-width: 820px;
  margin: 0 auto 30px;
  border-radius: 18px;
  overflow: hidden;
  background: #111;
}
.video-frame__video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #111; }
/* обложка до запуска — коробка целиком на тёмном фоне (поверх видео) */
.video-frame__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 28px 24px 56px; background: #111; filter: brightness(0.75); }
/* после запуска — только видео и штатные контролы */
.video-frame.is-playing .video-frame__img,
.video-frame.is-playing .video-frame__overlay,
.video-frame.is-playing .video-frame__play,
.video-frame.is-playing .video-frame__bar { display: none; }
.video-frame__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.55) 100%);
}
.video-frame__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--peach);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.video-frame__play:hover { transform: translate(-50%, -50%) scale(1.08); }
.video-frame__play.is-pressed { transform: translate(-50%, -50%) scale(0.9); }
.video-frame__bar {
  position: absolute;
  left: 20px; right: 20px; bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.video-frame__progress {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.3);
  border-radius: 3px;
  overflow: hidden;
}
.video-frame__progress span { display: block; width: 0; height: 100%; background: var(--peach); }
.video-frame__time { color: var(--white); font-size: 0.78rem; }

.unbox__meta {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.unbox__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}

/* ===================== ОТЗЫВЫ ===================== */
.reviews { background: var(--section-bg-2); }

/* Карусель скриншотов отзывов из Telegram: 5 в ряд на десктопе, листается стрелками/свайпом на узких экранах */
.reviews-slider { position: relative; margin-bottom: 40px; }
.reviews-slider__track {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scroll-padding-inline: 6px; /* = боковой padding, иначе snap сдвигает ленту на 6px и «назад» не гаснет */
  scrollbar-width: none;
  padding: 10px 6px 34px; /* место под тень карточек — overflow её обрезает */
  margin-bottom: -16px;
}
.reviews-slider__track::-webkit-scrollbar { display: none; }
/* Скриншоты разной пропорции → у всех одна высота, ширина по картинке. Пока всё помещается — ряд по центру */
.review-shot {
  flex: 0 0 auto;
  height: 425px; /* при этой высоте все 5 скриншотов помещаются в контейнер 1240px */
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(28,26,25,0.1);
}
.review-shot:first-child { margin-left: auto; }
.review-shot:last-child { margin-right: auto; }
.review-shot img { height: 100%; width: auto; max-width: none; }

.reviews-slider__arrow {
  position: absolute;
  top: calc(50% - 16px);
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  box-shadow: 0 6px 18px rgba(28,26,25,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, opacity 0.2s ease;
}
.reviews-slider__arrow:hover { background: var(--peach); }
.reviews-slider__arrow--prev { left: -22px; }
.reviews-slider__arrow--next { right: -22px; }
.reviews-slider__arrow[disabled] { opacity: 0; pointer-events: none; }

.reviews-slider__dots { display: flex; justify-content: center; gap: 8px; }
.reviews-slider__dots[hidden] { display: none; }
.reviews-slider__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-soft); transition: background 0.2s ease, transform 0.2s ease; }
.reviews-slider__dot.is-active { background: var(--peach-line); transform: scale(1.15); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.review-card {
  background: var(--black);
  border-radius: 16px;
  overflow: hidden;
  min-height: 340px;
}

.review-card--chat { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.chat-head { display: flex; align-items: center; gap: 10px; }
.chat-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--peach); color: var(--black);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem; flex-shrink: 0;
}
.chat-avatar--peach { background: var(--for-who-title); color: var(--white); }
.chat-head strong { display: block; color: var(--white); font-size: 0.8rem; font-weight: 600; }
.chat-head small { color: rgba(255,255,255,0.4); font-size: 0.68rem; }
.chat-bubble {
  background: #1e1e1e;
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  line-height: 1.5;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 300;
}
.chat-bubble--reply { background: var(--blue-ozon); color: var(--white); align-self: flex-end; }

.review-card--photo { position: relative; }
.review-card--photo img { width: 100%; height: 100%; object-fit: cover; min-height: 340px; }
.review-card--video .review-card__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; background: var(--peach);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s ease;
}
.review-card__play.is-pressed { transform: translate(-50%, -50%) scale(0.9); }

.review-card--text { background: var(--white); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.review-card__author { display: flex; align-items: center; gap: 10px; }
.review-card__author strong { display: block; font-size: 0.85rem; font-family: var(--font-body); }
.review-card__author small { color: #999; font-size: 0.7rem; }
.review-card--text p { font-size: 0.82rem; line-height: 1.55; color: #4a4441; font-weight: 300; flex: 1; }
.review-card__footer { display: flex; justify-content: space-between; font-size: 0.78rem; color: #999; }

.telegram-banner {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--peach);
  border-radius: 18px;
  padding: 28px 32px;
  flex-wrap: wrap;
}
.telegram-banner__icon { flex-shrink: 0; }
.telegram-banner__text { flex: 1; min-width: 220px; }
.telegram-banner__text h3 { font-size: 1.3rem; color: var(--black); margin-bottom: 6px; }
.telegram-banner__text p { font-size: 0.88rem; color: var(--black); font-weight: 400; }
.telegram-banner__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===================== КАК ЭТО РАБОТАЕТ ===================== */
.how { background: var(--black); }

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  margin-top: 50px;
  flex-wrap: wrap;
}
.step { display: flex; flex-direction: column; align-items: center; text-align: center; width: 230px; }
.step__num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--black);
  background: var(--peach);
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.step__icon {
  width: 190px; height: 190px;
  border-radius: 50%;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.step__icon img { width: 100%; height: 100%; object-fit: cover; }
.step h3 { font-family: var(--font-body); font-weight: 500; font-size: 0.95rem; line-height: 1.4; color: var(--white); }
.step__arrow {
  position: relative;
  flex-shrink: 0;
  width: 70px;
  height: 2px;
  margin-top: 32px;
  background-image: repeating-linear-gradient(to right, var(--peach) 0 8px, transparent 8px 15px);
}
.step__arrow::after {
  content: '';
  position: absolute;
  top: 50%; right: -1px;
  transform: translateY(-50%);
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent var(--peach);
}

/* ===================== FAQ ===================== */
.faq { background: var(--section-bg-2); }

.accordion__item {
  background: var(--white);
  border-radius: 14px;
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
}
.accordion__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--black);
  text-align: left;
}
.accordion__icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--for-who-line);
  color: var(--for-who-title);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.accordion__item.is-open .accordion__icon { background: var(--peach); color: var(--black); border-color: var(--peach); }

.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 26px;
}
.accordion__item.is-open .accordion__body { max-height: 300px; padding: 0 26px 24px; }
.accordion__body p { font-size: 0.9rem; line-height: 1.6; color: var(--black); font-weight: 400; }

/* ===================== FOOTER ===================== */
.footer { background: var(--black); padding-top: 90px; }

.final-cta {
  position: relative;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 40px 40px 44px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: baseline;
  gap: 30px;
  margin-bottom: 60px;
}
.final-cta__paw {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--black);
  padding: 0 16px;
  width: 56px;
  height: 24px;
  object-fit: contain;
}
.final-cta__left h3 { color: var(--white); font-size: 1.5rem; line-height: 1.3; margin-bottom: 10px; }
.final-cta__left p { color: rgba(255,255,255,0.55); font-size: 0.88rem; font-weight: 300; }

.final-cta__price { text-align: left; }
.final-cta__price .discount-badge { margin: 10px 0 16px; }

.final-cta__perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.final-cta__perks div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.final-cta__perks span { color: rgba(255,255,255,0.75); font-size: 0.82rem; font-weight: 300; line-height: 1.3; }

.footer__main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand .logo { margin-bottom: 14px; }
.footer__brand p { color: rgba(255,255,255,0.5); font-size: 0.85rem; font-weight: 300; line-height: 1.5; }

.footer__col h4 { color: var(--peach); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 16px; }
.footer__col a:not(.btn) {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem; font-weight: 300;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}
.footer__col a:not(.btn):hover { color: var(--peach); }

.footer__col--cta { align-items: flex-start; display: flex; flex-direction: column; gap: 14px; }
.footer__col--cta p { color: rgba(255,255,255,0.5); font-size: 0.82rem; font-weight: 300; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom span { color: rgba(255,255,255,0.4); font-size: 0.82rem; }
.footer__copy { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.footer__legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__legal a { color: rgba(255,255,255,0.4); font-size: 0.82rem; transition: color 0.2s ease; }
.footer__legal a:hover { color: var(--peach); }

/* ===================== LEGAL PAGES ===================== */
.legal-header { background: var(--black); padding: 20px 0; }
.legal-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.legal-header__back { color: rgba(255,255,255,0.75); font-size: 0.9rem; transition: color 0.2s ease; }
.legal-header__back:hover { color: var(--peach); }

.legal { background: var(--section-bg-2); padding: 64px 0 80px; }
.legal__title { margin-bottom: 8px; }
.legal__date { text-align: center; color: #6b6560; font-size: 0.85rem; margin-bottom: 40px; }

.legal__body {
  background: var(--white);
  border-radius: 20px;
  padding: 44px 48px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #2e2a27;
  font-weight: 400;
  overflow-wrap: anywhere;
}
.legal__body h2 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 32px 0 12px;
}
.legal__body > h2:first-child { margin-top: 0; }
.legal__body p { margin-bottom: 12px; }
.legal__body ul, .legal__body ol { margin: 0 0 12px; padding-left: 22px; }
.legal__body ul { list-style: none; padding-left: 0; }
.legal__body ul > li { position: relative; padding-left: 20px; margin-bottom: 6px; }
.legal__body ul > li::before {
  content: "";
  position: absolute;
  left: 4px; top: 0.72em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--peach-line);
}
.legal__body ol { list-style: decimal; }
.legal__body ol > li { margin-bottom: 6px; padding-left: 4px; }
.legal__body ol > li::marker { color: var(--peach-line); font-weight: 600; }
.legal__body strong { font-weight: 600; color: var(--text-dark); }
.legal__body a { color: var(--peach-line); text-decoration: underline; text-underline-offset: 2px; }
.legal__body a:hover { color: var(--text-dark); }

.legal__fill { background: #fff1c2; border-radius: 4px; padding: 0 4px; color: #6b4e00; }

.legal__body .legal__reqs { border-top: 1px solid rgba(0,0,0,0.08); margin-top: 4px; }
.legal__reqs > li {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 10px 0 !important;
  margin: 0 !important;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.legal__reqs > li::before { display: none; }
.legal__reqs > li > span:first-child { color: #6b6560; }

.legal__cta { display: flex; justify-content: center; margin-top: 36px; }

.footer--legal { padding-top: 0; }
.footer__legal a[aria-current="page"] { color: var(--peach); }

@media (max-width: 700px) {
  .legal { padding: 40px 0 56px; }
  .legal__date { margin-bottom: 28px; }
  .legal__body { padding: 28px 20px; font-size: 0.92rem; border-radius: 16px; }
  .legal__reqs > li { grid-template-columns: 1fr; gap: 2px; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1280px) {
  .nav { gap: 20px; }
}

/* Мобильное меню (бургер): 6 пунктов меню + CTA не помещаются в строку уже ниже ~1150px */
@media (max-width: 1150px) {
  .nav {
    position: fixed;
    top: 0; right: -100%;
    width: min(320px, 82vw);
    height: 100vh;
    background: #0f0f0f;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 40px;
    transition: right 0.35s ease;
    z-index: 100;
  }
  .nav.is-open { right: 0; box-shadow: -20px 0 50px rgba(0,0,0,0.5); }
  .nav__link { font-size: 1.1rem; }
  .nav__cta-mobile { display: block; margin-top: 10px; }
  .burger { display: flex; }
  .header__cta { display: none; }
}

@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .whom-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .review-shot { height: 420px; }
  .reviews-slider__arrow--prev { left: -10px; }
  .reviews-slider__arrow--next { right: -10px; }
  .footer__main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 992px) {
  .hero__title { font-size: 4.5rem; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__right { order: -1; height: auto; justify-content: center; overflow: visible; }
  .hero__box-wrap { position: relative; width: 100%; max-width: 420px; height: auto; margin: 0 auto; }
  .hero__box { height: auto; object-position: center; }
  .hero__shine { -webkit-mask-position: center; mask-position: center; }
  .hero-glow span:first-child { width: 140vw; height: 140vw; top: 28%; left: 50%; }
  .hero-glow span:last-child { width: 100vw; height: 100vw; top: 22%; left: 50%; }
  .hero__left { text-align: center; }
  .hero__divider { margin-left: auto; margin-right: auto; }
  .discount-badge { margin-left: auto; margin-right: auto; }
  .hero__args { justify-content: center; }
  .arg { min-width: 45%; border-left: none; padding: 0; justify-content: center; }
  .hero__price-row { justify-content: center; }
  .compare { grid-template-columns: 1fr; }
  .compare__col--yes { padding-right: 36px; }
  .compare__box-img { position: static; display: block; width: 60%; max-width: 240px; margin: 0 auto 24px; filter: drop-shadow(0 14px 24px rgba(0,0,0,0.22)); }
  .final-cta { grid-template-columns: 1fr; text-align: center; }
  .final-cta__price { text-align: center; }
  .final-cta__price .hero__price-row { justify-content: center; }
  .final-cta__price .discount-badge { margin-left: auto; margin-right: auto; }
  .hero__inner > *, .final-cta > * { min-width: 0; }
}

@media (max-width: 860px) {
  .steps { flex-direction: column; align-items: center; }
  .step__arrow { display: none; }
  .step { margin-bottom: 10px; }

  /* Навигация и контакты — в две колонки, бренд и CTA — на всю ширину */
  .footer__main { grid-template-columns: 1fr 1fr; gap: 30px 20px; text-align: left; }
  .footer__brand, .footer__col--cta { grid-column: 1 / -1; }
  .footer__main > * { min-width: 0; }
  .footer__col a:not(.btn) { overflow-wrap: anywhere; }
}

@media (max-width: 700px) {
  .section { padding: 64px 0; }
  .section.inside { padding-top: 44px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
  .product-card { padding: 16px 12px; border-radius: 16px; }
  .product-card__head { gap: 8px; margin-bottom: 10px; }
  .product-card__tags { gap: 6px; margin-bottom: 12px; }
  .product-card__tags span { font-size: 0.72rem; padding: 5px 10px; }
  .whom-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .review-shot { height: 400px; }
  .reviews-slider__arrow { width: 38px; height: 38px; }
  .reviews-slider__arrow--prev { left: -6px; }
  .reviews-slider__arrow--next { right: -6px; }
  .review-card, .review-card--photo img { min-height: 220px; }
  .compare__col { padding: 26px; }
  .compare__cats { max-width: 198px; margin-bottom: -12px; }
  .whom-cta { flex-direction: column; align-items: stretch; text-align: center; }
  .whom-cta__left { flex-direction: column; min-width: 0; }
  .telegram-banner { flex-direction: column; text-align: center; }
  .telegram-banner__actions { flex-direction: column; align-self: stretch; }
  .arg { min-width: 100%; }
  .hero__args { flex-direction: column; gap: 22px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero__title { font-size: 2.6rem; }
  .price--new { font-size: 1.9rem; }
  .price--old { font-size: 1.1rem; }
  .btn--big { width: 100%; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .review-shot { height: 440px; scroll-snap-align: center; }
  .review-card, .review-card--photo img { min-height: 260px; }
  .logo { font-size: 1.25rem; }
  .section__title { font-size: 1.6rem; }
  .compare__col h3 { font-size: 1.25rem; }
  .video-frame__img { padding: 16px 12px 40px; }

  .final-cta { padding: 36px 18px 30px; gap: 26px; }
  .final-cta__price .btn { width: 100%; }
  .final-cta__perks { gap: 10px; }
  .final-cta__perks span { font-size: 0.78rem; }
}

@media (max-width: 400px) {
  .btn { padding: 14px 18px; font-size: 0.92rem; gap: 6px; white-space: normal; text-align: center; flex-wrap: wrap; row-gap: 6px; }
  .nav { padding: 40px 24px; }
  .final-cta { padding-left: 12px; padding-right: 12px; }
  .final-cta__perks { gap: 6px; }
  .final-cta__perks span { font-size: 0.74rem; }
  .btn--big { padding: 16px 18px; font-size: 0.95rem; }
  .product-card__head { flex-direction: column; gap: 8px; }
  .product-card__icon { width: 36px; height: 36px; }
  .product-card h3 { font-size: 0.95rem; text-align: center; }
  .products-grid > * { min-width: 0; }
}

/* ===================== VIDEO MODAL ===================== */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.video-modal.is-open { opacity: 1; visibility: visible; }
.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.86);
}
.video-modal__content {
  position: relative;
  max-width: 860px;
  width: 100%;
}
.video-modal__media {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 16px;
  display: block;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.video-modal__close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.video-modal__close:hover { background: rgba(255,255,255,0.22); }

/* ===================== ОКНО ТОВАРА (Что внутри) ===================== */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.product-modal.is-open { opacity: 1; visibility: visible; }
.product-modal__backdrop { position: absolute; inset: 0; background: rgba(10,10,10,0.72); }

.product-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 1000px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #fef6ee;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  padding: 36px;
  transform: translateY(16px);
  transition: transform 0.25s ease;
}
.product-modal.is-open .product-modal__dialog { transform: none; }

.product-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.06);
  color: var(--black);
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.product-modal__close:hover { background: var(--peach); }

/* Галерея: большое фото + миниатюры (миниатюры и стрелки фото видны, только если фото больше одного) */
.product-modal__stage {
  position: relative;
  aspect-ratio: 1198 / 1313; /* пропорции слайдов маркетплейса (images/slides/) */
  overflow: hidden;
  background: var(--white);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  touch-action: pan-y;
}
.product-modal__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px rgba(28,26,25,0.14));
}
/* Слайд-фото: на всю площадь, без отступов и тени */
.product-modal__stage.is-photo { padding: 0; }
.product-modal__stage.is-photo .product-modal__img { filter: none; }

.product-modal__slide {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--for-who-line);
  color: var(--for-who-title);
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.product-modal__slide:hover { background: var(--peach); color: var(--black); border-color: var(--peach); }
.product-modal__slide[hidden] { display: none; }
.product-modal__slide--prev { left: 12px; }
.product-modal__slide--next { right: 12px; }

.product-modal__thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.product-modal__thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: var(--white);
  border: 2px solid transparent;
  padding: 6px;
  transition: border-color 0.2s ease;
}
.product-modal__thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-modal__thumb.is-photo { padding: 0; overflow: hidden; }
.product-modal__thumb.is-photo img { object-fit: cover; }
.product-modal__thumb.is-active, .product-modal__thumb:hover { border-color: var(--peach); }

/* Информация о товаре */
.product-modal__info { display: flex; flex-direction: column; padding-top: 8px; }
.product-modal__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding-right: 40px; }
.product-modal__title { font-family: var(--font-body); font-size: 1.5rem; font-weight: 600; line-height: 1.25; color: var(--black); }

.product-modal__details p { font-size: 0.98rem; line-height: 1.6; font-weight: 400; color: var(--black); margin-bottom: 20px; }
.product-modal__details ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.product-modal__details li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 400;
  color: var(--black);
}
.product-modal__details li::before {
  content: "✓";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--for-who-line);
  color: var(--for-who-title);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-modal__included {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffe0cd;
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 24px;
}
.product-modal__included img { width: 28px; height: 28px; object-fit: contain; flex-shrink: 0; }
.product-modal__included strong { display: block; font-weight: 600; font-size: 0.95rem; color: var(--black); }
.product-modal__included span { font-size: 0.85rem; font-weight: 400; color: var(--black); }

/* Переключение между товарами набора */
.product-modal__nav { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 18px; }
.product-modal__arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--for-who-line);
  color: var(--for-who-title);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.product-modal__arrow:hover { background: var(--peach); color: var(--black); border-color: var(--peach); }
.product-modal__counter { font-weight: 600; font-size: 0.95rem; color: var(--black); min-width: 48px; text-align: center; }

@media (max-width: 860px) {
  .product-modal { padding: 12px; }
  .product-modal__dialog { grid-template-columns: 1fr; gap: 20px; padding: 20px; max-height: calc(100vh - 24px); border-radius: 16px; }
  /* рамка фото по пропорциям слайда, но не выше ~55% экрана — чтобы под ней было видно описание */
  .product-modal__stage { width: min(100%, calc(55vh * 1198 / 1313)); margin: 0 auto; padding: 16px; }
  .product-modal__thumbs { justify-content: center; }
  .product-modal__info { padding-top: 0; }
  .product-modal__title { font-size: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .product-modal, .product-modal__dialog, .product-card { transition: none; }
}
