/* LIA GUREEVA — онлайн-бутик. Палитра черновика дизайнера (Тильда): пудра #E8D9D2, бордо #641C34, текст #161616.
   Шрифты: Montserrat (OFL) — свободная замена Century Gothic из черновика (тот — версия из MS Office, на сайт нельзя);
   Cormorant Garamond Italic (OFL) — буквица и цитата «О нас», как в письме редактора. Радиус — 0, тени почти нет, один акцент — бордо. */

@font-face { font-family: "LG Sans"; src: url("../fonts/montserrat-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "LG Sans"; src: url("../fonts/montserrat-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "LG Sans"; src: url("../fonts/montserrat-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "LG Serif"; src: url("../fonts/cormorant-italic-400.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "LG Serif"; src: url("../fonts/cormorant-italic-500.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
/* Playfair Display Italic 700 (OFL), только заглавные — буквица цитаты */
@font-face { font-family: "LG Display"; src: url("../fonts/playfair-italic-700.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }

:root {
  --powder: #e8d9d2;
  --powder-soft: #f1e6e0;
  --paper: #fbf8f6;
  --ink: #161616;
  --muted: #5b4d49;
  --faint: #8a7b77;
  --line: rgba(22, 22, 22, 0.13);
  --line-wine: rgba(100, 28, 52, 0.28);
  --wine: #641c34;
  --wine-soft: #8f3a57;
  --wine-deep: #4b1226;
  --photo-bg: #e9e7e5;
  --ok: #2f6b4f;
  --danger: #a1282f;
  --font: "LG Sans", Montserrat, "Century Gothic", "Trebuchet MS", sans-serif;
  --serif: "LG Serif", "Cormorant Garamond", Georgia, serif;
  --display: "LG Display", "Playfair Display", "Bodoni 72", Didot, Georgia, serif;
  --gutter: clamp(16px, 4vw, 48px);
  --wrap: 1320px;
  --hdr: 116px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 12px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-weight: 300; line-height: 1.1; }
p { margin: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; text-decoration: none; }
.skip:focus { top: 12px; }
.nobr { white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--text { max-width: calc(760px + 2 * var(--gutter)); }
.wrap--wide { max-width: calc(1100px + 2 * var(--gutter)); }

/* ——— логотип клиента маской на перелив «чернила ↔ бордо», 7 с ——— */
.logo {
  display: block; width: 100%; aspect-ratio: 188 / 47;
  background: linear-gradient(105deg, var(--ink) 0%, var(--ink) 18%, var(--wine) 50%, var(--ink) 82%, var(--ink) 100%);
  background-size: 220% 100%;
  -webkit-mask: url("../img/logo-readable-20261016.svg") center / contain no-repeat; mask: url("../img/logo-readable-20261016.svg") center / contain no-repeat;
  animation: brand-flow 7s ease-in-out infinite;
}
@keyframes brand-flow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ——— кнопки, ссылки, мелочи ——— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 28px;
  border: 1px solid var(--ink); background: transparent; color: var(--ink); text-decoration: none; text-transform: uppercase;
  font-size: 13px; font-weight: 500; letter-spacing: 0.14em; line-height: 1.2; text-align: center;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { background: var(--ink); color: #fff; }
.btn--primary { border-color: var(--wine); background: var(--wine); color: #fff; }
.btn--primary:hover { border-color: var(--wine-deep); background: var(--wine-deep); }
.btn--ghost { border-color: var(--line-wine); color: var(--wine); }
.btn--ghost:hover { border-color: var(--wine); background: var(--wine); color: #fff; }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: inherit; text-decoration: none; }
.icon-btn svg { width: 24px; height: 24px; }
.icon-btn--box { width: 46px; height: 46px; border: 1px solid var(--ink); transition: background-color 0.2s, color 0.2s; }
.icon-btn--box:hover { background: var(--ink); color: #fff; }
.icon-btn--box[disabled] { opacity: 0.3; cursor: default; background: none; color: inherit; }
.count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--wine); color: #fff; font-size: 11px; font-weight: 500; line-height: 18px; text-align: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; color: var(--wine); text-decoration: none; text-transform: uppercase; font-size: 13px; font-weight: 500; letter-spacing: 0.14em; }
.link-arrow::after { content: ""; width: 28px; height: 1px; background: currentColor; transition: width 0.3s var(--ease); }
.link-arrow:hover::after { width: 44px; }
.link-arrow--back { flex-direction: row-reverse; }
.eyebrow { margin-bottom: 14px; color: var(--wine); font-size: 13px; letter-spacing: 0.3em; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 22px 0 0; color: var(--faint); font-size: 12px; letter-spacing: 0.04em; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--wine); }
.crumbs__sep { opacity: 0.6; }
.page-head { padding: clamp(22px, 4vw, 44px) 0 clamp(22px, 3vw, 34px); }
.page-head--center { text-align: center; }
.page-title { color: var(--wine); font-size: clamp(32px, 3.6vw, 52px); font-weight: 300; letter-spacing: -0.02em; line-height: 1.05; }
.page-lead { max-width: 46em; margin-top: 16px; color: var(--muted); font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; }
.page-head--center .page-lead { margin-inline: auto; }
.section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-bottom: clamp(20px, 3vw, 34px); }
.section-head--center { flex-direction: column; justify-content: center; }
.section-title { color: var(--wine); font-size: clamp(30px, 3.2vw, 44px); font-weight: 300; letter-spacing: -0.02em; }
.empty { display: grid; justify-items: start; gap: 18px; padding: 32px 0 64px; color: var(--muted); font-size: 17px; }
.nophoto { display: block; width: 100%; height: 100%; min-height: 120px; background: var(--photo-bg) linear-gradient(135deg, transparent 49.5%, rgba(22, 22, 22, 0.06) 50%, transparent 50.5%); }
.nophoto--big { aspect-ratio: 3 / 4; }

/* ——— шапка: слева «Контакты», логотип по центру, справа поиск · избранное · корзина; меню второй строкой ——— */
.hdr { position: sticky; top: 0; z-index: 40; background: var(--powder); transition: box-shadow 0.3s; }
.hdr.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.hdr__bar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; max-width: calc(var(--wrap) + 2 * var(--gutter)); height: 72px; margin: 0 auto; padding: 0 var(--gutter); }
.hdr__left { display: flex; align-items: center; gap: 8px; }
.hdr__right { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.hdr__burger { display: none; margin-left: -10px; }
.hdr__contacts { font-size: 15px; text-decoration: none; }
.hdr__contacts:hover { color: var(--wine); }
.hdr__logo { display: block; width: 210px; }
.hdr__nav { border-top: 1px solid rgba(22, 22, 22, 0.07); }
.hdr__nav-head, .hdr__nav-foot, .hdr__menu-extra { display: none; }
.hdr__menu { display: flex; justify-content: center; gap: clamp(18px, 2.4vw, 40px); margin: 0; padding: 0; list-style: none; }
.hdr__menu a { display: block; padding: 13px 0 12px; text-decoration: none; text-transform: uppercase; font-size: 13px; letter-spacing: 0.12em; background: linear-gradient(var(--wine), var(--wine)) 0 calc(100% - 9px) / 0 1px no-repeat; transition: background-size 0.3s var(--ease), color 0.2s; }
.hdr__menu a:hover, .hdr__menu a[aria-current="page"] { color: var(--wine); background-size: 100% 1px; }
.hdr__scrim { position: fixed; inset: 0; z-index: 49; background: rgba(22, 22, 22, 0.35); }

/* ——— главная: баннеры разделов во всю ширину (как в черновике) ——— */
.banners { display: block; }
.banner { position: relative; display: flex; align-items: center; min-height: clamp(440px, 58vw, 780px); overflow: hidden; color: var(--wine); text-decoration: none; isolation: isolate; }
.banner__img, .banner .nophoto { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.banner:hover .banner__img { transform: scale(1.025); }
.banner__text { display: grid; justify-items: center; gap: 6px; width: 50%; padding: 0 var(--gutter); text-align: center; text-shadow: 0 0 36px rgba(255, 255, 255, 0.55), 0 0 2px rgba(255, 255, 255, 0.4); }
.banner--right .banner__text { margin-left: 50%; }
.banner__title { font-size: clamp(40px, 5.2vw, 82px); font-weight: 300; letter-spacing: -0.02em; line-height: 1; }
.banner__sub { color: #3b3533; font-size: clamp(17px, 1.7vw, 26px); font-weight: 300; }
.banner__cta { margin-top: 18px; padding-bottom: 4px; border-bottom: 1px solid currentColor; text-transform: uppercase; font-size: 12px; font-weight: 500; letter-spacing: 0.2em; opacity: 0; transform: translateY(6px); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.banner:hover .banner__cta, .banner:focus-visible .banner__cta { opacity: 1; transform: none; }

/* Scroll story: every new photograph rises over the previous full-height frame. */
.home-banners { --story-top: var(--hdr); position:relative; }
.home-banners .banner {
  position:sticky; top:var(--story-top); height:max(400px, calc(100svh - var(--story-top)));
  min-height:0; background:var(--photo-bg);
}
.home-banners .banner::before { content:""; position:absolute; inset:0; z-index:0; pointer-events:none; background:#000; opacity:var(--slide-shade,0); }
.home-banners .banner__text { position:relative; z-index:1; }
.home-banners .banner__img { transition:none; object-position:var(--banner-focus, 50% 40%); }
.home-banners .banner[data-category="accessories"] .banner__img { object-position:65% 0%; }
.home-banners .banner:hover .banner__img { transform:none; }
.home-banners .banner__cta { opacity:1; transform:none; }
/* Full-width status photograph; keep the model in view on narrow screens. */
.home-banners .banner[data-category="status"] .banner__img { object-position:80% 45%; }
@media (max-width:1000px) {
  .home-banners .banner[data-category="status"] { align-items:flex-end; }
  .home-banners .banner[data-category="status"] .banner__text { width:100%; margin:0; padding:0 var(--gutter) 34px; }
  .home-banners .banner[data-category="status"]::after { content:""; position:absolute; inset:auto 0 0; z-index:-1; height:40%; background:linear-gradient(to top,rgba(251,248,246,.94),rgba(251,248,246,0)); }
}
/* Keep the mirrored model and her hat in view when the wide seascape is cropped. */
@media (max-width: 1000px) {
  .home-banners .banner[data-category="everyday"] { align-items:flex-end; }
  .home-banners .banner[data-category="everyday"] .banner__img { object-position:25% 10%; }
  .home-banners .banner[data-category="everyday"] .banner__text { width:100%; margin:0; padding:0 var(--gutter) 34px; }
  .home-banners .banner[data-category="everyday"]::after { content:""; position:absolute; inset:auto 0 0; z-index:-1; height:55%; background:linear-gradient(to top, rgba(251,248,246,.92), rgba(251,248,246,0)); }
}
@media (prefers-reduced-motion:reduce) {
  .home-banners .banner { position:relative; top:auto; }
  .home-banners .banner::before { display:none; }
}

/* ——— новинки: лента с прокруткой ——— */
.novelties__header { display:flex; align-items:center; justify-content:center; gap:12px; margin-bottom:24px; }
.product-recommendations .novelties__header .section-title { color:var(--ink); font-size:28px; font-weight:400; }
.product-recommendations .novelties__arrow { flex-shrink:0; color:var(--paper); }
.product-recommendations .novelties__arrow::before { content:""; position:absolute; inset:8px; border-radius:50%; background:var(--ink); transition:background .2s; }
.product-recommendations .novelties__arrow svg { position:relative; width:16px; height:16px; }
.product-recommendations .novelties__arrow:hover::before { background:var(--wine); }
.product-recommendations .novelties__arrow:disabled { opacity:.25; cursor:default; }
.slider-nav { display: flex; gap: 8px; }
.slider { overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory; scrollbar-width:none; padding-inline:24px; scroll-padding-inline:24px; cursor:grab; }
.slider.is-dragging { cursor:grabbing; scroll-snap-type:none; user-select:none; }
.slider::-webkit-scrollbar { display: none; }
.slider__track { display:grid; grid-auto-flow:column; grid-auto-columns:280px; gap:24px; width:max-content; margin-inline:auto; }
.slider__track > * { scroll-snap-align: start; }

.novelties { padding-block:clamp(44px, 7vw, 100px); background:#f4edeb; }
.novelties > .novelties__header { justify-content:space-between; align-items:baseline; margin-bottom:clamp(22px, 3vw, 42px); }
.novelties .section-title { color:var(--wine); font:italic 400 clamp(45px, 6vw, 92px)/.92 var(--serif); letter-spacing:-.025em; }
.novelties__link { display:inline-flex; align-items:center; gap:10px; min-height:44px; color:var(--wine); font-size:clamp(13px, 1.3vw, 17px); text-decoration:none; white-space:nowrap; }
.novelties__link:hover { text-decoration:underline; text-underline-offset:.25em; }
.novelties__link svg { width:19px; height:19px; flex:none; }
.novelties .slider { margin-inline:-4px; padding:4px; scroll-padding-inline:4px; }
.novelties .slider__track { --slide-width:clamp(240px, 29vw, 390px); grid-auto-columns:var(--slide-width); gap:clamp(14px, 1.8vw, 26px); margin-inline:0; }
.novelties .pcard { gap:clamp(10px, 1.1vw, 16px); }
.novelties .pcard__img { object-fit:contain; }
.novelties .pcard:hover .pcard__img:not(.pcard__img--alt):only-of-type { transform:none; }
.novelties .pcard__kind { display:none; }
.novelties .pcard__name { font:italic 500 clamp(22px, 2.25vw, 32px)/1.1 var(--serif); }
.novelties .pcard__price { margin:0; }
.novelties .pcard__price .price { font-size:15px; }
.novelties .pcard__fav { display:grid; top:9px; right:9px; width:44px; height:44px; border-radius:50%; background:var(--paper); }
.novelties__controls { display:flex; align-items:center; gap:clamp(18px, 4vw, 54px); margin-top:clamp(16px, 2.4vw, 34px); }
.novelties__controls[hidden] { display:none; }
.novelties__progress { flex:1; height:3px; border-radius:3px; background:#dbcacb; overflow:hidden; }
.novelties__progress span { display:block; width:var(--slider-visible, 100%); margin-left:var(--slider-offset, 0%); height:100%; background:var(--wine); }
.novelties .novelties__arrow { flex:none; width:46px; height:46px; border-radius:50%; background:var(--paper); color:var(--wine); transition:background .2s, color .2s; }
.novelties .novelties__arrow svg { width:21px; height:21px; }
.novelties .novelties__arrow:not([aria-disabled="true"]):hover { background:var(--wine); color:white; }
.novelties .novelties__arrow[aria-disabled="true"] { color:var(--muted); opacity:.48; cursor:default; }
.novelties__autoplay[hidden], .novelties__play-icon, .novelties__autoplay.is-paused .novelties__pause-icon { display:none; }
.novelties__autoplay.is-paused .novelties__play-icon { display:inline; }
@media (max-width:960px) { .novelties .slider__track { --slide-width:43vw; } }
@media (max-width:600px) { .novelties .slider__track { --slide-width:76vw; } }

/* ——— цитата и шоурум на главной ——— */
.manifest { padding: clamp(64px, 9vw, 128px) 0; text-align: center; }
.manifest__inner { display: grid; justify-items: center; gap: 18px; }
.manifest__quote { max-width: 22em; color: var(--wine); font: italic 400 clamp(28px, 3.4vw, 48px)/1.18 var(--serif); }
.manifest__author { color: var(--muted); font-size: 13px; letter-spacing: 0.24em; text-transform: lowercase; }
.showroom { border-top: 1px solid var(--line); }
.showroom__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(24px, 6vw, 96px); align-items: end; padding-block: clamp(48px, 6vw, 88px); }
.showroom__title { color: var(--wine); font-size: clamp(30px, 3.2vw, 46px); letter-spacing: -0.02em; }
.showroom__info { display: grid; gap: 14px; font-size: 17px; }
.showroom__phone { font-size: clamp(22px, 2vw, 28px); text-decoration: none; }
.showroom__phone:hover { color: var(--wine); }
.showroom__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ——— карточка товара ——— */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(12px, 1.6vw, 22px); padding-bottom: clamp(56px, 7vw, 104px); }
.pgrid--4 { padding-bottom: 0; }
.pcard { position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pcard[hidden] { display: none; }
.pcard__media { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--photo-bg); }
.pcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.45s var(--ease), transform 1.2s var(--ease); }
.pcard__img--alt { opacity: 0; }
.pcard:hover .pcard__img--alt { opacity: 1; }
.pcard:hover .pcard__img:not(.pcard__img--alt):only-of-type { transform: scale(1.03); }
.pcard__badges { position: absolute; left: 10px; top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.badge { padding: 5px 9px; background: rgba(255, 255, 255, 0.92); color: var(--ink); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.2; }
.badge--new { background: var(--wine); color: #fff; }
.badge--off { background: rgba(22, 22, 22, 0.75); color: #fff; }
.fav { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; background: none; color: var(--ink); transition: color 0.2s, transform 0.2s; }
.fav svg { grid-area: 1 / 1; width: 22px; height: 22px; fill: currentColor; }
.fav .fav__on { opacity: 0; transform: scale(0.6); transition: opacity 0.2s, transform 0.25s var(--ease); }
.fav[aria-pressed="true"] { color: var(--wine); }
.fav[aria-pressed="true"] .fav__on { opacity: 1; transform: none; }
.fav:active { transform: scale(0.92); }
.pcard__fav { position: absolute; top: 4px; right: 4px; color: var(--ink); background: rgba(255, 255, 255, 0.0); }
.pcard__fav:hover { color: var(--wine); }
.pcard__body { display: grid; gap: 4px; }
.pcard__kind { color: var(--faint); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.pcard__name { font-size: 15px; font-weight: 400; line-height: 1.35; }
.pcard__name a { text-decoration: none; }
.pcard__name a:hover { color: var(--wine); }
.pcard__price { margin-top: 2px; }
.price { font-size: 15px; font-weight: 500; letter-spacing: 0.01em; white-space: nowrap; }
.price--big { font-size: clamp(22px, 2vw, 26px); font-weight: 400; }
.price--ask { color: var(--muted); font-weight: 400; }
.price__old { margin-left: 10px; color: var(--faint); font-size: 0.86em; font-weight: 400; }

/* ——— каталог ——— */
.catalog { padding-bottom: 8px; }
.cat-hero { position: relative; height: clamp(220px, 30vw, 420px); overflow: hidden; background: var(--photo-bg); }
.cat-hero img { width: 100%; height: 100%; object-fit: cover; }
.ctools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-bottom: clamp(24px, 3vw, 36px); padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.chip { padding: 6px 0; color: var(--muted); text-decoration: none; text-transform: uppercase; font-size: 13px; letter-spacing: 0.1em; border-bottom: 1px solid transparent; }
.chip:hover { color: var(--wine); }
.chip.is-active { color: var(--wine); border-bottom-color: var(--wine); }
.ctools__filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.ctools__count { color: var(--faint); font-size: 13px; }
.select { position: relative; display: inline-block; }
.select select { appearance: none; min-height: 40px; padding: 0 34px 0 12px; border: 1px solid var(--line); border-radius: 0; background: transparent; font-size: 13px; }
.select::after { content: ""; position: absolute; right: 12px; top: 50%; width: 7px; height: 7px; border-right: 1px solid; border-bottom: 1px solid; transform: translateY(-70%) rotate(45deg); pointer-events: none; }

/* ——— товар ——— */
.product { padding-bottom: clamp(56px, 7vw, 104px); }
.product__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4.5vw, 72px); align-items: start; padding-top: clamp(20px, 3vw, 36px); }
.gallery { display: grid; gap: 12px; min-width: 0; }
.gallery__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--photo-bg); }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { margin: 0; aspect-ratio: 3 / 4; scroll-snap-align: start; overflow: hidden; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.gallery__thumb { flex: 0 0 72px; aspect-ratio: 3 / 4; padding: 0; border: 1px solid transparent; background: var(--photo-bg); opacity: 0.65; transition: opacity 0.2s, border-color 0.2s; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active, .gallery__thumb:hover { border-color: var(--ink); opacity: 1; }
.product__info { position: sticky; top: calc(var(--hdr) + 20px); display: grid; gap: 16px; min-width: 0; }
.product__kind { color: var(--faint); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.product__name { color: var(--wine); font-size: clamp(28px, 2.8vw, 40px); font-weight: 300; letter-spacing: -0.02em; line-height: 1.1; }
.product__status { color: var(--ok); font-size: 14px; }
.product__status--order { color: var(--wine-soft); }
.product__status--none { color: var(--faint); }
.product__teaser { color: var(--muted); font-size: 16px; }
.product__note { color: var(--muted); }
.product__hint { color: var(--muted); font-size: 13px; }
.product__hint a { color: var(--wine); }
.sizes { margin: 6px 0 0; padding: 0; border: 0; }
.sizes legend { margin-bottom: 10px; padding: 0; color: var(--muted); font-size: 13px; letter-spacing: 0.04em; }
.sizes__list { display: flex; flex-wrap: wrap; gap: 8px; }
.size { position: relative; }
.size input { position: absolute; opacity: 0; pointer-events: none; }
.size span { display: grid; place-items: center; min-width: 92px; min-height: 46px; padding: 0 14px; border: 1px solid var(--line); font-size: 14px; cursor: pointer; transition: border-color 0.2s, background-color 0.2s, color 0.2s; }
.size:hover span { border-color: var(--ink); }
.size input:checked + span { border-color: var(--wine); background: var(--wine); color: #fff; }
.size input:focus-visible + span { outline: 2px solid var(--wine); outline-offset: 2px; }
.size.is-off span { color: var(--faint); text-decoration: line-through; cursor: not-allowed; }
.buy { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; margin-top: 4px; }
.fav--box { width: 52px; height: 52px; border: 1px solid var(--line); }
.fav--box:hover { border-color: var(--wine); color: var(--wine); }
.acc { border-top: 1px solid var(--line); }
.acc:last-of-type { border-bottom: 1px solid var(--line); }
.acc summary { position: relative; padding: 16px 30px 16px 0; list-style: none; cursor: pointer; text-transform: uppercase; font-size: 13px; letter-spacing: 0.12em; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 8px; height: 8px; border-right: 1px solid; border-bottom: 1px solid; transform: translateY(-75%) rotate(45deg); transition: transform 0.25s; }
.acc[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.acc__body { display: grid; gap: 10px; padding: 0 0 18px; color: var(--muted); font-size: 15px; }
.acc__body a { color: var(--wine); }
.acc__body ul { margin: 0; padding-left: 18px; }
.product__facts { display: grid; gap: 8px; margin: 4px 0 0; font-size: 14px; }
.product__facts div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; }
.product__facts dt { color: var(--faint); }
.product__facts dd { margin: 0; }
.product__facts a { color: var(--wine); text-decoration: none; }
.related { margin-top: clamp(64px, 8vw, 120px); }

/* ——— коллекции, публикации ——— */
.listing { padding-bottom: clamp(56px, 7vw, 104px); }
.cgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px) clamp(16px, 2vw, 28px); }
.ccard { display: grid; gap: 16px; }
.ccard__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--photo-bg); }
.ccard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ccard:hover .ccard__media img { transform: scale(1.03); }
.ccard__season { color: var(--faint); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.ccard__name { color: var(--wine); font-size: clamp(24px, 2.2vw, 32px); }
.ccard__name a { text-decoration: none; }
.ccard__teaser { color: var(--muted); }
.ccard__count { color: var(--faint); font-size: 13px; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 52px) clamp(16px, 2vw, 28px); }
.post-card { display: grid; align-content: start; gap: 10px; }
.post-card__media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--photo-bg); margin-bottom: 6px; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.03); }
.post-card__date { color: var(--faint); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.post-card__title { font-size: 21px; font-weight: 400; line-height: 1.3; }
.post-card__title a { text-decoration: none; }
.post-card__title a:hover { color: var(--wine); }
.post-card__teaser { color: var(--muted); font-size: 15px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 64px); margin: 0 0 clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); }
.facts div { display: grid; gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--wine); font: italic 400 26px/1.1 var(--serif); }
.facts dd { margin: 0; color: var(--muted); }
.post { padding-bottom: clamp(56px, 7vw, 104px); }
.post__head { padding: clamp(22px, 4vw, 44px) 0 clamp(20px, 3vw, 32px); }
.post__date { color: var(--faint); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; }
.post__title { color: var(--wine); font-size: clamp(32px, 3.6vw, 52px); letter-spacing: -0.02em; }
.post__lead { margin-top: 18px; color: var(--muted); font-size: 19px; }
.post__cover { margin: 0 0 clamp(28px, 4vw, 48px); }
.post__cover img { width: 100%; height: auto; }
.prose { display: grid; gap: 1.1em; font-size: 17px; line-height: 1.75; }
.prose ul { margin: 0; padding-left: 20px; }
.post__gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: clamp(32px, 4vw, 56px); }
.post__photo { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--photo-bg); }
.post__photo img { width: 100%; height: 100%; object-fit: cover; }
.post__back { margin-top: clamp(32px, 4vw, 56px); }
.lightbox { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(14, 12, 12, 0.94); color: #fff; }
.lightbox::backdrop { background: transparent; }
.lightbox img { width: 100%; height: 100%; object-fit: contain; padding: 56px 16px; }
.lightbox .icon-btn { position: absolute; top: 8px; right: 8px; color: #fff; }

/* ——— «О нас»: письмо редактора с буквицей ——— */
.about { padding-bottom: clamp(40px, 5vw, 72px); }
.letter { padding: clamp(8px, 2vw, 24px) 0 clamp(56px, 7vw, 96px); }
.letter__text { display: grid; gap: 1.15em; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.75; }
.dropcap::first-letter {
  float: left; margin: 0.06em 0.12em 0 -0.04em; color: var(--wine);
  font: italic 500 5.4em/0.8 var(--serif); padding-top: 0.04em;
}
/* ——— цитата — в духе письма редактора в журнале: фото сверху слева, буквица
   жирным курсивом на --lines строк (от верха прописных первой строки до базовой линии последней; 0.708 и 0.7 — высота
   прописной Playfair и Montserrat, 1.219 и 0.268 — их вертикальные метрики), на десктопе свисает в поле вместе с фото;
   текст по ширине с переносами, абзацы без отбивок; подпись крупно и заходит на последние строки ——— */
.quote { padding: clamp(56px, 7vw, 104px) 0; background: var(--powder); }
.quote__page { --hang: 0px; }
.quote__photo { width: min(100%, 360px); margin: 0 0 clamp(28px, 4vw, 44px) calc(-1 * var(--hang)); }
.quote__photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 10%; }
.quote__text { --fs: clamp(16px, 1.2vw, 17px); --lh: 1.65; --lines: 7; margin: 0; font-size: var(--fs); line-height: var(--lh); text-align: justify; text-align-last: left; -webkit-hyphens: auto; hyphens: auto; }
.quote__text p { position: relative; z-index: 1; margin: 0; }
.quote__dropcap {
  --dc: calc(((var(--lines) - 1) * var(--lh) * var(--fs) + 0.7 * var(--fs)) / 0.708);
  float: left; margin: calc((var(--lh) - 1.219) * var(--fs) / 2 + 0.268 * var(--fs) - 0.0825 * var(--dc)) 0.12em 0 calc(-0.043em - var(--hang));
  color: var(--wine); font: italic 700 var(--dc)/0.75 var(--display); font-synthesis: none;
}
.quote__sign { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.quote__signature { width: clamp(150px, 19vw, 240px); height: auto; margin: calc(-2.4 * var(--lh) * var(--fs)) -3% 0 0; }
@media (min-width: 961px) { .quote__page { --hang: clamp(32px, 3.6vw, 56px); } }
/* в узкой колонке телефона выключка по ширине даёт «дыры» между словами — там флаговый набор, переносы остаются */
@media (max-width: 600px) { .quote__text { text-align: left; } .quote__signature { margin-top: calc(-0.6 * var(--lh) * var(--fs)); } }
.brand { padding: clamp(56px, 7vw, 104px) 0 clamp(40px, 5vw, 72px); }
.brand__intro { color: var(--ink); font-size: clamp(21px, 2vw, 28px); font-weight: 300; line-height: 1.45; }
.brand__subtitle { margin: clamp(36px, 5vw, 56px) 0 18px; color: var(--wine); font-size: 13px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; }
.brand__list { display: grid; margin: 0; padding: 0; list-style: none; counter-reset: brand; border-top: 1px solid var(--line); }
.brand__list li { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 17px; counter-increment: brand; }
.brand__list li::before { content: counter(brand, decimal-leading-zero); color: var(--wine); font: 400 24px/1.2 var(--font); }
.about-contacts__grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.about-contacts__card { display: grid; align-content: start; gap: 10px; padding: clamp(24px, 3vw, 40px); background: var(--powder-soft); }
.about-contacts__card a { color: var(--ink); }
.about-contacts__big { font-size: clamp(20px, 1.8vw, 24px); }
.about-contacts__brand { color:var(--wine); font-size:clamp(24px, 2.4vw, 32px); font-weight:400; letter-spacing:0.08em; line-height:1.3; }
.about-contacts__pr { display:grid; gap:10px; margin-top:20px; padding-top:20px; border-top:1px solid var(--line); }

/* ——— контакты, доставка ——— */
.contacts-page { padding-bottom: clamp(56px, 7vw, 104px); }
.contacts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.contact-card { display: grid; align-content: start; gap: 12px; padding: clamp(24px, 3vw, 36px); background: var(--powder-soft); }
.contact-card--main { background: var(--powder); }
.contact-card__big { font-size: clamp(22px, 2vw, 28px); font-weight: 300; line-height: 1.25; text-decoration: none; }
.contact-card__phone:hover { color: var(--wine); }
.contact-card__line { display: flex; align-items: center; gap: 10px; }
.contact-card__line svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--wine); }
.contact-card .btn { justify-self: start; margin-top: 8px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 0; padding: 0; list-style: none; }
.socials a { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); color: var(--ink); transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.socials a:hover { border-color: var(--wine); background: var(--wine); color: #fff; }
.socials svg { width: 20px; height: 20px; fill: currentColor; }
.socials__star { position: absolute; top: 2px; right: 5px; font-size: 12px; line-height: 1; }
.socials--labeled { display: grid; gap: 8px; }
.socials--labeled a { display: flex; justify-content: flex-start; gap: 12px; width: auto; height: 46px; padding: 0 14px; }
.text-page { padding-bottom: clamp(56px, 7vw, 104px); }
.steps { display: grid; margin: 0 0 36px; padding: 0; list-style: none; counter-reset: step; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 4px 12px; padding: 24px 0; border-bottom: 1px solid var(--line); counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); grid-row: span 2; color: var(--wine); font: italic 400 28px/1 var(--serif); }
.steps h2 { font-size: 20px; font-weight: 400; }
.steps p { color: var(--muted); }
.note-box { padding: 22px 26px; background: var(--powder-soft); }
.note-box a { color: var(--wine); }

/* ——— корзина и оформление ——— */
.cart-page { padding-bottom: clamp(56px, 7vw, 104px); }
.test-note { margin-bottom: 24px; padding: 16px 20px; border-left: 3px solid var(--wine); background: var(--powder-soft); font-size: 14px; }
.cart { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4.5vw, 72px); align-items: start; }
.cart[hidden], .cart-empty[hidden], .cart-done[hidden] { display: none; }
.cart__list { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.citem { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.citem__img { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--photo-bg); }
.citem__img img { width: 100%; height: 100%; object-fit: cover; }
.citem__info { display: grid; align-content: start; gap: 6px; min-width: 0; }
.citem__name { font-size: 16px; text-decoration: none; }
.citem__name:hover { color: var(--wine); }
.citem__meta { color: var(--muted); font-size: 13px; }
.citem__warn { color: var(--danger); font-size: 13px; }
.citem__side { display: grid; justify-items: end; align-content: space-between; gap: 12px; }
.citem__sum { font-weight: 500; white-space: nowrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.qty button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; background: none; }
.qty button svg { width: 16px; height: 16px; }
.qty button[disabled] { opacity: 0.3; cursor: default; }
.qty output { min-width: 28px; text-align: center; font-size: 14px; }
.citem__remove { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--faint); font-size: 12px; }
.citem__remove svg { width: 16px; height: 16px; }
.citem__remove:hover { color: var(--danger); }
.cart__warn { margin-top: 14px; color: var(--danger); font-size: 14px; }
.checkout { position: sticky; top: calc(var(--hdr) + 20px); display: grid; gap: 16px; padding: clamp(22px, 3vw, 34px); background: var(--powder-soft); }
.checkout__title { color: var(--wine); font-size: 24px; }
.field { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { padding: 0; color: var(--muted); font-size: 13px; }
.field small { color: var(--faint); }
.field input:not([type="radio"]):not([type="checkbox"]), .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 0; background: #fff; font-size: 16px; }
.field textarea { min-height: 0; resize: vertical; }
.field input:not([type="radio"]):not([type="checkbox"]):focus, .field textarea:focus { outline: none; border-color: var(--wine); }
.field input.is-invalid, .field textarea.is-invalid { border-color: var(--danger); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-grid; place-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); background: #fff; font-size: 14px; cursor: pointer; }
.pill input:checked + span { border-color: var(--wine); background: var(--wine); color: #fff; }
.pill input:focus-visible + span { outline: 2px solid var(--wine); outline-offset: 2px; }
.options { display: grid; gap: 8px; }
.option { position: relative; display: block; }
.option input { position: absolute; left: 16px; top: 18px; accent-color: var(--wine); }
.option span { display: grid; gap: 2px; padding: 13px 14px 13px 44px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.option b { font-weight: 500; font-size: 15px; }
.option small { color: var(--muted); font-size: 13px; }
.option input:checked + span { border-color: var(--wine); }
.check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 13px; color: var(--muted); }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--wine); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.checkout__total { display: flex; align-items: baseline; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line-wine); font-size: 15px; }
.checkout__total b { font-size: 24px; font-weight: 500; }
.checkout__hint { color: var(--muted); font-size: 13px; }
.checkout__status { color: var(--danger); font-size: 14px; }
.cart-empty, .cart-done { display: grid; justify-items: start; gap: 18px; padding: 24px 0 72px; font-size: 17px; color: var(--muted); }
.cart-done__icon { width: 56px; height: 56px; color: var(--wine); }
.cart-done__title { color: var(--wine); font-size: clamp(28px, 3vw, 40px); }

/* ——— поиск ——— */
.search { width: 100%; max-width: none; margin: 0; padding: 0; border: 0; background: transparent; }
.search::backdrop { background: rgba(22, 22, 22, 0.4); }
.search__box { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); background: var(--paper); box-shadow: 0 0 0 100vmax var(--paper); clip-path: inset(0 -100vmax); }
.search__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; height: 76px; border-bottom: 1px solid var(--line); }
.search__icon { width: 22px; height: 22px; color: var(--muted); }
.search__input { width: 100%; min-height: 48px; padding: 0; border: 0; background: transparent; font-size: clamp(18px, 2vw, 24px); font-weight: 300; outline: none; }
.search__input::-webkit-search-cancel-button { display: none; }
.search__results { max-height: min(70vh, 640px); padding: 12px 0 24px; overflow-y: auto; }
.search__list:not([hidden]) { display: grid; gap: 4px; }
.sres { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 8px; text-decoration: none; }
.sres:hover, .sres:focus-visible { background: #f5f5f5; }
.sres[aria-selected="true"] { background: #eee; box-shadow: inset 0 0 0 1px var(--ink); }
.sres__img { aspect-ratio: 3 / 4; overflow: hidden; background: var(--photo-bg); }
.sres__img img { width: 100%; height: 100%; object-fit: cover; }
.sres__name { display: block; font-size: 15px; }
.sres__meta { display: block; color: var(--muted); font-size: 12px; }
.sres__price { max-width: 7em; font-size: 14px; font-weight: 500; text-align: right; }
.search__empty { padding: 16px 8px; color: var(--muted); }

/* ——— подвал ——— */
.ftr { margin-top: 0; background: var(--powder); }
.ftr__grid { display:grid; grid-template-columns:minmax(0, 1.15fr) minmax(0, .66fr) minmax(0, 1fr) minmax(0, 1.2fr); gap:36px clamp(20px, 3vw, 44px); padding-block:clamp(48px, 6vw, 84px) clamp(32px, 4vw, 52px); }
.ftr__logo { display:block; width:min(220px, 100%); }
.ftr__tagline { margin-top:14px; font-size:16px; line-height:1.45; }
.ftr__nav, .ftr__contacts { display:grid; align-content:start; font-size:16px; line-height:1.55; }
.ftr__nav { gap:8px; }
.ftr__nav a { justify-self:start; text-decoration:none; }
.ftr__nav a:hover, .ftr__contacts a:hover { color:var(--wine); text-decoration:underline; text-underline-offset:.2em; }
.ftr__contacts { gap:12px; overflow-wrap:anywhere; }
.ftr__contacts a { text-decoration: none; }
.ftr__label { margin-bottom:5px; color:var(--wine); font-size:clamp(19px, 1.6vw, 23px); font-weight:500; line-height:1.2; letter-spacing:-.02em; }
.ftr__contacts .ftr__label { margin-bottom:1px; }
.ftr__phone { font-size:19px; font-weight:500; }
.ftr__bottom { display:grid; gap:10px; padding-block:18px 26px; color:var(--muted); font-size:14px; }
.ftr__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }
/* подпись «Стратега» — внизу подвала каждой страницы, перелив в тонах сайта (бордо), 5 с */
.by { background: linear-gradient(105deg, var(--wine) 0%, var(--wine-soft) 50%, var(--wine) 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; text-decoration: none; animation: brand-flow 5s ease-in-out infinite; }
.by:hover { text-decoration: underline; text-decoration-color: var(--wine); }

/* ——— тост «добавлено в корзину» ——— */
.toast { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 70; display: flex; align-items: center; gap: 18px; max-width: calc(100vw - 32px); padding: 14px 18px; background: var(--ink); color: #fff; font-size: 14px; transform: translate(-50%, 0); box-shadow: 0 10px 30px rgba(22, 22, 22, 0.18); }
.toast[hidden] { display: none; }
.toast a { color: #fff; text-transform: uppercase; font-size: 12px; letter-spacing: 0.14em; white-space: nowrap; }

/* ——— 404 ——— */
.notfound { padding: clamp(56px, 10vw, 140px) 0; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ——— адаптив ——— */
@media (max-width: 1180px) {
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pgrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  /* шапка телефона: одна строка 64px, бургер · логотип 150px · иконки */
  :root { --hdr: 64px; }
  body { font-weight:500; }
  .page-title, .section-title, .banner__title, .banner__sub, .product__name, .brand__intro, .contact-card__big, .search__input { font-weight:400; }
  .pcard__name, .post-card__title { font-weight:500; }
  .hdr__bar { height: 64px; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .hdr__burger { display: inline-grid; }
  .hdr__contacts { display: none; }
  .hdr__logo { width: 150px; }
  .hdr .logo { background:var(--ink); animation:none; }
  .hdr__nav { position: fixed; inset: 0 auto 0 0; z-index: 50; display: flex; flex-direction: column; width: min(88vw, 380px); padding: 0 24px 28px; border: 0; background: var(--powder); transform: translateX(-102%); transition: transform 0.35s var(--ease); overflow-y: auto; }
  .hdr.is-menu-open .hdr__nav { transform: none; }
  .hdr__nav-head { display:flex; align-items:center; justify-content:space-between; gap:16px; height:64px; }
  .hdr__nav-head .logo { width:140px; }
  .hdr__nav-head .icon-btn { flex-shrink:0; }
  .hdr__menu { flex-direction: column; justify-content: flex-start; gap: 0; margin-top: 18px; }
  .hdr__menu a { padding: 14px 0; border-bottom: 1px solid rgba(22, 22, 22, 0.08); font-size: 15px; background: none; }
  .hdr__menu-extra { display: block; }
  .hdr__nav-foot { display: grid; gap: 6px; margin-top: auto; padding-top: 28px; color: var(--muted); font-size: 13px; }
  .hdr__nav-phone { color: var(--ink); font-size: 18px; text-decoration: none; }
  .product__grid, .cart { grid-template-columns: minmax(0, 1fr); }
  .product__info, .checkout { position: static; }
  .gallery__track { margin-inline: calc(-1 * var(--gutter)); }
  .quote__text { --lines: 5; --lh: 1.6; }
  .quote__photo { width: min(72%, 360px); }
  .contacts-grid { grid-template-columns: minmax(0, 1fr); }
  .ftr__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ftr__brand { grid-column: 1 / -1; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showroom__inner { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .banner__text { width: 62%; }
  .banner--right .banner__text { margin-left: 38%; }
}

@media (max-width: 720px) {
  body { font-size:16px; }
  .pgrid, .pgrid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .slider { padding-inline:16px; scroll-padding-inline:16px; }
  .slider__track { grid-auto-columns:220px; }
  .cgrid, .post-grid, .facts, .about-contacts__grid { grid-template-columns: minmax(0, 1fr); }
  .banner { align-items: flex-end; min-height: min(78svh, 620px); }
  .banner::after { content: ""; position: absolute; inset: auto 0 0 0; z-index: -1; height: 55%; background: linear-gradient(to top, rgba(251, 248, 246, 0.92), rgba(251, 248, 246, 0)); }
  .banner__text, .banner--right .banner__text { width: 100%; margin: 0; padding: 0 var(--gutter) 34px; }
  .banner__cta { opacity: 1; transform: none; }
  .ctools { align-items: stretch; flex-direction: column; }
  /* разделы — лентой с прокруткой, а не тремя строками */
  .chips { flex-wrap: nowrap; gap: 18px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
  .chips::-webkit-scrollbar { display: none; }
  .citem { grid-template-columns: 80px minmax(0, 1fr); }
  .citem__side { grid-column: 2; justify-items: start; grid-auto-flow: column; align-items: center; justify-content: space-between; }
  .ftr__grid { grid-template-columns: minmax(0, 1fr); }
  .product__facts div { grid-template-columns: 96px minmax(0, 1fr); }
  .post__gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dropcap::first-letter { font-size: 4.6em; }
  .brand__list li, .steps li { grid-template-columns: 42px minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .logo, .by { animation: none; }
}

@media (forced-colors: active) {
  .logo { background: CanvasText; }
  .by { color: LinkText; -webkit-text-fill-color: LinkText; background: none; }
}
.legal-links { display:flex; flex-wrap:wrap; gap:10px 24px; margin:0 0 10px; font-size:inherit; line-height:1.6; }
.legal-links button { padding:0; border:0; background:none; color:inherit; font:inherit; text-decoration:underline; cursor:pointer; }
.legal-page { max-width:900px; margin:0 auto; padding:64px 24px 90px; font-size:16px; line-height:1.8; overflow-wrap:anywhere; }
.legal-page h1 { font-size:clamp(28px,4vw,46px); line-height:1.2; font-weight:400; margin-bottom:24px; }
.legal-page h2 { font-size:23px; line-height:1.4; font-weight:500; margin:36px 0 14px; }
.legal-page p, .legal-page ul { margin:14px 0; }
.legal-page ul { padding-left:24px; }
.legal-page a, .cookie-panel a, .checkout .check a { text-decoration:underline; text-underline-offset:3px; }
.legal-page dt { font-weight:500; margin-top:20px; }
.legal-page dd { margin:0; }
.cookie-panel { position:fixed; z-index:1100; bottom:20px; right:20px; max-width:610px; width:calc(100% - 40px); max-height:calc(100dvh - 40px); overflow:auto; padding:26px; background:#fffaf7; color:#382c29; border:1px solid #d8c5bd; box-shadow:0 8px 40px #25131c26; font-size:14px; line-height:1.6; }
.cookie-panel[hidden] { display:none; }
.cookie-panel h2 { font-size:22px; font-weight:400; margin:0 0 12px; }
.cookie-panel p { margin:12px 0; }
.cookie-actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:18px; }
.cookie-actions .btn { flex:1 1 220px; white-space:normal; padding:13px; font-size:12px; }
.cookie-caption { font-size:12px; }
@media(max-width:600px) { .cookie-panel { padding:18px; bottom:12px; right:12px; width:calc(100% - 24px); } .cookie-actions { gap:8px; } }
/* Клиентский сервис */
.service-page { display:grid; grid-template-columns:210px minmax(0,780px); gap:clamp(40px,7vw,110px); padding-block:clamp(44px,6vw,84px) 90px; }
.service-menu { position:sticky; top:calc(var(--hdr) + 36px); display:grid; gap:16px; align-self:start; font-size:14px; }
.service-menu a { text-decoration:none; }
.service-menu a:hover, .service-menu a[aria-current=page] { color:var(--wine); text-decoration:underline; text-underline-offset:5px; }
.service-menu .eyebrow { margin-bottom:8px; }
.service-body { min-width:0; font-size:16px; line-height:1.85; }
.service-body h1 { font-weight:300; font-size:clamp(36px,4.5vw,58px); line-height:1.15; margin:10px 0 30px; letter-spacing:-.02em; }
.service-body h2 { font-size:23px; font-weight:400; line-height:1.4; margin:36px 0 14px; }
.service-body p, .service-body ul, .service-body ol { margin:14px 0; }
.service-body ul, .service-body ol { padding-left:24px; }
.service-body li { padding-left:6px; margin:12px 0; }
.service-body .service-lead { font-size:clamp(19px,2vw,23px); font-weight:300; line-height:1.65; margin-bottom:30px; }
.service-body .note-box { margin:28px 0; font-size:15px; }
.service-body .note-box p { margin:0; }
.service-help { border-top:1px solid var(--line); margin-top:48px; padding-top:4px; }
.service-help h2 { font-family:var(--serif); font-style:italic; font-size:34px; }
.service-source { color:var(--muted); font-size:14px; }
.size-table-wrap { overflow:auto; margin-block:24px; }
.size-table { border-collapse:collapse; width:100%; text-align:left; }
.size-table caption { text-align:left; font-size:14px; color:var(--muted); padding-bottom:14px; }
.size-table th { font-weight:500; background:var(--powder-soft); }
.size-table th, .size-table td { border-bottom:1px solid var(--line); padding:14px 18px; }
.contacts-requisites { margin-top:36px; color:var(--muted); }
@media(max-width:1050px) and (min-width:981px) { .ftr__grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:760px) {
 .service-page { grid-template-columns:minmax(0,1fr); gap:36px; }
 .service-menu { position:static; display:flex; overflow-x:auto; gap:24px; padding-bottom:14px; border-bottom:1px solid var(--line); white-space:nowrap; }
 .service-menu .eyebrow { display:none; }
}
