/* ==========================================================================
   PLMN — публичная часть. Размеры и отступы сняты с оригинала (spec/site.json,
   блоки Tilda Zero: сетка 1200, шрифт InterDisplay лежит в /static/media/fonts).
   ========================================================================== */

@font-face { font-family: 'InterDisplay'; src: url('/static/media/fonts/InterDisplay-Thin.woff2') format('woff2');     font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: 'InterDisplay'; src: url('/static/media/fonts/InterDisplay-ExtraLi.woff2') format('woff2');  font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'InterDisplay'; src: url('/static/media/fonts/InterDisplay-Light.woff2') format('woff2');    font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'InterDisplay'; src: url('/static/media/fonts/InterDisplay-Regular.woff2') format('woff2');  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'InterDisplay'; src: url('/static/media/fonts/InterDisplay-Medium.woff2') format('woff2');   font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'InterDisplay'; src: url('/static/media/fonts/InterDisplay-SemiBol.woff2') format('woff2');  font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'InterDisplay'; src: url('/static/media/fonts/InterDisplay-Bold.woff2') format('woff2');     font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'InterDisplay'; src: url('/static/media/fonts/InterDisplay-ExtraBo.woff2') format('woff2');  font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'InterDisplay'; src: url('/static/media/fonts/InterDisplay-Black.woff2') format('woff2');    font-weight: 900; font-style: normal; font-display: swap; }

/* дефолты токенов; base.html переопределяет их из settings.theme */
:root {
  --bg: #fff9f1;
  --bg-alt: #fffaf2;
  --text: #2d2d2d;
  --muted: #767676;
  --accent: #1962b1;
  --alert: #ff4a4a;
  --line: #e5ddd0;
  --rule: rgba(45, 45, 45, .3);   /* разделители внутри карточки товара */
  --label: #9f9f9f;               /* подписи разделов «ОПИСАНИЕ», «СОСТАВ» */
  --label-2: #888888;             /* подписи «АРТИКУЛ», «РАЗМЕР» */
  --crumb: #989898;
  --dark: #2e2e2e;
  --container: 1200px;
  --font: 'InterDisplay', Arial, Helvetica, sans-serif;
  --pad: 20px;
  --hdr-h: 110px;                 /* статичная шапка внутренних страниц */
  --hdr-sticky: 68px;             /* прилипшая шапка */
  --sec-gap: 80px;
}
body.page-index { --hdr-h: 68px; }

/* --------------------------------------------------------- reset / базовое */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  padding-top: var(--hdr-h);
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding-left: 18px; }
s { color: var(--muted); }
iframe { border: 0; max-width: 100%; }

/* контентная колонка — ровно --container (1200) при широком окне */
.container { width: 100%; max-width: calc(var(--container) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.full { width: 100%; }
.muted { color: var(--muted); }
.hairline { height: 1px; background: var(--text); }
.hairline--dark { background: var(--text); }
.anchor { display: block; position: relative; top: calc(var(--hdr-h) * -1); }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--text); color: var(--bg); padding: 10px 16px;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ссылка с подчёркиванием, как в оригинале */
.link-u { text-decoration: underline; text-underline-offset: 3px; transition: opacity .25s; }
.link-u:hover { opacity: .6; }

.btn {
  display: inline-block; padding: 14px 28px; border-radius: 0;
  font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em;
  text-align: center; transition: opacity .25s, background-color .25s;
}
.btn--solid { background: var(--text); color: var(--bg); }
.btn--solid:hover { opacity: .85; }
.btn--solid[disabled] { opacity: .4; cursor: not-allowed; }

/* rich — готовый HTML из админки */
.rich { font-size: 16px; font-weight: 400; line-height: 1.6; }
.rich p { margin: 0 0 1em; }
.rich p:last-child { margin-bottom: 0; }
.rich h2 { font-size: 22px; font-weight: 600; margin: 1.4em 0 .5em; }
.rich h3 { font-size: 18px; font-weight: 600; margin: 1.2em 0 .4em; }
.rich a { text-decoration: underline; }
.rich img { margin: 1em 0; }
.rich ul, .rich ol { margin: 0 0 1em; }
.rich li { margin-bottom: .3em; }
ul.lines { list-style: none; padding: 0; margin: 0; font-size: 14px; font-weight: 400; }
ul.lines li { padding: 6px 0; border-bottom: 1px solid var(--line); }
ul.lines li:last-child { border-bottom: 0; }

/* заголовок секции: «/ Drop 1» + надстрочный счётчик + ссылка справа */
.sec-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.sec-head__l { display: flex; align-items: flex-start; gap: 12px; }
.sec-head__title { font-size: 40px; font-weight: 600; line-height: 1.23; }
.sec-head__count { font-size: 20px; font-weight: 600; line-height: 1.25; top: -.15em; }
.sec-head__extra { font-size: 14px; font-weight: 600; text-transform: uppercase; padding-top: 24px; }
.sec-head__extra a { text-decoration: underline; text-underline-offset: 3px; }
.sec-head__extra a:hover { opacity: .6; }
.sec-head + .hairline { margin-top: 29px; }

/* --------------------------------------------------------------- шапка */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  height: var(--hdr-h); background: var(--bg);
  transition: height .3s ease, background-color .3s ease;
}
body.page-index .hdr { background: var(--bg-alt); }
.hdr.is-scrolled { height: var(--hdr-sticky); background: var(--bg-alt); }
.hdr__in {
  height: 100%; max-width: calc(var(--container) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 16px;
  padding-top: 24px;
}
.hdr.is-scrolled .hdr__in { padding-top: 15px; }
.hdr__nav { display: flex; align-items: center; gap: 105px; height: 39px; }
.hdr__nav--right { justify-content: flex-end; gap: 62px; }
.hdr__link {
  color: var(--text); font-size: 14px; font-weight: 500; text-transform: uppercase;
  white-space: nowrap; transition: opacity .25s, color .25s;
}
body.page-index .hdr__link, .hdr.is-scrolled .hdr__link { color: var(--accent); }
.hdr__link:hover { opacity: .6; }
.hdr__logo { display: block; }
.hdr__logo-img { width: 136px; height: auto; }
.hdr__logo-img--accent { display: none; width: 133px; }
body.page-index .hdr__logo-img--dark, .hdr.is-scrolled .hdr__logo-img--dark { display: none; }
body.page-index .hdr__logo-img--accent, .hdr.is-scrolled .hdr__logo-img--accent { display: block; }
.hdr__cart-count { font-variant-numeric: tabular-nums; }
.hdr__burger { display: none; width: 28px; height: 20px; flex-direction: column; justify-content: center; gap: 6px; }
.hdr__burger span { display: block; height: 1px; background: currentColor; transition: transform .25s, opacity .25s; }

/* ---------------------------------------------------- шторка мобильного меню */
.drawer { position: fixed; inset: 0; z-index: 120; }
.drawer[hidden] { display: none; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.35); opacity: 0; transition: opacity .3s; }
.drawer__panel {
  position: absolute; top: 0; left: 0; bottom: 0; width: min(84vw, 360px);
  background: var(--bg-alt); padding: 24px 24px 32px;
  display: flex; flex-direction: column; gap: 24px;
  transform: translateX(-100%); transition: transform .3s ease;
  overflow-y: auto;
}
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__close { align-self: flex-end; font-size: 28px; line-height: 1; color: var(--text); }
.drawer__nav { display: flex; flex-direction: column; gap: 18px; }
.drawer__link {
  font-size: 20px; font-weight: 500; text-transform: uppercase; text-align: left;
  color: var(--text);
}
.drawer__foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.drawer__contact { text-decoration: underline; text-underline-offset: 3px; }
.drawer__socials { display: flex; gap: 14px; margin-top: 10px; }
.drawer__socials img { width: 24px; height: 24px; }

/* ------------------------------------------------------------- блоки страницы */
.blk { padding: 0 0 var(--sec-gap); }
.blk--hero-canvas, .blk--marquee, .blk--spacer, .blk--video-embed { padding: 0; }
.blk--breadcrumbs { padding: 11px 0 12px; }
.blk--page-title { padding: 30px 0 40px; }
.blk--product-card { padding-bottom: 160px; }
.blk--gallery { padding-bottom: 0; }
.blk--cta { padding: 70px 0; }
.blk--html { padding: 0 0 120px; }
/* на главной видео растянуто в край окна, как в оригинале (Zero-блок на всю ширину) */
body.page-index .blk--video-embed .container { max-width: none; padding: 0; }
body.page-index .blk--video-embed .vid { aspect-ratio: 1200 / 658; }
/* заголовок ленты — картинки начинаются на 39px ниже */
.blk--marquee .sec-head { margin-bottom: 39px; }
.blk--split .sec-head + .hairline { margin-top: 39px; }

.spacer { height: 40px; }
.spacer--S { height: 24px; }
.spacer--M { height: 40px; }
.spacer--L { height: 80px; }

/* ------------------------------------------------------------- hero-canvas */
.hero { position: relative; height: var(--hero-scroll, 300vh); background: var(--bg); }
.hero__track { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.hero__stage { position: relative; width: 100%; height: 100%; }
.hero__canvas, .hero__poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.hero__canvas { opacity: 0; transition: opacity .4s; }
.hero.is-ready .hero__canvas { opacity: 1; }
.hero.is-ready .hero__poster { opacity: 0; }
.hero__poster { transition: opacity .4s; }
.hero__overlay {
  position: absolute; left: 0; right: 0; bottom: 8%;
  color: var(--text); pointer-events: none;
}
.hero__title { font-size: 42px; font-weight: 600; line-height: 1.1; }
.hero__subtitle { margin-top: 10px; font-size: 16px; font-weight: 500; }

/* --------------------------------------------------------------- page-title */
.ptitle--center { text-align: center; }
.ptitle--center .ptitle__row { justify-content: center; }
.ptitle__row { display: flex; align-items: flex-start; gap: 12px; }
.ptitle__h { font-size: 40px; font-weight: 600; line-height: 1.2; }
.ptitle__count { font-size: 20px; font-weight: 600; line-height: 1.25; top: -.15em; }
.ptitle__sub { margin-top: 10px; font-size: 16px; font-weight: 400; color: var(--muted); }
.ptitle .hairline { margin-top: 29px; }
/* заголовки «/ …» идут без линии; на лукбуке он ещё и капслоком — как в оригинале */
.ptitle--slash .hairline { display: none; }
body.page-lookbook .ptitle__h { text-transform: uppercase; }
/* ссылка после такого заголовка встаёт справа от него, как в ленте лукбука */
.blk--page-title + .blk--cta { margin-top: -65px; padding: 0 0 47px; }
.blk--page-title + .blk--cta .cta { text-align: right; }

/* на «Контактах» текст-строка с мессенджерами стоит вплотную к колонкам ниже */
body.page-contacts .blk--text { padding-bottom: 20px; }

/* --------------------------------------------------------------------- text */
.txt--narrow { max-width: 720px; }
.txt--center { text-align: center; margin-left: auto; margin-right: auto; }
.txt--right { text-align: right; }
.txt__title { font-size: 30px; font-weight: 600; margin-bottom: 16px; }

/* ------------------------------------------------------------------ gallery */
.gal { display: grid; gap: var(--gal-gap, 20px); }
.gal--c1 { grid-template-columns: 1fr; }
.gal--c2 { grid-template-columns: repeat(2, 1fr); }
.gal--c3 { grid-template-columns: repeat(3, 1fr); }
.gal--c4 { grid-template-columns: repeat(4, 1fr); }
.gal:not(.gal--bleed) { margin-bottom: var(--sec-gap); }
.gal__it img { width: 100%; height: auto; }
.gal__it a { display: block; overflow: hidden; }
.gal__it a img { transition: transform .5s ease; }
.gal__it a:hover img { transform: scale(1.02); }
.gal__cap { margin-top: 8px; font-size: 12px; font-weight: 500; color: var(--muted); text-transform: uppercase; }
/* лукбук: ряды в край окна, кадры подрезаются по высоте ряда */
.gal--bleed { gap: 0; --gal-h: 900px; }
.gal--bleed .gal__it, .gal--bleed .gal__it a { height: var(--gal-h); overflow: hidden; }
.gal--bleed .gal__it img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------------------ marquee */
.mrq { overflow: hidden; padding: 0; }
.mrq__track {
  display: flex; gap: 3px; width: max-content;
  animation: mrq-left var(--mrq-speed, 26s) linear infinite;
}
.mrq--right .mrq__track { animation-name: mrq-right; }
.mrq:hover .mrq__track { animation-play-state: paused; }
.mrq__it { flex: 0 0 auto; }
.mrq__it img { height: var(--mrq-h, 650px); width: auto; object-fit: cover; }
@keyframes mrq-left  { from { transform: translate3d(0, 0, 0); }      to { transform: translate3d(-50%, 0, 0); } }
@keyframes mrq-right { from { transform: translate3d(-50%, 0, 0); }   to { transform: translate3d(0, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .mrq__track { animation: none; } }

/* --------------------------------------------------------------- сетка товаров */
.pgrid { display: grid; gap: 30px 9px; margin-top: 30px; }
.pgrid--c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pgrid--c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pgrid--c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pgrid--c5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* плитка: рамка вокруг фото и вокруг строки с ценой */
.ptile { display: block; }
.ptile__ph {
  position: relative; aspect-ratio: 293 / 430; background: var(--bg);
  border: 1px solid var(--text); overflow: hidden;
}
.ptile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ptile__img--hover { opacity: 0; transition: opacity .4s; }
.ptile:hover .ptile__img--hover { opacity: 1; }
.ptile__badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--text); color: var(--bg);
  font-size: 12px; font-weight: 600; text-transform: uppercase; padding: 4px 8px;
}
.ptile__out {
  position: absolute; inset: auto 0 0 0; z-index: 2; text-align: center;
  background: rgba(255,249,241,.9); font-size: 12px; font-weight: 600;
  text-transform: uppercase; padding: 6px;
}
.ptile__meta {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 54px; padding: 0 19px; border: 1px solid var(--text); border-top: 0;
}
.ptile__title { font-size: 16px; font-weight: 500; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ptile__price { font-size: 16px; font-weight: 600; white-space: nowrap; }

/* ------------------------------------------------------------- карточка товара */
.pcard { display: grid; grid-template-columns: 45% 50%; gap: 5%; align-items: start; }
.pcard__media, .pcard__info { min-width: 0; }
.pcard__main {
  position: relative; aspect-ratio: 540 / 700;
  background: var(--bg); border: 1px solid var(--text); overflow: hidden;
}
.pcard__main-img { width: 100%; height: 100%; object-fit: cover; }
.pcard__badge {
  position: absolute; top: 12px; left: 12px; background: var(--text); color: var(--bg);
  font-size: 12px; font-weight: 600; text-transform: uppercase; padding: 4px 8px;
}
.pcard__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 4px; }
.pcard__thumb {
  aspect-ratio: 105 / 140; border: 1px solid var(--text); overflow: hidden;
  transition: opacity .25s;
}
.pcard__thumb img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.pcard__thumb:hover { opacity: .8; }
.pcard__title { font-size: 42px; font-weight: 600; line-height: 1.21; text-transform: uppercase; }
.pcard__sku { margin-top: 8px; font-size: 14px; font-weight: 500; color: var(--label-2); text-transform: uppercase; line-height: 17px; }
.pcard__sku span { margin-right: 8px; }
.pcard__price { margin-top: 22px; font-size: 30px; font-weight: 500; line-height: 36px; }
.pcard__old { margin-left: 10px; font-size: 18px; }

/* группы вариантов: слева подпись, справа значения в строку */
.pcard__vars { margin-top: 26px; }
.pcard__var { display: flex; align-items: flex-start; margin-bottom: 14px; }
.pcard__var-label {
  flex: 0 0 109px; font-size: 14px; font-weight: 500; line-height: 27px;
  color: var(--label-2); text-transform: uppercase;
}
.pcard__var-opts { display: flex; flex-wrap: wrap; gap: 20px; }
.pcard__var-opts--sw { gap: 7px; }
.pvar { font-size: 16px; font-weight: 400; line-height: 27px; text-align: left; transition: opacity .2s; }
.pvar:not(.pvar--sw) .pvar__t { text-transform: uppercase; }
.pvar:hover { opacity: .6; }
.pvar.is-active .pvar__t { text-decoration: underline; text-underline-offset: 5px; }
.pvar--sw { display: flex; flex-direction: column; gap: 5px; line-height: 24px; }
.pvar__sw { display: block; width: 76px; height: 71px; overflow: hidden; background: var(--bg-alt); }
.pvar__sw img { width: 100%; height: 100%; object-fit: cover; }
.pcard__var.is-required .pcard__var-label { color: var(--alert); }
.pcard__chart {
  margin-left: auto; padding-left: 20px; font-size: 14px; font-weight: 500; line-height: 27px;
  color: var(--label-2); text-transform: uppercase; white-space: nowrap;
}
.pcard__buy { width: 100%; height: 60px; margin-top: 13px; padding: 0; }

/* разделы «описание / состав / уход / на модели» — раскрыты, списком */
.pcard__specs { margin-top: 23px; }
.pspec { padding: 21px 0 14px; border-bottom: 1px solid var(--rule); }
.pspec__t { font-size: 14px; font-weight: 600; line-height: 17px; color: var(--label); text-transform: uppercase; }
.pspec__b { margin-top: 8px; font-size: 16px; font-weight: 400; line-height: 24px; }
.pspec__b p { margin: 0; }
.blist { list-style: none; padding: 0; margin: 0; max-width: 524px; }
.blist__it { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 5px; }
.blist__it:last-child { margin-bottom: 0; }
.blist__mark { flex: 0 0 23px; width: 23px; height: 19px; object-fit: contain; margin-top: 3px; }

/* ---------------------------------------------------------------- аккордеон */
.acc { border-top: 1px solid var(--line); }
.acc__it { border-bottom: 1px solid var(--line); }
.acc__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 0; text-align: left;
  font-size: 14px; font-weight: 600; text-transform: uppercase;
}
.acc__sign { position: relative; flex: 0 0 12px; height: 12px; }
.acc__sign::before, .acc__sign::after {
  content: ''; position: absolute; left: 0; top: 50%; width: 12px; height: 1px; background: var(--text);
  transition: transform .25s;
}
.acc__sign::after { transform: rotate(90deg); }
.acc__it.is-open .acc__sign::after { transform: rotate(0deg); }
.acc__a { overflow: hidden; }
.acc__a-in { padding: 0 0 18px; font-size: 14px; font-weight: 400; }
/* без JS блоки просто раскрыты */
.has-js .acc__a { height: 0; transition: height .3s ease; }
.has-js .acc__it.is-open .acc__a { height: auto; }

/* -------------------------------------------------------------------- табы */
.tabs__head { font-size: 40px; font-weight: 600; margin-bottom: 24px; }
.tabs__btns { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 32px; }
.tabs__btn {
  width: 300px; height: 55px; padding: 0 10px; border: 1px solid #bdbdbd;
  font-size: 14px; font-weight: 600; text-transform: uppercase;
  transition: background-color .25s, color .25s;
}
.tabs__btn + .tabs__btn { margin-left: -1px; }
.tabs__btn.is-active { background: var(--dark); color: var(--bg); border-color: var(--dark); }
/* текст вкладок в оригинале разложен в две колонки */
.tabs__panel .rich { column-count: 2; column-gap: 65px; }
/* ритм оригинала: подзаголовок 14px почти вплотную к своему абзацу,
   между смысловыми кусками — 44px */
.tabs__panel .rich p { break-inside: avoid; margin-bottom: 44px; }
.tabs__panel .rich p:last-child { margin-bottom: 0; }
.tabs__panel .rich p:has(> strong:only-child) { margin-bottom: 6px; }
.tabs__panel .rich strong { font-size: 14px; font-weight: 500; text-transform: uppercase; }
.tabs__panel .rich ul { break-inside: avoid; }

/* «Покупателям»: кнопки вкладок стоят в одной строке с заголовком */
body.page-to_customers .blk--page-title { padding: 20px 0 0; }
body.page-to_customers .ptitle .hairline { margin-top: 43px; }
body.page-to_customers .blk--tabs { margin-top: -93px; }
body.page-to_customers .tabs__btns { justify-content: flex-end; margin-bottom: 116px; }
.has-js .tabs__panel { display: none; }
.has-js .tabs__panel.is-active { display: block; }

/* ---------------------------------------------------------------- колонки */
.cols { display: grid; gap: 40px 30px; }
.cols--c2 { grid-template-columns: repeat(2, 1fr); }
.cols--c3 { grid-template-columns: repeat(3, 1fr); }
.cols--c4 { grid-template-columns: repeat(4, 1fr); }
.cols__icon { width: 40px; height: 40px; object-fit: contain; margin-bottom: 14px; }
.cols__icon--txt { display: block; font-size: 28px; margin-bottom: 10px; }
.cols__title { font-size: 14px; font-weight: 500; text-transform: uppercase; color: var(--label-2); margin-bottom: 8px; }
.cols__text { font-size: 16px; font-weight: 400; }

/* ------------------------------------------------------------------ крошки */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; color: var(--crumb); line-height: 17px; }
.crumbs__it--cur { color: var(--crumb); }
.crumbs a:hover { color: var(--text); }
.crumbs__sep { color: var(--crumb); }

/* ---------------------------------------------------------------- контакты */
/* колонки ровно по половине сетки: правая начинается на 600px, как в оригинале */
.cnt { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 0; row-gap: 36px; padding-top: 20px; }
.cnt__label { font-size: 14px; font-weight: 500; line-height: 22px; text-transform: uppercase; color: #898989; }
.cnt__val { display: inline-block; margin-top: 5px; font-size: 30px; font-weight: 600; line-height: 34px; }
.cnt__val--sm { font-size: 20px; line-height: 28px; }
a.cnt__val:hover { opacity: .7; }
.cnt__req { margin-top: 62px; }
.cnt__req-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 0; margin-top: 0; }
.cnt__req-col { max-width: 472px; font-size: 14px; font-weight: 500; line-height: 22px; text-transform: uppercase; }
.cnt__req-col p { margin: 0; }
.cnt__map { margin-top: 40px; }
.cnt__map iframe { width: 100%; min-height: 380px; }

/* ------------------------------------------------------------- юр. документы */
.legal { max-width: 900px; }
.legal__title { font-size: 30px; font-weight: 600; margin-bottom: 8px; }
.legal__date { font-size: 12px; color: var(--muted); margin-bottom: 24px; text-transform: uppercase; }
.legal__body { font-size: 16px; font-weight: 400; line-height: 1.55; }
/* в оригинале это один сплошной текст: абзацы разделены пустой строкой (25px),
   а списки идут вплотную — своих отступов у ul/li нет */
.legal__body p { margin: 0 0 25px; }
.legal__body p:last-child { margin-bottom: 0; }
.legal__body ul, .legal__body ol { margin: 0; padding-left: 20px; }
.legal__body li { margin-bottom: 0; }

/* -------------------------------------------------------------------- видео */
.vid { position: relative; width: 100%; aspect-ratio: var(--vid-ratio, 16 / 9); background: #000; }
.vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------------------------------------------------------------------- cta */
.cta { text-align: center; }
.cta--left { text-align: left; }
.cta--right { text-align: right; }
.cta__link { font-size: 14px; font-weight: 600; text-transform: uppercase; }

/* -------------------------------------------------------------------- футер */
.ftr { background: var(--bg); margin-top: var(--sec-gap); }
.ftr__in { max-width: calc(var(--container) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.ftr__top { display: grid; grid-template-columns: 40.8% 1fr; padding-top: 41px; }
.ftr__logo img { width: 367px; max-width: 100%; height: auto; }
.ftr__sub { margin-top: 116px; }
.ftr__sub-title { font-size: 16px; font-weight: 600; text-transform: uppercase; margin-bottom: 20px; }
.ftr__sub-row { display: flex; align-items: stretch; gap: 21px; }
.ftr__sub-row input {
  flex: 0 1 225px; min-width: 0; height: 50px; padding: 0 2px;
  border: 0; border-bottom: 1px solid #000; background: transparent;
  font: inherit; font-size: 14px; font-weight: 500; color: #000;
}
.ftr__sub-row input::placeholder { color: #767676; }
.ftr__sub-row button {
  flex: 0 0 199px; height: 50px; background: var(--dark); color: var(--bg);
  font-size: 14px; font-weight: 600; text-transform: uppercase;
}
.ftr__sub-msg { margin-top: 10px; font-size: 12px; color: var(--muted); }
.ftr__cols { display: grid; grid-template-columns: 41% 37.5% auto; padding-top: 7px; }
.ftr__col-title { font-size: 14px; font-weight: 600; text-transform: uppercase; line-height: 17px; margin-bottom: 30px; white-space: nowrap; }
.ftr__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.ftr__list a, .ftr__list span {
  font-size: 14px; font-weight: 600; line-height: 17px; color: var(--muted); text-transform: uppercase;
}
.ftr__list a:hover { color: var(--text); }

/* нижняя синяя полоса */
.ftr__bar { margin-top: 50px; background: var(--accent); border-top: 1px solid #d9d9d9; }
.ftr__bar-in {
  max-width: calc(var(--container) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad);
  min-height: 60px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
  color: var(--bg);
}
.ftr__legal { display: flex; flex-wrap: wrap; gap: 31px; }
.ftr__legal a { font-size: 12px; font-weight: 600; text-transform: uppercase; }
.ftr__legal a:hover { opacity: .75; }
.ftr__copy { font-size: 14px; font-weight: 500; white-space: nowrap; }
.ftr__socials { display: flex; justify-content: flex-end; gap: 28px; }
.ftr__socials img { width: 20px; height: 20px; object-fit: contain; }
.soc-svg { width: 20px; height: 20px; fill: none; stroke: var(--bg); stroke-width: 1.6; }
.soc-svg__dot, .soc-svg__fill { fill: var(--bg); stroke: none; }

/* ------------------------------------------------------------ корзина (заглушка) */
.cart { position: fixed; inset: 0; z-index: 130; }
.cart[hidden] { display: none; }
.cart__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.35); opacity: 0; transition: opacity .3s; }
.cart__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(92vw, 420px);
  background: var(--bg-alt); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .3s ease;
}
.cart.is-open .cart__overlay { opacity: 1; }
.cart.is-open .cart__panel { transform: translateX(0); }
.cart__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; border-bottom: 1px solid var(--line);
  font-size: 14px; font-weight: 600; text-transform: uppercase;
}
.cart__close { font-size: 26px; line-height: 1; }
.cart__body { flex: 1 1 auto; overflow-y: auto; padding: 16px 24px; }
.cart__empty { color: var(--muted); font-size: 14px; padding: 20px 0; }
.cart__it { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart__it img { width: 64px; height: 84px; object-fit: cover; }
.cart__it-title { font-size: 13px; font-weight: 600; text-transform: uppercase; }
.cart__it-sub { font-size: 12px; color: var(--muted); }
.cart__it-del { font-size: 18px; color: var(--muted); }
.cart__foot { padding: 20px 24px; border-top: 1px solid var(--line); }
.cart__total { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; text-transform: uppercase; margin-bottom: 14px; }
.cart__checkout { width: 100%; }
.cart__note { margin-top: 10px; font-size: 12px; color: var(--muted); text-align: center; }

/* ==========================================================================
   split — секция «видео/фото слева, текст с плитками справа»
   ========================================================================== */
.split { display: grid; grid-template-columns: 595fr 595fr; gap: 10px; align-items: start; margin-top: 30px; }
.split__media {
  position: relative; width: 100%;
  aspect-ratio: var(--split-ratio, 595 / 699);
  background: var(--bg); border: 1px solid var(--text); overflow: hidden;
}
.split__media iframe, .split__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0;
}
.split--bleed { grid-template-columns: 1fr 1fr; gap: 0; margin-top: 0; }
.split--bleed .split__media { aspect-ratio: auto; height: var(--split-h, 900px); border: 0; }

/* «перейти к коллекции» на лукбуке — плавающая ссылка поверх галереи, как в оригинале */
body.page-lookbook .blk--cta { position: fixed; left: 0; right: 0; bottom: 46px; z-index: 60; padding: 0; pointer-events: none; }
body.page-lookbook .blk--cta .cta__link, body.page-lookbook .blk--cta a { color: var(--accent); pointer-events: auto; }

/* в оригинале тексты сдвинуты на внутренний отступ плитки (20px), между блоками 40px,
   а первый текст стоит на 30px выше плиток */
.split__side { display: flex; flex-direction: column; gap: 40px; }
.split__side > .split__text:first-child { margin-bottom: -10px; }
.split__text { max-width: 480px; padding-left: 20px; font-size: 15px; font-weight: 500; line-height: 1.2; text-transform: uppercase; }
.split__text p { margin: 0 0 1em; }
.split__text p:last-child { margin-bottom: 0; }
.split__tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.split__cta { padding-left: 20px; font-size: 14px; font-weight: 600; text-transform: uppercase; }
.split__cta .link-u { text-underline-offset: 4px; }

/* ========================================================== адаптив 1200 */
@media (max-width: 1200px) {
  :root { --sec-gap: 64px; }
  .hdr__nav { gap: 40px; }
  .hdr__nav--right { gap: 40px; }
  .gal--bleed { --gal-h: 720px; }
  .ftr__sub { margin-top: 60px; }
}

/* ============================================================ адаптив 960 */
@media (max-width: 960px) {
  :root { --hdr-h: 80px; --pad: 20px; --sec-gap: 56px; }
  .sec-head__title, .ptitle__h, .tabs__head { font-size: 32px; }
  .hero__title { font-size: 32px; }
  .gal--c4 { grid-template-columns: repeat(3, 1fr); }
  .gal--bleed { --gal-h: 560px; }
  .pgrid--c4, .pgrid--c5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cols--c4 { grid-template-columns: repeat(2, 1fr); }
  .pcard { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .pcard__title { font-size: 32px; }
  .blk--product-card { padding-bottom: 80px; }
  .ftr__top { grid-template-columns: 1fr; }
  .ftr__cols { padding-top: 40px; }
  .mrq__it img { height: 460px; }
}

/* ============================================================ адаптив 640 */
@media (max-width: 640px) {
  :root { --hdr-h: 54px; --hdr-sticky: 54px; --pad: 16px; --sec-gap: 44px; }
  body { font-size: 13px; }
  body.page-index { --hdr-h: 54px; }
  .hdr__in { grid-template-columns: auto 1fr auto; }
  .hdr__burger { display: flex; color: var(--text); }
  body.page-index .hdr__burger, .hdr.is-scrolled .hdr__burger { color: var(--accent); }
  .hdr__nav--left { display: none; }
  .hdr__nav--right .hdr__link:not(.hdr__cart) { display: none; }
  .hdr__logo { justify-self: center; }
  .hdr__logo-img { width: 110px; }
  .hdr__logo-img--accent { width: 110px; }
  .drawer__link { font-size: 18px; }

  .sec-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .sec-head__extra { padding-top: 0; }
  .sec-head + .hairline { margin-top: 16px; }
  .sec-head__title, .ptitle__h, .tabs__head { font-size: 26px; }
  .sec-head__count, .ptitle__count { font-size: 15px; }
  .ptitle .hairline { margin-top: 16px; }
  .blk--page-title { padding: 20px 0 24px; }
  .txt__title, .legal__title { font-size: 22px; }
  .rich { font-size: 15px; }

  .gal--c3, .gal--c4 { grid-template-columns: repeat(2, 1fr); }
  .gal--bleed { --gal-h: 360px; }
  .pgrid { gap: 20px 8px; }
  .pgrid--c3, .pgrid--c4, .pgrid--c5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ptile__meta {
    height: 56px; padding: 6px 10px; gap: 2px;
    flex-direction: column; align-items: flex-start; justify-content: center;
  }
  .ptile__title { font-size: 12px; line-height: 15px; white-space: normal; overflow: visible; }
  .ptile__price { font-size: 13px; }
  .cols--c2, .cols--c3, .cols--c4 { grid-template-columns: 1fr; }
  .cnt { grid-template-columns: 1fr; row-gap: 24px; }
  .cnt__val { font-size: 22px; line-height: 26px; }
  .cnt__req { margin-top: 36px; }
  .cnt__req-cols { grid-template-columns: 1fr; row-gap: 20px; }

  .pcard__title { font-size: 26px; }
  .pcard__price { font-size: 24px; line-height: 30px; }
  .pcard__var { flex-wrap: wrap; }
  .pcard__var-label { flex-basis: 100px; }
  .pcard__chart { margin-left: 0; padding-left: 100px; flex-basis: 100%; }
  .pcard__thumbs { grid-template-columns: repeat(4, 1fr); }
  .pcard__buy { height: 52px; }
  .mrq__it img { height: 350px; }
  .ftr__top { padding-top: 28px; }
  .ftr__logo img { width: 260px; }
  .ftr__sub { margin-top: 36px; }
  .ftr__sub-row { flex-direction: column; gap: 12px; align-items: stretch; }
  .ftr__sub-row input, .ftr__sub-row button { flex: 0 0 auto; width: 100%; }
  .ftr__cols { grid-template-columns: repeat(2, 1fr); gap: 24px; padding-top: 32px; }
  .ftr__bar-in { grid-template-columns: 1fr; justify-items: center; gap: 12px; padding-top: 16px; padding-bottom: 16px; text-align: center; }
  .ftr__legal { justify-content: center; gap: 16px; }
  .ftr__socials { justify-content: center; }

  /* hero: без пина — статичный кадр или короткий автоплей */
  .hero { height: auto; }
  .hero__track { position: static; height: auto; }
  .hero__stage { aspect-ratio: 16 / 9; }
  .hero__title { font-size: 26px; }
}

/* ============================================================ адаптив 480 */
@media (max-width: 480px) {
  :root { --sec-gap: 36px; }
  .gal--c2, .gal--c3, .gal--c4 { grid-template-columns: 1fr; }
  .gal--bleed.gal--c2, .gal--bleed.gal--c3 { grid-template-columns: repeat(2, 1fr); }
  .gal--bleed { --gal-h: 300px; }
  .pgrid--c2, .pgrid--c3, .pgrid--c4, .pgrid--c5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr__cols { grid-template-columns: 1fr; }
  .mrq__it img { height: 260px; }
  .tabs__btn { flex: 1 1 auto; padding: 10px 14px; font-size: 12px; }
  .pvar__sw { width: 64px; height: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

@media (max-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; }
  .tabs__panel .rich { column-count: 1; }
  body.page-to_customers .blk--page-title { padding: 30px 0 40px; }
  body.page-to_customers .ptitle .hairline { margin-top: 29px; }
  body.page-to_customers .blk--tabs { margin-top: 0; }
  body.page-to_customers .tabs__btns { justify-content: flex-start; margin-bottom: 32px; }
}
@media (max-width: 640px) {
  .blk--page-title + .blk--cta { margin-top: -34px; padding: 0 0 28px; }
  .split { grid-template-columns: 1fr; gap: 20px; margin-top: 20px; }
  .split__media { aspect-ratio: var(--split-ratio-m, 3 / 4); }
  .split__side { gap: 20px; }
}
