/* Кабинет оптовика «ТД Елена» и его страницы (/p/, /s/, /hochu, /golos) — с 02.12.2026 в стиле лендинга «Фабрика Елена»
   (landing/css/site.css; система Дринкит): белый фон, карточки #F2F6FC, синий #334CDB, цены — жёлтые пилюли #FFC629,
   заголовки 500 с плотным межбуквенным, всё скругляется пилюлями и листами 20–36 px, окна — шторка снизу на телефоне,
   главная кнопка внизу экрана — с жёлтым свечением. Шрифт Onest. Классы — те же, что рисует JS (логика не менялась). */
@font-face { font-family: "Onest"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(/fonts/onest-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(/fonts/onest-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(/fonts/onest-latin-ext.woff2) format("woff2"); unicode-range: U+20A0-20C4; }

:root {
  color-scheme: only light;
  /* лендинг */
  --blue: #334cdb; --blue-ink: #182da8; --blue-card: #e7f1ff; --surface: #f2f6fc; --white: #fff; --yellow: #ffc629;
  --on-blue-muted: rgba(255, 255, 255, .78);
  /* прежние имена — на них ссылаются стили в разметке JS */
  --bg: #fff; --card: var(--surface); --ink: #000; --muted: #5f6673; --soft: #7e8594; --line: #dce3ed; --well: #e8eef7;
  --brand: var(--blue); --brand-press: #2b42c7; --on-brand: #fff; --brand-tint: var(--blue-card);
  --accent: var(--yellow); --accent-tint: #fff3cc; --on-accent: #000;
  --success: #1e6b45; --success-tint: #e3f4ea; --danger: #b3321f; --danger-tint: #fdeae6;
  --r-sheet: 28px; --r-card: 28px; --r-tile: 20px; --r-sm: 14px; --r-pill: 999px; --gutter: 16px;
  --shadow-float: 0 10px 30px rgba(20, 36, 140, .18), 0 1px 3px rgba(20, 36, 140, .08);
  --glow: 0 0 0 2px rgba(255, 198, 41, .9), 0 0 22px 4px rgba(255, 198, 41, .5), 0 10px 30px rgba(20, 36, 140, .3);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Onest", system-ui, -apple-system, Roboto, "Segoe UI", Arial, sans-serif;
  --head: 72px;
}
@media (min-width: 900px) { :root { --r-sheet: 36px; --r-card: 32px; --gutter: 40px; } }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 16px/1.45 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--blue); text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3 { font-weight: 500; letter-spacing: -.035em; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.soft { color: var(--soft); }
.ic { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.tag { display: inline-flex; align-items: center; min-height: 30px; padding: 0 14px; border-radius: var(--r-pill); background: var(--blue); color: #fff;
  font-size: 14px; line-height: 1.1; white-space: nowrap; }
.tag--white { background: #fff; color: var(--blue-ink); }
.tag--y { background: var(--yellow); color: #000; }

/* ── знак: имя крупно, «фабрика одежды» под ним — как на лендинге ── */
.mark { display: inline-flex; flex-direction: column; gap: 2px; line-height: 1.05; color: var(--ink); text-decoration: none; }
.mark b { font-size: 22px; font-weight: 700; letter-spacing: -.03em; }
.mark small { order: 1; font-size: 12.5px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.mark.big b { font-size: 34px; }
.mark.big small { font-size: 15px; }

/* ── шапка: белая, строка вкладок разделов под ней ── */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.sc { border-bottom-color: var(--line); }
.top__in { max-width: 1360px; margin: 0 auto; height: var(--head); padding: 0 var(--gutter); display: flex; align-items: center; gap: 20px; }
.top .mark { flex: 0 0 auto; }
.nav { display: none; }                     /* разделы — строкой вкладок под шапкой (.tabs) на любой ширине */
.search { flex: 1 1 280px; max-width: 560px; position: relative; margin-left: auto; }
.search input { width: 100%; height: 48px; border-radius: var(--r-pill); border: 0; background: var(--surface); padding: 0 18px 0 48px; outline: none; font-size: 16px; }
.search input::placeholder { color: #8a909b; }
.search input:focus { box-shadow: 0 0 0 2px var(--blue); }
.search .ic { position: absolute; left: 16px; top: 13px; color: var(--muted); }
.search input::-webkit-search-cancel-button, .search input::-webkit-search-decoration { -webkit-appearance: none; }
.tools { display: flex; align-items: center; gap: 8px; }
.round { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--surface); display: grid; place-items: center; color: var(--ink);
  position: relative; transition: background .15s var(--ease), color .15s; }
.round:hover { background: var(--blue-card); color: var(--blue-ink); }
.round.on { background: var(--blue); color: #fff; }
.round .dot { position: absolute; top: 7px; right: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); border: 2px solid #fff; }
.cartbtn { height: 48px; border-radius: var(--r-pill); border: 0; background: var(--blue); color: #fff; display: inline-flex; align-items: center; gap: 10px;
  padding: 0 20px 0 16px; font-weight: 500; font-size: 16px; letter-spacing: -.01em; white-space: nowrap; transition: background .2s; }
.cartbtn:hover { background: var(--brand-press); }
.cartbtn.is-empty { background: var(--surface); color: var(--ink); }
.cartbtn.is-empty:hover { background: var(--blue-card); }
.menu-btn { display: none; }
.tabs { display: flex; gap: 4px; padding: 4px; margin: 0 auto 10px; width: max-content; max-width: calc(100% - 2 * var(--gutter)); border-radius: var(--r-pill);
  background: var(--surface); overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: 0 0 auto; min-height: 42px; padding: 0 18px; border-radius: var(--r-pill); color: var(--ink); font-size: 15px; display: inline-flex;
  align-items: center; white-space: nowrap; transition: background .15s var(--ease); }
.tabs a:hover { background: #fff; }
.tabs a.on { background: var(--blue); color: #fff; }

/* ── страница ── */
main { max-width: 1360px; margin: 0 auto; padding: 20px var(--gutter) 120px; min-height: calc(100vh - var(--head)); }
.page-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 12px 0 24px; flex-wrap: wrap; }
.page-h h1 { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1; letter-spacing: -.04em; }
.page-h p { margin: 12px 0 0; color: var(--muted); max-width: 720px; font-size: 17px; }
h2.sec { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.05; letter-spacing: -.035em; margin: 48px 0 18px; display: flex; align-items: baseline;
  gap: 6px 14px; flex-wrap: wrap; }
h2.sec small { font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
h2.sec a { margin-left: auto; align-self: center; display: inline-flex; align-items: center; gap: 2px; min-height: 40px; padding: 0 10px 0 16px; border-radius: var(--r-pill);
  background: var(--surface); color: var(--blue-ink); font-size: 15px; font-weight: 500; letter-spacing: 0; white-space: nowrap; }
h2.sec a:hover { background: var(--blue-card); }
h2.sec a .ic { width: 18px; height: 18px; }

/* ── главная: синий лист с приветствием и цифрами, менеджер — белая плашка на нём ── */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: end; background: var(--blue); color: #fff;
  border-radius: var(--r-sheet); padding: 48px 48px 44px; }
.hero__main { min-width: 0; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.hero__main h1 { margin: 0; font-size: clamp(34px, 4.4vw, 56px); line-height: .98; letter-spacing: -.045em; max-width: 760px; }
.hero__main h1 em { font-style: normal; color: var(--yellow); }
.hero__main p { margin: 0; font-size: 17px; color: var(--on-blue-muted); max-width: 560px; }
.hero__facts { display: flex; gap: 20px 44px; flex-wrap: wrap; margin-top: 10px; }
.hero__facts div b { display: block; font-size: clamp(30px, 3.4vw, 44px); font-weight: 500; line-height: .92; letter-spacing: -.05em; }
.hero__facts div span { display: block; margin-top: 8px; font-size: 14px; color: var(--on-blue-muted); }
.mgr { background: #fff; color: var(--ink); border-radius: var(--r-tile); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.mgr__k { align-self: flex-start; display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: var(--r-pill);
  background: var(--surface); font-size: 13px; color: var(--muted); }
.mgr__n { font-size: 24px; font-weight: 500; line-height: 1.1; letter-spacing: -.03em; margin-top: 4px; }
.mgr > .muted { font-size: 14.5px; }
.mgr__row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.mgr .btn--block { margin-top: 4px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.tile { position: relative; background: var(--surface); border-radius: var(--r-tile); padding: 24px 22px 22px; color: var(--ink); display: flex; flex-direction: column;
  gap: 6px; min-height: 168px; transition: background .2s var(--ease), transform .2s var(--ease); }
.tile::after { content: ""; position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat center; }
.tile:hover { background: var(--blue-card); }
.tile b { font-size: 24px; font-weight: 500; letter-spacing: -.035em; line-height: 1.05; padding-right: 48px; }
.tile span { color: var(--muted); font-size: 14.5px; }
.tile i { font-style: normal; margin-top: auto; padding-top: 14px; font-size: 40px; font-weight: 500; line-height: .9; letter-spacing: -.05em;
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.tile i small { font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.tile--sale i small, .tile--liq i small { background: var(--yellow); color: #000; border-radius: var(--r-pill); padding: 3px 10px; font-weight: 500; }
.promo-pre, .promo-ask { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-radius: var(--r-tile); padding: 22px 24px;
  margin-top: 16px; color: var(--ink); }
.promo-pre { background: var(--blue-card); }
.promo-pre:hover { background: #dbe8ff; }
.promo-ask { background: var(--surface); }
.promo-ask:hover { background: var(--blue-card); }
.promo-pre b, .promo-ask b { display: block; font-size: 20px; font-weight: 500; letter-spacing: -.025em; line-height: 1.15; }
.promo-pre span, .promo-ask span { display: block; color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.promo-pre .btn, .promo-ask .btn { flex: 0 0 auto; display: inline-flex; margin: 0; }
.promo-pre .btn { color: #fff; }
.promo-ask .btn { color: var(--blue-ink); background: #fff; }

/* ── ряды и сетка карточек (как каталог лендинга) ── */
.row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 6px; scrollbar-width: none; overscroll-behavior-x: contain; }
.row::-webkit-scrollbar { display: none; }
.row > * { scroll-snap-align: start; }
.grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px 16px; }
.card { position: relative; background: var(--surface); border-radius: var(--r-tile); overflow: hidden; display: flex; flex-direction: column; color: var(--ink);
  cursor: pointer; border: 0; padding: 0; text-align: left; min-width: 0; transition: box-shadow .2s var(--ease); }
.card:hover { box-shadow: 0 8px 24px rgba(20, 36, 140, .12); }
.card:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.card__ph { aspect-ratio: 3 / 4; background: #fff; position: relative; overflow: hidden; }
.card__ph img { width: 100%; height: 100%; object-fit: cover; }
.card__ph .noph, .noph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 13px; }
.badges { position: absolute; left: 8px; top: 8px; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.badge { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: var(--r-pill); font-size: 12.5px; font-weight: 500;
  background: var(--blue); color: #fff; line-height: 1.1; white-space: nowrap; }
.badge--new, .badge--d { background: var(--yellow); color: #000; }
.badge--core { background: #fff; color: var(--blue-ink); }
.badge--liq { background: #000; color: var(--yellow); }
.badge--stock { background: var(--success); color: #fff; }
.badge--ny { background: #d7263d; color: #fff; }           /* сезон (02.12.2026): как плашка лендинга */
.fav { position: absolute; right: 8px; top: 8px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; display: grid; place-items: center;
  color: var(--blue-ink); box-shadow: 0 2px 10px rgba(0, 0, 0, .12); }
.fav .ic { width: 19px; height: 19px; }
.fav.on { background: var(--blue); color: #fff; }
.fav.on .ic { fill: #fff; }
.card__b { padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.card__n { font-size: 15px; line-height: 1.2; font-weight: 500; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__m { font-size: 13px; line-height: 1.25; color: var(--muted); }
.card__p { margin-top: auto; padding-top: 6px; display: flex; align-items: baseline; gap: 4px 8px; flex-wrap: wrap; }
.card__p b { background: var(--yellow); border-radius: var(--r-pill); padding: 2px 10px; font-size: 18px; font-weight: 500; letter-spacing: -.02em; white-space: nowrap; }
.card__p s { color: var(--muted); font-size: 13.5px; }
.card__s { font-size: 13px; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; align-items: center; line-height: 1.25; }
.dots { display: inline-flex; gap: 3px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #c9d3e6; }
.took, .incart { display: inline-flex; align-items: center; min-height: 22px; font-size: 12px; font-weight: 500; border-radius: var(--r-pill); padding: 0 9px; }
.took { color: var(--success); background: var(--success-tint); }
.sold { display: inline-flex; align-items: center; min-height: 22px; font-size: 12px; font-weight: 500; border-radius: var(--r-pill); padding: 0 9px;
  color: var(--blue-ink); background: var(--blue-card); }
.card .sold { background: var(--white); }
.card__k { display: flex; gap: 4px; flex-wrap: wrap; }
@media (max-width: 640px) {                                   /* узкие карточки телефона: текстом, без плашек — плашка ломалась пополам */
  .card__k { flex-direction: column; align-items: flex-start; gap: 2px; }
  .card__k .sold, .card__k .took { min-height: 0; padding: 0; background: none; line-height: 1.25; }
}
.incart { color: #fff; background: var(--blue); }
.more { margin: 32px auto 0; display: flex; }

/* ── фильтры раздела ── */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: var(--r-pill); border: 0; background: var(--surface); font-size: 15px; color: var(--ink);
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; transition: background .15s var(--ease); }
.chip:hover { background: var(--blue-card); }
.chip small { color: var(--muted); font-size: 13px; }
.chip.on { background: var(--blue); color: #fff; }
.chip.on small { color: rgba(255, 255, 255, .75); }
.bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 20px; }
.sel { height: 44px; border-radius: var(--r-pill); border: 0; background: var(--surface); padding: 0 42px 0 18px; font-size: 15px; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; cursor: pointer; }
.sel:hover { background-color: var(--blue-card); }
.cats { flex-wrap: wrap; padding-bottom: 2px; }
.cats::-webkit-scrollbar { display: none; }
.group { margin-bottom: 8px; }
.empty { background: var(--surface); border-radius: var(--r-card); padding: 44px 24px; text-align: center; color: var(--muted); }
.empty b { display: block; color: var(--ink); font-size: 26px; font-weight: 500; letter-spacing: -.035em; margin-bottom: 8px; }

/* ── кнопки и поля ── */
.btn { min-height: 56px; height: auto; padding: 0 28px; border-radius: var(--r-pill); border: 0; background: var(--blue); color: #fff; font-weight: 500; font-size: 17px;
  letter-spacing: -.01em; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; text-decoration: none;
  transition: background .2s, transform .1s var(--ease), box-shadow .2s; }
.btn:hover { background: var(--brand-press); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; cursor: default; transform: none; }
.btn--light, .btn--well { background: var(--surface); color: var(--ink); }
.btn--light:hover, .btn--well:hover { background: var(--blue-card); color: var(--blue-ink); }
.btn--small { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--danger { background: var(--danger-tint); color: var(--danger); }
.btn--danger:hover { background: #f8d6cf; }
.link { border: 0; background: none; color: var(--blue); padding: 0; font-weight: 500; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field span { font-size: 13.5px; color: var(--muted); }
.field input, .field textarea, .field select { min-height: 56px; border-radius: 16px; border: 0; background: var(--surface); padding: 0 18px; outline: none; font-size: 16px; }
.field textarea { min-height: 96px; padding: 14px 18px; resize: vertical; line-height: 1.4; }
.field input:focus, .field textarea:focus, .field select:focus { box-shadow: 0 0 0 2px var(--blue); background: #fff; }
.err { background: var(--danger-tint); color: var(--danger); border-radius: 14px; padding: 12px 14px; font-size: 14px; margin-bottom: 12px; }
.ok-note { background: var(--success-tint); color: var(--success); border-radius: 14px; padding: 12px 14px; font-size: 14px; }

/* ── окно: шторка снизу на телефоне, карточка по центру на компьютере (как окно модели лендинга) ── */
.ov { position: fixed; inset: 0; z-index: 60; background: rgba(8, 14, 46, .55); display: flex; align-items: center; justify-content: center; padding: 24px;
  animation: fade .25s var(--ease); }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(32px); opacity: 0; } }
.win { background: #fff; border-radius: var(--r-card); width: min(1120px, 100%); max-height: calc(100vh - 48px); overflow: auto; position: relative;
  box-shadow: 0 24px 60px rgba(5, 12, 60, .35); animation: up .32s var(--ease); overscroll-behavior: contain; }
.win--narrow { width: min(580px, 100%); }
.win--flex { display: flex; flex-direction: column; overflow: hidden; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); }
.win--flex > .win__scroll { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; }
.win--flex > .pm__foot { position: static; flex: 0 0 auto; }
.win__x { position: absolute; right: 14px; top: 14px; z-index: 3; width: 44px; height: 44px; background: rgba(255, 255, 255, .94); box-shadow: 0 2px 10px rgba(0, 0, 0, .12); }
.win__x:hover { background: var(--surface); }
.win__x .ic { width: 20px; height: 20px; }
.pm { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 32px; padding: 24px 32px 24px 24px; }
.gal { min-width: 0; }
.gal__main { aspect-ratio: 3 / 4; border-radius: var(--r-tile); overflow: hidden; background: var(--surface); position: relative; }
.gal__main img { width: 100%; height: 100%; object-fit: cover; }
.gal__th { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.gal__th::-webkit-scrollbar { display: none; }
.gal__th button { flex: 0 0 64px; height: 86px; border-radius: 12px; overflow: hidden; border: 0; padding: 0; background: var(--surface); box-shadow: inset 0 0 0 2px transparent;
  position: relative; }
.gal__th button.on { box-shadow: 0 0 0 2px var(--blue); }
.gal__th img { width: 100%; height: 100%; object-fit: cover; }
.pm__info { min-width: 0; padding-top: 8px; }
.pm__info h2 { margin: 0 56px 0 0; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.02; letter-spacing: -.04em; }
.pm__meta { margin-top: 8px; color: var(--muted); font-size: 15px; display: flex; flex-wrap: wrap; gap: 2px 0; }
.pm__meta span + span::before { content: "·"; margin: 0 7px; }
.pm__price { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.pm__price b { background: var(--yellow); border-radius: var(--r-pill); padding: 2px 14px; font-weight: 500; font-size: 26px; letter-spacing: -.025em; }
.pm__price s { color: var(--muted); font-size: 17px; }
.pm__price span { font-size: 13.5px; color: var(--muted); }
.pm__tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 14px 0 0; }
.pm__tags:empty { display: none; }
.facts { margin: 22px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; font-size: 15px; }
.facts > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; line-height: 1.3; overflow-wrap: anywhere; }
.facts p { grid-column: 1 / -1; margin: 2px 0 0; color: var(--ink); line-height: 1.45; white-space: pre-line; }
.facts .skel { grid-column: 1 / -1; }
.vc { background: var(--surface); border-radius: var(--r-tile); padding: 14px; margin-bottom: 10px; }
.vc__h { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.vc__h img { width: 44px; height: 58px; border-radius: 10px; object-fit: cover; background: #fff; }
.vc__h b { font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
.vc__h .soft { color: var(--muted) !important; }
.vc__h .pr { margin-left: auto; display: flex; align-items: baseline; gap: 8px; }
.vc__h > div { min-width: 0; flex: 1 1 140px; }
.vc__h .pr b { font-size: 19px; letter-spacing: -.02em; }
.vc__h .pr s { color: var(--muted); font-size: 14px; }
.vc__tools { display: flex; gap: 6px; }
.vc__tools button { height: 36px; padding: 0 14px; border-radius: var(--r-pill); border: 0; background: #fff; color: var(--blue-ink); font-size: 14px; font-weight: 500; }
.vc__tools button:hover { background: var(--blue-card); }
.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.cell { display: grid; gap: 4px; justify-items: center; padding: 8px 4px 8px; border-radius: 14px; background: #fff; cursor: text; transition: background .15s, box-shadow .15s; }
.cell.on { background: var(--blue); }
.cell.on .cell__sz, .cell.on small { color: #fff; }
.cell.over { background: var(--danger-tint); box-shadow: inset 0 0 0 2px var(--danger); }
.cell.over .cell__sz { color: var(--danger); }
.cell__sz { font-size: 13px; font-weight: 600; color: var(--ink); }
.cell input { width: 100%; max-width: 64px; height: 40px; text-align: center; font-size: 17px; font-weight: 500; border: 0; border-radius: 10px;
  background: var(--surface); outline: none; -moz-appearance: textfield; }
.cell.on input { background: #fff; }
.cell input::-webkit-outer-spin-button, .cell input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cell input:focus { box-shadow: 0 0 0 2px var(--yellow); }
.cell input::placeholder { color: #b5bdca; }
.cell small { font-size: 11.5px; color: var(--muted); }
.cell.over small { color: var(--danger); font-weight: 600; }
.favbtn { background: var(--surface); }
.favbtn.on { background: var(--blue); color: #fff; }
.favbtn.on .ic { fill: #fff; }
.pm__foot { position: sticky; bottom: 0; z-index: 2; background: #fff; padding: 14px 32px 16px; display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--line); }
.pm__sum { flex: 1; font-size: 15px; color: var(--muted); line-height: 1.35; }
.pm__sum b { color: var(--ink); font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.pm__foot .btn { min-width: 220px; }
.recs { padding: 0 32px 28px 24px; }
.recs h3 { font-size: 26px; margin: 28px 0 14px; letter-spacing: -.035em; }
.recs .row { grid-auto-columns: calc((100% - 4 * 12px) / 5); gap: 12px; }

/* ── заказ (корзина) ── */
.cart { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; }
.cl { background: var(--surface); border-radius: var(--r-tile); padding: 14px; display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 16px; margin-bottom: 10px; }
.cl img, .cl .noimg { width: 76px; height: 100px; border-radius: 12px; object-fit: cover; background: #fff; display: block; }
.cl .noph { position: static; width: 76px; height: 100px; border-radius: 12px; background: #fff; }
.cl__n { font-weight: 500; font-size: 16px; letter-spacing: -.01em; }
.cl__m { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.cl__sz { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cl__sz span { font-size: 13px; background: #fff; border-radius: var(--r-pill); padding: 4px 10px; }
.cl__sz span.bad { background: var(--danger-tint); color: var(--danger); font-weight: 600; }
.cl__r { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cl__r b { font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
.cl.gone { opacity: .6; }
.sum { background: var(--surface); border-radius: var(--r-card); padding: 24px; position: sticky; top: calc(var(--top-h, 130px) + 14px); }
.sum__row { display: flex; justify-content: space-between; padding: 5px 0; color: var(--muted); }
.sum__row b { color: var(--ink); font-weight: 500; }
.sum__total { display: flex; justify-content: space-between; align-items: center; margin: 12px 0 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.sum__total b { background: var(--yellow); border-radius: var(--r-pill); padding: 2px 14px; font-size: 28px; font-weight: 500; letter-spacing: -.03em; }
.sum .field textarea { background: #fff; }
.done { background: var(--blue); color: #fff; border-radius: var(--r-card); padding: 44px 28px; text-align: center; max-width: 640px; margin: 30px auto; }
.done .soft { color: var(--on-blue-muted); }
.done__num { font-size: 64px; line-height: 1; font-weight: 500; letter-spacing: -.05em; margin: 12px 0; }
.done .btn { background: #fff; color: var(--blue-ink); }
.done .btn--light { background: rgba(255, 255, 255, .14); color: #fff; }

/* ── заказы и документы ── */
.seg { display: inline-flex; background: var(--surface); border-radius: var(--r-pill); padding: 4px; gap: 4px; margin-bottom: 20px; flex-wrap: wrap; }
.seg button { min-height: 42px; padding: 0 18px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--ink); font-size: 15px; }
.seg button:hover { background: #fff; }
.seg button.on { background: var(--blue); color: #fff; }
.ol { display: grid; gap: 10px; }
.oc { background: var(--surface); border-radius: var(--r-tile); padding: 18px 20px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; cursor: pointer; border: 0;
  text-align: left; width: 100%; color: var(--ink); transition: background .15s; }
.oc:hover { background: var(--blue-card); }
.oc__n { font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
.oc__m { color: var(--muted); font-size: 14px; }
.oc__s { text-align: right; }
.oc__s b { font-size: 19px; font-weight: 500; letter-spacing: -.02em; }
.st { display: inline-flex; align-items: center; min-height: 26px; padding: 0 11px; border-radius: var(--r-pill); font-size: 13px; font-weight: 500; background: #fff; color: var(--muted); }
.st--review { background: var(--yellow); color: #000; }
.st--approve { background: var(--blue); color: #fff; }
.st--agreed { background: var(--blue-card); color: var(--blue-ink); }
.st--shipped { background: var(--success-tint); color: var(--success); }
.st--cancelled { background: #fff; color: var(--soft); }
.bars { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.pb { min-width: 150px; }
.pb small { font-size: 12.5px; color: var(--muted); display: block; margin-bottom: 4px; }
.pb i { display: block; height: 6px; border-radius: 3px; background: #fff; overflow: hidden; }
.pb i u { display: block; height: 100%; background: var(--blue); border-radius: 3px; }
.pb.paid i u { background: var(--success); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.kpi { background: var(--surface); border-radius: var(--r-tile); padding: 20px; }
.kpi span { font-size: 14px; color: var(--muted); }
.kpi b { display: block; font-size: 30px; font-weight: 500; letter-spacing: -.04em; margin-top: 6px; }
.kpi.warn { background: var(--accent-tint); }
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border-radius: var(--r-tile); overflow: hidden; font-size: 14.5px; }
.tbl th { text-align: left; font-weight: 400; color: var(--muted); font-size: 13px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 12px 16px; border-bottom: 1px solid #fff; vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .r { text-align: right; white-space: nowrap; }
.od { background: var(--surface); border-radius: var(--r-card); padding: 26px; }
.od__h { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.od__h h2 { margin: 0; font-size: 30px; letter-spacing: -.04em; }
.od__acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.od__acts .btn--light { background: #fff; }
.od__note { background: #fff; border-radius: 14px; padding: 12px 14px; margin-top: 14px; font-size: 14.5px; }
.ln { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; padding: 12px 0; border-top: 1px solid #fff; align-items: center; }
.ln img, .ln .noimg { width: 52px; height: 68px; border-radius: 10px; object-fit: cover; background: #fff; }

/* ── профиль ── */
.prof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.box { background: var(--surface); border-radius: var(--r-card); padding: 26px; }
.box h3 { margin: 0 0 14px; font-size: 24px; }
.kv { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 10px 12px; font-size: 15px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; overflow-wrap: anywhere; }

/* ── вход: синий лист слева, форма справа ── */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 16px; }
.auth__side { background: var(--blue); color: #fff; border-radius: var(--r-sheet); padding: 48px; display: flex; flex-direction: column; justify-content: space-between;
  gap: 32px; position: relative; overflow: hidden; }
.auth__side .mark { color: #fff; align-self: flex-start; }
.auth__side .mark small { color: var(--on-blue-muted); }
.auth__side h1 { font-size: clamp(36px, 4.2vw, 60px); line-height: .98; letter-spacing: -.045em; margin: 0 0 24px; max-width: 600px; }
.auth__side ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; font-size: 17px; }
.auth__side li { position: relative; padding-left: 22px; }
.auth__side li::before { content: ""; position: absolute; left: 2px; top: .52em; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); }
.auth__side li .ic { display: none; }
.auth__side > span { color: var(--on-blue-muted); opacity: 1 !important; }
.auth__form { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth__card { width: min(440px, 100%); }
.auth__card h2 { font-size: 40px; line-height: 1; letter-spacing: -.045em; margin: 0 0 12px; }
.auth__card > p { color: var(--muted); margin: 0 0 26px; }
.auth__alt { margin-top: 22px; text-align: center; color: var(--muted); font-size: 15px; }

/* ── мелочи ── */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 90; background: #0b1236; color: #fff; padding: 14px 20px;
  border-radius: 18px; font-size: 15px; box-shadow: var(--shadow-float); animation: up .25s var(--ease); max-width: calc(100vw - 32px); }
.skel { background: linear-gradient(90deg, var(--well) 25%, #f6f9fd 50%, var(--well) 75%); background-size: 200% 100%; animation: sk 1.2s infinite linear; border-radius: var(--r-tile); }
@keyframes sk { to { background-position: -200% 0; } }
.spin { width: 30px; height: 30px; border: 3px solid var(--blue-card); border-top-color: var(--blue); border-radius: 50%; animation: rot .8s linear infinite; margin: 48px auto; }
@keyframes rot { to { transform: rotate(360deg); } }
.dock { display: none; }
.sheet-menu { display: none; }

/* ── планшет ── */
@media (max-width: 1180px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .row { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
  .hero { grid-template-columns: minmax(0, 1fr) 320px; padding: 40px 36px 36px; }
}
@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .row { grid-auto-columns: calc((100% - 2 * 16px) / 3); }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cart { grid-template-columns: minmax(0, 1fr); }
  .sum { position: static; }
  .pm { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .gal { max-width: 440px; }
  .pm__foot { padding: 14px 20px 16px; }
  .recs { padding: 0 20px 24px; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .prof { grid-template-columns: minmax(0, 1fr); }
  .auth { grid-template-columns: 1fr; }
  .auth__side { padding: 28px 24px; }
  .auth__side ul { display: none; }
  .recs .row { grid-auto-columns: calc((100% - 2 * 12px) / 3); }
}
@media (max-width: 1100px) { .top__in { gap: 12px; } .search { flex-basis: 200px; } }

/* ── телефон ── */
@media (max-width: 640px) {
  :root { --head: 60px; }
  .top__in { gap: 8px; }
  .mark b { font-size: 20px; }
  .mark small { font-size: 11.5px; }
  .search { display: none; }
  .search.open { display: block; position: absolute; left: 12px; right: 12px; top: 6px; max-width: none; z-index: 2; }
  .search.open input { box-shadow: 0 0 0 2px var(--blue), var(--shadow-float); background: #fff; }
  .tools { margin-left: auto; gap: 6px; }
  .round { width: 44px; height: 44px; }
  .tools .cartbtn, .tools [data-go="orders"], .tools [data-go="docs"] { display: none; }
  .menu-btn { display: grid; }
  .search-btn { display: grid !important; }
  .tabs { width: auto; max-width: none; margin: 0 var(--gutter) 10px; }
  .tabs a { min-height: 40px; padding: 0 14px; font-size: 14.5px; }
  main { padding: 14px var(--gutter) 110px; }
  .page-h { margin: 8px 0 18px; }
  .page-h p { font-size: 15.5px; }
  h2.sec { margin: 36px 0 14px; }
  h2.sec small { font-size: 14px; order: 3; flex-basis: 100%; }
  h2.sec a { min-height: 36px; font-size: 14px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; }
  .cats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter));
    padding: 0 var(--gutter) 2px; }
  .chip { min-height: 40px; padding: 0 14px; font-size: 14.5px; flex: 0 0 auto; }
  .win--flex { max-height: 94vh; max-height: 94dvh; }
  .row { grid-auto-columns: 46%; gap: 10px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scroll-padding-inline: var(--gutter); }
  .card__b { padding: 10px 10px 12px; }
  .card__n { font-size: 14px; }
  .card__p b { font-size: 16px; padding: 1px 9px; }
  .fav { width: 36px; height: 36px; right: 6px; top: 6px; }
  .badges { left: 6px; top: 6px; }
  .badge { min-height: 24px; padding: 0 9px; font-size: 12px; }
  .hero { padding: 28px 20px 20px; gap: 24px; }
  .hero__main { gap: 14px; }
  .hero__main p { font-size: 15.5px; }
  .hero__facts { gap: 18px 28px; }
  .mgr { padding: 18px; }
  .mgr__n { font-size: 21px; }
  .mgr > .muted, .mgr .btn--block { display: none; }
  .tiles { gap: 10px; }
  .tile { min-height: 132px; padding: 16px 14px 14px; }
  .tile::after { width: 32px; height: 32px; right: 10px; top: 10px; background-size: 15px; }
  .tile b { font-size: 19px; padding-right: 34px; }
  .tile span { font-size: 13px; }
  .tile i { font-size: 30px; }
  .tile i small { font-size: 12.5px; }
  .promo-pre, .promo-ask { flex-direction: column; align-items: flex-start; padding: 18px; }
  .promo-pre .btn, .promo-ask .btn { width: 100%; }
  .ov { padding: 0; align-items: flex-end; }
  .win { border-radius: var(--r-sheet) var(--r-sheet) 0 0; max-height: 94vh; max-height: 94dvh; width: 100%; animation-duration: .35s; }
  .pm { padding: 12px 12px 8px; gap: 16px; }
  .pm__info { padding: 0 4px; }
  .gal { max-width: none; }
  .gal__main { aspect-ratio: auto; height: 46vh; }
  .gal__th button { flex-basis: 52px; height: 70px; }
  .pm__info h2 { font-size: 26px; margin-right: 0; }
  .pm__price b { font-size: 22px; }
  .facts { gap: 12px 14px; }
  .vc { padding: 12px; }
  .sizes { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 6px; }
  .pm__foot { padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); }
  .pm__foot .btn { flex: 1; min-width: 0; }
  .pm__sum { flex: 0 0 auto; max-width: 45%; font-size: 13.5px; }
  .pm__sum b { font-size: 17px; }
  .recs { padding: 0 var(--gutter) 18px; }
  .recs h3 { font-size: 22px; }
  .recs .row { grid-auto-columns: 44%; }
  .cl { grid-template-columns: 60px minmax(0, 1fr); gap: 12px; }
  .cl img, .cl .noimg, .cl .noph { width: 60px; height: 80px; }
  .cl__r { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .kpis { grid-template-columns: 1fr 1fr; gap: 8px; }
  .kpi { padding: 16px; }
  .kpi b { font-size: 22px; }
  .tbl { font-size: 13.5px; }
  .tbl th, .tbl td { padding: 10px; }
  .tbl .hide-m { display: none; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 8px; }
  /* корзина заказа — кнопка внизу экрана с жёлтым свечением, как «Получить доступ» на лендинге */
  .dock { display: flex; position: fixed; left: 50%; transform: translateX(-50%); width: min(358px, calc(100% - 32px));
    bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; }
  .dock .cartbtn { width: 100%; height: 56px; justify-content: space-between; padding: 0 22px; font-size: 16px; box-shadow: var(--glow); }
  .dock .cartbtn > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
  .dock .cartbtn.is-empty { display: none; }
  .sheet-menu { display: block; }
  .od { padding: 18px; }
  .box { padding: 20px; }
  .auth { padding: 0; gap: 0; }
  .auth__side { border-radius: 0 0 var(--r-sheet) var(--r-sheet); }
  .auth__side h1 { font-size: 32px; margin-bottom: 0; }
  .auth__form { padding: 28px var(--gutter) 40px; align-items: flex-start; }
  .auth__card h2 { font-size: 32px; }
  .done { padding: 32px 20px; }
  .done__num { font-size: 48px; }
}
.drawer { position: fixed; inset: 0; z-index: 70; background: rgba(8, 14, 46, .55); display: flex; justify-content: flex-end; animation: fade .2s; }
.drawer__in { width: min(360px, 88vw); background: #fff; height: 100%; padding: 16px; display: flex; flex-direction: column; gap: 8px; animation: slide .3s var(--ease);
  border-radius: var(--r-sheet) 0 0 var(--r-sheet); overflow-y: auto; }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.drawer__in a { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 18px; border-radius: var(--r-tile); background: var(--surface); color: var(--ink);
  font-size: 17px; letter-spacing: -.01em; }
.drawer__in a:hover { background: var(--blue-card); }
.drawer__in a .ic { color: var(--blue); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ── синий лист вверху публичных страниц: предзаказ по ссылке, «Хочу», голосования, подборка ── */
.po-hero { background: var(--blue); color: #fff; border-radius: var(--r-sheet); padding: 44px 48px; margin: 4px 0 20px; position: relative; overflow: hidden; }
.po-hero > div { max-width: 820px; }
.po-hero h1 { margin: 0 0 16px; font-size: clamp(34px, 4.4vw, 56px); line-height: .98; letter-spacing: -.045em; }
.po-hero h1 em { font-style: normal; color: var(--yellow); }
.po-hero p { margin: 0 0 12px; color: var(--on-blue-muted); max-width: 760px; font-size: 17px; }
.po-hero p:last-child { margin-bottom: 0; }
.po-hero .tag { margin-bottom: 18px; }
.po-hero a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.po-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; max-width: 720px; }
.po-list li { position: relative; padding-left: 22px; font-size: 17px; line-height: 1.4; }
.po-list li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); }
.po-list li span { color: var(--on-blue-muted); }
.po-who { margin-left: auto; font-weight: 500; font-size: 14.5px; color: var(--muted); text-align: right; max-width: 50%; line-height: 1.2; }

/* ── предзаказ (13.11.2026): фото — левая часть карточки PDF 720×900 (27…453 × 94…693), обрезка стилями ── */
.po-ph { display: block; position: relative; width: 100%; height: 100%; overflow: hidden; background: #efe9e2; }
.po-ph img, .card__ph .po-ph img { position: absolute; width: 169.01%; height: auto; max-width: none; object-fit: fill; left: -6.338%; top: -15.667%; }
.po-ph--none { display: grid; place-items: center; color: var(--muted); font-size: 13px; }
.po-ph--none i { font-style: normal; }
.po-card .card__ph { aspect-ratio: 426 / 600; }
.po-price { display: flex; gap: 10px 22px; align-items: flex-end; margin: 16px 0 4px; flex-wrap: wrap; }
.po-price div { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.po-price b { background: var(--yellow); border-radius: var(--r-pill); padding: 2px 14px; font-size: 26px; font-weight: 500; letter-spacing: -.025em; line-height: 1.3; }
.po-price s { font-size: 20px; color: var(--muted); line-height: 1.5; }
.po-price span { font-size: 13px; color: var(--muted); }
.po-pm .gal { max-width: 420px; }
.po-card-img { aspect-ratio: 720 / 900; background: #efe9e2; }
.po-card-img img { width: 100%; height: 100%; object-fit: contain; }
.po-bar { position: sticky; bottom: 14px; z-index: 20; margin-top: 18px; }
.po-bar__in { background: var(--blue); color: #fff; border-radius: var(--r-pill); padding: 10px 10px 10px 24px; display: flex; align-items: center; gap: 14px;
  justify-content: space-between; box-shadow: var(--shadow-float); max-width: 720px; margin: 0 auto; }
.po-bar__in b { display: block; font-size: 18px; font-weight: 500; }
.po-bar__in span { font-size: 13.5px; color: var(--on-blue-muted); }
.po-bar__in .btn { background: var(--yellow); color: #000; }
.po-review { padding: 28px 28px 24px; }
.po-review h2 { margin: 0 56px 10px 0; font-size: 32px; line-height: 1.02; letter-spacing: -.04em; }
.po-review > p { margin: 0 0 12px; }
.po-review .tbl { margin: 12px 0; }
/* предзаказ: остаток пришедшего товара (02.12.2026) — значок на плитке, строка «В наличии» и «На складе» у цвета в окне модели */
.po-stk { margin-top: 3px; font-size: 12.5px; font-weight: 500; color: var(--success); line-height: 1.35; }
.po-stk span { white-space: nowrap; }
.facts .po-stk-row { grid-column: 1 / -1; }
.facts .po-stk-row dd b { color: var(--success); }
.facts .po-stk-row .soft { font-weight: 400; }
/* цвет с фото 1С (02.12.2026): кнопка-фото слева, своя цена справа — у цветов «в наличии», когда она не та, что вверху окна */
.vc__ph { flex: none; width: 44px; height: 58px; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: #fff; cursor: zoom-in; }
.vc__ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vc__h .pr small { font-size: 12px; color: var(--muted); }
/* раздел «В наличии» среди категорий (02.12.2026) — зелёный, как значок «в наличии» на плитке */
.chip.chip--stock { background: var(--success-tint); color: var(--success); font-weight: 500; }
.chip.chip--stock small { color: var(--success); opacity: .75; }
.chip.chip--stock.on { background: var(--success); color: #fff; }
.chip.chip--stock.on small { color: rgba(255, 255, 255, .8); opacity: 1; }

/* предзаказ: панель «Отправить предзаказ» вверху (23.11.2026) — с выбором прилипает под шапкой */
.po-send { margin: 0 0 14px; z-index: 20; }
.po-send.is-todo { position: sticky; top: calc(var(--po-top, var(--head)) + 8px); }
.po-send__in { display: flex; align-items: center; gap: 16px; border-radius: var(--r-tile); padding: 14px 14px 14px 22px; background: var(--surface); }
.po-send__t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.po-send__t b { font-size: 20px; line-height: 1.15; font-weight: 500; letter-spacing: -.025em; }
.po-send__t span { font-size: 14px; line-height: 1.3; color: var(--muted); }
.po-send .btn { flex: 0 0 auto; }
.po-send.is-todo .po-send__in { background: var(--blue); color: #fff; box-shadow: 0 12px 32px rgba(20, 36, 140, .28); }
.po-send.is-todo .po-send__t span { color: var(--on-blue-muted); }
.po-send.is-todo .btn { background: var(--yellow); color: #000; }
.po-send.is-todo .btn:hover { background: #ffd24f; }
.po-send.is-sent .po-send__in { background: var(--blue-card); padding-left: 14px; }
.po-send__ok { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.po-send.is-empty .po-send__in { background: var(--surface); }
.po-leave { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
/* страница по личной ссылке: чей это предзаказ (23.11.2026, «Жук» №98) — белая плашка на синем листе */
.po-for { display: flex; align-items: center; gap: 14px; background: #fff; color: var(--ink); border-radius: var(--r-tile); padding: 14px 20px 14px 14px; margin: 0 0 14px; }
.po-hero .po-for { margin: 28px 0 0; max-width: 720px; }
.po-for > .ic { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--yellow); color: #000; }
.po-for b { display: block; font-size: 18px; line-height: 1.25; font-weight: 400; letter-spacing: -.01em; }
.po-for b span { font-weight: 600; }
.po-for small { display: block; font-size: 13.5px; line-height: 1.3; color: var(--muted); margin-top: 3px; }
.po-for--win { margin: 12px 0 14px; background: var(--accent-tint); }
@media (max-width: 640px) {
  .po-hero { padding: 28px 20px 22px; margin-top: 0; }
  .po-hero h1 { margin-bottom: 14px; }
  .po-hero p { font-size: 15.5px; }
  .po-list { gap: 10px; }
  .po-list li { font-size: 15.5px; padding-left: 20px; }
  .po-hero .po-for { margin-top: 22px; }
  .po-who { font-size: 13px; }
  .po-bar { bottom: calc(10px + env(safe-area-inset-bottom)); }
  .po-pm .gal { max-width: none; }
  .po-pm .gal__main.po-card-img { height: 46vh; aspect-ratio: auto; }
  .po-review { padding: 24px var(--gutter) 18px; }
  .po-review h2 { font-size: 28px; }
  .po-price b { font-size: 22px; }
  .po-for { gap: 12px; padding: 12px 14px 12px 12px; }
  .po-for > .ic { width: 38px; height: 38px; padding: 8px; }
  .po-for b { font-size: 16px; }
  .po-for small { font-size: 12.5px; }
  .po-send__in { flex-wrap: wrap; gap: 12px; padding: 14px; }
  .po-send.is-sent .po-send__in { padding-left: 14px; }
  .po-send__t { flex-basis: calc(100% - 60px); }
  .po-send__t b { font-size: 18px; }
  .po-send__t span { font-size: 13px; }
  .po-send .btn { width: 100%; min-height: 48px; font-size: 16px; }
  .po-send__ok { width: 38px; height: 38px; }
}

/* предзаказ: фото на весь экран (26.11.2026, «Жук» №102) — нажатие на фото в окне модели; zoom.js */
.po-zoom { position: relative; cursor: zoom-in; }
.po-zoom:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.po-zoom__tip { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px 0 11px;
  border-radius: var(--r-pill); background: #fff; color: var(--ink); font-size: 14px; font-weight: 500; box-shadow: 0 2px 10px rgba(0, 0, 0, .14); pointer-events: none; }
.po-zoom__tip .ic { width: 18px; height: 18px; }
.zm { position: fixed; inset: 0; z-index: 90; background: rgba(8, 10, 24, .96); animation: fade .18s var(--ease); -webkit-user-select: none; user-select: none; }
.zm__stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: none; cursor: zoom-in; }
.zm.is-z .zm__stage { cursor: grab; }
.zm.is-z .zm__stage:active { cursor: grabbing; }
.zm__img { max-width: 100%; max-height: 100%; object-fit: contain; transform-origin: 50% 50%; will-change: transform; -webkit-user-drag: none; }
.zm__x, .zm__nav { position: absolute; z-index: 2; border: 0; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.zm__x:hover, .zm__nav:hover { background: var(--blue-card); }
.zm__x { top: calc(12px + env(safe-area-inset-top)); right: 12px; width: 48px; height: 48px; }
.zm__nav { top: 50%; width: 52px; height: 52px; transform: translateY(-50%); }
.zm__nav--p { left: 16px; }
.zm__nav--n { right: 16px; background: var(--blue); color: #fff; }
.zm__nav--n:hover { background: var(--brand-press); }
.zm__x .ic, .zm__nav .ic { width: 24px; height: 24px; }
.zm__cnt { position: absolute; z-index: 2; top: calc(22px + env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); color: var(--ink); font-size: 14px; font-weight: 500;
  background: #fff; padding: 5px 14px; border-radius: var(--r-pill); pointer-events: none; }
.zm__hint { position: absolute; z-index: 2; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px);
  text-align: center; color: #fff; font-size: 14px; line-height: 19px; background: rgba(51, 76, 219, .92); padding: 9px 16px; border-radius: var(--r-pill); pointer-events: none;
  transition: opacity .4s; }
.zm__hint.off { opacity: 0; }
@media (pointer: coarse) { .zm__nav { display: none; } }

/* поиск по артикулу и названию на странице предзаказа (01.12.2026, «Жук» №114) — как строка каталога на лендинге */
.po-find { position: relative; max-width: 640px; margin: 0 0 12px; }
.po-find__f { display: block; }
.po-find__f .ic { position: absolute; left: 20px; top: 19px; width: 22px; height: 22px; color: var(--muted); pointer-events: none; }
.po-find input { width: 100%; box-sizing: border-box; height: 60px; padding: 0 58px 0 54px; border-radius: var(--r-pill); border: 0; background: var(--surface);
  color: var(--ink); font: inherit; font-size: 17px; outline: none; -webkit-appearance: none; appearance: none; }
.po-find input:focus { box-shadow: 0 0 0 2px var(--blue); }
.po-find input::placeholder { color: #8a909b; }
.po-find input::-webkit-search-cancel-button, .po-find input::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.po-find__x { position: absolute; right: 8px; top: 8px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--ink);
  display: grid; place-items: center; cursor: pointer; padding: 0; }
.po-find__x .ic { width: 18px; height: 18px; }
.po-nf { margin: 6px 0 0; }
/* «Скачать каталог (PDF)» под панелью «Отправить» (26.11.2026) */
.po-dl { margin: 0 0 18px; }
.po-dl .btn { min-height: 56px; padding: 6px 24px 6px 8px; gap: 12px; background: var(--surface); color: var(--ink); justify-content: flex-start; white-space: normal; text-align: left; }
.po-dl .btn:hover { background: var(--blue-card); }
.po-dl .btn .ic { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: #fff; color: var(--blue); }
.po-dl .btn span { font-weight: 500; }
.po-dl .btn small { font-size: 13.5px; font-weight: 400; color: var(--muted); }
@media (max-width: 640px) {
  .po-dl .btn { width: 100%; flex-wrap: wrap; gap: 0 12px; padding: 8px 18px 8px 8px; }
  .po-dl .btn .ic { grid-row: span 2; }
  .po-dl .btn { display: grid; grid-template-columns: 40px 1fr; align-items: center; }
  .po-dl .btn small { grid-column: 2; }
  .po-find input { height: 56px; font-size: 16px; }
  .po-find__f .ic { top: 17px; }
  .po-find__x { top: 6px; }
}
/* предзаказ: «Корзина» (26.11.2026, «Жук» №103) — строки по цветам, количество правится в окне; «Точно N шт.?» */
.po-send__b { display: flex; gap: 8px; flex: 0 0 auto; }
.po-send.is-todo .po-send__b .btn[data-mine] { background: rgba(255, 255, 255, .16); color: #fff; }
.po-send.is-todo .po-send__b .btn[data-mine]:hover { background: rgba(255, 255, 255, .28); }
.po-send.is-sent .po-send__b .btn[data-mine] { background: #fff; color: var(--blue-ink); }
.po-lines { display: grid; gap: 10px; margin: 16px 0 18px; }
.po-line { background: var(--surface); border-radius: var(--r-tile); padding: 14px; }
.po-line__h { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.po-line__h .sw--lg { width: 32px; height: 32px; }
.po-line__n { flex: 1 1 auto; min-width: 0; }
.po-line__n b { display: block; font-size: 16px; line-height: 1.2; font-weight: 500; letter-spacing: -.01em; }
.po-line__n small { display: block; font-size: 13px; line-height: 1.3; color: var(--muted); margin-top: 2px; }
.po-line__rm { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 14px 0 10px; border: 0; border-radius: var(--r-pill);
  background: #fff; color: var(--ink); font-size: 14px; font-weight: 500; cursor: pointer; }
.po-line__rm:hover { background: var(--danger-tint); color: var(--danger); }
.po-line__rm .ic { width: 17px; height: 17px; }
.po-line .sizes { grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); }
.po-line__f { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 34px; margin-top: 10px; font-size: 14px; color: var(--muted); }
.po-line__f b { color: var(--ink); font-weight: 500; }
.po-line__back { height: 34px; padding: 0 16px; border: 0; border-radius: var(--r-pill); background: var(--blue); color: #fff; font-weight: 500; font-size: 14px; cursor: pointer; }
.po-line.is-gone { background: transparent; box-shadow: inset 0 0 0 2px var(--surface); }
.po-line.is-gone .sizes, .po-line.is-gone .po-line__rm { display: none; }
.po-line.is-gone .po-line__n { opacity: .55; }
.po-line.is-gone .po-line__h { margin-bottom: 0; }
.po-none { padding: 20px; border-radius: var(--r-tile); background: var(--surface); color: var(--muted); text-align: center; }
.po-wait { color: var(--danger); font-weight: 500; }
.po-pm .cell.over input, .po-line .cell.over input { box-shadow: inset 0 0 0 2px var(--danger); }
.cell .po-ask { color: var(--danger); font-weight: 600; }
.po-big p { margin: 8px 0; }
.po-mine__foot .btn:disabled { opacity: .45; }
.po-review .field textarea { min-height: 84px; }
@media (max-width: 640px) {
  .po-send__b { width: 100%; }
  .po-send__b .btn { width: auto; flex: 1 1 0; min-width: 0; padding: 0 14px; font-size: 15.5px; }
  .po-send__b .btn[data-mine] { flex: 0 0 auto; padding: 0 16px; }
  .po-line { padding: 12px; }
  .zm__hint { font-size: 13px; line-height: 17px; }
}

/* предзаказ: «Корзина», «Перейти в корзину», «нравится / не нравится» и «Что не так?» (27.11.2026, «Жук» №106) */
.po-send__b .btn[data-mine] { gap: 7px; }
.po-send__b .btn[data-mine] .ic { width: 20px; height: 20px; }
/* «Перейти в корзину» — главная кнопка внизу, с жёлтым свечением, как «Получить доступ» на лендинге; на компьютере — справа */
.po-go { position: fixed; z-index: 35; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; height: 60px; padding: 0 30px 0 24px; border: 0; border-radius: var(--r-pill); background: var(--blue); color: #fff; font: inherit;
  font-size: 17px; font-weight: 500; letter-spacing: -.01em; box-shadow: var(--glow); cursor: pointer; animation: fade .2s var(--ease); }
.po-go:hover { background: var(--brand-press); }
.po-go:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; }
.po-go .ic { width: 22px; height: 22px; flex: 0 0 auto; }
.po-go b { font-weight: 600; }
.po-go[hidden], .po-go-sp[hidden] { display: none; }
.po-go-sp { height: 88px; }
body:has(.po-go:not([hidden])) .toast { bottom: calc(100px + env(safe-area-inset-bottom)); }   /* подсказка — над «Перейти в корзину» */
.po-rate { position: absolute; right: 8px; bottom: 8px; z-index: 1; display: flex; gap: 6px; }
.po-rate__b { width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: #fff;
  color: var(--ink); box-shadow: 0 2px 10px rgba(0, 0, 0, .14); cursor: pointer; transition: background .15s, color .15s, transform .15s var(--ease); }
.po-rate__b .ic { width: 19px; height: 19px; }
.po-rate__b:hover { transform: scale(1.07); }
.po-rate__b:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.po-rate__b--up.on { background: var(--blue); color: #fff; }
.po-rate__b--down.on { background: var(--danger); color: #fff; }
.po-rrow { display: grid; grid-template-columns: 1fr auto; gap: 10px 14px; align-items: center; margin: 18px 0 4px; padding: 14px 14px 14px 18px;
  border-radius: var(--r-tile); background: var(--surface); }
.po-rrow__q b { display: block; font-size: 16px; line-height: 1.25; font-weight: 500; letter-spacing: -.01em; }
.po-rrow__q small { display: block; font-size: 13px; line-height: 1.3; color: var(--muted); margin-top: 3px; }
.po-rrow__b { display: flex; gap: 8px; }
.po-rbtn { display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 18px 0 14px; border: 0; border-radius: var(--r-pill);
  background: #fff; color: var(--ink); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: background .15s; }
.po-rbtn .ic { width: 19px; height: 19px; }
.po-rbtn:hover { background: var(--blue-card); }
.po-rbtn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.po-rbtn--up.on { background: var(--blue); color: #fff; }
.po-rbtn--down.on { background: var(--danger); color: #fff; }
.po-rrow__why { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; font-size: 14px; line-height: 1.3; color: var(--muted); }
.po-rrow__why:empty { display: none; }
.po-link { border: 0; background: none; padding: 0; color: var(--blue); font: inherit; font-weight: 500; cursor: pointer; text-decoration: underline;
  text-underline-offset: 3px; }
.po-why__c { margin: 16px 0 18px; }
.po-why .chip.on { background: var(--blue); }
@media (max-width: 640px) {
  .po-go { left: 50%; right: auto; transform: translateX(-50%); width: min(358px, calc(100% - 32px)); bottom: calc(16px + env(safe-area-inset-bottom));
    height: 56px; padding: 0 18px; font-size: 16px; }
  .po-go-sp { height: 80px; }
  body:has(.po-go:not([hidden])) .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .po-rate { right: 6px; bottom: 6px; gap: 5px; }
  .po-rate__b { width: 36px; height: 36px; }
  .po-rrow { grid-template-columns: 1fr; padding: 12px; }
  .po-rbtn { flex: 1 1 0; justify-content: center; }
}

/* ── «Хочу» — страница для физлиц (13.11.2026): кружки цветов, выбор цвета и размера ── */
.hw-card .card__ph { aspect-ratio: 426 / 600; }
.hw-card .card__ph img { width: 100%; height: 100%; object-fit: cover; }
.hw-want { margin-top: 10px; width: 100%; min-height: 44px; font-size: 15px; background: #fff; color: var(--blue-ink); }
.hw-want:hover { background: var(--blue); color: #fff; }
.hw-want.on { background: var(--blue); color: #fff; }
.hw-want .ic { width: 18px; height: 18px; }
.hw-hero { background: var(--blue); }

/* кружок цвета из названия: --c1 основной, --c2 второй (половина, горох, рисунок, клетка) */
.sw { display: inline-block; width: 16px; height: 16px; border-radius: 50%; flex: 0 0 auto; background: var(--c1);
  box-shadow: inset 0 0 0 1px rgba(11, 13, 18, .14); }
.sw--light { box-shadow: inset 0 0 0 1px rgba(11, 13, 18, .26); }
.sw--split { background: linear-gradient(135deg, var(--c1) 50%, var(--c2) 50%); }
.sw--dots { background: radial-gradient(circle, var(--c2) 26%, transparent 29%) 0 0 / 30% 30%, var(--c1); }
.sw--print { background: radial-gradient(circle at 30% 32%, var(--c2) 13%, transparent 15%), radial-gradient(circle at 68% 48%, var(--c2) 11%, transparent 13%),
  radial-gradient(circle at 40% 72%, var(--c2) 12%, transparent 14%), var(--c1); }
.sw--check { background: repeating-linear-gradient(0deg, color-mix(in srgb, var(--c2) 70%, transparent) 0 18%, transparent 18% 36%),
  repeating-linear-gradient(90deg, color-mix(in srgb, var(--c2) 70%, transparent) 0 18%, transparent 18% 36%), var(--c1); }
.sw--melange { background: radial-gradient(circle, rgba(255, 255, 255, .45) 20%, transparent 22%) 0 0 / 22% 22%,
  radial-gradient(circle, rgba(0, 0, 0, .14) 20%, transparent 22%) 11% 11% / 22% 22%, var(--c1); }
.sw--multi { background: conic-gradient(#e64a4a, #f4cf3f, #3f9b5f, #29b4b2, #2c4fb8, #a97bca, #e64a4a); }
.sw--none { background: repeating-linear-gradient(135deg, var(--well) 0 4px, #fff 4px 8px); }
.vc__h .sw--lg { width: 32px; height: 32px; }
.po-col { min-width: 110px; }
.po-col span.po-col__in { display: inline-flex; gap: 6px; align-items: flex-start; }
.po-col .sw { width: 14px; height: 14px; margin-top: 4px; }

.sw-dots { display: flex; align-items: center; gap: 4px; margin-top: 4px; min-height: 18px; }
.sw-dots small { margin-left: 4px; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

.hw-pm .gal { max-width: 400px; }
.hw-pm .gal__main { aspect-ratio: 426 / 600; }
.hw-pm .gal__main img { width: 100%; height: 100%; object-fit: cover; }
.hw-colors { background: var(--surface); border-radius: var(--r-tile); padding: 16px 18px; margin: 16px 0 12px; }
.hw-colors__h { font-size: 15px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.hw-colors__h b { font-weight: 500; }
.hw-colors__h span { color: var(--muted); font-size: 13.5px; }
.hw-sws { display: flex; flex-wrap: wrap; gap: 10px; }
.hw-sw { position: relative; width: 48px; height: 48px; border-radius: 50%; border: 0; padding: 4px; background: #fff; cursor: pointer;
  box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .15s; }
.hw-sw .sw { width: 40px; height: 40px; }
.hw-sw:hover { box-shadow: inset 0 0 0 2px var(--line); }
.hw-sw.on { box-shadow: inset 0 0 0 2px var(--blue); }
.hw-sw:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.hw-sw__ok { position: absolute; right: -2px; top: -2px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue); color: #fff;
  display: none; place-items: center; box-shadow: 0 0 0 2px #fff; }
.hw-sw__ok .ic { width: 12px; height: 12px; }
.hw-sw.voted .hw-sw__ok { display: grid; }
.hw-pick { margin: 0 0 4px; }
.hw-pick__h { font-size: 15px; font-weight: 500; margin: 6px 0 10px; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.hw-pick__h span { font-weight: 400; color: var(--muted); font-size: 13.5px; }
.hw-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.hw-sz { background: var(--surface); }
.hw-sz.on { background: var(--blue); color: #fff; }
.hw-sz .ic { width: 16px; height: 16px; }
.hw-one { width: 100%; max-width: 380px; background: var(--blue-card); color: var(--blue-ink); }
.hw-one:hover { background: var(--blue); color: #fff; }
.hw-one.on { background: var(--blue); color: #fff; }
.hw-one .ic { width: 18px; height: 18px; }
.hw-descr { margin: 0 0 14px; color: var(--ink); font-size: 15.5px; }
.hw-facts { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.hw-facts li { display: flex; gap: 8px; align-items: center; }
.hw-facts .ic { width: 18px; height: 18px; color: var(--blue); flex: 0 0 auto; }
.hw-sum { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; }
@media (max-width: 640px) {
  .hw-pm .gal { max-width: none; }
  .hw-pm .gal__main { height: 44vh; aspect-ratio: auto; }
  .hw-sw { width: 46px; height: 46px; }
  .hw-sw .sw { width: 38px; height: 38px; }
}

/* ── «Хочу»: вкладки, опрос «Хочу / Не хочу», идеи (16.11.2026) ── */
.hw-tabs { margin: 0 0 18px; }
.hw-tabs button { display: inline-flex; align-items: center; gap: 6px; }
.hw-tabs small { min-width: 22px; height: 20px; padding: 0 6px; border-radius: var(--r-pill); background: var(--yellow); color: #000;
  font-size: 12px; font-weight: 600; display: inline-grid; place-items: center; }
.hw-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.hw-cta .btn { background: #fff; color: var(--blue-ink); }
.hw-cta .btn:hover { background: var(--blue-card); }
.hw-cta .btn--light { background: rgba(255, 255, 255, .16); color: #fff; }
.hw-cta .btn--light:hover { background: rgba(255, 255, 255, .28); color: #fff; }
.hw-cta .ic { width: 18px; height: 18px; margin-right: 6px; }
.lnk { border: 0; background: none; padding: 8px 4px; color: var(--blue); font-weight: 500; font-size: 15px; display: inline-flex; align-items: center; gap: 4px; }
.lnk .ic { width: 16px; height: 16px; }
.lnk:hover { color: var(--blue-ink); }
.po-hero .lnk { color: #fff; }
.hw-poll { max-width: 480px; margin: 0 auto; }
.hw-poll__top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.hw-poll__top b { font-size: 24px; font-weight: 500; letter-spacing: -.035em; }
.hw-poll__top span { color: var(--muted); font-size: 14px; }
.hw-prog { height: 6px; border-radius: 3px; background: var(--surface); overflow: hidden; margin-bottom: 16px; }
.hw-prog i { display: block; height: 100%; background: var(--blue); border-radius: 3px; transition: width .3s var(--ease); }
.hw-pc { background: var(--surface); border-radius: var(--r-card); overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  transition: transform .25s var(--ease); position: relative; }
.hw-pc__ph { aspect-ratio: 426 / 600; max-height: 48vh; width: 100%; background: var(--well); position: relative; overflow: hidden; }
.hw-pc__ph img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hw-pc__ph .noph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); }
.hw-pc__lean { position: absolute; top: 16px; min-height: 34px; padding: 0 14px; border-radius: var(--r-pill); font-weight: 500; font-size: 15px; display: inline-flex; gap: 6px;
  align-items: center; opacity: 0; transition: opacity .15s; }
.hw-pc__lean .ic { width: 18px; height: 18px; }
.hw-pc__lean--yes { left: 16px; background: var(--blue); color: #fff; }
.hw-pc__lean--no { right: 16px; background: #000; color: #fff; }
.hw-pc[data-lean="yes"] .hw-pc__lean--yes, .hw-pc[data-lean="no"] .hw-pc__lean--no { opacity: 1; }
.hw-pc__b { padding: 16px 18px 18px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: start; }
.hw-pc__b b { font-size: 18px; font-weight: 500; line-height: 1.25; letter-spacing: -.015em; }
.hw-pc__b .soft { font-size: 13.5px; color: var(--muted) !important; }
.hw-pc__p { font-size: 18px; font-weight: 500; white-space: nowrap; background: var(--yellow); border-radius: var(--r-pill); padding: 1px 12px; }
.hw-pc__b .sw-dots { grid-column: 1 / -1; margin: 0; }
.hw-poll__act { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 4px; }
.hw-no, .hw-yes { height: 60px; border: 0; border-radius: var(--r-pill); font-weight: 500; font-size: 17px; display: inline-flex; align-items: center;
  justify-content: center; gap: 8px; transition: transform .1s, background .15s; }
.hw-no { background: var(--surface); color: var(--ink); }
.hw-no:hover { background: var(--danger-tint); color: var(--danger); }
.hw-yes { background: var(--blue); color: #fff; }
.hw-yes:hover { background: var(--brand-press); }
.hw-no:active, .hw-yes:active { transform: scale(.97); }
.hw-no .ic, .hw-yes .ic { width: 22px; height: 22px; }
.hw-why { background: var(--surface); border-radius: var(--r-tile); padding: 16px 18px; margin: 14px 0 4px; display: grid; gap: 12px; justify-items: start; }
.hw-why .chips { margin: 0; }
.hw-why .chip { background: #fff; }
.hw-why .chip.on { background: var(--blue); }
.hw-why .btn .ic { width: 18px; height: 18px; }
.hw-poll__more { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.hw-poll__hint { text-align: center; font-size: 13px; margin: 6px 0 0; }
.hw-done { max-width: 580px; margin: 10px auto; background: var(--surface); border-radius: var(--r-card); padding: 32px 26px; text-align: center; }
.hw-done__ic { width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.hw-done__ic .ic { width: 28px; height: 28px; }
.hw-done h2 { margin: 0 0 10px; font-size: 30px; line-height: 1.05; letter-spacing: -.04em; }
.hw-done p { margin: 0 0 16px; }
.hw-done__row { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.hw-done__th { width: 54px; height: 72px; border-radius: 10px; overflow: hidden; background: #fff; }
.hw-done__th img { width: 100%; height: 100%; object-fit: cover; }
.hw-done__btns { display: grid; gap: 10px; }
.hw-done__btns .btn--light { background: #fff; }
.hw-done__btns .ic { width: 18px; height: 18px; margin-right: 6px; }
.hw-hero--ideas { margin-top: 0; }

/* идеи — общий блок «Хочу», предзаказа и кабинета (ideas.js) */
.ideas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.idea-card { background: var(--surface); border-radius: var(--r-card); padding: 26px 26px 26px; }
.idea-card h2 { margin: 0 0 8px; font-size: 26px; line-height: 1.05; letter-spacing: -.035em; display: flex; align-items: center; gap: 10px; }
.idea-card h2 .ic { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--blue); color: #fff; }
.idea-card > p { margin: 0 0 16px; font-size: 15px; }
.idea-chips { margin: 0 0 14px; }
.idea-chips .chip { background: #fff; min-height: 40px; font-size: 14.5px; }
.idea-chips .chip.on { background: var(--blue); color: #fff; }
.idea-sub { font-size: 13.5px; color: var(--muted); margin: 2px 0 8px; }
.idea-sub small { color: var(--soft); }
.idea-photos { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.idea-ph { display: contents; }
.idea-th { position: relative; width: 84px; height: 84px; border-radius: var(--r-sm); overflow: hidden; background: #fff; }
.idea-th img { width: 100%; height: 100%; object-fit: cover; }
.idea-th button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(11, 13, 18, .7);
  color: #fff; display: grid; place-items: center; padding: 0; }
.idea-th button .ic { width: 14px; height: 14px; }
.idea-add { width: 84px; height: 84px; border-radius: var(--r-sm); border: 0; background: #fff; display: grid; place-items: center; align-content: center;
  gap: 4px; color: var(--blue); font-size: 12px; font-weight: 500; text-align: center; cursor: pointer; padding: 4px; }
.idea-add:hover { background: var(--blue-card); }
.idea-add:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.idea-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.idea-two .field, .idea-two input { min-width: 0; width: 100%; }   /* поле не шире своей колонки (16.11.2026: вылезало на 1024) */
.idea-card .field input, .idea-card .field textarea { background: #fff; }
.idea-card .btn { width: 100%; }
.idea-mine { grid-column: 1 / -1; }
.idea-mine h2 { font-size: 26px; margin: 14px 0 12px; letter-spacing: -.035em; }
.idea-mine h2 small { color: var(--muted); font-weight: 400; font-size: 15px; letter-spacing: 0; }
.idea-it { background: var(--surface); border-radius: var(--r-tile); padding: 16px 18px; margin-bottom: 10px; }
.idea-it__h { display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; margin-bottom: 6px; }
.idea-it p { margin: 6px 0 0; font-size: 15px; white-space: pre-wrap; overflow-wrap: anywhere; }
.idea-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.idea-tags span { background: #fff; color: var(--blue-ink); border-radius: var(--r-pill); padding: 3px 11px; font-size: 13px; }
.idea-it__ph { display: flex; gap: 6px; margin-top: 10px; }
.idea-it__ph img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.po-ideas { margin-top: 48px; padding-top: 4px; }
.po-ideas__h h2 { margin: 16px 0 6px; font-size: clamp(26px, 3vw, 36px); line-height: 1.02; letter-spacing: -.04em; }
.po-ideas__h p { margin: 0 0 18px; }
@media (max-width: 760px) {
  .ideas { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .hw-tabs { display: flex; }
  .hw-tabs button { flex: 1 1 auto; justify-content: center; padding: 0 10px; }
  /* фото — сколько останется от экрана: «Хочу / Не хочу» видны без прокрутки и при названии в три строки (03.12.2026) */
  .hw-pc__ph { max-height: 50vh; max-height: max(220px, calc(100svh - 450px)); }
  .hw-no, .hw-yes { height: 56px; }
  .idea-card { padding: 20px 18px; }
  .idea-card h2 { font-size: 22px; }
  .idea-two { grid-template-columns: 1fr; gap: 0; }
}

/* Подборка по ссылке менеджера (/s/<ключ>, 25.11.2026) */
.pk-hero h1 { margin-bottom: 12px; }
.pk-note { color: #fff !important; white-space: pre-line; font-size: 17px; }
.pk-meta { color: var(--on-blue-muted) !important; font-size: 14.5px; margin-bottom: 0 !important; }
.card--gone .card__ph img { opacity: .55; filter: grayscale(.4); }
.pk-gone { margin: 14px 0 0; padding: 12px 16px; border-radius: var(--r-tile); background: var(--accent-tint); font-size: 14.5px; }
.pk-sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.pk-sizes span { min-width: 46px; padding: 8px 12px; border-radius: var(--r-pill); background: #fff; font-size: 14px; font-weight: 500; text-align: center; }

/* ── голосования /golos и /golos/<ссылка> (01–02.12.2026): оценка 1–5 каждой расцветке или модели ── */
.gv-hero { background: var(--blue); }
.gv-legend { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; max-width: 600px; }
.gv-legend li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; line-height: 1.3; color: #fff; }
.gv-n { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 14px;
  background: #fff; color: var(--ink); }
.gv-n--5 { background: var(--success); color: #fff; }
.gv-n--4 { background: var(--success-tint); color: var(--success); }
.gv-n--2 { background: var(--danger-tint); color: var(--danger); }
.gv-n--1 { background: var(--danger); color: #fff; }
.po-hero .gv-n--5 { box-shadow: 0 0 0 2px rgba(255, 255, 255, .7); }
.po-hero .gv-n--1 { box-shadow: 0 0 0 2px rgba(255, 255, 255, .7); }
.gv-same { margin: 16px 0 0 !important; font-size: 15px; color: #fff !important; font-weight: 500; }
.gv-tabs { position: sticky; top: var(--head); z-index: 20; padding: 10px 0; margin: 0 0 8px; background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.gv-tabs .chip small { margin-left: 6px; }
.gv-model { scroll-margin-top: calc(var(--head) + 70px); }
.gv-mh { display: flex; align-items: baseline; gap: 6px 14px; flex-wrap: wrap; margin: 16px 0 14px; }
.gv-mh h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); line-height: 1.02; letter-spacing: -.04em; }
.gv-prog { color: var(--muted); font-size: 15px; }
.gv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; align-items: start; }
.gv-grid--wide { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.gv-card { background: var(--surface); border-radius: var(--r-tile); overflow: hidden; display: flex; flex-direction: column; }
/* карточки ряда — по общим строкам (фото | подпись | кнопки | расшифровка): у соседей кнопки 1–5 на одной высоте, даже если у текущей
   расцветки подпись в две строки. Без subgrid (старые браузеры) — как раньше. */
@supports (grid-template-rows: subgrid) {
  .gv-card { display: grid; grid-row: span 4; grid-template-rows: subgrid; grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .gv-ph { align-self: stretch; }
}
.gv-card--cur { box-shadow: inset 0 0 0 3px var(--yellow); }
.gv-ph { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--well); cursor: zoom-in; }
.gv-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* новые модели (вид models, 02.12.2026): картинка — карточка с названием и цветами внизу, её не обрезаем — вписываем на белом */
.gv-grid--fit .gv-ph { background: #fff; }
.gv-grid--fit .gv-ph img { object-fit: contain; }
.gv-badge { position: absolute; left: 10px; top: 10px; min-height: 28px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: var(--r-pill);
  background: var(--yellow); color: #000; font-size: 13.5px; font-weight: 500; }
.gv-cap { padding: 14px 14px 4px; display: grid; gap: 2px; }
.gv-cap b { font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
.gv-cap small { color: var(--muted); font-size: 13.5px; }
.gv-sc { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 8px 14px 4px; }
.gv-b { height: 46px; border: 0; border-radius: var(--r-sm); background: #fff; color: var(--ink); font: inherit; font-size: 17px;
  font-weight: 600; cursor: pointer; transition: background .15s, color .15s, box-shadow .15s; }
.gv-b:hover { box-shadow: inset 0 0 0 2px var(--blue); }
.gv-b:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.gv-b.on { background: var(--blue); color: #fff; box-shadow: none; }
.gv-say { margin: 4px 14px 14px; min-height: 40px; font-size: 14px; line-height: 1.35; color: var(--muted); }
.gv-say b { color: var(--ink); font-weight: 500; }
.gv-note { margin: 20px 0 0; padding: 18px 20px; border-radius: var(--r-tile); background: var(--surface); display: grid; gap: 10px; max-width: 780px; }
.gv-note label { font-weight: 500; }
.gv-note label small { color: var(--muted); font-weight: 400; }
.gv-note textarea { width: 100%; box-sizing: border-box; padding: 12px 14px; border: 0; border-radius: var(--r-sm); font: inherit;
  font-size: 15px; resize: vertical; background: #fff; }
.gv-note textarea:focus { outline: none; box-shadow: 0 0 0 2px var(--blue); }
.gv-note__b { display: flex; justify-content: flex-end; }
.gv-foot { margin: 20px 0 0; display: flex; align-items: center; justify-content: flex-end; gap: 14px; flex-wrap: wrap; }
.gv-foot .btn { gap: 6px; }
.gv-foot .btn .ic { width: 20px; height: 20px; }
.gv-thanks { margin: 20px 0 0; padding: 26px 28px; border-radius: var(--r-card); background: var(--blue); color: var(--on-blue-muted); }
.gv-thanks b { display: block; font-size: 26px; font-weight: 500; letter-spacing: -.035em; margin-bottom: 6px; color: #fff; }
@media (max-width: 640px) {
  .gv-legend li { font-size: 14.5px; }
  .gv-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)) 8px; padding: 10px var(--gutter); scrollbar-width: none; }   /* на поля main — не шире экрана */
  .gv-tabs::-webkit-scrollbar { display: none; }
  .gv-note textarea { font-size: 16px; }   /* меньше 16px — iPhone увеличивает страницу при вводе и не возвращает */
  .gv-tabs .chip { flex: 0 0 auto; }
  .gv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gv-grid--wide { grid-template-columns: 1fr; }
  .gv-grid:not(.gv-grid--wide) .gv-cap { padding: 10px 10px 2px; }
  .gv-grid:not(.gv-grid--wide) .gv-cap b { font-size: 15px; }
  .gv-grid:not(.gv-grid--wide) .gv-sc { gap: 4px; padding: 6px 8px 2px; }
  .gv-grid:not(.gv-grid--wide) .gv-b { height: 40px; font-size: 16px; border-radius: 11px; }
  .gv-grid:not(.gv-grid--wide) .gv-say { margin: 4px 10px 12px; font-size: 13px; line-height: 17px; min-height: 52px; }
  .gv-foot { justify-content: stretch; }
  .gv-foot .btn { width: 100%; justify-content: center; }
  .gv-thanks { padding: 20px; }
}

/* ── доводка концепта (02.12.2026) ── */
.pm__tags .badge--core { background: var(--blue-card); }
.po-hero--pics { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; align-items: center; }
.po-hero__pics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.po-hero__pics .po-ph { aspect-ratio: 426 / 600; height: auto; border-radius: var(--r-tile); }
.po-hero__pics .po-ph:nth-child(2) { margin-top: 56px; }
@media (max-width: 1000px) { .po-hero--pics { grid-template-columns: minmax(0, 1fr); } .po-hero__pics { display: none; } }
@media (max-width: 640px) {
  .po-hero h1, .hero__main h1 { font-size: 32px; }
  .po-hero .tag, .hero__main .tag { min-height: 28px; font-size: 13px; padding: 0 12px; margin-bottom: 4px; }
  .po-list li { font-size: 15px; }
  .hero__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 22px; margin-top: 4px; }
  .hero__facts div b { font-size: 26px; }
  .hero__facts div span { font-size: 12.5px; margin-top: 6px; }
  .mgr { gap: 4px; }
  .mgr__k { min-height: 0; padding: 0; background: none; font-size: 13px; }
  .mgr__n { margin-top: 0; }
  .mgr__row { flex-wrap: nowrap; margin-top: 10px; }
  .mgr__row .btn { flex: 1 1 auto; padding: 0 16px; }
  .mgr__row .btn--well { flex: 0 0 44px; padding: 0; }
  .mgr__row .btn--well .mgr__t { display: none; }
}

/* «Фабрика Елена» длиннее «ТД Елена» (02.12.2026): на узких телефонах знак и круглые кнопки чуть меньше — меню не уезжает за край */
@media (max-width: 374px) {
  .top__in { gap: 6px; }
  .top .mark b { font-size: 18px; }
  .top .mark small { font-size: 10px; }
  .tools { gap: 4px; }
  .tools .round { width: 40px; height: 40px; }
}
@media (max-width: 350px) {
  .top__in { padding: 0 12px; }
  .top .mark b { font-size: 17px; }
  .top .mark small { display: none; }
  .tools { gap: 3px; }
  .tools .round { width: 38px; height: 38px; }
  .tile b { font-size: 17px; padding-right: 0; }
  .tile::after { display: none; }
}

/* ── Карточка товара на весь экран (02.12.2026, Владимир: «акцент на товаре должен быть большой») ──
   Компьютер: фото парами на 60 % ширины, справа цвета и размеры (своя прокрутка, «В заказ» прилипает снизу), под ними «О модели».
   Телефон: как карточка «Приоденем» — первое фото крупно, под ним название и цена, дальше фото подряд; внизу «Выбрать размеры» —
   цвета и размеры в шторке снизу. */
.ov--pd { padding: 0; background: #fff; align-items: stretch; justify-content: stretch; animation: fade .2s var(--ease); }
.win--pd, .win--pd.win--flex { width: 100%; max-width: none; height: 100%; max-height: none; border-radius: 0; box-shadow: none; animation: fade .2s var(--ease); }
.win--pd .win__x { position: fixed; right: 24px; top: 20px; width: 48px; height: 48px; }
.pd { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 40px; padding: 24px var(--gutter) 0; align-items: start; }
.pd__gal { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pd__ph { display: block; position: relative; padding: 0; border: 0; border-radius: var(--r-tile); overflow: hidden; background: var(--surface); aspect-ratio: 2 / 3; cursor: zoom-in; }
.pd__ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd__ph--none { display: grid; place-items: center; cursor: default; }
.pd__gal.is-one { grid-template-columns: minmax(0, 1fr); }
.pd__gal.is-one .pd__ph { aspect-ratio: auto; height: calc(100vh - 48px); height: calc(100dvh - 48px); }
.pd__gal.is-one .pd__ph img { object-fit: contain; }
.pd__side { position: sticky; top: 24px; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow: auto; overscroll-behavior: contain;
  scrollbar-width: thin; padding: 6px 6px 0 0; }
.pd__head h2 { margin: 0 64px 0 0; font-size: clamp(28px, 2.5vw, 40px); line-height: 1.04; font-weight: 500; letter-spacing: -.045em; }
.po-pd .pd__head h2 { font-size: clamp(24px, 2vw, 32px); letter-spacing: -.035em; }
.pd__head .pm__price { margin-top: 18px; }
.pd__head .pm__price b { font-size: 30px; padding: 3px 18px; }
.pd__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.pd__facts div { background: var(--surface); border-radius: 18px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pd__facts b { font-size: 20px; font-weight: 500; letter-spacing: -.02em; line-height: 1.15; overflow-wrap: anywhere; }
.pd__facts span { font-size: 13px; color: var(--muted); }
.pd__pick { margin-top: 26px; }
.pd__pick-h { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.pd__pick-h > div { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.pd__pick-h b { font-size: 24px; font-weight: 500; letter-spacing: -.035em; }
.pd__pick-h span { font-size: 14px; color: var(--muted); }
.pd__pick-x { display: none; }
.pd__pick .pm__foot { padding: 14px 0 18px; margin-top: 4px; }
.pd__pick .pm__foot .btn { min-width: 0; flex: 0 1 240px; }
.pd__about { margin: 18px 0 40px; }
.pd__about h3 { margin: 0 0 4px; font-size: 24px; font-weight: 500; letter-spacing: -.035em; }
.pd__about .facts { margin-top: 12px; }
.win--pd .recs { padding: 8px var(--gutter) 48px; }
.pd .sizes { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 6px; }
/* предзаказ: первая — карточка-макет 720×900 на бежевом, её не обрезаем; фото 1С — целиком */
.po-pd .pd__ph { aspect-ratio: 4 / 5; }
.po-pd .pd__ph img { object-fit: contain; }
.po-pd .pd__ph:first-child { background: #efe9e2; }
.po-pd .pd__head .rate-row, .po-pd .po-rrow { margin-top: 14px; }
.pd__shade, .pd__dock { display: none; }
@media (max-width: 1100px) {
  .pd { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
  .pd__gal { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .win--pd, .win--pd.win--flex { height: 100vh; height: 100dvh; max-height: 100dvh; animation: up .3s var(--ease); }
  .win--pd .win__x { top: calc(12px + env(safe-area-inset-top)); right: 12px; width: 44px; height: 44px; }
  .pd { display: flex; flex-direction: column; gap: 0; padding: 0; }
  .pd__gal, .pd__side { display: contents; }
  .pd__ph { order: 3; border-radius: 0; margin-top: 4px; width: 100%; }
  .pd__ph:first-child { order: 1; margin-top: 0; aspect-ratio: auto; height: 64vh; height: 64dvh; }
  .pd__ph:first-child img { object-position: center 20%; }
  .pd__gal.is-one .pd__ph { height: 64vh; height: 64dvh; }
  .pd__gal.is-one .pd__ph img { object-fit: cover; }
  .pd__head { order: 2; padding: 16px var(--gutter) 22px; }
  .pd__head h2 { margin: 0; font-size: 30px; }
  .po-pd .pd__head h2 { font-size: 24px; }
  .pd__head .pm__price b { font-size: 26px; }
  .pd__facts b { font-size: 17px; }
  .pd__facts div { padding: 10px 12px; border-radius: 16px; }
  .pd__about { order: 4; margin: 0; padding: 26px var(--gutter) 8px; }
  .win--pd .recs { padding: 0 var(--gutter) 120px; }
  /* «Выбрать размеры» — плавающая кнопка внизу, как в «Приоденем» */
  .pd__dock { display: flex; position: fixed; z-index: 4; left: 50%; transform: translateX(-50%); bottom: calc(14px + env(safe-area-inset-bottom));
    width: min(358px, calc(100% - 32px)); gap: 8px; padding: 6px; border-radius: 40px; background: rgba(255, 255, 255, .9);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 10px 30px rgba(20, 36, 140, .2); }
  .pd__dock .round { flex: 0 0 52px; width: 52px; height: 52px; }
  .pd__go { flex: 1; min-width: 0; min-height: 52px; padding: 0 18px; font-size: 16.5px; box-shadow: var(--glow); }
  .pd__go span { overflow: hidden; text-overflow: ellipsis; }
  /* шторка «Цвет и размеры» */
  .pd__pick { display: none; margin: 0; }
  .win--pd.is-pick .pd__shade { display: block; position: fixed; inset: 0; z-index: 5; background: rgba(8, 14, 46, .55); animation: fade .2s var(--ease); }
  .win--pd.is-pick .pd__pick { display: flex; flex-direction: column; position: fixed; z-index: 6; left: 0; right: 0; bottom: 0; max-height: 90vh; max-height: 90dvh;
    background: #fff; border-radius: var(--r-sheet) var(--r-sheet) 0 0; box-shadow: 0 -12px 40px rgba(5, 12, 60, .25); animation: up .3s var(--ease); }
  .pd__pick-h { flex: 0 0 auto; margin: 0; padding: 20px var(--gutter) 12px; }
  .pd__pick-h b { font-size: 22px; }
  .pd__pick-x { display: grid; flex: 0 0 40px; width: 40px; height: 40px; }
  .pd__pick .pd__vs { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 0 var(--gutter) 4px; }
  .pd__pick .pm__foot { flex: 0 0 auto; position: static; margin: 0; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); }
  .pd__pick .pm__foot .favbtn { display: none; }
  .pd__pick .pm__foot .btn { flex: 1; }
}

/* Подборка /s/ — карточка только для просмотра (02.12.2026): цвета и размеры списком, без шторки и нижней кнопки */
.pd__facts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pd--view .pd__pick-h { margin-bottom: 10px; }
@media (max-width: 640px) {
  .pd--view .pd__pick { display: block; order: 4; padding: 22px var(--gutter) 0; }
  .pd--view .pd__pick-h { padding: 0; }
  .pd--view .pd__pick .pd__vs { overflow: visible; padding: 0; }
  .pd--view .pd__about { order: 5; padding-bottom: 40px; }
}
/* «Хочу» — фото цвета, выбор цвета и размера в карточке */
.hw-pd .pd__vs .hw-colors { margin-top: 0; }
.hw-pd .pd__about .hw-descr { margin-top: 12px; }

/* ── Каркас кабинета (02.12.2026, Владимир: «меню на ПК — в левое меню, как в Сейлсе; на телефоне — нижнее, как в Телеграме, с „Ещё“»):
   ПК — слева меню разделов (сворачивается до значков), в середине страница, справа (от 1200 px) — панель «Ваш заказ», её ширину
   тянут за левый край; телефон и планшет (до 900 px) — нижнее меню капсулой: Главная · Каталог · Повторить · Корзина · Ещё. ── */
:root { --side-w: 252px; --cp-w: 360px; }
.sh { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); min-height: 100vh; }
.sh.sh--cp { grid-template-columns: var(--side-w) minmax(0, 1fr) var(--cp-w); }
.sh.sh--mini { --side-w: 84px; }
.pg { min-width: 0; }
.side { position: sticky; top: 0; height: 100vh; height: 100dvh; display: flex; flex-direction: column; padding: 16px 12px 14px; background: var(--surface);
  overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; z-index: 31; }
.side__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 4px 14px 10px; }
.side__mark b { font-size: 20px; }
.side__mark small { font-size: 12px; }
.side__mini { width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; flex: none; }
.side__mini:hover { background: #fff; color: var(--blue-ink); }
.side__mini .ic { width: 20px; height: 20px; }
.side__nav { display: flex; flex-direction: column; gap: 2px; }
.side__g { padding: 12px 12px 3px; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.side__g:first-child { padding-top: 0; }
.side a { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 12px; border-radius: var(--r-pill); color: var(--ink); font-size: 15px;
  white-space: nowrap; transition: background .15s var(--ease), color .15s; }
.side a .ic { width: 22px; height: 22px; flex: none; color: var(--blue); }
.side a:hover { background: #fff; }
.side a.on { background: var(--blue); color: #fff; }
.side a.on .ic { color: #fff; }
.side__t { overflow: hidden; text-overflow: ellipsis; }
.side a small { margin-left: auto; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.side a.on small { color: rgba(255, 255, 255, .8); }
.side a em { margin-left: auto; font-style: normal; font-size: 11.5px; font-weight: 500; background: var(--yellow); color: #000; border-radius: var(--r-pill); padding: 1px 8px; }
.side__foot { margin-top: auto; padding-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.side__mgr { background: #fff; border-radius: 18px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; margin-bottom: 4px; }
.side__mgr span { font-size: 12.5px; color: var(--muted); }
.side__mgr b { font-size: 15px; font-weight: 500; }
.side__mgr a { min-height: 0; padding: 4px 0 0; gap: 6px; color: var(--blue-ink); font-size: 14px; background: none !important; }
.side__mgr a .ic { width: 16px; height: 16px; }
/* свёрнутое меню — одни значки, подпись — подсказкой */
.sh--mini .side { padding: 16px 10px 14px; }
.sh--mini .side__top { flex-direction: column; padding: 4px 0 10px; }
.sh--mini .side__mark { display: none; }
.sh--mini .side__mini { transform: scaleX(-1); }
.sh--mini .side__g { padding: 8px 0; height: 17px; }
.sh--mini .side__g span { display: none; }
.sh--mini .side__g::after { content: ""; display: block; height: 1px; background: var(--line); margin: 0 10px; }
.sh--mini .side a { justify-content: center; padding: 0; width: 52px; height: 48px; margin: 0 auto; position: relative; }
.sh--mini .side__t, .sh--mini .side a em, .sh--mini .side__mgr { display: none; }
.sh--mini .side a small { position: absolute; top: 4px; right: 2px; margin: 0; font-size: 10.5px; }
/* шапка страницы — поиск и «Заказ»; знак — в меню */
.sh .top__in { max-width: none; padding: 0 32px; }
.sh .top__mark, .sh .top__fav { display: none; }
.sh .search { margin-left: 0; max-width: 640px; }
.sh .tools { margin-left: auto; }
.sh .cartbtn.on { box-shadow: inset 0 0 0 2px var(--blue-ink); }
.sh .secnav { display: none; }
/* разделы каталога — строкой под поиском, только на страницах каталога (в меню один пункт «Каталог», 03.12.2026) */
@media (min-width: 900px) { .sh.sh--cat .secnav { display: flex; margin: 0 32px 12px; } }
.sh main { max-width: 1400px; padding: 20px 32px 96px; container: page / inline-size; }
/* сетки — по ширине страницы, а не окна: меню и панель заказа отнимают место */
@container page (max-width: 1150px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .row { grid-auto-columns: calc((100% - 3 * 16px) / 4); } }
@container page (max-width: 900px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .row { grid-auto-columns: calc((100% - 2 * 16px) / 3); }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 28px; } .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cart { grid-template-columns: minmax(0, 1fr); } .sum { position: static; }
}
/* панель «Ваш заказ» */
.cp { position: sticky; top: 0; height: 100vh; height: 100dvh; background: #fff; border-left: 1px solid var(--line); z-index: 31; min-width: 0; }
.cp[hidden] { display: none; }
.cp__grip { position: absolute; left: -5px; top: 0; bottom: 0; width: 10px; cursor: col-resize; z-index: 2; }
.cp__grip::after { content: ""; position: absolute; left: 4px; top: 50%; width: 2px; height: 48px; margin-top: -24px; border-radius: 2px; background: var(--line); transition: background .15s; }
.cp__grip:hover::after, .cp-resizing .cp__grip::after { background: var(--blue); }
body.cp-resizing { cursor: col-resize; -webkit-user-select: none; user-select: none; }
.cp__in { height: 100%; display: flex; flex-direction: column; }
.cp__h { display: flex; align-items: center; gap: 10px; padding: 18px 16px 12px 20px; }
.cp__h > div { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cp__h b { font-size: 22px; font-weight: 500; letter-spacing: -.03em; }
.cp__h span { font-size: 13.5px; color: var(--muted); }
.cp__h .round { width: 40px; height: 40px; flex: none; }
.cp__list { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 12px; display: flex; flex-direction: column; gap: 8px; }
.cp__l { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; align-items: start; background: var(--surface); border-radius: 18px; padding: 8px; }
.cp__l.bad { box-shadow: inset 0 0 0 2px var(--danger-tint); }
.cp__ph { width: 52px; height: 68px; border: 0; padding: 0; border-radius: 12px; overflow: hidden; background: #fff; cursor: pointer; }
.cp__ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cp__t { border: 0; background: none; padding: 2px 0 0; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 1px; min-width: 0; color: var(--ink); font: inherit; }
.cp__t b { font-size: 14px; font-weight: 500; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cp__t span { font-size: 12.5px; color: var(--muted); }
.cp__t small { font-size: 12.5px; color: var(--ink); margin-top: 2px; }
.cp__t:hover b { color: var(--blue-ink); }
.cp__r { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; padding-top: 2px; }
.cp__r b { font-size: 14.5px; font-weight: 500; white-space: nowrap; }
.cp__r span { font-size: 12px; color: var(--muted); }
.cp__rm { border: 0; background: none; color: var(--muted); width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; cursor: pointer; margin: 2px -4px 0 0; }
.cp__rm:hover { background: var(--danger-tint); color: var(--danger); }
.cp__rm .ic { width: 18px; height: 18px; }
.cp__f { padding: 14px 16px 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.cp__tot { display: flex; align-items: baseline; justify-content: space-between; font-size: 15px; }
.cp__tot b { font-size: 26px; font-weight: 500; letter-spacing: -.03em; }
.cp__min { font-size: 13.5px; background: var(--accent-tint); border-radius: 14px; padding: 8px 12px; }
.cp__go { box-shadow: var(--glow); }
/* нижнее меню (телефон, планшет) */
.tabbar { display: none; }
/* «Повторить» */
.ag-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ag-o { background: var(--surface); border-radius: var(--r-tile); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.ag-o__h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.ag-o__h b { font-size: 17px; font-weight: 500; }
.ag-o__h span { font-size: 13.5px; color: var(--muted); }
.ag-o__ph { display: flex; gap: 6px; }
.ag-o__ph span { width: 52px; height: 68px; border-radius: 12px; overflow: hidden; background: #fff; flex: none; display: grid; place-items: center; }
.ag-o__ph img { width: 100%; height: 100%; object-fit: cover; }
.ag-o__more { font-size: 14px; color: var(--muted); }
.ag-o__m { display: flex; flex-direction: column; gap: 2px; }
.ag-o__m span { font-size: 15px; font-weight: 500; }
.ag-o__m small { font-size: 13px; color: var(--muted); }
.ag-o .btn { align-self: flex-start; }
@container page (max-width: 900px) { .ag-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* «Голосования» */
.vt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.vt { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-card); overflow: hidden; color: var(--ink); transition: transform .2s var(--ease), box-shadow .2s; }
.vt:hover { transform: translateY(-2px); box-shadow: var(--shadow-float); }
.vt__ph { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; aspect-ratio: 2 / 1; background: #fff; }
.vt__ph span { overflow: hidden; background: var(--well); }
.vt__ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vt__b { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; }
.vt__b b { font-size: 22px; font-weight: 500; letter-spacing: -.03em; line-height: 1.15; }
.vt__b > span { font-size: 14px; color: var(--muted); }
.vt__pb { height: 8px; border-radius: 8px; background: #fff; overflow: hidden; margin-top: 8px; }
.vt__pb i { display: block; height: 100%; background: var(--blue); border-radius: 8px; }
.vt__b small { font-size: 13.5px; color: var(--muted); }
.vt__b > .btn { align-self: flex-start; margin-top: 10px; color: #fff; font-size: 15px; }
.vt__b > .btn--light { color: var(--blue-ink); }
.vt-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.vt-more > a { margin: 0; }
/* «Кейсы и обучение» */
.soon { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.soon__i { background: var(--surface); border-radius: var(--r-card); padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.soon__h { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-bottom: 6px; }
.soon__ic { width: 48px; height: 48px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--blue); }
.soon__h em { font-style: normal; font-size: 13px; font-weight: 500; background: var(--yellow); border-radius: var(--r-pill); padding: 3px 12px; }
.soon__i b { font-size: 22px; font-weight: 500; letter-spacing: -.03em; }
.soon__i p { margin: 0 0 6px; color: var(--muted); font-size: 15.5px; }
.soon__mgr { margin-top: 16px; background: var(--blue); color: #fff; border-radius: var(--r-card); padding: 22px 24px; display: flex; align-items: center; gap: 18px; justify-content: space-between; flex-wrap: wrap; }
.soon__mgr div { display: flex; flex-direction: column; gap: 4px; }
.soon__mgr b { font-size: 20px; font-weight: 500; }
.soon__mgr span { color: var(--on-blue-muted); font-size: 15px; }
.soon__mgr .btn { background: #fff; color: var(--blue-ink); }

@media (max-width: 899px) {
  .sh, .sh.sh--cp { display: block; }
  .side, .cp { display: none !important; }
  .sh .top__in { padding: 0 var(--gutter); }
  .sh .top__mark { display: inline-flex; }
  .sh .top__fav { display: grid; }
  .sh .tools .cartbtn { display: none; }
  .sh.sh--cat .secnav { display: flex; }
  .sh main { padding: 14px var(--gutter) calc(104px + env(safe-area-inset-bottom)); }
  .tabbar { display: flex; position: fixed; z-index: 40; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); height: 66px; padding: 6px;
    background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
    border-radius: var(--r-pill); box-shadow: 0 8px 30px rgba(20, 36, 140, .16), 0 0 0 1px rgba(20, 36, 140, .06); max-width: 560px; margin: 0 auto; }
  .tabbar > a, .tabbar > button { flex: 1 1 0; min-width: 0; border: 0; background: none; border-radius: var(--r-pill); display: flex; flex-direction: column; align-items: center;
    justify-content: center; gap: 2px; color: var(--muted); font: 500 11px/1.1 var(--font); letter-spacing: -.01em; cursor: pointer; position: relative; padding: 0 2px; }
  .tabbar .ic { width: 24px; height: 24px; }
  .tabbar span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tabbar .on { background: var(--blue-card); color: var(--blue-ink); }
  .tabbar__n { position: absolute; top: 3px; left: 50%; margin-left: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--blue); color: #fff;
    font: 600 11px/18px var(--font); font-style: normal; text-align: center; box-shadow: 0 0 0 2px #fff; }
  .tabbar [data-tab="cart"]:not(.is-empty) span { color: var(--ink); font-weight: 600; }
  .toast { bottom: calc(92px + env(safe-area-inset-bottom)); }
  .sh .po-go { bottom: calc(88px + env(safe-area-inset-bottom)); }
  .dock { display: none !important; }
  /* «Ещё» — шторка снизу, список как «Настройки» */
  .drawer.more { align-items: flex-end; justify-content: stretch; }
  .drawer.more .drawer__in { width: 100%; height: auto; max-height: 88vh; max-height: 88dvh; border-radius: var(--r-sheet) var(--r-sheet) 0 0; padding: 10px 16px calc(16px + env(safe-area-inset-bottom));
    animation: up .3s var(--ease); overflow-y: auto; gap: 12px; }
  .ag-row { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .ag-o { scroll-snap-align: start; }
  .vt-more, .soon { grid-template-columns: minmax(0, 1fr); }
}
.more__h { display: flex; align-items: center; justify-content: space-between; padding: 4px 0 0 4px; }
.more__h b { font-size: 24px; font-weight: 500; letter-spacing: -.03em; }
.more__mgr { background: var(--blue); color: #fff; border-radius: 22px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; align-items: flex-start; }
.more__mgr span { font-size: 13px; color: var(--on-blue-muted); }
.more__mgr b { font-size: 18px; font-weight: 500; }
.more__mgr .btn { margin-top: 8px; background: #fff; color: var(--blue-ink); }
.more__list { background: var(--surface); border-radius: 22px; overflow: hidden; }
.drawer.more .more__list a { display: flex; align-items: center; gap: 14px; min-height: 54px; padding: 0 14px 0 16px; border-radius: 0; background: none; font-size: 16px; color: var(--ink);
  border-bottom: 1px solid var(--line); }
.drawer.more .more__list a:last-child { border-bottom: 0; }
.drawer.more .more__list a .ic { color: var(--blue); }
.drawer.more .more__list a span { flex: 1; }
.drawer.more .more__list .more__chev { color: var(--soft); width: 18px; height: 18px; }

/* ── «Пошив» (02.12.2026, Владимир: «для контракта тоже кабинет; ключевое — статус по его контрактному запросу, ТЗ, обновления,
   просчёты — всё из Сейлса»): заказ на пошив глазами клиента. ПК — три колонки-окна, как рабочая область «Сейлса»: этапы |
   обновления | ТЗ и расчёт; каждая листается сама, границы тянутся. Уже — две колонки; телефон — вкладки. ── */
.side a small[data-cnt="sew"]:not(:empty) { background: var(--yellow); color: #000; border-radius: var(--r-pill); padding: 1px 8px; font-weight: 600; }
.side a.on small[data-cnt="sew"]:not(:empty) { color: #000; }
.tabbar__dot { position: absolute; top: 6px; left: 50%; margin-left: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 2px #fff; font-style: normal; }
.sw-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 2px #fff, 0 0 10px 2px rgba(255, 198, 41, .7); font-style: normal; flex: none; }
.sw-h { align-items: flex-end; }
.sw-h .tag { margin-bottom: 14px; }
.sw-h h1 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.05; }
.sw-h p { margin-top: 8px; font-size: 15.5px; }
.sw-deals { display: flex; gap: 8px; flex-wrap: wrap; }
.sw-deals .chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-size: 14px; }
.sw-load { display: grid; grid-template-columns: 300px minmax(0, 1fr) 470px; gap: 16px; }
.sw-load .skel { height: 460px; }
.sw-tabs { display: none; }
.swg { display: grid; grid-template-columns: var(--sw-c1, 300px) 12px minmax(0, 1fr) 12px var(--sw-c3, 470px); align-items: start; }
/* высота колонок — до низа экрана (--sw-h считает sew.js): каждая листается сама, как окна «Сейлса» */
.sw-col { min-width: 0; max-height: var(--sw-h, calc(100dvh - var(--head) - 24px));
  overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; border-radius: var(--r-tile); padding: 18px; }
.sw-st, .sw-docs { background: var(--surface); }
.sw-news { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.sw-grip { align-self: stretch; position: relative; cursor: col-resize; min-height: 120px; }
.sw-grip::after { content: ""; position: absolute; left: 5px; top: 50%; width: 2px; height: 48px; margin-top: -24px; border-radius: 2px; background: var(--line); transition: background .15s; }
.sw-grip:hover::after, .cp-resizing .sw-grip:hover::after { background: var(--blue); }
.sw-t { font-size: 20px; margin: 22px 0 12px; letter-spacing: -.03em; }
.sw-news > .sw-t { margin-top: 0; }
/* колонка 1: сейчас и путь */
.sw-now { background: #fff; border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.sw-now--act { box-shadow: inset 0 0 0 2px var(--yellow); }
.sw-now--done { background: var(--success-tint); }
.sw-now__k { font-size: 13px; color: var(--muted); }
.sw-now > b { font-size: 18px; font-weight: 500; line-height: 1.3; letter-spacing: -.015em; }
.sw-now__w { margin: 0; display: flex; gap: 8px; font-size: 14px; color: var(--muted); }
.sw-now__w .ic { width: 18px; height: 18px; color: var(--blue); }
.sw-now .btn { margin-top: 6px; box-shadow: var(--glow); font-size: 15.5px; min-height: 50px; padding: 10px 18px; white-space: normal; text-align: left; line-height: 1.2; }
.sw-path { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.sw-p { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; position: relative; padding-bottom: 16px; }
.sw-p::before { content: ""; position: absolute; left: 15px; top: 34px; bottom: 2px; width: 2px; border-radius: 2px; background: var(--line); }
.sw-p:last-child { padding-bottom: 0; }
.sw-p:last-child::before { display: none; }
.sw-p--done::before { background: var(--blue); }
.sw-p > i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 600 14px/1 var(--font); font-style: normal; background: #fff; color: var(--soft);
  box-shadow: inset 0 0 0 2px var(--line); }
.sw-p > i .ic { width: 18px; height: 18px; }
.sw-p--done > i { background: var(--blue); color: #fff; box-shadow: none; }
.sw-p--now > i { background: var(--yellow); color: #000; box-shadow: 0 0 12px 2px rgba(255, 198, 41, .6); }
.sw-p > div { display: flex; flex-direction: column; gap: 2px; padding-top: 5px; min-width: 0; }
.sw-p b { font-size: 16px; font-weight: 500; }
.sw-p--next b { color: var(--muted); font-weight: 400; }
.sw-p span { font-size: 13px; color: var(--muted); }
.sw-mgr { margin-top: 22px; background: #fff; border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.sw-mgr > span { font-size: 13px; color: var(--muted); }
.sw-mgr > b { font-size: 17px; font-weight: 500; }
.sw-mgr > div { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
/* колонка 2: обновления */
.sw-day + .sw-day { margin-top: 16px; }
.sw-day h3 { margin: 0 0 4px; font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.sw-n { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 9px 8px; margin: 0 -8px; border-radius: 14px; }
.sw-n[role="button"] { cursor: pointer; }
.sw-n[role="button"]:hover { background: var(--surface); }
.sw-n > i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--blue); font-style: normal; }
.sw-n > i .ic { width: 18px; height: 18px; }
.sw-n--stage > i { background: var(--blue); color: #fff; }
.sw-n--quote > i, .sw-n--share > i { background: var(--yellow); color: #000; }
.sw-n--you > i { background: var(--blue-card); color: var(--blue-ink); }
.sw-n p { margin: 0; font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
.sw-n p b { font-weight: 500; }
.sw-n s { color: var(--soft); }
.sw-n q { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); quotes: "«" "»"; }
.sw-n small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--soft); }
/* колонка 3: расчёт и ТЗ */
.sw-seg { display: flex; gap: 4px; background: #fff; border-radius: var(--r-pill); padding: 4px; margin-bottom: 14px; }
.sw-seg button { flex: 1; min-height: 40px; border: 0; background: none; border-radius: var(--r-pill); font-size: 14.5px; font-weight: 500; color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 10px; }
.sw-seg button small { font-size: 12px; opacity: .8; }
.sw-seg__s { display: none; }
@media (min-width: 900px) { .sh main:has(.swg) { padding-bottom: 24px; } }
.sw-seg button.on { background: var(--blue); color: #fff; }
.sw-vers { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.sw-vers .chip { min-height: 36px; padding: 0 12px; font-size: 13.5px; gap: 6px; display: inline-flex; align-items: center; }
.sw-vers .chip:not(.on) { background: #fff; }
.sw-none { background: #fff; border-radius: 18px; padding: 22px 18px; color: var(--muted); font-size: 15px; }
.sw-none b { display: block; color: var(--ink); font-size: 18px; font-weight: 500; margin-bottom: 4px; }
.sw-q { display: flex; flex-direction: column; gap: 10px; }
.sw-q__h { display: flex; flex-direction: column; gap: 2px; }
.sw-q__h b { font-size: 20px; font-weight: 500; letter-spacing: -.03em; }
.sw-q__h span { font-size: 13px; color: var(--muted); }
.sw-q__term, .sw-q__rm { margin: 0; font-size: 14px; }
.sw-q__rm { color: var(--danger); }
.sq { background: #fff; border-radius: 18px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.sq--rej { opacity: .55; }
.sq-ph { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.sq-ph button { position: relative; flex: none; width: 92px; height: 120px; border: 0; padding: 0; border-radius: 12px; overflow: hidden; background: var(--well); cursor: zoom-in; }
.sq-ph img { width: 100%; height: 100%; object-fit: cover; }
.sq-ph i { position: absolute; left: 4px; bottom: 4px; font: 500 10.5px/1 var(--font); font-style: normal; background: rgba(255, 255, 255, .92); border-radius: 8px; padding: 3px 6px; }
.sq-noph { font-size: 13px; color: var(--soft); }
.sq-b h4 { margin: 0 0 6px; font-size: 17px; font-weight: 500; letter-spacing: -.02em; }
.sq-chs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.sq-ch { font-size: 12.5px; background: var(--accent-tint); border-radius: 8px; padding: 2px 8px; }
.sq-ch s { color: var(--soft); }
.sq-ch b { font-weight: 600; }
.sq-ch--new { background: var(--success-tint); color: var(--success); }
.sq-ch--alt { background: var(--blue-card); color: var(--blue-ink); }
.sq-dl, .sw-dl { display: grid; grid-template-columns: minmax(92px, 38%) minmax(0, 1fr); gap: 6px 12px; margin: 0; font-size: 14px; }
.sq-dl dt, .sw-dl dt { color: var(--muted); }
.sq-dl dd, .sw-dl dd { margin: 0; overflow-wrap: anywhere; }
.sq-diff { background: var(--accent-tint); border-radius: 6px; padding: 0 4px; }
.sq-tiers { border-collapse: separate; border-spacing: 0 2px; width: 100%; margin-top: 10px; font-size: 13.5px; }
.sq-tiers th { font-weight: 400; color: var(--muted); text-align: left; padding: 0 6px 2px; }
.sq-tiers td { padding: 5px 6px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sq-tiers td.on { background: var(--yellow); border-radius: 10px; font-weight: 600; }
.sq-sum { margin-top: 8px; font-size: 14.5px; }
.sq-sum b { font-weight: 600; }
.sq-st { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.sq-st--approved { color: var(--success); }
.sq-st--changes { color: var(--blue-ink); }
.sq-ok { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.sq-ok label { display: flex; gap: 8px; align-items: center; font-size: 14.5px; cursor: pointer; }
.sq-ok input[type="checkbox"], .sq-ok input[type="radio"] { width: 20px; height: 20px; margin: 0; accent-color: var(--blue); }
.sq-ok textarea, .sw-f textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; font-size: 14.5px; resize: vertical; background: #fff; color: var(--ink); }
.sq-ok textarea:focus, .sw-f textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-card); }
.sq-alts { background: var(--blue-card); border-radius: 20px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.sq-alts > p { margin: 2px 4px; font-size: 14px; }
.sq-total { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #fff; border-radius: 18px; padding: 12px 14px 12px 16px; flex-wrap: wrap; }
.sq-total span { font-size: 14px; color: var(--muted); }
.sq-total b { font-size: 20px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; background: var(--yellow); border-radius: var(--r-pill); padding: 4px 14px; }
.sw-done { margin: 0 0 12px; display: flex; gap: 10px; align-items: flex-start; background: var(--success-tint); color: var(--success); border-radius: 16px; padding: 12px 14px; font-size: 14.5px; }
.sw-done .ic { width: 20px; height: 20px; flex: none; }
.sw-done--w { background: var(--blue-card); color: var(--blue-ink); }
.sw-done--m { background: #fff; color: var(--muted); }
.sw-done--a { background: var(--accent-tint); color: #000; }
.sw-q .sw-done { margin: 0; }
.sw-f { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); margin-top: 4px; }
.sw-err { color: var(--danger); background: var(--danger-tint); border-radius: 12px; padding: 8px 12px; font-size: 14px; }
.sw-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.sw-acts .btn { flex: 1 1 auto; min-height: 50px; font-size: 15.5px; padding: 0 18px; }
.sw-acts .btn:first-child { box-shadow: var(--glow); }
.sw-acts .btn--light { background: #fff; }
.sw-acts .btn--light:hover { background: var(--blue-card); }
.sw-tzf { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.sw-t3 { font-size: 16px; margin: 18px 0 8px; letter-spacing: -.02em; }
.sw-dl { background: #fff; border-radius: 18px; padding: 14px 16px; }
.sw-imgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 6px; }
.sw-imgs button { border: 0; padding: 0; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: var(--well); cursor: zoom-in; }
.sw-imgs img { width: 100%; height: 100%; object-fit: cover; }
.sw-files { display: flex; flex-direction: column; gap: 6px; }
.sw-files a { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 10px 12px; color: var(--ink); }
.sw-files a:hover { background: var(--blue-card); }
.sw-files a .ic { color: var(--blue); }
.sw-files span { display: flex; flex-direction: column; min-width: 0; }
.sw-files b { font-weight: 500; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sw-files small { font-size: 12.5px; color: var(--muted); }
/* карточка на главной */
.sewc { margin-bottom: 20px; }
.sewc__in { display: flex; flex-direction: column; gap: 16px; background: var(--surface); border-radius: var(--r-card); padding: 22px 24px 24px; color: var(--ink);
  transition: box-shadow .2s, transform .2s var(--ease); }
.sewc__in:hover { box-shadow: var(--shadow-float); transform: translateY(-1px); }
.sewc__in--act { background: #fff; box-shadow: inset 0 0 0 2px var(--yellow), var(--shadow-float); }
.sewc__h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sewc__more { font-size: 14px; color: var(--muted); }
.sewc h2 { margin: 0; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.1; letter-spacing: -.035em; }
.sewc__path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.sewc__path li { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--muted); min-width: 0; }
.sewc__path li i { height: 8px; border-radius: 8px; background: var(--line); display: block; }
.sewc__path li i .ic { display: none; }
.sewc__path .sewc__s--done i { background: var(--blue); }
.sewc__path .sewc__s--now i { background: var(--yellow); box-shadow: 0 0 10px 1px rgba(255, 198, 41, .7); }
.sewc__s--now span { color: var(--ink); font-weight: 500; }
.sewc__path span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sewc__step { display: none; font-size: 14px; color: var(--muted); margin-top: -6px; }
.sewc__f { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sewc__now { display: flex; flex-direction: column; gap: 2px; max-width: 680px; }
.sewc__now span { font-size: 13px; color: var(--muted); }
.sewc__now p { margin: 0; font-size: 17px; line-height: 1.35; }
.sewc__f .btn { gap: 4px; padding-right: 18px; }
.sewc__in--act .btn { box-shadow: var(--glow); }
.sewc__in:not(.sewc__in--act) .btn--light { background: #fff; }
@container page (max-width: 1100px) {
  .swg, .sw-load { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; }
  .sw-grip { display: none; }
  .sw-st { grid-column: 1; grid-row: 1; }
  .sw-news { grid-column: 1; grid-row: 2; }
  .sw-docs { grid-column: 2; grid-row: 1 / span 2; }
  .sw-col { position: static; max-height: none; overflow: visible; }
  .sw-load .skel:last-child { display: none; }
}
@container page (max-width: 760px) {
  .swg, .sw-load { grid-template-columns: minmax(0, 1fr); }
  .sw-tabs { display: flex; gap: 4px; background: var(--surface); border-radius: var(--r-pill); padding: 4px; margin: -6px 0 14px; }
  .sw-tabs button { flex: 1; min-height: 42px; border: 0; background: none; border-radius: var(--r-pill); font-size: 14px; font-weight: 500; color: var(--muted);
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 6px; white-space: nowrap; }
  .sw-tabs button.on { background: #fff; color: var(--blue-ink); box-shadow: 0 1px 3px rgba(20, 36, 140, .12); }
  .sw-col { grid-column: 1 !important; grid-row: auto !important; padding: 14px; }
  .swg--t-status .sw-col:not(.sw-st), .swg--t-news .sw-col:not(.sw-news), .swg--t-docs .sw-col:not(.sw-docs) { display: none; }
  .sw-load .skel:not(:first-child) { display: none; }
  .sw-h .sw-deals { width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
  .sw-deals .chip { flex: none; }
  .sw-seg__l { display: none; }
  .sw-seg__s { display: inline; }
  .sewc__in { padding: 18px 18px 20px; }
  .sewc__path span { display: none; }
  .sewc__step { display: block; }
  .sewc__f .btn { width: 100%; justify-content: center; }
}
