/* Колечко — dental B2B. ЕДИНАЯ LAYOUT-СИСТЕМА.
   Главное правило: ВСЕ секции выравнены по одному .container (1280). Full-bleed фоны
   разрешены, но их внутренний контент — в .container. Карусели уезжают только ВНУТРИ
   overflow-контейнера, не за сетку. */

:root {
  /* ВАРИАНТ 2 — зелёная гамма kolechko.ru, органичные формы */
  --ink: #14261A;           /* тёмный зелёно-графит */
  --ink-2: #3C5245;         /* вторичный текст */
  --muted: #6E8577;
  --brand: #2E9B4F;         /* фирменный зелёный Колечко */
  --brand-dark: #1F7D3C;
  --brand-soft: #E7F5EC;
  --accent: #F5A623;        /* тёплый янтарь — акценты/Акции */
  --bg: #FFFFFF;
  --bg-alt: #F1F8F3;        /* мятный фон секций */
  --line: #DCEBE1;
  --card: #FFFFFF;
  --shadow: 0 6px 24px rgba(20,60,30,.07);
  --shadow-hover: 0 14px 40px rgba(20,60,30,.14);
  --radius: 20px;           /* крупнее — органичнее */

  /* ЕДИНАЯ СЕТКА */
  --container: 1240px;
  --gutter: 24px;
  --gutter-mobile: 16px;
  --section-y: 92px;
  --section-y-mobile: 56px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-gutter: stable both-edges; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
h1,h2,h3,h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
h3 { font-size: 1.15rem; }

/* ═══════════ ЕДИНЫЙ КОНТЕЙНЕР — сердце layout-системы ═══════════ */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
@media (max-width: 640px) { .container { padding-inline: var(--gutter-mobile); } }

/* Секция: вертикальный ритм. Full-bleed фон — на .section, контент внутри — в .container */
.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-block: 48px; }
@media (max-width: 640px) { .section { padding-block: var(--section-y-mobile); } }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.section__head p { color: var(--muted); margin: 6px 0 0; max-width: 56ch; }
.section__more { font-weight: 600; white-space: nowrap; }
.eyebrow { color: var(--brand); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }

/* ═══════════ Кнопки (B2B CTA, не «купить») ═══════════ */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 12px;
  font-weight: 600; font-size: 1rem; border: 1.5px solid transparent; cursor: pointer; transition: .15s; white-space: nowrap; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); color: #fff; box-shadow: var(--shadow-hover); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--light { background: #fff; color: var(--brand); }

/* ═══════════ Шапка (по сетке 1280) ═══════════ */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 60; }
.site-header__top { border-bottom: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.site-header__top .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.site-header__main .container { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__logo { font-weight: 800; font-size: 1.5rem; color: var(--ink); letter-spacing: -0.02em; }
.brand__logo b { color: var(--brand); }
.brand__tag { font-size: .72rem; color: var(--muted); }
.header-search { flex: 1; display: flex; max-width: 560px; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; }
.header-search input { flex: 1; border: 0; padding: 11px 16px; font-size: .95rem; outline: none; min-width: 0; }
.header-search button { border: 0; background: var(--brand); color: #fff; padding: 0 18px; cursor: pointer; }
.header-contacts { text-align: right; flex-shrink: 0; }
.header-contacts__phone { font-weight: 700; font-size: 1.15rem; color: var(--ink); white-space: nowrap; }
.header-contacts__note { font-size: .78rem; color: var(--muted); }
/* навигация категорий — та же сетка */
.site-nav { border-top: 1px solid var(--line); background: #fff; }
.site-nav .container { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.site-nav .container::-webkit-scrollbar { display: none; }
.site-nav__all { color: var(--brand-dark) !important; }
.site-nav a { display: block; padding: 13px 16px; color: var(--ink); font-weight: 550; font-size: .95rem; border-radius: 10px; white-space: nowrap; }
.site-nav a:hover { background: var(--brand-soft); color: var(--brand-dark); }

/* ═══════════ Hero (full-bleed фон, контент по 1280) ═══════════ */
.hero { background: linear-gradient(160deg, var(--brand-soft) 0%, #fff 70%); border-bottom: 1px solid var(--line); }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-block: 64px; }
.hero__title { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.hero__lead { font-size: 1.15rem; color: var(--ink-2); margin: 18px 0 28px; max-width: 52ch; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__visual { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; background: #fff; }
.hero__visual img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .hero .container { grid-template-columns: 1fr; gap: 28px; padding-block: 44px; } .hero__visual { order: -1; } }

/* ═══════════ Плитки категорий (крупные, B2B) ═══════════ */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.cat-tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 0; overflow: hidden; box-shadow: var(--shadow); transition: .15s; display: flex; flex-direction: column; }
.cat-tile:hover { border-color: var(--brand); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.cat-tile__media { height: 150px; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); }
.cat-tile__media img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.cat-tile__icon { width: 46px; height: 46px; color: var(--brand); }
.cat-tile__body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cat-tile h3 { margin: 0; }
.cat-tile p { color: var(--muted); font-size: .9rem; margin: 0; }

/* ═══════════ Карточки товаров (без маркетплейс-визуала) ═══════════ */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.product-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .15s; display: flex; flex-direction: column; }
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.product-card__media { aspect-ratio: 4/3; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.product-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card__brand { font-size: .74rem; color: var(--brand); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.product-card__title { font-size: 1rem; font-weight: 650; color: var(--ink); line-height: 1.35; margin: 0; }
.product-card__price { margin-top: 8px; font-weight: 700; color: var(--ink); }
.product-card__price small { color: var(--muted); font-weight: 500; }
.product-card__cta { margin-top: auto; width: 100%; justify-content: center; }

/* ═══════════ Карусель (viewport по краю 1280; уезд ТОЛЬКО внутри) ═══════════ */
.carousel { position: relative; }
.carousel__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.carousel__track > * { scroll-snap-align: start; flex: 0 0 auto; }
.brand-carousel .carousel__track > * { width: 160px; }
.brand-chip { display: flex; align-items: center; justify-content: center; height: 88px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; filter: grayscale(1); opacity: .8; transition: .15s; }
.brand-chip:hover { filter: none; opacity: 1; border-color: var(--brand); }

/* ═══════════ О компании + цифры ═══════════ */
.about { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.stat b { display: block; font-size: 2rem; color: var(--brand); line-height: 1; }
.stat span { color: var(--muted); font-size: .9rem; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; gap: 28px; } }

/* CTA-полоса запроса */
.cta-band { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band p { color: #B9C7D4; margin: 8px 0 0; }

/* ═══════════ Футер (по сетке 1280) ═══════════ */
.site-footer { background: var(--ink); color: #AEBECD; margin-top: 0; }
.site-footer .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-block: 56px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer a { color: #CBD7E2; }
.site-footer a:hover { color: var(--accent); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); }
.site-footer__bottom .container { grid-template-columns: 1fr; padding-block: 20px; font-size: .85rem; color: #7E90A2; }
@media (max-width: 900px) { .site-footer .container { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .container { grid-template-columns: 1fr; } }

/* утилиты */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }
.test-banner { background: #FFF3E0; color: #8A5A00; text-align: center; font-size: .85rem; padding: 8px 16px; }

/* ═══════════ Каталог: крошки, сетка с сайдбаром ═══════════ */
.crumbs { display:flex; flex-wrap:wrap; gap:8px; align-items:center; font-size:.86rem; color:var(--muted); margin-bottom:20px; }
.crumbs a { color:var(--muted); }
.crumbs a:hover { color:var(--brand); }
.crumbs a::after, .crumbs span:not(:last-child)::after { content:"/"; margin-left:8px; color:var(--line); }
.crumbs span:last-child { color:var(--ink-2); }
.muted { color:var(--muted); }

.catalog-layout { display:grid; grid-template-columns:264px 1fr; gap:32px; align-items:start; }
@media (max-width:900px){ .catalog-layout{ grid-template-columns:1fr; } .catalog-sidebar{ order:2; } }

/* сайдбар-дерево категорий */
.catalog-sidebar { position:static; border:1px solid var(--line); border-radius:var(--radius); background:#fff; padding:12px; }
@media (max-width: 900px) { .catalog-sidebar { position: static; } }
/* Аккордеон категорий — нативный <details>, без внутреннего скролла */
.cat-acc { border-bottom: 1px solid var(--line); }
.cat-acc:last-child { border-bottom: 0; }
.cat-acc__head { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 12px; font-weight: 650; color: var(--ink); border-radius: 8px; user-select: none; }
.cat-acc__head::-webkit-details-marker { display: none; }
.cat-acc__head:hover { background: var(--brand-soft); }
.cat-acc__name { display: inline; }
.cat-acc__head { align-items: flex-start; }
.cat-acc__name::before { content: "+"; color: var(--brand); font-weight: 700; width: 14px; display: inline-block; text-align: center; }
.cat-acc[open] > .cat-acc__head .cat-acc__name::before { content: "\2013"; }
.cat-acc__num { color: var(--muted); font-size: .85rem; font-weight: 500; white-space: nowrap; }
.cat-acc__list { list-style: none; margin: 0 0 8px; padding: 0 0 0 22px; display: grid; gap: 2px; }
.cat-acc__list a { display: block; padding: 8px 12px; color: var(--ink-2); font-size: .9rem; border-radius: 7px; }
.cat-acc__list a:hover { color: var(--brand); background: var(--brand-soft); }
.cat-acc__list a.is-current { color: var(--brand); font-weight: 700; }
.cat-acc__all { color: var(--brand) !important; font-weight: 600; }
@media (max-width: 640px) { .cat-acc__head { padding: 15px 12px; font-size: 1.02rem; } .cat-acc__list a { padding: 11px 12px; font-size: .96rem; } }
.catalog-sidebar__title { font-weight:700; color:var(--ink); margin-bottom:10px; font-size:.95rem; }
.cat-tree, .cat-tree__sub { list-style:none; margin:0; padding:0; }
.cat-tree__link { display:flex; justify-content:space-between; gap:8px; padding:8px 10px; border-radius:8px; color:var(--ink); font-weight:600; font-size:.92rem; }
.cat-tree__link span { color:var(--muted); font-weight:500; font-size:.82rem; }
.cat-tree__link:hover { background:var(--brand-soft); color:var(--brand-dark); }
.cat-tree__sub { display:none; margin:2px 0 8px 10px; border-left:2px solid var(--line); }
.cat-tree__item.is-open .cat-tree__sub { display:block; }
.cat-tree__sub a { display:block; padding:6px 12px; color:var(--ink-2); font-size:.88rem; }
.cat-tree__sub a:hover { color:var(--brand); }
.cat-tree__sub a.is-current { color:var(--brand); font-weight:700; }

/* чипсы подкатегорий */
.subcat-chips { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:28px; }
.subcat-chips a { display:inline-flex; align-items:center; gap:6px; padding:8px 14px; border:1px solid var(--line); border-radius:999px; background:#fff; color:var(--ink); font-size:.9rem; font-weight:550; }
.subcat-chips a:hover { border-color:var(--brand); color:var(--brand); }
.subcat-chips a b { color:var(--muted); font-weight:600; }

/* пагинация */
.pager { display:flex; gap:8px; flex-wrap:wrap; margin-top:36px; }
.pager .page-numbers { display:inline-flex; min-width:42px; height:42px; align-items:center; justify-content:center; padding:0 12px; border:1px solid var(--line); border-radius:10px; color:var(--ink); font-weight:600; }
.pager .page-numbers.current { background:var(--brand); color:#fff; border-color:var(--brand); }
.pager .page-numbers:hover:not(.current) { border-color:var(--brand); color:var(--brand); }

/* ═══════════ Карточка товара (single) ═══════════ */
.product { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:start; margin-bottom:40px; }
@media (max-width:820px){ .product{ grid-template-columns:1fr; gap:28px; } }
.product__main-img { border:1px solid var(--line); border-radius:var(--radius); background:#fff; aspect-ratio:1/1; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.product__main-img img { width:100%; height:100%; object-fit:contain; padding:28px; }
.product__noimg { color:var(--muted); }
.product__thumbs { display:flex; gap:10px; margin-top:12px; flex-wrap:wrap; }
.product__thumbs img { width:72px; height:72px; object-fit:contain; border:1px solid var(--line); border-radius:10px; background:#fff; padding:6px; cursor:pointer; }
.product__brand { color:var(--brand); font-weight:700; text-transform:uppercase; letter-spacing:.04em; font-size:.82rem; margin-bottom:8px; }
.product__title { font-size:clamp(1.5rem,2.6vw,2.1rem); margin:0 0 12px; }
.product__code { color:var(--muted); font-size:.9rem; margin-bottom:20px; }
.product__buy { border:1px solid var(--line); border-radius:var(--radius); padding:24px; background:var(--bg-alt); }
.product__price { font-size:2rem; font-weight:800; color:var(--ink); margin-bottom:16px; }
.product__price small { color:var(--muted); font-weight:600; font-size:1.1rem; }
.product__price--req { font-size:1.3rem; color:var(--brand); }
.product__buy .btn { width:100%; justify-content:center; }
.product__note { color:var(--muted); font-size:.85rem; margin:12px 0 0; }
.product__specs { margin-top:24px; }
.product__specs h3 { font-size:1.05rem; margin-bottom:10px; }
.product__specs table { width:100%; border-collapse:collapse; font-size:.92rem; }
.product__specs td { padding:9px 12px; border-bottom:1px solid var(--line); vertical-align:top; }
.product__specs td:first-child { color:var(--muted); width:44%; }
.product__desc { max-width:840px; margin-top:8px; }
.rte { color:var(--ink-2); line-height:1.7; }
.rte ul { padding-left:20px; }
.rte p { margin:0 0 12px; }
.cat-tile__count { margin-top:auto; color:var(--brand); font-weight:600; font-size:.85rem; }

/* ═══════════ Кнопка «Каталог» в шапке (замена гориз. полосы) ═══════════ */
.header-catalog { display:inline-flex; align-items:center; gap:8px; flex-shrink:0; padding:11px 18px; border-radius:12px; background:var(--brand); color:#fff !important; font-weight:700; font-size:.95rem; }
.header-catalog:hover { background:var(--brand-dark); }
.header-catalog svg { flex-shrink:0; }

/* Мобайл-фёрст: шапка перестраивается, ничего не уезжает вбок */
@media (max-width: 720px) {
  .site-header__main .container { flex-wrap: wrap; gap: 12px; min-height: 0; padding-block: 12px; }
  .brand { order: 1; }
  .header-catalog { order: 2; margin-left: auto; }
  .header-contacts { order: 3; text-align: left; }
  .header-search { order: 4; flex-basis: 100%; max-width: none; }
  .header-contacts__note { display: none; }
  .site-header__top .container { font-size: .78rem; }
}
@media (max-width: 480px) {
  .site-header__top span:first-child { display:none; } /* оставляем только «доставка по РФ» */
}

/* бейдж товаров не из архива (конкурентные бренды) — низ-право медиа, не перекрывает название */
.product-card { position: relative; }
.product-card__media { position: relative; }
.product-card__badge { position:absolute; bottom:10px; right:10px; z-index:2; background:var(--accent); color:#fff; font-size:.68rem; font-weight:700; text-transform:uppercase; letter-spacing:.03em; padding:4px 9px; border-radius:999px; box-shadow:0 2px 8px rgba(15,36,56,.15); }

/* бренды — кликабельные блоки-сетка (без горизонтального скролла) */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.brand-grid .brand-chip { width: auto; height: 84px; filter: none; opacity: 1; text-align: center; font-weight: 600; color: var(--ink); font-size: .92rem; line-height: 1.25; }
.brand-grid .brand-chip:hover { border-color: var(--brand); color: var(--brand); box-shadow: var(--shadow); }

/* ═══════════ Мобайл: блоки крупнее, тап-таргеты, ничего не едет ═══════════ */
@media (max-width: 640px) {
  /* разделы — одна колонка, крупные */
  .cat-grid { grid-template-columns: 1fr; gap: 14px; }
  .cat-tile__media { height: 160px; }
  .cat-tile h3 { font-size: 1.2rem; }
  .cat-tile p { font-size: .95rem; }
  .cat-tile__icon { width: 40px; height: 40px; }
  /* бренды — 2 колонки, крупные тап-блоки */
  .brand-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .brand-grid .brand-chip { height: 92px; font-size: 1rem; padding: 12px; }
  /* товары — одна колонка на узких */
  .product-grid { grid-template-columns: 1fr; gap: 16px; }
  .product-card__media { aspect-ratio: 16/10; }
  /* чипсы подкатегорий крупнее */
  .subcat-chips a { padding: 10px 16px; font-size: .95rem; }
  /* секции чуть плотнее по вертикали, заголовки читаемее */
  .section__head { margin-bottom: 22px; }
}
@media (max-width: 400px) {
  .brand-grid { grid-template-columns: 1fr; }
}

/* раздел-ссылка без подкатегорий: строка-ссылка, без маркера «+» */
.cat-acc__solo { display:block; padding:13px 12px; border-radius:8px; color:var(--ink); font-weight:650; }
.cat-acc__solo:hover { background:var(--brand-soft); color:var(--brand-dark); }
.cat-acc__solo.is-current { color:var(--brand); }
.cat-acc__name--flat::before { content:none !important; }
.cat-acc__solo .cat-acc__name--flat { display:inline; }

/* ═══════════ Контакты + форма «Напишите нам» ═══════════ */
.contacts { display:grid; grid-template-columns:1.3fr .7fr; gap:32px; align-items:start; }
@media (max-width:820px){ .contacts{ grid-template-columns:1fr; } }
.contacts__form { border:1px solid var(--line); border-radius:var(--radius); background:#fff; padding:28px; box-shadow:var(--shadow); }
.fbk { display:grid; gap:16px; }
.fbk__row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:520px){ .fbk__row{ grid-template-columns:1fr; } }
.fbk label { display:grid; gap:6px; font-size:.9rem; font-weight:600; color:var(--ink-2); }
.fbk input, .fbk textarea { border:1.5px solid var(--line); border-radius:10px; padding:12px 14px; font:inherit; font-size:.98rem; font-weight:400; outline:none; transition:.15s; width:100%; }
.fbk input:focus, .fbk textarea:focus { border-color:var(--brand); box-shadow:0 0 0 3px var(--brand-soft); }
.fbk textarea { resize:vertical; }
.fbk .btn { justify-content:center; }
.fbk__hp { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.fbk__note { font-size:.78rem; color:var(--muted); margin:0; }
.fbk__ok { background:#E6F6EE; color:#0A6B3B; border:1px solid #B7E3CC; border-radius:10px; padding:12px 14px; font-size:.92rem; }
.fbk__err { background:#FDECEC; color:#A12626; border:1px solid #F3C6C6; border-radius:10px; padding:12px 14px; font-size:.92rem; }
.contacts__info { display:grid; gap:14px; }
.contacts__card { border:1px solid var(--line); border-radius:var(--radius); background:var(--bg-alt); padding:18px 20px; display:grid; gap:4px; }
.contacts__label { font-size:.75rem; text-transform:uppercase; letter-spacing:.05em; color:var(--brand); font-weight:700; }
.contacts__big { font-size:1.35rem; font-weight:800; color:var(--ink); }
.contacts__big--sm { font-size:1.05rem; }
.contacts__muted { font-size:.85rem; color:var(--muted); }

/* компактный блок «Напишите нам» перед футером */
.write-us { border-top:1px solid var(--line); }

/* активный чипс подкатегории + возврат к родителю */
.subcat-chips a.is-current { border-color:var(--brand); background:var(--brand); color:#fff; }
.subcat-chips a.is-current b { color:#daf0f6; }
.subcat-back { margin-bottom:14px; }
.subcat-back a { font-weight:600; color:var(--muted); font-size:.92rem; }
.subcat-back a:hover { color:var(--brand); }

/* доп. телефоны и вторая почта на странице контактов */
.contacts__phones { display:grid; gap:2px; margin:2px 0 2px; }
.contacts__phones a { font-size:1rem; font-weight:600; color:var(--ink-2); }
.contacts__phones a:hover { color:var(--brand); }
.contacts__mail2 { font-size:1.05rem; font-weight:700; color:var(--ink); margin-top:6px; }
.contacts__mail2:hover { color:var(--brand); }

/* счётчик товаров на блоке бренда */
.brand-grid .brand-chip { flex-direction:column; gap:4px; }
.brand-grid .brand-chip b { color:var(--muted); font-weight:600; font-size:.82rem; }

/* блок бренда: единый размер лого для всех (background-image + contain) */
.brand-grid .brand-chip { min-height: 132px; justify-content: center; gap: 12px; padding: 18px 16px; }
.brand-chip__logowrap { width: 100%; height: 54px; display: flex; align-items: center; justify-content: center; }
/* img с фикс-высотой: рендерит SVG полностью (стили/clip-path), высота едина у всех */
.brand-chip__logo { display: block; height: 44px; width: auto; max-width: 100%; object-fit: contain; }
.brand-chip__name { font-weight: 700; color: var(--ink); font-size: .98rem; text-align: center; line-height: 1.25; }
.brand-chip--logo b, .brand-chip b { margin-top: 0; }

/* контекст-плашка «Вы интересуетесь» в форме */
.fbk__ctx { background:var(--brand-soft); color:var(--brand-dark); border:1px solid #CFE3EB; border-radius:10px; padding:12px 14px; font-size:.92rem; }
.fbk__ctx b { color:var(--ink); }

/* ═══════════ Фильтр производителей по странам ═══════════ */
.country-filter { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:24px; }
.country-chip { display:inline-flex; align-items:center; gap:7px; padding:8px 15px; border:1px solid var(--line); background:#fff; color:var(--ink-2); font:inherit; font-size:.9rem; font-weight:600; border-radius:999px; cursor:pointer; transition:.15s; line-height:1; }
.country-chip b { font-weight:700; color:var(--muted); font-size:.8rem; }
.country-chip:hover { border-color:var(--brand); color:var(--brand); }
.country-chip:hover b { color:var(--brand); }
.country-chip.is-active { background:var(--brand); border-color:var(--brand); color:#fff; }
.country-chip.is-active b { color:#cfeaf2; }

/* шапка страницы бренда с логотипом */
.brand-head { display:flex; align-items:center; gap:24px; margin-bottom:32px; flex-wrap:wrap; }
.brand-head__logo { flex-shrink:0; width:140px; height:80px; border:1px solid var(--line); border-radius:var(--radius); background:#fff; display:flex; align-items:center; justify-content:center; padding:14px; }
.brand-head__logo img { max-width:100%; max-height:52px; width:auto; height:auto; object-fit:contain; }

/* ═══════════ Блог: сетка и карточки статей ═══════════ */
.article-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(300px,1fr)); gap:24px; }
.article-card { background:var(--card); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); transition:.15s; display:flex; flex-direction:column; }
.article-card:hover { box-shadow:var(--shadow-hover); transform:translateY(-2px); }
.article-card__media { aspect-ratio:16/9; background:var(--brand-soft); display:flex; align-items:center; justify-content:center; overflow:hidden; }
.article-card__media img { width:100%; height:100%; object-fit:cover; }
.article-card__ph { color:var(--brand); opacity:.5; }
.article-card__body { padding:18px 20px 20px; display:flex; flex-direction:column; gap:8px; flex:1; }
.article-card__meta { display:flex; gap:10px; align-items:center; font-size:.78rem; }
.article-card__cat { color:var(--brand); font-weight:700; text-transform:uppercase; letter-spacing:.03em; }
.article-card__rt { color:var(--muted); }
.article-card__title { font-size:1.1rem; font-weight:700; color:var(--ink); line-height:1.3; margin:0; }
.article-card__excerpt { color:var(--muted); font-size:.9rem; margin:0; }
.article-card__more { margin-top:auto; color:var(--brand); font-weight:600; font-size:.9rem; }

/* Статья (single) */
.article { max-width:760px; margin:0 auto; }
.article__meta { display:flex; gap:14px; flex-wrap:wrap; align-items:center; color:var(--muted); font-size:.88rem; margin-bottom:14px; }
.article__cat { color:var(--brand); font-weight:700; text-transform:uppercase; letter-spacing:.03em; }
.article__title { font-size:clamp(1.8rem,3.4vw,2.6rem); margin-bottom:20px; }
.article__cover { border-radius:var(--radius); overflow:hidden; margin-bottom:28px; }
.article__cover img { width:100%; height:auto; }
.article__body { font-size:1.06rem; line-height:1.75; color:var(--ink-2); }
.article__body h2 { font-size:1.5rem; margin:34px 0 14px; color:var(--ink); }
.article__body h3 { font-size:1.2rem; margin:26px 0 10px; color:var(--ink); }
.article__body p { margin:0 0 16px; }
.article__body ul, .article__body ol { padding-left:22px; margin:0 0 16px; }
.article__body li { margin-bottom:6px; }
.article__body blockquote { border-left:3px solid var(--brand); padding:6px 0 6px 18px; margin:20px 0; color:var(--ink); font-style:italic; background:var(--bg-alt); border-radius:0 8px 8px 0; }
.article__cta { max-width:760px; margin:36px auto 0; border:1px solid var(--line); border-radius:var(--radius); background:var(--bg-alt); padding:24px; display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; }
.article__cta b { display:block; color:var(--ink); }
.article__cta span { color:var(--muted); font-size:.92rem; }

/* логотип-бейдж + пункт «Акции» */
.brand__mark { width:46px; height:46px; flex-shrink:0; display:block; }
@media (max-width:720px){ .brand__mark { width:40px; height:40px; } }
.header-promo { display:inline-flex; align-items:center; gap:7px; flex-shrink:0; padding:11px 16px; border-radius:12px; background:#FFF1E0; color:#C2410C; font-weight:700; font-size:.95rem; }
.header-promo:hover { background:#FFE4C7; color:#9A3412; }
.header-promo svg { flex-shrink:0; }
@media (max-width:900px){ .header-promo span, .header-promo { } }

/* футер: VK и оферта */
.footer-vk { display:inline-flex; align-items:center; gap:8px; margin-top:14px; color:#CBD7E2; font-weight:600; font-size:.92rem; }
.footer-vk:hover { color:var(--accent); }
.footer-offer { color:#7E90A2; font-size:.8rem; line-height:1.5; margin:0 0 10px; max-width:90ch; }
.site-footer__bottom .container { display:block; }
/* таблица реквизитов */
.reqs { width:100%; max-width:820px; border-collapse:collapse; }
.reqs tr { border-bottom:1px solid var(--line); }
.reqs td { padding:14px 16px; vertical-align:top; }
.reqs td:first-child { color:var(--muted); width:38%; font-weight:600; }
.reqs td:last-child { color:var(--ink); }

/* страница услуг */
.svc-list { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:18px; margin-top:8px; }
.svc-item { border:1px solid var(--line); border-radius:var(--radius); padding:22px; background:#fff; }
.svc-item h3 { margin:0 0 8px; color:var(--brand); font-size:1.1rem; }
.svc-item p { margin:0; color:var(--ink-2); font-size:.95rem; }

/* верхнее меню info-страниц */
.topnav { display:flex; gap:18px; flex-wrap:wrap; align-items:center; }
.topnav a { color:var(--muted); font-size:.84rem; font-weight:550; }
.topnav a:hover { color:var(--brand); }
.topnav__note { color:var(--muted); font-size:.84rem; white-space:nowrap; }
@media (max-width:900px){ .topnav { display:none; } .site-header__top .container { justify-content:flex-end; } }

/* ═══════════════════ ВАРИАНТ 2 (GREEN) — оверрайды вёрстки ═══════════════════ */
/* кнопки-пилюли */
.btn { border-radius: 999px; padding: 14px 28px; }
.header-catalog, .header-promo { border-radius: 999px; }
.header-search { border-radius: 999px; }
.header-search button { border-radius: 0 999px 999px 0; }

/* Шапка: зелёная кнопка каталога с иконкой-кругом */
.header-catalog { background: var(--brand); }
.header-catalog:hover { background: var(--brand-dark); }
.brand__logo b { color: var(--brand); }

/* ─────── HERO green: зелёный фон, блобы, круглое фото, статы ─────── */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #2E9B4F 0%, #1F7D3C 100%); border-bottom: 0; color: #fff; }
.hero .container { position: relative; z-index: 2; grid-template-columns: 1.05fr .95fr; gap: 40px; padding-block: 72px; }
.hero__blob { position: absolute; border-radius: 50%; z-index: 1; filter: blur(2px); }
.hero__blob--1 { width: 520px; height: 520px; background: rgba(255,255,255,.08); top: -180px; right: -120px; }
.hero__blob--2 { width: 340px; height: 340px; background: rgba(255,255,255,.06); bottom: -160px; left: -80px; }
.hero .eyebrow { color: #CFF0D9; }
.hero__title { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.hero__lead { color: #EAF7EE; }
.hero__actions .btn--primary { background: #fff; color: var(--brand-dark); }
.hero__actions .btn--primary:hover { background: #F5A623; color: #14261A; box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.hero__actions .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.hero__actions .btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.1); }
.hero__stats { display: flex; gap: 32px; margin-top: 34px; flex-wrap: wrap; }
.hero__stats b { display: block; font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1; }
.hero__stats span { color: #CFF0D9; font-size: .82rem; }
.hero__circle { width: 100%; aspect-ratio: 1/1; border-radius: 50%; overflow: hidden; border: 10px solid rgba(255,255,255,.18); box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.hero__circle img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .hero .container { grid-template-columns: 1fr; padding-block: 48px; } .hero__visual { order: -1; max-width: 340px; margin: 0 auto; } .hero__stats { gap: 22px; } }

/* Плитки категорий: круглая иконка-медиа сверху, органично */
.cat-tile { border-radius: 24px; }
.cat-tile__media { height: 130px; background: var(--brand-soft); border-bottom: 0; margin: 14px 14px 0; border-radius: 18px; }
.cat-tile__body { padding: 16px 22px 22px; }
.cat-tile__count { color: var(--brand); }

/* Карточки товара: крупные скругления, зелёный акцент */
.product-card { border-radius: 20px; }
.product-card__brand { color: var(--brand); }
.product-card__badge { background: var(--accent); color: #14261A; }

/* Карточки статей и бренды */
.article-card { border-radius: 20px; }
.article-card__media { background: var(--brand-soft); }
.brand-chip { border-radius: 18px; }
.country-chip.is-active { background: var(--brand); border-color: var(--brand); }
.country-chip.is-active b { color: #d8f3df; }

/* CTA-полоса зелёная органичная */
.cta-band { background: linear-gradient(135deg, #2E9B4F, #1F7D3C); border-radius: 28px; }
.cta-band .btn--light { background: #fff; color: var(--brand-dark); }

/* секционные заголовки — акцентная зелёная черта */
.section__head h2 { position: relative; padding-left: 16px; }
.section__head h2::before { content: ""; position: absolute; left: 0; top: .1em; bottom: .1em; width: 5px; border-radius: 3px; background: var(--brand); }

/* футер темнее-зелёный */
.site-footer { background: #14261A; }
.cta-band h2 { color: #fff; }

/* фикс: убрать белый «конверт» вокруг круглого фото в hero */
.hero__visual { background: transparent !important; box-shadow: none !important; border-radius: 0 !important; aspect-ratio: auto !important; overflow: visible !important; }
