/* SOLORO LAB · Лаборатория — вариант 1.
   Палитра — только из concept.palette. Шрифты: Golos Text (заголовки и концентрации), Inter (текст), IBM Plex Mono (INCI, pH, артикулы, подписи). */
:root {
  --bg: #F5F3EE;
  --surface: #FFFFFF;
  --surface2: #ECE9E2;
  --photo: #E3E1DC;
  --text: #111111;
  --muted: #6E6B65;
  --accent: #9A5A1C;
  --accent2: #EDE3D3;
  --line: #D8D5CE;
  --ok: #4F6B53;
  --separate: #5B6C80;
  --caution: #7D6C2F;
  --danger: #9E3B2E;

  --f-display: 'Golos Text', 'Inter', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --gut: 16px;
  --max: 1440px;
  --hdr: 56px;
  --r: 2px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
@media (min-width: 640px) { :root { --gut: 24px; } }
@media (min-width: 1024px) { :root { --gut: 40px; --hdr: 64px; } }

/* ---------- база ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.55 var(--f-body);
  font-feature-settings: 'tnum' 0;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; margin: 0; letter-spacing: -0.02em; line-height: 1.08; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: var(--accent2); color: var(--text); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 300; background: var(--text); color: var(--bg); padding: 10px 14px; }
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.mono { font-family: var(--f-mono); font-feature-settings: 'zero' 0; }
.muted { color: var(--muted); }
.lbl { font: 400 12px/1.45 var(--f-mono); color: var(--muted); letter-spacing: .01em; }
.num { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; max-width: 60ch; }
.prose p + p { margin-top: 1em; }
.prose { max-width: 66ch; }
.link { text-decoration: underline; text-decoration-color: var(--line); }
.link:hover { text-decoration-color: currentColor; }

/* типографика */
.t-hero { font: 600 clamp(44px, 12vw, 112px)/.92 var(--f-display); letter-spacing: -0.045em; }
@media (min-width: 1100px) { .t-hero { font-size: clamp(60px, 6.3vw, 124px); } }
.t-h1 { font: 600 clamp(40px, 5.6vw, 84px)/.96 var(--f-display); letter-spacing: -0.04em; }
.t-h2 { font: 600 clamp(28px, 3.3vw, 48px)/1.02 var(--f-display); letter-spacing: -0.03em; }
.t-h3 { font: 600 clamp(20px, 1.7vw, 24px)/1.15 var(--f-display); letter-spacing: -0.015em; }
.t-h4 { font: 600 17px/1.25 var(--f-display); letter-spacing: -0.01em; }

/* концентрация — главный типографический элемент */
.conc { display: inline-flex; align-items: flex-start; font: 600 1em/0.86 var(--f-display); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.conc .u { font-size: .46em; letter-spacing: -0.01em; margin-left: .04em; margin-top: .06em; font-weight: 500; }
.conc .p { font: 500 .3em/1 var(--f-mono); letter-spacing: 0; margin-right: .3em; margin-top: .14em; color: var(--muted); }

/* ---------- кнопки, поля ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 1px solid var(--text); border-radius: var(--r);
  background: var(--text); color: var(--bg); font: 500 15px/1.1 var(--f-body); text-decoration: none; letter-spacing: -0.005em;
  transition: background-color .15s, border-color .15s, color .15s; white-space: nowrap;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--surface); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { background: transparent; color: var(--text); }
.btn--ghost:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: 14px; gap: 8px; }
.btn--sm svg { width: 16px; height: 16px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn.is-done { background: var(--ok); border-color: var(--ok); color: var(--surface); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

.icon-btn { display: inline-grid; place-items: center; position: relative; width: 40px; height: 40px; border: 0; background: none; padding: 0; border-radius: var(--r); color: var(--text); text-decoration: none; }
.icon-btn:hover { background: var(--surface2); color: var(--text); }
.icon-btn svg { width: 22px; height: 22px; }
.count-dot { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--text); color: var(--bg); font: 500 11px/18px var(--f-mono); text-align: center; }
.count-dot.is-zero { opacity: 0; transform: scale(.4); }
.count-dot.bump { animation: bump .45s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); background: var(--accent); } 100% { transform: scale(1); } }

.field { display: grid; gap: 6px; }
.field > span { font: 400 12px/1.4 var(--f-mono); color: var(--muted); }
.input, .select, textarea.input {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface); color: var(--text); font: 400 16px/1.3 var(--f-body);
}
textarea.input { min-height: 96px; resize: vertical; }
.input:focus, .select:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 1px var(--text); }
.input.is-bad { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
.err { font: 400 12px/1.4 var(--f-mono); color: var(--danger); }
.select { appearance: none; padding-right: 36px; 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 1.5l5 5 5-5' fill='none' stroke='%23111111' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.select--sm { min-height: 36px; padding: 6px 34px 6px 12px; font-size: 14px; }

.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--text);
  font: 400 14px/1.2 var(--f-body); text-decoration: none; transition: border-color .12s, background-color .12s, color .12s;
}
.chip:hover { border-color: var(--text); color: var(--text); }
.chip .n { font: 400 11px/1 var(--f-mono); color: var(--muted); }
.chip[aria-pressed="true"], .chip.is-on { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip[aria-pressed="true"] .n, .chip.is-on .n { color: var(--line); }
.chip[disabled] { opacity: .4; pointer-events: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.seg { display: inline-flex; border: 1px solid var(--text); border-radius: var(--r); }
.seg > * { min-height: 38px; padding: 0 16px; border: 0; background: transparent; font: 500 14px/38px var(--f-body); text-decoration: none; color: var(--text); white-space: nowrap; }
.seg > * + * { border-left: 1px solid var(--text); }
.seg > [aria-current="page"], .seg > [aria-pressed="true"] { background: var(--text); color: var(--bg); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.qty button { width: 34px; height: 34px; border: 0; background: none; display: grid; place-items: center; }
.qty button:hover { background: var(--surface2); }
.qty button svg { width: 14px; height: 14px; }
.qty output { min-width: 28px; text-align: center; font: 500 14px/1 var(--f-mono); }

.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border: 1px solid var(--text); border-radius: var(--r); background: var(--bg); font: 500 11px/1 var(--f-mono); letter-spacing: .02em; color: var(--text); }
.tag--sale { border-color: var(--accent); background: var(--accent); color: var(--surface); }
.tag--new { background: var(--text); color: var(--bg); }

.badge-lvl { display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1.2 var(--f-mono); }
.badge-lvl::before { content: ''; width: 10px; height: 10px; border-radius: 1px; background: currentColor; flex: none; }
.lvl-ok { color: var(--ok); } .lvl-separate { color: var(--separate); } .lvl-caution { color: var(--caution); } .lvl-danger { color: var(--danger); }

/* линейка и сетка — видимые направляющие */
.ruler { height: 10px; background-image:
  repeating-linear-gradient(90deg, var(--text) 0 1px, transparent 1px 80px),
  repeating-linear-gradient(90deg, var(--muted) 0 1px, transparent 1px 8px);
  background-size: 100% 10px, 100% 5px; background-repeat: no-repeat; background-position: 0 0, 0 0; opacity: .55; }
.ruler--draw { transform-origin: left center; animation: drawX 1.4s var(--ease) both .1s; }
@keyframes drawX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.guides { position: absolute; inset: 0; pointer-events: none; z-index: 0; display: grid; grid-template-columns: repeat(4, 1fr); padding: 0 var(--gut); max-width: var(--max); margin: 0 auto; }
.guides i { border-left: 1px solid var(--line); opacity: .55; }
.guides i:last-child { border-right: 1px solid var(--line); }
@media (min-width: 1024px) { .guides { grid-template-columns: repeat(12, 1fr); } }

/* ---------- промо-полоса и шапка ---------- */
.promo { background: var(--text); color: var(--bg); font: 400 12px/1 var(--f-mono); letter-spacing: .01em; }
.promo .wrap { display: flex; align-items: center; justify-content: space-between; height: 32px; gap: 24px; }
.promo span { white-space: nowrap; }
.promo span + span::before { content: ''; display: inline-block; width: 5px; height: 5px; background: var(--accent); margin: 0 14px 1px 0; vertical-align: middle; }
.promo .rot { display: none; }
@media (max-width: 899px) {
  .promo .wrap { justify-content: center; }
  .promo .all { display: none; }
  .promo .rot { display: inline; animation: fadeIn .4s both; }
}

.hdr { position: sticky; top: 0; z-index: 100; background: rgba(245, 243, 238, .96); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px); }
.hdr .wrap { display: flex; align-items: center; height: var(--hdr); gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex: none; }
.logo:hover { color: var(--text); }
.logo svg { display: block; height: 14px; width: auto; aspect-ratio: 964.2 / 106.57; }
.ftr-about .logo svg { height: 18px; }
.nav { display: none; align-items: stretch; gap: 2px; margin-left: 28px; height: 100%; }
.nav > a, .nav > button { display: inline-flex; align-items: center; gap: 6px; height: 100%; padding: 0 12px; border: 0; background: none; font: 500 14px/1 var(--f-body); color: var(--text); text-decoration: none; position: relative; white-space: nowrap; }
.nav > a::after, .nav > button::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
.nav > a:hover, .nav > button:hover { color: var(--text); }
.nav > a:hover::after, .nav > button:hover::after, .nav > [aria-current="page"]::after, .nav > button[aria-expanded="true"]::after { transform: scaleX(1); }
.nav > button svg { width: 12px; height: 12px; transition: transform .2s; }
.nav > button[aria-expanded="true"] svg { transform: rotate(180deg); }
.hdr-act { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.burger { margin-left: -8px; }
@media (min-width: 1100px) { .nav { display: flex; } .burger { display: none; } }
@media (max-width: 420px) { .logo svg { height: 12px; } }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -32px rgba(17, 17, 17, .35); }
.mega .wrap { display: grid; grid-template-columns: 1.1fr 1.4fr 1fr; gap: 0; height: auto; align-items: stretch; padding-top: 28px; padding-bottom: 32px; }
.mega-col { padding: 0 32px; border-left: 1px solid var(--line); }
.mega-col:first-child { padding-left: 0; border-left: 0; }
.mega-col .lbl { display: block; margin-bottom: 14px; }
.mega-list a { display: grid; grid-template-columns: 28px 1fr auto; align-items: baseline; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); text-decoration: none; font-size: 15px; }
.mega-list li:last-child a { border-bottom: 1px solid var(--line); }
.mega-list a i { font: normal 400 11px/1 var(--f-mono); color: var(--muted); }
.mega-list a em { font: normal 400 12px/1 var(--f-mono); color: var(--muted); }
.mega-list--2 { columns: 2; column-gap: 24px; }
.mega-list--2 li { break-inside: avoid; }
.mega-list--2 a { grid-template-columns: 1fr auto; }
.mega-feature { display: grid; gap: 14px; align-content: start; }
.mega-feature p { color: var(--muted); font-size: 14px; }

/* мобильное меню */
.scrim { position: fixed; inset: 0; z-index: 180; background: rgba(17, 17, 17, .32); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.scrim.is-on { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; bottom: 0; z-index: 190; width: min(440px, 92vw); background: var(--bg); display: flex; flex-direction: column; visibility: hidden; transition: transform .32s var(--ease), visibility .32s; }
.drawer--left { left: 0; transform: translateX(-100%); border-right: 1px solid var(--line); }
.drawer--right { right: 0; transform: translateX(100%); border-left: 1px solid var(--line); }
.drawer.is-on { transform: none; visibility: visible; }
.drawer-hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: var(--hdr); padding: 0 var(--gut); border-bottom: 1px solid var(--line); flex: none; }
.drawer-bd { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px var(--gut) 24px; }
.drawer-ft { flex: none; border-top: 1px solid var(--line); padding: 16px var(--gut) 20px; background: var(--bg); }
.mnav-sec { padding: 18px 0 8px; }
.mnav-sec + .mnav-sec { border-top: 1px solid var(--line); }
.mnav-sec .lbl { display: block; margin-bottom: 6px; }
.mnav-sec a { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 0; text-decoration: none; font-size: 17px; }
.mnav-sec a em { font: normal 400 12px/1 var(--f-mono); color: var(--muted); }

/* поиск */
.srch { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -32px rgba(17, 17, 17, .35); max-height: calc(100vh - var(--hdr) - 32px); overflow-y: auto; }
.srch .wrap { display: block; height: auto; padding-top: 20px; padding-bottom: 28px; }
.srch-row { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--text); }
.srch-row svg { width: 22px; height: 22px; flex: none; }
.srch-input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 0 12px; font: 500 clamp(20px, 2.4vw, 30px)/1.2 var(--f-display); letter-spacing: -0.02em; outline: none; }
.srch-input::placeholder { color: var(--muted); opacity: .7; }
.srch-input::-webkit-search-cancel-button { display: none; }
.srch-res { display: grid; gap: 28px; padding-top: 22px; }
@media (min-width: 900px) { .srch-res { grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; } }
.srch-res .lbl { display: block; margin-bottom: 8px; }
.sg-p { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); text-decoration: none; }
.sg-p img { width: 44px; aspect-ratio: 4/5; object-fit: cover; background: var(--photo); }
.sg-p b { display: block; font-weight: 500; font-size: 15px; line-height: 1.25; }
.sg-p small { font: 400 11px/1.3 var(--f-mono); color: var(--muted); }
.sg-p .pr { font: 500 14px/1 var(--f-body); white-space: nowrap; }
.sg-l { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); text-decoration: none; font-size: 15px; }
.sg-l small { font: 400 11px/1.6 var(--f-mono); color: var(--muted); white-space: nowrap; }
.sg-p.is-act, .sg-l.is-act { background: var(--surface2); outline: 1px solid var(--surface2); }
mark { background: var(--accent2); color: inherit; padding: 0 1px; }
.srch-empty { padding: 20px 0 4px; color: var(--muted); max-width: 60ch; }
.srch-foot { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }

/* ---------- мини-корзина ---------- */
.mc-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mc-line img { width: 64px; aspect-ratio: 4/5; object-fit: cover; background: var(--photo); }
.mc-line a { text-decoration: none; font-weight: 500; font-size: 15px; line-height: 1.25; display: block; }
.mc-line .lbl { margin-top: 3px; display: block; }
.mc-line .row { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.mc-line .sum { font: 500 15px/1.2 var(--f-body); text-align: right; white-space: nowrap; }
.mc-line .rm { border: 0; background: none; padding: 4px 0; font: 400 12px/1 var(--f-mono); color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.mc-line .rm:hover { color: var(--danger); }
.ship { padding: 14px 0 6px; }
.ship p { font-size: 14px; }
.bar { height: 4px; background: var(--surface2); margin-top: 10px; position: relative; overflow: hidden; }
.bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent); transition: width .4s var(--ease); }
.bar.is-full i { background: var(--ok); }
.sumrow { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 6px 0; }
.sumrow b { font: 600 22px/1.1 var(--f-display); letter-spacing: -0.02em; }
.mc-empty { padding: 32px 0; display: grid; gap: 18px; justify-items: start; }
.mc-empty .glyph { width: 48px; height: 48px; color: var(--muted); }
.mc-empty p { color: var(--muted); max-width: 32ch; }
.mc-note { margin-top: 12px; padding: 10px 12px; background: var(--accent2); font-size: 13px; line-height: 1.4; }

/* ---------- подвал ---------- */
.ftr { margin-top: clamp(64px, 8vw, 120px); border-top: 1px solid var(--text); background: var(--bg); }
.ftr-news { display: grid; gap: 20px; padding: 40px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .ftr-news { grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; } }
.ftr-news p { color: var(--muted); max-width: 46ch; margin-top: 10px; }
.news-form { display: flex; gap: 0; }
.news-form .input { border-right: 0; min-width: 0; }
.news-form .btn { flex: none; }
.news-ok { font-size: 15px; padding: 14px 0; }
.ftr-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; padding: 40px 0; }
@media (min-width: 900px) { .ftr-cols { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; } }
.ftr-cols h3 { font: 400 12px/1.4 var(--f-mono); color: var(--muted); letter-spacing: .01em; margin-bottom: 14px; }
.ftr-cols li + li { margin-top: 8px; }
.ftr-cols a { text-decoration: none; font-size: 15px; }
.ftr-cols a:hover { text-decoration: underline; }
.ftr-about { grid-column: 1 / -1; }
@media (min-width: 900px) { .ftr-about { grid-column: auto; } }
.ftr-about p { font-size: 14px; color: var(--muted); max-width: 36ch; margin-top: 12px; }
.ftr-contacts { font-size: 14px; display: grid; gap: 6px; margin-top: 16px; }
.ftr-contacts a { font-size: 15px; }
.ftr-pay { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.ftr-pay span { font: 400 11px/1 var(--f-mono); border: 1px solid var(--line); padding: 6px 8px; border-radius: var(--r); color: var(--muted); }
.ftr-bot { display: grid; gap: 10px; padding: 20px 0 88px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
@media (min-width: 900px) { .ftr-bot { grid-template-columns: 1fr auto; gap: 24px; padding-bottom: 28px; } }
.ftr-bot p { max-width: 90ch; }

/* ---------- общие блоки страницы ---------- */
main { display: block; min-height: 50vh; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; padding: 18px 0 0; font: 400 12px/1.5 var(--f-mono); color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line); }

.phead { position: relative; padding: 28px 0 clamp(32px, 4vw, 56px); }
.phead .t-h1 { margin-top: 18px; max-width: 16ch; }
.phead .lead { margin-top: 18px; color: var(--text); }
.phead-meta { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 20px; }
.phead--img { display: grid; gap: 28px; }
@media (min-width: 1024px) { .phead--img { grid-template-columns: 1fr 1fr; align-items: end; gap: 56px; } }
.phead--img figure { margin: 0; aspect-ratio: 16/9; background: var(--photo); overflow: hidden; }
.phead--img figure img { width: 100%; height: 100%; object-fit: cover; }

.sec { padding: clamp(48px, 6.5vw, 96px) 0; border-top: 1px solid var(--line); }
.sec--flush { border-top: 0; }
.sec--tint { background: var(--surface2); border-top: 0; }
.sec--amber { background: var(--accent2); border-top: 0; }
.sh { display: grid; gap: 14px 40px; margin-bottom: clamp(24px, 3vw, 44px); }
@media (min-width: 900px) { .sh { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
.sh p { color: var(--muted); max-width: 56ch; margin-top: 12px; }
.sh .aside { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.more { font: 500 14px/1 var(--f-body); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; white-space: nowrap; }

.empty { display: grid; gap: 16px; justify-items: start; padding: clamp(8px, 1.5vw, 20px) 0 clamp(40px, 6vw, 80px); max-width: 56ch; }
.empty .glyph { width: 64px; height: 64px; color: var(--muted); }
.empty h2 { font: 600 clamp(24px, 2.4vw, 32px)/1.1 var(--f-display); letter-spacing: -0.02em; }
.empty p { color: var(--muted); }

.note { padding: 14px 16px; border-left: 2px solid var(--accent); background: var(--accent2); font-size: 14px; line-height: 1.5; }
.note--line { background: none; border-left-color: var(--line); padding: 4px 0 4px 16px; color: var(--muted); }

.tbl { width: 100%; font-size: 15px; }
.tbl th, .tbl td { padding: 12px 16px 12px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: 1px solid var(--line); }
.tbl thead th { font: 400 12px/1.4 var(--f-mono); color: var(--muted); border-top: 1px solid var(--text); padding-top: 10px; padding-bottom: 10px; }
.tbl .r { text-align: right; padding-right: 0; }
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- карточка товара ---------- */
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 700px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pgrid--3 { }
@media (min-width: 1180px) { .pgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pcard { position: relative; display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.pcard-top { display: flex; align-items: center; justify-content: space-between; height: 38px; padding: 0 6px 0 12px; }
.pcard-top .lbl { font-size: 11px; }
.fav { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: var(--text); border-radius: var(--r); }
.fav svg { width: 20px; height: 20px; }
.fav:hover { color: var(--accent); }
.fav[aria-pressed="true"] { color: var(--accent); }
.fav[aria-pressed="true"] svg path { fill: currentColor; }
.pcard-img { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--photo); overflow: hidden; margin: 0 12px; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard-img img { transform: scale(1.025); }
.pcard-tags { position: absolute; left: 8px; top: 8px; display: flex; gap: 4px; flex-wrap: wrap; z-index: 1; }
.pcard-bd { display: flex; flex-direction: column; flex: 1; padding: 14px 12px 14px; gap: 6px; }
.pcard-conc { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.pcard-conc .conc { font-size: clamp(34px, 3.4vw, 46px); }
.pcard-conc .lbl { text-align: right; font-size: 11px; line-height: 1.35; padding-bottom: 2px; }
.pcard-name { font: 500 15px/1.28 var(--f-body); letter-spacing: -0.005em; text-decoration: none; margin-top: 6px; }
.pcard-name::after { content: ''; position: absolute; inset: 0; z-index: 0; }
.pcard-name:hover { color: var(--text); text-decoration: underline; }
.pcard-sub { font-size: 13px; line-height: 1.4; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-ft { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; position: relative; z-index: 1; }
.price { font: 600 17px/1.1 var(--f-body); white-space: nowrap; letter-spacing: -0.01em; }
.price s { font-weight: 400; font-size: .82em; color: var(--muted); margin-left: 6px; }
.price.is-sale { color: var(--accent); }
.pcard .fav, .pcard .btn { position: relative; z-index: 1; }
@media (max-width: 699px) {
  .pcard-top { padding-left: 10px; }
  .pcard-img { margin: 0 10px; }
  .pcard-bd { padding: 12px 10px; }
  .pcard-name { font-size: 14px; }
  .pcard-sub { display: none; }
  .pcard-ft { flex-direction: column; align-items: stretch; gap: 10px; }
  .pcard-ft .btn { width: 100%; }
}

/* табличный вид каталога */
.ptable { width: 100%; font-size: 14px; }
.ptable th, .ptable td { padding: 10px 14px 10px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: middle; }
.ptable thead th { font: 400 12px/1.3 var(--f-mono); color: var(--muted); border-top: 1px solid var(--text); }
.ptable tbody tr:hover { background: var(--surface); }
.ptable .pt-name a { font-weight: 500; text-decoration: none; }
.ptable .pt-name a:hover { text-decoration: underline; }
.ptable .pt-name small { display: block; color: var(--muted); font-size: 12px; }
.ptable .pt-img img { width: 44px; aspect-ratio: 4/5; object-fit: cover; background: var(--photo); }
.ptable .conc { font-size: 26px; }
.ptable td.r, .ptable th.r { text-align: right; padding-right: 0; }

/* ---------- главная ---------- */
.hero { position: relative; }
.hero-hd { position: relative; padding: 22px 0 28px; }
.hero-hd .lbl { display: flex; justify-content: space-between; gap: 16px; }
.hero-title { margin-top: 18px; position: relative; z-index: 1; }
.hero-title span { display: block; white-space: nowrap; animation: heroIn .9s var(--ease) both; }
.hero-eyebrow span:last-child { text-align: right; }
@media (max-width: 639px) { .hide-sm { display: none; } }
.hero-title span:nth-child(2) { animation-delay: .08s; }
.hero-title span:nth-child(3) { animation-delay: .16s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(.18em); } to { opacity: 1; transform: none; } }
.hero-sub { display: grid; gap: 20px; margin-top: 24px; position: relative; z-index: 1; }
.hero-sub p { max-width: 44ch; font-size: 17px; }
.hero-fig { position: relative; margin: 0; background: var(--photo); overflow: hidden; }
.hero-fig picture, .hero-fig img { width: 100%; height: 100%; }
.hero-fig img { object-fit: cover; aspect-ratio: 4 / 5; }
.hero-callouts { display: none; }
.hero-formats { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.hero-formats li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.hero-formats b { font: 500 13px/1.4 var(--f-mono); }
@media (min-width: 640px) { .hero-formats { grid-template-columns: repeat(3, 1fr); gap: 0 24px; } .hero-formats li { grid-template-columns: 1fr; gap: 4px; } }
@media (min-width: 1100px) {
  .hero-hd { padding-bottom: 36px; }
  .hero-title { display: flex; justify-content: space-between; gap: 0 .3em; }
  .hero-fig img { aspect-ratio: 21 / 9; }
  .hero-over { position: absolute; inset: 0; display: grid; grid-template-columns: 30% 42% 28%; z-index: 2; }
  .hero-over .l { padding: clamp(28px, 3vw, 48px) 0 clamp(28px, 3vw, 48px) var(--gut); display: flex; flex-direction: column; justify-content: flex-end; gap: 22px; }
  .hero-over .l p { font-size: 17px; max-width: 30ch; }
  .hero-sub { display: none; }
  .hero-callouts { display: block; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
  .hero-callouts svg { width: 100%; height: 100%; }
  .hero-callouts path { fill: none; stroke: var(--text); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 600; stroke-dashoffset: 600; animation: dash 1.4s var(--ease) forwards .5s; }
  .hero-callouts circle { fill: var(--bg); stroke: var(--text); stroke-width: 1; vector-effect: non-scaling-stroke; animation: fadeIn .4s both 1.3s; }
  .hero-over .r { position: relative; margin-right: var(--gut); }
  .co-lbl { position: absolute; left: 0; right: 0; border-top: 1px solid var(--text); padding-top: 8px; font-size: 13px; line-height: 1.4; color: var(--text); max-width: 34ch; animation: fadeIn .6s both 1.2s; }
  .co-lbl b { display: block; font: 500 12px/1.4 var(--f-mono); margin-bottom: 3px; }
  .hero-callouts .dot { position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--bg); border: 1px solid var(--text); animation: fadeIn .4s both 1.3s; }
  .hero-formats { display: none; }
}
@keyframes dash { to { stroke-dashoffset: 0; } }
.hero-over { display: none; }
@media (min-width: 1100px) { .hero-over { display: grid; } }

.facts { display: grid; grid-template-columns: repeat(2, 1fr); border-left: 1px solid var(--line); }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts li { padding: 22px 18px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.facts b { font: 600 clamp(36px, 4.2vw, 64px)/.9 var(--f-display); letter-spacing: -0.045em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.facts span { font-size: 14px; color: var(--muted); max-width: 22ch; }

.principles { display: grid; gap: 0; border-top: 1px solid var(--text); }
@media (min-width: 900px) { .principles { grid-template-columns: repeat(4, 1fr); } }
.principles li { padding: 20px 0 24px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
@media (min-width: 900px) { .principles li { padding: 22px 28px 8px 0; border-bottom: 0; } .principles li + li { padding-left: 28px; border-left: 1px solid var(--line); } }
.principles p { color: var(--muted); font-size: 15px; }

.concern-index { border-top: 1px solid var(--text); }
.concern-index a { display: grid; grid-template-columns: 1fr auto 28px; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding-left .2s var(--ease), background-color .2s; }
.concern-index a:hover { color: var(--text); background: var(--surface); padding-left: 12px; }
.concern-index b { font: 500 clamp(19px, 2vw, 26px)/1.15 var(--f-display); letter-spacing: -0.02em; }
.concern-index small { font: 400 12px/1.3 var(--f-mono); color: var(--muted); white-space: nowrap; }
.concern-index svg { width: 20px; height: 20px; justify-self: end; }
.concern-thumbs { display: none; }
@media (min-width: 700px) { .concern-thumbs { display: flex; gap: 4px; } .concern-thumbs img { width: 30px; aspect-ratio: 4/5; object-fit: cover; background: var(--photo); } .concern-index a { grid-template-columns: 1fr auto auto 28px; } }

.anatomy { display: grid; gap: 32px; }
@media (min-width: 1024px) { .anatomy { grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; } }
.anatomy figure { margin: 0; aspect-ratio: 4/5; background: var(--photo); overflow: hidden; }
.anatomy figure img { width: 100%; height: 100%; object-fit: cover; }
.label-card { background: var(--surface); border: 1px solid var(--line); padding: clamp(20px, 3vw, 36px); }
.label-card .lbl { display: flex; justify-content: space-between; }
.label-name { margin: 22px 0 18px; font: 600 clamp(26px, 3.6vw, 52px)/1.04 var(--f-display); letter-spacing: -0.035em; display: flex; flex-wrap: wrap; gap: 0 .28em; }
.label-name span { border-bottom: 2px solid transparent; transition: border-color .2s, color .2s, background-color .2s; padding: 0 .04em; }
.label-name span.is-hi { background: var(--accent2); border-bottom-color: var(--accent); }
.label-ph { display: flex; justify-content: space-between; border-top: 1px solid var(--text); padding-top: 10px; font: 400 12px/1.4 var(--f-mono); }
.label-ph span { transition: background-color .2s; padding: 0 2px; }
.label-ph span.is-hi { background: var(--accent2); }
.parts { margin-top: 24px; border-top: 1px solid var(--line); }
.parts li { display: grid; grid-template-columns: 36px 140px 1fr; gap: 12px; padding: 14px 8px 14px 0; border-bottom: 1px solid var(--line); cursor: default; transition: background-color .15s; }
.parts li:hover, .parts li:focus-within, .parts li.is-hi { background: var(--surface); }
.parts li i { font: normal 400 12px/1.6 var(--f-mono); color: var(--muted); padding-left: 8px; }
.parts li b { font: 500 13px/1.5 var(--f-mono); }
.parts li p { font-size: 14px; color: var(--muted); }
@media (max-width: 640px) { .parts li { grid-template-columns: 28px 1fr; } .parts li p { grid-column: 2; } }

.split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 7fr 5fr; gap: 56px; } .split--rev { grid-template-columns: 5fr 7fr; } .split--rev > figure { order: 2; } }
.split figure { margin: 0; aspect-ratio: 16/9; background: var(--photo); overflow: hidden; }
.split figure img { width: 100%; height: 100%; object-fit: cover; }
.split .txt { display: grid; gap: 18px; align-content: start; }
.split .txt p { color: var(--muted); max-width: 46ch; }

.mini-gloss { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: 8px; }
.mini-gloss a { display: grid; gap: 6px; padding: 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; background: var(--bg); }
.mini-gloss a:hover { background: var(--surface); color: var(--text); }
.mini-gloss .sym { font: 600 28px/1 var(--f-display); letter-spacing: -0.03em; }
.mini-gloss small { font-size: 13px; color: var(--muted); line-height: 1.35; }

.price-bar { display: flex; height: 56px; border: 1px solid var(--text); margin: 8px 0 0; }
.price-bar i { position: relative; display: block; border-right: 1px solid var(--bg); background: var(--text); transition: background-color .15s; cursor: default; }
.price-bar i:last-child { border-right: 0; }
.price-bar i.is-hi, .price-bar i:hover { opacity: .72; }
.price-bar i span { position: absolute; left: 8px; top: 50%; transform: translateY(-50%); color: var(--bg); font: 500 12px/1 var(--f-mono); white-space: nowrap; }
.price-scale { display: flex; justify-content: space-between; font: 400 11px/1 var(--f-mono); color: var(--muted); margin-top: 8px; }
.price-tbl tr { transition: background-color .15s; }
.price-tbl tr.is-hi { background: var(--surface); }
.price-tbl td:first-child { width: 28px; }
.price-tbl .sw { width: 12px; height: 12px; display: inline-block; background: var(--text); vertical-align: -1px; }
.price-grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .price-grid { grid-template-columns: 5fr 7fr; gap: 56px; } }
.price-big { font: 600 clamp(80px, 12vw, 180px)/.85 var(--f-display); letter-spacing: -0.06em; }
.price-big small { font-size: .3em; letter-spacing: -0.01em; margin-left: .1em; }

.steps-h { display: grid; gap: 0; border-top: 1px solid var(--text); counter-reset: s; }
.steps-h li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.steps-h li::before { counter-increment: s; content: '0' counter(s); font: 500 13px/1.6 var(--f-mono); color: var(--muted); }

.reviews { display: grid; gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 700px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { display: grid; gap: 12px; align-content: start; padding: 22px 20px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.review .hd { display: flex; justify-content: space-between; gap: 12px; }
.review p { font-size: 15px; }
.review .who { font-size: 13px; color: var(--muted); }
.review .prod { font: 400 12px/1.4 var(--f-mono); text-decoration: none; color: var(--text); border-top: 1px solid var(--line); padding-top: 10px; }
.review .prod:hover { color: var(--accent); }
.stars { display: inline-flex; gap: 2px; color: var(--text); }
.stars svg { width: 13px; height: 13px; }
.stars .off { color: var(--line); }

.empties { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .empties { grid-template-columns: auto 1fr auto; gap: 48px; } }
.empties .bottles { display: flex; gap: 6px; }
.empties .bottles svg { width: 26px; height: 52px; color: var(--accent); }
.empties p { max-width: 52ch; }

/* ---------- каталог ---------- */
.cat-bar { position: sticky; top: var(--hdr); z-index: 40; background: var(--bg); border-top: 1px solid var(--text); border-bottom: 1px solid var(--line); }
.cat-bar .wrap { display: flex; align-items: center; gap: 12px; min-height: 56px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.cat-bar .sp { flex: 1; }
.cat-bar .select { width: auto; min-width: 0; max-width: 220px; }
.cat-bar .lbl { white-space: nowrap; }
@media (max-width: 479px) {
  .cat-bar .wrap { gap: 8px; flex-wrap: nowrap; }
  .cat-bar .select { max-width: 150px; }
  .cat-bar .seg--ic:has([data-layout="grid"][aria-pressed="true"]) { display: none; }
}
@media (max-width: 639px) {
  .reg-tbl tr { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
  .reg-tbl tr:last-child { border-bottom: 1px solid var(--line); }
  .tbl.reg-tbl td, .tbl.reg-tbl tr:last-child td { padding: 0; border: 0; }
  .reg-tbl td:first-child { grid-column: 1 / -1; padding-bottom: 10px; }
}
.filt-toggle { display: inline-flex; }
.filters { border-bottom: 1px solid var(--line); background: var(--bg); }
.filters .wrap { display: grid; gap: 18px; padding-top: 20px; padding-bottom: 22px; }
@media (min-width: 1024px) { .filters .wrap { grid-template-columns: 1.2fr 1fr 2fr 1fr; gap: 28px; } }
.filters fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.filters legend { font: 400 12px/1.4 var(--f-mono); color: var(--muted); margin-bottom: 10px; padding: 0; }
.active-f { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 16px 0 0; }
.active-f .chip svg { width: 12px; height: 12px; }
.cat-group { padding-top: clamp(36px, 4vw, 56px); }
.cat-group-hd { display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; align-items: end; padding-bottom: 18px; }
.cat-group-hd .idx { font: 600 clamp(40px, 5vw, 72px)/.85 var(--f-display); letter-spacing: -0.05em; color: var(--muted); font-variant-numeric: tabular-nums; }
.cat-group-hd h2 { font: 600 clamp(26px, 3vw, 40px)/1 var(--f-display); letter-spacing: -0.03em; }
.cat-group-hd p { grid-column: 2; color: var(--muted); font-size: 15px; max-width: 60ch; }
.cat-group-hd .cnt { font: 400 12px/1 var(--f-mono); color: var(--muted); margin-left: 10px; letter-spacing: 0; vertical-align: middle; }
@media (max-width: 640px) { .cat-group-hd { grid-template-columns: 1fr; } .cat-group-hd p { grid-column: 1; } }
.cat-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 900px) { .cat-tiles { grid-template-columns: repeat(4, 1fr); } }
.cat-tile { display: grid; grid-template-rows: auto 1fr; text-decoration: none; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.cat-tile figure { margin: 0; aspect-ratio: 1; background: var(--photo); overflow: hidden; }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-tile:hover img { transform: scale(1.03); }
.cat-tile div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 12px 14px 14px; }
.cat-tile b { font: 500 16px/1.2 var(--f-display); }
.cat-tile small { font: 400 11px/1 var(--f-mono); color: var(--muted); }
.cat-tile i { font: normal 400 11px/1 var(--f-mono); color: var(--muted); }
.cat-intro { display: grid; gap: 20px; }
@media (min-width: 1024px) { .cat-intro { grid-template-columns: 1fr 1fr; align-items: end; } }

/* ---------- товар ---------- */
.pp { display: grid; gap: 28px; padding-top: 20px; }
@media (min-width: 1024px) { .pp { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; } }
.gal { display: grid; gap: 8px; }
@media (min-width: 1024px) { .gal { position: sticky; top: calc(var(--hdr) + 16px); } }
.gal-main { position: relative; margin: 0; aspect-ratio: 4/5; background: var(--photo); overflow: hidden; }
.gal-main img { width: 100%; height: 100%; object-fit: cover; }
.gal-main .pcard-tags { left: 14px; top: 14px; }
.gal-thumbs { display: flex; gap: 8px; }
.gal-thumbs button { width: 72px; aspect-ratio: 4/5; padding: 0; border: 1px solid transparent; background: var(--photo); }
.gal-thumbs button[aria-pressed="true"] { border-color: var(--text); }
.gal-thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) { .gal--two { grid-template-columns: 1fr 1fr; } .gal--two .gal-thumbs { display: none; } .gal--two .gal-main--2 { display: block !important; } }
.pi { display: grid; gap: 0; align-content: start; }
.pi-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: space-between; }
.pi h1 { font: 600 clamp(30px, 3.2vw, 44px)/1.04 var(--f-display); letter-spacing: -0.03em; margin-top: 14px; }
.pi-sub { color: var(--muted); margin-top: 10px; font-size: 16px; }
.pi-rate { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 14px; }
.pi-rate a { color: var(--muted); }
.pi-concs { display: flex; flex-wrap: wrap; gap: 0; margin-top: 26px; border-top: 1px solid var(--text); }
.pi-concs li { flex: 1 1 0; min-width: 120px; padding: 14px 16px 16px 0; display: grid; gap: 8px; align-content: start; }
.pi-concs li + li { padding-left: 16px; border-left: 1px solid var(--line); }
.pi-concs .conc { font-size: clamp(56px, 6vw, 96px); }
.pi-concs li:first-child { flex: 0 0 auto; padding-right: 22px; }
.pi-concs li + li .conc { font-size: clamp(36px, 3.4vw, 52px); color: var(--muted); }
.pi-concs small { font-size: 13px; line-height: 1.3; max-width: 22ch; }
.spec { border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec dt { font: 400 12px/1.7 var(--f-mono); color: var(--muted); }
.spec dd.mono { font-size: 14px; }
.buy { display: grid; gap: 14px; padding: 22px 0; }
.buy-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.buy-row .price { font-size: 28px; font-family: var(--f-display); letter-spacing: -0.02em; margin-right: auto; }
.buy-row .btn { min-width: 200px; }
.buy-row .fav { width: 48px; height: 48px; border: 1px solid var(--line); }
.buy-row .fav svg { width: 20px; height: 20px; }
.buy-note { font-size: 13px; color: var(--muted); display: flex; gap: 8px 16px; flex-wrap: wrap; }
.buy-note a { color: var(--text); }
.in-cart-line { font-size: 14px; }
.pp-sec { padding: 22px 0; border-top: 1px solid var(--line); }
.pp-sec h2 { font: 400 12px/1.4 var(--f-mono); color: var(--muted); letter-spacing: .01em; margin-bottom: 12px; }
.benefits li { position: relative; padding: 6px 0 6px 22px; }
.benefits li::before { content: ''; position: absolute; left: 0; top: 15px; width: 10px; height: 1px; background: var(--text); }
.ki { width: 100%; }
.ki td { padding: 10px 12px 10px 0; border-top: 1px solid var(--line); vertical-align: top; font-size: 14px; }
.ki td:first-child { width: 72px; font: 600 22px/1 var(--f-display); letter-spacing: -0.03em; white-space: nowrap; padding-top: 12px; }
.ki b { font-weight: 500; display: block; font-size: 15px; }
.ki span { color: var(--muted); }
details.inci { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
details.inci summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; cursor: pointer; font: 500 15px/1.2 var(--f-body); }
details.inci summary::-webkit-details-marker { display: none; }
details.inci summary svg { width: 16px; height: 16px; transition: transform .2s; }
details.inci[open] summary svg { transform: rotate(45deg); }
details.inci .mono { font-size: 13px; line-height: 1.7; padding: 0 0 18px; color: var(--text); }
details.inci .mono span { white-space: nowrap; }
.avoid-list li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; align-items: baseline; }
.avoid-list li::before { content: ''; width: 10px; height: 10px; background: var(--separate); border-radius: 1px; }
.avoid-list a { text-decoration: none; }
.avoid-list a:hover { text-decoration: underline; }
.routine { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.routine li { padding: 10px 6px 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 6px; align-content: start; font-size: 12px; line-height: 1.25; color: var(--muted); min-width: 0; hyphens: manual; }
.routine li i { font: normal 500 11px/1 var(--f-mono); }
.routine li .nm { hyphens: none; -webkit-hyphens: none; overflow-wrap: normal; word-break: keep-all; }
.routine li.is-on { background: var(--text); color: var(--bg); }
.routine li.is-on i { color: var(--accent2); }
@media (max-width: 640px) { .routine li { padding: 10px 2px 12px; justify-items: center; } .routine li .nm { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
.pp-wide { display: grid; gap: 0 56px; }
@media (min-width: 1024px) { .pp-wide { grid-template-columns: 1fr 1fr; } }
.gl-links { display: flex; flex-wrap: wrap; gap: 8px; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--bg); border-top: 1px solid var(--text); padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); display: none; align-items: center; gap: 12px; transform: translateY(100%); transition: transform .25s var(--ease); }
.sticky-buy.is-on { transform: none; }
.sticky-buy .price { font-size: 18px; }
.sticky-buy .nm { flex: 1; min-width: 0; font-size: 13px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 899px) {
  .sticky-buy { display: flex; }
  /* липкая кнопка на экране — плашка демо встаёт над ней (класс ставит js/product.js; README: --rs-sw-lift) */
  html.sb-on { --rs-sw-lift: 60px; }
}

/* ---------- корзина ---------- */
.cart { display: grid; gap: 32px; padding-top: 8px; }
@media (min-width: 1024px) { .cart { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 56px; align-items: start; } }
.cl-head { display: grid; grid-template-columns: 1fr 120px 110px; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--text); font: 400 12px/1.4 var(--f-mono); color: var(--muted); }
.cl { display: grid; grid-template-columns: 88px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cl img { width: 88px; aspect-ratio: 4/5; object-fit: cover; background: var(--photo); }
.cl-main { display: grid; gap: 12px; }
@media (min-width: 700px) { .cl-main { grid-template-columns: 1fr 120px 110px; align-items: start; gap: 16px; } }
.cl-name a { text-decoration: none; font: 500 16px/1.25 var(--f-body); }
.cl-name a:hover { text-decoration: underline; }
.cl-name .lbl { display: block; margin-top: 4px; }
.cl-name .cl-meta { display: flex; flex-wrap: wrap; column-gap: 12px; row-gap: 2px; }
.cl-name .acts { display: flex; gap: 16px; margin-top: 10px; }
.cl-name .acts button { border: 0; background: none; padding: 0; font: 400 12px/1.4 var(--f-mono); color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.cl-name .acts button:hover { color: var(--text); }
.cl-sum { text-align: right; font: 600 17px/1.2 var(--f-body); white-space: nowrap; }
.cl-sum small { display: block; font: 400 12px/1.4 var(--f-mono); color: var(--muted); margin-top: 4px; }
@media (max-width: 699px) { .cl-head { display: none; } .cl-row2 { display: flex; justify-content: space-between; align-items: center; } }
.summary { position: relative; display: grid; gap: 14px; padding: 22px; background: var(--surface); border: 1px solid var(--line); }
@media (min-width: 1024px) { .summary { position: sticky; top: calc(var(--hdr) + 20px); } }
.summary .sumrow span { font-size: 15px; }
.sumrow small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.35; }
.summary .sumrow--total { border-top: 1px solid var(--text); padding-top: 14px; margin-top: 4px; }
.summary .sumrow--total b { font-size: 30px; }
.disc { color: var(--ok); }
.compat-box { padding: 16px 0; border-top: 1px solid var(--line); }
.compat-box h3 { font: 400 12px/1.4 var(--f-mono); color: var(--muted); margin-bottom: 8px; }
.compat-box p { font-size: 14px; }
.compat-box ul { margin-top: 10px; }
.compat-box li { display: flex; gap: 8px; align-items: baseline; font-size: 14px; padding: 4px 0; }
.compat-box li > span:last-child small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; }
@media (max-width: 560px) { .compat-box li { display: block; } .compat-box li .badge-lvl { display: flex; margin-bottom: 2px; } }
.set-hint { padding: 14px 16px; background: var(--accent2); font-size: 14px; display: grid; gap: 8px; }
.co { margin-top: 8px; }
.co-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .co-grid { grid-template-columns: 1fr 1fr; } .co-grid .wide { grid-column: 1 / -1; } }
.co fieldset { border: 0; padding: 0; margin: 28px 0 0; min-width: 0; }
.co legend { font: 600 20px/1.2 var(--f-display); letter-spacing: -0.015em; padding: 0; margin-bottom: 14px; display: flex; gap: 12px; align-items: baseline; }
.co legend i { font: normal 400 12px/1 var(--f-mono); color: var(--muted); }
.opts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.opt { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; padding: 14px 4px 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; align-items: start; }
.opt input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--text); }
.opt b { font-weight: 500; display: block; }
.opt small { color: var(--muted); font-size: 13px; display: block; margin-top: 2px; }
.opt .pr { font: 500 14px/1.4 var(--f-body); white-space: nowrap; }
.opt:has(input:checked) { background: var(--surface); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 8px 0; font-size: 14px; cursor: pointer; }
.check input { margin: 2px 0 0; width: 18px; height: 18px; accent-color: var(--text); }
.demo-line { margin-top: 18px; padding: 12px 14px; border: 1px dashed var(--muted); font: 400 13px/1.5 var(--f-mono); color: var(--text); }
.success { padding: clamp(32px, 5vw, 64px) 0; display: grid; gap: 22px; max-width: 760px; }
.success .num-big { font: 600 clamp(40px, 6vw, 80px)/.9 var(--f-display); letter-spacing: -0.04em; }
.success-lines { border-top: 1px solid var(--text); }
.success-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }

/* ---------- конструктор ---------- */
.bld { display: grid; gap: 32px; }
@media (min-width: 1100px) { .bld { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; align-items: start; } }
.q { border: 0; margin: 0; padding: 22px 0 26px; border-top: 1px solid var(--line); min-width: 0; }
.q:first-child { border-top: 1px solid var(--text); }
.q legend { display: flex; gap: 16px; align-items: baseline; padding: 0; margin-bottom: 16px; width: 100%; }
.q legend i { font: normal 500 12px/1 var(--f-mono); color: var(--muted); }
.q legend b { font: 600 20px/1.2 var(--f-display); letter-spacing: -0.015em; }
.q legend small { margin-left: auto; font: 400 12px/1.2 var(--f-mono); color: var(--muted); white-space: nowrap; }
.q-hint { font-size: 13px; color: var(--muted); margin: -6px 0 14px 34px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.tiles--wide { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.tile { position: relative; display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r); cursor: pointer; transition: border-color .12s, background-color .12s; min-height: 52px; align-content: center; }
.tile:hover { border-color: var(--text); }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile b { font-weight: 500; font-size: 15px; line-height: 1.25; }
.tile small { font-size: 12px; color: var(--muted); line-height: 1.35; }
.tile:has(input:checked) { background: var(--text); border-color: var(--text); color: var(--bg); }
.tile:has(input:checked) small { color: var(--line); }
.tile:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.tile:has(input:disabled) { opacity: .4; cursor: not-allowed; }
.tile .ic { position: absolute; right: 10px; top: 10px; width: 18px; height: 18px; }
.tile:has(.ic) { padding-right: 36px; }
.res { background: var(--surface); border: 1px solid var(--line); }
@media (min-width: 1100px) { .res { position: sticky; top: calc(var(--hdr) + 16px); max-height: calc(100vh - var(--hdr) - 32px); overflow-y: auto; overscroll-behavior: contain; } }
.res-hd { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.res-hd h2 { font: 600 24px/1.1 var(--f-display); letter-spacing: -0.02em; }
.res-bd { padding: 6px 22px 22px; }
.rt { padding: 16px 0 8px; }
.rt + .rt { border-top: 1px solid var(--line); }
.rt-hd { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.rt-hd svg { width: 20px; height: 20px; }
.rt-hd b { font: 600 17px/1 var(--f-display); }
.rt-hd small { margin-left: auto; font: 400 12px/1 var(--f-mono); color: var(--muted); }
.rstep { display: grid; grid-template-columns: 26px 44px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.rstep:first-of-type { border-top: 0; }
.rstep > i { font: normal 500 12px/1 var(--f-mono); color: var(--muted); }
.rstep img { width: 44px; aspect-ratio: 4/5; object-fit: cover; background: var(--photo); }
.rstep .nm a { font-weight: 500; font-size: 14px; line-height: 1.25; text-decoration: none; display: block; }
.rstep .nm a:hover { text-decoration: underline; }
.rstep .nm small { display: block; font: 400 11px/1.4 var(--f-mono); color: var(--muted); margin-top: 2px; }
.rstep .nm .swap { margin-top: 6px; }
.rstep .pr { font: 500 14px/1 var(--f-body); white-space: nowrap; text-align: right; }
.rstep .pr small { display: block; font: 400 11px/1.4 var(--f-mono); color: var(--muted); margin-top: 3px; }
.swap-btn { position: relative; border: 0; background: none; padding: 0; font: 400 12px/1.4 var(--f-mono); color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.swap-btn:hover { color: var(--text); }
.week { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: 6px; }
.week div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 8px 6px; min-height: 64px; display: grid; gap: 4px; align-content: start; font-size: 11px; line-height: 1.25; min-width: 0; }
.week div > i { font: normal 500 11px/1 var(--f-mono); color: var(--muted); }
.week .w-act { display: block; padding: 3px 4px; background: var(--text); color: var(--bg); font: 500 10px/1.2 var(--f-mono); overflow-wrap: anywhere; }
.week .w-act.alt { background: var(--accent); }
.week .w-rest { color: var(--muted); font: 400 10px/1.2 var(--f-mono); }
@media (max-width: 559px) { .week .w-nm { display: none; } .week div { padding: 8px 4px; } .week .w-act { text-align: center; } }
.res-notes { display: grid; gap: 8px; margin-top: 14px; }
.res-notes li { font-size: 13px; line-height: 1.45; padding-left: 16px; position: relative; color: var(--text); }
.res-notes li::before { content: ''; position: absolute; left: 0; top: 8px; width: 8px; height: 1px; background: var(--accent); }
.res-later { margin-top: 12px; font-size: 13px; color: var(--muted); }
.res-ft { position: sticky; bottom: 0; background: var(--surface); border-top: 1px solid var(--text); padding: 16px 22px 18px; display: grid; gap: 12px; }
.res-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.res-total b { font: 600 32px/1 var(--f-display); letter-spacing: -0.03em; }
.res-ex { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; background: var(--accent2); font: 400 11px/1 var(--f-mono); }
.disclaimer { font-size: 12px; color: var(--muted); line-height: 1.45; }
.mob-total { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; align-items: center; gap: 12px; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--text); }
.mob-total b { font: 600 20px/1 var(--f-display); }
.mob-total small { display: block; font: 400 11px/1.2 var(--f-mono); color: var(--muted); }
.mob-total .btn { margin-left: auto; }
@media (max-width: 1099px) {
  .mob-total { display: flex; }
  /* плашка демо над липким итогом и над итогом режима — --rs-sw-lift на <html> ставит js/builder.js */
  .res-ft { padding: 12px 18px 14px; gap: 10px; }
  .res-total b { font-size: 26px; }
}

/* ---------- словарь ---------- */
.gl-tools { position: sticky; top: var(--hdr); z-index: 30; background: var(--bg); border-top: 1px solid var(--text); border-bottom: 1px solid var(--line); }
.gl-tools .wrap { display: grid; gap: 10px; padding-top: 12px; padding-bottom: 12px; }
@media (min-width: 900px) { .gl-tools .wrap { grid-template-columns: 340px 1fr; align-items: center; gap: 24px; } }
.gl-search { position: relative; }
.gl-search svg { position: absolute; left: 12px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); }
.gl-search .input { padding-left: 40px; min-height: 42px; }
.abc { display: flex; flex-wrap: wrap; gap: 2px; }
.abc a, .abc span { display: grid; place-items: center; min-width: 40px; height: 40px; font: 500 13px/1 var(--f-mono); text-decoration: none; border-radius: var(--r); }
.abc a:hover { background: var(--text); color: var(--bg); }
.abc span { color: var(--line); }
@media (max-width: 899px) { .abc { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut); } .abc::-webkit-scrollbar { display: none; } .abc span { display: none; } .abc a { flex: 0 0 auto; min-width: 34px; border: 1px solid var(--line); } }
.gl { display: grid; gap: 40px; padding-top: 36px; }
@media (min-width: 1100px) { .gl { grid-template-columns: 240px minmax(0, 1fr); gap: 56px; } }
.gl-index { display: none; }
@media (min-width: 1100px) { .gl-index { display: block; position: sticky; top: calc(var(--hdr) + 84px); align-self: start; max-height: calc(100vh - var(--hdr) - 100px); overflow-y: auto; } }
.gl-index a { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 14px; }
.gl-index a small { font: 400 11px/1.6 var(--f-mono); color: var(--muted); }
.gl-index a.is-cur { color: var(--accent); }
.ge { padding: 28px 0 32px; border-top: 1px solid var(--text); scroll-margin-top: calc(var(--hdr) + 80px); }
.ge:target { background: linear-gradient(var(--accent2), var(--accent2)) no-repeat 0 0 / 100% 6px; }
.ge-hd { display: grid; gap: 6px 24px; }
@media (min-width: 900px) { .ge-hd { grid-template-columns: 96px 1fr auto; align-items: start; } }
.ge-sym { width: 84px; height: 84px; border: 1px solid var(--text); display: grid; grid-template-rows: auto 1fr auto; padding: 6px 7px; background: var(--surface); }
.ge-sym i { font: normal 400 10px/1 var(--f-mono); color: var(--muted); }
.ge-sym b { font: 600 32px/1 var(--f-display); letter-spacing: -0.03em; align-self: center; }
.ge-sym small { font: 400 9px/1.1 var(--f-mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ge h2 { font: 600 clamp(28px, 3vw, 40px)/1.02 var(--f-display); letter-spacing: -0.03em; }
.ge .aka { color: var(--muted); margin-top: 6px; font-size: 15px; }
.ge .inci-l { font: 400 13px/1.5 var(--f-mono); margin-top: 6px; }
.ge .grp { font: 400 12px/1 var(--f-mono); color: var(--muted); border: 1px solid var(--line); padding: 6px 8px; white-space: nowrap; justify-self: start; }
.ge-sum { font: 500 clamp(18px, 1.6vw, 21px)/1.4 var(--f-display); letter-spacing: -0.01em; margin: 20px 0 0; max-width: 56ch; }
.ge-grid { display: grid; gap: 0 40px; margin-top: 20px; }
@media (min-width: 900px) { .ge-grid { grid-template-columns: 1fr 1fr; } }
.ge-grid > div { padding: 14px 0; border-top: 1px solid var(--line); }
.ge-grid h3 { font: 400 12px/1.4 var(--f-mono); color: var(--muted); margin-bottom: 8px; }
.ge-grid p { font-size: 15px; }
.ge-grid ul li { font-size: 15px; padding: 3px 0 3px 18px; position: relative; }
.ge-grid ul li::before { content: ''; position: absolute; left: 0; top: 11px; width: 8px; height: 8px; border-radius: 1px; }
.ge-good li::before { background: var(--ok); }
.ge-bad li::before { background: var(--separate); }
.ge-prods { display: flex; flex-wrap: wrap; gap: 8px; }
.ge-note { margin-top: 14px; }
.gl-empty { padding: 40px 0; }

/* ---------- совместимость ---------- */
.cmp { display: grid; gap: 32px; }
@media (min-width: 1100px) { .cmp { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; } }
.mx-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.mx { border-collapse: separate; border-spacing: 3px; width: 100%; min-width: 340px; max-width: 660px; table-layout: fixed; }
.mx thead td:first-child { width: 76px; }
@media (max-width: 639px) { .mx thead td:first-child { width: 34px; } }
.mx th { font: 500 12px/1.2 var(--f-mono); color: var(--text); padding: 0; }
.mx thead th { height: 72px; vertical-align: bottom; padding-bottom: 6px; }
.mx thead th button, .mx tbody th button { border: 0; background: none; padding: 0; font: inherit; display: grid; justify-items: center; gap: 2px; width: 100%; }
.mx tbody th { text-align: right; padding-right: 8px; white-space: nowrap; }
.mx tbody th button { justify-items: end; }
.mx .sy { font: 600 18px/1 var(--f-display); letter-spacing: -0.02em; }
.mx .nm { font: 400 10px/1.2 var(--f-mono); color: var(--muted); }
.mx td { padding: 0; }
.mx td button { width: 100%; aspect-ratio: 1; min-height: 34px; border: 0; border-radius: 1px; display: grid; place-items: center; transition: transform .12s, box-shadow .12s, opacity .12s; color: var(--surface); }
.mx td button svg { width: 16px; height: 16px; }
.mx td button svg * { stroke-width: 2; }
.mx td button.is-pin { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--text); }
.mx .c-ok { background: var(--ok); }
.mx .c-separate { background: var(--separate); }
.mx .c-caution { background: var(--caution); }
.mx .c-self { background: repeating-linear-gradient(135deg, var(--surface2) 0 4px, var(--bg) 4px 8px); color: var(--muted); cursor: default; }
.mx.has-focus td button { opacity: .55; }
.mx.has-focus td button.in-line { opacity: .85; }
.mx.has-focus td button.is-cur { opacity: 1; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--text); transform: scale(1.04); }
.mx th.in-line .sy { color: var(--accent); }
.legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 16px; }
.legend li { display: grid; gap: 2px; }
.legend small { font-size: 12px; color: var(--muted); padding-left: 16px; max-width: 30ch; }
.cmp-detail { border: 1px solid var(--text); background: var(--surface); padding: 22px; display: grid; gap: 16px; }
@media (min-width: 1100px) { .cmp-detail { position: sticky; top: calc(var(--hdr) + 16px); } }
.cmp-pair { display: flex; align-items: center; gap: 12px; }
.cmp-pair .ge-sym { width: 72px; height: 72px; }
.cmp-pair .ge-sym b { font-size: 26px; }
.cmp-pair .op { font: 400 22px/1 var(--f-mono); color: var(--muted); }
.cmp-detail h2 { font: 600 24px/1.15 var(--f-display); letter-spacing: -0.02em; }
.cmp-detail p { font-size: 15px; }
.cmp-detail .badge-lvl { font-size: 13px; }
.cmp-check { display: grid; gap: 12px; }
@media (min-width: 700px) { .cmp-check { grid-template-columns: 1fr auto 1fr; align-items: end; } }
.cmp-check .op { font: 400 20px/48px var(--f-mono); text-align: center; color: var(--muted); }
.rules { border-top: 1px solid var(--text); counter-reset: r; display: grid; }
@media (min-width: 900px) { .rules { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
.rules li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.rules li::before { counter-increment: r; content: counter(r, decimal-leading-zero); font: 500 13px/1.55 var(--f-mono); color: var(--muted); }

/* ---------- режимы ---------- */
.rg-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.rg { padding: clamp(40px, 5vw, 72px) 0; border-top: 1px solid var(--text); scroll-margin-top: calc(var(--hdr) + 12px); }
.rg-hd { display: grid; gap: 14px 40px; }
@media (min-width: 1024px) { .rg-hd { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; } }
.rg-hd .idx { font: 500 12px/1 var(--f-mono); color: var(--muted); }
.rg-hd h2 { font: 600 clamp(32px, 4vw, 56px)/1 var(--f-display); letter-spacing: -0.035em; margin-top: 10px; }
.rg-hd .for { margin-top: 12px; font-size: 16px; }
.rg-hd .summ { color: var(--muted); margin-top: 8px; max-width: 60ch; }
.rg-price { display: grid; gap: 10px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); }
.rg-price .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.rg-price .row s { color: var(--muted); }
.rg-price .row b { font: 600 34px/1 var(--f-display); letter-spacing: -0.03em; }
.rg-price .save { color: var(--ok); font: 500 13px/1.3 var(--f-mono); }
.rg-body { display: grid; gap: 28px; margin-top: 32px; }
@media (min-width: 1024px) { .rg-body { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; } }
.rg-prods { border-top: 1px solid var(--line); }
.rg-prod { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rg-prod img { width: 56px; aspect-ratio: 4/5; object-fit: cover; background: var(--photo); }
.rg-prod a { font-weight: 500; text-decoration: none; font-size: 15px; line-height: 1.25; }
.rg-prod a:hover { text-decoration: underline; }
.rg-prod small { display: block; font: 400 11px/1.4 var(--f-mono); color: var(--muted); margin-top: 3px; }
.rg-prod .pr { font: 500 15px/1 var(--f-body); white-space: nowrap; }
.rg-order { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rg-order h3 { display: flex; align-items: center; gap: 8px; font: 600 16px/1 var(--f-display); margin-bottom: 8px; }
.rg-order h3 svg { width: 18px; height: 18px; }
.rg-order ol { counter-reset: o; border-top: 1px solid var(--line); }
.rg-order li { display: grid; grid-template-columns: 22px 1fr; gap: 6px; font-size: 13px; line-height: 1.3; padding: 7px 0; border-bottom: 1px solid var(--line); }
.rg-order li::before { counter-increment: o; content: counter(o); font: 500 11px/1.4 var(--f-mono); color: var(--muted); }
.rg-meta { display: grid; gap: 0; margin-top: 20px; border-top: 1px solid var(--line); }
.rg-meta div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.rg-meta dt { font: 400 12px/1.6 var(--f-mono); color: var(--muted); }
.rg-act { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; }

/* ---------- журнал, инфо-страницы ---------- */
.jl { border-top: 1px solid var(--text); }
.jl-item { display: grid; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
@media (min-width: 800px) { .jl-item { grid-template-columns: 240px 1fr 160px; gap: 32px; align-items: start; } }
.jl-item figure { margin: 0; aspect-ratio: 4/3; background: var(--photo); overflow: hidden; }
.jl-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.jl-item:hover img { transform: scale(1.03); }
.jl-item h2 { font: 600 clamp(22px, 2.3vw, 30px)/1.12 var(--f-display); letter-spacing: -0.02em; }
.jl-item:hover h2 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.jl-item p { color: var(--muted); margin-top: 10px; max-width: 62ch; }
.jl-item .meta { display: flex; flex-direction: column; gap: 4px; font: 400 12px/1.5 var(--f-mono); color: var(--muted); }
@media (max-width: 799px) { .jl-item .meta { flex-direction: row; gap: 16px; } }
.art { display: grid; gap: 32px; padding-top: 12px; }
@media (min-width: 1100px) { .art { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 72px; } }
.art-hd .t-h1 { font-size: clamp(34px, 4.4vw, 64px); max-width: 20ch; margin-top: 18px; }
.art-hd .lead { margin-top: 20px; }
.art-hd figure { margin: 28px 0 0; aspect-ratio: 16/9; background: var(--photo); overflow: hidden; }
.art-hd figure img { width: 100%; height: 100%; object-fit: cover; }
.art-body { max-width: 66ch; margin-top: 32px; }
.art-body h2 { font: 600 24px/1.2 var(--f-display); letter-spacing: -0.02em; margin: 36px 0 12px; }
.art-body p { font-size: 17px; line-height: 1.65; }
.art-body p + p { margin-top: 1em; }
.art-body .fig { margin: 28px 0; padding: 18px 0; border-top: 1px solid var(--text); border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.art-body .fig b { font: 600 clamp(44px, 5vw, 72px)/.9 var(--f-display); letter-spacing: -0.05em; }
.art-body .fig span { color: var(--muted); font-size: 15px; max-width: 48ch; }
.art-aside { display: grid; gap: 24px; align-content: start; }
@media (min-width: 1100px) { .art-aside { position: sticky; top: calc(var(--hdr) + 20px); align-self: start; } }
.art-aside .lbl { display: block; margin-bottom: 8px; }

.faq { border-top: 1px solid var(--text); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: grid; grid-template-columns: 40px 1fr 24px; gap: 12px; padding: 20px 0; cursor: pointer; align-items: baseline; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { font: normal 500 12px/1.6 var(--f-mono); color: var(--muted); }
.faq summary b { font: 500 clamp(17px, 1.6vw, 21px)/1.3 var(--f-display); letter-spacing: -0.01em; }
.faq summary svg { width: 18px; height: 18px; align-self: center; transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .a { padding: 0 36px 22px 52px; max-width: 80ch; color: var(--text); }
@media (max-width: 640px) { .faq .a { padding-left: 0; padding-right: 0; } .faq summary { grid-template-columns: 30px 1fr 20px; } }
.info-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .info-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 64px; } }
.contact-card { border: 1px solid var(--line); background: var(--surface); padding: 22px; display: grid; gap: 12px; align-content: start; align-self: start; }
.contact-card a { font-weight: 500; }
.dl-opts { border-top: 1px solid var(--text); }
.dl-opt { display: grid; gap: 6px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 800px) { .dl-opt { grid-template-columns: 1.4fr .6fr 1fr; align-items: baseline; } }
.dl-opt b { font: 500 18px/1.25 var(--f-display); letter-spacing: -0.01em; }
.dl-opt .tm { font: 500 13px/1.4 var(--f-mono); }
.dl-opt .pr { font-size: 15px; }
.dl-opt p { font-size: 14px; color: var(--muted); grid-column: 1 / -1; }
.pay-list { display: grid; border-top: 1px solid var(--line); }
@media (min-width: 800px) { .pay-list { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
.pay-list li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.pay-list b { font-weight: 500; }
.pay-list p { font-size: 14px; color: var(--muted); }
.free-from { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; padding: 22px 0; }
.free-from b { font: 600 clamp(48px, 6vw, 88px)/.9 var(--f-display); letter-spacing: -0.05em; }

.about-hd { display: grid; gap: 32px; padding-top: 28px; }
.about-hd figure { margin: 0; aspect-ratio: 4/5; background: var(--photo); overflow: hidden; }
@media (min-width: 1024px) { .about-hd { grid-template-columns: 7fr 5fr; gap: 56px; align-items: end; } .about-hd figure { aspect-ratio: 1/1; } }
.about-hd figure img { width: 100%; height: 100%; object-fit: cover; }
.about-lead { font: 500 clamp(20px, 1.9vw, 28px)/1.28 var(--f-display); letter-spacing: -0.015em; max-width: 34ch; margin-top: 22px; }
.values { display: grid; border-top: 1px solid var(--text); }
@media (min-width: 900px) { .values { grid-template-columns: repeat(4, 1fr); } }
.values li { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
@media (min-width: 900px) { .values li { padding: 22px 24px 8px 0; border-bottom: 0; } .values li + li { padding-left: 24px; border-left: 1px solid var(--line); } }
.values p { color: var(--muted); font-size: 15px; }
.points { display: grid; gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: 24px; }
@media (min-width: 800px) { .points { grid-template-columns: repeat(3, 1fr); } }
.points li { padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 8px; background: var(--bg); }
.points p { font-size: 15px; color: var(--muted); }

/* ширина колонки — от ширины контента, а не от числа карточек: одна просмотренная формула не растягивается на весь экран;
   минус несколько пикселей — запас на полосу прокрутки окна (100vw её включает) */
.recent-row { --rc: calc(min(100vw, var(--max)) - 2 * var(--gut)); display: grid; grid-auto-flow: column; grid-auto-columns: calc(var(--rc) / 2.25); width: max-content; max-width: 100%; gap: 0; overflow-x: auto; border-left: 1px solid var(--line); border-top: 1px solid var(--line); scrollbar-width: thin; }
.recent-row .pcard { min-width: 0; }
@media (min-width: 700px) { .recent-row { grid-auto-columns: calc(var(--rc) / 4 - 5px); } }
@media (min-width: 1180px) { .recent-row { grid-auto-columns: calc(var(--rc) / 6 - 3px); } }

/* ---------- каталог: поиск, навигация, вид ---------- */
.cat-q { display: flex; gap: 8px; margin-top: 18px; max-width: 460px; }
.cat-q .input { min-height: 40px; padding-top: 8px; padding-bottom: 8px; }
.cat-q .btn { min-height: 40px; }
.cat-nav { display: grid; gap: 14px; justify-items: start; min-width: 0; }
@media (min-width: 1024px) { .cat-nav { justify-items: end; } .cat-nav .chips { justify-content: flex-end; } }
.seg--ic > * { display: grid; place-items: center; width: 40px; padding: 0; }
.seg--ic svg { width: 18px; height: 18px; }
@media (max-width: 899px) { .hide-md { display: none; } }
.cat-flat { padding-top: 24px; }

/* ---------- товар: рейтинг ---------- */
.rate-big { font: 600 clamp(44px, 5vw, 64px)/.9 var(--f-display); letter-spacing: -0.04em; }

/* ---------- корзина: шаги, состав в итоге ---------- */
.cart-hd { display: grid; gap: 18px; }
@media (min-width: 900px) { .cart-hd { grid-template-columns: 1fr auto; align-items: end; } }
.cart-hd .t-h1 { max-width: none; }
.co-steps { display: flex; gap: 0; border-top: 1px solid var(--line); counter-reset: none; }
.co-steps li { display: flex; align-items: baseline; gap: 8px; padding: 10px 18px 0 0; font-size: 14px; color: var(--muted); position: relative; }
.co-steps li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.co-steps li i { font: normal 500 11px/1 var(--f-mono); }
.co-steps li[aria-current="step"] { color: var(--text); font-weight: 500; }
.co-steps li[aria-current="step"]::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--text); }
.co-steps li + li[aria-current="step"]::before { left: 18px; }
.co-steps li.is-done { color: var(--ok); }
@media (max-width: 560px) { .co-steps li { flex: 1 1 0; flex-direction: column; gap: 4px; font-size: 13px; line-height: 1.3; padding-right: 10px; } .co-steps li + li { padding-left: 10px; } .co-steps li + li[aria-current="step"]::before { left: 10px; } }
.cart-l { min-width: 0; }
@media (min-width: 700px) { .cl-row2 { display: contents; } .cl-row2 .qty { justify-self: start; } }
.sum-lines { border-top: 1px solid var(--line); }
.sum-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.35; }
.sum-lines li span:last-child { white-space: nowrap; font-family: var(--f-mono); }

/* ---------- конструктор: дополнения ---------- */
.bld-q { min-width: 0; }
.bld-q-ft { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; border-top: 1px solid var(--text); }
.res-sum { font-size: 14px; color: var(--muted); padding: 14px 0 4px; line-height: 1.45; }
.tile .ic .tk { opacity: 0; transition: opacity .12s; }
.tile:has(input:checked) .ic .tk { opacity: 1; }
.swap-list { display: grid; gap: 0; margin-top: 8px; border-top: 1px solid var(--line); }
.swap-list button { display: flex; justify-content: space-between; gap: 12px; border: 0; border-bottom: 1px solid var(--line); background: none; padding: 8px 0; text-align: left; font-size: 13px; line-height: 1.3; }
.swap-list button:hover { color: var(--accent); }
.swap-list button b { font: 500 12px/1.3 var(--f-mono); white-space: nowrap; }
.swap-list p { font-size: 12px; padding: 8px 0; }
.res-later ul { margin-top: 6px; display: grid; gap: 4px; }
.mob-total.is-off { transform: translateY(110%); }
.mob-total { transition: transform .25s var(--ease); }

/* ---------- словарь и главная: плитки-элементы ---------- */
.ge.is-target { background: linear-gradient(var(--accent2), var(--accent2)) no-repeat 0 0 / 100% 6px; }
.ge h2:focus { outline: none; }
.mini-gloss .ge-sym { width: 64px; height: 64px; padding: 5px 6px; }
.mini-gloss .ge-sym b { font-size: 24px; }
.mini-gloss a > b { font: 600 18px/1.15 var(--f-display); letter-spacing: -0.015em; margin-top: 6px; }

/* ---------- совместимость: дополнения ---------- */
.cmp-where { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.cmp-where h3 { font: 400 12px/1.4 var(--f-mono); color: var(--muted); margin-bottom: 6px; }
.cmp-where ul { display: grid; gap: 4px; margin-bottom: 8px; }
.cmp-where li { font-size: 14px; line-height: 1.3; }
.cmp-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.cmp-list li { display: grid; gap: 4px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.cmp-res { margin-top: 16px; }
.cmp-verdict { display: grid; gap: 10px; padding: 18px 20px; border-left: 3px solid currentColor; background: var(--surface); }
.cmp-verdict p { font-size: 16px; color: var(--text); }
.lvl-bg-ok { color: var(--ok); } .lvl-bg-separate { color: var(--separate); } .lvl-bg-caution { color: var(--caution); }
.cmp-verdict .swap-btn { justify-self: start; }
@media (max-width: 639px) { .mx tbody th .nm { display: none; } .mx thead th .nm { display: none; } .mx thead th { height: 40px; } }

/* ---------- режимы: оглавление ---------- */
.rg-index { margin: 0 0 clamp(24px, 3vw, 40px); }
.rg-index th[scope="row"] a { font: 500 17px/1.25 var(--f-display); text-decoration: none; }
.rg-index th[scope="row"] a:hover { text-decoration: underline; }
.rg-index td.mono { width: 48px; color: var(--muted); font-size: 12px; }
.rg-act .lbl { flex-basis: 100%; }

/* ---------- журнал ---------- */
.jl-tags { margin-bottom: 20px; }
@media (min-width: 800px) { .jl-item--lead { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 160px; } .jl-item--lead h2 { font-size: clamp(28px, 3vw, 40px); } }
.jl-item--lead figure { aspect-ratio: 4/3; }
.art-list { display: grid; gap: 4px; margin: 4px 0 0; }
.art-list li { position: relative; padding-left: 20px; font-size: 17px; line-height: 1.55; }
.art-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 9px; height: 9px; background: var(--separate); border-radius: 1px; }
.art-tbl { margin: 20px 0; }
.art-tbl .tbl { font-size: 14px; }
.art-tbl th[scope="row"] { min-width: 130px; font-weight: 500; }
.art-body .art-src { margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--line); font: 400 12px/1.6 var(--f-mono); color: var(--muted); }
.cal { margin: 22px 0 6px; }
.cal table { width: 100%; border-collapse: collapse; font: 400 12px/1 var(--f-mono); margin-top: 10px; }
.cal th { font-weight: 500; color: var(--muted); padding: 6px 0; text-align: center; }
.cal tbody th { text-align: left; width: 44px; border-top: 1px solid var(--line); }
.cal td { border-top: 1px solid var(--line); border-left: 1px solid var(--line); height: 28px; text-align: center; }
.cal td.is-on i, .cal-ft .dot { display: inline-block; width: 12px; height: 12px; background: var(--text); border-radius: 1px; vertical-align: middle; }
.cal-ft { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; }

/* ---------- доставка ---------- */
.free-from { border-top: 1px solid var(--text); }
.free-from .lbl { line-height: 1.5; }
.dl-cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 0 0 28px; }
.dl-cart .ship { flex: 1 1 320px; max-width: 520px; }
.dl-chart { margin: 28px 0 0; }
.dl-chart figcaption { margin-bottom: 10px; }
.dl-row { display: grid; grid-template-columns: minmax(0, 1fr) 72px; gap: 4px 14px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
@media (min-width: 800px) { .dl-row { grid-template-columns: 220px minmax(0, 1fr) 72px; } }
.dl-row .nm { font-size: 13px; line-height: 1.3; }
@media (max-width: 799px) { .dl-row .nm { grid-column: 1 / -1; } }
.dl-row .track { position: relative; height: 14px; background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px calc(100% / 14)); }
.dl-row .track b { position: absolute; top: 2px; bottom: 2px; background: var(--text); border-radius: 1px; transform-origin: left; animation: dlbar .8s var(--ease) both; }
@keyframes dlbar { from { transform: scaleX(0); } }
.dl-row .tm { font: 500 12px/1 var(--f-mono); text-align: right; }
.dl-axis { border-top: 1px solid var(--text); padding-top: 0; }
.dl-axis .track { background: none; height: 22px; }
.dl-axis i { position: absolute; top: 0; width: 1px; height: 5px; background: var(--muted); }
.dl-axis i span { position: absolute; top: 8px; left: 0; transform: translateX(-50%); font: 400 10px/1 var(--f-mono); color: var(--muted); }
.glyph-sm { width: 28px; height: 28px; color: var(--muted); }

/* ---------- вопросы ---------- */
.faq-search { margin-bottom: 8px; max-width: 520px; }
.faq-search + .lbl { min-height: 18px; margin-bottom: 8px; }
.faq details[hidden] { display: none; }
@media (min-width: 1024px) { .faq-aside { position: sticky; top: calc(var(--hdr) + 20px); } }
.contact-card .ruler { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.contact-card .more { justify-self: start; }

/* ---------- о лаборатории ---------- */
.about-hd .t-h1 { margin-top: 14px; }
.about-nums { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin-top: 32px; border-top: 1px solid var(--text); }
.about-nums div { padding: 14px 28px 22px 0; }
.about-nums div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.about-nums dd { font: 600 clamp(40px, 5vw, 72px)/.95 var(--f-display); letter-spacing: -0.05em; margin-top: 8px; font-variant-numeric: tabular-nums; }
.about-nums dd.rng { white-space: nowrap; }
@media (max-width: 560px) { .about-nums { grid-template-columns: 1fr 1fr; } .about-nums div:nth-child(3) { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 14px; } }
.about-story .art-body { margin-top: 0; }
.values li b { font-weight: 600; }
.iso { display: grid; align-content: end; gap: 0; border-top: 1px solid var(--text); padding-top: 14px; }
.iso b { font: 600 clamp(64px, 9vw, 140px)/.85 var(--f-display); letter-spacing: -0.06em; }
.iso b + b { color: var(--text); }
.iso { border-top-color: var(--accent); }
.iso .lbl { margin-top: 14px; max-width: 30ch; }
.emp-steps { display: grid; border-top: 1px solid var(--text); }
@media (min-width: 900px) { .emp-steps { grid-template-columns: repeat(3, 1fr); } }
.emp-steps li { display: grid; gap: 10px; align-content: start; padding: 18px 24px 22px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .emp-steps li + li { padding-left: 24px; border-left: 1px solid var(--line); } }
.emp-steps i { font: normal 600 40px/1 var(--f-display); letter-spacing: -0.04em; color: var(--text); }

/* ---------- избранное ---------- */
.fav-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 14px 0; border-top: 1px solid var(--text); margin-bottom: 20px; }
.fav-bar > b { font: 600 28px/1 var(--f-display); letter-spacing: -0.02em; margin-right: auto; }
.fav-compat { margin: -4px 0 22px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); }
.fav-compat li + li { margin-top: 6px; }

/* печать календаря из журнала */
@media print { .crumbs, .art-aside, .sec, .cal-ft .btn { display: none !important; } body { background: #fff; } }

/* ---------- движение ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero-callouts path { stroke-dashoffset: 0; }
}

/* печать — только содержимое */
@media print { .promo, .hdr, .ftr, .sticky-buy, .mob-total, .drawer, .scrim { display: none !important; } }

/* Плашка демо-переключателя прячется сама, пока открыта боковая панель: меню и мини-корзина — role="dialog" aria-modal="true" */

/* ===== Круг правок 1 ===== */
/* фокус после перехода по якорю — без рамки у контейнеров */
[tabindex="-1"]:focus:not(:focus-visible), main:focus { outline: none; }

/* тап-цели ≥ 44px на телефоне */
.pcard-top { height: 44px; padding-right: 0; }
.swap-btn::after { content: ''; position: absolute; inset: -12px -6px; }
@media (max-width: 899px) {
  .btn--sm { min-height: 44px; }
  .chip { min-height: 44px; }
}

/* сетка товаров: неполный ряд добиваем штрихованными ячейками, как пустые клетки матрицы */
.pfill { display: none; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: repeating-linear-gradient(135deg, var(--surface2) 0 4px, var(--bg) 4px 8px); min-height: 120px; }
@media (max-width: 699px) { .pgrid .pfill.f2 { display: block; } }
@media (min-width: 700px) and (max-width: 1179px) { .pgrid .pfill.f3 { display: block; } }
@media (min-width: 1180px) { .pgrid:not(.pgrid--3) .pfill.f4, .pgrid--3 .pfill.f3 { display: block; } }

/* подпись актива в карточке: на телефоне одной строкой, pH — своей */
.pcard-conc .lbl .act { display: inline; }
@media (max-width: 480px) {
  .pcard-conc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; align-items: start; }
  .pcard-conc .lbl { text-align: left; min-width: 0; min-height: 30px; }
  .pcard-conc .lbl .act { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pcard-conc .lbl br { display: none; }
}

/* главная: разбор цены */
.price-bar { margin-top: 30px; }
.price-bar i { overflow: visible; }
.price-bar i em { position: absolute; left: 0; bottom: calc(100% + 7px); font: normal 500 10px/1 var(--f-mono); color: var(--muted); letter-spacing: 0; }
.price-bar i.lt span { color: var(--text); }
.price-tbl td:first-child { width: 56px; white-space: nowrap; }
.price-tbl .pn { font: 500 11px/1 var(--f-mono); color: var(--muted); margin-left: 8px; vertical-align: 0; }
.price-tbl td.mono, .price-tbl th.r { font-variant-numeric: tabular-nums; }
@media (max-width: 599px) {
  .price-tbl, .price-tbl thead, .price-tbl tbody { display: block; }
  .price-tbl tr { display: grid; grid-template-columns: 50px minmax(0, 1fr) 4ch 7ch; column-gap: 12px; align-items: baseline; border-top: 1px solid var(--line); }
  .price-tbl thead tr { border-top-color: var(--text); }
  .price-tbl tr:last-child { border-bottom: 1px solid var(--line); }
  .price-tbl th, .price-tbl td { border: 0 !important; padding: 11px 0; }
  .price-tbl td:first-child { width: auto; }
  .price-tbl .r { text-align: right; white-space: nowrap; }
}

/* главная: факты — колонки поровну, длинные значения на всю ширину */
.facts { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; }
@media (max-width: 899px) { .facts li.wide, .facts li:last-child { grid-column: 1 / -1; } }
/* ПК: строка гибкая — ячейка с диапазоном цен шире остальных, кегль цифр не больше, чем помещается в ячейку
   (17cqi ≈ ширина «390–1 490 ₽» при этом шрифте и разрядке), «₽» не отрывается от числа */
@media (min-width: 900px) {
  .facts { display: flex; }
  .facts li { flex: 1 1 0; min-width: 0; container-type: inline-size; }
  .facts li.wide { flex-grow: 1.5; }
  .facts li.wide b { font-size: min(clamp(36px, 4.2vw, 64px), 17cqi); }
}

/* главная: герой — линейки только на ПК и бледнее, фото на телефоне кадрируем к товарам */
.hero-hd .guides i { opacity: .4; }
@media (max-width: 1023px) { .hero-hd .guides { display: none; } }
@media (max-width: 1099px) { .hero-fig img { aspect-ratio: 5 / 4; object-position: 50% 85%; } }
@media (min-width: 1100px) {
  .hero-over .l { padding-bottom: clamp(88px, 8vw, 124px); }
  .co-lbl { background: var(--bg); padding: 8px 8px 6px; }
}

/* главная: баннер конструктора — один набор в кадре */
.split.tz-one > figure { aspect-ratio: 1 / 1; }
.split.tz-one > figure img { object-position: 4% 60%; }
@media (min-width: 1024px) { .split.tz-one { grid-template-columns: 5fr 7fr; } }

/* плашки словаря: первое INCI-имя в две строки */
.ge-sym small { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; text-overflow: clip; font-size: 8.5px; letter-spacing: -0.02em; }
.mini-gloss .ge-sym { width: 72px; height: 72px; }
.mini-gloss { align-items: start; }
.mini-gloss a { align-content: start; grid-template-rows: auto auto 1fr; height: 100%; }

/* каталог */
.cat-group-hd { border-top: 1px solid var(--text); padding-top: 14px; }
.cat-group-hd h2 a { text-decoration: none; color: var(--text); }
.cat-group-hd h2 a .arr { display: inline-block; margin-left: .25em; font-weight: 400; color: var(--muted); transition: transform .15s var(--ease), color .15s; }
.cat-group-hd h2 a:hover .arr, .cat-group-hd h2 a:focus-visible .arr { transform: translateX(4px); color: var(--accent); }
@media (max-width: 640px) {
  .cat-intro .t-h1 { font-size: clamp(32px, 10vw, 40px); }
  .cat-intro .lead { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; font-size: 15px; }
  .cat-nav { justify-items: stretch; width: 100%; }
  .cat-nav .chips { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut) 2px; scroll-padding-inline: var(--gut); }
  .cat-nav .chips::-webkit-scrollbar { display: none; }
  .cat-nav .chips .chip { flex: none; scroll-snap-align: start; }
}

/* совместимость: на телефоне матрица на всю ширину, ячейки ≥ 40px */
@media (max-width: 639px) {
  .mx-wrap { margin: 0 calc(-1 * var(--gut)); padding: 0 6px; }
  .mx { border-spacing: 2px; min-width: 0; }
  .mx thead td:first-child { width: 30px; }
  .mx tbody th { padding-right: 4px; }
  .mx td button { min-height: 40px; }
}

/* карточка товара */
.bn-ship { display: inline-flex; gap: 8px; align-items: center; }
.bn-ship svg { flex: none; }
.avoid-grp + .avoid-grp { margin-top: 18px; }
.avoid-grp h3 { margin-bottom: 4px; }
.avoid-grp--caution .avoid-list li::before { background: var(--caution); }
.avoid-list li small { display: block; margin-top: 4px; font-size: 13px; line-height: 1.45; }
.review--line { background: var(--surface); }
.rv-k { justify-self: start; font: 400 11px/1 var(--f-mono); color: var(--muted); border: 1px solid var(--line); padding: 4px 6px; border-radius: var(--r); }
.rv-ask { margin-top: 16px; }
@media (min-width: 700px) and (max-width: 1099px) { .reviews > :nth-child(3):last-child { grid-column: 1 / -1; } }

/* конструктор: липкий итог на телефоне — одна строка 64px */
.res-ft .l-short { display: none; }
@media (max-width: 640px) {
  .res-ft { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 8px 14px calc(8px + env(safe-area-inset-bottom)); }
  .res-total { flex: 1; min-width: 0; display: grid; gap: 3px; justify-content: start; }
  .res-total b { order: -1; font-size: 22px; white-space: nowrap; }
  .res-total > span { font-size: 0; line-height: 1; }
  .res-total > span br { display: none; }
  .res-total > span small { font-size: 11px; font-family: var(--f-mono); }
  .res-ft .btn { width: auto; flex: none; min-height: 44px; padding: 0 16px; }
  .res-ft .l-full { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .res-ft .l-short { display: inline; }
}

/* режимы */
.rg-prod img { background: #E9E6E0; outline: 1px solid var(--line); outline-offset: -1px; }
.rg-week { margin-top: 18px; border-top: 1px solid var(--line); }
.rg-week .week div { padding: 8px 5px; }
.rg-week .week .w-act { overflow-wrap: normal; font-size: 9.5px; padding: 3px; }
.rg-week .week .w-rest { font-size: 9.5px; }
.tbl td.r, .tbl th.r { white-space: nowrap; }
.tbl td.r + td.r, .tbl th.r + th.r { padding-left: 12px; }

/* футер: последняя строка не уходит под плашку демо, зазор сверху — шаг ритма */
.ftr { margin-top: 64px; }
.ftr-bot { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }

/* ===== Круг правок 2 ===== */
/* режимы: пометка у средства в списке «Вечер» (когда наносить) */
.rg-order li .rg-note { grid-column: 2; margin-top: -2px; font: 400 11px/1.3 var(--f-mono); color: var(--muted); }
/* карточка: заголовок средства переносится ровнее */
.pi h1 { text-wrap: balance; }
.lbl__logo { display: block; height: 10px; width: auto; aspect-ratio: 964.2 / 106.57; color: var(--text); }
/* 320 px (проверка при закрытии): без прокрутки вбок — колонка навигации каталога по ширине, заголовок героя и кнопка режима */
@media (max-width: 640px) { .cat-nav { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 359px) {
  .t-hero { font-size: 40px; }
  .rg-act .btn { white-space: normal; text-align: center; line-height: 1.3; padding: 10px 16px; }
}
