/* 4444.MARKET Storefront V3 — компоненты. Использует только токены из tokens.css.
   Визуальный ориентир: 14_REFERENCES/BRAND/HOMEPAGE_DIRECTION_V3.png (тёплый светлый фон, графит и золото, мягкие радиусы). */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--warm-bg); color: var(--black); font: 400 16px/1.55 var(--font-text); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; letter-spacing: -.025em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--black); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); z-index: 200; }
.skip:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--gold-hover); outline-offset: 2px; box-shadow: var(--focus); }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-lg { width: 26px; height: 26px; }
.flip { transform: rotate(180deg); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--gold-dark); }

/* пометка демо/превью: видимая, но аккуратная */
.demo-tag { display: inline-block; font: 700 11px/1 var(--font-text); letter-spacing: .06em; text-transform: uppercase; background: var(--gold-light); color: var(--gold-dark); border: 1px dashed var(--gold); border-radius: var(--r-xs); padding: 4px 6px; vertical-align: middle; }
.preview-banner { background: var(--gold-light); color: var(--gold-dark); font-size: 12px; text-align: center; padding: 5px var(--gutter); border-bottom: 1px solid var(--line-strong); }
.demo-note { font-size: 13px; color: var(--gray); margin: 8px 0 16px; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--r-md); font: 700 15px/1.2 var(--font-text); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; text-align: center; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-lg { min-height: 52px; padding: 0 28px; }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover:not(:disabled) { background: var(--gold-hover); color: #fff; }
.btn-dark { background: var(--graphite); color: #fff; }
.btn-dark:hover { background: var(--dark); }
.btn-light { background: var(--white); color: var(--black); border-color: var(--line-strong); }
.btn-light:hover { border-color: var(--black); }

/* 1. служебная полоса */
.service-bar { background: var(--warm-1); color: var(--dark); font-size: 13px; border-bottom: 1px solid var(--warm-line); }
.service-bar .wrap { display: flex; justify-content: space-between; gap: 16px; min-height: 40px; align-items: center; }
.service-bar ul { display: flex; gap: 28px; }
.service-bar a { text-decoration: none; }
.service-bar a:hover { color: var(--gold-dark); text-decoration: underline; }
.service-bar .sb-info { display: flex; gap: 8px 28px; align-items: center; min-width: 0; white-space: nowrap; overflow: hidden; }
.service-bar .sb-info > span { display: inline-flex; align-items: center; gap: 8px; }
.service-bar .icon { width: 16px; height: 16px; }
.service-bar li { white-space: nowrap; }
@media (max-width: 1023px) { .service-bar .sb-tag { display: none; } .service-bar ul { gap: 16px; } }
@media (max-width: 767px) { .service-bar ul { display: none; } }

/* 2. логотип + крупный поиск + телефон + корзина */
.site-header { background: var(--warm-bg); }
.header-main { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px 40px; align-items: center; padding-top: 16px; padding-bottom: 12px; }
.logo { font: 800 36px/1 var(--font-display); letter-spacing: -.035em; text-decoration: none; white-space: nowrap; }
.logo b { color: var(--gold); }
.search { display: flex; align-items: stretch; background: #fff; border: 1.5px solid var(--black); border-radius: var(--r-lg); min-height: 54px; overflow: hidden; }
.search:focus-within { border-color: var(--gold-hover); box-shadow: var(--focus); }
.search input { flex: 1; min-width: 0; border: 0; padding: 0 18px; font: 400 16px var(--font-text); background: transparent; color: var(--black); }
.search input:focus { outline: none; box-shadow: none; }
.search button { border: 0; background: var(--gold); color: var(--black); padding: 0 30px; font: 700 16px var(--font-text); cursor: pointer; display: flex; align-items: center; gap: 8px; }
.search button:hover { background: var(--gold-hover); color: #fff; }
.header-actions { display: flex; gap: 14px; align-items: center; }
.act { display: flex; align-items: center; gap: 10px; min-height: 44px; border-radius: var(--r-md); text-decoration: none; color: inherit; }
.act-phone { gap: 12px; }
.act-label { display: flex; flex-direction: column; line-height: 1.25; }
.act-tel { font: 700 17px var(--font-text); text-decoration: none; white-space: nowrap; }
.act-tel:hover { color: var(--gold-dark); }
.act-link { background: none; border: 0; padding: 0; text-align: left; font: 400 13px var(--font-text); color: var(--gold-dark); text-decoration: underline; cursor: pointer; }
.act-link:hover { color: var(--gold-hover); }
.act-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-md); color: var(--dark); }
.act-ico:hover { background: var(--warm-1); }
.act-cart { position: relative; width: 44px; justify-content: center; }
.act-cart:hover { background: var(--warm-1); }
.cart-count { position: absolute; top: 0; right: -4px; background: var(--gold); color: var(--black); border-radius: var(--r-pill); font: 700 12px/1 var(--font-text); min-width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }
@media (max-width: 1023px) {
  .header-main { grid-template-columns: 1fr auto; gap: 10px; padding-top: 12px; padding-bottom: 10px; }
  .search { grid-column: 1 / -1; order: 3; min-height: 48px; }
  .act-phone .act-label { display: none; }
  .header-actions { gap: 4px; }
}
@media (max-width: 479px) { .search button .btn-text { display: none; } .search button { padding: 0 16px; } .logo { font-size: 28px; } }

/* 3. каталог + основная навигация */
.nav-row { background: var(--warm-bg); }
.nav-row .wrap { display: flex; align-items: center; gap: 14px; min-height: 66px; position: relative; }
.catalog-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 30px; background: var(--graphite); color: #fff; border-radius: var(--r-md); font: 700 17px var(--font-text); cursor: pointer; list-style: none; }
.catalog-btn::-webkit-details-marker { display: none; }
.catalog-menu { position: relative; }
.catalog-menu[open] .catalog-btn { background: var(--gold); color: var(--black); }
.catalog-panel { position: absolute; left: 0; top: calc(100% + 8px); z-index: 60; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-raised); padding: 20px; width: min(780px, calc(100vw - 32px)); display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 20px; }
.cm-col h3 { font: 700 12px var(--font-text); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); padding: 0 10px 6px; }
.catalog-panel a { display: block; padding: 8px 10px; border-radius: var(--r-sm); text-decoration: none; font-size: 15px; font-weight: 500; }
.catalog-panel a:hover { background: var(--surface); }
.main-nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.main-nav a { white-space: nowrap; padding: 10px 16px; border-radius: var(--r-md); text-decoration: none; font: 500 17px var(--font-text); color: var(--black); }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--warm-1); }
.main-nav a[aria-current="page"] { font-weight: 700; }
@media (max-width: 1023px) { .nav-row .wrap { padding-right: 0; min-height: 60px; } .catalog-panel { grid-template-columns: 1fr 1fr; } .main-nav a { font-size: 15px; padding: 10px 12px; } .catalog-btn { padding: 0 20px; } }
@media (max-width: 599px) { .catalog-panel { grid-template-columns: 1fr; } }

/* 4. система баннеров: одно оформление — героя, широкого баннера и компактной карточки */
.bn { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: stretch; position: relative; color: var(--black); }
.bn-copy { padding: clamp(24px, 3.4vw, 52px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; position: relative; z-index: 1; }
.bn-type { font: 700 11px/1 var(--font-text); letter-spacing: .08em; text-transform: uppercase; background: var(--gold-light); color: var(--gold-dark); border-radius: var(--r-pill); padding: 6px 10px; }
.bn-eyebrow { font: 700 12px/1.3 var(--font-text); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); }
.bn-title { font-weight: 800; letter-spacing: -.035em; line-height: 1.06; }
.bn-text { color: var(--dark); line-height: 1.5; }
.bn-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; font-family: var(--font-display); }
.bn-price s { color: var(--gray); font-weight: 500; }
.bn-price b { font-size: 28px; letter-spacing: -.02em; }
.bn-price small { font: 500 14px var(--font-text); color: var(--gray); }
.bn-disc { background: var(--gold); color: var(--black); border-radius: var(--r-xs); padding: 3px 8px; font: 800 14px var(--font-text); }
.bn-deadline { font-size: 14px; font-weight: 600; color: var(--gold-dark); }
.bn-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.bn-legal { font-size: 12px; color: var(--gray); max-width: 52ch; }
.bn-media { position: relative; min-width: 0; display: grid; place-items: center; }
.bn-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.bn-demo { position: absolute; right: 14px; bottom: 12px; font: 600 11px/1 var(--font-text); letter-spacing: .04em; color: var(--gray); background: rgba(255, 253, 248, .85); border: 1px dashed var(--line-strong); border-radius: var(--r-pill); padding: 5px 9px; z-index: 2; }
.bn-collage { position: relative; width: 100%; height: 100%; min-height: 300px; }
.bn-collage img { position: absolute; width: auto; height: auto; max-width: none; object-fit: contain; filter: drop-shadow(0 12px 16px rgba(17, 19, 21, .14)); }
.bn-collage .c1 { width: 62%; left: 2%; top: 8%; }
.bn-collage .c2 { width: 40%; right: 0; top: 2%; }
.bn-collage .c3 { width: 34%; right: 6%; bottom: 4%; }
/* типы кампаний — только цветовой акцент; верстка одна */
.bn[data-type="black_friday"] { background: linear-gradient(120deg, var(--graphite), var(--dark)); color: #fff; }
.bn[data-type="black_friday"] .bn-text, .bn[data-type="black_friday"] .bn-price small, .bn[data-type="black_friday"] .bn-legal { color: #D9D5CB; }
.bn[data-type="black_friday"] .bn-eyebrow, .bn[data-type="black_friday"] .bn-deadline { color: var(--gold-highlight); }
.bn[data-type="black_friday"] .bn-media img { mix-blend-mode: normal; border-radius: var(--r-lg); }
.bn[data-type="black_friday"] .btn-light { background: transparent; color: #fff; border-color: #8B8F94; }
.bn[data-type="holiday"] { background: linear-gradient(120deg, #F6E9C8, #EFE1BE); }
.bn[data-type="seasonal"] { background: linear-gradient(120deg, #EEF1EA, #E3E8DE); }
.bn[data-type="new_arrival"] { background: linear-gradient(120deg, #F4EFE4, #EAE2D1); }
.bn[data-type="clearance"] { background: linear-gradient(120deg, #EDE6DA, #E1D8C7); }

/* герой-карусель */
.hero { margin-top: 8px; }
.hero-card { position: relative; background: linear-gradient(110deg, #F0ECE3 0%, #E5DED0 100%); border-radius: var(--r-2xl); overflow: hidden; border: 1px solid var(--warm-line); }
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility .45s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.bn--hero { min-height: 372px; }
.bn--hero .bn-copy { padding-bottom: 76px; gap: 16px; }
.bn--hero .bn-title { font-size: clamp(32px, 3.7vw, 54px); max-width: 15ch; }
.bn--hero .bn-text { font-size: 19px; max-width: 34ch; }
.bn--hero .bn-media { padding: 12px 28px 12px 0; }
.bn--hero .bn-art { max-height: 340px; }
.bn--hero .bn-cta .btn { min-width: 200px; }
.hero-ctrl { position: absolute; left: clamp(24px, 3.4vw, 52px); bottom: 24px; display: flex; align-items: center; gap: 10px; z-index: 3; }
.hero-dots { display: flex; gap: 8px; margin-right: 8px; }
.hero-dot { position: relative; width: 12px; height: 12px; border-radius: 50%; border: 0; padding: 0; background: var(--line-strong); cursor: pointer; }
.hero-dot::after { content: ""; position: absolute; inset: -10px; }
.hero-dot.on { background: var(--gold); }
.hero-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(255, 253, 248, .9); color: var(--black); display: grid; place-items: center; cursor: pointer; }
.hero-btn:hover { border-color: var(--black); }
@media (max-width: 767px) {
  .hero-card { border-radius: 20px; }
  .bn { grid-template-columns: minmax(0, 1fr); }
  .bn--hero { min-height: 0; }
  .bn--hero .bn-media { order: -1; padding: 16px 16px 0; aspect-ratio: 4 / 3; max-height: 260px; }
  .bn--hero .bn-art { max-height: 230px; }
  .bn-collage { min-height: 0; }
  .bn--hero .bn-copy { padding: 20px 20px 72px; }
  .bn--hero .bn-text { font-size: 16px; }
  .bn--hero .bn-cta .btn { flex: 1 1 160px; min-width: 0; }
  .hero-ctrl { left: 20px; bottom: 18px; }
}

/* широкий баннер каталога */
.bn--wide { grid-template-columns: minmax(0, 1.5fr) minmax(0, .5fr); border-radius: var(--r-xl); border: 1px solid var(--warm-line); background: linear-gradient(120deg, #F0ECE3, #E7E0D2); overflow: hidden; min-height: 150px; margin: 4px 0 20px; }
.bn--wide .bn-copy { padding: 22px 28px; gap: 8px; }
.bn--wide .bn-title { font-size: clamp(20px, 2vw, 28px); }
.bn--wide .bn-art { max-height: 170px; }
.bn--wide .bn-media { padding: 8px 20px 8px 0; }
.bn--wide .bn-collage { min-height: 150px; }
.bn--wide .bn-demo { display: none; }
@media (max-width: 767px) { .bn--wide { grid-template-columns: minmax(0, 1fr) 110px; } .bn--wide .bn-copy { padding: 18px; } .bn--wide .bn-media { padding: 8px 8px 8px 0; } .bn--wide .bn-text { font-size: 14px; } }

/* компактная промо-карточка */
.promo-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.bn--card { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); border-radius: var(--r-xl); border: 1px solid var(--warm-line); background: linear-gradient(135deg, var(--warm-bg), var(--warm-2)); overflow: hidden; min-height: 160px; box-shadow: var(--shadow-soft); }
.bn--card .bn-copy { padding: 20px 22px; gap: 6px; }
.bn--card .bn-title { font-size: 22px; }
.bn--card .bn-text { font-size: 14px; }
.bn--card .bn-art { max-height: 130px; }
.bn--card .bn-media { padding: 8px 12px 8px 0; }
.bn--card .bn-demo, .bn--card .btn-light { display: none; }
.bn--card .btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
@media (max-width: 767px) { .promo-cards { grid-template-columns: 1fr; } }

/* 5. компактные сервисные карточки */
.mini-cards, .info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.info-grid { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
.mini { display: flex; gap: 16px; align-items: center; background: var(--warm-bg); border: 1px solid var(--warm-line); border-radius: var(--r-lg); padding: 16px 20px; text-decoration: none; min-height: 84px; transition: border-color .15s, box-shadow .15s; }
.mini:hover { border-color: var(--gold); box-shadow: var(--shadow-card); }
.mini .ic { width: 52px; height: 52px; border-radius: var(--r-md); background: var(--gold-light); color: var(--gold-dark); display: grid; place-items: center; flex: none; }
.mini .mini-t { flex: 1; min-width: 0; }
.mini strong { display: block; font: 700 16px/1.3 var(--font-display); }
.mini .mini-t > span { display: block; font-size: 14px; color: var(--gray); line-height: 1.4; }
.mini .go { color: var(--dark); width: 18px; height: 18px; }
@media (max-width: 1023px) { .mini-cards { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .info-grid { grid-template-columns: 1fr; } }

/* секции */
.section { padding-top: 44px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; font-weight: 800; letter-spacing: -.035em; }
.section-head a { font: 500 15px var(--font-text); text-decoration: none; color: var(--gold-dark); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.section-head a:hover { text-decoration: underline; }
.section-s { margin-top: 44px; }
.h-s { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 18px; font-weight: 800; letter-spacing: -.03em; }
@media (max-width: 767px) { .section { padding-top: 36px; } .section-s { margin-top: 36px; } }

/* категории: крупные тёплые карточки, текст слева, товар справа */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: stretch; min-height: 220px; column-gap: 8px; background: linear-gradient(135deg, var(--warm-bg) 0%, var(--warm-2) 100%); border: 1px solid var(--warm-line); border-radius: var(--r-xl); padding: 24px; text-decoration: none; box-shadow: var(--shadow-soft); overflow: hidden; transition: border-color .15s, box-shadow .15s, transform .15s; }
.cat:hover { border-color: var(--gold); box-shadow: var(--shadow-card); transform: translateY(-2px); }
.cat-body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; position: relative; z-index: 1; }
.cat-name { font: 800 clamp(22px, 1.8vw, 28px)/1.1 var(--font-display); letter-spacing: -.03em; }
.cat-sub { font-size: 15px; color: var(--gray); }
.cat-go { margin-top: auto; width: 44px; height: 44px; border-radius: 50%; background: var(--warm-2); border: 1px solid var(--warm-line); display: grid; place-items: center; color: var(--black); transition: background .15s; }
.cat:hover .cat-go { background: var(--gold); }
.cat-img { display: grid; place-items: center; min-width: 0; }
.cat-img img { width: 100%; max-height: 180px; object-fit: contain; mix-blend-mode: multiply; filter: drop-shadow(0 10px 14px rgba(17, 19, 21, .15)); }
.cat-ico { width: 84px; height: 84px; color: var(--gold-dark); stroke-width: 1.25; }
.cat--soon { cursor: default; box-shadow: none; border-style: dashed; }
.cat--soon:hover { border-color: var(--warm-line); box-shadow: none; transform: none; }
.cat--soon .cat-sub { max-width: 22ch; }
@media (max-width: 1099px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .cat-grid { grid-template-columns: 1fr; } .cat { min-height: 150px; padding: 18px; } .cat-img img { max-height: 120px; } .cat-go { width: 36px; height: 36px; } }

/* карточка товара */
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.p-grid-4 { grid-template-columns: repeat(4, 1fr); }
.p-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--warm-line); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .15s, border-color .15s; }
.p-card:hover { box-shadow: var(--shadow-card); border-color: var(--line-strong); }
.p-img { position: relative; aspect-ratio: 4 / 3; padding: 14px; background: linear-gradient(160deg, #F6F2EA, #ECE6D9); display: grid; place-items: center; }
.p-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.p-badges { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; align-items: flex-start; }
.badge { font: 700 12px/1.2 var(--font-text); letter-spacing: .03em; border-radius: var(--r-xs); padding: 5px 9px; background: var(--gold); color: var(--black); }
.badge.demo { background: var(--gold-light); color: var(--gold-dark); border: 1px dashed var(--gold); }
.p-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.p-cat { font: 500 12px var(--font-text); color: var(--gray); }
.p-name { font: 600 16px/1.35 var(--font-display); letter-spacing: -.01em; }
.p-name a { text-decoration: none; }
.p-name a::after { content: ""; position: absolute; inset: 0; }
.p-specs { font-size: 13px; color: var(--dark); }
.p-price { font: 700 24px/1.2 var(--font-display); letter-spacing: -.01em; margin-top: auto; padding-top: 6px; }
.p-price small { font: 500 12px var(--font-text); color: var(--gray); letter-spacing: 0; }
.p-cta { margin-top: 8px; position: relative; z-index: 1; }
.p-cta .btn { width: 100%; }
.status { display: inline-flex; align-items: center; gap: 6px; font: 600 14px var(--font-text); color: var(--dark); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gray); }
@media (max-width: 1099px) { .p-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .p-grid, .p-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 10px; } .p-body { padding: 10px 12px 12px; } .p-name { font-size: 14px; } .p-price { font-size: 19px; } .p-cta .btn { min-height: 40px; padding: 0 10px; font-size: 14px; } }
@media (max-width: 379px) { .p-grid, .p-grid-4 { grid-template-columns: 1fr; } }

/* «как мы работаем» */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trust { background: var(--warm-bg); border: 1px solid var(--warm-line); border-radius: var(--r-xl); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.trust .ic { width: 48px; height: 48px; border-radius: var(--r-md); background: var(--gold-light); color: var(--gold-dark); display: grid; place-items: center; }
.trust h3 { font-size: 20px; line-height: 1.3; font-weight: 700; }
.trust p { color: var(--dark); font-size: 15px; }
.trust a { font-weight: 600; text-decoration: none; color: var(--gold-dark); margin-top: auto; }
.trust a:hover { text-decoration: underline; }
@media (max-width: 1023px) { .trust-grid { grid-template-columns: 1fr; } }

/* сервис / контакты */
.cta-band { background: linear-gradient(120deg, #F0ECE3 0%, #E6E0D3 100%); border: 1px solid var(--warm-line); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 52px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.18; max-width: 22ch; }
.cta-band p { color: var(--dark); margin-top: 8px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* подвал: светлый */
.site-footer { background: var(--warm-1); color: var(--dark); margin-top: 64px; padding: 48px 0 24px; font-size: 14px; border-top: 1px solid var(--warm-line); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer h3 { font: 700 14px var(--font-display); color: var(--black); margin-bottom: 12px; letter-spacing: .02em; }
.site-footer li + li { margin-top: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold-dark); text-decoration: underline; }
.site-footer .logo { display: inline-block; margin-bottom: 12px; font-size: 28px; }
.site-footer address { font-style: normal; }
.site-footer address p + p { margin-top: 4px; }
.foot-note { margin-top: 12px; font-size: 13px; color: var(--gray); }
.foot-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line-strong); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--gray); }
.nap .demo-tag { margin-bottom: 10px; }
@media (max-width: 1023px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479px) { .foot-grid { grid-template-columns: 1fr; } }

/* внутренние страницы */
.crumbs { font-size: 13px; color: var(--gray); padding: 20px 0 8px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden] { margin: 0 6px; }
.page-title { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.12; font-weight: 800; letter-spacing: -.03em; padding: 8px 0 12px; }
.cat-intro { color: var(--dark); max-width: 760px; margin-bottom: 16px; }

/* горизонтальная панель фильтров категории */
.fbar { position: sticky; top: 0; z-index: 30; background: var(--warm-bg); border-bottom: 1px solid var(--warm-line); padding: 10px 0 8px; margin-bottom: 12px; }
.fbar-row { display: flex; gap: 8px; align-items: center; }
.fbar-drops { display: flex; gap: 8px; flex: 1; min-width: 0; flex-wrap: wrap; }
.fdrop { position: relative; }
.fdrop summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--r-pill); font: 600 14px var(--font-text); cursor: pointer; list-style: none; white-space: nowrap; }
.fdrop summary::-webkit-details-marker { display: none; }
.fdrop summary:hover, .fdrop[open] summary { border-color: var(--black); }
.fdrop summary .chev { width: 16px; height: 16px; transform: rotate(90deg); }
.fdrop summary.has-v { background: var(--gold-light); border-color: var(--gold); }
.fd-v { color: var(--gold-dark); font-weight: 700; }
.fd-v:empty { display: none; }
.fpanel { position: absolute; left: 0; top: calc(100% + 6px); z-index: 40; min-width: 240px; max-width: 320px; max-height: 340px; overflow: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-raised); padding: 10px 14px; }
.f-opt { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: 14px; cursor: pointer; }
.f-opt input { width: 18px; height: 18px; accent-color: var(--gold-dark); flex: none; }
.fp-note { font-size: 12px; color: var(--gray); padding: 6px 0 4px; max-width: 280px; white-space: normal; }
.f-all { flex: none; position: relative; }
.f-badge { background: var(--gold); color: var(--black); border-radius: var(--r-pill); min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: 12px; font-weight: 700; padding: 0 6px; }
.fbar-sub { margin-top: 8px; }
.f-active { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; min-width: 0; }
.f-chip { display: inline-flex; gap: 6px; align-items: center; min-height: 36px; padding: 0 12px; background: var(--graphite); color: #fff; border: 0; border-radius: var(--r-pill); font: 600 13px var(--font-text); cursor: pointer; }
.f-chip:hover { background: var(--dark); }
.f-reset { min-height: 36px; background: none; border: 0; color: var(--gold-dark); font: 700 14px var(--font-text); text-decoration: underline; cursor: pointer; padding: 0 8px; }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.toolbar select { min-height: 44px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 0 12px; background: var(--white); font: 600 14px var(--font-text); }
.count { color: var(--dark); font-size: 14px; font-weight: 500; }
.toolbar .sort { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--gray); }
.f-note { font-size: 13px; color: var(--dark); background: var(--white); border: 1px dashed var(--line-strong); border-radius: var(--r-md); padding: 10px 14px; margin-bottom: 14px; }
.f-empty { grid-column: 1 / -1; background: var(--white); border: 1px dashed var(--line-strong); border-radius: var(--r-lg); padding: 32px; text-align: center; display: grid; gap: 8px; justify-items: center; }
.f-empty-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.cat-copy { margin-top: 48px; max-width: 760px; display: grid; gap: 12px; }
.cat-copy h2 { font-size: 22px; }
.cat-copy details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 16px; }
.cat-copy summary { font-weight: 600; cursor: pointer; }
.cat-copy details p { margin-top: 8px; color: var(--gray); }

/* панель «Все фильтры»: справа на десктопе, снизу на мобильном */
.fdialog { border: 0; padding: 0; margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(440px, 100vw); background: var(--white); color: var(--black); box-shadow: var(--shadow-raised); }
.fdialog::backdrop, .modal::backdrop { background: rgba(17, 17, 17, .5); }
.fdlg-wrap { display: flex; flex-direction: column; height: 100%; max-height: inherit; }
.fdlg-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.fdlg-head h2 { font-size: 20px; }
.fdlg-x, .modal-x { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; border-radius: var(--r-sm); font-size: 28px; line-height: 1; color: var(--black); }
.fdlg-x:hover, .modal-x:hover { background: var(--warm-1); }
.fdlg-body { flex: 1; overflow: auto; padding: 8px 20px; }
.fdlg-foot { display: flex; gap: 8px; padding: 12px 20px; border-top: 1px solid var(--line); }
.fdlg-foot .btn-gold { flex: 1; }
.fdlg-body .f-group { border: 0; border-top: 1px solid var(--line); margin: 0; min-width: 0; padding: 14px 0; scroll-margin-top: 4px; }
.fdlg-body .f-group:first-child { border-top: 0; }
.f-group legend { font: 700 14px var(--font-text); padding: 0; margin-bottom: 6px; }
.f-extra { font: 600 10px var(--font-text); letter-spacing: .06em; text-transform: uppercase; color: var(--gray); margin-left: 6px; }
@media (max-width: 1023px) {
  .fbar-drops { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
  .fdrop .fpanel { display: none; }
  .f-active { flex-wrap: nowrap; overflow-x: auto; }
  .f-chip { white-space: nowrap; }
  .fdialog { margin: auto 0 0; width: 100vw; max-width: 100vw; height: auto; max-height: 88dvh; border-radius: var(--r-xl) var(--r-xl) 0 0; }
  .toolbar .sort-l { display: none; }
  .fbar-row:first-child { flex-direction: column; align-items: stretch; }
  .f-all { width: 100%; }
}

/* модальные окна (менеджер, cookie) */
.modal { border: 0; padding: 0; width: min(640px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border-radius: var(--r-xl); background: var(--white); color: var(--black); box-shadow: var(--shadow-raised); }
.modal-sm { width: min(480px, calc(100vw - 24px)); }
.modal-wrap { display: flex; flex-direction: column; max-height: calc(100dvh - 24px); }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px 8px 24px; }
.modal-head h2 { font-size: 24px; }
.modal-body { padding: 8px 24px 16px; overflow: auto; display: grid; gap: 14px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 24px 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.mgr-lead { color: var(--dark); }
.mgr-ctx { font-weight: 600; background: var(--warm-1); border-radius: var(--r-md); padding: 10px 14px; }
.flow { counter-reset: s; display: grid; gap: 10px; }
.flow li { counter-increment: s; position: relative; padding-left: 40px; font-size: 15px; color: var(--dark); }
.flow li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--gold-light); color: var(--gold-dark); font: 700 14px/28px var(--font-text); text-align: center; }
.contract { background: var(--warm-bg); border: 1px solid var(--warm-line); border-radius: var(--r-md); padding: 12px 16px; font-size: 14px; }
.contract summary { font-weight: 600; cursor: pointer; }
.contract ul { list-style: disc; padding-left: 20px; margin: 10px 0; display: grid; gap: 4px; }
.contract p { color: var(--gray); }
.mgr-form { display: grid; gap: 12px; }
.mgr-consent { align-items: flex-start; }
.mgr-result { font-weight: 600; color: var(--info); }
.ck-state { font-weight: 600; }
.field { display: grid; gap: 6px; }
.field label { font: 600 14px var(--font-text); }
.field input, .field select, .field textarea { min-height: 48px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 10px 14px; font: 16px var(--font-text); background: #fff; color: var(--black); }
.field textarea { min-height: 96px; }
.field .hint { font-size: 13px; color: var(--gray); }

/* подбор кондиционера */
.sel-page { max-width: 980px; margin: 0 auto; }
.sel-intro { margin: 8px 0 20px; }
.sel-intro p { color: var(--dark); max-width: 62ch; margin-top: 6px; }
.sel-wrap { background: var(--white); border: 1px solid var(--warm-line); border-radius: var(--r-xl); padding: clamp(20px, 4vw, 40px); box-shadow: var(--shadow-soft); }
.sel-head { margin-bottom: 24px; }
.sel-step { font: 700 13px var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 8px; }
.sel-bar { height: 6px; background: var(--warm-2); border-radius: var(--r-pill); overflow: hidden; }
.sel-bar span { display: block; height: 100%; background: var(--gold); border-radius: var(--r-pill); transition: width .3s; }
.sel-q { font-size: clamp(24px, 3vw, 34px); line-height: 1.15; font-weight: 800; letter-spacing: -.03em; }
.sel-q:focus { outline: none; }
.sel-sub { color: var(--dark); margin: 10px 0 20px; max-width: 70ch; }
.sel-fs { border: 0; margin: 0 0 20px; padding: 0; min-width: 0; }
.sel-fs legend { font: 700 14px var(--font-text); margin-bottom: 10px; padding: 0; }
.opts { display: grid; gap: 12px; }
.opts-5 { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.opts-3 { grid-template-columns: repeat(3, 1fr); }
.opts-2 { grid-template-columns: repeat(2, 1fr); }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt-body { display: flex; flex-direction: column; gap: 2px; justify-content: center; min-height: 64px; height: 100%; padding: 12px 16px; background: var(--warm-bg); border: 1.5px solid var(--warm-line); border-radius: var(--r-md); transition: border-color .15s, background .15s; }
.opt-body b { font: 700 16px/1.3 var(--font-display); letter-spacing: -.01em; }
.opt-body small { font-size: 13px; color: var(--gray); }
.opt:hover .opt-body { border-color: var(--line-strong); }
.opt input:checked + .opt-body { border-color: var(--gold); background: var(--gold-light); box-shadow: inset 0 0 0 1px var(--gold); }
.opt input:focus-visible + .opt-body { outline: 2px solid var(--gold-hover); outline-offset: 2px; }
.sel-info { font-size: 14px; color: var(--dark); background: var(--warm-bg); border: 1px solid var(--warm-line); border-radius: var(--r-md); padding: 10px 14px; margin-top: 12px; }
.sel-warn { font-size: 14px; background: var(--gold-light); border: 1px solid var(--gold); border-radius: var(--r-md); padding: 12px 16px; margin: 12px 0 16px; color: var(--gold-dark); }
.sel-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.sel-help { margin-top: 14px; font-size: 14px; color: var(--gray); }
.sel-sum { margin: 0 0 18px; }
.sel-cards { display: grid; gap: 14px; margin-top: 12px; }
.sel-card { position: relative; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; background: var(--warm-bg); border: 1px solid var(--warm-line); border-radius: var(--r-lg); padding: 16px; }
.sel-card-img { background: linear-gradient(160deg, #F6F2EA, #ECE6D9); border-radius: var(--r-md); display: grid; place-items: center; padding: 10px; }
.sel-card-img img { width: 100%; max-height: 150px; object-fit: contain; mix-blend-mode: multiply; }
.sel-card-body { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; min-width: 0; }
.sel-why-t { font: 700 13px var(--font-text); color: var(--gold-dark); letter-spacing: .04em; text-transform: uppercase; margin-top: 4px; }
.sel-why { display: grid; gap: 4px; font-size: 14px; color: var(--dark); list-style: disc; padding-left: 18px; }
.sel-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.sel-manager { margin-top: 24px; background: linear-gradient(120deg, #F0ECE3, #E6E0D3); border: 1px solid var(--warm-line); border-radius: var(--r-lg); padding: 20px 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.sel-manager h3 { font-size: 20px; }
.sel-manager p { color: var(--dark); font-size: 14px; margin-top: 4px; }
.sel-manager-btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 767px) { .opts-3, .opts-2 { grid-template-columns: 1fr; } .opts-5 { grid-template-columns: repeat(2, 1fr); } .sel-card { grid-template-columns: 1fr; } .sel-nav .btn-lg { flex: 1; } }

/* страница товара */
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; margin-top: 8px; }
.gallery { display: grid; gap: 12px; }
.g-main { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(160deg, #F6F2EA, #ECE6D9); border: 1px solid var(--warm-line); border-radius: var(--r-xl); overflow: hidden; display: grid; place-items: center; padding: 24px; }
.g-main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s; }
.g-main img.z1, .g-thumb img.z1 { transform: scale(1.9); transform-origin: 88% 72%; }
.g-main img.z2, .g-thumb img.z2 { transform: scale(1.9); transform-origin: 12% 40%; }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(255, 253, 248, .92); display: grid; place-items: center; cursor: pointer; z-index: 2; }
.g-nav:hover { border-color: var(--black); }
.g-prev { left: 12px; } .g-next { right: 12px; }
.g-thumbs { display: grid; grid-template-columns: repeat(3, 96px); gap: 10px; }
.g-thumb { aspect-ratio: 1; border: 1px solid var(--warm-line); border-radius: var(--r-md); background: linear-gradient(160deg, #F6F2EA, #ECE6D9); cursor: pointer; padding: 6px; overflow: hidden; }
.g-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.g-thumb[aria-current="true"] { border: 2px solid var(--gold); }
.buy { background: var(--white); border: 1px solid var(--warm-line); border-radius: var(--r-xl); padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-soft); }
.buy-top { display: flex; gap: 8px; flex-wrap: wrap; }
.buy h1 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; font-weight: 800; letter-spacing: -.03em; }
.buy-meta { font-size: 14px; color: var(--gray); }
.buy-meta b { color: var(--black); }
.buy .price { font: 800 38px/1.1 var(--font-display); letter-spacing: -.02em; }
.buy .price small { font: 500 14px var(--font-text); color: var(--gray); letter-spacing: 0; }
.buy-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.buy-actions .btn:first-child { grid-column: 1 / -1; }
.buy-note { font-size: 13px; color: var(--gray); }
.assure { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
.assure li { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.assure .icon { color: var(--gold-dark); }
.desc { margin-top: 44px; max-width: 80ch; }
.desc h2, .chars h2 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 14px; font-weight: 800; letter-spacing: -.03em; }
.benefits { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px 20px; margin-top: 14px; }
.benefits li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.benefits .icon { color: var(--success); margin-top: 2px; }
.chars { margin-top: 36px; }
.chars-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.chars-group { background: var(--white); border: 1px solid var(--warm-line); border-radius: var(--r-xl); padding: 20px 24px; }
.chars-group h3 { font-size: 18px; margin-bottom: 8px; font-weight: 700; }
.chars-pending, .chars-note { font-size: 13px; color: var(--gray); }
.chars-note { margin-top: 10px; }
.facts { width: 100%; border-collapse: collapse; font-size: 15px; }
.facts th, .facts td { text-align: left; padding: 9px 0; border-top: 1px solid var(--line); vertical-align: top; }
.facts tr:first-child th, .facts tr:first-child td { border-top: 0; }
.facts th { font-weight: 500; color: var(--gray); width: 46%; padding-right: 12px; }
.facts .unk td { color: var(--gray); font-style: italic; }
.mobile-buybar { display: none; }
@media (max-width: 1023px) { .pdp { gap: 28px; } .chars-grid { grid-template-columns: 1fr; } }
@media (max-width: 899px) { .pdp { grid-template-columns: minmax(0, 1fr); gap: 24px; } .buy { padding: 20px; } }
@media (max-width: 767px) {
  .g-main { padding: 12px; }
  .g-thumbs { grid-template-columns: repeat(3, 1fr); }
  .buy-actions { grid-template-columns: 1fr; }
  .mobile-buybar { display: flex; position: sticky; bottom: 0; z-index: 30; gap: 12px; align-items: center; justify-content: space-between; background: var(--white); border-top: 1px solid var(--line-strong); padding: 10px var(--gutter); margin-top: 24px; }
  .mobile-buybar b { font: 700 20px var(--font-display); }
  .mobile-buybar small { font: 500 12px var(--font-text); color: var(--gray); }
}

/* состояния: поиск, корзина, оформление */
.empty { background: var(--white); border: 1px dashed var(--line-strong); border-radius: var(--r-lg); padding: 48px 24px; text-align: center; display: grid; gap: 12px; justify-items: center; }
.empty h2 { font-size: 24px; }
.empty p { color: var(--dark); max-width: 52ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chip { border: 1px solid var(--line-strong); border-radius: var(--r-pill); padding: 8px 16px; text-decoration: none; font: 600 14px var(--font-text); background: var(--surface); }
.chip:hover { border-color: var(--black); }
.cart { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.cart-line { display: grid; grid-template-columns: 88px 1fr auto; gap: 16px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; }
.cart-line .ph { width: 88px; height: 88px; border-radius: var(--r-sm); background: var(--surface); display: grid; place-items: center; font-size: 11px; color: var(--gray); }
.qty { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--r-sm); overflow: hidden; }
.qty button, .qty input { min-width: 40px; min-height: 40px; border: 0; background: #fff; font: 600 15px var(--font-text); text-align: center; }
.summary { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 12px; position: sticky; top: 16px; }
.summary .row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.summary .total { font: 700 22px var(--font-display); border-top: 1px solid var(--line); padding-top: 12px; }
.form { display: grid; gap: 14px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.panel + .panel { margin-top: 16px; }
.panel h2 { font-size: 20px; margin-bottom: 16px; }
.state-h { font-size: 20px; margin-bottom: 12px; }
@media (max-width: 899px) { .cart { grid-template-columns: minmax(0, 1fr); } .summary { position: static; } .cart-line { grid-template-columns: 64px 1fr; } .cart-line .ph { width: 64px; height: 64px; } .cart-line > :last-child { grid-column: 1 / -1; } }

/* информационные страницы (доставка, оплата, гарантия, контакты, ремонт) */
.info-sec { background: var(--white); border: 1px solid var(--warm-line); border-radius: var(--r-xl); padding: 28px; margin-bottom: 16px; scroll-margin-top: 16px; }
.info-sec h2 { font-size: 24px; margin-bottom: 10px; font-weight: 800; }
.info-sec p { color: var(--dark); max-width: 70ch; }
.info-sec p + p { margin-top: 8px; }
.info-sec dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 12px 0 0; }
.info-sec dt { color: var(--gray); }
.info-sec dd { margin: 0; font-weight: 600; }

/* каталог-обзор и демо кампаний */
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1099px) { .hub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .hub-grid { grid-template-columns: 1fr; } }
.arch { margin-top: 28px; background: var(--white); border: 1px dashed var(--line-strong); border-radius: var(--r-lg); padding: 14px 18px; font-size: 14px; color: var(--dark); }
.arch summary { font-weight: 700; cursor: pointer; }
.arch ul { list-style: disc; padding-left: 20px; margin-top: 10px; display: grid; gap: 4px; }
.gal-tools { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: end; background: var(--white); border: 1px solid var(--warm-line); border-radius: var(--r-lg); padding: 16px 20px; margin: 12px 0 20px; }
.gal-tools label { font: 600 14px var(--font-text); display: grid; gap: 4px; }
.gal-tools input[type="date"] { min-height: 44px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 0 10px; font: 16px var(--font-text); }
.gal-check { display: flex !important; align-items: center; gap: 8px !important; grid-auto-flow: column; }
.gal-item { margin-top: 28px; }
.gal-item h2 { font-size: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 4px; }
.gal-status { font-size: 14px; color: var(--gray); margin-bottom: 12px; }
.gal-status b.on { color: var(--success); } .gal-status b.off { color: var(--danger); }
.gal-slots { display: grid; gap: 14px; }
.gal-slot-t { font: 700 12px var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); margin: 8px 0 6px; }
.gal-cards { max-width: 520px; }
.gal-hero { background: linear-gradient(110deg, #F0ECE3, #E5DED0); border: 1px solid var(--warm-line); border-radius: var(--r-2xl); overflow: hidden; }
.gal-mobile { max-width: 390px; }
.gal-plan { margin-top: 20px; }
.gal-plan ol { list-style: decimal; padding-left: 22px; display: grid; gap: 4px; }

.ev-list { display: grid; gap: 6px; font-size: 12px; max-height: 50dvh; overflow: auto; }
.ev-list code { word-break: break-all; }

/* уведомление */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--graphite); color: #fff; padding: 12px 20px; border-radius: var(--r-md); font-size: 14px; max-width: calc(100vw - 32px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 300; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* движение */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .cat:hover { transform: none; }
}

/* «Отопление»: витрина подкатегорий (1.1.0; 1.1.1: переносы по пробелам; 1.2.0: карточки с рендерами оборудования) */
.hc-hub { margin: 8px 0 32px; }
.hc-head h2 { font: 800 clamp(22px, 2.4vw, 30px)/1.15 var(--font-display); letter-spacing: -.03em; margin: 0 0 6px; }
.hc-head p { color: var(--dark); max-width: 720px; margin: 0 0 20px; font-size: 16px; }
.hc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hc { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 46%; grid-template-rows: 1fr auto; grid-template-areas: "body media" "go media"; column-gap: 8px; min-height: 216px; padding: 22px 8px 20px 24px; background: linear-gradient(135deg, var(--warm-bg) 0%, var(--warm-1) 100%); border: 1px solid var(--warm-line); border-radius: var(--r-xl); color: var(--black); text-decoration: none; box-shadow: var(--shadow-soft); transition: border-color .2s, box-shadow .2s, transform .2s; }
.hc::before { content: ""; position: absolute; top: 50%; right: -4%; width: 62%; aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(198, 146, 46, .16), rgba(226, 220, 207, .55) 55%, rgba(226, 220, 207, 0) 100%); pointer-events: none; }
.hc:hover { border-color: var(--gold); box-shadow: var(--shadow-card); transform: translateY(-2px); }
.hc:focus-visible { outline: none; border-color: var(--gold); box-shadow: var(--focus), var(--shadow-card); }
.hc-body { grid-area: body; position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; align-self: start; }
.hc-name { font: 800 clamp(18px, 1.35vw, 21px)/1.2 var(--font-display); letter-spacing: -.02em; overflow-wrap: break-word; word-break: normal; hyphens: manual; }
.hc-count { font-size: 15px; color: var(--gray); }
.hc-count--soon { color: var(--gold-dark); }
.hc-go { grid-area: go; position: relative; z-index: 1; align-self: end; width: 38px; height: 38px; border-radius: 50%; background: var(--white); border: 1px solid var(--warm-line); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.hc:hover .hc-go, .hc:focus-visible .hc-go { background: var(--gold); border-color: var(--gold); }
.hc-media { grid-area: media; position: relative; z-index: 1; display: grid; place-items: center; min-width: 0; align-self: stretch; }
.hc-img { display: block; width: 100%; height: auto; max-height: 100%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(17, 19, 21, .16)); transition: transform .35s ease; }
.hc:hover .hc-img, .hc:focus-visible .hc-img { transform: scale(1.05); }
.hc--soon { border-style: solid; }
.hc-all { font: 800 clamp(20px, 2vw, 26px)/1.15 var(--font-display); letter-spacing: -.02em; margin: 8px 0 16px; }
@media (max-width: 1099px) { .hc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hc { min-height: 200px; } .hc-name { font-size: clamp(16px, 2.1vw, 20px); } }
@media (max-width: 639px) { .hc-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; } .hc { min-height: 168px; padding: 16px 4px 16px 18px; grid-template-columns: minmax(0, 1fr) 44%; } .hc-name { font-size: 17px; } .hc-go { width: 34px; height: 34px; } }
@media (max-width: 389px) { .hc { padding-left: 14px; grid-template-columns: minmax(0, 1fr) 38%; } .hc-name { font-size: 15px; letter-spacing: -.03em; } }
@media (prefers-reduced-motion: reduce) { .hc, .hc-img, .hc-go { transition: none; } .hc:hover { transform: none; } .hc:hover .hc-img, .hc:focus-visible .hc-img { transform: none; } }
@media (prefers-reduced-motion: reduce) { .hc { transition: none; } .hc:hover { transform: none; } }
