/* Clock-Parts — стили. Структура и подача вдохновлены крупными часовыми ритейлерами:
   монохромная палитра, крупная типографика, мега-меню, плотная сетка карточек. */
/* Шрифт Jost (variable, 400–600) — со своего сервера: быстрее из России и без передачи IP посетителей Google */
@font-face { font-family: "Jost"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/jost-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/jost-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --ink: #121212;
  --ink-2: #5d5d5d;
  --muted: #8a8a8a;
  --line: #e1e1e1;
  --line-2: #ececec;
  --soft: #f8f8f8;
  --gray: #f1f1f1;
  --accent: #f03d3e;
  --ok: #1f8a4c;
  --warn-bg: #fff4c2;
  --radius: 2px;
  --container: 1320px;
  --gutter: 16px;
  --hdr-h: 0px;
  --font: "Jost", "Futura PT", "Futura", "Century Gothic", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
@media (min-width: 768px) { :root { --gutter: 24px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 15px/1.5 var(--font); color: var(--ink); background: #fff; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0 0 12px; }
table { border-collapse: collapse; width: 100%; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 1000; }
.skip:focus { left: 8px; top: 8px; }
.todo { background: var(--warn-bg); color: #6b5400; padding: 0 4px; border-radius: 2px; font-size: .92em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ico { width: 22px; height: 22px; flex: none; }
.ico-xs { width: 14px; height: 14px; }
.ico-sm { width: 18px; height: 18px; }
.ico-md { width: 26px; height: 26px; }
.ico-lg { width: 40px; height: 40px; }

.h1, .slide-title, .teaser-title { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.h2, .side-banner-title, .tile-name { overflow-wrap: break-word; }
.h1 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; letter-spacing: .01em; text-transform: uppercase; }
.h2 { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.2; letter-spacing: .02em; text-transform: uppercase; }
.h3 { font-size: 18px; line-height: 1.3; font-weight: 500; margin-bottom: 10px; }
.lead { font-size: 17px; color: var(--ink-2); max-width: 70ch; }

/* ---------- кнопки, ссылки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px;
  border: 1px solid var(--ink); background: #fff; color: var(--ink); text-transform: uppercase; letter-spacing: .06em;
  font-size: 13px; font-weight: 500; border-radius: var(--radius); transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn:hover { color: var(--ink); background: var(--soft); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #333; color: #fff; }
.btn-outline { background: transparent; }
.btn-light { background: #fff; border-color: #fff; color: var(--ink); }
.btn-light:hover { background: var(--gray); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 12px; }
.btn-lg { min-height: 52px; padding: 0 28px; }
.btn-block { width: 100%; }
.btn.is-done { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn-link { text-decoration: underline; text-underline-offset: 3px; color: var(--ink-2); font-size: 14px; }
.link-dashed { border-bottom: 1px dashed currentColor; line-height: 1.2; font-size: 13px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; font-weight: 500; }
.badge { position: absolute; top: 10px; left: 10px; z-index: 1; background: var(--ink); color: #fff; font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; padding: 2px 8px; }

/* ---------- шапка ---------- */
.promo-bar { background: var(--ink); color: #fff; font-size: 13px; text-align: center; padding: 8px 0; letter-spacing: .02em; }
.promo-bar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; }
.hdr { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.hdr-row { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-mark { width: 38px; height: 38px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-word { white-space: nowrap; font-size: 22px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.logo-note { font-size: 11px; color: var(--muted); letter-spacing: .04em; margin-top: 3px; }
.hdr-contacts { display: flex; flex-direction: column; gap: 2px; }
.hdr-phones { display: flex; gap: 16px; }
.hdr-phone { font-size: 16px; font-weight: 500; white-space: nowrap; }
.hdr-sub { display: flex; gap: 14px; font-size: 13px; color: var(--muted); }
.hdr-sub .link-dashed { color: var(--ink); }
.hdr-links { display: flex; gap: 22px; font-size: 14px; margin-left: auto; }
.hdr-tools { display: flex; align-items: center; gap: 6px; }
.hdr-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; color: var(--ink); }
.hdr-burger, .hdr-search-toggle, .hdr-call { display: none; }
.hdr-cart { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 4px 0 8px; }
.hdr-cart-text { display: flex; flex-direction: column; font-size: 13px; line-height: 1.15; }
.hdr-cart-text b { font-weight: 500; }
.cart-badge { position: absolute; top: 2px; left: 22px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent);
  color: #fff; font-size: 11px; font-weight: 500; display: grid; place-items: center; }
.cart-badge.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }

.hdr-nav { border-top: 1px solid var(--line-2); }
.hdr-nav-inner { display: flex; align-items: stretch; gap: 20px; }
.nav { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; flex: 1; }
.nav-link { display: flex; align-items: center; gap: 4px; height: 52px; padding: 0 12px; font-size: 14px; text-transform: uppercase;
  letter-spacing: .05em; font-weight: 500; white-space: nowrap; }
.nav-item:first-child .nav-link { padding-left: 0; }
.nav-link .ico-xs { opacity: .5; transition: transform .15s; }
.nav-accent { color: var(--accent); }
.nav-item.is-active > .nav-link { box-shadow: inset 0 -2px 0 var(--ink); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 18px 30px -18px rgba(0,0,0,.25);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility 0s .15s; }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.is-open .mega { opacity: 1; visibility: visible; transform: none; transition-delay: .08s, .08s, 0s; }
.has-mega:hover .nav-link .ico-xs { transform: rotate(180deg); }
.mega-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 260px; gap: 32px; padding-top: 28px; padding-bottom: 32px; }
.mega-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.mega-col .muted { font-size: 12px; margin-left: 4px; }
.mega-title { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 14px; }
.mega-banner { grid-column: 4; background: var(--soft); padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.mega-banner-img { aspect-ratio: 4 / 3; display: grid; place-items: center; margin-bottom: 8px; }
.mega-banner-img img { max-height: 150px; width: auto; mix-blend-mode: multiply; }
.mega-banner-note { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.mega-banner-title { font-size: 18px; font-weight: 500; text-transform: uppercase; }
.mega-banner-price { font-size: 14px; }

.hdr-search { position: relative; display: flex; align-items: center; width: 340px; align-self: center; }
input[type="search"] { -webkit-appearance: none; appearance: none; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; width: 14px; height: 14px; margin-left: 6px; cursor: pointer; opacity: .55;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.5 5.5l13 13M18.5 5.5l-13 13' stroke='%23121212' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
input[type="search"]::-webkit-search-cancel-button:hover { opacity: 1; }
.hdr-search input { width: 100%; height: 38px; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 40px 0 12px; font-size: 14px; background: var(--soft); }
.hdr-search input:focus { outline: none; border-color: var(--ink); background: #fff; }
.hdr-search > button { position: absolute; right: 0; top: 0; width: 40px; height: 38px; display: grid; place-items: center; }
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0,0,0,.12); z-index: 60; max-height: 70vh; overflow: auto; }
.suggest a { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; padding: 8px 12px; font-size: 14px; border-bottom: 1px solid var(--line-2); }
.suggest a:hover, .suggest a.is-active { background: var(--soft); color: var(--ink); }
.suggest img { width: 48px; height: 48px; object-fit: contain; mix-blend-mode: multiply; }
.suggest small { display: block; color: var(--muted); font-size: 12px; }
.suggest .suggest-all { display: block; text-align: center; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.suggest-empty { padding: 14px; font-size: 14px; color: var(--muted); }

/* мобильное меню */
.drawer { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.45); }
.drawer-panel { position: absolute; inset: 0 auto 0 0; width: min(360px, 88vw); background: #fff; overflow: auto; padding: 0 var(--gutter) 24px; animation: slidein .2s ease; }
@keyframes slidein { from { transform: translateX(-100%); } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; height: 64px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.drawer-head .logo-note { display: none; }
.drawer-nav, .drawer-links { list-style: none; margin: 0; padding: 0; }
.drawer-nav > li > a, .drawer-nav summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line-2);
  font-size: 15px; text-transform: uppercase; letter-spacing: .04em; font-weight: 500; cursor: pointer; list-style: none; }
.drawer-nav summary::-webkit-details-marker { display: none; }
.drawer-nav details[open] summary .ico { transform: rotate(180deg); }
.drawer-nav details ul { list-style: none; padding: 6px 0 10px 12px; margin: 0; }
.drawer-nav details li a { display: block; padding: 8px 0; color: var(--ink-2); }
.drawer-links { margin: 16px 0; }
.drawer-links a { display: block; padding: 8px 0; }
.drawer-contacts { display: grid; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.drawer-phone { font-size: 18px; font-weight: 500; }
.drawer-contacts .btn { margin-top: 8px; }

/* ---------- общие секции ---------- */
.section { padding: 40px 0; }
.section-head { display: flex; align-items: center; gap: 24px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head .h2 { margin-right: auto; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 18px 0 14px; margin: 0; font-size: 13px; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--line); }
.crumbs a:hover { color: var(--ink); }
.page-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.page-intro { color: var(--ink-2); max-width: 80ch; margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 1px solid var(--line); font-size: 14px; border-radius: 18px; background: #fff; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.is-active .muted { color: #bbb; }
.chips-sm .chip { height: 30px; padding: 0 10px; font-size: 13px; }
.note { background: var(--soft); border-left: 2px solid var(--ink); padding: 12px 16px; font-size: 14px; color: var(--ink-2); margin: 0 0 18px; }
.note a { text-decoration: underline; }
.dash-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.dash-list li { position: relative; padding-left: 22px; }
.dash-list li::before { content: ""; position: absolute; left: 0; top: .75em; width: 12px; height: 1px; background: var(--ink); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

/* ---------- главная ---------- */
.hero { padding: 20px 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 16px; }
.slider { position: relative; background: var(--gray); min-height: 440px; overflow: hidden; }
/* свой фон у слайда: пока идёт смена слайдов (opacity < 1), фото смешивается (multiply) с ним, а не с прозрачным слоем — белый фон фото не проступает */
.slide { background: var(--gray); position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 24px; padding: 48px 56px;
  opacity: 0; visibility: hidden; transition: opacity .5s, visibility 0s .5s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .5s; }
.slide-note { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); margin-bottom: 10px; }
.slide-title { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.05; text-transform: uppercase; font-weight: 500; margin-bottom: 16px; letter-spacing: .01em; }
.slide p { color: var(--ink-2); font-size: 16px; max-width: 40ch; margin-bottom: 26px; }
.slide-img { display: grid; place-items: center; height: 100%; }
.slide-img img { max-height: 340px; width: auto; mix-blend-mode: multiply; }
.dots { position: absolute; left: 56px; bottom: 26px; display: flex; gap: 8px; }
.dot { width: 28px; height: 3px; background: rgba(0,0,0,.18); }
.dot.is-active { background: var(--ink); }
.side-banners { display: grid; gap: 16px; }
.side-banner { position: relative; display: grid; grid-template-columns: 1fr 120px; align-items: center; gap: 12px; background: var(--soft); padding: 24px; }
.side-banner:hover { color: var(--ink); background: var(--gray); }
.side-banner-text { display: flex; flex-direction: column; gap: 4px; }
.side-banner-title { font-size: clamp(18px, 1.7vw, 24px); text-transform: uppercase; font-weight: 500; margin-bottom: 10px; }
.side-banner-img img { mix-blend-mode: multiply; max-height: 140px; width: auto; margin-left: auto; }

.benefits { border-bottom: 1px solid var(--line); }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 28px; padding-bottom: 28px; }
.benefit { display: flex; gap: 14px; align-items: flex-start; }
.benefit b { display: block; font-weight: 500; text-transform: uppercase; font-size: 14px; letter-spacing: .04em; margin-bottom: 2px; }
.benefit span { color: var(--ink-2); font-size: 14px; line-height: 1.4; }
.prose-wide .benefits { border: 1px solid var(--line); margin: 24px 0 32px; }

.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { display: flex; flex-direction: column; background: var(--soft); padding: 18px 16px; transition: background .15s; }
.tile:hover { background: var(--gray); color: var(--ink); }
.tile-img { aspect-ratio: 1; display: grid; place-items: center; margin-bottom: 12px; }
.tile-img img { max-height: 100%; width: auto; mix-blend-mode: multiply; transition: transform .25s; }
.tile:hover .tile-img img { transform: scale(1.04); }
.tile-name { font-weight: 500; text-transform: uppercase; letter-spacing: .03em; font-size: 15px; line-height: 1.25; }
.tile-meta { font-size: 13px; color: var(--muted); margin-top: 4px; }

.tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.tab { height: 36px; padding: 0 14px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; border-bottom: 2px solid transparent; color: var(--muted); }
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--ink); border-bottom-color: var(--ink); }

.teaser { display: grid; grid-template-columns: 1.3fr 1fr; background: var(--ink); color: #fff; overflow: hidden; }
.teaser-text { padding: 56px; }
.teaser .slide-note { color: #9a9a9a; }
.teaser-title { font-size: clamp(26px, 3vw, 40px); line-height: 1.1; text-transform: uppercase; font-weight: 500; margin-bottom: 16px; }
.teaser p { color: #c9c9c9; max-width: 52ch; margin-bottom: 26px; }
.teaser-img { display: grid; place-items: center; background: radial-gradient(circle at 50% 50%, #3a3a3a 0, #121212 70%); padding: 32px; }
.teaser-img img { max-height: 300px; width: auto; border-radius: 50%; }

.steps { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step { border-top: 2px solid var(--ink); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.step-num { font-size: 40px; line-height: 1; font-weight: 400; color: var(--line); }
.step b { font-weight: 500; text-transform: uppercase; letter-spacing: .03em; }
.step span:last-child { color: var(--ink-2); font-size: 14px; }

.faq { border-top: 1px solid var(--line); margin-top: 18px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; cursor: pointer; list-style: none; font-weight: 500; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary .ico { transform: rotate(180deg); }
.faq-item p { color: var(--ink-2); padding-bottom: 8px; }

.help-strip { background: var(--soft); margin-top: 24px; }
.help-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.help-grid .h2 { margin-bottom: 12px; }
.help-contacts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 18px; font-size: 17px; font-weight: 500; }

/* ---------- карточки и сетка ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 16px; }
.card { display: flex; flex-direction: column; background: #fff; }
.card-img { position: relative; display: grid; place-items: center; aspect-ratio: 1; background: var(--soft); padding: 22px; overflow: hidden; }
.card-img img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 2px 0; flex: 1; }
.card-name { font-size: 15px; line-height: 1.3; font-weight: 500; }
.card-sub { font-size: 13px; color: var(--muted); line-height: 1.35; min-height: 1.35em; }
.card-price { font-size: 18px; font-weight: 500; margin-top: auto; padding-top: 6px; }
.card-price .from { font-size: 14px; font-weight: 400; color: var(--ink-2); }
.card-price small { font-size: 13px; color: var(--muted); font-weight: 400; margin-left: 2px; }
.card-tier { font-size: 12px; color: var(--muted); }
.card-buy { margin-top: 10px; width: 100%; }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail-item { scroll-snap-align: start; }
.rail-nav { display: flex; gap: 6px; }
.rail-btn { width: 40px; height: 40px; border: 1px solid var(--line); display: grid; place-items: center; background: #fff; }
.rail-btn:hover { border-color: var(--ink); }
.rail-btn:disabled { opacity: .35; cursor: default; border-color: var(--line); }

/* ---------- фильтры ---------- */
.toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 0; margin-bottom: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.toolbar-filters { display: none; }
.filters { display: contents; }
.filters-head, .filters-foot { display: none; }
.filters-groups { display: flex; flex-wrap: wrap; gap: 8px; }
.flt { position: relative; }
.flt summary { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 1px solid var(--line); cursor: pointer; list-style: none; font-size: 14px; user-select: none; background: #fff; }
.flt summary::-webkit-details-marker { display: none; }
.flt summary:hover { border-color: var(--ink); }
.flt[open] summary { border-color: var(--ink); }
.flt[open] summary .ico { transform: rotate(180deg); }
.flt.has-value summary { background: var(--ink); color: #fff; border-color: var(--ink); }
.flt-n { min-width: 18px; height: 18px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; display: grid; place-items: center; padding: 0 5px; }
.flt-body { position: absolute; top: calc(100% + 6px); left: 0; z-index: 20; min-width: 230px; max-height: 320px; overflow: auto; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(0,0,0,.12); padding: 12px 14px; display: grid; gap: 8px; }
.flt-price { grid-template-columns: 1fr 1fr; gap: 10px; }
.flt-price label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.flt-price input { width: 100%; height: 36px; border: 1px solid var(--line); padding: 0 8px; -moz-appearance: textfield; }
.flt-price input::-webkit-outer-spin-button, .flt-price input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.flt-total { margin-left: 4px; }
.sort { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 14px; }
.sort select { height: 36px; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 34px 0 12px; background: #fff; appearance: none; -webkit-appearance: none; font-size: 14px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23121212' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; }

/* Выпадающий список вместо системного (select остаётся внутри для значения и работы без JS) */
.cselect { position: relative; display: inline-block; }
.cselect select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.cselect-btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; height: 36px; min-width: 180px; padding: 0 12px; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff; font-size: 14px; color: var(--ink); text-align: left; transition: border-color .15s; }
.cselect-btn:hover, .cselect-btn[aria-expanded="true"] { border-color: var(--ink); }
.cselect-btn .ico { width: 14px; height: 14px; transition: transform .15s; }
.cselect-btn[aria-expanded="true"] .ico { transform: rotate(180deg); }
.cselect-list { position: absolute; top: calc(100% + 6px); right: 0; z-index: 40; min-width: 100%; margin: 0; padding: 6px 0; list-style: none; background: #fff;
  border: 1px solid var(--line); box-shadow: 0 12px 28px rgba(0,0,0,.12); animation: pop .15s ease; }
.cselect-list:focus { outline: none; }
.cselect-opt { position: relative; padding: 9px 16px 9px 36px; font-size: 14px; white-space: nowrap; cursor: pointer; color: var(--ink-2); }
.cselect-opt.is-active { background: var(--soft); color: var(--ink); }
.cselect-opt[aria-selected="true"] { color: var(--ink); font-weight: 500; }
.cselect-opt[aria-selected="true"]::before { content: ""; position: absolute; left: 14px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%23121212' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.empty { text-align: center; padding: 48px 0; }
.check { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; cursor: pointer; line-height: 1.35; }
.check input[type="checkbox"], .check input[type="radio"] { appearance: none; -webkit-appearance: none; flex: none; width: 18px; height: 18px; margin: 0;
  border: 1px solid #bdbdbd; border-radius: 2px; background: #fff center / 12px no-repeat; cursor: pointer; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.check input[type="radio"] { border-radius: 50%; }
.check:hover input[type="checkbox"], .check:hover input[type="radio"] { border-color: var(--ink); }
.check input[type="checkbox"]:checked { background-color: var(--ink); border-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.check input[type="radio"]:checked { border-color: var(--ink); background-color: var(--ink); box-shadow: inset 0 0 0 4px #fff; }
.check input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.check input:disabled { opacity: .4; cursor: default; }
.check input:disabled + span { opacity: .5; }
.check > span:first-of-type { padding-top: 0; }
.check.is-invalid input { border-color: var(--accent); }
.check .muted { margin-left: auto; padding-left: 8px; }
.check a { text-decoration: underline; }
.seo { padding-top: 16px; }
.seo-box { border-top: 1px solid var(--line); padding-top: 18px; }
.seo-box summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; }
.seo-box summary::-webkit-details-marker { display: none; }
.seo-box summary .h3 { margin: 0; }
.seo-box[open] summary .ico { transform: rotate(180deg); }
.seo-box p { color: var(--ink-2); max-width: 90ch; }
.seo-box summary + p { margin-top: 16px; }

/* ---------- карточка товара ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; padding-top: 8px; }
.gallery { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; position: sticky; top: calc(var(--hdr-h) + 16px); align-self: start; }
.gallery-main { background: var(--soft); aspect-ratio: 1; display: grid; place-items: center; padding: 40px; }
.gallery-main { min-width: 0; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.thumb { width: 80px; height: 80px; background: var(--soft); padding: 8px; border: 1px solid transparent; display: grid; place-items: center; }
.thumb img { max-height: 100%; width: auto; mix-blend-mode: multiply; }
.thumb.is-active { border-color: var(--ink); }
.pdp-title { text-transform: none; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: 0; margin-bottom: 10px; }
.pdp-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; margin-bottom: 12px; }
.pdp-meta a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink-2); }
.pdp-sub { color: var(--ink-2); font-size: 16px; }
.buy-box { border: 1px solid var(--line); padding: 24px; margin: 18px 0 22px; display: grid; gap: 16px; }
.buy-price { display: flex; align-items: baseline; gap: 10px; }
.buy-price-val { font-size: 34px; font-weight: 500; line-height: 1; }
.tiers-title { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 6px; }
.tiers table td { padding: 9px 10px; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.tiers table td:nth-child(2) { font-weight: 500; }
.tiers table td:last-child { text-align: right; }
.tiers tr { cursor: pointer; transition: background .12s; }
.tiers tr:hover { background: var(--soft); }
.tiers tr.is-current { background: var(--ink); color: #fff; }
.tiers tr.is-current .muted { color: #bbb; }
.tiers-hint { margin-top: 10px; font-size: 14px; color: var(--ok); }
.tiers-hint button { text-decoration: underline; color: inherit; }
.buy-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--line); height: 48px; }
.qty button { width: 44px; font-size: 20px; }
.qty button:hover { background: var(--soft); }
.qty input { width: 72px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; font-size: 16px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-sm { height: 38px; }
.qty-sm button { width: 34px; font-size: 17px; }
.qty-sm input { width: 58px; font-size: 15px; }
.buy-total { display: flex; flex-direction: column; line-height: 1.2; }
.buy-total b { font-size: 20px; font-weight: 500; }
.buy-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field-note textarea { min-height: 64px; }
.specs { margin: 0; display: grid; }
.spec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 9px 0; border-bottom: 1px dotted var(--line); font-size: 14px; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; }
.specs-short { margin-bottom: 20px; }
.pdp-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; color: var(--ink-2); }
.pdp-perks li { display: flex; align-items: center; gap: 12px; }
.pdp-tabs { margin-top: 48px; }
.pdp-tabs .tabs { border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.pdp-tabs .tab { height: 48px; font-size: 14px; margin-bottom: -1px; }
.pdp-tabs .specs { max-width: 720px; }
.prose { max-width: 80ch; }
.prose p { color: var(--ink-2); }
.prose a, .prose-wide a:not(.btn):not(.link-more) { text-decoration: underline; text-underline-offset: 3px; }
.prose .h3 { margin-top: 26px; }

/* ---------- формы ---------- */
.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; font-size: 13px; color: var(--ink-2); }
.field input, .field textarea, .search-big input { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); padding: 11px 12px; font-size: 15px; background: #fff; color: var(--ink); }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .search-big input:focus { outline: none; border-color: var(--ink); }
.field.is-invalid input, .check.is-invalid span { border-color: var(--accent); color: var(--accent); }
.check.is-invalid span a { color: var(--accent); }
.form-msg { font-size: 14px; padding: 10px 12px; background: #eaf6ef; color: var(--ok); }
.form-msg.is-error { background: #fdeceb; color: var(--accent); }
.card-form { background: var(--soft); padding: 28px; }
.help-strip .form { background: #fff; padding: 24px; }
.search-big { display: flex; gap: 10px; max-width: 640px; margin: 8px 0 28px; }

/* ---------- корзина ---------- */
.cart { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; margin-top: 10px; }
.cart-line { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto auto 32px; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-line:first-child { border-top: 1px solid var(--line); }
.cart-thumb { width: 96px; height: 96px; background: var(--soft); display: grid; place-items: center; padding: 8px; }
.cart-thumb img { max-height: 100%; width: auto; mix-blend-mode: multiply; }
.cart-name { font-weight: 500; line-height: 1.3; }
.cart-meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.cart-hint { font-size: 13px; color: var(--ok); margin-top: 4px; }
.cart-hint button { text-decoration: underline; color: inherit; font-size: 13px; }
.cart-note { font-size: 13px; color: var(--ink-2); margin-top: 4px; font-style: italic; }
.cart-sum { text-align: right; min-width: 110px; }
.cart-sum b { display: block; font-size: 17px; font-weight: 500; }
.cart-sum span { font-size: 13px; color: var(--muted); }
.cart-del { width: 32px; height: 32px; display: grid; place-items: center; color: var(--muted); }
.cart-del:hover { color: var(--accent); }
/* статьи */
.articles { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin: 8px 0 40px; }
.article-card { display: grid; gap: 10px; align-content: start; padding: 24px; background: var(--soft); transition: background .15s; }
.article-card:hover { background: var(--line); }
.article-card-title { font-size: 19px; font-weight: 500; line-height: 1.3; }
.article-card .link-more { margin-top: 4px; }
.article-date { margin: -8px 0 20px; font-size: 14px; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 500; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.more-articles { margin: 40px 0; padding-top: 24px; border-top: 1px solid var(--line); max-width: 760px; }
/* подборки под разделом */
.picks { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; margin: -4px 0 18px; font-size: 14px; }
.picks-title { color: var(--muted); }
.picks a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.picks a:hover { color: var(--accent); text-decoration-color: currentColor; }
.stock { display: inline-flex; align-items: center; gap: 6px; }
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.stock--order::before { background: var(--muted); }
.cart--empty { grid-template-columns: 1fr; }
.cart-empty { text-align: center; padding: 56px 0; max-width: 640px; margin: 0 auto; }
.cart-empty p { margin-left: auto; margin-right: auto; }
.cart-empty .btn { margin-top: 14px; }
.cart-side { position: sticky; top: calc(var(--hdr-h) + 16px); display: grid; gap: 16px; }
.summary { background: var(--soft); padding: 22px; display: grid; gap: 10px; }
.summary-row { display: flex; justify-content: space-between; font-size: 15px; }
.summary-save { color: var(--ok); }
.summary-total { font-size: 20px; padding-top: 10px; border-top: 1px solid var(--line); }
.summary-total b { font-weight: 500; }
.summary-form { border: 1px solid var(--line); padding: 22px; }

/* ---------- инфостраницы ---------- */
.page-info .h1 { margin-bottom: 18px; }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.info-card { background: var(--soft); padding: 26px; }
.info-card .ico-lg { margin-bottom: 12px; }
.info-card p { color: var(--ink-2); }
.table-wrap { overflow-x: auto; margin: 16px 0; }
.table th, .table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
.tier-lines { display: grid; gap: 2px; white-space: nowrap; }
.table th { font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.prose-wide .h2 { margin: 36px 0 14px; scroll-margin-top: 140px; }
.contacts .contact-block { margin-bottom: 22px; }
.contact-big { display: block; font-size: 22px; font-weight: 500; }
.ftr-phone { display: block; font-size: 18px; font-weight: 500; }
.notfound { text-align: center; padding: 60px 0; display: grid; justify-items: center; gap: 12px; }
.notfound-code { font-size: 120px; line-height: 1; font-weight: 400; color: var(--line); }

/* ---------- подвал ---------- */
.ftr { background: var(--ink); color: #cfcfcf; margin-top: 0; }
.ftr a:hover { color: #fff; }
.ftr-grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.3fr; gap: 32px; padding-top: 48px; padding-bottom: 40px; }
.ftr-title { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.ftr-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 14px; }
.ftr-contacts { display: grid; gap: 8px; align-content: start; }
.ftr-contacts .ftr-phone { color: #fff; }
.ftr-line { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.ftr-contacts .btn { justify-self: start; margin-top: 10px; }
.ftr-bottom { display: flex; flex-wrap: wrap; gap: 8px 28px; border-top: 1px solid #2a2a2a; padding-top: 18px; padding-bottom: 24px; font-size: 12px; color: #8d8d8d; }
.ftr .todo { color: #6b5400; }

/* ---------- модалка, тост ---------- */
.modal { position: fixed; inset: 0; z-index: 120; background: rgba(0,0,0,.5); display: grid; place-items: center; padding: 16px; }
.modal-box { position: relative; width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; padding: 32px; animation: pop .18s ease; }
@keyframes pop { from { transform: translateY(10px); opacity: 0; } }
.modal-close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; display: grid; place-items: center; }
.modal-title { font-size: 22px; text-transform: uppercase; font-weight: 500; margin-bottom: 6px; padding-right: 36px; }
.modal .form-row { grid-template-columns: 1fr; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 130; background: var(--ink); color: #fff; padding: 14px 18px; display: flex; gap: 16px; align-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.25); font-size: 14px; max-width: calc(100vw - 32px); animation: pop .2s ease; }
.toast a { text-decoration: underline; white-space: nowrap; }
.toast a:hover { color: #fff; }

/* ---------- адаптив ---------- */
@media (max-width: 1240px) {
  .hdr-links { display: none; }
  .hdr-contacts { margin-left: auto; }
  .hdr-search { width: 260px; }
  .nav-link { padding: 0 8px; font-size: 13px; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .mega-inner { grid-template-columns: repeat(2, minmax(0, 1fr)) 240px; }
  .mega-col:nth-child(3) { display: none; }
  .mega-banner { grid-column: 3; }
}
@media (max-width: 1024px) {
  .hdr-nav { display: none; }
  .hdr-burger, .hdr-search-toggle, .hdr-call { display: inline-grid; }
  .hdr-row { gap: 8px; min-height: 64px; }
  .hdr-contacts { display: none; }
  .hdr-tools { margin-left: auto; }
  .hdr-cart-text { display: none; }
  .hdr-cart { width: 44px; justify-content: center; padding: 0; }
  .cart-badge { left: 24px; }
  .hdr.search-open .hdr-nav { display: block; border-top: 1px solid var(--line); }
  .hdr.search-open .nav { display: none; }
  .hdr.search-open .hdr-search { width: 100%; padding: 10px 0; }
  .hdr.search-open .hdr-search > button { top: 10px; }
  .logo-mark { width: 32px; height: 32px; }
  .logo-word { font-size: 18px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .side-banners { grid-template-columns: 1fr 1fr; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rail { grid-auto-columns: calc((100% - 2 * 16px) / 3); }
  .pdp { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .gallery { position: static; }
  .cart { grid-template-columns: 1fr; }
  .cart-side { position: static; }
  .ftr-grid { grid-template-columns: repeat(2, 1fr); }
  .toolbar-filters { display: inline-flex; }
  .filters { display: none; }
  .filters.is-open { display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 110; background: #fff; }
  .filters-head { display: flex; justify-content: space-between; align-items: center; padding: 8px var(--gutter); border-bottom: 1px solid var(--line); font-size: 18px; text-transform: uppercase; }
  .filters-groups { flex-direction: column; flex-wrap: nowrap; gap: 0; overflow: auto; flex: 1; padding: 0 var(--gutter); }
  .flt { border-bottom: 1px solid var(--line-2); }
  .flt summary { border: 0; padding: 0; height: 52px; justify-content: space-between; font-size: 15px; }
  .flt summary:hover, .flt[open] summary { border: 0; }
  .flt.has-value summary { background: none; color: var(--ink); }
  .flt-body { position: static; box-shadow: none; border: 0; padding: 0 0 14px; max-height: none; min-width: 0; }
  .filters-foot { display: flex; align-items: center; gap: 16px; padding: 12px var(--gutter); border-top: 1px solid var(--line); }
  .filters-foot .btn { flex: 1; }
  .two-col, .help-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 767px) {
  .promo-bar { font-size: 12px; }
  .logo-note { display: none; }
  .slider { min-height: 520px; }
  .slide { grid-template-columns: minmax(0, 1fr); padding: 28px 24px 56px; align-content: start; gap: 8px; }
  .slide-img { order: -1; height: auto; }
  .slide-img img { max-height: 180px; }
  .slide p { font-size: 15px; margin-bottom: 18px; }
  .dots { left: 24px; bottom: 20px; }
  .side-banners { grid-template-columns: 1fr; }
  .side-banner { padding: 18px; grid-template-columns: 1fr 96px; }
  .side-banner-title { font-size: 20px; }
  .benefits-grid { grid-template-columns: 1fr; gap: 16px; }
  .benefit .ico-lg { width: 32px; height: 32px; }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tile { padding: 12px; }
  .tile-name { font-size: 14px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 10px; }
  .rail { grid-auto-columns: calc((100% - 10px) / 2); gap: 10px; }
  .rail-nav { display: none; }
  .section-head { gap: 12px; }
  .section-head .tabs { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .tab { white-space: nowrap; }
  .card-img { padding: 12px; }
  .card-name { font-size: 14px; }
  .card-price { font-size: 16px; }
  .teaser { grid-template-columns: 1fr; }
  .teaser-text { padding: 28px 24px; }
  .teaser-img { order: -1; padding: 24px; }
  .teaser-img img { max-height: 180px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .section { padding: 28px 0; }
  .sort > .muted { display: none; }
  .buy-box { padding: 16px; }
  .buy-actions { grid-template-columns: 1fr; }
  .buy-price-val { font-size: 28px; }
  .gallery-main { padding: 20px; }
  .cart-line { grid-template-columns: 72px minmax(0, 1fr) 32px; gap: 12px; align-items: start; }
  .cart-thumb { width: 72px; height: 72px; }
  .cart-line .qty, .cart-line .cart-sum { grid-column: 2; }
  .cart-line .qty { justify-self: start; }
  .pdp-tabs .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .pdp-tabs .tabs::-webkit-scrollbar { display: none; }
  .pdp-tabs .tab { flex: none; padding: 0 12px; }
  .cart-line .cart-sum { text-align: left; }
  .cart-del { grid-column: 3; grid-row: 1; }
  .form-row { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .ftr-grid { grid-template-columns: 1fr; gap: 24px; }
  .modal-box { padding: 24px 18px; }
  .search-big { flex-direction: column; }
  .spec { grid-template-columns: 1fr 1fr; gap: 10px; }
}
/* узкие телефоны (iPhone SE и т. п.): шапка в одну строку */
@media (max-width: 400px) {
  .h1 { font-size: 24px; }
  .side-banner { grid-template-columns: minmax(0, 1fr) 76px; padding: 16px; }
  .side-banner-title { font-size: 17px; }
  .slide { padding: 24px 16px 52px; }
  .slide-title { font-size: 26px; }
  .dots { left: 16px; }
  .thumb { width: 64px; height: 64px; }
  .hdr-row { gap: 4px; }
  .hdr-icon { width: 40px; height: 40px; }
  .hdr-cart { width: 40px; }
  .logo { gap: 8px; }
  .logo-mark { width: 28px; height: 28px; }
  .logo-word { font-size: 15px; letter-spacing: .05em; }
}
@media (max-width: 359px) {
  .hdr-call { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.prose ul, .prose ol { color: var(--ink-2); padding-left: 20px; }
.prose h2 { font-size: 20px; font-weight: 500; margin: 28px 0 10px; }
.prose h3 { font-size: 17px; font-weight: 500; margin: 22px 0 8px; }

/* ---------- согласие на cookie ---------- */
.cookie { position: fixed; left: 24px; bottom: 24px; z-index: 125; max-width: 480px; background: #fff; color: var(--ink); border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0,0,0,.18); padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; animation: ckIn .35s ease-out; transition: opacity .3s, transform .3s; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.cookie a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.cookie-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie--hide { opacity: 0; transform: translateY(12px); }
@keyframes ckIn { from { opacity: 0; transform: translateY(16px); } }
@media (max-width: 767px) {
  .cookie { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); max-width: none; padding: 16px; }
  .cookie-btns .btn { flex: 1; }
}
.ftr-cookie { color: inherit; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.ftr-cookie:hover { color: #fff; }
