/* Пояснения к правилам 106 — ~/seo-svet/c106/notes/home105.css.commented */
/* 105 (19.11.2026, ДЕВ) */

/* ---------- страница главной */
.workarea:has(#h5) > .bx-content-section { max-width: none !important; width: 100% !important; padding: 0 !important; margin: 0 !important; }
.workarea:has(#h5) .bx-content-section > .row { margin: 0 !important; display: block; }
.workarea:has(#h5) .bx-content { padding: 0 !important; max-width: none !important; flex: none !important; width: 100% !important; }
.workarea:has(#h5) { padding: 0 !important; margin: 0 !important; background: #F1F6F9; }
body:has(#h5) { background: #F1F6F9; }

/* ---------- основа ---------- */
.h5 { box-sizing: border-box; max-width: 1318px; margin: 0 auto; padding: 20px 24px 0; color: #212529; font-size: 16px; line-height: 24px; }
.h5, .h5-dialog { font-family: 'Century Gothic', 'Svet Tenge', 'Century Gothic Fallback A', 'Century Gothic Fallback R', 'Century Gothic Fallback D', sans-serif; }   /* ₸ — из системного шрифта, как в макете (css/shell105.css) */
.h5 *, .h5 *::before, .h5 *::after { box-sizing: border-box; }
.h5 a { color: #212529; text-decoration: none; }
.h5 a:hover, .h5 a:focus-visible { color: #51A564; }
.h5 a:focus-visible, .h5 button:focus-visible { outline: 2px solid #51A564; outline-offset: 2px; }
.h5 h1, .h5 h2, .h5 h3, .h5 p, .h5 ul, .h5 dl, .h5 dd, .h5 dt { margin: 0; padding: 0; }
.h5 h1, .h5 h2, .h5 h3 { text-transform: none; font-family: inherit; color: inherit; }
.h5 button { font-family: inherit; color: #212529; cursor: pointer; line-height: normal; }   /* у <button> в листе — line-height: normal (умолчание браузера) */
.h5 img { display: block; max-width: none; }
.h5 picture { display: contents; }
.h5 b { font-weight: 700; }
.h5 svg { flex-shrink: 0; }
.h5 [hidden] { display: none !important; }
@media (min-width: 768px) { .h5-m { display: none !important; } }
.h5-nw { white-space: nowrap; }
@media (min-width: 768px) { .h5-nwd { white-space: nowrap; } }   /* неразрывно только на компьютере */
.h5-g { color: #4F575E; }
.h5-cover { width: 100%; height: 100%; object-fit: cover; object-position: var(--pd, 50% 50%); }
.h5 > section, .h5 > a { display: block; }

/* заголовки и ссылки «Все …» */
.h5 .h5-h1, .h5 .h5-h2 { margin: 0; font-size: 28px; line-height: 34px; font-weight: 600; letter-spacing: -0.01em; }
.h5 .h5-h2--s { font-size: 22px; line-height: 28px; }
.h5-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.h5-head--s { margin-bottom: 14px; }
.h5-head--rooms { display: block; }
.h5-head--links { display: block; margin-bottom: 8px; }
.h5 .h5-more { flex-shrink: 0; font-size: 15px; line-height: 20px; font-weight: 600; color: #212529; display: flex; align-items: center; gap: 6px; white-space: nowrap; }   /* 106 Б2: ссылка не переносится («Весь / каталог» на 768) */
.h5-arrows { display: flex; gap: 8px; }
.h5 .h5-arrow { width: 44px; height: 44px; border: 1px solid #C4C4C4; border-radius: 50%; background: #FFFFFF; padding: 0; display: flex; align-items: center; justify-content: center; color: #212529; transition: border-color .15s ease, opacity .15s ease; }
.h5 .h5-arrow:hover { border-color: #212529; }
.h5 .h5-arrow[disabled] { cursor: default; border-color: rgba(196, 196, 196, .4); color: rgba(33, 37, 41, .4); }   /* край ленты: бледнеют рамка и шеврон до 40 %, белый круг */
.h5-rail-head { align-items: center; }
.h5-rail-ctl { display: flex; align-items: center; gap: 16px; }

/* кнопки */
.h5 .h5-btn { height: 44px; padding: 0 18px; border-radius: 5px; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; text-decoration: none; border: 1px solid transparent; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.h5 .h5-btn--line { border-color: #C4C4C4; background: #FFFFFF; color: #212529; }
.h5 .h5-btn--line:hover { border-color: #212529; color: #212529; }
.h5 .h5-btn--green { background: #51A564; color: #FFFFFF; border: 0; }   /* у залитых кнопок в листе рамки нет */
.h5 .h5-btn--green:hover { background: #4C9B5E; color: #FFFFFF; }
.h5 .h5-btn--dark { border-color: #8A9199; color: #FFFFFF; background: transparent; }
.h5 .h5-btn--dark:hover { border-color: #FFFFFF; color: #FFFFFF; }
.h5 .h5-btn--s { height: 36px; padding: 0 14px; }
.h5 .h5-btn--wide { width: 100%; padding: 0 12px; }
.h5 .h5-btn--48 { height: 48px; padding: 0 22px; font-size: 15px; }
.h5 .h5-btn--52 { height: 52px; padding: 0 24px; font-size: 16px; gap: 10px; }
.h5 .h5-pill { height: 28px; padding: 0 10px; border-radius: 50px; background: #F5DB02; color: #141414; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; font-variant-numeric: tabular-nums; white-space: nowrap; }
.h5 .h5-chip { flex-shrink: 0; height: 36px; padding: 0 14px; border: 1px solid #C4C4C4; border-radius: 50px; background: #FFFFFF; color: #212529; font-size: 14px; line-height: 20px; display: flex; align-items: center; white-space: nowrap; transition: border-color .15s ease; }
.h5 .h5-chip:hover { border-color: #212529; color: #212529; }
.h5 .h5-chip--13 { padding: 0 13px; }

/* ленты: прокрутка средствами браузера, полосы прокрутки нет */
.h5-scroll { scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.h5-scroll::-webkit-scrollbar { display: none; }
.h5-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; }
.h5-rail > * { scroll-snap-align: start; }

/* ---------- первый экран (3.2) ---------- */
.h5-hero { display: grid !important; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.h5-ban { grid-column: span 7; border-radius: 12px; overflow: hidden; background: #FFFFFF; display: flex; flex-direction: column; }
.h5 .h5-ban-pic { display: block; background: #4A342A; }
.h5-ban-img { width: 100%; height: auto; aspect-ratio: 1676 / 585; object-fit: cover; }
.h5-ban-strip { flex-grow: 1; min-height: 48px; padding: 0 8px 0 18px; display: flex !important; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; line-height: 20px; }
.h5-pick { grid-column: span 5; background: #FFFFFF; border-radius: 12px; overflow: hidden; display: flex; }
.h5-hero--nobanner .h5-pick { grid-column: span 12; }
.h5-hero--nobanner .h5-pick-body { max-width: 560px; }   /* нет баннеров: карточка на 12 колонок, но текст и кнопка */
.h5 .h5-hero--nobanner .h5-btn--wide { width: auto; padding: 0 18px; }
.h5-pick-photo { display: block; flex: 0 0 188px; background: #CDBFAF; overflow: hidden; }
.h5-pick-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.h5-pick-body { flex: 1 1 0; min-width: 0; padding: 18px 20px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.h5-pick-title { font-size: 18px; line-height: 24px; font-weight: 700; }
.h5-pick-text { font-size: 14px; line-height: 20px; color: #4F575E; }
.h5-pick-btn { margin-top: 8px; }
.h5 .h5-pick-photo-link { margin-top: 4px; font-size: 14px; line-height: 20px; color: #212529; text-decoration: underline; text-decoration-color: #AEB5BC; text-underline-offset: 3px; }

/* ---------- полоса доверия (3.3) ---------- */
.h5-trust { margin-top: 16px; background: #FFFFFF; border-radius: 12px; display: grid !important; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); }
.h5 .h5-trust-cell { padding: 7px 14px; display: flex; align-items: center; gap: 10px; color: #212529; min-width: 0; }
.h5-trust-cell + .h5-trust-cell { border-left: 1px solid #EFF0F1; }
.h5-trust-star { flex-shrink: 0; display: flex; color: #E39A00; }
.h5-trust-t { display: flex; flex-direction: column; min-width: 0; }
.h5-trust-a { font-size: 14px; line-height: 18px; font-weight: 600; white-space: nowrap; }
.h5-trust-b { font-size: 14px; line-height: 18px; color: #4F575E; white-space: nowrap; }
.h5 .h5-trust-cell:hover .h5-trust-a { color: #51A564; }

/* ---------- каталог (3.4) ---------- */
.h5-cat { margin-top: 26px; }
.h5-cat-head { margin-bottom: 12px; }
.h5-cb-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.h5-cb { border: 1px solid #E3EAEE; background: #FFFFFF; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.h5 .h5-cb-pic { display: block; height: 204px; background: #E6EAED; }
.h5-cb-cap { padding: 10px 16px 12px; display: flex; flex-direction: column; gap: 2px; }
.h5-cb-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.h5 .h5-cb-name { font-size: 18px; line-height: 24px; font-weight: 700; color: #212529; }
.h5-cb-n { font-size: 14px; line-height: 18px; color: #4F575E; font-variant-numeric: tabular-nums; white-space: nowrap; }
.h5-cb-subs { font-size: 13px; line-height: 20px; letter-spacing: -0.02em; color: #212529; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h5-cs-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 24px; }
.h5 .h5-cs { border: 1px solid #E3EAEE; background: #FFFFFF; border-radius: 12px; overflow: hidden; color: #212529; display: flex; flex-direction: column; min-width: 0; }
.h5-cs-pic { display: block; aspect-ratio: 1 / 1; background: #E6EAED; overflow: hidden; }
.h5-cs-name { padding: 10px 8px 12px; font-size: 14px; line-height: 18px; font-weight: 600; text-align: center; }

/* «Часто ищут» */
.h5-quick { margin-top: 24px; display: block !important; overflow-x: clip; overflow-clip-margin: 4px; }
/* 106 Б3: группы переносятся целиком */
.h5-quick-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 8px; margin-left: -33px; }
.h5-quick-g { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; margin-left: 33px; position: relative; min-width: 0; }
.h5-quick-g2::before { content: ''; position: absolute; left: -21px; top: 50%; width: 1px; height: 24px; margin-top: -12px; background: #C4C4C4; }
.h5-quick-row { display: contents; }
.h5 .h5-quick-lab { flex-shrink: 0; font-size: 14px; line-height: 20px; font-weight: 600; margin-right: 6px; letter-spacing: normal; }

/* ---------- «Вы смотрели» (3.6) ---------- */
.h5-viewed { margin-top: 40px; }
.h5-viewed-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.h5 .h5-seen { min-width: 0; background: #FFFFFF; border-radius: 5px; padding: 12px 16px 12px 12px; display: flex; align-items: center; gap: 14px; color: #212529; }
.h5-seen-img { flex-shrink: 0; width: 72px; height: 72px; object-fit: contain; }
.h5-seen-t { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.h5-seen-name { height: 36px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 13px; line-height: 18px; font-weight: 600; }
.h5-seen-price { font-size: 16px; line-height: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.h5-viewed.is-loading .h5-viewed-row { min-height: 96px; }

/* ---------- товарная плитка главной (2.7) ---------- */
.h5-tile { position: relative; background: #FFFFFF; border-radius: 5px; padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.h5-tile-badge { position: absolute; right: 12px; top: 12px; z-index: 1; width: 52px; height: 52px; border-radius: 50%; background: #F5DB02; color: #141414; font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; }
.h5 .h5-tile-pic { display: block; aspect-ratio: 1 / 1; }
.h5-tile-img { width: 100%; height: 100%; object-fit: contain; }
.h5 .h5-tile-name { min-height: 40px; height: 40px; font-size: 14px; line-height: 20px; font-weight: 600; color: #242424;
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }   /* 106 А2: ровно две строки */
@media (min-width: 768px) and (max-width: 1199.98px) { .h5 .h5-tile-name { height: 60px; -webkit-line-clamp: 3; line-clamp: 3; } }   /* 106 А2: на 768–1199 плитка уже — три строки */
.h5 .h5-tile-name:hover { color: #51A564; }
.h5-tile-stock { display: flex; align-items: center; gap: 6px; font-size: 13px; line-height: 18px; color: #4F575E; }
.h5-dot { flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: #51A564; }
.h5-tile-stock--order .h5-dot { background: #C4C4C4; }
.h5-tile-prices { display: flex; flex-direction: column; gap: 2px; }
.h5-tile-row { display: flex; align-items: baseline; gap: 10px; }
.h5-tile-price { font-size: 18px; line-height: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.h5-tile-old { font-size: 14px; line-height: 20px; color: #4F575E; text-decoration: line-through; font-variant-numeric: tabular-nums; }
.h5-tile-inst { font-size: 13px; line-height: 18px; color: #4F575E; font-variant-numeric: tabular-nums; }
.h5-tile-btns { display: flex; gap: 8px; margin-top: auto; }
.h5 .h5-tile-cart { flex-grow: 1; height: 40px; border: 1px solid #C4C4C4; border-radius: 5px; background: #FFFFFF; font-size: 14px; font-weight: 600; color: #212529; transition: border-color .15s ease; }
.h5 .h5-tile-cart:hover { border-color: #212529; }
.h5 .h5-tile-cart.is-in { border-color: #51A564; color: #51A564; }
.h5 .h5-tile-fav { width: 40px; height: 40px; border: 1px solid #C4C4C4; border-radius: 5px; background: #FFFFFF; padding: 0; display: flex; align-items: center; justify-content: center; color: #212529; transition: border-color .15s ease; }
.h5 .h5-tile-fav:hover { border-color: #212529; }
.h5 .h5-tile-fav.is-on { color: #51A564; border-color: #51A564; }
.h5 .h5-tile-fav.is-on svg path { fill: currentColor; }

/* ---------- «Акции и скидки» (3.7) ---------- */
.h5-sale { margin-top: 40px; }
.h5-sale-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.h5-sale-line { display: contents; }
.h5-sale-promo { font-size: 15px; line-height: 22px; color: #4F575E; }
.h5-sale-name, .h5-sale-date { color: #4F575E; font-weight: 400; }
.h5-sale-date--nw { white-space: nowrap; }   /* 106 А6: «— до 30 ноября» не разрывается */
@media (max-width: 767.98px) { .h5-sale-date--nw { display: block; } .h5-sale-dash { display: none; } }   /* 106 (оценщик А): на телефоне срок своей строкой и без тире */

/* ---------- «Свет по комнатам» (3.8) ---------- */
.h5-rooms { margin-top: 64px; }
.h5-rooms-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; }
.h5-room { min-width: 0; display: flex; flex-direction: column; gap: 12px; grid-column: span 3; }
.h5-room--wide { grid-column: span 6; }
.h5 .h5-room-pic { display: block; height: 380px; border: 1px solid #E3EAEE; border-radius: 12px; overflow: hidden; background: #D9D5CE; }
.h5-room--bot .h5-room-pic { height: 300px; }
.h5-room-cap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; min-height: 36px; }
.h5-room-name { font-size: 20px; line-height: 26px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; }
.h5-room-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.h5 .h5-rbtn { flex-shrink: 0; height: 36px; padding: 0 14px; border: 1px solid #AEB5BC; border-radius: 50px; background: #FFFFFF; color: #212529; font-size: 13px; font-weight: 600; display: flex; align-items: center; white-space: nowrap; transition: border-color .15s ease; }
.h5 .h5-rbtn:hover { border-color: #212529; color: #212529; }

/* ---------- «Бренды» (3.9) ---------- */
.h5-brands { margin-top: 48px; }
.h5-brands-row { background: #FFFFFF; border-radius: 12px; overflow: hidden; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); }
.h5 .h5-brand { height: 88px; display: flex; align-items: center; justify-content: center; min-width: 0; }
.h5-brand + .h5-brand { border-left: 1px solid #EFF0F1; }
.h5 .h5-brand-img { max-width: 120px; height: var(--hd); width: auto; }

/* ---------- «Хиты продаж / Новинки» (3.10) ---------- */
.h5-hits { margin-top: 64px; }
.h5-hits-left { display: flex; flex-direction: column; gap: 6px; }
.h5-tabs { display: flex; align-items: baseline; gap: 28px; }
.h5 .h5-tab { margin: 0; font-size: 28px; line-height: 34px; letter-spacing: -0.01em; padding-bottom: 6px; font-weight: 400; color: #4F575E; border-bottom: 2px solid transparent; cursor: pointer; }
.h5 .h5-tab.is-on { font-weight: 600; color: #212529; border-bottom-color: #212529; cursor: default; }
.h5 a.h5-tab:hover { color: #212529; }
.h5-hits-sub { font-size: 15px; line-height: 22px; color: #4F575E; }
.h5-rail.is-loading { min-height: 490px; }

/* ---------- «Свет одной коллекцией» (3.11) ---------- */
.h5-coll { margin-top: 64px; background: #FFFFFF; border-radius: 12px; overflow: hidden; }
.h5-coll-track { display: flex; }
.h5-coll-slide { flex: 0 0 100%; min-width: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.h5 .h5-coll-pic { grid-column: span 5; position: relative; display: block; min-height: 420px; overflow: hidden; background: #E4DCCF; }
.h5-coll-pic .h5-cover { position: absolute; left: 0; top: 0; }
.h5-coll-body { grid-column: span 7; padding: 32px 40px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.h5-coll-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.h5-coll-title { display: flex; flex-direction: column; gap: 4px; }
.h5 .h5-coll-desc { font-size: 15px; line-height: 22px; color: #4F575E; text-wrap: balance; }   /* 106: без хвоста «в одном стиле.» отдельной строкой */
.h5-ci-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; border-bottom: 1px solid #EFF0F1; }
.h5 .h5-ci { padding: 14px 0; border-top: 1px solid #EFF0F1; display: flex; align-items: flex-start; gap: 16px; color: #212529; min-width: 0; }
.h5-ci-pic { flex-shrink: 0; width: 96px; height: 96px; border-radius: 8px; background: #F1F6F9; display: flex; align-items: center; justify-content: center; }
.h5-ci-img { width: 84px; height: 84px; object-fit: contain; mix-blend-mode: multiply; }
.h5-ci-t { padding-top: 6px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.h5-ci-kind { font-size: 15px; line-height: 20px; font-weight: 600; }
.h5-ci-art { font-size: 13px; line-height: 20px; color: #4F575E; white-space: nowrap; }
.h5-ci-price { font-size: 17px; line-height: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.h5-coll-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.h5-coll-sum { display: flex; flex-direction: column; }
.h5-coll-lab { font-size: 14px; line-height: 20px; color: #4F575E; }
.h5-coll-total { font-size: 20px; line-height: 28px; font-weight: 600; font-variant-numeric: tabular-nums; }
.h5-coll-inst { font-size: 14px; font-weight: 400; color: #4F575E; }
.h5-coll-btns { display: flex; gap: 12px; }
.h5 .h5-btn.is-done { border-color: #51A564; color: #51A564; }
.h5 button.h5-btn { line-height: 24px; }   /* «Комплект в корзину» в листе */

/* ---------- «Свет по стилю» (3.12) ---------- */
.h5-styles { margin-top: 64px; }
.h5-styles-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.h5 .h5-style { min-width: 0; border: 1px solid #E3EAEE; background: #FFFFFF; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; color: #212529; }
.h5-style-pic { display: block; height: 148px; background: #D9D5CE; overflow: hidden; }
.h5-style-name { padding: 12px 14px 14px; font-size: 15px; line-height: 20px; font-weight: 700; }

/* ---------- «Отзывы покупателей» (3.13) ---------- */
.h5-reviews { margin-top: 64px; }
.h5-rev-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.h5-stars { display: flex; gap: 2px; color: #E39A00; }
.h5-stars .h5-star { display: flex; }
.h5-stars .h5-star--off { color: #E3EAEE; }
.h5-rsum { background: #FFFFFF; border-radius: 12px; padding: 24px; display: flex !important; flex-direction: column; gap: 10px; }
.h5-rsum-top { display: flex; align-items: center; gap: 12px; }
.h5-rsum-rate { font-size: 52px; line-height: 56px; font-weight: 700; font-variant-numeric: tabular-nums; }
.h5-rsum-col { display: flex; flex-direction: column; gap: 6px; }
.h5-rsum-n { font-size: 14px; line-height: 20px; font-weight: 600; white-space: nowrap; }
.h5 .h5-rsum-p { font-size: 14px; line-height: 20px; color: #4F575E; }
.h5-rsum-btn { margin-top: auto; padding-top: 6px; align-self: flex-start; }
.h5-rev { background: #FFFFFF; border-radius: 12px; padding: 24px 28px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.h5-rev--3 { display: none; }
.h5-rev-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.h5-rev-date { font-size: 13px; line-height: 18px; color: #4F575E; }
.h5 .h5-rev-text { font-size: 16px; line-height: 26px; }
.h5-rev-foot { margin-top: auto; padding-top: 6px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.h5-rev-who { font-size: 14px; line-height: 20px; font-weight: 600; }
.h5-rev-src { font-size: 13px; line-height: 18px; color: #4F575E; white-space: nowrap; }

/* ---------- тёмный блок (3.14) ---------- */
.h5-pj { margin-top: 64px; background: #212529; border-radius: 12px; overflow: hidden; display: grid !important; grid-template-columns: repeat(12, minmax(0, 1fr)); color: #FFFFFF; }
.h5-pj-body { grid-column: span 7; padding: 48px; display: flex; flex-direction: column; justify-content: center; gap: 16px; min-width: 0; }
.h5 .h5-pj-h { font-size: 32px; line-height: 40px; font-weight: 600; letter-spacing: -0.01em; color: #FFFFFF; }
.h5 .h5-pj-p { max-width: 560px; font-size: 16px; line-height: 24px; color: #D5D9DD; }
.h5 .h5-pj-ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 22px; color: #F1F3F5; }
.h5-pj-ul li { display: flex; align-items: flex-start; gap: 10px; text-wrap: pretty; }
.h5-pj-check { margin-top: 1px; }
.h5-pj-btns { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 12px; }
.h5 .h5-pj-btns .h5-btn--dark { font-size: 15px; }
.h5-pj-pic { grid-column: span 5; position: relative; min-height: 400px; background: #CDBFAF; overflow: hidden; }
.h5-pj-pic .h5-cover { position: absolute; left: 0; top: 0; }

/* ---------- «Как выбрать свет» (3.15) ---------- */
.h5-arts { margin-top: 64px; }
.h5-arts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.h5 .h5-art { display: flex; flex-direction: column; gap: 14px; color: #212529; min-width: 0; }
.h5-art-pic { display: block; height: 220px; border-radius: 12px; overflow: hidden; background: #D8D2C8; }
.h5-art-t { font-size: 18px; line-height: 26px; font-weight: 600; text-wrap: pretty; }
.h5-pick-photo-link, .h5-consult-b { text-wrap: balance; }   /* 106 (оценщик А) */   /* 106 visual-qa: без одного слова в последней строке */

/* ---------- «Популярные подборки» (3.16) ---------- */
.h5-links { margin-top: 64px; background: #FFFFFF; border-radius: 12px; padding: 28px 40px 18px; }
.h5-lrow { padding: 14px 0; display: flex; align-items: center; gap: 12px; }
.h5-lrow + .h5-lrow { border-top: 1px solid #EFF0F1; }
.h5 .h5-lrow-h { flex: 0 0 176px; font-size: 15px; line-height: 22px; font-weight: 600; letter-spacing: normal; }
.h5-lrow-btn { display: none; }
.h5-lrow-chips { display: flex !important; flex-wrap: wrap; gap: 8px; }

/* ---------- «О магазине» (3.17) ---------- */
.h5-about { margin-top: 64px; background: #FFFFFF; border-radius: 12px; padding: 40px; display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 56px; }
.h5-about-l { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.h5-about-r { display: flex; flex-direction: column; min-width: 0; }
.h5 .h5-about-h { font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: normal; }
.h5 .h5-about-h--faq { margin: 0 0 8px; }
.h5 .h5-about-p { font-size: 15px; line-height: 24px; color: #4F575E; }
.h5-about-more { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.h5 .h5-about-link { font-size: 15px; line-height: 22px; font-weight: 600; color: #212529; text-decoration: underline; text-decoration-color: #AEB5BC; text-underline-offset: 3px; }
.h5-about-full { display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 24px; color: #4F575E; }
.h5-about-full a { text-decoration: underline !important; text-decoration-color: #AEB5BC !important; text-underline-offset: 3px; color: #212529 !important; }
.h5-about-more.is-closed .h5-about-full { display: none; }
.h5-about-more:not(.is-closed) .h5-about-link { display: none; }
.h5-dl { margin-top: 4px !important; display: flex; flex-direction: column; }
.h5-dl--m { display: none; }
.h5-dl-row { padding: 12px 0; border-top: 1px solid #EFF0F1; display: flex; gap: 16px; font-size: 15px; line-height: 22px; }
.h5-dl-row dt { flex: 0 0 200px; font-weight: 600; }
.h5-dl-row dd { color: #4F575E; }
.h5-faq { border-bottom: 1px solid #EFF0F1; }
.h5 .h5-faq-h { font-size: 15px; line-height: 22px; font-weight: 600; letter-spacing: normal; }
.h5 .h5-faq-q { width: 100%; padding: 15px 0; border: 0; background: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; font-size: 15px; line-height: 22px; font-weight: 600; color: #212529; }
.h5 .h5-faq-q:hover { color: #51A564; }
.h5-faq-ico { transition: transform .2s ease; }
.h5-faq.is-open .h5-faq-ico { transform: rotate(45deg); }
.h5-faq-a { padding: 0 0 15px; font-size: 15px; line-height: 24px; color: #4F575E; }
.h5-faq-a a { text-decoration: underline; text-decoration-color: #AEB5BC; text-underline-offset: 3px; }
.h5-faq.is-closed .h5-faq-a { display: none; }
.h5-about-ask { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.h5-about-ask-t { margin-right: 4px; font-size: 15px; line-height: 22px; color: #4F575E; }
.h5-about-ask2 { display: contents; }

/* ---------- окно «Обратный звонок» ---------- */
.h5-dialog, .h5-dialog *, .h5-dialog *::before, .h5-dialog *::after { box-sizing: border-box; }   /* на главной нет Bootstrap — своя модель размеров */
.h5-dialog { position: fixed; inset: 0; margin: auto; height: fit-content; max-height: calc(100% - 32px); overflow: auto; border: 0; border-radius: 12px; padding: 24px; max-width: 420px; width: calc(100% - 32px); }
.h5-dialog-x:focus:not(:focus-visible) { outline: none; }
.h5-dialog::backdrop { background: rgba(33, 37, 41, .55); }
.h5-dialog-x { position: absolute; right: 6px; top: 6px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; display: flex; align-items: center; justify-content: center; color: #4F575E; cursor: pointer; z-index: 2; }   /* 106 А8: зона нажатия 44 × 44 */
.h5-dialog-x:hover { color: #212529; background: #F1F3F5; }
/* 106 А8: окно «Комплект в корзину» */
.h5-kit-dialog { color: #212529; }
.h5-kit-h { margin: 0 36px 8px 0; font-size: 18px; line-height: 24px; font-weight: 700; color: #212529; }
.h5-kit-t { margin: 0 0 20px; font-size: 15px; line-height: 22px; color: #4F575E; font-variant-numeric: tabular-nums; }
.h5-kit-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.h5-dbtn { flex: 1 1 160px; height: 44px; padding: 0 16px; border-radius: 5px; border: 1px solid transparent; font: inherit; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.h5-dbtn--green { background: #51A564; color: #FFFFFF; }
.h5-dbtn--green:hover, .h5-dbtn--green:focus-visible { background: #4C9B5E; color: #FFFFFF; text-decoration: none; }
.h5-dbtn--line { background: #FFFFFF; border-color: #C4C4C4; color: #212529; }
.h5-dbtn--line:hover { border-color: #212529; }
.h5-dbtn:focus-visible, .h5-dialog-x:focus-visible { outline: 2px solid #51A564; outline-offset: 2px; }
.h5-dialog .form-block, .h5-dialog .main-form { margin: 0 !important; padding: 0 !important; background: none !important; }
.h5-dialog .main-form-info { display: none !important; }

/* ---------- 1024–1270: колонки сжимаются, уступки (2.4) ---------- */
@media (max-width: 1317.98px) {
	/* 106 Б1: полоса доверия без многоточия */
	.h5 .h5-trust-cell { padding-left: 10px; padding-right: 10px; }
}
@media (min-width: 1280px) and (max-width: 1317.98px) {
	.h5-trust-lng { display: none; }   /* круг 4 (оценщик Д) */
}
@media (min-width: 1024px) and (max-width: 1199.98px) {
	/* 106 Б5: крупные плитки разделов */
	.h5 .h5-cb-name .h5-d { display: none !important; }
	.h5 .h5-cb-name .h5-m { display: inline !important; }
	.h5-cb-subs { white-space: normal; min-height: 40px; }
	.h5-pick-photo { flex-basis: 140px; }
	/* 106 Б6: логотип не шире 76 % ячейки и не ближе 16 px к её */
	.h5 .h5-brand-img { max-width: min(76%, calc(100% - 32px)); height: auto; max-height: var(--hd); }
	/* 106 Б8: коллекция — миниатюра 72, «В наличии» и артикул */
	.h5-ci-grid { gap: 0 20px; }
	.h5 .h5-ci { gap: 12px; }
	.h5-ci-pic { width: 72px; height: 72px; }
	.h5-ci-img { width: 64px; height: 64px; }
	.h5-ci-kind { font-size: 14px; line-height: 19px; }
	.h5-ci-art { white-space: normal; }
	.h5-ci-av { display: none; }   /* круг 4: без «В наличии» */
	.h5-ci-code { white-space: nowrap; }
	.h5-ban-br { display: none; }
	.h5-style-name { padding-left: 10px; padding-right: 10px; font-size: 14px; }   /* круг 4 (оценщик Д): «Скандинавский» был в 5 px от края плитки */   /* подпись баннера одной строкой */
	/* 106 Б10: кнопки тёмного блока не входят в строку */
	.h5-pj-btns { display: grid; grid-template-columns: max-content; justify-content: start; }   /* текст карточки подбора уже кнопки «Подобрать в WhatsApp» */
}
@media (min-width: 768px) and (max-width: 1199.98px) {
	.h5-cb-subs { white-space: normal; overflow: visible; }   /* 106 Б5: подссылки не режутся многоточием */
	.h5-about { grid-template-columns: minmax(0, 1fr); }   /* 106 visual-qa: на 1024 колонка вопросов кончалась на 150 */
	.h5 .h5-pj-h, .h5-art-t { text-wrap: balance; }   /* «Свет на всю квартиру / или дом», заголовки статей */
	/* 106 Б12: подпись группы подборок уже (176 → 140) */
	.h5 .h5-lrow-h { flex-basis: 140px; }
	/* 106 Б11: «Не нашли ответ?» строкой выше, кнопки */
	.h5-about-ask { display: grid; grid-template-columns: repeat(2, minmax(0, 240px)); gap: 12px; }
	.h5 .h5-lrow-h { text-wrap: balance; }   /* «По потолку / и свету», а не одно слово во второй строке */
	.h5-about-ask-t { grid-column: 1 / -1; margin: 0; }
	.h5 .h5-about-ask .h5-btn { width: 100%; padding: 0 12px; }
	.h5 .h5-cs-name .h5-d { display: none !important; }   /* малые плитки: короткое название, как на телефоне */
	.h5 .h5-cs-name .h5-m { display: inline !important; }
	.h5-cs-name { padding-left: 4px; padding-right: 4px; font-size: 13px; letter-spacing: -0.01em; }   /* 106 (оценщик Б): «Светильники» упиралась в рамку на 1024 */
}
/* 106 Б1 (по visual-qa) */
@media (min-width: 768px) and (max-width: 1279.98px) {
	.h5-trust { background: none; border-radius: 0; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
	.h5 .h5-trust-cell { grid-column: span 2; background: #FFFFFF; border-radius: 12px; border: 0 !important; padding: 10px; gap: 8px; }   /* на 768 первая строка «Доставка по Казахстану» */
	.h5 .h5-trust-cell:nth-child(n+4) { grid-column: span 3; }
	.h5-trust[style*="--n:4"] .h5-trust-cell { grid-column: span 3; }
	.h5-trust-a, .h5-trust-b { white-space: normal; }
	.h5-trust-lng { display: none; }   /* 106 (оценщик А): «в 2ГИС» вместо «оценка покупателей в 2ГИС» */
	.h5 .h5-h1 { text-wrap: balance; }   /* 106 (оценщик В): на 768 не «…в Алматы и / Астане» */
}
/* 106 (оценщик В, круг 2) */
@media (min-width: 1024px) and (max-width: 1279.98px) {
	.h5-trust { background: none; border-radius: 0; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 8px; }
	.h5 .h5-trust-cell, .h5 .h5-trust-cell:nth-child(n+4), .h5-trust[style*="--n:4"] .h5-trust-cell { grid-column: auto; background: #FFFFFF; border-radius: 12px; border: 0 !important;
		padding: 12px 8px; flex-direction: column; justify-content: flex-start; gap: 6px; text-align: center; }
	.h5-trust-t { align-items: center; }
	.h5-trust-a, .h5-trust-b { font-size: 13px; line-height: 17px; white-space: nowrap; }
	.h5-trust-lng { display: none; }
}
/* 106 (проход ширин) */
@media (min-width: 1200px) and (max-width: 1279.98px) {
	.h5-cb-subs { white-space: normal; overflow: visible; min-height: 40px; }
}
/* 106 (оценщик Г) */
@media (min-width: 768px) and (max-width: 1279.98px) {
	.h5 .h5-quick-lab { min-width: 88px; }
}
/* 106 (оценщик В, круг 3) */
@media (min-width: 768px) and (max-width: 1199.98px) {
	.h5 .h5-lrow-chips { display: block !important; margin-bottom: -8px; font-size: 0; line-height: 0; text-wrap: balance; }
	.h5 .h5-lrow-chips .h5-chip { display: inline-flex; margin: 0 8px 8px 0; vertical-align: top; }
}
@media (min-width: 768px) and (max-width: 1023.98px) {
	.h5 .h5-lrow-chips .h5-chip { padding: 0 12px; margin-right: 6px; font-size: 13px; }   /* на 768 — две ровные строки, а не три с одним чипом */
}
/* «или найти похожий светильник по фото» не входит в строку */
@media (min-width: 1024px) and (max-width: 1316.98px) {
	.h5-pick-lng { display: none; }
}
/* подписи доверия на 1024–1099 */
@media (min-width: 1024px) and (max-width: 1099.98px) {
	.h5-trust-a, .h5-trust-b { font-size: 12px; line-height: 16px; }
}
@media (min-width: 768px) and (max-width: 1279.98px), (max-width: 389.98px) {
	.h5 .h5-about-p, .h5-about-full p { text-wrap: pretty; }
}
@media (max-width: 1099.98px) {
	.h5-room-cap { flex-direction: column; align-items: flex-start; }
}

/* ---------- 768–1023: промежуточная раскладка (2.4) ---------- */
@media (min-width: 768px) and (max-width: 1023.98px) {
	.h5-art-t { font-size: 16px; line-height: 22px; }   /* 106 (оценщик В): на 768 заголовки статей по 3–4 строки 18/26 */
	/* 106 круг 4: доверие на 768–1023 */
	.h5 .h5-trust-cell:nth-child(4) { grid-column: 2 / span 2; }
	.h5 .h5-trust-cell:nth-child(5) { grid-column: 4 / span 2; }
	.h5-trust[style*="--n:4"] .h5-trust-cell:nth-child(n) { grid-column: span 3; }
	.h5-trust-a, .h5-trust-b { font-size: 13px; line-height: 17px; white-space: nowrap; }
	/* круг 4 (оценщик Д) */
	.h5-pick-photo { flex-basis: 38%; }
	.h5 .h5-room-pic { height: 240px; }
	.h5-room--bot .h5-room-pic { height: 200px; }
	.h5-room--wide .h5-room-pic { height: 300px; }
	/* 106 (оценщик Г) */
	.h5-pick-photo { position: relative; }
	.h5-pick-img { position: absolute; inset: 0; }
	.h5-pick-body { padding: 20px 24px; }
	.h5-pick-btn { align-self: flex-start; }
	.h5 .h5-pick-btn .h5-btn--wide { width: auto; padding: 0 24px; }
	.h5-pick-text { text-wrap: pretty; }
	.h5-ban, .h5-pick { grid-column: span 12; }
	.h5-cb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.h5-cs-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.h5-room, .h5-room--wide { grid-column: span 6; }
	.h5-room--wide { grid-column: span 12; }
	/* 106 Б7: на планшете стрелок нет */
	.h5-rail { grid-auto-columns: calc((100% - 98px) / 3); margin-right: -24px; padding-right: 24px; }
	.h5-styles-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.h5-coll-slide { display: flex; flex-direction: column; }
	.h5 .h5-coll-pic { min-height: 0; aspect-ratio: 358 / 216; }   /* 106 Б9: пропорция места */
	.h5-pj { display: flex !important; flex-direction: column; }
	.h5-pj-pic { min-height: 0; order: -1; aspect-ratio: 1300 / 855; max-height: 400px; }   /* 106 О2: фото над текстом */
	.h5-pj-pic .h5-cover { object-position: 50% 12%; }
	.h5-about { grid-template-columns: minmax(0, 1fr); }
	.h5-rev-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.h5-rsum { grid-column: span 2; flex-direction: row !important; flex-wrap: wrap; align-items: center; gap: 12px 24px; }   /* 106 (оценщик А): на 768–1023 сводка на всю ширину */
	.h5-rsum-p { flex: 1 1 200px; margin: 0; }
	.h5-rsum-btn { margin: 0 0 0 auto; padding-top: 0; align-self: center; }
	.h5-brands-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.h5-brand:nth-child(5) { border-left: 0; }
	.h5-brand:nth-child(n+5) { border-top: 1px solid #EFF0F1; }
	.h5-viewed-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.h5-arrows { display: none !important; }   /* планшет: ленты листаются пальцем */
	/* 106 Б9: у коллекции стрелки на планшете есть (их место */
	.h5-coll .h5-arrows { display: flex !important; }
	.h5-coll-pic .h5-cover { object-position: var(--pm, 50% 50%); }
	.h5-rail-head { grid-template-columns: minmax(0, 1fr) auto; }
	.h5-sale-title { flex-wrap: wrap; row-gap: 6px; min-width: 0; }
}
/* «Вы смотрели» на компьютере и планшете */
@media (min-width: 768px) { .h5 .h5-viewed-row > .h5-seen:nth-child(n+5) { display: none; } }

/* ---------- телефон (Phone.dc.html, 390) ---------- */
@media (max-width: 767.98px) {
	.h5-d { display: none !important; }
	.h5 { padding: 12px 16px 0; overflow: hidden; }
	.h5 .h5-h1 { margin: 0 0 12px; font-size: 20px; line-height: 26px; }
	.h5 .h5-h2, .h5 .h5-h2--s { font-size: 22px; line-height: 28px; }
	.h5-head, .h5-head--rooms, .h5-head--links { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; min-height: 44px; }
	.h5 .h5-more { min-height: 44px; display: flex; align-items: center; gap: 2px; font-size: 14px; line-height: 20px; }
	.h5 .h5-more svg { width: 14px; height: 14px; }
	.h5-arrows { display: none !important; }
	.h5-scroll { margin: 0 -16px 0 0; overflow-x: auto; overflow-y: hidden; display: flex !important; scroll-snap-type: x proximity; }
	.h5-scroll > * { flex-shrink: 0; scroll-snap-align: start; }

	/* первый экран: баннер и полоса «до −70 %» */
	.h5-hero { display: block !important; }
	.h5-hero > .h5-pick { display: none !important; }
	.h5-hero--nobanner { display: none !important; }
	.h5 .h5-ban-strip-m { min-height: 48px; padding: 0 10px 0 12px; display: flex !important; align-items: center; gap: 10px; color: #212529; font-size: 14px; line-height: 20px; }
	.h5 .h5-pill--s { flex-shrink: 0; height: 26px; padding: 0 9px; font-size: 13px; }
	.h5-ban-m-text { flex-grow: 1; font-weight: 600; }

	/* оценка и рассрочка под баннером */
	.h5-trustm { margin-top: 8px; background: #FFFFFF; border-radius: 12px; padding: 0 14px; min-height: 44px; display: flex !important; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; line-height: 18px; }
	.h5 .h5-trustm-a { display: flex; align-items: center; gap: 6px; color: #212529; }
	.h5-trustm-star { display: flex; color: #E39A00; }
	.h5-trustm b { font-weight: 600; }   /* «5 из 5» в листе — 600 */
	.h5 .h5-trustm-a { white-space: nowrap; }   /* 106 В1: каждая половина */
	@media (max-width: 375.98px) { .h5-consult-wa { display: none; } }   /* 106 (оценщик В) */
	@media (max-width: 389.98px) { .h5-trustm { padding: 0 13px; gap: 6px; font-size: 12px; } .h5 .h5-trustm-a { gap: 4px; } .h5-trustm svg { width: 14px; height: 14px; } }
	/* 106 В2: коллекция на 360–375 */
	@media (max-width: 375.98px) { .h5 .h5-ci-grid { column-gap: 12px; } .h5 .h5-ci .h5-ci-pic { width: 56px; height: 56px; } .h5 .h5-ci .h5-ci-img { width: 48px; height: 48px; } .h5 .h5-ci-grid .h5-ci { gap: 8px; } }

	/* каталог */
	.h5-cat { margin-top: 18px; }
	.h5-cat-head { display: block; min-height: 0; margin: 0; }
	.h5-cb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.h5-cb { border: 0; }
	.h5 .h5-cb-pic { height: 122px; }
	.h5-cb-cap { padding: 10px 12px 12px; }
	.h5-cb-row { gap: 8px; }
	.h5 .h5-cb-name { font-size: 15px; line-height: 20px; }
	.h5-cb-n { font-size: 13px; line-height: 18px; }
	.h5-cb-subs { display: none; }
	.h5-cs-grid { margin-top: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 8px; }
	.h5 .h5-cs { border: 0; background: none; border-radius: 0; overflow: visible; gap: 6px; }
	.h5-cs-pic { border-radius: 12px; }
	.h5-cs-name { padding: 0; font-size: 13px; line-height: 16px; font-weight: 400; white-space: nowrap; letter-spacing: -0.02em; }
	@media (max-width: 375.98px) { .h5-cs-name { font-size: 12px; } }   /* 106 (оценщик Б): на 360 «Светильники» была на 2 px шире плитки */

	/* «Часто ищут» */
	.h5-quick { margin-top: 20px; display: block !important; overflow-x: visible; }
	.h5-quick-in, .h5-quick-g1 { display: block; margin-left: 0; }
	.h5 .h5-quick-lab { margin: 0 0 8px; }
	.h5-quick-row { display: flex !important; gap: 8px; }
	.h5 .h5-quick-row .h5-chip { height: 40px; padding: 0 12px; font-size: 13px; }
	.h5-quick-g1 { position: relative; }
	.h5-quick-g1::after { content: ''; position: absolute; right: -16px; bottom: 0; width: 40px; height: 40px; background: linear-gradient(90deg, rgba(241, 246, 249, 0), #F1F6F9); pointer-events: none; }   /* круг 4 (Г, Д): у края экрана лента чипов затухает */
	@media (max-width: 374.98px) { .h5-tile { flex-basis: 150px; } }   /* круг 4 (Д): на 360 третья карточка лент выглядывала на 7 px */   /* 106 (оценщик Г) */
	.h5-q1 { order: 1; } .h5-q-price { order: 2; } .h5-q2 { order: 3; } .h5-q3 { order: 4; }

	/* карточка подбора */
	.h5 .h5-consult { margin-top: 16px; min-height: 68px; background: #FFFFFF; border-radius: 12px; padding: 10px 12px 10px 14px; display: flex !important; align-items: center; gap: 12px; color: #212529; }
	.h5-consult-t { flex-grow: 1; display: flex; flex-direction: column; }
	.h5-consult-a { font-size: 15px; line-height: 20px; font-weight: 700; }
	.h5-consult-b { font-size: 13px; line-height: 18px; color: #4F575E; }

	/* «Вы смотрели» */
	.h5-viewed { margin-top: 28px; }
	.h5-viewed-row { gap: 10px; }
	.h5 .h5-seen { flex: 0 0 256px; padding: 10px 12px 10px 10px; gap: 12px; }
	.h5-seen-img { width: 64px; height: 64px; }
	.h5-seen-t { gap: 4px; }
	.h5-seen-price { font-size: 15px; line-height: 20px; }

	/* плитка товара — телефон */
	.h5-rail { gap: 12px; }
	.h5-tile { flex: 0 0 156px; padding: 12px; gap: 8px; }
	.h5-tile-badge { right: 8px; top: 8px; width: 46px; height: 46px; font-size: 13px; }
	.h5 .h5-tile-name { min-height: 72px; font-size: 13px; line-height: 18px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
	.h5-tile-stock { font-size: 12px; line-height: 18px; white-space: nowrap; }
	.h5-tile-prices { gap: 0; }
	.h5-tile-row { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
	.h5-tile-price { font-size: 17px; line-height: 22px; }
	.h5-tile-old { font-size: 13px; line-height: 18px; }
	.h5-tile--old .h5-tile-inst { display: none; }
	.h5-tile-fav { display: none !important; }
	.h5 .h5-tile-cart { height: 44px; }

	/* «Акции и скидки» и «Хиты» */
	.h5-sale, .h5-hits, .h5-rooms, .h5-brands, .h5-coll, .h5-styles, .h5-reviews, .h5-pj, .h5-arts, .h5-links, .h5-about { margin-top: 36px; }
	.h5-rail-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 0; margin-bottom: 0; align-items: center; min-height: 0; }
	.h5-sale-title, .h5-hits-left { display: contents; }
	.h5-sale-title > .h5-h2 { grid-column: 1; grid-row: 1; min-height: 44px; display: flex; align-items: center; }
	.h5-sale .h5-rail-ctl { grid-column: 2; grid-row: 1; }
	.h5-sale-line { grid-column: 1 / -1; grid-row: 2; margin: 8px 0 12px; display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 20px; }
	.h5-sale-line .h5-pill { flex-shrink: 0; }
	.h5-sale-promo { padding-top: 4px; font-size: 14px; line-height: 20px; }
	.h5-sale-name { font-weight: 600; color: #212529; }
	.h5-tabs { grid-column: 1; grid-row: 1; align-items: center; gap: 18px; }
	.h5 .h5-tab { min-height: 44px; display: flex; align-items: center; font-size: 22px; line-height: 28px; padding-bottom: 0; }
	.h5-hits .h5-rail-ctl { grid-column: 2; grid-row: 1; }
	.h5-hits .h5-more { min-width: 44px; justify-content: flex-end; }
	.h5-hits-sub { grid-column: 1 / -1; grid-row: 2; margin: 6px 0 12px; font-size: 14px; line-height: 20px; }
	.h5-rail.is-loading { min-height: 362px; }

	/* комнаты */
	.h5-rooms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
	.h5-room, .h5-room--wide { grid-column: span 1; order: var(--mo); gap: 0; }
	.h5-room--mwide { grid-column: span 2; }
	.h5 .h5-room-pic, .h5-room--bot .h5-room-pic { height: 160px; }
	.h5-room--mwide .h5-room-pic { height: 190px !important; }
	.h5-room .h5-cover { object-position: var(--pm, 50% 50%); }
	.h5-room-cap { display: block; min-height: 0; margin-top: 10px; }
	.h5-room-name { display: block; font-size: 16px; line-height: 24px; white-space: normal; }
	.h5-room--mwide .h5-room-name { font-size: 18px; }
	.h5-room-btns { margin-top: 8px; gap: 6px; }
	.h5-room--mwide .h5-room-btns { gap: 8px; }
	.h5 .h5-rbtn { height: 40px; min-width: 56px; padding: 0 8px; letter-spacing: -0.01em; justify-content: center; }
	.h5-room--mwide .h5-rbtn { padding: 0 14px; }

	/* бренды */
	.h5-brands-row { background: none; border-radius: 0; gap: 8px; }
	.h5 .h5-brand { flex: 0 0 112px; height: 60px; background: #FFFFFF; border-radius: 5px; border-left: 0 !important; }
	.h5 .h5-brand-img { max-width: 84px; height: var(--hm); }

	/* условия покупки */
	.h5-conds { margin-top: 20px; background: #FFFFFF; border-radius: 12px; display: flex !important; flex-direction: column; }
	.h5 .h5-cond { box-sizing: content-box; padding: 0 14px; min-height: 48px; display: flex; align-items: center; gap: 12px; color: #212529; font-size: 14px; line-height: 20px; }
	.h5-cond + .h5-cond { border-top: 1px solid #EFF0F1; }
	.h5 .h5-cond--two { padding: 8px 14px; min-height: 40px; }
	.h5-cond b { font-weight: 600; }
	.h5-cond-a { display: block; font-weight: 600; }
	.h5-cond-b { display: block; color: #4F575E; }

	/* коллекция */
	.h5-coll-track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.h5-coll-track::-webkit-scrollbar { display: none; }
	.h5-coll-slide { display: flex; flex-direction: column; scroll-snap-align: start; }
	.h5 .h5-coll-pic { min-height: 0; height: 216px; flex-shrink: 0; }
	.h5-coll-pic .h5-cover { object-position: var(--pm, 50% 50%); }
	.h5-coll-body { padding: 16px 16px 18px; gap: 0; }
	.h5-coll-title { gap: 0; }
	.h5 .h5-coll-desc { margin: 4px 0 12px; font-size: 14px; line-height: 20px; }
	.h5-ci-grid { gap: 12px 10px; padding-bottom: 14px; border-bottom: 0; }
	.h5 .h5-ci { min-height: 64px; padding: 0; border-top: 0; align-items: center; gap: 10px; }
	.h5-ci-pic { width: 64px; height: 64px; }
	.h5-ci-img { width: 56px; height: 56px; }
	.h5-ci-t { padding-top: 0; gap: 2px; }
	.h5-ci-kind { font-size: 13px; line-height: 17px; }
	.h5-ci-price { font-size: 14px; line-height: 20px; font-weight: 400; white-space: nowrap; }
	.h5-coll-foot { padding: 12px 0 0; border-top: 1px solid #EFF0F1; display: block; }
	.h5-coll-sum { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 12px; }
	.h5-coll-lab { line-height: 24px; }
	.h5-coll-total { display: flex; flex-direction: column; align-items: flex-end; font-size: 17px; line-height: 24px; }
	.h5-coll-inst { font-size: 13px; line-height: 18px; }
	.h5-coll-btns { margin-top: 14px; flex-direction: column; gap: 8px; }
	.h5 .h5-coll-btns .h5-btn { width: 100%; padding: 0 16px; }
	.h5-dots { margin-top: 14px; display: flex !important; justify-content: center; gap: 6px; }
	.h5-dot2 { width: 6px; height: 6px; border-radius: 3px; background: #C4C4C4; }
	.h5-dot2.is-on { width: 18px; background: #212529; }

	/* стили */
	.h5-styles-row { gap: 12px; }
	.h5 .h5-style { flex: 0 0 150px; }
	.h5-style-pic { height: 118px; }
	.h5-style-name { padding: 10px 12px 12px; font-size: 14px; line-height: 20px; white-space: nowrap; }

	/* отзывы */
	.h5-rsumm { margin-bottom: 12px; display: flex !important; align-items: center; gap: 10px; }
	.h5-rsumm-rate { font-size: 22px; line-height: 28px; font-weight: 600; }
	.h5-rsumm-n { font-size: 14px; line-height: 20px; color: #4F575E; }
	.h5-rsumm-d { margin: -6px 0 12px; font-size: 13px; line-height: 18px; color: #4F575E; display: block !important; }
	.h5-rev-grid { gap: 12px; }
	.h5-rev, .h5-rev--3 { flex: 0 0 300px; padding: 16px; gap: 10px; display: flex; }
	.h5-rev-stars svg { width: 16px; height: 16px; }
	.h5 .h5-rev-text { font-size: 14px; line-height: 21px; }
	.h5-rev-foot { padding-top: 0; gap: 8px; }
	.h5-rev-who { font-size: 13px; line-height: 18px; }

	/* тёмный блок */
	.h5-pj { display: flex !important; flex-direction: column; }
	.h5-pj-pic { order: -1; min-height: 0; height: auto; aspect-ratio: 358 / 235; }   /* 106 О2: фото целиком */
	.h5-pj-pic .h5-cover { object-position: var(--pm, 50% 50%); }
	.h5-pj-body { padding: 20px 16px 22px; gap: 10px; justify-content: flex-start; }
	.h5 .h5-pj-h { font-size: 22px; line-height: 28px; }
	.h5 .h5-pj-p { font-size: 15px; line-height: 22px; }
	.h5-pj-btns { margin-top: 8px; flex-direction: column; gap: 10px; }
	.h5 .h5-pj-btns .h5-btn { width: 100%; }
	.h5 .h5-pj-btns .h5-btn--dark { height: 48px; }

	/* статьи */
	.h5-arts-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.h5 .h5-art { flex-direction: row; align-items: center; gap: 14px; }
	.h5-art-pic { flex-shrink: 0; width: 112px; height: 84px; }
	.h5-art-pic .h5-cover { object-position: var(--pm, 50% 50%); }
	.h5-art-t { font-size: 15px; line-height: 21px; }

	/* подборки: строки раскрываются */
	.h5-links { padding: 14px 16px 4px; }
	.h5-lrow { display: block; padding: 0; border-top: 1px solid #EFF0F1; }
	.h5 .h5-lrow-h { font-size: 15px; line-height: 22px; }
	.h5-lrow-lab { display: none; }
	.h5 .h5-lrow-btn { width: 100%; min-height: 48px; padding: 0; border: 0; background: none; display: flex; align-items: center; justify-content: space-between; font-size: 15px; line-height: 22px; font-weight: 600; text-align: left; color: #212529; }
	.h5-lrow-chips { padding: 0 0 12px; }
	.h5-lrow-chips .h5-chip { height: 40px; padding: 0 12px; font-size: 13px; }
	.h5-lrow.is-closed .h5-lrow-chips { display: none !important; }
	.h5-acc-ico { transition: transform .2s ease; }
	.h5-lrow:not(.is-closed) .h5-acc-ico { transform: rotate(180deg); }

	/* «О магазине» */
	.h5-about { padding: 18px 16px 16px; display: flex !important; flex-direction: column; gap: 0; }
	.h5-about-l, .h5-about-r { display: contents; }
	.h5 .h5-about-h { margin: 0 0 8px; font-size: 18px; line-height: 24px; }
	.h5 .h5-about-p { margin: 0 0 16px; font-size: 14px; line-height: 21px; }
	.h5-about-more { gap: 0; margin: -6px 0 16px; }
	.h5 .h5-about-link { min-height: 40px; display: flex; align-items: center; font-size: 14px; line-height: 20px; }
	.h5-about-full { font-size: 14px; line-height: 21px; }
	.h5-dl--m { display: flex; }
	.h5-dl-row { flex-direction: column; gap: 2px; font-size: 14px; line-height: 21px; }
	.h5-dl-row dt { flex: none; }
	.h5-faq { border-bottom: 0; border-top: 1px solid #EFF0F1; }
	.h5 .h5-faq-q { min-height: 47px; padding: 6px 0; font-size: 15px; line-height: 21px; gap: 12px; }
	.h5-faq-a { font-size: 14px; line-height: 21px; padding-bottom: 12px; }
	.h5-about-ask { margin-top: 10px; padding-top: 14px; border-top: 1px solid #EFF0F1; flex-direction: column; align-items: stretch; gap: 8px; }
	.h5-about-ask-t { margin: 0; font-size: 14px; line-height: 20px; }
	.h5 .h5-about-ask .h5-btn { height: 48px; width: 100%; padding: 0 16px; font-size: 15px; }
	@media (max-width: 374.98px) { .h5 .h5-about-ask .h5-btn { padding: 0 10px; font-size: 13px; } }
	@media (min-width: 375px) and (max-width: 389.98px) { .h5 .h5-about-ask .h5-btn { padding: 0 10px; font-size: 14px; } }   /* круг 4 (Д): на 375 «Обратный звонок» в 7 px от рамки */   /* 360: «Обратный звонок» */
	.h5 .h5-about-ask .h5-btn--wa svg { width: 22px; height: 22px; }
	.h5-about-ask2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}
@media (max-width: 374.98px) {
	.h5-room:not(.h5-room--mwide) .h5-rbtn { padding: 0 6px; }
	.h5-room:not(.h5-room--mwide) .h5-room-btns { gap: 4px; }
}
@media (hover: none) {
	.h5 a:hover { color: inherit; }
	.h5 .h5-chip:hover, .h5 .h5-rbtn:hover, .h5 .h5-tile-cart:hover, .h5 .h5-btn--line:hover { border-color: #C4C4C4; }
}
@media (prefers-reduced-motion: reduce) { .h5 *, .h5 *::before, .h5 *::after { transition: none !important; scroll-behavior: auto !important; } }

/* 105 ч. 8: блоки ниже первого экрана */
@media (min-width: 768px) {
	.h5 > [data-home-block="sale"] { content-visibility: auto; contain-intrinsic-size: auto 554px; }
	.h5 > [data-home-block="rooms"] { content-visibility: auto; contain-intrinsic-size: auto 862px; }
	.h5 > [data-home-block="brands"] { content-visibility: auto; contain-intrinsic-size: auto 142px; }
	.h5 > [data-home-block="hits"] { content-visibility: auto; contain-intrinsic-size: auto 581px; }
	.h5 > [data-home-block="collection"] { content-visibility: auto; contain-intrinsic-size: auto 521px; }
	.h5 > [data-home-block="styles"] { content-visibility: auto; contain-intrinsic-size: auto 250px; }
	.h5 > [data-home-block="reviews"] { content-visibility: auto; contain-intrinsic-size: auto 274px; }
	.h5 > [data-home-block="project"] { content-visibility: auto; contain-intrinsic-size: auto 400px; }
	.h5 > [data-home-block="articles"] { content-visibility: auto; contain-intrinsic-size: auto 340px; }
	.h5 > [data-home-block="links"] { content-visibility: auto; contain-intrinsic-size: auto 276px; }
	.h5 > [data-home-block="about"] { content-visibility: auto; contain-intrinsic-size: auto 508px; }
}
@media (max-width: 767.98px) {
	.h5 > [data-home-block="rooms"] { content-visibility: auto; contain-intrinsic-size: auto 1134px; }
	.h5 > [data-home-block="conditions"] { content-visibility: auto; contain-intrinsic-size: auto 203px; }
	.h5 > [data-home-block="project"] { content-visibility: auto; contain-intrinsic-size: auto 474px; }
	.h5 > [data-home-block="articles"] { content-visibility: auto; contain-intrinsic-size: auto 328px; }
	.h5 > [data-home-block="links"] { content-visibility: auto; contain-intrinsic-size: auto 217px; }
	.h5 > [data-home-block="about"] { content-visibility: auto; contain-intrinsic-size: auto 718px; }
}
/* 105 ч. 8: невидимые плитки и карточки внутри лент не */
/* Только телефон: на компьютере блоки с лентами сами под */
@media (max-width: 767.98px) {
	/* contain-intrinsic-size */
	.h5-rail > .h5-tile { content-visibility: auto; contain-intrinsic-size: auto 132px auto 338px; }
	.h5-rev-grid > .h5-rev { content-visibility: auto; contain-intrinsic-size: auto 268px auto 162px; }   /* отзыв 300 × 194 с полями 16 */
	.h5-styles-row > .h5-style { content-visibility: auto; contain-intrinsic-size: auto 150px auto 162px; }
}
@media (max-width: 767.98px) {
	.h5 > [data-home-block="collection"] { content-visibility: auto; contain-intrinsic-size: auto 681px; }   /* слайды листаются внутри карточки */
	.h5-brands-row > .h5-brand { content-visibility: auto; contain-intrinsic-size: auto 112px auto 60px; }
}
/* 113 (Т9): заголовок строки подборок — одна кнопка: на компьютере выглядит подписью (прежняя .h5-lrow-lab), на телефоне раскрывает строку */
@media (min-width: 768px) {
	.h5 .h5-lrow-btn { display: inline; padding: 0; margin: 0; border: 0; background: none; font: inherit; color: inherit; letter-spacing: inherit; text-align: left; cursor: default; pointer-events: none; }
	.h5 .h5-lrow-btn .h5-acc-ico { display: none; }
}
/* 113 (Т9): раскрытый текст «О магазине» — подзаголовки карточек, строка марок; таблица условий — одна: компьютер — как прежняя .h5-d, телефон — в конце раскрытого текста */
.h5 .h5-about-full .h5-about-h3 { margin: 4px 0 -6px; font-size: 16px; line-height: 22px; font-weight: 600; letter-spacing: normal; color: #212529; }
@media (max-width: 767.98px) {
	.h5 .h5-about-full .h5-about-h3 { font-size: 15px; line-height: 21px; }
	.h5-dl.h5-dl--one { display: flex; margin: 0 0 16px !important; }
	.h5-about-more.is-closed + .h5-dl--one { display: none; }
}

/* 114 (Т2): «1 шт. · уточним наличие» — читается целиком (перенос «1 шт. · уточним / наличие»), разделитель — кружок с равными зазорами, кружок перед строкой серый */
.h5-tile-stock--ask { align-items: flex-start; white-space: normal !important; }
.h5-tile-stock--ask .h5-dot { background: #8A9199; margin-top: 6px; }
.h5-sep { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: #8A9199; vertical-align: middle; margin: -2px 6px 0; }
/* 114 (Т1): заголовки и подписи — ровными строками, абзацы без одинокого слова */
.h5 h1, .h5 h2, .h5 h3, .h5-sale-title, .h5-tile-cart { text-wrap-style: balance; }   /* -style: перенос (nowrap) не трогает */
.h5 p { text-wrap-style: pretty; }
/* 114 (В9): на 768–1023 полоса доверия 3 + 2 — вторая строка на всю ширину двумя половинами (края совпадают с первой строкой), без сдвига к центру */
@media (min-width: 768px) and (max-width: 1023.98px) {
	.h5 .h5-trust-cell:nth-child(4) { grid-column: 1 / span 3; }
	.h5 .h5-trust-cell:nth-child(5) { grid-column: 4 / span 3; }
}
