/* ============================================================
   ART-GSM 2026 — HOME  (bento · product cards · brands · opt · seo)
   ============================================================ */

/* ---------- BENTO CATEGORIES ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 158px; gap: var(--s-14); }
.bento-tile {
  position: relative; overflow: hidden; border-radius: var(--r-lg); padding: var(--s-20);
  display: flex; flex-direction: column; justify-content: center; gap: var(--s-12);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .22s ease, border-color .2s;
  isolation: isolate;
}
.bento-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.bento-tile .bt-ic { width: 46px; height: 46px; border-radius: var(--r-md); background: var(--blue-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.bento-tile .bt-ic svg { width: 25px; height: 25px; }
.bento-tile .bt-info { display: flex; flex-direction: column; }
.bento-tile .bt-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.bento-tile .bt-name { font-weight: 700; font-size: 16px; letter-spacing: -.01em; line-height: 1.18; text-wrap: balance; }
.bento-tile .bt-count { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.bento-tile .bt-count svg { width: 14px; height: 14px; opacity: .55; }
/* accent "all categories" tile */
.bento .bento-tile.bt-all { background: var(--accent); border-color: transparent; }
.bento .bento-tile.bt-all .bt-name, .bento .bento-tile.bt-all .bt-count { color: #fff; }
.bento .bento-tile.bt-all .bt-count svg { opacity: .8; }
.bento .bento-tile.bt-all .bt-ic { background: rgba(255,255,255,.2); color: #fff; }
.bento .bento-tile.bt-all .bt-arrow { background: rgba(255,255,255,.22); color: #fff; }
.bento .bento-tile.bt-all:hover .bt-arrow { background: #fff; color: var(--accent); }
.bento-tile .bt-arrow { position: absolute; top: var(--s-16); right: var(--s-16); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-2); transition: background .15s, color .15s, transform .15s; }
.bento-tile:hover .bt-arrow { background: var(--accent); color: #fff; transform: translate(2px,-2px); }
.bento-tile .bt-arrow svg { width: 15px; height: 15px; }

/* ---------- HERO BANNER CAROUSEL ---------- */
.hero-banner {
  position: relative; aspect-ratio: 1/1; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--line); background: var(--surface-2);
  min-width: 0; width: 100%;
}
.hb-track { display: flex; height: 100%; min-width: 0; transition: transform .55s cubic-bezier(.5,0,.2,1); }
.hb-slide {
  position: relative; flex: 0 0 100%; width: 100%; min-width: 0; height: 100%; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: var(--s-10);
  padding: var(--s-32); color: #fff; isolation: isolate;
}
/* creative slot — striped placeholder for the real banner art */
.hb-creative { position: absolute; inset: 0; z-index: -2; }
.hb-creative::before {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.07) 0 12px, rgba(255,255,255,0) 12px 24px);
}
.hb-creative-lbl {
  position: absolute; top: var(--s-20); left: var(--s-20);
  font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .02em;
  color: rgba(255,255,255,.7); border: 1px dashed rgba(255,255,255,.35);
  padding: 4px 8px; border-radius: 6px;
}
/* legibility scrim so promo text stays readable over any creative */
.hb-slide::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(0,0,0,.5), rgba(0,0,0,.12) 45%, transparent 70%);
}
.hb-slide.hb--blue  { background: radial-gradient(120% 120% at 80% 10%, #3b82f6, #1d4fd7 70%); }
.hb-slide.hb--dark  { background: radial-gradient(120% 120% at 80% 10%, #2a2f3a, #0e1116 75%); }
.hb-slide.hb--amber { background: radial-gradient(120% 120% at 80% 10%, #f59e0b, #c2410c 78%); }
.hb-tag {
  align-self: flex-start; display: inline-flex; align-items: center; height: 26px; padding: 0 11px;
  border-radius: var(--r-pill); background: rgba(255,255,255,.18); backdrop-filter: blur(6px);
  font-size: 11.5px; font-weight: 700; letter-spacing: .01em;
}
.hb-title { font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -.025em; line-height: 1.05; }
.hb-title b { font-weight: 800; }
.hb-sub { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.88); max-width: 32ch; }
.hb-cta {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; margin-top: var(--s-8);
  height: 42px; padding: 0 18px; border-radius: var(--r-pill); background: #fff; color: #11151c;
  font-weight: 700; font-size: 14px; transition: gap .2s, transform .15s;
}
.hb-slide:hover .hb-cta { gap: 11px; }
.hb-cta svg { width: 16px; height: 16px; }

.hb-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.92);
  color: #11151c; display: grid; place-items: center; box-shadow: var(--shadow-md);
  opacity: 0; transition: opacity .2s, background .15s; pointer-events: none;
}
.hero-banner:hover .hb-arrow { opacity: 1; pointer-events: auto; }
.hb-arrow:hover { background: #fff; }
.hb-arrow svg { width: 20px; height: 20px; }
.hb-arrow.prev { left: var(--s-14); transform: translateY(-50%) rotate(180deg); }
.hb-arrow.next { right: var(--s-14); }

.hb-dots { position: absolute; bottom: var(--s-16); right: var(--s-20); z-index: 3; display: flex; gap: 7px; }
.hb-dots button { width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.45); transition: width .25s, background .2s; }
.hb-dots button.active { width: 22px; background: #fff; }

@media (hover: none) { .hb-arrow { display: none; } }

/* ---------- PRODUCT CARD (shared) ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-14); }
.prod {
  position: relative; display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .18s ease, box-shadow .22s ease, border-color .2s;
}
.prod:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.prod-media { position: relative; aspect-ratio: 1/1; background: var(--photo-bg); overflow: hidden; }
.prod-media img { position: absolute; inset: var(--s-16); width: calc(100% - 32px); height: calc(100% - 32px); object-fit: contain; mix-blend-mode: multiply; }
.prod-tags { z-index: 2; }
.prod-disc { z-index: 2; }
.prod-tags { position: absolute; top: var(--s-10); left: var(--s-10); display: flex; flex-wrap: wrap; gap: 5px; max-width: 80%; }
.prod-fav { position: absolute; top: var(--s-10); right: var(--s-10); width: 34px; height: 34px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-sm); display: grid; place-items: center; color: var(--ink-3); transition: color .15s, transform .15s; }
.prod-fav:hover { color: #ef4444; transform: scale(1.08); }
.prod-fav svg { width: 18px; height: 18px; }
.prod-disc { position: absolute; bottom: var(--s-10); left: var(--s-10); height: 24px; padding: 0 9px; border-radius: var(--r-xs); background: #ea580c; color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; font-family: var(--mono); }
.prod-body { padding: var(--s-14); display: flex; flex-direction: column; gap: var(--s-10); flex: 1; }
.prod-qrow { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; min-height: 22px; }
.prod-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-weight: 600; font-size: 14px; line-height: 1.3; letter-spacing: -.01em; min-height: 36px; }
.prod-name:hover { color: var(--accent); }
.prod-specs { display: flex; flex-wrap: wrap; gap: 5px; min-height: 22px; align-items: center; }
.prod-specs .sp { font-family: var(--mono); font-size: 10.5px; font-weight: 600; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line); padding: 2px 7px; border-radius: var(--r-xs); }
.prod-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-10); min-width: 0; }
.prod-price { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-width: 0; }
.prod-price .pp-main { font-family: var(--mono); font-weight: 700; font-size: 19px; letter-spacing: -.02em; color: var(--ink); display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 2px 6px; }
.prod-price .pp-main small { font-family: var(--font); font-size: 10px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; }
.prod-price .pp-sub { font-family: var(--mono); font-size: 12px; color: var(--accent); font-weight: 600; letter-spacing: -.01em; }
.prod-add { width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--accent); color: #fff; display: grid; place-items: center; flex: none; transition: background .15s, transform .15s; box-shadow: var(--shadow-sm); }
.prod-add:hover { background: var(--blue-deep); transform: translateY(-2px); }
.prod-add svg { width: 21px; height: 21px; }
.prod-rating { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--ink-3); }
.prod-rating svg { width: 13px; height: 13px; color: #f59e0b; }

/* horizontal scroller (bestsellers on mobile) */
.scroller { display: flex; gap: var(--s-12); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
.scroller::-webkit-scrollbar { height: 6px; }
.scroller::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 3px; }
.scroller > .prod { scroll-snap-align: start; flex: 0 0 240px; }

/* ---------- BRANDS ---------- */
.brands { display: grid; grid-template-columns: repeat(9, 1fr); gap: var(--s-10); }
.brand-tile {
  aspect-ratio: 1.5/1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .2s, border-color .2s; padding: 8px;
}
.brand-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.brand-tile .bn { font-weight: 800; font-size: 14px; letter-spacing: -.02em; color: var(--ink); }
.brand-tile .bc { font-family: var(--mono); font-size: 10px; color: var(--ink-3); font-weight: 600; }
.brand-tile.more { background: var(--surface-2); }
.brand-tile.more .bn { color: var(--accent); }

/* ---------- WHOLESALE / OPT ---------- */
.opt { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: var(--s-40); background: #11151c; color: #fff; }
.opt-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s-32); align-items: stretch; }
.opt h2 { font-size: 30px; font-weight: 800; letter-spacing: -.025em; margin-bottom: var(--s-12); color: #fff; }
.opt p { color: #aab0bd; font-size: 15px; max-width: 48ch; margin-bottom: var(--s-20); }
.opt-feats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-12); margin-bottom: var(--s-24); }
.opt-feat { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.opt-feat svg { width: 18px; height: 18px; color: #4ade80; flex: none; }
.opt-actions { display: flex; gap: var(--s-12); flex-wrap: wrap; }
.btn--wa { background: #25d366; color: #073b1e; }
.btn--wa:hover { background: #1eb858; transform: translateY(-2px); }
.opt-stat { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: var(--s-14); }
.opt-stat .os { display: flex; flex-direction: column; justify-content: center; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-md); padding: var(--s-20); }
.opt-stat .os .n { font-family: var(--mono); font-weight: 700; font-size: 30px; letter-spacing: -.02em; color: #fff; }
.opt-stat .os .l { font-size: 13px; color: #aab0bd; margin-top: 4px; }

/* ---------- SEO SPOILER ---------- */
.seo { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-28); box-shadow: var(--shadow-sm); }
.seo h2 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin-bottom: var(--s-14); }
.seo .group_description_block.bottom { position: relative; overflow: hidden; max-height: 168px; transition: max-height .4s ease; }
.seo .group_description_block.bottom.open { max-height: 1200px; }
.seo .group_description_block.bottom::after { content: ''; position: absolute; inset: auto 0 0 0; height: 80px; background: linear-gradient(transparent, var(--surface)); pointer-events: none; transition: opacity .3s; }
.seo .group_description_block.bottom.open::after { opacity: 0; }
.seo p { color: var(--ink-2); font-size: 14.5px; margin-bottom: var(--s-12); line-height: 1.6; }
.seo strong { color: var(--ink); font-weight: 700; }
.seo .seo-toggle { margin-top: var(--s-16); display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent); font-size: 14px; }
.seo .seo-toggle svg { width: 16px; height: 16px; transition: transform .3s; }
.seo .seo-toggle.open svg { transform: rotate(180deg); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1023px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 138px; }
  .bento-tile.span2 { grid-column: span 1; }
  .bento-tile.row2 { grid-row: span 1; }
  .prod-grid { grid-template-columns: 1fr 1fr; }
  .brands { grid-template-columns: repeat(5, 1fr); }
  .opt { padding: var(--s-28); }
  .opt-inner { grid-template-columns: 1fr; gap: var(--s-24); }
  .opt h2 { font-size: 24px; }
  /* shorter landscape banner so it fits the mobile viewport */
  .hero-banner { aspect-ratio: 16 / 10; }
  .hb-slide { padding: var(--s-20); gap: var(--s-8); justify-content: flex-end; }
  .hb-title { font-size: clamp(22px, 6vw, 30px); }
  .hb-sub { font-size: 13px; }
}
@media (max-width: 768px) {
  .hero-banner { aspect-ratio: 16 / 10; border-radius: var(--r-lg); }
  .hb-slide { padding: var(--s-16); gap: var(--s-6); }
  .hb-title { font-size: clamp(20px, 5.6vw, 26px); }
  .hb-sub { display: none; }
  .hb-creative-lbl { display: none; }
  .hb-cta { height: 38px; padding: 0 15px; font-size: 13px; }
  .hb-dots { bottom: var(--s-12); right: var(--s-14); }
  .bento { gap: var(--s-10); grid-auto-rows: 132px; }
  .bento-tile { padding: var(--s-14); }
  .bento-tile .bt-ic { width: 38px; height: 38px; border-radius: var(--r-sm); }
  .bento-tile .bt-ic svg { width: 21px; height: 21px; }
  .bento-tile .bt-name { font-size: 14px; line-height: 1.15; }
  .bento-tile .bt-count { font-size: 11px; margin-top: 4px; }
  .bento-tile .bt-arrow { width: 26px; height: 26px; top: var(--s-12); right: var(--s-12); }
  .brands { grid-template-columns: repeat(3, 1fr); }
  .prod-grid.to-scroll { display: flex; gap: var(--s-12); overflow-x: auto; scroll-snap-type: x mandatory; }
  .prod-grid.to-scroll > .prod { flex: 0 0 215px; scroll-snap-align: start; }
  /* keep add-to-cart inside narrow 2-col cards */
  .prod-body { padding: var(--s-12); }
  .prod-foot { gap: var(--s-8); align-items: center; }
  .prod-price .pp-main { font-size: 16px; }
  .prod-price .pp-main small { font-size: 9px; }
  .prod-price .pp-sub { font-size: 11px; }
  .prod-add { width: 40px; height: 40px; }
  .prod-add svg { width: 19px; height: 19px; }
}

/* ---------- АРТ-КРЕАТИВЫ БАННЕРОВ (аудит/визуал 2026-06-12) ---------- */
.hb-creative--img { background-size: cover; background-position: center; }
.hb-creative--img::before { display: none; }

/* ---------- КАРТИНКИ КАТЕГОРИЙ В BENTO ---------- */
.bento-tile .bt-pic { position: absolute; right: 10px; top: 54%; transform: translateY(-50%); width: 102px; height: 102px; z-index: -1; pointer-events: none; transition: transform .2s ease; }
.bento-tile .bt-pic img { width: 100%; height: 100%; object-fit: contain; }
.bento-tile:hover .bt-pic { transform: translateY(-50%) scale(1.06); }
.bento-tile .bt-info, .bento-tile .bt-ic { position: relative; }
@media (max-width: 1100px) { .bento-tile .bt-pic { width: 84px; height: 84px; opacity: .9; } }
@media (max-width: 560px)  { .bento-tile .bt-pic { width: 72px; height: 72px; right: 6px; opacity: .55; } }

/* ---------- ЛОГОТИПЫ БРЕНДОВ ---------- */
.brand-tile .bl { width: 26px; height: 26px; fill: var(--ink); opacity: .92; }
.brand-tile:hover .bl { fill: var(--accent); }
.brands-note { margin: 12px 2px 0; font-size: 11.5px; line-height: 1.5; color: var(--ink-3); }

/* ---------- ВЫРАВНИВАНИЕ ЛОГОТИПОВ БРЕНДОВ (tight viewBox) ---------- */
.brand-tile .bl-slot { height: 26px; display: flex; align-items: center; justify-content: center; }
.brand-tile .bl { width: auto; height: auto; fill: var(--ink); opacity: .92; }
.brand-tile .bl--mark { height: 23px; }
.brand-tile .bl--word { height: 13px; max-width: 86px; }
.brand-tile .bl-txt { font-weight: 800; font-size: 17px; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.brand-tile:hover .bl { fill: var(--accent); }
.brand-tile:hover .bl-txt { color: var(--accent); }

/* ============================================================
   BENTO --media — full-image карточки категорий (стиль «Ремонт», 2026-06-12)
   ============================================================ */
.bento.bento--media { grid-auto-rows: 188px; }
.bento--media .bento-tile {
  position: relative; overflow: hidden; padding: 0; gap: 0;
  border-radius: var(--r-lg); border: 1px solid var(--line);
  background: #eceef3; box-shadow: var(--shadow-sm); isolation: isolate;
  display: block;
}
.bento--media .bento-tile .bt-media { position: absolute; inset: 0; z-index: 0; }
.bento--media .bento-tile .bt-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.bento--media .bento-tile:hover .bt-media img { transform: scale(1.05); }
/* затемняющий градиент снизу под текст */
.bento--media .bento-tile::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(13,17,28,.90) 0%, rgba(13,17,28,.62) 30%, rgba(13,17,28,.12) 56%, rgba(13,17,28,0) 72%);
}
.bento--media .bento-tile:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
/* mono-индекс сверху-слева */
.bento--media .bt-idx {
  position: absolute; top: 12px; left: 14px; z-index: 2;
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .04em;
  color: rgba(255,255,255,.72); text-shadow: 0 1px 4px rgba(0,0,0,.35);
}
/* стрелка сверху-справа */
.bento--media .bt-arrow {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.25); transition: background .2s, transform .2s;
}
.bento--media .bt-arrow svg { width: 15px; height: 15px; }
.bento--media .bento-tile:hover .bt-arrow { background: var(--accent); border-color: var(--accent); transform: translate(2px,-2px); }
/* подпись снизу */
.bento--media .bt-info {
  position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2;
  display: flex; flex-direction: column; gap: 4px;
}
.bento--media .bt-name { font-weight: 700; font-size: 16px; line-height: 1.16; color: #fff; letter-spacing: -.01em; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.bento--media .bt-count { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12px; font-weight: 600; color: rgba(255,255,255,.92); text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.bento--media .bt-count svg { width: 14px; height: 14px; opacity: .8; }
/* «Все категории» — акцентная карточка без фото */
.bento--media .bento-tile.bt-all { background: var(--accent); border-color: transparent; }
.bento--media .bento-tile.bt-all::after { display: none; }
.bento--media .bento-tile.bt-all .bt-ic { position: absolute; top: 16px; left: 16px; z-index: 2; width: 46px; height: 46px; border-radius: var(--r-md); background: rgba(255,255,255,.2); color: #fff; display: grid; place-items: center; }
.bento--media .bento-tile.bt-all .bt-ic svg { width: 25px; height: 25px; }
.bento--media .bento-tile.bt-all .bt-idx { color: rgba(255,255,255,.6); }
.bento--media .bento-tile.bt-all .bt-arrow { background: rgba(255,255,255,.22); }
.bento--media .bento-tile.bt-all:hover .bt-arrow { background: #fff; color: var(--accent); }
@media (max-width: 980px) { .bento.bento--media { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 168px; } }
@media (max-width: 520px) { .bento.bento--media { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 146px; } .bento--media .bt-name { font-size: 14px; } }

/* ============================================================
   POLISH 2026-09-02 — правки по аудиту главной (пункты 03, 08–10, 15, 17, 18)
   Бэкап предыдущей версии: home.css.bak_20260902polish
   ============================================================ */

/* --- 09: скрим под подписью сильнее. Половина фото категорий светлая сверху и
       почти белая снизу — белый заголовок на ней тонул. Плюс верхняя вуаль,
       чтобы стрелка и подпись читались на любом кадре. --- */
.bento--media .bento-tile::after {
  background:
    linear-gradient(to top, rgba(10,13,20,.94) 0%, rgba(10,13,20,.74) 26%, rgba(10,13,20,.30) 52%, rgba(10,13,20,.06) 72%, rgba(10,13,20,0) 88%),
    linear-gradient(to bottom, rgba(10,13,20,.30) 0%, rgba(10,13,20,.10) 22%, rgba(10,13,20,0) 42%);
}

/* --- 09c: кадр плитки. Фото квадратные 1024x1024, бокс 1.6:1 — при cover по
       центру деталь попадала ровно в зону подписи («Разъёмы зарядки», «Шлейфы»,
       «Задние крышки»). Сажаем окно кадрирования на низ: деталь целиком уходит
       выше подписи, а под текстом остаётся чистая поверхность со тенью. --- */
.bento--media .bento-tile .bt-media img { object-position: 50% 72%; }

/* --- 10: стрелка на тёмной подложке — на светлых фото белый круг исчезал --- */
.bento--media .bt-arrow {
  background: rgba(10,13,20,.45);
  border-color: rgba(255,255,255,.34);
  box-shadow: 0 1px 6px rgba(10,13,20,.28);
}

/* --- 08: mono-индексы 01–08 сняты из разметки (нумерация ничего не кодировала
       и на светлых кадрах не читалась). Правило гасим на случай кэша. --- */
.bento--media .bt-idx { display: none; }

/* --- 09b: счётчик на плитке — белым, как и подпись (раньше наследовал синий
       ссылочный цвет и терялся на тёмном градиенте) --- */
.bento--media .bento-tile .bt-count { color: rgba(255,255,255,.94); }
.bento--media .bento-tile .bt-count svg { opacity: .85; }

/* --- 03: горизонтальная прокрутка на телефонах. У .brand-tile был
       aspect-ratio 1.5/1 — естественная высота содержимого (~92px) диктовала
       минимальную ширину 138px, три колонки не влезали в контейнер 358px и
       распирали документ до 450px (браузер ужимал всю страницу). --- */
.brands { grid-template-columns: repeat(9, minmax(0, 1fr)); }
.brand-tile { min-width: 0; }
.brand-tile .bl--word { max-width: 100%; }
.brand-tile .bn, .brand-tile .bc { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 1023px) { .brands { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 768px) {
  .brands { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand-tile { aspect-ratio: auto; min-height: 92px; padding: var(--s-10) 6px; }
}

/* --- 18: дисклеймер о товарных знаках отлипает от плиток --- */
.brands-note { margin-top: var(--s-16); color: var(--ink-2); }

/* --- 15: «~15 000» и «14 дней» разваливались на две строки на телефоне --- */
.opt-stat .os .n { white-space: nowrap; font-size: clamp(21px, 5.4vw, 30px); }
.opt-stat .os .l { text-wrap: balance; }

/* --- 17: SEO-блок. Заголовок и текст висели в ~95px друг от друга, кнопка ещё
       через ~100px, а обрезка резала абзац посреди предложения. --- */
.seo h2 { margin-bottom: var(--s-12); }
/* Обрезка по max-height рвала абзац посреди предложения, а под градиентом
   оставалась нечитаемая половина строки — читалось как баг рендера. Прячем
   ЦЕЛЫЕ абзацы: первый виден полностью, остальные раскрывает кнопка. */
.seo .group_description_block.bottom { max-height: none; margin: 0; overflow: visible; }
.seo .group_description_block.bottom > *:first-child { margin-top: 0; }
.seo .group_description_block.bottom > p:last-child { margin-bottom: 0; }
.seo .group_description_block.bottom:not(.open) > p ~ p { display: none; }
.seo .group_description_block.bottom::after { content: none; }
.seo .seo-toggle { margin-top: var(--s-14); }

/* --- 14b: оптическое выравнивание логотипов брендов. Одинаковый height ≠
       одинаковый визуальный вес: яблоко Apple (узкий силуэт, площадь 434 px²)
       читалось мелким рядом с «лепестком» Huawei (695 px²), а текстовый
       realme перевешивал SVG-вордмарки. Правим точечно по бренду в href. --- */
.brand-tile[href*="-is-apple"]  .bl--mark { height: 25px; }
.brand-tile[href*="-is-huawei"] .bl--mark { height: 21px; }
.brand-tile[href*="-is-realme"] .bl-txt   { font-size: 15px; }

/* ============================================================
   POLISH 2026-09-02 (2) — лишние отступы между блоками
   Замеры до правки: SEO 52px вместо 12 между заголовком и текстом;
   «Оптом» 47px между пилюлей и заголовком при 12–24px на остальных
   стыках; дисклеймер брендов прижат к плиткам вплотную и сдвинут
   на 2px левее всех блоков страницы.
   ============================================================ */

/* --- SEO-карточка: Aspro вешает `.group_description_block.bottom { padding: 40px 0 0 }`,
       из-за чего между заголовком и первым абзацем зияли 52px вместо 12. --- */
.seo .group_description_block.bottom { padding-top: 0; }

/* --- «Оптом»: пилюля обёрнута в inline-flex внутри обычного <div>, поэтому
       к её margin-bottom добавлялся half-leading анонимной строки — 47px до
       заголовка. В hero тот же элемент лежит во flex-колонке и даёт 23px.
       Убираем строку: делаем обёртку блочной. --- */
.opt .hero-eyebrow { display: flex; width: max-content; max-width: 100%; }

/* --- Дисклеймер о товарных знаках: правило Aspro `p:first-of-type { margin-top: 0 }`
       (специфичность выше .brands-note) съедало верхний отступ, а боковые 2px из
       `margin: 12px 2px 0` сдвигали абзац относительно всех остальных блоков. --- */
.section .brands-note { margin: var(--s-16) 0 0; }

/* --- Собственные margin'ы заголовков из темы Aspro (`h2 { margin: 31px 0 23px }`)
       протекали в блоки редизайна, где вертикаль задаётся контейнером:
       • в «Оптом» margin-top 31px схлопывался с отступом пилюли и давал 31px вместо 16;
       • в шапках секций margin-bottom 23px внутри flex с align-items:center смещал
         заголовок на 11–12px выше ссылки «Смотреть все» справа. --- */
.opt h2 { margin-top: 0; }
.section-head .h2 { margin: 0; }


/* ============================================================
   ПОЛОСЫ ВО ВСЮ ШИРИНУ (02.09.2026, вариант «А + полосы из В» по решению Артака)
   Ширина колеи 1440 не заполняет 1920/2560 целиком — чтобы поля читались как задуманный
   воздух, а не как незаполненное место, три блока красят фон от края до края окна,
   контент внутри остаётся в колее (.wrap).
   ============================================================ */
/* первый экран — лёгкий голубой тон сверху, растворяется к низу */
.hero { background: linear-gradient(180deg, #eef3ff 0%, rgba(238,243,255,0) 100%); }
/* полоса преимуществ — подложка */
.section--band-tint { background: #eef2fe; }
/* «Оптом» — тёмная полоса; карточка внутри теряет скругление и свои поля, ширину держит .wrap */
.section--band-dark { background: #11151c; padding: var(--s-56) 0; }
.section--band-dark .opt { border-radius: 0; padding: 0; background: transparent; box-shadow: none; overflow: visible; }
@media (max-width: 768px) {
  .section--band-dark { padding: var(--s-32) 0; }
}

/* ---------- 20260906remart — бета РемАрт: плитка в блоке «Оптом» (ТЗ 03.09 §3.1) и карточка в hero-stats (§3.2) ---------- */
.opt-crm { display: flex; align-items: center; gap: 16px; margin-top: 24px; padding: 16px 20px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.06); color: #fff; text-decoration: none; }
.opt-crm:hover { background: rgba(255,255,255,.1); color: #fff; }
.opt-crm-tag { flex: 0 0 auto; font-size: 12px; font-weight: 700; letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; background: #2563eb; color: #fff; }
.opt-crm-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 1.35; }
.opt-crm-body strong { font-size: 16px; color: #fff; }
.opt-crm-body span { color: #cbd5e1; }
.opt-crm-cta { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; white-space: nowrap; }
.opt-crm-cta svg { width: 16px; height: 16px; fill: currentColor; }
@media (max-width: 768px) {
  .opt-crm { flex-wrap: wrap; gap: 10px; padding: 14px; }
  .opt-crm-cta { width: 100%; justify-content: flex-end; }
}
/* hero-stats: четвёртая карточка-ссылка; перенос на вторую строку, если не влезает (390 — всегда) */
.hero-stats { flex-wrap: wrap; row-gap: 12px; }
.hero-stats .stat--link { text-decoration: none; color: inherit; border: 1px solid #2563eb; border-radius: 12px; padding: 8px 12px; margin: -8px 0; /* по горизонтали 0: при переносе на 1024 край карточки совпадает с колонкой */ }
.hero-stats .stat--link .num { color: #2563eb; }
.hero-stats .stat--link:hover { background: rgba(37,99,235,.06); }
@media (max-width: 768px) {
  .hero-stats .stat--link { margin: 0; }
}
