/* ================= Coulair Club ================= */
:root {
  --ink: #0e0e10;
  --ink-2: #1b1b1f;
  --paper: #ffffff;
  --sand: #ebe8e3;          /* фон карточек */
  --muted: #6d6b68;
  --line: #d9d6d0;
  --sale: #d33a2c;
  --radius: 14px;
  --ticker-h: 38px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, canvas, svg { display: block; max-width: 100%; }
/* картинки не ловят наведение: Яндекс Браузер не показывает на них «Поиск по картинке»,
   их нельзя утащить мышкой; клики проходят к ссылке/кнопке вокруг */
img { pointer-events: none; -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
[hidden] { display: none !important; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
svg.fill { fill: currentColor; stroke: none; }
:focus-visible { outline: 2px solid #7fb2ff; outline-offset: 3px; }

.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
.eyebrow { margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eyebrow--light { color: rgba(255,255,255,.65); }
.muted { color: var(--muted); line-height: 1.55; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  border-radius: 10px;
  font-size: 16px; font-weight: 600;
  transition: transform .2s var(--ease), background .2s, color .2s, opacity .2s;
}
.btn:active { transform: scale(.98); }
.btn--light { background: #fafafa; color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2a2a30; }
.btn--wide { width: 100%; }

.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; transition: background .2s; }
.icon-btn:hover { background: rgba(255,255,255,.12); }
.icon-btn svg { width: 24px; height: 24px; }

.glass {
  background: rgba(24, 22, 22, .42);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid rgba(255,255,255,.08);
}

/* ---------- Бегущая строка ---------- */
.ticker {
  position: relative; z-index: 60;
  height: var(--ticker-h);
  background: #000; color: #fff;
  overflow: hidden;
  display: flex; align-items: center;
}
.ticker__track {
  display: flex; flex-shrink: 0; white-space: nowrap;
  animation: ticker 38s linear infinite;
  will-change: transform;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { display: inline-flex; align-items: center; font-size: 15px; font-weight: 700; }
.ticker__item::before { content: "•"; margin: 0 38px; font-size: 18px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  color: #fff;
  transition: background .35s, backdrop-filter .35s, box-shadow .35s;
}
.header.is-scrolled {
  background: rgba(14, 14, 16, .88);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.header__inner {
  height: 100%;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 28px;
}
.header__left { display: flex; align-items: center; gap: 6px; }
.header__right { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.header__divider { width: 1px; height: 26px; background: rgba(255,255,255,.35); margin: 0 14px 0 10px; }
.header__link { padding: 8px 12px; font-size: 16px; font-weight: 700; white-space: nowrap; border-radius: 8px; transition: opacity .2s; }
.header__link:hover { opacity: .7; }
.header__logo img { height: 60px; width: auto; }
.header__burger { display: none; }

.cart-btn { position: relative; }
.cart-btn__count {
  position: absolute; top: 3px; right: 1px;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: #fff; color: var(--ink);
  font-size: 11px; font-weight: 800; line-height: 18px; text-align: center;
}

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
  display: grid; gap: 4px; padding: 16px;
  background: rgba(20,18,18,.92);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  color: #fff;
}
.mobile-menu a { padding: 14px 8px; font-size: 18px; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-menu__tg { color: #8cc8ff; border-bottom: 0 !important; }

/* ---------- Первый экран ---------- */
.hero {
  position: relative;
  height: calc(100svh - var(--ticker-h));
  min-height: 560px;
  margin-top: calc(var(--header-h) * -1);   /* шапка лежит поверх видео */
  overflow: hidden;
  background: #151417;
  color: #fff;
}
.hero__video, .hero__fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { z-index: 1; }
/* слайдшоу: фото плавно сменяются, каждое медленно «наезжает» */
.hero__slides { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.hero__slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.02);
  transition: opacity 1.4s ease, transform 7s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1.1); }
@media (prefers-reduced-motion: reduce) { .hero__slide, .hero__slide.is-active { transform: none; } }
.hero__fallback {
  background:
    radial-gradient(90% 60% at 72% 8%, rgba(150, 120, 112, .45) 0%, transparent 62%),
    radial-gradient(70% 50% at 10% 100%, rgba(70, 76, 96, .5) 0%, transparent 70%),
    linear-gradient(180deg, #3b3134 0%, #221f24 55%, #141317 100%);
}
.hero__snow { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.hero__shade { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, transparent 28%, transparent 55%, rgba(0,0,0,.45) 100%); }

.offer {
  position: absolute; z-index: 3;
  left: 40px; bottom: 40px;
  width: min(560px, calc(100% - 32px));
  padding: 40px 44px 44px;
  border-radius: var(--radius);
  opacity: 0; transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  pointer-events: none;
}
.offer.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.offer__eyebrow { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.offer__title { margin: 0 0 16px; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; }
.offer__text { margin: 0 0 30px; font-size: 18px; line-height: 1.5; opacity: .92; }

/* ---------- Главный товар ---------- */

.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.price__new { font-size: 44px; font-weight: 800; letter-spacing: -.02em; }
.price__old { font-size: 22px; color: var(--muted); text-decoration-thickness: 2px; }
.price__tag { align-self: center; padding: 5px 10px; border-radius: 6px; background: var(--sale); color: #fff; font-size: 14px; font-weight: 800; }

.sizes { margin-bottom: 26px; }
.sizes__label { margin: 0 0 12px; font-size: 14px; font-weight: 700; }
.sizes__list { display: flex; gap: 10px; }
.size {
  width: 64px; height: 52px; border-radius: 10px;
  border: 1.5px solid var(--line);
  font-size: 16px; font-weight: 700;
  transition: border-color .2s, background .2s, color .2s;
}
.size:hover { border-color: var(--ink); }
.size[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.sizes__error { margin: 10px 0 0; color: var(--sale); font-size: 14px; font-weight: 600; }
.sizes.is-error .size { border-color: var(--sale); animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

.perks { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; color: #45433f; }
.perks li { display: flex; gap: 10px; align-items: center; }
.perks li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); flex-shrink: 0; }
/* раскрывающиеся характеристики у штанов */
.specs-acc { margin-top: 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.specs-acc summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 17px; font-weight: 700; cursor: pointer; list-style: none; }
.specs-acc summary::-webkit-details-marker { display: none; }
.specs-acc summary::after { content: "+"; font-size: 24px; font-weight: 400; transition: transform .25s; }
.specs-acc[open] summary::after { transform: rotate(45deg); }
.specs-acc__list { margin: 0; padding: 0 0 18px 20px; display: grid; gap: 12px; font-size: 15px; line-height: 1.6; color: #45433f; }
.specs-acc__list strong { color: var(--ink); }
.specs-acc__body { overflow: hidden; }
.specs-acc__list li { opacity: 0; transform: translateY(-8px); transition: opacity .35s ease, transform .35s ease; }
.specs-acc.is-shown .specs-acc__list li { opacity: 1; transform: none; }
.specs-acc.is-shown .specs-acc__list li:nth-child(2) { transition-delay: .05s; }
.specs-acc.is-shown .specs-acc__list li:nth-child(3) { transition-delay: .1s; }
.specs-acc.is-shown .specs-acc__list li:nth-child(4) { transition-delay: .15s; }
.specs-acc.is-shown .specs-acc__list li:nth-child(5) { transition-delay: .2s; }
@media (prefers-reduced-motion: reduce) { .specs-acc__list li { transition: none; } }

/* ---------- Главный товар (в духе страницы товара Vans): сетка фото + липкая панель ---------- */
.hero-product { padding: 0 0 96px; background: var(--paper); }
.hero-product__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(360px, 1fr); gap: 0; }   /* колонки равной высоты — панель «липнет» */
.hp-gallery { outline: none; padding: 24px 24px 0 24px; }
.hp-stage { position: relative; height: min(calc(100svh - var(--header-h) - 150px), 760px); min-height: 420px; background: #f3f3f1; overflow: hidden; }
.hp-gallery__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.hp-gallery__track::-webkit-scrollbar { display: none; }
.hp-gallery__item { flex: 0 0 100%; height: 100%; margin: 0; scroll-snap-align: center; cursor: zoom-in; box-sizing: border-box; }
.hp-gallery__item img { width: 100%; height: 100%; object-fit: contain; }
.hp-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: #fff; color: var(--ink); box-shadow: 0 6px 22px rgba(0,0,0,.14);
  transition: opacity .2s, transform .2s;
}
.hp-arrow:hover { transform: translateY(-50%) scale(1.06); }
.hp-arrow:disabled { opacity: 0; pointer-events: none; }
.hp-arrow svg { width: 22px; height: 22px; }
.hp-arrow--prev { left: 16px; }
.hp-arrow--next { right: 16px; }
.hp-counter { position: absolute; left: 16px; bottom: 16px; z-index: 2; padding: 6px 12px; border-radius: 99px; background: rgba(14,14,16,.7); color: #fff; font-size: 13px; font-weight: 700; }
.hp-zoom { position: absolute; right: 16px; bottom: 16px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(14,14,16,.7); color: #fff; }
.hp-zoom svg { width: 19px; height: 19px; }
.hp-thumbs { display: flex; gap: 8px; padding: 10px 0 0; overflow-x: auto; scrollbar-width: none; }
.hp-thumb { flex: 0 0 72px; height: 92px; background: #f3f3f1; opacity: .55; outline: 2px solid transparent; outline-offset: -2px; transition: opacity .2s, outline-color .2s; }
.hp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hp-thumb:hover { opacity: .85; }
.hp-thumb.is-active { opacity: 1; outline-color: var(--ink); }
/* полноэкранный просмотр */
.hp-lightbox { position: fixed; inset: 0; z-index: 120; background: #0b0b0d; animation: fade .2s; }
.hp-lightbox .hp-gallery__track { height: 100%; }
.hp-lightbox .hp-gallery__item { cursor: default; padding: 60px 70px; }
.hp-lightbox__close { position: absolute; top: 14px; right: 14px; z-index: 3; color: #fff; }
.hp-lightbox .hp-counter { left: 50%; transform: translateX(-50%); bottom: 22px; }
.hp-info { padding: 48px 48px 0; }
.hp-info__sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.hp-info__eyebrow { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hp-info__title { margin: 0 0 14px; font-size: clamp(30px, 2.8vw, 42px); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; }
.hero-product .price { margin-bottom: 14px; }
.hero-product .price__new { font-size: 30px; }
.hp-info__desc { margin: 0 0 26px; font-size: 15px; line-height: 1.6; color: #45433f; }
.hero-product .sizes__head { display: flex; justify-content: space-between; align-items: baseline; }
.hero-product .sizes__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.hero-product .size { width: auto; height: 52px; border-radius: 4px; }
.hp-info__cta { min-height: 56px; border-radius: 4px; font-size: 16px; letter-spacing: .02em; }
.hero-product .perks { margin-top: 20px; }
.sizes__guide { font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.sizes__guide:hover { color: var(--ink); }
.size-table__wrap { overflow-x: auto; margin: 0 0 12px; }
.size-table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: center; white-space: nowrap; }
.size-table th { padding: 10px 8px; font-size: 12px; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); }
.size-table td { padding: 10px 8px; border-bottom: 1px solid #f0eeea; color: #45433f; }
.size-table td:first-child, .size-table th:first-child { text-align: left; }
.size-table tr.is-stock td { color: var(--ink); font-weight: 700; }
.size-table__note { margin: 0 0 18px; font-size: 13px; line-height: 1.55; color: var(--muted); }
.specs-acc__text { padding: 0 0 18px; font-size: 15px; line-height: 1.65; color: #45433f; }
.specs-acc__text p { margin: 0 0 12px; }
.specs-acc + .specs-acc { margin-top: 0; border-top: 0; }

 (как фото 5) ---------- */
.categories { padding: 12px 16px 56px; }
.categories__list { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.cat-btn {
  display: grid; place-items: center;
  min-width: 236px; height: 58px; padding: 0 20px;
  border: 2px solid var(--ink);
  font-size: 17px; font-weight: 700;
  transition: background .2s, color .2s;
}
.cat-btn:hover, .cat-btn.is-active { background: var(--ink); color: #fff; }

/* ---------- Карточки (как фото 6) ---------- */
.catalog { padding: 0 0 110px; }
.catalog__head { display: flex; align-items: center; justify-content: space-between; padding: 0 8px 14px; }
.catalog__title { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -.01em; }
.catalog__arrows { display: flex; gap: 6px; }
.arrow { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; transition: background .2s, opacity .2s; }
.arrow:hover { background: var(--sand); }
.arrow:disabled { opacity: .25; cursor: default; background: none; }
.arrow svg { width: 22px; height: 22px; }

.catalog__track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 4px) / 3.35);
  gap: 4px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.catalog__track::-webkit-scrollbar { display: none; }
.card { position: relative; scroll-snap-align: start; }
.card__main { display: block; color: inherit; }
.card__main:focus-visible { outline-offset: -2px; }
.card__media {
  position: relative;
  aspect-ratio: 3 / 3.7;
  background: var(--sand);
  overflow: hidden;
}
.card__media img { width: 100%; height: 100%; object-fit: contain; padding: 12%; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__media--photo img { padding: 0; object-fit: cover; }
.card__media--contain { background: #e3e4e0; }
.card__media--contain img { padding: 0; object-fit: contain; }
.card__img2 { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease), transform .6s var(--ease); }
.card:hover .card__img2 { opacity: 1; }
.card__badge { position: absolute; left: 12px; bottom: 12px; padding: 5px 10px; border-radius: 99px; background: rgba(255,255,255,.9); color: var(--ink); font-size: 12px; font-weight: 700; }
.card__size { margin-left: 8px; color: var(--muted); }
.card--sold .card__media img { filter: grayscale(1); opacity: .6; }
.card--sold .card__price { color: var(--muted); text-decoration: line-through; }
.card__badge--sold { background: var(--ink); color: #fff; }
.catalog__all { margin-right: 10px; font-size: 15px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.catalog__all:hover { opacity: .65; }
.catalog__empty a { text-decoration: underline; }
.card__add {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  transition: background .2s, transform .2s;
}
.card__add:hover { background: rgba(255,255,255,.75); }
.card__media--photo ~ .card__add, .card:has(.card__media--photo) .card__add { background: rgba(255,255,255,.85); }
.card__add svg { width: 20px; height: 20px; }
.card__add.is-added { background: var(--ink); color: #fff; }
.card__sale { position: absolute; top: 18px; left: 16px; padding: 4px 8px; border-radius: 5px; background: var(--sale); color: #fff; font-size: 12px; font-weight: 800; }
.card__body { padding: 12px 8px 0; }
.card__name { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
.card__price { margin: 0; font-size: 13px; color: #45433f; }
.card__price s { margin-left: 6px; color: var(--muted); }
.catalog__empty { padding: 40px 8px; color: var(--muted); }

/* ---------- Футер со снегом ---------- */
.footer {
  position: relative; overflow: hidden;
  background: radial-gradient(90% 80% at 50% 0%, #25232a 0%, var(--ink) 70%);
  color: #fff;
}
.footer__snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.footer__cta { position: relative; padding: 130px 16px 110px; text-align: center; }
.footer__title { margin: 0 auto 34px; max-width: 820px; font-size: clamp(30px, 4.4vw, 58px); line-height: 1.06; font-weight: 800; letter-spacing: -.025em; }
.footer__bottom {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
  padding: 26px 110px 26px 40px; border-top: 1px solid rgba(255,255,255,.1);
}
.footer__logo { height: 44px; width: auto; }
.footer__nav { display: flex; gap: 26px; font-weight: 600; opacity: .8; }
.footer__nav a:hover { opacity: .65; }
.footer__copy { margin: 0; font-size: 14px; opacity: .5; }
.game-btn {
  display: inline-flex; align-items: center; gap: 4px;
  height: 24px; padding: 0 9px 0 7px; border-radius: 99px;
  border: 1px solid rgba(255,255,255,.2); background: transparent;
  color: rgba(255,255,255,.7); font-size: 11px; font-weight: 700; letter-spacing: .02em;
  transition: background .2s, color .2s, border-color .2s;
}
.game-btn:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.4); }
.game-btn svg { width: 10px; height: 10px; fill: currentColor; stroke: none; }
.game-btn.is-loading { pointer-events: none; opacity: .7; }
.game-btn.is-loading svg { display: none; }
.game-btn.is-loading::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  border: 1.5px solid currentColor; border-right-color: transparent;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Плавающая кнопка связи ---------- */
.chat {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.chat.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.chat__btn {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: rgba(20,18,18,.55); color: #fff;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 8px 28px rgba(0,0,0,.25);
  transition: background .2s, transform .2s;
}
.chat__btn:hover { background: rgba(20,18,18,.8); transform: scale(1.05); }
.chat__btn svg { width: 24px; height: 24px; }
.chat__icon-close { display: none; }
.chat.is-open .chat__icon-open { display: none; }
.chat.is-open .chat__icon-close { display: block; }
.chat__panel {
  width: min(320px, calc(100vw - 44px));
  padding: 22px; border-radius: var(--radius);
  color: #fff;
  background: rgba(20,18,18,.72);
  box-shadow: 0 18px 50px rgba(0,0,0,.3);
  animation: pop .3s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.chat__title { margin: 0 0 4px; font-size: 18px; font-weight: 800; }
.chat__sub { margin: 0 0 16px; font-size: 13px; opacity: .65; }
.chat__links { display: grid; gap: 8px; }
.chat__link {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 10px;
  background: rgba(255,255,255,.08);
  font-weight: 600; transition: background .2s;
}
.chat__link:hover { background: rgba(255,255,255,.16); }
.chat__link svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ---------- Модалки ---------- */
.modal, .drawer, .search { position: fixed; inset: 0; z-index: 100; }
.modal { display: grid; place-items: center; padding: 16px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(10,10,12,.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.modal__box {
  position: relative;
  width: min(480px, 100%); max-height: calc(100svh - 32px); overflow-y: auto;
  padding: 34px 32px 30px; border-radius: 18px;
  background: #fff;
  animation: pop .3s var(--ease);
}
.modal__box--small { width: min(400px, 100%); }
.modal__box--small .muted { margin: 0 0 24px; }
.modal__close { position: absolute; top: 14px; right: 14px; }
.modal__close:hover, .drawer .icon-btn:hover, .search .icon-btn:hover { background: var(--sand); }
.modal__title { margin: 0 0 18px; font-size: 26px; font-weight: 800; letter-spacing: -.015em; }

.order-summary { margin-bottom: 20px; padding: 14px 16px; border-radius: 12px; background: var(--sand); font-size: 14px; line-height: 1.6; }
.order-summary__row { display: flex; justify-content: space-between; gap: 12px; }
.order-summary__total { margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line); font-weight: 800; }
.order-summary__promo { margin-top: 6px; color: #2d7a3e; font-weight: 700; }

.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.field em { font-style: normal; font-weight: 500; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 13px 14px;
  border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; font-weight: 500; font-size: 16px;
  background: #fff; color: var(--ink);
  transition: border-color .2s;
  resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field.is-invalid input { border-color: var(--sale); }
/* подсказки городов */
.suggest { position: relative; display: block; }
.suggest__list {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 5;
  max-height: 264px; overflow-y: auto; margin: 0; padding: 6px;
  list-style: none; background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  box-shadow: 0 14px 34px rgba(0,0,0,.14);
}
.suggest__item { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 8px; cursor: pointer; font-weight: 500; }
.suggest__item[aria-selected="true"], .suggest__item:hover { background: var(--sand); }
.suggest__item mark { background: none; color: inherit; font-weight: 800; }
.suggest__region { flex-shrink: 0; font-size: 13px; color: var(--muted); text-align: right; }
.suggest__empty { padding: 10px 12px; font-size: 14px; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); flex-shrink: 0; }
.form__error { margin: 0; color: var(--sale); font-size: 14px; font-weight: 600; }
.form-done p { margin: 0 0 24px; line-height: 1.6; color: #45433f; }

/* Корзина */
.drawer__box {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(420px, 100%);
  display: flex; flex-direction: column;
  background: #fff;
  animation: slide .35s var(--ease);
}
@keyframes slide { from { transform: translateX(100%); } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 22px 0; }
.drawer__head .modal__title { margin: 0; }
.drawer__promo { margin: 14px 22px 0; padding: 12px 14px; border-radius: 10px; background: var(--sand); font-size: 14px; font-weight: 600; }
.drawer__promo.is-done { background: #e3f2e5; color: #2d7a3e; }
.drawer__list { flex: 1; overflow-y: auto; margin: 0; padding: 10px 22px; list-style: none; }
.drawer__item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid #efede9; }
.drawer__item img { width: 72px; height: 72px; object-fit: contain; padding: 8px; border-radius: 8px; background: var(--sand); }
.drawer__item-name { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
.drawer__item-meta { margin: 0; font-size: 13px; color: var(--muted); }
.drawer__remove { font-size: 13px; color: var(--muted); text-decoration: underline; }
.drawer__empty { padding: 40px 0; text-align: center; color: var(--muted); }
.drawer__foot { padding: 18px 22px 24px; border-top: 1px solid #efede9; }
.drawer__total { display: flex; justify-content: space-between; margin-bottom: 14px; font-size: 18px; }

/* Поиск */
.search__box {
  position: relative;
  width: min(680px, calc(100% - 32px)); margin: 90px auto 0;
  border-radius: 16px; background: #fff; overflow: hidden;
  animation: pop .3s var(--ease);
}
.search__row { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 20px; }
.search__row > svg { width: 22px; height: 22px; color: var(--muted); flex-shrink: 0; }
.search__row input { flex: 1; min-width: 0; padding: 12px 0; border: 0; font: inherit; font-size: 18px; outline: none; }
.search__results { max-height: 60svh; overflow-y: auto; margin: 0; padding: 0 10px 10px; list-style: none; }
.search__results:empty { display: none; }
.search__result { display: flex; align-items: center; gap: 14px; width: 100%; padding: 10px; border-radius: 10px; text-align: left; }
.search__result:hover { background: var(--sand); }
.search__result img { width: 52px; height: 52px; object-fit: contain; padding: 6px; border-radius: 8px; background: var(--sand); }
.search__result span { flex: 1; font-weight: 600; }
.search__result small { color: var(--muted); font-size: 14px; }
.search__none { padding: 14px 10px; color: var(--muted); }

/* Тост */
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 120;
  width: max-content; max-width: calc(100vw - 32px);
  padding: 12px 20px; border-radius: 10px;
  background: var(--ink); color: #fff; font-size: 15px; font-weight: 600; text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Внутренние страницы ---------- */
.page-sub .header { background: rgba(14, 14, 16, .96); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 22px 0 26px; font-size: 14px; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-current] { color: var(--ink); font-weight: 600; }
.crumbs__sep { opacity: .5; }
.btn--outline { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }

/* Товар */
.pdp { padding-bottom: 40px; }
.pdp__grid { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 72px; align-items: start; justify-content: center; }
.pdp__info { position: sticky; top: calc(var(--header-h) + 24px); }
.pdp__title { margin: 0 0 16px; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.04; font-weight: 800; letter-spacing: -.025em; }
.pdp__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.badge { padding: 7px 12px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; }
.badge--stock { background: #e3f2e5; color: #2d7a3e; }
.badge--sold { background: #f3e1df; color: var(--sale); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.pdp .price { margin-bottom: 26px; }
.size--static { display: inline-grid; place-items: center; width: auto; padding: 0 18px; cursor: default; background: var(--ink); border-color: var(--ink); color: #fff; }
.pdp__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.gallery__main { position: relative; border-radius: var(--radius); overflow: hidden; background: #1c1b1e; }
.gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: zoom-in; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { position: relative; flex: 0 0 100%; margin: 0; aspect-ratio: 4 / 5; scroll-snap-align: start; overflow: hidden; }
.gallery__bg { position: absolute; inset: -10%; width: 120%; height: 120%; object-fit: cover; filter: blur(28px) brightness(.8) saturate(1.1); }
.gallery__img { position: relative; width: 100%; height: 100%; object-fit: contain; user-select: none; }
.gallery__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.88); color: var(--ink);
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
  opacity: 0; transition: opacity .25s, background .2s;
}
.gallery__arrow svg { width: 22px; height: 22px; }
.gallery__arrow:hover { background: #fff; }
.gallery__arrow--prev { left: 16px; }
.gallery__arrow--next { right: 16px; }
.gallery__main:hover .gallery__arrow, .gallery__arrow:focus-visible { opacity: 1; }
.gallery__counter { position: absolute; left: 16px; bottom: 16px; z-index: 2; padding: 6px 12px; border-radius: 99px; background: rgba(14,14,16,.6); color: #fff; font-size: 13px; font-weight: 700; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.gallery__zoom { position: absolute; right: 16px; bottom: 16px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(14,14,16,.6); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.gallery__zoom svg { width: 20px; height: 20px; }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.gallery__thumb { flex: 0 0 76px; height: 92px; border-radius: 10px; overflow: hidden; opacity: .55; outline: 2px solid transparent; outline-offset: -2px; transition: opacity .2s, outline-color .2s; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { opacity: .85; }
.gallery__thumb.is-active { opacity: 1; outline-color: var(--ink); }

.acc { margin-top: 30px; border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 17px; font-weight: 700; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 24px; font-weight: 400; transition: transform .25s; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc__body { padding: 0 0 20px; font-size: 15px; line-height: 1.65; color: #45433f; }
.acc__body p { margin: 0 0 12px; }
.acc__list { margin: 14px 0 0; padding-left: 18px; }
.acc__list li { margin-bottom: 6px; }
.specs { margin: 0; }
.specs__row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.specs__row dt { color: var(--muted); }
.specs__row dd { margin: 0; font-weight: 600; text-align: right; }
.related { margin-top: 90px; padding-bottom: 20px; }

/* Страница товара в духе coldseason: фото столбиком на белом, справа мелкий текст капсом */
@media (min-width: 901px) {
  .pdp .container { width: min(1360px, 100% - 48px); }
  .pdp__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; justify-content: stretch; }
  .gallery__main { background: #fff; border-radius: 0; overflow: visible; }
  .gallery__track { flex-direction: column; overflow: visible; gap: 24px; cursor: zoom-in; }
  .gallery__slide { flex: none; width: 100%; aspect-ratio: 1 / 1; }
  .gallery__bg { display: none; }
  .gallery__img { object-fit: contain; }
  .gallery__arrow, .gallery__counter, .gallery__thumbs { display: none !important; }
  .gallery__zoom { position: fixed; display: none; }
  .pdp__info { padding-top: 24px; }
}
.cs { font-size: 12px; letter-spacing: .04em; color: #1c1c1c; }
.cs__head { display: flex; flex-wrap: wrap; gap: 8px 40px; align-items: baseline; margin-bottom: 26px; }
.cs__price { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.cs__price s { margin-left: 8px; color: var(--muted); font-weight: 400; }
.cs__sizes { margin: 0; text-transform: uppercase; color: var(--muted); letter-spacing: .12em; }
.cs__sizes span { margin-left: 8px; padding: 3px 0; color: var(--ink); border-bottom: 1px solid var(--ink); }
.cs__name { margin: 0 0 12px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; line-height: 1.5; }
.cs__note { margin: 0 0 18px; font-size: 12px; color: var(--ink); }
.cs__bullets { margin: 0 0 26px; padding: 0; list-style: none; display: grid; gap: 12px; font-size: 12px; line-height: 1.5; color: #333; }
.cs__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.cs__btn {
  display: inline-flex; align-items: center; justify-content: center; min-width: 150px; height: 40px; padding: 0 22px;
  border: 1px solid var(--ink); background: #fff; color: var(--ink);
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; transition: background .2s, color .2s;
}
.cs__btn:hover, .cs__btn--dark { background: var(--ink); color: #fff; }
.cs__btn--dark:hover { background: #333; }
.cs__btn:disabled { opacity: .45; cursor: not-allowed; }
.cs__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 28px 32px; padding-top: 28px; border-top: 1px solid #ececec; }
.cs__label { margin: 0 0 14px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.cs__col p { margin: 0 0 12px; font-size: 12px; line-height: 1.6; color: #333; }
.cs__specs { margin: 0; display: grid; gap: 10px; }
.cs__specs .specs__row { display: block; padding: 0; border: 0; }
.cs__specs dt { font-size: 11px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.cs__specs dd { margin: 2px 0 0; font-size: 12px; color: #1c1c1c; font-weight: 500; text-align: left; }

/* Полноэкранный просмотр */
.lightbox { position: fixed; inset: 0; z-index: 110; background: #0b0b0d; animation: fade .25s; }
.lightbox__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lightbox__track::-webkit-scrollbar { display: none; }
.lightbox__slide { flex: 0 0 100%; display: grid; place-items: center; margin: 0; padding: 70px 16px; scroll-snap-align: start; }
.lightbox__slide img { width: 100%; height: 100%; object-fit: contain; }
.lightbox__close { position: absolute; top: 16px; right: 16px; z-index: 3; color: #fff; }
.lightbox .gallery__arrow { opacity: 1; }
.lightbox .gallery__counter { left: 50%; transform: translateX(-50%); bottom: 22px; }

/* Каталог */
.catalog-page { min-height: 60svh; padding-bottom: 100px; }
.page-title { margin: 0 0 22px; font-size: clamp(34px, 4vw, 52px); font-weight: 800; letter-spacing: -.025em; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.tab { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 99px; font-size: 15px; font-weight: 700; transition: border-color .2s, background .2s, color .2s; }
.tab span { font-size: 12px; color: var(--muted); }
.tab:hover { border-color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tab[aria-selected="true"] span { color: rgba(255,255,255,.6); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px 16px; }
.grid .card__body { padding: 12px 12px 14px; }
/* каталог: тонкая чёрная рамка у карточек */
.grid .card, .catalog__track .card { border: 1px solid var(--ink); background: #fff; }
.catalog__track .card__body { padding: 12px 12px 14px; }
.catalog__track { gap: 8px; grid-auto-columns: calc((100% - 3 * 8px) / 3.35); }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .header__link { font-size: 15px; padding: 8px; }
  .header__divider { margin: 0 6px; }
  .catalog__track { grid-auto-columns: calc((100% - 4px) / 2.3); }
}
@media (max-width: 900px) {
  .hero-product { padding-bottom: 56px; }
  .hero-product__grid { grid-template-columns: 1fr; }
  .hp-gallery { padding: 0; }
  .hp-stage { height: auto; min-height: 0; aspect-ratio: 4 / 5; }
  .hp-arrow { width: 40px; height: 40px; opacity: .9; }
  .hp-thumbs { padding: 10px 16px 0; }
  .hp-thumb { flex-basis: 60px; height: 76px; }
  .hp-lightbox .hp-gallery__item { padding: 56px 8px; }
  .hp-info { padding: 24px 16px 0; }
  .hp-info__sticky { position: static; }
  :root { --header-h: 64px; }
  .header__inner { padding: 0 10px; }
  .header__link, .header__divider { display: none; }
  .header__burger { display: inline-grid; }
  .header__logo img { height: 46px; }
  .pdp__grid { grid-template-columns: 1fr; gap: 28px; }
  .pdp__info { position: static; }
  .gallery__arrow { display: none; }
  .lightbox .gallery__arrow { display: grid; }
  .cat-btn { min-width: 0; flex: 1 1 calc(50% - 8px); height: 52px; padding: 0 8px; font-size: 14px; text-align: center; white-space: nowrap; }
}
@media (max-width: 600px) {
  :root { --ticker-h: 34px; }
  .ticker__item { font-size: 13px; }
  .ticker__item::before { margin: 0 22px; }
  .header__right { gap: 0; }
  .icon-btn { width: 38px; height: 38px; }
  .header__tg { display: none; }
  .offer { left: 16px; bottom: 16px; padding: 26px 22px 24px; }
  .offer__text { font-size: 16px; margin-bottom: 22px; }
  .price__new { font-size: 38px; }
  .catalog__track { grid-auto-columns: 78%; }
  .catalog__head { padding: 0 16px 12px; }
  .catalog__title { font-size: 22px; }
  .card__body { padding: 12px 16px 0; }
  .footer__cta { padding: 96px 16px 84px; }
  .footer__bottom { flex-direction: column; padding: 26px 16px; text-align: center; }
  .chat { right: 16px; bottom: 16px; }
  .modal__box { padding: 28px 20px 22px; }
  .pdp .container { width: 100%; }
  .crumbs { padding: 16px 16px 18px; }
  .gallery__main { border-radius: 0; }
  .gallery__thumbs { padding: 0 16px; }
  .pdp__info { padding: 0 16px; }
  .pdp__actions { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px 10px; }
  .grid .card__name { font-size: 14px; }
  .card__size { display: block; margin: 2px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track { animation-duration: 120s; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
