@font-face { font-family: "Inter"; src: url("../fonts/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --red: #8C0014; --red-dark: #6E0010;
  --black: #000; --ink: #1E1E1E; --muted: #66635F; --line: #E2DFDB;
  --bg: #fff; --soft: #F6F5F4; --sand: #D5D2CC;
  --ok: #1F7A4D; --warn: #A8650A; --off: #8A8784;
  --wrap: 1280px; --gut: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.02em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(32px, 4.6vw, 56px); }
h2 { font-size: clamp(26px, 3vw, 38px); }
h3 { font-size: 19px; letter-spacing: -.01em; line-height: 1.3; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.on-dark :focus-visible, .hdr :focus-visible, .ftr :focus-visible { outline-color: #fff; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.sec { padding: clamp(56px, 8vw, 104px) 0; }
.sec--soft { background: var(--soft); }
.sec--sand { background: var(--sand); }
.sec--dark { background: var(--ink); color: #fff; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.sec--dark .eyebrow, .hero .eyebrow { color: rgba(255, 255, 255, .72); }
.lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--muted); max-width: 60ch; margin-top: 16px; }
.sec--dark .lead { color: rgba(255, 255, 255, .78); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: #fff; color: #000; padding: 12px 16px; }
.skip:focus { left: 8px; top: 8px; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 28px; border: 1px solid transparent; border-radius: 0; background: var(--red); color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.btn:hover { background: var(--red-dark); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--white:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--wide { width: 100%; }
.more { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.more::after { content: "→"; transition: transform .2s var(--ease); }
.more:hover::after { transform: translateX(4px); }

/* Демо-полоса */
.demo { background: var(--sand); color: var(--ink); font-size: 13px; text-align: center; padding: 7px var(--gut); }
.demo a { font-weight: 600; }

/* Шапка */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--black); color: #fff; }
.hdr__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 68px; }
.nav { display: flex; gap: clamp(16px, 2.2vw, 32px); }
.nav a { font-size: 14px; text-decoration: none; color: rgba(255, 255, 255, .86); padding: 8px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav a:hover { color: #fff; border-color: #fff; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.logo__mark { background: var(--red); color: #fff; font-weight: 700; font-size: 21px; letter-spacing: .01em; line-height: 1; padding: 8px 14px 9px; }
.logo__city { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.hdr__right { display: flex; justify-content: flex-end; align-items: center; gap: 24px; }
.hdr__tel { font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.hdr__cta { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border: 1px solid rgba(255, 255, 255, .6); padding: 10px 16px; transition: background .2s, color .2s; }
.hdr__cta:hover { background: #fff; color: #000; }
.burger { display: none; width: 44px; height: 44px; margin-left: -10px; background: none; border: 0; cursor: pointer; position: relative; }
.burger span, .burger::before, .burger::after { content: ""; position: absolute; left: 11px; right: 11px; height: 1.5px; background: #fff; transition: transform .25s var(--ease), opacity .2s; }
.burger::before { top: 15px; } .burger span { top: 21px; } .burger::after { top: 27px; }
.burger[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }
.burger[aria-expanded="true"] span { opacity: 0; }
.hdr__icon { display: none; width: 44px; height: 44px; margin-right: -10px; align-items: center; justify-content: center; }
.mnav { display: none; }

/* Герой */
.hero { position: relative; min-height: min(78vh, 720px); display: flex; align-items: flex-end; color: #fff; background: #1b1714; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .35) 48%, rgba(0, 0, 0, 0) 78%), linear-gradient(0deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0) 45%); }
.hero__in { position: relative; z-index: 1; padding-top: 96px; padding-bottom: clamp(40px, 7vw, 88px); }
.hero h1 { max-width: 14ch; }
.hero p.lead { color: rgba(255, 255, 255, .86); max-width: 46ch; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.facts { border-bottom: 1px solid var(--line); }
.facts__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 26px 24px 26px 0; font-size: 15px; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact b { display: block; font-weight: 600; margin-bottom: 2px; }
.fact span { color: var(--muted); font-size: 14px; }

/* Каталог */
.cat__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip { min-height: 40px; padding: 0 16px; border: 1px solid var(--line); background: #fff; font-size: 14px; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.only { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; min-height: 40px; }
.only input { width: 18px; height: 18px; accent-color: var(--red); margin: 0; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.card { display: flex; flex-direction: column; background: #fff; text-decoration: none; position: relative; }
.card__pic { aspect-ratio: 1 / 1; background: var(--soft); display: flex; align-items: center; justify-content: center; padding: 12%; overflow: hidden; }
.card__pic img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.card:hover .card__pic img { transform: scale(1.04); }
.card__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; flex: 1; }
.card__cat { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card__title { font-size: 17px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.card__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 12px; margin-top: auto; padding-top: 12px; }
.price { font-size: 19px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price--ask { font-size: 15px; font-weight: 500; color: var(--muted); }
.empty { grid-column: 1 / -1; background: #fff; padding: 56px 24px; text-align: center; color: var(--muted); }
.empty button { margin-top: 16px; }

/* Индикатор остатка */
.stock { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.bars i { width: 4px; background: #D9D6D2; }
.bars i:nth-child(1) { height: 6px; } .bars i:nth-child(2) { height: 10px; } .bars i:nth-child(3) { height: 14px; }
.stock--low { color: var(--warn); } .stock--low .bars i:nth-child(1) { background: var(--warn); }
.stock--ok, .stock--many { color: var(--ok); }
.stock--ok .bars i:nth-child(-n+2), .stock--many .bars i { background: var(--ok); }
.stock--order, .stock--out { color: var(--muted); }

/* Комплекты */
.sets { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.sets__pic { aspect-ratio: 10 / 9; overflow: hidden; }
.sets__pic img { width: 100%; height: 100%; object-fit: cover; }
.set { border-top: 1px solid rgba(30, 30, 30, .25); padding: 22px 0; }
.set:last-child { border-bottom: 1px solid rgba(30, 30, 30, .25); }
.set__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.set__note { font-size: 13px; color: #4a4744; }
.set ul { list-style: none; padding: 0; margin: 12px 0 0; font-size: 15px; }
.set li { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; }
.set li a { text-decoration: none; border-bottom: 1px solid rgba(30, 30, 30, .3); }
.set li a:hover { border-color: var(--ink); }
.set li span { white-space: nowrap; color: #4a4744; font-variant-numeric: tabular-nums; }

/* Сервис */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: 44px; }
.svc__i svg { width: 36px; height: 36px; stroke: var(--red); fill: none; stroke-width: 1.4; margin-bottom: 18px; }
.svc__i p { color: var(--muted); margin-top: 8px; }

/* Салон */
.salon { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.salon dl { margin: 32px 0 0; display: grid; gap: 18px; }
.salon dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: 2px; }
.salon dd { margin: 0; font-size: 18px; }
.salon dd a { text-decoration: none; }
.salon dd a:hover { text-decoration: underline; }
.salon__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.salon__pic { aspect-ratio: 3 / 2; overflow: hidden; }
.salon__pic img { width: 100%; height: 100%; object-fit: cover; }

/* Форма */
.ask { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(28px, 5vw, 80px); }
.form { display: grid; gap: 18px; }
.fld label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.fld input, .fld textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #BDB9B4; border-radius: 0; background: #fff; transition: border-color .2s; }
.fld textarea { min-height: 96px; resize: vertical; }
.fld input:hover, .fld textarea:hover { border-color: var(--ink); }
.fld input:focus, .fld textarea:focus { outline: 2px solid var(--ink); outline-offset: -1px; border-color: var(--ink); }
.fld .err { display: none; font-size: 13px; color: var(--red); margin-top: 6px; }
.fld.bad input, .fld.bad textarea { border-color: var(--red); }
.fld.bad .err { display: block; }
.agree { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 14px; color: var(--muted); align-items: start; cursor: pointer; }
.agree input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--red); }
.agree a { color: var(--ink); }
.agree.bad { color: var(--red); }
.form__note { font-size: 13px; color: var(--muted); }
.done { border: 1px solid var(--line); padding: 32px; }
.done h3 { margin-bottom: 8px; }
.done p { color: var(--muted); }
.done .more { margin-top: 20px; }
.ask__about { font-size: 14px; background: var(--soft); padding: 12px 14px; }

/* Подвал */
.ftr { background: var(--black); color: rgba(255, 255, 255, .78); font-size: 14px; padding: 64px 0 32px; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.ftr h3 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ftr__about { margin-top: 20px; max-width: 34ch; }
.ftr__legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .18); display: grid; gap: 10px; font-size: 12.5px; color: rgba(255, 255, 255, .6); }
.ftr__legal p { max-width: 110ch; }

/* Cookie */
.ck { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; background: var(--ink); color: #fff; padding: 20px; display: none; gap: 16px; align-items: center; font-size: 14px; box-shadow: 0 12px 40px rgba(0, 0, 0, .25); }
.ck.on { display: flex; }
.ck a { color: #fff; }
.ck button { flex: none; min-height: 44px; padding: 0 20px; background: #fff; color: #000; border: 0; font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }

/* Страница товара */
.crumbs { font-size: 13px; color: var(--muted); padding: 24px 0 0; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.pd { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(28px, 5vw, 80px); padding: 28px 0 clamp(56px, 8vw, 96px); align-items: start; }
.gal__main { aspect-ratio: 1 / 1; background: var(--soft); display: flex; align-items: center; justify-content: center; padding: 9%; }
.gal__main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gal__main.cover { padding: 0; } .gal__main.cover img { object-fit: cover; mix-blend-mode: normal; }
.gal__th { display: flex; gap: 8px; margin-top: 8px; }
.gal__th button { width: 84px; height: 84px; padding: 8px; background: var(--soft); border: 1px solid transparent; cursor: pointer; }
.gal__th button[aria-current="true"] { border-color: var(--ink); }
.gal__th img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pd__info { position: sticky; top: 96px; }
.pd__info h1 { font-size: clamp(26px, 2.8vw, 36px); }
.pd__meta { font-size: 14px; color: var(--muted); margin-top: 10px; }
.pd__buy { margin: 28px 0; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 14px; }
.pd__buy .price { font-size: 30px; }
.pd__buy .price--ask { font-size: 20px; color: var(--ink); }
.pd__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.pd__hint { font-size: 13px; color: var(--muted); }
.feat { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.feat li { padding-left: 22px; position: relative; }
.feat li::before { content: ""; position: absolute; left: 0; top: .68em; width: 10px; height: 1.5px; background: var(--red); }
.pd__more { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); }
.pd__more h2 { font-size: 24px; margin-bottom: 20px; }
.specs { width: 100%; border-collapse: collapse; font-size: 15px; }
.specs th, .specs td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-weight: 400; }
.specs th { color: var(--muted); width: 46%; padding-right: 16px; }

/* Юридические страницы */
.doc { max-width: 820px; padding: 48px 0 96px; }
.doc h1 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 12px; }
.doc h2 { font-size: 21px; margin: 40px 0 12px; }
.doc p, .doc li { margin-bottom: 10px; }
.doc ul, .doc ol { padding-left: 22px; margin: 0 0 12px; }
.doc .upd { color: var(--muted); font-size: 14px; }
.doc mark { background: #FFF1C2; padding: 0 3px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 12px 0; }
.doc td, .doc th { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }

@media (max-width: 1020px) {
  .nav, .hdr__cta, .hdr__tel { display: none; }
  .burger { display: block; } .hdr__icon { display: inline-flex; }
  .hdr__in { height: 60px; }
  .mnav { position: fixed; inset: 60px 0 0; z-index: 49; background: var(--black); color: #fff; padding: 24px var(--gut) 40px; flex-direction: column; gap: 4px; overflow: auto; }
  .mnav.on { display: flex; }
  .mnav a { font-size: 24px; font-weight: 600; text-decoration: none; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
  .mnav .mnav__tel { margin-top: auto; border: 0; font-size: 20px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts__in { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sets, .salon, .ask, .pd, .pd__more { grid-template-columns: 1fr; }
  .pd__info { position: static; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .logo__city { display: none; }
  .hero { min-height: 600px; }
  .hero::after { background: linear-gradient(0deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .35) 60%, rgba(0, 0, 0, .15) 100%); }
  .hero__btns .btn { width: 100%; }
  .grid { grid-template-columns: 1fr; }
  .card__main { flex-direction: row; }
  .card__pic { width: 38%; flex: none; padding: 5%; aspect-ratio: auto; min-height: 150px; }
  .card__pic img { max-height: 200px; }
  .card__body { padding: 16px; }
  .card__title { font-size: 16px; }
  .card__foot { flex-direction: column; align-items: flex-start; gap: 6px; }
  .svc { grid-template-columns: 1fr; }
  .set__top { flex-direction: column; gap: 2px; }
  .pd__btns { grid-template-columns: 1fr; }
  .gal__th button { width: 68px; height: 68px; }
  .ftr__grid { grid-template-columns: 1fr; gap: 32px; }
  .ck.on { flex-direction: column; align-items: stretch; }
  .salon__btns .btn, .btn--m { width: 100%; }
}
@media (max-width: 380px) { .fact { font-size: 14px; padding-right: 12px; } .fact + .fact { padding-left: 12px; } .fact:nth-child(3) { padding-left: 0; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

/* Логотип и сортировка */
.logo__img { display: block; height: 40px; width: auto; }
.cat__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.sort { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; }
.sort span { color: var(--muted); }
.sort select, .tools select { min-height: 40px; padding: 0 36px 0 12px; border: 1px solid #BDB9B4; border-radius: 0; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231E1E1E' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center; -webkit-appearance: none; appearance: none; font-size: 14px; cursor: pointer; }
.sort select:hover, .tools select:hover { border-color: var(--ink); }
@media (max-width: 640px) { .logo__img { height: 34px; } .cat__tools { width: 100%; } .sort { width: 100%; } .sort select { flex: 1; min-height: 44px; } }

/* ---------- Правки 11.11: акции, корзина, шоурум ---------- */
.card { position: relative; }
.card__main { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; }
.card__pic, .gal__main { position: relative; }
.card__add, .set__add { display: flex; align-items: center; justify-content: center; margin: 0 22px 22px; min-height: 44px; padding: 0 16px; border: 1px solid var(--ink); background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease); }
.card__add:hover, .set__add:hover, .card__add.on, .set__add.on { background: var(--ink); color: #fff; }
.set__add { margin: 16px 0 0; background: transparent; width: fit-content; }
.sale { position: absolute; left: 0; top: 0; z-index: 1; background: var(--red); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 10px; line-height: 1; }
.price--sale { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 2px; line-height: 1.15; }
.price--sale s { font-size: .74em; font-weight: 400; color: var(--muted); text-decoration-thickness: 1px; }
.price--sale b { color: var(--red); font-weight: 600; }
.pd__buy .price--sale, .ci__each .price--sale { flex-direction: row; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pd__buy .price--sale b { order: -1; }
.chip--sale { color: var(--red); border-color: var(--red); font-weight: 600; }
.chip--sale:hover { border-color: var(--red-dark); }
.chip--sale[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.hdr__cart { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0 -8px; }
.hdr__n { position: absolute; right: 2px; top: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; }
.hdr__n[hidden] { display: none; }
.pd__go { font-size: 14px; font-weight: 600; }
.pd__go[hidden] { display: none; }
.pd__msg { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.pd__msg a { color: var(--ink); font-weight: 500; }
.salon dd a { display: inline-block; padding: 2px 0; }

.cart__h { font-size: clamp(28px, 3.4vw, 40px); margin: 16px 0 32px; }
.cartv { padding-bottom: clamp(48px, 7vw, 88px); }
.cart { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.cart__none { border: 1px solid var(--line); padding: 48px 24px; text-align: center; color: var(--muted); }
.cart__none .btn { margin-top: 20px; }
.cart__list { border-top: 1px solid var(--line); }
.ci { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto 130px 44px; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.ci__pic { width: 96px; height: 96px; background: var(--soft); display: flex; align-items: center; justify-content: center; padding: 8px; }
.ci__pic img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ci__info { display: grid; gap: 6px; justify-items: start; }
.ci__title { font-weight: 600; line-height: 1.3; text-decoration: none; }
.ci__title:hover { text-decoration: underline; }
.ci__each { font-size: 14px; color: var(--muted); }
.ci__each .price { font-size: 14px; font-weight: 500; color: var(--ink); }
.ci__each .price--ask { color: var(--muted); }
.ci__sum { text-align: right; }
.qty { display: inline-flex; border: 1px solid #BDB9B4; }
.qty button { width: 44px; height: 44px; border: 0; background: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.qty button:hover { background: var(--soft); }
.qty input { width: 48px; height: 44px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-radius: 0; text-align: center; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ci__rm { width: 44px; height: 44px; border: 0; background: none; font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer; }
.ci__rm:hover { color: var(--red); }
.sum { position: sticky; top: 92px; background: var(--soft); padding: 28px; display: grid; gap: 14px; }
.sum h2 { font-size: 22px; }
.sum dl { margin: 0; display: grid; gap: 10px; }
.sum dl div { display: flex; justify-content: space-between; gap: 16px; font-variant-numeric: tabular-nums; }
.sum dd { margin: 0; white-space: nowrap; }
.sum__disc { color: var(--red); font-weight: 500; }
.sum__total { border-top: 1px solid #CFCBC6; padding-top: 14px; font-size: 22px; font-weight: 600; }
.sum__next { font-size: 14px; font-weight: 500; }
.sum__note { font-size: 13px; color: var(--muted); }
.offer { display: none; }

@media (max-width: 1180px) { .hdr__tel { display: none; } }
@media (max-width: 1020px) {
  .cart { grid-template-columns: 1fr; }
  .sum { position: static; }
  .hdr__cart { margin: 0 -10px 0 0; }
  .hdr__right { gap: 4px; }
  .hdr__icon { margin-right: 0; }
  .mnav .mnav__tel2 { border: 0; font-size: 20px; padding-top: 0; }
}
@media (max-width: 640px) {
  .card__main { flex-direction: row; }
  .card__add { margin: 0 16px 16px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gut) * -1) 20px; padding: 0 var(--gut) 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; white-space: nowrap; min-height: 44px; }
  .hero__img { object-position: 68% center; }
  .ci { grid-template-columns: 72px minmax(0, 1fr) 44px; gap: 12px; }
  .ci__pic { width: 72px; height: 72px; grid-row: 1 / 3; align-self: start; }
  .ci__info { grid-column: 2 / 3; }
  .ci__rm { grid-column: 3; grid-row: 1; align-self: start; }
  .ci .qty { grid-column: 2 / 3; grid-row: 2; justify-self: start; }
  .ci__sum { grid-column: 2 / 4; grid-row: 3; text-align: left; }
  .sum { padding: 20px; }
}

/* Печатное предложение из корзины: на бумагу и в PDF уходит только оно */
@media print {
  /* Поля у страницы нулевые — тогда браузер не печатает свои колонтитулы (дата, название, адрес сайта).
     Отступы от края листа дают пустые шапка и подвал таблицы .offer__page: они повторяются на каждом листе. */
  @page { size: A4; margin: 0; }
  .offer { padding: 0 14mm; }
  .offer__page > thead > tr > td, .offer__page > tfoot > tr > td { height: 11mm; padding: 0; }
  .offer__page > tbody > tr > td { padding: 0; }
  body[data-page="cart"] { background: #fff; color: #000; font-size: 10.5pt; }
  body[data-page="cart"] #hdr, body[data-page="cart"] #ftr, body[data-page="cart"] .cartv, body[data-page="cart"] #ask { display: none !important; }
  .offer { display: block; }
  /* Шапка в одну строку: слева адрес и часы работы, по центру логотип, справа телефоны */
  .offer__top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12pt; padding-bottom: 9pt; border-bottom: 1.5pt solid #000; }
  .offer__top img { height: 40pt; width: auto; }
  .offer__co { display: grid; gap: 1.5pt; font-size: 9.5pt; justify-items: start; text-align: left; }
  .offer__co--r { justify-items: end; text-align: right; }
  .offer__co b { font-size: 10.5pt; }
  .offer__m > span { display: inline-flex; align-items: center; gap: 2.5pt; white-space: nowrap; }
  .offer__m svg { width: 10pt; height: 10pt; flex: none; }
  .offer h1 { font-size: 20pt; margin: 16pt 0 2pt; letter-spacing: -.01em; }
  .offer__date { color: #444; margin-bottom: 10pt; }
  .offer table { width: 100%; border-collapse: collapse; }
  .offer__tbl th, .offer__tbl td { border-bottom: .5pt solid #999; padding: 6pt 6pt; text-align: left; vertical-align: top; }
  .offer__tbl th { font-size: 8.5pt; text-transform: uppercase; letter-spacing: .06em; border-bottom: 1pt solid #000; }
  .offer__tbl td:nth-child(n+4), .offer__tbl th:nth-child(n+4) { text-align: right; white-space: nowrap; }
  .offer__tbl small { display: block; font-size: 8.5pt; color: #555; margin-top: 2pt; }
  .offer__tbl s { color: #777; font-size: 8.5pt; }
  .offer__tbl tr { break-inside: avoid; }
  .offer table.offer__sum { width: 55%; margin: 12pt 0 0 auto; }
  .offer__sum th, .offer__sum td { padding: 4pt 6pt; text-align: right; font-weight: 400; white-space: nowrap; }
  .offer__total th, .offer__total td { font-size: 13pt; font-weight: 700; border-top: 1pt solid #000; padding-top: 7pt; }
  .offer__p { margin-top: 10pt; font-size: 9.5pt; }
  .offer__contacts { margin-top: 16pt; break-inside: avoid; }
  .offer__contacts h2 { font-size: 12pt; margin-bottom: 6pt; }
  .offer__contacts th, .offer__contacts td { text-align: left; padding: 3pt 0; font-weight: 400; vertical-align: top; }
  .offer__contacts th { width: 32%; color: #555; }
  .offer__legal { margin-top: 12pt; font-size: 8.5pt; color: #555; break-inside: avoid; }
}

/* ---------- Правки 11.11, вечер: папки каталога, комплекты, логотип ---------- */
[hidden] { display: none !important; }
.hdr .logo { align-self: stretch; }
.hdr .logo__img { height: 68px; }
.cat__back { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin-bottom: 4px; padding: 0; border: 0; background: none; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); cursor: pointer; }
.cat__back::before { content: "←"; font-size: 16px; letter-spacing: 0; }
.cat__back:hover { color: var(--ink); }
.folders { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.folder { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); text-decoration: none; padding-bottom: 18px; transition: border-color .2s var(--ease); }
.folder:hover { border-color: var(--ink); }
.folder__pic { aspect-ratio: 4 / 3; background: var(--soft); display: flex; align-items: center; justify-content: center; gap: 6%; padding: 9% 12%; overflow: hidden; }
.folder__pic img { width: 100%; height: 100%; min-width: 0; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.folder:hover .folder__pic img { transform: scale(1.04); }
.folder--duo .folder__pic img { width: 47%; }
.folder__pic img.folder__logo { width: 38%; height: auto; mix-blend-mode: normal; }
.folder--sale .folder__pic { background: var(--red); }
.folder__pct { color: #fff; font-size: clamp(56px, 7vw, 96px); font-weight: 600; line-height: 1; }
.folder__name { padding: 16px 18px 0; font-size: 17px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.folder__n { padding: 4px 18px 0; font-size: 13px; color: var(--muted); }
.folder--sale .folder__name { color: var(--red); }

.grid--kits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* Отдельный товар в папке «Комплекты» (например, стирально-сушильная машина): картинка той же высоты, что у комплектов */
.grid--kits .card:not(.kit) .card__pic { aspect-ratio: 16 / 9; padding: 6% 7%; }
.kit__pics { display: flex; align-items: center; gap: 4%; aspect-ratio: 16 / 9; background: var(--soft); padding: 6% 7%; }
.kit__pics a { flex: 1; min-width: 0; height: 100%; display: flex; }
.kit__pics img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.kit__list { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 6px; font-size: 15px; }
.kit__list li { display: flex; justify-content: space-between; gap: 16px; }
.kit__list a { text-decoration: none; border-bottom: 1px solid var(--line); }
.kit__list a:hover { border-color: var(--ink); }
.kit__list span { white-space: nowrap; color: var(--muted); font-variant-numeric: tabular-nums; }
.kit__lbl { font-size: 14px; color: var(--muted); }
.salon__btns { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); }
.salon__btns .btn { width: 100%; padding: 0 12px; }

@media (max-width: 1020px) {
  .hdr .logo__img { height: 60px; }
  .folders { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .folders { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .folder__name { padding: 12px 12px 0; font-size: 15px; }
  .folder__n { padding: 2px 12px 0; }
  .folder { padding-bottom: 14px; }
  .grid--kits { grid-template-columns: 1fr; }
  .kit__list li { flex-direction: column; gap: 0; }
  .salon__btns { grid-template-columns: 1fr 1fr; }
}
@media print {
  .offer__tbl th:first-child, .offer__tbl td:first-child { width: 16pt; }
  .offer__pic { width: 56pt; padding-right: 0 !important; }
  .offer__pic img { display: block; width: 50pt; height: 50pt; object-fit: contain; }
}

.folder--cover .folder__pic { padding: 0; }
.folder--cover .folder__pic img { object-fit: cover; mix-blend-mode: normal; }

/* Метка «Есть в шоуруме» у товара */
.inshow { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; justify-self: start; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.inshow::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--red); }

/* Поле-ловушка для роботов: человеку не видно */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__err { color: var(--red); font-size: 14px; margin: 0 0 12px; }
