/* IRKE прототип. Дизайн-токены */
:root {
  --bg: #fbfbfa;
  --surface: #ffffff;
  --tile: #f3f2ef;          /* совпадает с подложкой нормализованных фото */
  --ink: #161616;
  --ink-2: #3d3d3b;
  --muted: #6b6b67;
  --line: #e3e2de;
  --line-strong: #c9c8c3;
  --accent: #8a2c2c;        /* единственный акцент: скидки, ошибки */
  --ok: #2f5d3a;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 3.2vw, 44px);
  --maxw: 1680px;
  --hdr-h: 64px;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --t-fast: .25s;
  --t: .55s;
  --t-slow: 1.1s;

  /* слои */
  --z-hdr: 20;
  --z-overlay: 40;
  --z-toast: 60;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 300 15px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
html { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }

/* Типографика */
.display { font: 300 clamp(40px, 6.4vw, 96px)/1.02 var(--serif); letter-spacing: -.01em; }
.h1 { font: 300 clamp(34px, 4.2vw, 60px)/1.06 var(--serif); letter-spacing: -.005em; }
.h2 { font: 300 clamp(28px, 3vw, 44px)/1.1 var(--serif); }
.h3 { font: 400 clamp(22px, 2vw, 28px)/1.2 var(--serif); }
.label { font: 400 11px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.muted { color: var(--muted); }
.lead { font-size: 16px; line-height: 1.7; color: var(--ink-2); max-width: 56ch; }

/* Кнопки: острые углы, как у бренда */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 32px; white-space: nowrap;
  font: 400 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  background: var(--ink); color: #fff; border: 1px solid var(--ink);
  overflow: hidden; isolation: isolate;
  transition: color var(--t) var(--ease), transform .15s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--surface);
  transform: scaleY(0); transform-origin: bottom; transition: transform var(--t) var(--ease);
}
.btn:hover { color: var(--ink); }
.btn:hover::before { transform: scaleY(1); }
.btn:active { transform: scale(.985); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: #fff; }
.btn--light { background: rgba(255,255,255,.96); color: var(--ink); border-color: transparent; }
.btn--light::before { background: var(--ink); }
.btn--light:hover { color: #fff; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.link {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  font: 400 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase;
}
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor;
  transform-origin: right; transition: transform var(--t) var(--ease);
}
.link:hover::after { transform: scaleX(0); }
.link .ic { width: 16px; height: 16px; transition: transform var(--t) var(--ease); }
.link:hover .ic { transform: translateX(4px); }

.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px;
  transition: opacity var(--t-fast);
}
.icon-btn:hover { opacity: .6; }
.badge {
  position: absolute; top: 6px; right: 4px; min-width: 16px; height: 16px; padding: 0 4px;
  display: grid; place-items: center; border-radius: 99px;
  background: var(--ink); color: #fff; font: 500 10px/1 var(--sans);
}
.badge[hidden] { display: none; }
.badge.bump { animation: bump .5s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* Шапка */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: var(--z-hdr);
  height: var(--hdr-h); color: var(--ink);
  background: rgba(251,251,250,.92);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease);
}
.hdr.is-clear { background: transparent; color: #fff; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.hdr.is-clear .badge { background: #fff; color: var(--ink); }
.hdr__in { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-inline: calc(var(--gutter) - 12px); max-width: var(--maxw); margin: 0 auto; }
.hdr__left { display: flex; align-items: center; gap: 18px; }
.hdr__right { display: flex; justify-content: flex-end; align-items: center; }
.hdr__nav { display: none; gap: 26px; }
.hdr__nav a { font: 400 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; position: relative; padding: 6px 0; }
.hdr__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--t) var(--ease); }
.hdr__nav a:hover::after, .hdr__nav a.is-active::after { transform: scaleX(1); }
.logo { font: 400 26px/1 var(--serif); letter-spacing: .5em; padding-left: .5em; }
.brand-word { letter-spacing: .16em; white-space: nowrap; }
.logo--lg { font-size: 34px; }
@media (min-width: 1024px) { :root { --hdr-h: 72px; } .logo { font-size: 30px; } }
@media (min-width: 1180px) { .hdr__nav { display: flex; } }
@media (max-width: 599px) {
  .hide-sm { display: none; }
  /* телефон: иконки компактнее и прижаты к краю, логотип свободнее */
  .hdr__in { padding-inline: calc(var(--gutter) - 14px) calc(var(--gutter) - 12px); }
  .hdr__right .icon-btn { width: 34px; }
  .hdr__right .icon-btn .ic { width: 20px; height: 20px; }
  .hdr__right .badge { right: -2px; }
}

main { min-height: 70vh; outline: none; }
main.view-out { opacity: 0; transform: translateY(8px); transition: opacity .22s var(--ease-io), transform .22s var(--ease-io); }
/* backwards, а не both: анимация с transform, оставшаяся «в силе» после окончания, привязывает position: fixed
   внутри main к самому main, и нижняя панель «В корзину» на телефоне ездила вместе со страницей */
main.view-in { animation: viewIn .7s var(--ease) backwards; }
@keyframes viewIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.page { padding-top: var(--hdr-h); }

/* Появление при прокрутке */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
[data-reveal].in { opacity: 1; transform: none; }
.img-reveal { overflow: hidden; }
.img-reveal img { transform: scale(1.08); transition: transform 1.6s var(--ease); }
.img-reveal.in img { transform: scale(1); }

/* Герой */
.hero { position: relative; height: 100svh; min-height: 560px; max-height: 1100px; overflow: hidden; background: #2a2a28; color: #fff; touch-action: pan-y; }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s var(--ease-io), visibility 0s 1.2s; }
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity 1.2s var(--ease-io), visibility 0s; }
.hero__slide img, .hero__slide video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* ролик, показанный как картинка (iPhone с запретом автозапуска видео) */
.hero__slide video.is-img { display: none; }
.hero__vimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .hero__vimg { object-position: var(--mobile-video-x, 50%) center; } }
.hero.has-vimg .hero__play { display: none; }
@media (max-width: 700px) { .hero__slide video { object-position: var(--mobile-video-x, 50%) center; transform: scale(var(--mobile-video-zoom, 1)); } }
.hero__slide::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 50%, rgba(0,0,0,.45) 100%); pointer-events: none; }
.hero__content { position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(36px, 8vh, 96px); }
.hero__content .wrap { display: grid; gap: 22px; justify-items: start; }
.hero__title { max-width: 12ch; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.hero.is-ready .is-active .hero__title .line span { transform: none; transition-delay: .25s; }
.hero.is-ready .is-active .hero__title .line:nth-child(2) span { transition-delay: .33s; }
.hero__sub { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.hero__cta { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.hero.is-ready .is-active .hero__sub { opacity: 1; transform: none; transition-delay: .55s; }
.hero.is-ready .is-active .hero__cta { opacity: 1; transform: none; transition-delay: .7s; }
/* кнопка видео видна только когда телефон не дал видео стартовать само: заметная кнопка «смотреть» по центру */
.hero:not(.needs-tap) .hero__play { display: none; }
.hero__play { position: absolute; z-index: 4; right: var(--gutter); bottom: clamp(36px, 8vh, 96px); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(20,20,20,.18); border: 1px solid rgba(255,255,255,.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: .75; transition: opacity .3s, transform .3s var(--ease), background .3s; }
.hero__play:hover, .hero__play:focus-visible { opacity: 1; }
.hero__play svg { width: 16px; height: 16px; fill: currentColor; }
.hero__play .hero__play-i { display: none; }
.hero__play.is-paused .hero__play-i { display: inline; }
.hero__play.is-paused .hero__pause-i { display: none; }
.hero.needs-tap .hero__play { left: 50%; right: auto; top: 50%; bottom: auto; width: 72px; height: 72px; margin: -36px 0 0 -36px; opacity: 1; background: rgba(20,20,20,.28); animation: play-pulse 2.4s ease-in-out infinite; }
.hero.needs-tap .hero__play svg { width: 24px; height: 24px; margin-left: 3px; }
@keyframes play-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.35); } 50% { box-shadow: 0 0 0 14px rgba(255,255,255,0); } }
@media (max-width: 700px) { .hero__play { bottom: auto; top: calc(var(--hdr-h) + 14px); } }
@media (prefers-reduced-motion: reduce) { .hero.needs-tap .hero__play { animation: none; } }
.hero__dots { position: absolute; z-index: 4; right: var(--gutter); bottom: clamp(36px, 8vh, 96px); display: flex; gap: 8px; }
.hero__dot { width: 44px; height: 24px; display: grid; align-items: center; }
.hero__dot i { display: block; height: 1px; background: rgba(255,255,255,.4); position: relative; overflow: hidden; }
.hero__dot i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__dot.is-active i::after { animation: dot var(--dur, 6s) linear forwards; }
.hero.is-paused .hero__dot.is-active i::after { animation-play-state: paused; }
@keyframes dot { to { transform: scaleX(1); } }
@media (max-width: 599px) { .hero__dots { left: var(--gutter); right: auto; bottom: 20px; } .hero__content { bottom: 64px; } }

/* Секции главной */
.section { padding-block: clamp(64px, 9vw, 140px); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 3.5vw, 48px); }

/* Лента товаров */
.rail { position: relative; }
.rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 12px) / 1.6); gap: 12px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; touch-action: pan-x pan-y; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { scroll-snap-align: start; }
@media (min-width: 640px) { .rail__track { grid-auto-columns: calc((100% - 2*var(--gutter) - 2*16px) / 2.6); gap: 16px; } }
@media (min-width: 1024px) { .rail__track { grid-auto-columns: calc((100% - 2*var(--gutter) - 3*20px) / 4); gap: 20px; } }
.rail__nav { display: none; gap: 4px; }
@media (min-width: 1024px) { .rail__nav { display: flex; } }
.rail__btn { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-strong); transition: background var(--t-fast), color var(--t-fast); }
.rail__btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.rail__btn[disabled] { opacity: .3; pointer-events: none; }

/* Карточка товара в сетке */
.card { position: relative; display: block; }
.card__frame { position: relative; overflow: hidden; }
.card__media { position: relative; display: block; aspect-ratio: 3 / 4; background: var(--tile); overflow: hidden; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s var(--ease), transform 1.4s var(--ease); }
.card__media img.alt { opacity: 0; }
@media (hover: hover) {
  .card:hover .card__media img.main { transform: scale(1.03); }
  .card:hover .card__media img.alt { opacity: 1; }
}
.card__fav { position: absolute; z-index: 2; top: 6px; right: 6px; }
.card__fav .ic { width: 20px; height: 20px; }
.card__fav.is-on .ic { fill: var(--ink); }
.card__quick {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 14px;
  background: rgba(255,255,255,.94); display: none;
  transform: translateY(100%); transition: transform var(--t) var(--ease);
}
@media (hover: hover) and (min-width: 1024px) {
  .card__quick { display: block; }
  .card:hover .card__quick, .card:focus-within .card__quick { transform: none; }
}
.card__quick p { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.card__sizes { display: flex; flex-wrap: wrap; gap: 4px; }
.card__sizes button { min-width: 40px; height: 34px; padding: 0 8px; border: 1px solid var(--line-strong); font-size: 12px; transition: background var(--t-fast), color var(--t-fast); }
.card__sizes button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.card__info { padding-top: 14px; display: grid; gap: 4px; }
.card__name { font-size: 14px; line-height: 1.45; font-weight: 400; }
.card__meta { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.card__price { color: var(--ink); white-space: nowrap; }
.card__price s { font-size: 12px; margin-right: 4px; }
.card__price .sale { color: var(--accent); }
.card__swatch { display: inline-flex; align-items: center; gap: 6px; }
.card__swatch i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }

/* Категории на главной: асимметричная сетка */
.cats { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.cat { position: relative; display: block; overflow: hidden; background: var(--tile); color: #fff; }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.cat:hover img { transform: scale(1.04); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.42)); }
.cat__label { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.cat__label .h3 { font-size: clamp(22px, 2.4vw, 34px); }
.cat:nth-child(1) { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
.cat:nth-child(n+2) { aspect-ratio: 3 / 4; }
@media (min-width: 900px) {
  .cats { grid-template-columns: repeat(12, 1fr); gap: 16px; }
  .cat:nth-child(1) { grid-column: 1 / span 6; grid-row: span 2; aspect-ratio: auto; min-height: 100%; }
  .cat:nth-child(2) { grid-column: 7 / span 3; }
  .cat:nth-child(3) { grid-column: 10 / span 3; }
  .cat:nth-child(4) { grid-column: 7 / span 6; aspect-ratio: 16 / 10; }
}

/* Блок о доме */
.story { display: grid; gap: 28px; align-items: center; }
.story__media { aspect-ratio: 4 / 5; background: var(--tile); }
.story__media img { width: 100%; height: 100%; object-fit: cover; }
.story__text { display: grid; gap: 22px; justify-items: start; max-width: 520px; }
@media (min-width: 900px) {
  .story { grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 110px); }
  .story__text { padding-block: 40px; }
}

/* Полоса преимуществ */
.perks { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.perk { background: var(--bg); padding: 28px var(--gutter); display: grid; gap: 6px; }
.perk b { font: 400 22px/1.2 var(--serif); }
@media (min-width: 768px) { .perks { grid-template-columns: repeat(3, 1fr); } .perk { padding: 36px 32px; } }

/* Клубная карта */
.club { position: relative; overflow: hidden; background: #1c1c1b; color: #f2f1ee; }
.club__in { display: grid; gap: 32px; padding-block: clamp(56px, 8vw, 120px); align-items: center; }
.club__card {
  aspect-ratio: 1.586; width: min(420px, 100%); justify-self: center;
  background: linear-gradient(135deg, #3a3936 0%, #1f1f1e 55%, #2d2c2a 100%);
  border: 1px solid rgba(255,255,255,.12); padding: 26px; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 30px 80px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08);
  transform: perspective(900px) rotateY(-12deg) rotateX(6deg); transition: transform 1.2s var(--ease);
}
.club__card:hover { transform: perspective(900px) rotateY(0) rotateX(0); }
.club__card .logo { font-size: 22px; color: #fff; }
.club__text { display: grid; gap: 20px; justify-items: start; max-width: 480px; }
.club__text .lead { color: #c8c7c2; }
@media (min-width: 900px) { .club__in { grid-template-columns: 1fr 1fr; } }

/* Каталог */
.cat-head { padding-top: clamp(28px, 4vw, 56px); padding-bottom: 20px; display: grid; gap: 18px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 36px; padding: 0 16px; display: inline-flex; align-items: center; border: 1px solid var(--line-strong); font-size: 13px; white-space: nowrap; transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.toolbar { position: sticky; top: var(--hdr-h); z-index: 10; background: rgba(251,251,250,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.toolbar__in { display: flex; align-items: center; gap: 8px 20px; min-height: 52px; flex-wrap: wrap; padding-block: 6px; }
.toolbar__count { margin-right: auto; font-size: 13px; color: var(--muted); white-space: nowrap; }
@media (max-width: 767px) {
  .toolbar__in { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 18px; }
  .toolbar__in::-webkit-scrollbar { display: none; }
  .toolbar__in > * { flex: none; }
  .toggle { white-space: nowrap; }
}
.select { position: relative; }
.select select { appearance: none; height: 36px; padding: 0 28px 0 0; border: 0; background: transparent; font-size: 13px; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 6px; top: 50%; width: 6px; height: 6px; border-right: 1px solid; border-bottom: 1px solid; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.toggle { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; cursor: pointer; user-select: none; }
.toggle input { position: absolute; opacity: 0; }
.toggle__ui { width: 34px; height: 20px; border-radius: 99px; background: var(--line-strong); position: relative; transition: background var(--t-fast); }
.toggle__ui::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform var(--t) var(--ease); }
.toggle input:checked + .toggle__ui { background: var(--ink); }
.toggle input:checked + .toggle__ui::after { transform: translateX(14px); }
.toggle input:focus-visible + .toggle__ui { outline: 1px solid var(--ink); outline-offset: 3px; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 10px; padding-block: 28px 80px; }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 40px 16px; } }
@media (min-width: 1280px) { .grid { grid-template-columns: repeat(4, 1fr); gap: 48px 20px; } }
.grid.is-before .card__media { background: #fff; }
.compare-note { font-size: 13px; color: var(--muted); padding-top: 14px; max-width: 70ch; }

.empty { padding: 80px 0 120px; display: grid; justify-items: center; text-align: center; gap: 16px; }
.empty .ic { width: 36px; height: 36px; color: var(--muted); }

/* Страница товара */
.pdp { display: grid; gap: 28px; padding-bottom: 60px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--muted); padding-block: 18px; }
.crumbs a:hover { color: var(--ink); }
.crumbs span::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.gallery { position: relative; margin-inline: calc(var(--gutter) * -1); }
.gallery__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__item { scroll-snap-align: start; aspect-ratio: 3 / 4; background: var(--tile); cursor: zoom-in; overflow: hidden; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.gallery__dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 6px; }
.gallery__dots i { width: 18px; height: 2px; background: rgba(0,0,0,.18); transition: background var(--t-fast), width var(--t) var(--ease); }
.gallery__dots i.is-on { background: var(--ink); width: 30px; }
@media (min-width: 900px) {
  .pdp { grid-template-columns: minmax(0, 1.35fr) minmax(340px, 1fr); gap: clamp(32px, 4vw, 72px); align-items: start; }
  .gallery { margin: 0; }
  .gallery__track { grid-auto-flow: row; grid-template-columns: 1fr 1fr; grid-auto-columns: auto; gap: 8px; overflow: visible; }
  .gallery__item:first-child { grid-column: 1 / -1; aspect-ratio: auto; }
  .gallery__item:first-child img { aspect-ratio: 3 / 4; max-height: none; }
  .gallery__dots { display: none; }
  .gallery__item img { transition: transform 1.2s var(--ease); }
  .gallery__item:hover img { transform: scale(1.025); }
}
@media (min-width: 1280px) { .gallery__item:first-child { grid-column: auto; } }
.buy { display: grid; gap: 24px; }
@media (min-width: 900px) { .buy { position: sticky; top: calc(var(--hdr-h) + 28px); padding-top: 8px; } }
.buy__title { display: grid; gap: 10px; }
.buy__price { font-size: 18px; font-weight: 400; display: flex; gap: 12px; align-items: baseline; }
.buy__price s { color: var(--muted); font-size: 15px; }
.buy__price .sale { color: var(--accent); }
.opt { display: grid; gap: 12px; }
.opt__head { display: flex; justify-content: space-between; align-items: baseline; }
.opt__head button { font-size: 12px; text-decoration: underline; text-underline-offset: 3px; color: var(--muted); }
.sizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.size { height: 48px; border: 1px solid var(--line-strong); font-size: 13px; position: relative; transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast); }
.size:hover { border-color: var(--ink); }
.size.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.size.is-out { color: var(--line-strong); }
.size.is-out::after { content: ""; position: absolute; left: 10%; right: 10%; top: 50%; height: 1px; background: var(--line-strong); transform: rotate(-18deg); }
.opt__error { color: var(--accent); font-size: 13px; min-height: 1em; }
.avail { display: grid; gap: 10px; padding-top: 4px; }
.avail__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.avail__list li { display: grid; grid-template-columns: 8px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.avail__list li i { width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--line-strong); }
.avail__list li b { display: block; font-weight: 400; color: var(--ink); }
.avail__list li small { display: block; font-size: 12px; color: var(--muted); }
.avail__list li.is-in i { background: var(--ok); border-color: var(--ok); }
.avail__list li.is-in .avail__st { color: var(--ok); }
.avail__st { font-size: 12px; white-space: nowrap; }
.avail__hint { font-size: 13px; color: var(--muted); margin: 0; }
.radio-card small { display: block; }
.radio-card small.ok { color: var(--ok); }
[data-shops] .label { display: block; margin: 8px 0 10px; }
.shake { animation: shake .45s var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.buy__actions { display: grid; grid-template-columns: 1fr 52px; gap: 8px; }
.fav-btn { border: 1px solid var(--line-strong); display: grid; place-items: center; transition: border-color var(--t-fast); }
.fav-btn:hover { border-color: var(--ink); }
.fav-btn.is-on .ic { fill: var(--ink); }
.buy__note { display: grid; gap: 8px; font-size: 13px; color: var(--ink-2); }
.buy__note div { display: flex; gap: 10px; align-items: center; }
.buy__note .ic { width: 16px; height: 16px; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 56px; font: 400 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .ic { width: 16px; height: 16px; transition: transform var(--t) var(--ease); }
.acc details[open] summary .ic { transform: rotate(45deg); }
.acc__body { padding-bottom: 22px; font-size: 14px; color: var(--ink-2); display: grid; gap: 10px; }
.acc__body ul { display: grid; gap: 8px; padding-left: 16px; list-style: disc; }
.mobile-buy { position: fixed; z-index: 15; left: 0; right: 0; bottom: 0; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(251,251,250,.96); border-top: 1px solid var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); display: flex; gap: 12px; align-items: center; transform: translateY(110%); transition: transform var(--t) var(--ease); }
.mobile-buy.is-on { transform: none; }
.mobile-buy .btn { flex: 1; height: 48px; padding: 0 16px; }
.mobile-buy__price { font-size: 15px; white-space: nowrap; }
@media (min-width: 900px) { .mobile-buy { display: none; } }

/* Таблица размеров */
.size-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.size-table th, .size-table td { padding: 10px 6px; text-align: left; border-bottom: 1px solid var(--line); font-weight: 400; }
.size-table th { color: var(--muted); }

/* Оверлеи */
.overlay { position: fixed; inset: 0; z-index: var(--z-overlay); }
.overlay[hidden] { display: none; }

.menu { background: var(--bg); }
.menu__panel { height: 100%; display: flex; flex-direction: column; }
.menu__head { height: var(--hdr-h); display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; justify-items: center; padding-inline: calc(var(--gutter) - 12px); border-bottom: 1px solid var(--line); }
.menu__body { flex: 1; overflow-y: auto; display: grid; gap: 36px; padding: 28px var(--gutter) 40px; align-content: start; }
.menu__groups { display: grid; gap: 28px; align-content: start; }
.menu__all a, .menu__gtitle a { display: inline-flex; align-items: baseline; gap: 10px; }
.menu__all { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.menu__all a { font: 300 clamp(24px, 2.1vw, 30px)/1.2 var(--serif); padding: 6px 0; }
.menu__all small, .menu__gtitle small { font: 300 11px/1 var(--sans); color: var(--muted); letter-spacing: .02em; text-transform: none; }
.menu__gtitle { margin: 0 0 6px; font: 500 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.menu__gtitle a { padding: 4px 0; }
.menu__gtitle a:hover { color: var(--ink); }
.menu__list { column-gap: 56px; }
.menu__list li { break-inside: avoid; }
.menu__list a { display: flex; align-items: baseline; gap: 10px; width: max-content; max-width: 100%; padding: 7px 0; font: 300 clamp(18px, 1.6vw, 22px)/1.3 var(--serif); transition: color var(--t-fast), transform var(--t) var(--ease); }
.menu__list a small { font: 300 11px/1 var(--sans); color: var(--muted); letter-spacing: .02em; }
.menu__list a:hover { transform: translateX(6px); }
.menu__list:hover a:not(:hover) { color: var(--line-strong); }
.menu__aside { display: grid; gap: 14px; align-content: start; font-size: 14px; }
.menu__aside a { width: max-content; }
.menu__preview { display: none; margin: 0; background: var(--tile); aspect-ratio: 3 / 4; overflow: hidden; }
.menu__preview img { width: 100%; height: 100%; object-fit: cover; animation: fadeImg .6s var(--ease); }
@keyframes fadeImg { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
@media (min-width: 1024px) { .menu__body { grid-template-columns: minmax(0, 1.5fr) minmax(0, .55fr) minmax(0, .75fr); padding-top: 48px; } .menu__groups { grid-template-columns: 1.15fr 1fr; column-gap: 48px; } .menu__all { grid-column: 1 / -1; } .menu__preview { display: block; max-height: calc(100svh - var(--hdr-h) - 96px); max-width: 400px; justify-self: end; width: 100%; } }
.menu.is-open .menu__list li, .menu.is-open .menu__all, .menu.is-open .menu__gtitle { animation: rise .8s var(--ease) both; animation-delay: calc(var(--i) * 40ms + 80ms); }
.menu.is-open { animation: fade .35s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.search { background: rgba(22,22,22,.32); }
.search__panel { background: var(--bg); max-height: 100%; overflow-y: auto; animation: drop .5s var(--ease) both; }
@keyframes drop { from { transform: translateY(-24px); opacity: 0; } to { transform: none; opacity: 1; } }
.search__bar { display: flex; align-items: center; gap: 12px; height: calc(var(--hdr-h) + 24px); border-bottom: 1px solid var(--line); }
.search__bar input { flex: 1; min-width: 0; height: 56px; border: 0; background: transparent; outline: none; font: 300 clamp(22px, 3vw, 34px)/1 var(--serif); }
.search__bar input::-webkit-search-cancel-button { display: none; }
.search__res { padding-block: 28px 48px; }
.search__res .grid { padding: 0; }
.search__hint { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.drawer__scrim { position: absolute; inset: 0; background: rgba(22,22,22,.36); animation: fade .4s var(--ease) both; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: var(--bg); display: flex; flex-direction: column; animation: slideIn .6s var(--ease) both; }
.drawer.is-closing .drawer__panel { animation: slideOut .35s var(--ease-io) both; }
.drawer.is-closing .drawer__scrim { animation: fade .35s reverse both; }
@keyframes slideIn { from { transform: translateX(100%); } to { transform: none; } }
@keyframes slideOut { to { transform: translateX(100%); } }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 12px 14px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font: 300 28px/1 var(--serif); }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer__foot { padding: 20px 24px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 14px; }
.drawer__foot[hidden] { display: none; }
.line-item { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--line); animation: rise .6s var(--ease) both; }
.line-item:last-child { border-bottom: 0; }
.line-item__img { aspect-ratio: 3 / 4; background: var(--tile); }
.line-item__img img { width: 100%; height: 100%; object-fit: cover; }
.line-item__info { display: grid; gap: 6px; align-content: start; font-size: 13px; }
.line-item__info a { font-size: 14px; font-weight: 400; }
.line-item__row { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); }
.qty button { width: 34px; height: 34px; display: grid; place-items: center; }
.qty .ic { width: 14px; height: 14px; }
.qty span { min-width: 22px; text-align: center; font-size: 13px; }
.remove { font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.sum-row { display: flex; justify-content: space-between; font-size: 14px; }
.sum-row.total { font-size: 17px; font-weight: 400; }
.progress { display: grid; gap: 8px; font-size: 13px; }
.progress__bar { height: 2px; background: var(--line); overflow: hidden; }
.progress__bar i { display: block; height: 100%; background: var(--ink); transform-origin: left; transition: transform .8s var(--ease); }

.zoom { background: var(--tile); }
.zoom__track { height: 100%; display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.zoom__track::-webkit-scrollbar { display: none; }
.zoom__track figure { margin: 0; scroll-snap-align: center; display: grid; place-items: center; overflow: auto; }
.zoom__track img { max-height: 100svh; width: auto; animation: fadeImg .5s var(--ease); }
.zoom__close { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(255,255,255,.8); }

.toast { position: fixed; z-index: var(--z-toast); left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; padding: 14px 20px; font-size: 13px; display: flex; gap: 10px; align-items: center; transition: opacity var(--t) var(--ease), transform var(--t) var(--ease); max-width: calc(100% - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast .ic { width: 16px; height: 16px; }

/* Оформление заказа */
.checkout { display: grid; gap: 40px; padding-block: 32px 100px; }
@media (min-width: 1024px) { .checkout { grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: start; } }
.steps { display: grid; gap: 40px; }
.fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 18px; }
.fieldset legend { padding: 0; margin-bottom: 18px; font: 300 26px/1.2 var(--serif); }
.fields { display: grid; gap: 16px; }
@media (min-width: 640px) { .fields--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 12px; color: var(--ink-2); letter-spacing: .02em; }
.field input, .field textarea { height: 50px; padding: 0 14px; border: 1px solid var(--line-strong); background: var(--surface); border-radius: 0; transition: border-color var(--t-fast); }
.field textarea { height: 96px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field.has-error input { border-color: var(--accent); }
.field .err { color: var(--accent); font-size: 12px; min-height: 0; }
.radio-cards { display: grid; gap: 8px; }
.radio-card { position: relative; display: grid; grid-template-columns: 20px 1fr auto; gap: 14px; align-items: start; padding: 16px; border: 1px solid var(--line-strong); cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast); }
.radio-card:hover { border-color: var(--ink); }
.radio-card input { position: absolute; opacity: 0; }
.radio-card__dot { width: 18px; height: 18px; border: 1px solid var(--ink); border-radius: 50%; margin-top: 2px; position: relative; }
.radio-card__dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform var(--t-fast) var(--ease); }
.radio-card:has(input:checked) { border-color: var(--ink); background: var(--surface); }
.radio-card:has(input:checked) .radio-card__dot::after { transform: scale(1); }
.radio-card:has(input:focus-visible) { outline: 1px solid var(--ink); outline-offset: 2px; }
.radio-card b { font-weight: 400; font-size: 14px; display: block; }
.radio-card small { color: var(--muted); font-size: 13px; }
.radio-card__price { font-size: 14px; white-space: nowrap; }
.summary { background: var(--surface); border: 1px solid var(--line); padding: 28px; display: grid; gap: 16px; }
@media (min-width: 1024px) { .summary { position: sticky; top: calc(var(--hdr-h) + 24px); } }
.summary__items { display: grid; gap: 14px; max-height: 320px; overflow-y: auto; }
.summary__item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; font-size: 13px; align-items: center; }
.summary__item img { aspect-ratio: 3/4; width: 56px; object-fit: cover; background: var(--tile); }
.promo { display: flex; gap: 8px; }
.promo input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); background: var(--bg); }
.promo button { height: 44px; padding: 0 16px; border: 1px solid var(--ink); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.success { padding-block: 100px 140px; display: grid; gap: 22px; justify-items: center; text-align: center; }
.success__mark { width: 72px; height: 72px; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; }
.success__mark .ic { width: 30px; height: 30px; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .9s var(--ease) .2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Личный кабинет */
.auth { min-height: 70vh; display: grid; place-items: center; padding-block: 56px 100px; }
.auth__box { width: min(440px, 100%); display: grid; gap: 22px; }
.auth__box .lead { font-size: 15px; }
.account { padding-block: clamp(28px, 4vw, 56px) 110px; }
.account__head { display: grid; gap: 6px; margin-bottom: clamp(24px, 3vw, 44px); }
.account__grid { display: grid; gap: 28px; }
.acc-nav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.acc-nav::-webkit-scrollbar { display: none; }
.acc-nav__item { flex: none; height: 38px; padding: 0 16px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-strong); font-size: 13px; white-space: nowrap; transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.acc-nav__item small { color: var(--muted); }
.acc-nav__item:hover { border-color: var(--ink); }
.acc-nav__item.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.acc-nav__item.is-on small { color: #bdbcb7; }
.acc-nav__out { color: var(--muted); }
@media (min-width: 900px) {
  .account__grid { grid-template-columns: 220px 1fr; gap: 56px; align-items: start; }
  .acc-nav { flex-direction: column; gap: 0; margin: 0; padding: 0; position: sticky; top: calc(var(--hdr-h) + 24px); border-top: 1px solid var(--line); }
  .acc-nav__item { height: 52px; padding: 0; border: 0; border-bottom: 1px solid var(--line); font-size: 14px; justify-content: space-between; }
  .acc-nav__item.is-on { background: none; color: var(--ink); font-weight: 400; }
  .acc-nav__item.is-on::after { content: ""; width: 18px; height: 1px; background: var(--ink); }
  .acc-nav__item:hover { color: var(--muted); }
}
.account__body { min-width: 0; animation: viewIn .6s var(--ease) both; }
.grid--acc { padding-top: 0; }
@media (min-width: 1280px) { .grid--acc { grid-template-columns: repeat(3, 1fr); } }
.orders { display: grid; border-top: 1px solid var(--line); }
.order { border-bottom: 1px solid var(--line); }
.order__sum { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 12px 20px; align-items: center; padding: 20px 0; }
.order__sum::-webkit-details-marker { display: none; }
.order__id { display: grid; gap: 2px; font-size: 15px; font-weight: 400; }
.order__id small { font-weight: 300; font-size: 13px; }
.order__thumbs { display: flex; gap: 6px; grid-column: 1 / -1; }
.order__thumbs img { width: 44px; aspect-ratio: 3/4; object-fit: cover; background: var(--tile); }
.order__total { font-size: 15px; justify-self: end; }
@media (min-width: 768px) { .order__sum { grid-template-columns: 1.2fr 1.4fr auto 120px; } .order__thumbs { grid-column: auto; } }
.order__body { display: grid; gap: 14px; padding: 4px 0 24px; }
.order__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; color: var(--muted); }
.pill { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 99px; font-size: 12px; background: var(--tile); color: var(--ink-2); white-space: nowrap; justify-self: start; }
.pill.is-new { background: var(--ink); color: #fff; }
.pill.is-done { background: #e3ece4; color: var(--ok); }
.pill.is-cancel { background: #f1e3e3; color: var(--accent); }
.clubtab { display: grid; gap: 32px; max-width: 760px; }
.club__card--flat { transform: none; justify-self: start; width: min(380px, 100%); color: #f2f1ee; }
.club__card--flat:hover { transform: none; }
.clubtab__stats { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.clubtab__stats > div { background: var(--surface); padding: 20px; display: grid; gap: 4px; }
.clubtab__stats b { font: 300 32px/1.1 var(--serif); }
.clubtab__stats small { font-size: 12px; }
@media (min-width: 640px) { .clubtab__stats { grid-template-columns: repeat(3, 1fr); } }
.levels { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .levels { grid-template-columns: repeat(4, 1fr); } }
.levels > div { border: 1px solid var(--line); padding: 14px; display: grid; gap: 2px; font-size: 13px; }
.levels > div.is-on { border-color: var(--ink); }
.levels b { font: 400 18px/1.3 var(--serif); }
.profile-form { max-width: 640px; }
.addresses { display: grid; gap: 12px; max-width: 680px; }
.address { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); background: var(--surface); }
.address.is-main { border-color: var(--ink); }
.address > div:first-child { display: grid; gap: 2px; font-size: 14px; }
.address b { font-weight: 400; }
.address__act { display: flex; gap: 16px; align-items: center; flex: none; }
.address__act .link { font-size: 11px; }
.field-row { display: flex; gap: 10px; align-items: end; margin-top: 12px; flex-wrap: wrap; }
.field-row .btn { height: 50px; }
.size[disabled] { cursor: not-allowed; }
.card__sizes button[disabled] { color: var(--line-strong); text-decoration: line-through; pointer-events: none; }

/* Инфо-страницы */
.info { padding-block: clamp(40px, 6vw, 96px) 120px; display: grid; gap: 28px; max-width: 780px; }
.info p { color: var(--ink-2); line-height: 1.75; }
.info__photo { margin: 0 0 8px; aspect-ratio: 3 / 2; overflow: hidden; background: var(--tile); }
.info__photo img { width: 100%; height: 100%; object-fit: cover; }
.boutiques { display: grid; gap: 16px; }
@media (min-width: 768px) { .boutiques { grid-template-columns: 1fr 1fr; } }
.boutique { border: 1px solid var(--line); padding: 24px; display: grid; gap: 8px; background: var(--surface); }

/* Подвал */
.ftr { background: var(--surface); border-top: 1px solid var(--line); padding-top: 64px; }
.ftr__top { display: grid; gap: 44px; padding-bottom: 56px; }
.ftr__brand { display: grid; gap: 16px; align-content: start; }
.ftr__brand p { color: var(--muted); max-width: 30ch; }
.ftr__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.ftr__cols div { display: grid; gap: 10px; align-content: start; font-size: 14px; }
.ftr__cols h4 { font: 400 11px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.ftr__cols a { width: max-content; transition: color var(--t-fast); }
.ftr__cols a:hover { color: var(--muted); }
.ftr__sub { display: grid; gap: 12px; align-content: start; max-width: 380px; }
.ftr__sub label { font: 300 22px/1.3 var(--serif); }
.field-inline { display: flex; border-bottom: 1px solid var(--ink); }
.field-inline input { flex: 1; min-width: 0; height: 48px; border: 0; background: transparent; outline: none; }
.field-inline button { width: 44px; display: grid; place-items: center; }
.hint { font-size: 12px; color: var(--muted); min-height: 1em; }
.hint.is-error { color: var(--accent); }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 22px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
@media (min-width: 1024px) {
  .ftr__top { grid-template-columns: 1fr 2fr 1.2fr; gap: 60px; }
  .ftr__cols { grid-template-columns: repeat(3, 1fr); }
}

/* Снижение движения */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__slide img, .img-reveal img { transform: none !important; }
}

/* Метка скидки */
.card__badge { position: absolute; z-index: 2; top: 10px; left: 10px; padding: 5px 8px; background: var(--accent); color: #fff; font: 500 11px/1 var(--sans); letter-spacing: .04em; pointer-events: none; }
.buy__badge { display: inline-block; margin-left: 12px; padding: 5px 8px; background: var(--accent); color: #fff; font: 500 11px/1 var(--sans); letter-spacing: .04em; vertical-align: middle; }
.menu__all { display: flex; gap: 28px; flex-wrap: wrap; }
.menu__all .menu__sale { color: var(--accent); }

/* Журнал: баннеры (фото с «окошком» текста поверх, как в глянце) */
.jduo, .jlist { display: grid; gap: 40px 24px; }
@media (min-width: 900px) { .jduo, .jlist { grid-template-columns: 1fr 1fr; } .jduo .jcard:nth-child(2), .jlist .jcard:nth-child(even) { margin-top: 72px; } }
.jcard { display: block; position: relative; }
.jcard__img { aspect-ratio: 4 / 5; background: var(--tile); overflow: hidden; }
.jcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.jcard:hover .jcard__img img { transform: scale(1.03); }
.jcard__text { position: relative; margin: -96px 0 0 clamp(16px, 8%, 56px); width: min(440px, calc(100% - clamp(16px, 8%, 56px))); background: var(--bg); padding: 26px 28px 28px; display: grid; gap: 12px; justify-items: start; }
.jcard__text .label { color: var(--muted); }
.jcard__text p { color: var(--ink-2); font-size: 14px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 599px) { .jcard__text { margin: -64px 0 0 16px; padding: 20px; } }
.jlist-head { padding-block: clamp(40px, 6vw, 96px) 40px; display: grid; gap: 16px; }
.jlist { padding-bottom: 120px; }

/* Журнал: страница материала */
.sp { padding-top: var(--hdr-h); }
.sp-hero { position: relative; height: 92svh; min-height: 520px; max-height: 1000px; background: #2a2a28; color: #fff; overflow: hidden; }
.sp-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.sp-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 55%, rgba(0,0,0,.5) 100%); }
.sp-hero__text { position: absolute; z-index: 1; left: 0; right: 0; bottom: clamp(36px, 8vh, 88px); display: grid; gap: 18px; }
.sp-hero__text .display { max-width: 16ch; }
.sp-body { display: grid; gap: clamp(40px, 6vw, 88px); padding-block: clamp(48px, 7vw, 112px); }
.sp-lead { font: 300 clamp(24px, 2.6vw, 36px)/1.35 var(--serif); max-width: 30ch; margin: 0 auto; text-align: center; }
.sp-text { max-width: 62ch; margin: 0 auto; display: grid; gap: 1.1em; color: var(--ink-2); font-size: 16px; line-height: 1.8; }
.sp-text > p:first-child::first-letter { float: left; font: 300 4.2em/.82 var(--serif); padding: .06em .1em 0 0; color: var(--ink); }
.sp-photo { margin: 0; }
.sp-photo img { width: 100%; max-height: 92svh; object-fit: cover; }
.sp-photo figcaption { margin-top: 10px; font-size: 12px; color: var(--muted); }
.sp-pair { display: grid; gap: 16px; }
.sp-pair figure { margin: 0; aspect-ratio: 3 / 4; background: var(--tile); overflow: hidden; }
.sp-pair img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 700px) { .sp-pair { grid-template-columns: 1fr 1fr; gap: 24px; } .sp-pair figure:nth-child(2) { margin-top: 18%; } }
.sp-quote { margin: 0 auto; max-width: min(100%, 860px); text-align: center; display: grid; gap: 18px; }
.sp-quote p { font: 300 italic clamp(30px, 3.6vw, 52px)/1.2 var(--serif); }
.sp-quote p::before { content: "«"; } .sp-quote p::after { content: "»"; }
.sp-quote cite { font: 400 11px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; font-style: normal; color: var(--muted); }
.sp-credits { max-width: 62ch; margin: 0 auto; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: .04em; color: var(--muted); text-align: center; }
/* компьютер: первый экран материала как журнальный разворот (вертикальная обложка не обрезается) */
@media (min-width: 900px) {
  .sp-hero { display: grid; grid-template-columns: 1fr 1fr; height: auto; min-height: 0; max-height: none; background: var(--bg); color: var(--ink); }
  .sp-hero::after { content: none; }
  .sp-hero img { grid-column: 2; grid-row: 1; height: auto; aspect-ratio: 4 / 5; max-height: calc(100svh - var(--hdr-h)); object-position: center top; }
  .sp-hero__text { position: static; grid-column: 1; grid-row: 1; align-self: end; padding: 0 clamp(24px, 4vw, 64px) clamp(32px, 6vh, 72px) var(--gutter); max-width: none; }
  .sp-hero__text .label { color: var(--muted); }
}

/* Журнал на главной: большой баннер с цитатой и развороты «фото + текст» */
.jhome__list { display: grid; gap: clamp(56px, 8vw, 120px); }
.jfeat { display: block; position: relative; }
.jfeat__img { aspect-ratio: 4 / 5; background: var(--tile); overflow: hidden; }
.jfeat__img img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 20%; transition: transform 1.6s var(--ease); }
.jfeat:hover .jfeat__img img { transform: scale(1.02); }
.jfeat__text { position: relative; margin: -72px 16px 0; background: var(--bg); padding: 24px 22px 26px; display: grid; gap: 14px; justify-items: start; }
.jfeat__text .label { color: var(--muted); }
.jfeat__quote { font: 300 italic clamp(28px, 3.3vw, 50px)/1.14 var(--serif); }
.jfeat__by { font: 400 11px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
@media (min-width: 900px) {
  .jfeat__img { aspect-ratio: 16 / 9; max-height: calc(100svh - var(--hdr-h)); width: 100%; }
  .jfeat__img img { object-position: 50% 30%; }
  /* текст на светлой стене слева от героини, как на обложке */
  .jfeat__text { position: absolute; left: clamp(24px, 5%, 80px); top: 50%; transform: translateY(-50%); margin: 0; width: min(31%, 440px); background: none; padding: 0; gap: 20px; }
}
.jsplit { display: grid; gap: 24px; align-items: center; }
.jsplit__img { aspect-ratio: 4 / 5; background: var(--tile); overflow: hidden; }
.jsplit__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.jsplit:hover .jsplit__img img { transform: scale(1.03); }
.jsplit__text { display: grid; gap: 16px; justify-items: start; max-width: 46ch; }
.jsplit__text .label { color: var(--muted); }
.jsplit__text p { color: var(--ink-2); line-height: 1.7; }
@media (min-width: 900px) {
  .jsplit { grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 112px); }
  .jsplit--flip .jsplit__img { order: 2; }
  .jsplit__img { max-height: calc(100svh - var(--hdr-h)); }
}

/* Материал журнала: подзаголовок, горизонтальная обложка, вопросы, факты, образ, кнопка */
.sp-hero__head { display: grid; gap: 18px; }
.sp-hero__sub { font: 300 clamp(18px, 1.6vw, 22px)/1.5 var(--serif); max-width: 42ch; opacity: .92; }
.sp--wide .sp-hero { height: auto; min-height: 0; max-height: none; background: var(--bg); color: var(--ink); display: block; }
.sp--wide .sp-hero::after { content: none; }
.sp--wide .sp-hero img { height: auto; aspect-ratio: 4 / 5; object-position: 52% 18%; }
.sp--wide .sp-hero__text { position: static; padding-top: 28px; gap: 20px; }
.sp--wide .sp-hero__text .label { color: var(--muted); }
.sp--wide .sp-hero__text .display { font-size: clamp(34px, 5vw, 76px); max-width: 22ch; }
.sp--wide .sp-hero__sub { color: var(--ink-2); }
@media (min-width: 900px) {
  .sp--wide .sp-hero { display: block; }
  .sp--wide .sp-hero img { aspect-ratio: 16 / 9; max-height: calc(80svh - var(--hdr-h)); object-position: 50% 22%; }
  .sp--wide .sp-hero__text { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(32px, 5vw, 96px); align-items: end; padding: clamp(40px, 5vw, 72px) var(--gutter) 0; }
  .sp--wide .sp-hero__sub { padding-bottom: .6em; }
}
.sp-qa { width: 100%; max-width: calc(62ch + 120px); margin: 0 auto; display: grid; gap: 14px 0; }
.sp-qa__n { font: 300 clamp(36px, 3.4vw, 52px)/1 var(--serif); color: var(--muted); }
.sp-qa__q { font: 400 clamp(21px, 1.9vw, 26px)/1.35 var(--serif); color: var(--ink); }
.sp-qa__a { display: grid; gap: 1.1em; color: var(--ink-2); font-size: 16px; line-height: 1.8; }
@media (min-width: 900px) { .sp-qa { grid-template-columns: 120px 1fr; } .sp-qa__n { grid-row: span 2; padding-top: .1em; } .sp-qa__q, .sp-qa__a { grid-column: 2; } }
.sp-facts { width: 100%; max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; border-block: 1px solid var(--line); }
.sp-facts div { padding: 24px 16px; display: grid; gap: 8px; align-content: start; }
.sp-facts div:nth-child(odd) { padding-left: 0; }
.sp-facts dt { font: 300 clamp(24px, 2.4vw, 34px)/1.1 var(--serif); color: var(--ink); }
.sp-facts dd { margin: 0; font-size: 12px; line-height: 1.5; letter-spacing: .02em; color: var(--muted); }
@media (min-width: 900px) { .sp-facts { grid-template-columns: repeat(4, 1fr); } .sp-facts div { padding: 32px 24px; } .sp-facts div + div { border-left: 1px solid var(--line); } .sp-facts div:first-child { padding-left: 0; } }
@media (max-width: 899px) { .sp-facts div:nth-child(n+3) { border-top: 1px solid var(--line); } .sp-facts div:nth-child(even) { border-left: 1px solid var(--line); } }
.sp-look { width: 100%; display: grid; gap: 28px; background: var(--tile); padding: 0 0 28px; }
.sp-look__img { margin: 0; aspect-ratio: 2 / 3; overflow: hidden; }
.sp-look__img img { width: 100%; height: 100%; object-fit: cover; }
.sp-look__text { display: grid; gap: 16px; align-content: center; padding: 0 20px; }
.sp-look__text .label { color: var(--muted); }
.sp-look__text p { color: var(--ink-2); }
.sp-look__list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.sp-look__list a { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); transition: color var(--t-fast); }
.sp-look__list img { width: 64px; aspect-ratio: 3 / 4; object-fit: cover; background: var(--bg); }
.sp-look__list span { display: grid; gap: 4px; }
.sp-look__list b { font-weight: 400; }
.sp-look__list small { color: var(--ink-2); font-size: 13px; }
.sp-look__list s { color: var(--muted); }
.sp-look__list a:hover b { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) { .sp-look { grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 96px); padding: 0; } .sp-look__text { padding: 48px clamp(24px, 5vw, 80px) 48px 0; } }
.sp-cta { text-align: center; }
@media (min-width: 900px) { .sp-look--flip { grid-template-columns: 6fr 5fr; } .sp-look--flip .sp-look__media { order: 2; } .sp-look--flip .sp-look__text { padding: 48px 0 48px clamp(24px, 5vw, 80px); } }

/* Другие цвета модели */
.colors { display: flex; flex-wrap: wrap; gap: 10px; }
.colors__sw { width: 30px; height: 30px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); position: relative; transition: transform var(--t-fast); }
.colors__sw:hover { transform: scale(1.08); }
.colors__sw.is-on { outline: 1px solid var(--ink); outline-offset: 3px; }

.card__colors { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; margin: 4px 0 0 -8px; }
.card__color { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.card__color::before { content: ''; width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.card__color.is-on::before { outline: 1px solid var(--ink); outline-offset: 2px; }
.card__color:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.menu__list .menu__sale a { font-size: clamp(24px, 2.1vw, 30px); color: var(--accent); }

/* Большая обложка информационной страницы */
.info__hero { margin: 0; width: 100%; height: clamp(380px, 67svh, 780px); overflow: hidden; background: var(--tile); }
.info__hero picture, .info__hero img { display: block; width: 100%; height: 100%; }
.info__hero img { object-fit: cover; object-position: center; }
@media (max-width: 767px) { .info__hero { height: clamp(400px, 65svh, 700px); } }

/* Товары в образе на фотографии */
.gallery__item { position: relative; cursor: default; }
.gallery__zoom { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.gallery__zoom img { display: block; }
.look { position: absolute; left: 12px; right: 12px; bottom: 22px; z-index: 2; max-width: 360px; font-size: 13px; }
.look summary { width: fit-content; min-height: 44px; display: flex; align-items: center; padding: 10px 14px; background: #fff; color: var(--ink); cursor: pointer; list-style: none; }
.look summary::-webkit-details-marker { display: none; }
.look summary::after { content: '+'; margin-left: 12px; font-size: 19px; }
.look[open] summary::after { content: '−'; }
.look__list { background: #fff; max-height: 170px; overflow: auto; padding: 0 14px; }
.look__item { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); }
.look__item small { display: block; color: var(--muted); }
.look__item > span:last-child { white-space: nowrap; }
.look summary:focus-visible, .look__item:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.gallery__dots { pointer-events: none; }

/* Вещи на баннере главной */
.hero-look { position: absolute; z-index: 5; right: var(--gutter); bottom: clamp(82px, 12vh, 145px); display: flex; align-items: center; gap: 6px; color: var(--ink); }
.hero-look__items { width: min(280px, 42vw); }
.hero-look__item { display: flex; align-items: center; min-width: 0; height: 74px; background: #fff; color: var(--ink); }
.hero-look__item[hidden] { display: none; }
.hero__slide .hero-look__item img { width: 56px; height: 74px; object-fit: cover; flex: none; }
.hero-look__text { min-width: 0; display: grid; gap: 4px; padding: 8px 10px; }
.hero-look__text b { font: 400 12px/1.3 var(--sans); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-look__text small { font-size: 11px; }
.hero-look__arrow { width: 30px; height: 44px; color: #fff; font: 400 25px/1 var(--sans); text-shadow: 0 1px 4px #000; }
.hero-look__item:focus-visible,.hero-look__arrow:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 599px) { .hero-look { right: 12px; bottom: 20px; gap: 2px; } .hero-look__items { width: min(200px, 53vw); } .hero-look__item { height: 58px; } .hero__slide .hero-look__item img { width: 44px; height: 58px; } .hero-look__text { padding: 5px 7px; } .hero-look__text b { font-size: 11px; } .hero-look__arrow { width: 25px; } .hero__content .wrap { max-width: 70%; margin-left: 0; } }

/* ===== Клубная карта: объёмная карта из материала уровня ===== */
.kcard { --rx: 6deg; --ry: -14deg; --gx: 30%; --gy: 20%; width: min(400px, 100%); aspect-ratio: 1.586; perspective: 1100px; cursor: pointer; outline: none; -webkit-tap-highlight-color: transparent; }
.kcard:focus-visible .kcard__inner { outline: 2px solid var(--ink); outline-offset: 6px; border-radius: 14px; }
.kcard__tilt { width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .9s var(--ease); animation: kcard-idle 7s ease-in-out infinite; }
.kcard.is-live .kcard__tilt { animation: none; transition: transform .12s linear; }
@keyframes kcard-idle { 0%, 100% { transform: rotateX(6deg) rotateY(-14deg); } 50% { transform: rotateX(2deg) rotateY(-4deg); } }
.kcard__inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .9s var(--ease); }
.kcard.is-flipped .kcard__inner { transform: rotateY(180deg); }
.kcard__face { position: absolute; inset: 0; border-radius: 14px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 34px 60px -24px rgba(0,0,0,.55), 0 2px 6px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.35), inset 0 -1px 0 rgba(0,0,0,.25);
  color: var(--k-ink); background: var(--k-bg); transition: background .2s, color .4s; }
.kcard__back { transform: rotateY(180deg); }
.kcard__front { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto auto; padding: 7% 7.5% 6.5%; }
.kcard__logo { font: 400 clamp(20px, 6.5cqw, 28px)/1 var(--serif); letter-spacing: .32em; }
.kcard { container-type: inline-size; }
.kcard__kind { font: 400 clamp(8px, 2.4cqw, 10px)/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; opacity: .75; align-self: center; }
.kcard__no { grid-column: 1 / -1; align-self: end; font: 400 clamp(12px, 4.4cqw, 18px)/1 var(--sans); letter-spacing: .14em; font-variant-numeric: tabular-nums; margin-bottom: 4%; }
.kcard__name { font: 400 clamp(9px, 2.8cqw, 12px)/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; align-self: end; opacity: .9; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kcard__level { font: 300 italic clamp(22px, 7.5cqw, 32px)/.9 var(--serif); align-self: end; }
/* тиснение: светлая кромка снизу, тень сверху */
.kcard__logo, .kcard__no, .kcard__name, .kcard__level { text-shadow: 0 1px 0 var(--k-hi), 0 -1px 0 var(--k-lo); }
.kcard__glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--gx) var(--gy), rgba(255,255,255,.55), rgba(255,255,255,0) 48%); mix-blend-mode: soft-light; }
.kcard__sheen { position: absolute; inset: -50% -80%; pointer-events: none; background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,.55) 50%, transparent 58%); transform: translateX(-60%); opacity: 0; }
.kcard.is-swap .kcard__sheen { animation: kcard-sheen 1s var(--ease); }
.kcard.is-swap .kcard__tilt { animation: kcard-pop .7s var(--ease); }
@keyframes kcard-sheen { 0% { transform: translateX(-60%); opacity: 1; } 100% { transform: translateX(60%); opacity: 1; } }
@keyframes kcard-pop { 0% { transform: rotateX(var(--rx)) rotateY(var(--ry)) scale(1); } 40% { transform: rotateX(0) rotateY(0) scale(1.04); } 100% { transform: rotateX(var(--rx)) rotateY(var(--ry)) scale(1); } }
.kcard__stripe { position: absolute; left: 0; right: 0; top: 11%; height: 18%; background: rgba(0,0,0,.72); }
.kcard__perks { position: absolute; left: 7.5%; right: 7.5%; top: 40%; margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.kcard__perks dt { font: 400 clamp(8px, 2.3cqw, 10px)/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.kcard__perks dd { margin: 4px 0 0; font: 300 clamp(18px, 6.4cqw, 28px)/1 var(--serif); }
.kcard__hint { position: absolute; left: 7.5%; right: 7.5%; bottom: 8%; font: 400 clamp(8px, 2.3cqw, 10px)/1.4 var(--sans); letter-spacing: .06em; opacity: .7; }

/* материалы уровней */
.kcard[data-level="bronze"], .kghost[data-level="bronze"] { --k-ink: #f7e8d8; --k-hi: rgba(255,225,190,.25); --k-lo: rgba(40,20,8,.55);
  --k-bg: radial-gradient(120% 90% at 15% 0%, rgba(255,214,170,.35), transparent 55%), linear-gradient(125deg, #4e301d 0%, #9a6844 30%, #6d4529 52%, #b7845b 76%, #5a3823 100%); }
.kcard[data-level="silver"], .kghost[data-level="silver"] { --k-ink: #2a2b2c; --k-hi: rgba(255,255,255,.7); --k-lo: rgba(0,0,0,.18);
  --k-bg: repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, rgba(0,0,0,.03) 1px 2px, transparent 2px 4px), linear-gradient(125deg, #8c8d8e 0%, #e6e6e3 30%, #a4a5a6 52%, #f3f3f0 74%, #8e8f90 100%); }
.kcard[data-level="gold"], .kghost[data-level="gold"] { --k-ink: #3a2908; --k-hi: rgba(255,245,210,.6); --k-lo: rgba(70,45,0,.3);
  --k-bg: radial-gradient(120% 90% at 85% 0%, rgba(255,246,210,.45), transparent 50%), linear-gradient(125deg, #7a5718 0%, #dcb861 30%, #a77d2e 52%, #f0d68c 74%, #86622a 100%); }
.kcard[data-level="platinum"], .kghost[data-level="platinum"] { --k-ink: #eeedf4; --k-hi: rgba(255,255,255,.18); --k-lo: rgba(0,0,0,.6);
  --k-bg: linear-gradient(115deg, transparent 25%, rgba(170,190,255,.16) 42%, rgba(255,190,225,.14) 52%, rgba(190,255,230,.10) 60%, transparent 75%), linear-gradient(125deg, #17171b 0%, #3a3a44 35%, #1c1c21 60%, #34343d 85%, #18181c 100%); }
.kcard[data-level="platinum"] .kcard__front { background-size: 220% 100%, 100% 100%; background-position: calc(100% - var(--gx)) 0, 0 0; }

/* главная: карта на тёмном блоке */
.club__cardwrap { justify-self: center; width: min(420px, 100%); display: grid; justify-items: center; }
.club .kcard { width: 100%; }

/* кабинет: карта, за ней — силуэт следующей */
.clubtab__stage { position: relative; width: min(400px, 100%); padding: 30px 0 0 0; }
.kghost { position: absolute; top: 0; left: 7%; width: 93%; aspect-ratio: 1.586; border-radius: 14px; background: var(--k-bg); opacity: .32; filter: blur(1.5px) saturate(.8); transform: perspective(1100px) rotateX(6deg) rotateY(-14deg) scale(.94); }
.kghost span { position: absolute; right: 6%; top: 9px; font: 400 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--k-ink); }
.clubtab__stage .kcard { position: relative; }
.clubtab__flip { font-size: 12px; margin-top: -16px; }
.levelup { justify-self: start; padding: 10px 16px; background: var(--ink); color: #fff; font-size: 13px; letter-spacing: .02em; animation: levelup-in .6s var(--ease); }
@keyframes levelup-in { from { opacity: 0; transform: translateY(8px); } }
.clubtab__tape { display: grid; gap: 14px; }
.clubleft { font-size: 15px; color: var(--ink-2); }
.clubleft b { font-weight: 500; color: var(--ink); }
.clubleft a { text-decoration: underline; text-underline-offset: 3px; }

/* ===== Сантиметровая лента ===== */
.tape { --p: 0%; position: relative; padding: 34px 0 52px; }
.tape__band { position: relative; height: 46px; background:
  repeating-linear-gradient(90deg, #2c2b27 0 1px, transparent 1px calc(100% / 60)) 0 0 / 100% 26% no-repeat,
  repeating-linear-gradient(90deg, #2c2b27 0 1.5px, transparent 1.5px calc(100% / 6)) 0 0 / 100% 46% no-repeat,
  linear-gradient(180deg, #f3ecd8, #e9dfc3);
  box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 8px 18px -10px rgba(0,0,0,.35); clip-path: inset(0 100% 0 0); }
.tape__band::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 1.5px; background: #2c2b27; height: 46%; }
.tape__nums span { position: absolute; bottom: 6px; transform: translateX(-50%); font: 500 11px/1 var(--sans); color: #2c2b27; font-variant-numeric: tabular-nums; }
.tape__nums span:first-child { transform: translateX(4px); }
.tape__nums span:last-child { transform: translateX(calc(-100% - 4px)); }
.tape__rest { position: absolute; top: 0; bottom: 0; left: var(--p); right: 0; background: rgba(251,251,250,.62); transition: left 1.6s var(--ease) .5s; }
.tape__roll { position: absolute; top: 50%; left: 0; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%;
  background: radial-gradient(circle, #cfc4a6 0 18%, #e9dfc3 19% 30%, #d9cfb2 31% 34%, #ece2c7 35% 46%, #d6cbad 47% 50%, #efe6cc 51% 64%, #d4c9aa 65% 68%, #f1e9d2 69%); box-shadow: 0 6px 14px rgba(0,0,0,.25); opacity: 0; }
.tape__mark { position: absolute; top: 0; left: var(--p); bottom: 52px; width: 0; transition: left 1.6s var(--ease) .5s; }
.tape__mark::before { content: ""; position: absolute; left: -1px; top: 26px; bottom: -6px; width: 2px; background: var(--accent); }
.tape__mark > span { position: absolute; top: 0; left: 0; transform: translateX(-50%); white-space: nowrap; font: 500 12px/1 var(--sans); padding: 5px 8px; background: var(--accent); color: #fff; font-variant-numeric: tabular-nums; }
.tape__mark > span::after { content: ""; position: absolute; left: 50%; bottom: -5px; margin-left: -5px; border: 5px solid transparent; border-bottom: 0; border-top-color: var(--accent); }
.tape__tags { position: absolute; left: 0; right: 0; top: calc(34px + 46px); height: 44px; }
.tape__tag { position: absolute; top: 8px; transform: translateX(-50%); display: grid; justify-items: center; gap: 2px; font-size: 11px; color: var(--muted); white-space: nowrap; transition: color .4s; }
.tape__tag::before { content: ""; width: 1px; height: 8px; background: currentColor; margin-top: -8px; }
.tape__tag b { font: 400 15px/1.1 var(--serif); }
.tape__tag:last-child { transform: translateX(-70%); }
.tape__tag.is-on { color: var(--ink); }
.tape__unit { position: absolute; right: 0; top: 12px; font-size: 11px; color: var(--muted); }
.tape.is-in .tape__band { animation: tape-unroll 1.4s var(--ease) forwards; }
.tape.is-in .tape__roll { animation: tape-roll 1.4s var(--ease) forwards; }
.tape:not(.is-in) .tape__rest { left: 0; }
.tape:not(.is-in) .tape__mark { left: 0; opacity: 0; }
.tape .tape__mark { transition: left 1.6s var(--ease) .5s, opacity .4s .4s; }
@keyframes tape-unroll { to { clip-path: inset(0 0 0 0); } }
@keyframes tape-roll { 0% { left: 0; opacity: 1; transform: rotate(0); } 85% { opacity: 1; } 100% { left: 100%; opacity: 0; transform: rotate(540deg); } }
/* в примерке лента уже размотана и сразу следует за ползунком */
.csim .tape__band { clip-path: none; animation: none; }
.csim .tape__roll { display: none; }
.csim .tape__rest, .csim .tape__mark { transition: left .25s var(--ease); }

/* ===== Страница клуба: примерка уровня ===== */
.csim { display: grid; gap: 40px; padding: clamp(32px, 5vw, 64px) 0 clamp(64px, 9vw, 120px); margin-top: clamp(24px, 4vw, 48px); border-top: 1px solid var(--line); align-items: center; }
.csim__card { display: grid; justify-items: center; gap: 14px; }
.csim__flip { font-size: 12px; color: var(--muted); }
.csim__ctrl { display: grid; gap: 18px; min-width: 0; }
.csim__ctrl output { font-style: italic; }
.csim__range { width: 100%; height: 28px; background: none; -webkit-appearance: none; appearance: none; cursor: pointer; }
.csim__range::-webkit-slider-runnable-track { height: 2px; background: var(--ink); }
.csim__range::-moz-range-track { height: 2px; background: var(--ink); }
.csim__range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -10px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--ink); box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.csim__range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--ink); }
.csim__range:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.csim__res { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.csim__res div { padding: 16px 12px 16px 0; display: grid; gap: 6px; }
.csim__res div + div { padding-left: 12px; border-left: 1px solid var(--line); }
.csim__res dt { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.csim__res dd { margin: 0; font: 300 clamp(22px, 2.4vw, 30px)/1.1 var(--serif); }
.csim .btn { justify-self: start; }
@media (min-width: 900px) { .csim { grid-template-columns: 5fr 6fr; gap: clamp(48px, 6vw, 112px); } }

@media (prefers-reduced-motion: reduce) {
  .kcard__tilt { animation: none; }
  .tape__band { clip-path: none !important; animation: none !important; }
  .tape__roll { display: none; }
  .tape__rest, .tape__mark { transition: none !important; }
  .tape:not(.is-in) .tape__rest { left: var(--p); }
  .tape:not(.is-in) .tape__mark { left: var(--p); opacity: 1; }
}

/* ===== Клуб: живое управление ===== */
/* лента как ползунок */
.tape { touch-action: pan-y; cursor: pointer; -webkit-user-select: none; user-select: none; }
.tape.is-touched .tape__rest, .tape.is-touched .tape__mark { transition: left .35s var(--ease); }
.tape.is-dragging, .tape.is-dragging * { cursor: grabbing; }
.tape.is-dragging .tape__rest, .tape.is-dragging .tape__mark { transition: none !important; }
.tape__mark { outline: none; }
.tape__knob { position: absolute; left: -11px; top: 69px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); box-shadow: 0 3px 10px rgba(0,0,0,.2); cursor: grab; transition: transform .2s var(--ease); }
.tape:hover .tape__knob, .tape.is-dragging .tape__knob { transform: scale(1.15); }
.tape__mark:focus-visible .tape__knob { outline: 2px solid var(--ink); outline-offset: 3px; }
.tape:not(.is-touched) .tape__knob { animation: knob-hint 2.4s ease-in-out 2.2s 2; }
@keyframes knob-hint { 0%, 100% { transform: translateX(0); } 30% { transform: translateX(10px); } 60% { transform: translateX(-4px); } }
.tape__tags { top: calc(34px + 46px + 12px); }
/* бирки уровней качаются, когда отметка их проходит */
.tape__tag { --tx: -50%; transform: translateX(var(--tx)); transform-origin: 50% 0; }
.tape__tag:last-child { --tx: -70%; transform: translateX(var(--tx)); }
.tape__tag.is-swing { animation: tag-swing 1.1s cubic-bezier(.3,.6,.4,1); }
@keyframes tag-swing { 0% { transform: translateX(var(--tx)) rotate(0); } 18% { transform: translateX(var(--tx)) rotate(16deg); } 40% { transform: translateX(var(--tx)) rotate(-10deg); } 62% { transform: translateX(var(--tx)) rotate(6deg); } 82% { transform: translateX(var(--tx)) rotate(-2deg); } 100% { transform: translateX(var(--tx)) rotate(0); } }
.tape { padding-bottom: 64px; }
.tape__mark { bottom: 64px; }
.csim__hint { font-size: 12px; color: var(--muted); margin-top: -6px; }

/* цифры-табло */
.odo { display: inline-block; height: 1.15em; line-height: 1.15em; overflow: hidden; vertical-align: bottom; }
.odo__col { display: block; transition: transform .55s cubic-bezier(.2,.8,.2,1); }
.odo__col i { display: block; height: 1.15em; font-style: inherit; }
output .odo__col i { font-style: italic; }
.is-pop { animation: txt-pop .45s var(--ease); display: inline-block; }
@keyframes txt-pop { from { opacity: 0; transform: translateY(.3em); } }

/* имя на карте: тиснение по буквам */
.csim__name { display: grid; gap: 6px; width: min(400px, 100%); margin-top: 10px; }
.csim__name label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.csim__name input { height: 44px; border: 0; border-bottom: 1px solid var(--line-strong); background: transparent; font: 300 22px/1 var(--serif); padding: 0; color: var(--ink); border-radius: 0; }
.csim__name input:focus { outline: none; border-bottom-color: var(--ink); }
.kcard__name .eng { display: inline-block; animation: engrave .5s var(--ease) var(--d) both; }
@keyframes engrave { 0% { opacity: 0; transform: translateY(-.4em) scale(1.8); filter: blur(4px); } 60% { opacity: 1; transform: translateY(.04em) scale(.94); filter: blur(0); } 100% { transform: none; } }

/* привилегии: закрытые размыты, открываются с замком */
.privs { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 1100px) { .privs { grid-template-columns: repeat(3, 1fr); } }
.priv { position: relative; display: grid; gap: 4px; align-content: start; padding: 16px 14px 14px; border: 1px solid var(--line); background: var(--surface, #fff); overflow: hidden; transition: border-color .4s, background .4s; }
.priv b { font: 400 18px/1.2 var(--serif); padding-right: 22px; }
.priv small { font-size: 12px; color: var(--ink-2); line-height: 1.4; }
.priv__lvl { margin-top: 6px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.priv b, .priv small { transition: filter .5s var(--ease), opacity .5s var(--ease); }
.priv:not(.is-open) { background: transparent; border-style: dashed; }
.priv:not(.is-open) b, .priv:not(.is-open) small { filter: blur(3.5px); opacity: .55; }
.priv__lock { position: absolute; right: 12px; top: 14px; width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 1.6; transition: opacity .4s .3s; }
.priv__shackle { transition: transform .35s var(--ease); transform-origin: 16px 11px; }
.priv.is-open .priv__lock { opacity: 0; }
.priv.is-open .priv__shackle { transform: translateY(-3px) rotate(18deg); }
.priv.is-open { border-color: var(--ink); }
.priv.is-unlock::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(201,168,90,.35) 50%, transparent 70%); animation: perk-shine .9s var(--ease) forwards; pointer-events: none; }
@keyframes perk-shine { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.priv.is-unlock .priv__lock { animation: lock-open .7s var(--ease); }
@keyframes lock-open { 0% { opacity: 1; transform: none; } 40% { opacity: 1; transform: translateY(-2px) scale(1.15); } 100% { opacity: 0; transform: translateY(-6px); } }
.clubtab__perks { display: grid; gap: 14px; }
@media (min-width: 640px) { .clubtab__perks .privs { grid-template-columns: repeat(3, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  .tape__tag.is-swing, .priv.is-unlock::after, .tape__knob { animation: none !important; }
  .odo__col { transition: none; }
}
.csim__res dd, [data-sim-sum], [data-tape-sum], [data-odo] { white-space: nowrap; }

/* ===== «Три пространства»: история сезона на главной ===== */
.spaces { --p: 0; --lp: 0; --sand: #ece6dc; position: relative; height: 330svh; background: var(--sand); }
.spaces__stick { position: sticky; top: var(--hdr-h); height: calc(100svh - var(--hdr-h)); overflow: hidden; display: grid; }
.spaces__media { position: relative; overflow: hidden; }
.spaces__ph { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.1s var(--ease-io, ease); }
.spaces__ph.is-on { opacity: 1; }
.spaces__main { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.08 - var(--lp) * .06)); transition: transform 1.6s var(--ease); }
.spaces__ph:not(.is-on) .spaces__main { transform: scale(1.12); }
.spaces__inset { position: absolute; width: 30%; aspect-ratio: 2 / 3; object-fit: cover; border: 6px solid var(--sand); box-shadow: 0 24px 50px -20px rgba(0,0,0,.45); opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease) .35s, transform 1.2s var(--ease) .35s; }
.spaces__ph.is-on .spaces__inset { opacity: 1; transform: translateY(calc(var(--lp) * -30px)); }
.spaces__text { position: relative; display: grid; align-content: center; gap: 18px; }
.spaces__label { color: var(--muted); }
.spaces__title { font: 300 clamp(28px, min(3.4vw, 5.6vh), 52px)/1.08 var(--serif); max-width: 18ch; }
.spaces__lead { color: var(--ink-2); max-width: 36ch; line-height: 1.6; }
.spaces__chapters { position: relative; min-height: clamp(140px, 22vh, 190px); margin-top: 6px; }
.spaces__ch { position: absolute; inset: 0 0 auto 0; display: grid; gap: 10px; opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .9s var(--ease); pointer-events: none; }
.spaces__ch.is-on { opacity: 1; transform: none; transition-delay: .15s; pointer-events: auto; }
.spaces__n { font: 400 11px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.spaces__n i { font-style: normal; color: var(--muted); }
.spaces__h { font: 300 italic clamp(36px, min(4.6vw, 7.5vh), 72px)/1 var(--serif); }
.spaces__ch p { font: 300 clamp(19px, 1.6vw, 24px)/1.4 var(--serif); color: var(--ink-2); max-width: 26ch; }
.spaces__foot { display: grid; gap: 14px; justify-items: start; margin-top: 8px; }
.spaces__motto { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.spaces__marks { display: grid; gap: 6px; justify-items: start; }
.spaces__tabs { display: flex; gap: 22px; }
.spaces__marks button { font: 400 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 8px 0 4px; transition: color .3s; }
.spaces__marks button.is-on, .spaces__marks button:hover { color: var(--ink); }
.spaces__wave { display: block; width: 100%; max-width: 360px; height: 14px; overflow: visible; }
.spaces__wave path { fill: none; stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.spaces__wave-bg { stroke: rgba(32,33,33,.16); }
.spaces__wave-fg { stroke: var(--ink); stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p)); transition: stroke-dashoffset .25s linear; }

/* компьютер: текст слева, фото справа (кадры каталога не растягиваем на весь экран) */
@media (min-width: 900px) {
  .spaces__stick { grid-template-columns: 5fr 7fr; }
  .spaces__text { grid-column: 1; grid-row: 1; padding: 40px clamp(32px, 5vw, 88px) 72px calc(var(--gutter) + 24px); }
  .spaces__media { grid-column: 2; grid-row: 1; margin: clamp(24px, 4vh, 48px) var(--gutter) clamp(24px, 4vh, 48px) 0; }
  .spaces__main { left: 22%; width: 78%; }
  .spaces__inset { left: 0; bottom: 9%; }
}
/* телефон: кадр на весь экран, текст поверх снизу */
@media (max-width: 899px) {
  .spaces { height: 320svh; }
  .spaces__stick { grid-template-rows: 1fr; }
  .spaces__media, .spaces__text { grid-area: 1 / 1; }
  .spaces__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,.2) 48%, rgba(0,0,0,.78) 100%); pointer-events: none; }
  .spaces__inset { width: 28%; right: 16px; top: 72px; border-width: 4px; }
  .spaces__marks { justify-items: stretch; }
  .spaces__wave { max-width: 58%; }
  .spaces__text { align-content: end; color: #fff; padding: 0 var(--gutter) 64px; gap: 10px; z-index: 1; }
  .spaces__label, .spaces__n i, .spaces__motto { color: rgba(255,255,255,.75); }
  .spaces__n { color: #fff; }
  .spaces__title { font-size: 26px; max-width: 16ch; }
  .spaces__lead { display: none; }
  .spaces__chapters { min-height: 150px; margin-top: 6px; }
  .spaces__h { font-size: 44px; }
  .spaces__ch p { color: rgba(255,255,255,.92); font-size: 20px; }
  .spaces__cta { background: rgba(255,255,255,.96); color: var(--ink); border-color: transparent; }
  .spaces__motto { display: none; }
  .spaces__marks { position: absolute; left: var(--gutter); right: var(--gutter); top: 18px; z-index: 2; gap: 16px; }
  .spaces__marks button { color: rgba(255,255,255,.7); }
  .spaces__marks button.is-on { color: #fff; }
  .spaces__wave-bg { stroke: rgba(255,255,255,.3); }
  .spaces__wave-fg { stroke: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  .spaces__ph, .spaces__main, .spaces__inset, .spaces__ch { transition: none !important; }
  .spaces__main, .spaces__ph:not(.is-on) .spaces__main { transform: none; }
  .spaces__ph.is-on .spaces__inset { transform: none; }
}
@media (min-width: 900px) and (max-height: 820px) {
  .spaces__lead { display: none; }
  .spaces__text { gap: 12px; padding-top: 20px; padding-bottom: 24px; }
  .spaces__ch p { font-size: 20px; }
}

/* Главная: «О доме IRKE» — факты вместо полосы преимуществ */
.story__facts { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); width: 100%; }
.story__facts li { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.story__facts b { font: 400 17px/1.3 var(--serif); color: var(--ink); }
@media (max-width: 599px) { .story__facts li { grid-template-columns: 1fr; gap: 2px; } }
/* Главная: бутики — фото интерьеров в ряд */
.shops { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.shop { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tile); color: #fff; }
.shop img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.shop:hover img { transform: scale(1.04); }
.shop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.62) 100%); }
.shop__text { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 18px; display: grid; gap: 6px; }
.shop__text .label { color: rgba(255,255,255,.8); }
.shop__text b { font: 300 clamp(24px, 2.2vw, 32px)/1.1 var(--serif); }
.shop__text small { font-size: 13px; color: rgba(255,255,255,.85); }
@media (max-width: 899px) {
  .shops { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .shops::-webkit-scrollbar { display: none; }
  .shop { flex: 0 0 82%; scroll-snap-align: start; aspect-ratio: 4 / 5; }
}

/* ===== Обложки страниц: фото во всю ширину, заголовок поверх ===== */
.pcover { --py: 0px; position: relative; height: clamp(360px, 58svh, 640px); overflow: hidden; background: #2a2a28; color: #fff; margin-top: calc(-1 * var(--hdr-h)); }
.page > .pcover:first-child { margin-top: 0; }
.pcover picture { position: absolute; inset: 0; }
.pcover__img { width: 100%; height: 115%; object-fit: cover; object-position: center 35%; transform: translateY(var(--py)) scale(1.08); animation: pcover-in 9s cubic-bezier(.2,.6,.2,1) forwards; will-change: transform; }
@keyframes pcover-in { from { scale: 1.08; } to { scale: .93; } }
.pcover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.22) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,.1) 55%, rgba(0,0,0,.6) 100%); pointer-events: none; }
.pcover__text { position: absolute; z-index: 1; left: 0; right: 0; bottom: clamp(28px, 6vh, 64px); display: grid; gap: 12px; }
.pcover__title { max-width: 18ch; }
.pcover__w { display: inline-block; opacity: 0; transform: translateY(.35em); filter: blur(6px); animation: pcover-w .9s var(--ease) forwards; animation-delay: calc(.25s + var(--i) * .12s); }
@keyframes pcover-w { to { opacity: 1; transform: none; filter: blur(0); } }
.pcover__sub { max-width: 46ch; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.88); opacity: 0; animation: pcover-w .9s var(--ease) .7s forwards; }
.pcover--compact { height: clamp(220px, 30svh, 320px); }
.pcover--compact .pcover__sub { font-size: 14px; }
@media (max-width: 767px) {
  .pcover { height: clamp(300px, 46svh, 460px); }
  .pcover--compact { height: clamp(180px, 26svh, 240px); }
  .pcover__title.display { font-size: clamp(40px, 11vw, 56px); }
}
@media (prefers-reduced-motion: reduce) {
  .pcover__img { animation: none; transform: none; }
  .pcover__w, .pcover__sub { animation: none; opacity: 1; transform: none; filter: none; }
}
.account { padding-top: clamp(28px, 4vw, 48px); }
.jlist-head { padding-block: clamp(24px, 4vw, 48px) 8px; }

/* Страница «Бутики»: фото и текст поочерёдно */
.bq { display: grid; gap: clamp(48px, 7vw, 112px); padding-bottom: clamp(64px, 8vw, 120px); }
.bq__row { display: grid; gap: 24px; align-items: center; }
.bq__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--tile); }
.bq__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.bq__row:hover .bq__img img { transform: scale(1.03); }
.bq__text { display: grid; gap: 12px; justify-items: start; }
.bq__addr { font-size: 16px; color: var(--ink-2); }
.bq__phone { font: 300 clamp(22px, 2vw, 28px)/1.2 var(--serif); color: var(--ink); }
.bq__phone:hover { text-decoration: underline; text-underline-offset: 4px; }
.bq__can { list-style: none; margin: 6px 0 4px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bq__can li { font-size: 12px; letter-spacing: .04em; padding: 6px 10px; border: 1px solid var(--line); color: var(--ink-2); }
.bq__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
@media (min-width: 900px) {
  .bq__row { grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 96px); }
  .bq__row--flip { grid-template-columns: 5fr 7fr; }
  .bq__row--flip .bq__img { order: 2; }
}
@media (max-width: 599px) { .bq__btns .btn { flex: 1 1 100%; } }

/* Точки на фото образа */
.sp-look__media { position: relative; }
.spots { position: absolute; inset: 0; pointer-events: none; }
.spot { pointer-events: auto; }
.sp-look__img img { display: block; }
.spot { position: absolute; z-index: 2; width: 0; height: 0; }
.spot__dot { position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.spot__dot i { position: relative; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.25); transition: transform .3s var(--ease); }
.spot__dot i::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.85); animation: spot-pulse 2.6s ease-out infinite; }
@keyframes spot-pulse { 0% { transform: scale(.55); opacity: 1; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
.spot.is-open .spot__dot i, .spot.is-hint .spot__dot i, .spot__dot:hover i { transform: scale(1.35); }
.spot__dot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.spot__card { position: absolute; left: 24px; top: -38px; width: 248px; display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; padding: 10px 14px 10px 10px; background: var(--bg); color: var(--ink); box-shadow: 0 18px 40px -12px rgba(0,0,0,.35); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s; }
.spot--left .spot__card { left: auto; right: 24px; }
.spot--up .spot__card { top: auto; bottom: -24px; }
.spot.is-open .spot__card { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease); }
.spot__card img { width: 56px; aspect-ratio: 3 / 4; object-fit: cover; background: var(--tile); }
.spot__card span { display: grid; gap: 3px; }
.spot__card b { font-weight: 400; font-size: 13px; line-height: 1.3; }
.spot__card small { font-size: 12px; color: var(--ink-2); }
.spot__card s { color: var(--muted); }
.spot__card em { font-style: normal; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; display: inline-flex; gap: 6px; align-items: center; margin-top: 2px; }
.spot__card em .ic { width: 12px; height: 12px; }
@media (max-width: 599px) { .spot__card { width: 210px; } }
@media (prefers-reduced-motion: reduce) { .spot__dot i::after { animation: none; opacity: .6; } }

/* Глава материала журнала (лукбук): номер, название, строка */
.sp-chapter { display: grid; justify-items: center; text-align: center; gap: 10px; padding-top: clamp(16px, 3vw, 40px); border-top: 1px solid var(--line); max-width: 760px; width: 100%; margin: 0 auto; }
.sp-chapter__n { font: 400 11px/1 var(--sans); letter-spacing: .16em; color: var(--accent); padding-top: clamp(16px, 2vw, 24px); }
.sp-chapter__h { font: 300 italic clamp(44px, 6vw, 88px)/1 var(--serif); }
.sp-chapter p { font: 300 clamp(20px, 1.8vw, 26px)/1.4 var(--serif); color: var(--ink-2); }

/* Клубная карта: постоянный блеск и перелив (просьба дизайнера) */
/* блеск: световая полоса сама пробегает по карте раз в несколько секунд */
.kcard__face::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  background: linear-gradient(112deg, transparent 42%, rgba(255,255,255,.12) 46%, rgba(255,255,255,.62) 49.6%, rgba(255,255,255,.78) 50%, rgba(255,255,255,.62) 50.4%, rgba(255,255,255,.12) 54%, transparent 58%) no-repeat;
  background-size: 260% 100%; background-position: 130% 0; mix-blend-mode: normal; opacity: .7; animation: kcard-shine 4.8s cubic-bezier(.45,.05,.25,1) 1s infinite; }
@keyframes kcard-shine { 0% { background-position: 130% 0; } 38%, 100% { background-position: -30% 0; } }
/* перелив: поверхность металла медленно «дышит» оттенком */
.kcard__face::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit; opacity: .55;
  background: linear-gradient(135deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.18) 25%, rgba(255,255,255,0) 45%, rgba(0,0,0,.08) 70%, rgba(255,255,255,.12) 100%);
  background-size: 300% 300%; animation: kcard-flow 9s ease-in-out infinite alternate; }
@keyframes kcard-flow { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }
/* платина: перламутровый перелив цвета */
.kcard[data-level="platinum"] .kcard__face::after { opacity: .7; background: linear-gradient(120deg, rgba(160,185,255,.0) 0%, rgba(160,185,255,.22) 25%, rgba(255,180,225,.2) 45%, rgba(170,255,220,.16) 65%, rgba(160,185,255,0) 100%); background-size: 300% 300%; mix-blend-mode: screen; }
/* золото: тёплое мерцание */
.kcard[data-level="gold"] .kcard__face::after { background: linear-gradient(135deg, rgba(255,240,190,0) 0%, rgba(255,240,190,.35) 30%, rgba(255,240,190,0) 50%, rgba(120,80,0,.12) 75%, rgba(255,240,190,.25) 100%); background-size: 300% 300%; }
@media (prefers-reduced-motion: reduce) { .kcard__face::before, .kcard__face::after { animation: none; } .kcard__face::before { display: none; } }

/* ===== Страница клуба: «Четыре материала» ===== */
.club-page { --cp-bg: #17161a; background: var(--cp-bg); color: #f1ede6; }
.club-page .label { color: rgba(241,237,230,.6); }
/* первый экран: карта в темноте */
.cp-hero { position: relative; min-height: calc(100svh - var(--hdr-h)); display: grid; align-content: center; justify-items: center; gap: clamp(24px, 4vh, 48px); padding-block: 40px 72px; overflow: hidden;
  background: radial-gradient(60% 50% at 50% 42%, rgba(255,255,255,.08), transparent 70%), #17161a; }
.cp-hero__card { width: min(440px, 76vw, 62vh); animation: cp-float 7s ease-in-out infinite; }
.cp-hero__card .kcard { width: 100%; }
@keyframes cp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.cp-hero__text { display: grid; justify-items: center; text-align: center; gap: 10px; }
.cp-hero__title { font: 300 clamp(48px, min(7vw, 11vh), 104px)/1 var(--serif); letter-spacing: .02em; }
.cp-hero__text p { font: 300 clamp(18px, 1.6vw, 22px)/1.4 var(--serif); color: rgba(241,237,230,.8); }
.cp-hero__scroll { position: absolute; right: var(--gutter); bottom: clamp(36px, 8vh, 80px); font: 400 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(241,237,230,.5); writing-mode: vertical-rl; }
.cp-hero__scroll::after { content: ""; display: block; width: 1px; height: 48px; margin: 12px auto 0; background: linear-gradient(rgba(241,237,230,.6), transparent); animation: cp-drip 2s ease-in-out infinite; }
@keyframes cp-drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* «Четыре материала»: фон экрана меняется вместе с материалом карты */
.cp-mat { position: relative; height: 420svh; --mat: #2a1d14; --glow: rgba(214,150,100,.22); background: var(--mat); transition: background-color 1.2s var(--ease); }
.cp-mat[data-level="silver"] { --mat: #24272b; --glow: rgba(220,226,235,.18); }
.cp-mat[data-level="gold"] { --mat: #2a2416; --glow: rgba(240,206,130,.22); }
.cp-mat[data-level="platinum"] { --mat: #111114; --glow: rgba(170,180,255,.16); }
.cp-mat__stick { position: sticky; top: var(--hdr-h); height: calc(100svh - var(--hdr-h)); display: grid; align-items: center; overflow: hidden;
  background: radial-gradient(50% 60% at 30% 50%, var(--glow), transparent 70%); transition: background 1.2s var(--ease); }
.cp-mat__card { justify-self: center; width: min(460px, 76vw); }
.cp-mat__card .kcard { width: 100%; }
.cp-mat__text { position: relative; display: grid; gap: 18px; }
.cp-mat__levels { position: relative; min-height: 330px; }
.cp-lv { position: absolute; inset: 0 0 auto 0; display: grid; gap: 12px; opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .9s var(--ease); pointer-events: none; }
.cp-lv.is-on { opacity: 1; transform: none; transition-delay: .2s; pointer-events: auto; }
.cp-lv__n { font: 400 11px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: rgba(241,237,230,.6); }
.cp-lv__h { font: 300 italic clamp(56px, 7vw, 112px)/.95 var(--serif); }
.cp-lv__from { font: 300 clamp(20px, 2vw, 28px)/1.2 var(--serif); color: rgba(241,237,230,.85); }
.cp-lv__nums { margin: 8px 0 0; display: flex; gap: 40px; }
.cp-lv__nums dt { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(241,237,230,.55); }
.cp-lv__nums dd { margin: 6px 0 0; font: 300 clamp(36px, 3.6vw, 52px)/1 var(--serif); }
.cp-lv__perks { list-style: none; margin: 6px 0 0; padding: 14px 0 0; border-top: 1px solid rgba(241,237,230,.18); display: grid; gap: 6px; font-size: 14px; color: rgba(241,237,230,.75); max-width: 44ch; }
.cp-lv__perks b { font-weight: 400; color: #f1ede6; }
.cp-mat__dots { display: flex; gap: 10px; }
.cp-mat__dots i { width: 28px; height: 1px; background: rgba(241,237,230,.25); transition: background .4s, width .4s var(--ease); }
.cp-mat__dots i.is-on { width: 56px; background: #f1ede6; }
@media (min-width: 900px) {
  .cp-mat__stick { grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 96px); padding-inline: var(--gutter); }
  .cp-mat__text { padding-right: var(--gutter); }
}
@media (max-width: 899px) {
  .cp-mat__stick { grid-template-rows: auto 1fr; align-content: center; gap: 28px; padding: 24px var(--gutter); }
  .cp-mat__card { width: min(340px, 74vw); }
  .cp-mat__levels { min-height: 300px; }
  .cp-lv__h { font-size: 56px; }
  .cp-lv__nums dd { font-size: 34px; }
}
@media (max-width: 899px) and (max-height: 720px) { .cp-lv__perks { display: none; } .cp-mat__levels { min-height: 220px; } }

/* примерка уровня */
.cp-try { display: grid; gap: 40px; align-items: center; padding-block: clamp(72px, 10vw, 140px); }
.cp-try__card { justify-self: center; width: min(380px, 76vw); }
.cp-try__card .kcard { width: 100%; }
.cp-try__ctrl { display: grid; gap: 14px; }
.cp-try__q { font: 300 clamp(22px, 2vw, 28px)/1.2 var(--serif); color: rgba(241,237,230,.8); }
.cp-try__sum { font: 300 clamp(56px, 7vw, 104px)/1.15 var(--serif); white-space: nowrap; display: block; overflow: hidden; }
.cp-try__sum .odo-c { vertical-align: top; }
.cp-try__range { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: none; cursor: pointer; margin-top: 10px; }
.cp-try__range::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, #f1ede6 var(--v), rgba(241,237,230,.2) var(--v)); }
.cp-try__range::-moz-range-track { height: 2px; background: rgba(241,237,230,.2); }
.cp-try__range::-moz-range-progress { height: 2px; background: #f1ede6; }
.cp-try__range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -9px; border-radius: 50%; background: #f1ede6; box-shadow: 0 0 0 6px rgba(241,237,230,.12); transition: box-shadow .3s; }
.cp-try__range:active::-webkit-slider-thumb { box-shadow: 0 0 0 12px rgba(241,237,230,.14); }
.cp-try__range::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: #f1ede6; }
.cp-try__range:focus-visible { outline: 1px solid #f1ede6; outline-offset: 6px; }
.cp-try__marks { position: relative; height: 18px; }
.cp-try__marks span { position: absolute; transform: translateX(-50%); font-size: 11px; letter-spacing: .08em; color: rgba(241,237,230,.5); }
.cp-try__marks span:first-child { transform: none; }
.cp-try__res { font: 300 clamp(20px, 1.8vw, 26px)/1.45 var(--serif); color: rgba(241,237,230,.85); min-height: 2.9em; max-width: 34ch; }
.cp-try__res b { font-weight: 400; color: #f1ede6; }
@media (min-width: 900px) { .cp-try { grid-template-columns: 5fr 6fr; gap: clamp(48px, 7vw, 120px); } }

/* три шага */
.cp-steps { padding-block: clamp(56px, 8vw, 112px); border-top: 1px solid rgba(241,237,230,.12); display: grid; gap: 40px; }
.cp-steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; }
.cp-steps li { display: grid; gap: 10px; align-content: start; }
.cp-steps span { font: 300 italic 40px/1 var(--serif); color: rgba(241,237,230,.45); }
.cp-steps b { font: 400 22px/1.25 var(--serif); }
.cp-steps p { font-size: 14px; line-height: 1.6; color: rgba(241,237,230,.7); max-width: 32ch; }
@media (min-width: 900px) { .cp-steps ol { grid-template-columns: repeat(3, 1fr); gap: 48px; } }

/* финал */
.cp-final { background: radial-gradient(50% 70% at 50% 30%, rgba(255,255,255,.07), transparent 70%), #111114; padding-block: clamp(80px, 12vw, 160px) 64px; text-align: center; }
.cp-final__in { display: grid; justify-items: center; gap: 28px; }
.cp-final__h { font: 300 italic clamp(44px, 6vw, 88px)/1 var(--serif); }
.cp-terms { width: min(720px, 100%); margin-top: 40px; text-align: left; border-top: 1px solid rgba(241,237,230,.15); }
.cp-terms summary { cursor: pointer; padding: 18px 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(241,237,230,.7); list-style: none; display: flex; justify-content: space-between; }
.cp-terms summary::after { content: "+"; font-size: 18px; line-height: 1; }
.cp-terms[open] summary::after { content: "−"; }
.cp-terms > div { display: grid; gap: 14px; padding-bottom: 20px; font-size: 14px; line-height: 1.7; color: rgba(241,237,230,.75); }
@media (prefers-reduced-motion: reduce) { .cp-hero__card, .cp-hero__scroll::after { animation: none; } .cp-lv { transition: none; } }

/* ===== Страница клуба: светлый вариант (тёмный не понравился) ===== */
.club-page { --cp-bg: #f6f3ee; background: var(--cp-bg); color: var(--ink); }
.club-page .label { color: var(--muted); }
.cp-hero { background: radial-gradient(55% 55% at 50% 40%, #ffffff 0%, rgba(255,255,255,0) 70%), #f3efe8; }
.cp-hero__text p { color: var(--ink-2); }
.cp-hero__scroll { color: var(--muted); }
.cp-hero__scroll::after { background: linear-gradient(var(--muted), transparent); }
.cp-hero__card .kcard__face, .cp-mat__card .kcard__face, .cp-try__card .kcard__face { box-shadow: 0 40px 70px -30px rgba(60,45,30,.45), 0 2px 6px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.35); }
/* уровни: едва уловимый оттенок материала */
.cp-mat { --mat: #efe4d7; --glow: rgba(255,255,255,.75); }
.cp-mat[data-level="silver"] { --mat: #e9eaec; --glow: rgba(255,255,255,.8); }
.cp-mat[data-level="gold"] { --mat: #f2e8d2; --glow: rgba(255,252,240,.85); }
.cp-mat[data-level="platinum"] { --mat: #e7e6ec; --glow: rgba(255,255,255,.8); }
.cp-mat__stick { background: radial-gradient(45% 60% at 28% 50%, var(--glow), transparent 70%); }
.cp-lv__n, .cp-lv__nums dt { color: var(--muted); }
.cp-lv__n { color: var(--accent); }
.cp-lv__from { color: var(--ink-2); }
.cp-lv__perks { border-top-color: rgba(32,33,33,.14); color: var(--ink-2); }
.cp-lv__perks b { color: var(--ink); }
.cp-mat__dots i { background: rgba(32,33,33,.18); }
.cp-mat__dots i.is-on { background: var(--ink); }
/* примерка */
.cp-try__q, .cp-try__res { color: var(--ink-2); }
.cp-try__res b { color: var(--ink); }
.cp-try__range::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--ink) var(--v), rgba(32,33,33,.15) var(--v)); }
.cp-try__range::-moz-range-track { background: rgba(32,33,33,.15); }
.cp-try__range::-moz-range-progress { background: var(--ink); }
.cp-try__range::-webkit-slider-thumb { background: var(--ink); box-shadow: 0 0 0 6px rgba(32,33,33,.08); }
.cp-try__range:active::-webkit-slider-thumb { box-shadow: 0 0 0 12px rgba(32,33,33,.1); }
.cp-try__range::-moz-range-thumb { background: var(--ink); }
.cp-try__range:focus-visible { outline-color: var(--ink); }
.cp-try__marks span { color: var(--muted); }
/* шаги и финал */
.cp-steps { border-top-color: var(--line); }
.cp-steps span { color: var(--accent); }
.cp-steps p { color: var(--ink-2); }
.cp-final { background: radial-gradient(50% 70% at 50% 30%, #ffffff, rgba(255,255,255,0) 70%), #efe8dd; }
.cp-final .btn--light { background: var(--ink); color: #fff; }
.cp-final .btn--light::before { background: var(--accent); }
.cp-terms { border-top-color: rgba(32,33,33,.14); }
.cp-terms summary { color: var(--ink-2); }
.cp-terms > div { color: var(--ink-2); }

/* уровни: обычный блок с вкладками-образцами (без «прилипания» при прокрутке) */
.cp-mat { height: auto; }
.cp-mat__stick { position: relative; top: auto; height: auto; min-height: 0; padding-block: clamp(72px, 9vw, 128px); }
.cp-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.cp-tab { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border: 1px solid rgba(32,33,33,.16); border-radius: 999px; background: rgba(255,255,255,.55); font: 400 13px/1 var(--sans); letter-spacing: .02em; color: var(--ink-2); transition: border-color .3s, background .3s, color .3s, transform .3s var(--ease); }
.cp-tab:hover { border-color: var(--ink); color: var(--ink); }
.cp-tab.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.cp-tab:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.cp-tab__sw { width: 22px; height: 22px; border-radius: 50%; background: var(--k-bg); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), 0 2px 4px rgba(0,0,0,.15); }
.cp-tab__sw[data-level="bronze"] { --k-bg: linear-gradient(135deg, #5b3a24, #b7845b 55%, #6a442b); }
.cp-tab__sw[data-level="silver"] { --k-bg: linear-gradient(135deg, #8c8d8e, #f3f3f0 55%, #8e8f90); }
.cp-tab__sw[data-level="gold"] { --k-bg: linear-gradient(135deg, #7a5718, #f0d68c 55%, #86622a); }
.cp-tab__sw[data-level="platinum"] { --k-bg: linear-gradient(135deg, #17171b, #4a4a58 55%, #a8b2ff 90%); }
.cp-mat__levels { min-height: 300px; }
@media (max-width: 899px) {
  .cp-mat__stick { padding-block: 56px; }
  .cp-tabs { gap: 6px; }
  .cp-tab { padding: 8px 12px 8px 8px; font-size: 12px; }
  .cp-tab__sw { width: 18px; height: 18px; }
  .cp-mat__levels { min-height: 290px; }
}
@media (max-width: 599px) {
  .cp-final__h { font-size: clamp(32px, 9.5vw, 44px); line-height: 1.08; text-wrap: balance; max-width: 100%; }
}

/* ===== Страница клуба: белый вариант — чистый фон, цвет даёт только металл карты ===== */
.club-page { --cp-bg: #fff; background: #fff; }
.cp-hero { background: radial-gradient(40% 30% at 50% 62%, rgba(20,20,24,.06), rgba(20,20,24,0) 70%), #fff; }
.cp-hero__card .kcard__face, .cp-mat__card .kcard__face, .cp-try__card .kcard__face { box-shadow: 0 50px 80px -36px rgba(20,20,24,.42), 0 2px 6px rgba(0,0,0,.10), inset 0 1px 0 rgba(255,255,255,.35); }
/* уровни: белый блок между тонкими линиями, за картой лишь лёгкий отсвет металла */
.cp-mat, .cp-mat[data-level] { background: #fff; border-block: 1px solid var(--line); }
.cp-mat { --glow: rgba(183,132,91,.14); }
.cp-mat[data-level="silver"] { --glow: rgba(150,152,156,.16); }
.cp-mat[data-level="gold"] { --glow: rgba(214,176,90,.18); }
.cp-mat[data-level="platinum"] { --glow: rgba(120,126,190,.16); }
.cp-mat__stick { background: radial-gradient(38% 55% at 28% 50%, var(--glow), transparent 70%); transition: background .6s; }
@media (max-width: 899px) { .cp-mat__stick { background: radial-gradient(70% 28% at 50% 22%, var(--glow), transparent 70%); } }
.cp-tab { background: #fff; }
.cp-final { background: #fff; border-top: 1px solid var(--line); }

/* ===== Уровни клуба: у каждого своя фактура металла (как витрина материала), карта лежит на ней ===== */
.cp-mat__stick, .cp-mat__stick[style] { background: none; }
.cp-mat__card { position: relative; width: min(560px, 100%); aspect-ratio: 1; display: grid; place-items: center; }
.cp-mat__card .kcard { position: relative; z-index: 1; width: 74%; }
.cp-stage { position: absolute; inset: 0; overflow: hidden; border-radius: 2px; background: #1a1a1d; }
.cp-stage::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,0) 38%), radial-gradient(90% 70% at 50% 100%, rgba(0,0,0,0) 40%, rgba(0,0,0,.35)); }
.cp-tex { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease); }
.cp-tex b { position: absolute; inset: -70% -60% -20%; transform: perspective(620px) rotateX(56deg); transform-origin: 50% 70%;
  animation: cp-drift 40s linear infinite; }
.cp-tex::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 38%, rgba(255,255,255,.22) 50%, transparent 62%); background-size: 260% 100%; animation: cp-sweep 9s ease-in-out infinite; }
.cp-mat[data-level="bronze"] .cp-tex--bronze, .cp-mat[data-level="silver"] .cp-tex--silver,
.cp-mat[data-level="gold"] .cp-tex--gold, .cp-mat[data-level="platinum"] .cp-tex--platinum { opacity: 1; }
@keyframes cp-drift { to { background-position: 0 var(--run, 480px); } }
@keyframes cp-sweep { 0%, 15% { background-position: 130% 0; } 60%, 100% { background-position: -30% 0; } }
/* бронза — медная чешуя */
.cp-tex--bronze b { --run: 480px; background-color: #3b1f12;
  background-image: radial-gradient(circle at 50% 100%, #ffd9b8 0, #e2a074 16%, #b8693f 32%, #7a3c20 44%, #2e160b 49%, transparent 50%),
                    radial-gradient(circle at 50% 100%, #ffd9b8 0, #e2a074 16%, #b8693f 32%, #7a3c20 44%, #2e160b 49%, transparent 50%);
  background-size: 48px 24px; background-position: 0 0, 24px 12px; }
/* серебро — рифлёный металл */
.cp-tex--silver b { --run: 0px; background-color: #8e9093;
  background-image: repeating-linear-gradient(90deg, #5e6063 0, #b9bbbe 5px, #f7f7f5 8px, #c3c5c8 11px, #7a7c80 15px, #5e6063 16px); }
.cp-tex--silver b { animation: cp-slide 24s linear infinite; }
@keyframes cp-slide { to { background-position: 160px 0; } }
/* золото — волны, расходящиеся кругами */
.cp-tex--gold b { --run: 0px; background-color: #8a6420;
  background-image: repeating-radial-gradient(circle at 50% 100%, #6b4a12 0, #b8913f 6px, #fbe7a6 11px, #d6b25e 15px, #7a5718 20px, #6b4a12 22px);
  animation: cp-pulse 14s linear infinite; }
@keyframes cp-pulse { from { background-size: 100% 100%; } to { background-size: 100% 100%; background-position: 0 44px; } }
/* платина — гранёный графит */
.cp-tex--platinum b { --run: 360px; background-color: #26262e;
  background-image: linear-gradient(315deg, #5a5a6e 25%, transparent 25%), linear-gradient(45deg, #15151a 25%, transparent 25%),
                    linear-gradient(135deg, #3c3c4a 25%, transparent 25%), linear-gradient(225deg, #8b8fb8 25%, transparent 25%);
  background-size: 36px 36px; background-position: 0 0, 0 0, 0 0, 0 0; }
@media (max-width: 899px) {
  .cp-mat__card { width: 100%; aspect-ratio: 5 / 4; }
  .cp-mat__card .kcard { width: min(300px, 70%); }
}
@media (prefers-reduced-motion: reduce) { .cp-tex b, .cp-tex::after { animation: none; } }
/* фактуры крупнее и на весь квадрат */
.cp-tex b { inset: -190% -90% -25%; transform: perspective(800px) rotateX(46deg); transform-origin: 50% 85%; }
.cp-tex--bronze b { --run: 960px; background-size: 96px 48px; background-position: 0 0, 48px 24px; }
.cp-tex--silver b { background-image: repeating-linear-gradient(90deg, #5e6063 0, #b9bbbe 10px, #f7f7f5 16px, #c3c5c8 22px, #7a7c80 30px, #5e6063 32px); }
@keyframes cp-slide { to { background-position: 320px 0; } }
.cp-tex--gold b { background-image: repeating-radial-gradient(circle at 50% 100%, #6b4a12 0, #b8913f 12px, #fbe7a6 22px, #d6b25e 30px, #7a5718 40px, #6b4a12 44px); }
@keyframes cp-pulse { from { background-position: 0 0; } to { background-position: 0 88px; } }
.cp-tex--platinum b { --run: 720px; background-size: 72px 72px; }
.cp-tex--platinum b { background-image: linear-gradient(315deg, #4c4c58 25%, transparent 25%), linear-gradient(45deg, #141418 25%, transparent 25%),
                    linear-gradient(135deg, #34343e 25%, transparent 25%), linear-gradient(225deg, #757892 25%, transparent 25%); }

/* ===== Фактуры: движение только через transform (считает видеокарта, без перерисовки каждый кадр) ===== */
.cp-tex b { --tf: perspective(800px) rotateX(46deg); transform: var(--tf); will-change: transform; backface-visibility: hidden;
  animation: cp-move var(--dur, 40s) linear infinite; }
@keyframes cp-move { from { transform: var(--tf) translate3d(0, 0, 0); } to { transform: var(--tf) translate3d(var(--dx, 0px), var(--dy, 0px), 0); } }
.cp-tex--bronze b { --dy: 480px; --dur: 40s; }
.cp-tex--silver b { --dx: 320px; --dy: 0px; --dur: 30s; }
.cp-tex--gold b { --dy: 88px; --dur: 12s; }
.cp-tex--platinum b { --dy: 576px; --dur: 44s; }
.cp-tex::after { inset: 0 auto 0 -100%; width: 300%; background: linear-gradient(110deg, transparent 40%, rgba(255,255,255,.2) 50%, transparent 60%);
  background-size: auto; will-change: transform; animation: cp-sweep2 9s ease-in-out infinite; }
@keyframes cp-sweep2 { 0%, 15% { transform: translate3d(33%, 0, 0); } 60%, 100% { transform: translate3d(-33%, 0, 0); } }
/* скрытые фактуры и всё, что вне экрана, стоит */
.cp-tex b, .cp-tex::after { animation-play-state: paused; }
.cp-mat[data-level="bronze"] .cp-tex--bronze b, .cp-mat[data-level="bronze"] .cp-tex--bronze::after,
.cp-mat[data-level="silver"] .cp-tex--silver b, .cp-mat[data-level="silver"] .cp-tex--silver::after,
.cp-mat[data-level="gold"] .cp-tex--gold b, .cp-mat[data-level="gold"] .cp-tex--gold::after,
.cp-mat[data-level="platinum"] .cp-tex--platinum b, .cp-mat[data-level="platinum"] .cp-tex--platinum::after { animation-play-state: running; }
.club-page .is-off *, .club-page .is-off *::before, .club-page .is-off *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .cp-tex b, .cp-tex::after { animation: none; } }
/* телефоны: фактура стоит (большой слой в 3D дорог для слабой видеокарты), по ней идёт только лёгкий блик */
.cp-tex b { will-change: auto; }
.cp-mat[data-level="bronze"] .cp-tex--bronze b, .cp-mat[data-level="silver"] .cp-tex--silver b, .cp-mat[data-level="gold"] .cp-tex--gold b, .cp-mat[data-level="platinum"] .cp-tex--platinum b { will-change: transform; }
@media (max-width: 899px), (pointer: coarse) { .cp-tex b, .cp-mat[data-level] .cp-tex b { animation: none; will-change: auto; } }

/* ===== Главная из блоков ===== */
.spaces { height: calc(var(--n, 3) * 110svh); }
@media (max-width: 899px) { .spaces { height: calc(var(--n, 3) * 106.7svh); } }
@media (min-width: 900px) { .story--flip { grid-template-columns: 5fr 7fr; } .story--flip .story__media { order: 2; } }
/* баннер с фото во всю ширину */
.hb { position: relative; min-height: min(86svh, 820px); display: grid; align-items: end; overflow: hidden; background: #1d1d1f; color: #fff; }
.hb__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,0) 55%); }
.hb__in { position: relative; z-index: 1; display: grid; gap: 18px; justify-items: start; padding-block: clamp(40px, 7vw, 96px); }
.hb__in .label { color: rgba(255,255,255,.8); }
.hb__title { font: 300 clamp(40px, 6vw, 84px)/1.02 var(--serif); max-width: 14ch; }
.hb--empty { min-height: 50svh; }
/* цитата */
.hq__in { display: grid; justify-items: center; gap: 22px; text-align: center; max-width: 980px; }
.hq__q { font: 300 italic clamp(30px, 4.2vw, 58px)/1.15 var(--serif); text-wrap: balance; }
.hq__q::before { content: "«"; } .hq__q::after { content: "»"; }

/* ===== Переносы: без «висячих» слов в конце абзаца, заголовки ровными строками ===== */
p, li, blockquote, figcaption, dd { text-wrap: pretty; }
h1, h2, h3, .h1, .h2, .h3, .display, .lead { text-wrap: balance; }
/* ничего не вылезает вбок за край экрана (например, спрятанная карточка вещи у точек на фото) */
main, #main { overflow-x: clip; }
/* при 4–5 главах подписи переносятся на вторую строку, а не вылезают за край */
.spaces__tabs { flex-wrap: wrap; column-gap: clamp(14px, 2.4vw, 22px); row-gap: 0; }

/* полоса фактов в интервью: на компьютере у каждой колонки, кроме первой, отступ от линии */
@media (min-width: 900px) { .sp-facts div:nth-child(odd):not(:first-child) { padding-left: 24px; } }

/* плитки «Выберите своё»: кадр чуть выше центра, чтобы не срезать лицо */
.cat img { object-position: center 22%; }

/* Новые обложки категорий: прежняя композиция первых четырёх, дополнительные — ниже. */
.cat { border: 1px solid var(--line); }
.looks-section .rail__nav { display: flex; }
.looks-rail .looks-list { display: flex; gap: clamp(12px, 2vw, 24px); padding-inline: 0; scroll-padding-inline: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.looks-list::-webkit-scrollbar { display: none; }
.look-card { flex: 0 0 calc((100% - clamp(12px, 2vw, 24px)) / 2); min-width: 0; scroll-snap-align: start; }
.look-card:only-child { flex-basis: 100%; }
.look-card__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--tile); }
.look-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
@media (min-width: 700px) { .look-card:only-child .look-card__photo { aspect-ratio: 16 / 9; background: #efedf1; } .look-card:only-child .look-card__photo img { object-fit: contain; object-position: center; } }
.look-card__content { position: absolute; right: clamp(12px, 3vw, 32px); bottom: clamp(12px, 3vw, 32px); width: min(340px, calc(100% - 24px)); padding: clamp(16px, 2.5vw, 24px); color: #242321; background: rgba(255, 255, 255, .94); }
.look-card__content h3 { margin: 0 0 5px; font-size: 1.2rem; }
.look-card__content p { margin: 0 0 12px; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.look-card__product { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid rgba(0,0,0,.15); padding: 10px 0; font-size: .875rem; line-height: 1.35; }
.look-card__product > span:last-child { white-space: nowrap; }
.look-card__product:hover { text-decoration: underline; }
@media (max-width: 699px) { .look-card { flex-basis: 100%; } .look-card__content { width: min(300px, calc(100% - 24px)); } .look-card__product { font-size: .8rem; } }


/* ===== Правки после проверки (версия 42) ===== */
/* «Выберите своё»: мозаика из первых четырёх плиток ровная, остальные — ряд без дыр */
.cats > .cat:first-child { min-height: 0; }
.cats > .cat:first-child img { position: absolute; inset: 0; }
.cats-more { display: contents; }
.cats-more > .cat { grid-column: auto; grid-row: auto; aspect-ratio: 3 / 4; min-height: 0; }
@media (max-width: 899px) {
  /* на телефоне общая сетка в две колонки: одинокую плитку в конце растягиваем на всю ширину */
  .cats > .cat:nth-child(4):last-child, .cats-more > .cat:last-child:nth-child(even) { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
}
@media (min-width: 900px) {
  .cats-more { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px; }
  .cats-more > .cat { flex: 1 1 calc((100% - 48px) / 4); aspect-ratio: auto; height: clamp(320px, 26vw, 440px); }
  .cats-more > .cat .h3 { font-size: clamp(20px, 1.8vw, 28px); }
}
/* «Готовые образы»: стрелки на компьютере только когда образов больше двух */
@media (min-width: 700px) { .looks-section[data-n="1"] .rail__nav, .looks-section[data-n="2"] .rail__nav { display: none; } }
/* на телефоне список вещей под фото, а не поверх него — образ виден целиком */
@media (max-width: 699px) {
  .look-card__photo { aspect-ratio: auto; overflow: visible; background: none; }
  .look-card__photo img { aspect-ratio: 4 / 5; height: auto; background: var(--tile); }
  .look-card__content { position: static; width: auto; padding: 16px 0 0; background: none; }
}
/* кружки цвета в карточке товара: область нажатия больше самого кружка */
.colors__sw::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; }

/* ===== Карточка товара: «С чем носить» ===== */
.wear__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .wear__grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

/* ===== Категории в каталоге: на компьютере переносятся строками (не прячутся за краем), на телефоне лента с подсказкой у края ===== */
@media (min-width: 900px) { .chips { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; row-gap: 8px; } }
@media (max-width: 899px) { .chips { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 48px; } }

/* ===== Заявки: «Запросить размер» и «Сообщить о поступлении» ===== */
.notify-link { margin-top: 10px; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; color: var(--ink-2); }
.notify-link:hover { color: var(--ink); }
.reqdlg { border: 0; padding: 0; width: min(440px, calc(100vw - 32px)); max-height: calc(100svh - 32px); background: var(--bg); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.reqdlg::backdrop { background: rgba(20,20,22,.45); }
.reqdlg__in { position: relative; display: grid; gap: 14px; padding: 32px 28px 26px; }
.reqdlg__close { position: absolute; top: 10px; right: 10px; }
.reqdlg .h3 { padding-right: 32px; }
.reqdlg__note { font-size: 14px; line-height: 1.6; }
.reqdlg__small { font-size: 11px; line-height: 1.5; }
.reqdlg select, .reqdlg input { width: 100%; }
@media (max-width: 599px) { .reqdlg { margin: auto auto 0; width: 100vw; max-width: 100vw; } }

/* ===== Фото товаров без обрезки: рамка как у исходных снимков 1200×1704 (раньше 3:4 срезала ноги и макушку) ===== */
.card__media, .gallery__item, .line-item__img { aspect-ratio: 1200 / 1704; }
@media (min-width: 900px) { .gallery__item:first-child img { aspect-ratio: 1200 / 1704; } }
@media (max-width: 899px) { .wear__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; } .wear__grid::-webkit-scrollbar { display: none; } .wear__grid > .card { scroll-snap-align: start; } }

/* ===== Телефон: прокрутка без рывков (замечание Аделя, 28.11.2026) ===== */
/* На iPhone «наведение» срабатывает от касания пальцем: большое фото начинало медленно увеличиваться прямо во время прокрутки.
   На устройствах без мыши эффекты наведения у фото отключены. */
@media (hover: none) {
  .shop:hover img, .cat:hover img, .jcard:hover .jcard__img img, .jfeat:hover .jfeat__img img,
  .jsplit:hover .jsplit__img img, .bq__row:hover .bq__img img, .gallery__item:hover img { transform: none; }
  .shop img, .cat img { transition: none; }
}
/* лента бутиков на телефоне: мягкое «примагничивание», вертикальная прокрутка страницы не застревает на фото */
@media (max-width: 899px) {
  .shops { scroll-snap-type: x proximity; overscroll-behavior-x: contain; touch-action: pan-x pan-y; }
}
.shop img, .cat img { -webkit-touch-callout: none; -webkit-user-drag: none; user-select: none; }
/* новые iPhone показывают страницу и над шапкой (под адресной строкой): закрываем эту полосу цветом шапки,
   чтобы карта клуба и тёмные блоки не «выглядывали» над шапкой */
.hdr::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 160px; background: inherit; -webkit-backdrop-filter: inherit; backdrop-filter: inherit; pointer-events: none; }

/* v46 аудит телефона: iPhone не увеличивает страницу при вводе (поля ≥16px), фильтры каталога без скрытой прокрутки, подписи уровней клуба не наезжают */
@media (max-width: 899px) {
  input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea { font-size: 16px !important; }
}
@media (max-width: 767px) {
  .toolbar__in { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; overflow: visible; min-height: 0; padding-block: 4px; }
  .toolbar__count { grid-row: 1; grid-column: 1; align-self: center; }
  .toolbar__in > .select:last-child { grid-row: 1; grid-column: 2; }
  .toolbar__in > .select { min-width: 0; }
  .toolbar__in > .select select { width: 100%; text-overflow: ellipsis; }
}
@media (max-width: 480px) {
  .cp-try__marks span { font-size: 10px; letter-spacing: .02em; }
  .cp-try__marks span:nth-child(2) { transform: translateX(-25%); }
}
@media (max-width: 767px) {
  .crumbs span[aria-current]:not(:nth-child(2)) { display: none; }
}
.field select { appearance: none; -webkit-appearance: none; height: 50px; padding: 0 40px 0 14px; border: 1px solid var(--line-strong); border-radius: 0; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23161616' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right 16px center; color: var(--ink); }
.field select:focus { outline: none; border-color: var(--ink); }
@media (max-width: 767px) { .icon-btn .badge { right: 3px; } }

/* «Вы недавно смотрели» в корзине */
.recent-mini { padding: 22px 0 8px; border-top: 1px solid var(--line); }
.empty + .recent-mini { border-top: 0; }
.recent-mini .label { margin-bottom: 12px; }
.recent-mini__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.recent-mini__row a { display: grid; gap: 6px; font-size: 12px; color: var(--muted); }
.recent-mini__row img { width: 100%; aspect-ratio: 1200 / 1704; object-fit: cover; background: var(--tile); }
.recent-mini__row a:hover span { color: var(--ink); }
.line-item + .recent-mini { border-top: 0; }
