/* ==========================================================================
   Вектор — общие стили сайта
   Базовый вид элементов задаётся инлайново в шаблонах (пиксель-в-пиксель дизайн);
   здесь — сброс, адаптив (медиазапросы) и hover/focus-состояния.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #F4F1EB; color: #1A1A18; font-family: 'Golos Text', sans-serif; }
img { max-width: 100%; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* --- Hover / focus состояния (инлайновый style перебиваем через !important) --- */
.h-nav:hover      { color: #E8632F !important; }
.h-terra:hover    { color: #A93A18 !important; }
.h-terraC:hover   { color: #C8471F !important; }
.h-btnP:hover     { background: #A93A18 !important; }
.h-btnDark:hover  { background: #000 !important; }
.h-btnLight:hover { background: #F4F1EB !important; }
.h-card:hover     { border-color: #C8471F !important; }
.h-outline:hover  { border-color: #C8471F !important; color: #C8471F !important; }
.h-imgFade:hover  { opacity: 0.92 !important; }
.h-fab:hover      { transform: scale(1.06); }
.inp:focus        { border-color: #C8471F !important; }

/* --- Баннер cookie --- */
.cookie-banner {
  display: none;
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 20px; z-index: 60;
  width: calc(100% - 32px); max-width: 680px;
  background: #FFF; border: 1px solid #E2DDD2; border-radius: 10px;
  box-shadow: 0 12px 32px rgba(26, 26, 24, 0.16);
  padding: 18px 22px; align-items: center; gap: 18px;
  font-family: 'Golos Text', sans-serif;
}
.cookie-banner.show { display: flex; }
.cookie-banner__text { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; line-height: 1.55; color: #4A4740; }
.cookie-banner__text strong { font-size: 15px; color: #1A1A18; }
.cookie-banner__text a { color: #C8471F; }
.cookie-banner__btn {
  flex-shrink: 0; background: #C8471F; color: #FFF; border: none;
  font-family: 'Golos Text', sans-serif; font-size: 14px; font-weight: 600;
  padding: 12px 22px; border-radius: 3px; cursor: pointer; white-space: nowrap;
}
.cookie-banner__btn:hover { background: #A93A18; }
@media (max-width: 560px) {
  .cookie-banner { flex-direction: column; align-items: stretch; bottom: 12px; gap: 12px; }
  .cookie-banner__btn { width: 100%; }
}

/* --- Юридические страницы (privacy / approval / cookie) --- */
.legal { max-width: 860px; }
.legal h2 { font-family: 'Unbounded', sans-serif; font-size: 21px; font-weight: 600; letter-spacing: -0.01em; margin: 40px 0 14px; }
.legal h3 { font-size: 16px; font-weight: 600; margin: 26px 0 8px; }
.legal p { font-size: 15px; line-height: 1.75; color: #4A4740; margin: 0 0 14px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { font-size: 15px; line-height: 1.7; color: #4A4740; margin-bottom: 8px; }
.legal a { color: #C8471F; }
.legal .lead { font-size: 16px; color: #3A3833; }
.legal address { font-style: normal; color: #6F6A61; font-size: 14px; line-height: 1.6; }

/* --- Шапка: два ряда на ПК (контакты + меню), бургер на мобиле --- */
.hdr-burger { display: none; }
.hdr-burger .ic-open,
.hdr-burger .ic-close { align-items: center; justify-content: center; }
.hdr-burger .ic-open  { display: flex; }
.hdr-burger .ic-close { display: none; }
.hdr-burger.is-open .ic-open  { display: none; }
.hdr-burger.is-open .ic-close { display: flex; }

/* Нижний ряд с меню */
.hdr-navbar { border-top: 1px solid #E2DDD2; border-bottom: 1px solid #E2DDD2; background: #FFF; }
.hdr-nav { max-width: 1280px; margin: 0 auto; padding: 0 32px; height: 52px; display: flex; align-items: center; gap: 30px; }

@media (max-width: 960px) {
  .hdr-contacts { display: none !important; }
  .hdr-burger { display: flex !important; }
  .hdr-cta { margin-left: auto; }
  .hdr-navbar { border-top: none; }
  .hdr-nav { display: none; height: auto; padding: 6px 20px 10px; flex-direction: column; align-items: flex-start; gap: 2px; }
  .hdr-nav.open { display: flex; }
  .hdr-nav.open a { width: 100%; padding: 10px 0; font-size: 16px !important; }
}
@media (max-width: 560px) {
  .hdr-cta { display: none !important; }
  .hdr-burger { margin-left: auto; }
  .hdr-tagline { display: none; }
}

/* --- Сетки и типографика: адаптив --- */
@media (max-width: 900px) {
  .sec { padding-left: 20px !important; padding-right: 20px !important; }
  .hero-caro { height: 236px !important; }
  .hero-tile-img { height: 108px !important; }
  .m1 { grid-template-columns: 1fr !important; }
  .m2 { grid-template-columns: 1fr 1fr !important; }
  .m2k { grid-template-columns: 1fr 1fr !important; gap: 14px !important; }
  .m2o { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
  .works-cols { columns: 2 !important; }
  .ukl { padding: 28px 22px !important; }
  .ukl h2 { font-size: 21px !important; overflow-wrap: anywhere; }
  h1 { font-size: 30px !important; }
  h2 { overflow-wrap: anywhere; }
  .m2o figcaption { font-size: 13px !important; padding: 24px 12px 10px !important; }
  .m2k h2 { font-size: 14px !important; }
  .m2k h3 { font-size: 14.5px !important; }
  .m2k img { height: 108px !important; }
  .ftr-grid { grid-template-columns: 1fr 1fr !important; padding-left: 20px !important; padding-right: 20px !important; }
}
/* Крошки и ленты чипсов (разделы каталога, фильтр технологии) на мобиле:
   одна строка без переносов, горизонтальная прокрутка пальцем, скроллбар скрыт.
   Отрицательные поля растягивают полосу прокрутки до краёв экрана. */
@media (max-width: 900px) {
  nav[aria-label="Хлебные крошки"],
  nav[aria-label="Разделы каталога"],
  [role="tablist"][aria-label="Технология производства"] {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-left: -20px; margin-right: -20px;
    padding-left: 20px; padding-right: 20px;
  }
  /* Крошки: правый край растворяется — подсказка, что лента листается */
  nav[aria-label="Хлебные крошки"] {
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 64px), transparent 100%);
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 64px), transparent 100%);
  }
  nav[aria-label="Хлебные крошки"]::-webkit-scrollbar,
  nav[aria-label="Разделы каталога"]::-webkit-scrollbar,
  [role="tablist"][aria-label="Технология производства"]::-webkit-scrollbar { display: none; }
  nav[aria-label="Хлебные крошки"] > *,
  nav[aria-label="Разделы каталога"] > *,
  [role="tablist"][aria-label="Технология производства"] > * {
    flex-shrink: 0;
    white-space: nowrap;
  }
}

@media (max-width: 560px) {
  .m2 { grid-template-columns: 1fr !important; }
  .works-cols { columns: 1 !important; }
  .ftr-grid { grid-template-columns: 1fr !important; }
  /* В узких карточках цена и «Заказать» — на отдельных строках */
  .card-buy { flex-direction: column; align-items: flex-start !important; gap: 10px; }
  /* Hero-бейдж без плашки: чистая надпись в две строки */
  .hero-badge { border: none !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; gap: 6px 10px !important; flex-wrap: wrap; font-size: 12.5px !important; }
  .hero-badge-sep { display: none !important; }
  .hero-inner { padding-top: 36px !important; }
  /* Заголовки секций: перенос строки-заголовка и меньший размер */
  .sec-head { flex-wrap: wrap; align-items: flex-start !important; gap: 8px 16px !important; }
  .sec-title { font-size: 24px !important; line-height: 1.2; }
}

/* --- Корзина: степперы на карточках, иконка в шапке, страница /korzina/ --- */
.cartctl { display: flex; flex-direction: column; gap: 8px; }
.cartctl-add {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid #C8471F; background: transparent; color: #C8471F; cursor: pointer;
  font-family: 'Golos Text', sans-serif; font-size: 13.5px; font-weight: 600;
  padding: 9px 14px; border-radius: 3px; width: 100%; transition: background .15s, color .15s;
}
.cartctl-add:hover { background: #C8471F; color: #FFF; }
/* Степпер-«пилюля»: светлый контейнер, белые кнопки с мягкой тенью внутри */
.cartctl-stepper {
  display: none; align-items: center; gap: 8px;
  background: #F4F1EB; border: 1px solid #E8E3D8; border-radius: 12px; padding: 5px;
}
.cartctl.in-cart .cartctl-add { display: none; }
.cartctl.in-cart .cartctl-stepper { display: flex; }
.cartctl-minus, .cartctl-plus {
  width: 36px; height: 36px; flex-shrink: 0; border: none; background: #FFF;
  color: #1A1A18; border-radius: 8px; cursor: pointer; font-size: 19px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 4px rgba(26, 26, 24, 0.14);
}
.cartctl-minus:hover, .cartctl-plus:hover { color: #C8471F; }
.cartctl-info { font-size: 12.5px; color: #6F6A61; line-height: 1.35; flex: 1; min-width: 0; }
.cartctl-info b { color: #1A1A18; }

/* Иконка корзины в шапке */
.hdr-cart {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid #D8D2C6; border-radius: 3px;
  color: #1A1A18; text-decoration: none; flex-shrink: 0; transition: border-color .15s;
}
.hdr-cart:hover { border-color: #C8471F; color: #C8471F; }
.hdr-cart-badge {
  position: absolute; top: -7px; right: -7px; min-width: 19px; height: 19px; padding: 0 5px;
  background: #C8471F; color: #FFF; border-radius: 100px; font-size: 11px; font-weight: 700;
  display: none; align-items: center; justify-content: center; line-height: 1;
}

/* Страница корзины */
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid #EFEBE2; }
.cart-item:first-child { border-top: none; }
.cart-item img { width: 72px; height: 56px; object-fit: contain; }
.cart-item-name { font-size: 15px; font-weight: 600; color: #1A1A18; text-decoration: none; }
.cart-item-meta { font-size: 13px; color: #6F6A61; margin-top: 3px; }
.cart-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-item-sum { font-size: 15.5px; font-weight: 700; white-space: nowrap; }
.cart-empty { text-align: center; padding: 48px 20px; color: #6F6A61; font-size: 15px; }

.ord-step { background: #FFF; border: 1px solid #E2DDD2; border-radius: 4px; padding: 28px 32px; display: flex; flex-direction: column; gap: 16px; }
.ord-num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #C8471F; color: #FFF; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.ord-h { display: flex; align-items: center; gap: 12px; font-family: 'Unbounded', sans-serif; font-size: 18px; font-weight: 600; }
.ord-input {
  width: 100%; border: 1px solid #C9C2B4; border-radius: 3px; background: #FFF;
  font-family: 'Golos Text', sans-serif; font-size: 15px; color: #1A1A18; padding: 13px 16px;
}
.ord-input:focus { outline: none; border-color: #C8471F; }
.ord-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ord-toggle label {
  border: 1px solid #C9C2B4; border-radius: 3px; padding: 13px 16px; cursor: pointer;
  font-size: 14.5px; font-weight: 600; text-align: center; transition: border-color .15s, background .15s;
}
.ord-toggle input { display: none; }
.ord-toggle input:checked + span { color: #C8471F; }
.ord-toggle label:has(input:checked) { border-color: #C8471F; background: #FFF6F2; }
.ord-note { font-size: 13.5px; line-height: 1.6; color: #6F6A61; background: #FBFAF7; border: 1px solid #EFEBE2; border-radius: 3px; padding: 14px 16px; }
@media (max-width: 900px) {
  .cart-item { grid-template-columns: 56px 1fr; }
  .cart-item img { width: 56px; height: 44px; }
  .cart-item-right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .ord-step { padding: 20px 18px; }
}

/* Иконка корзины на мобиле: прижата вправо, бургер рядом */
@media (max-width: 560px) {
  .hdr-cart { margin-left: auto; }
  .hdr-burger { margin-left: 0 !important; }
}

/* --- Липкая шапка: всегда видны корзина, телефон и меню --- */
header {
  position: sticky; top: 0; z-index: 50;
  transition: box-shadow .2s;
}
header.is-stuck { box-shadow: 0 4px 20px rgba(26, 26, 24, 0.10); }

/* Инфо степпера в две строки: «N под.» + «м²/шт · сумма» мельче */
.cartctl-info { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1px; }
.cartctl-info b { font-size: 13px; }
.cartctl-sub { font-size: 11.5px; color: #6F6A61; }
@media (max-width: 560px) {
  .cartctl-minus, .cartctl-plus { width: 31px; height: 31px; font-size: 17px; border-radius: 7px; }
  .cartctl-add { font-size: 12.5px; padding: 8px 10px; }
  .cartctl-sub { font-size: 11px; }
}

/* В карточках кнопка добавления — просто «В корзину»; ёмкость поддона
   показываем только на странице товара, где кнопка широкая */
.cartctl-per { display: none; }
.cartctl-wide .cartctl-per { display: inline; }

/* Мобильный степпер: [−  3 под.  +] и суммой отдельной строкой под кнопками */
@media (max-width: 900px) {
  .cartctl-stepper { flex-wrap: wrap; gap: 8px; justify-content: space-between; }
  .cartctl-info { display: contents; }
  .cartctl-info b { flex: 1; align-self: center; text-align: center; font-size: 13.5px; }
  .cartctl-sub { order: 4; flex-basis: 100%; text-align: center; margin-top: -2px; }
}

/* Страница товара: степпер широкий — инфо в одну строку даже на мобиле */
.cartctl-wide .cartctl-stepper { flex-wrap: nowrap; }
.cartctl-wide .cartctl-info { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 5px; flex: 1; line-height: 1.3; }
.cartctl-wide .cartctl-info b { flex: 0 0 auto; align-self: center; font-size: 13px; white-space: nowrap; }
.cartctl-wide .cartctl-sub { order: 0; flex-basis: auto; align-self: center; margin-top: 0; text-align: left; white-space: nowrap; font-size: 13px; color: #1A1A18; }

/* --- Нижняя панель корзины (только мобила) --- */
.cart-bar { display: none; }
.cart-bar[hidden] { display: none !important; }
@media (max-width: 900px) {
  .cart-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    background: #FFF; border-top: 1px solid #E2DDD2;
    box-shadow: 0 -6px 24px rgba(26, 26, 24, 0.12);
    padding: 11px 20px calc(11px + env(safe-area-inset-bottom, 0px));
  }
  .cart-bar-info { display: flex; flex-direction: column; gap: 1px; text-decoration: none; min-width: 0; }
  .cart-bar-info b { font-size: 17px; font-weight: 700; color: #1A1A18; white-space: nowrap; }
  .cart-bar-info span { font-size: 12.5px; color: #6F6A61; white-space: nowrap; }
  .cart-bar-btn {
    background: #C8471F; color: #FFF; text-decoration: none; font-size: 15px; font-weight: 600;
    padding: 13px 28px; border-radius: 3px; white-space: nowrap; flex-shrink: 0;
  }
  /* Пока панель видна: отступ страницы снизу, кнопка звонка и cookie-баннер выше неё */
  body.has-cartbar { padding-bottom: 78px; }
  body.has-cartbar .h-fab { bottom: 100px !important; }
  body.has-cartbar .cookie-banner { bottom: 90px; }
}

/* Карточки «Популярного» на главной: на мобиле те же отступы, что в каталоге,
   иначе степперу не хватает ширины и «+» переносится */
@media (max-width: 900px) {
  .m2k article:not(.prod-card) > div { padding: 14px 16px 18px !important; }
}
/* Узкие экраны: степпер компактнее, чтобы всё помещалось в один ряд */
@media (max-width: 560px) {
  .cartctl-stepper { gap: 6px; padding: 4px; }
  .cartctl-info b { font-size: 12.5px; white-space: nowrap; }
}

/* Пустая корзина: одна колонка на всю ширину, крупный центрированный блок */
.cart-page.is-empty { grid-template-columns: 1fr !important; }
.cart-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 56px 20px; color: #6F6A61; font-size: 14.5px; line-height: 1.6; }

/* Кнопка «Очистить корзину» */
.cart-clear {
  display: inline-flex; align-items: center; gap: 7px;
  background: none; border: none; cursor: pointer; padding: 6px 0;
  font-family: 'Golos Text', sans-serif; font-size: 13.5px; font-weight: 500; color: #9B968B;
  transition: color .15s;
}
.cart-clear:hover { color: #C8471F; }

/* Бежевые подшапки внутренних страниц: на мобиле компактнее по вертикали */
@media (max-width: 900px) {
  section[style*="background:#EFEBE2"] > .sec { padding-top: 30px !important; padding-bottom: 34px !important; }
}

/* --- FAQ-аккордеоны (details/summary): современный вид --- */
details summary { list-style: none; position: relative; padding-right: 40px; }
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: ''; position: absolute; right: 2px; top: 50%; width: 16px; height: 16px;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.5v13M1.5 8h13' stroke='%23C8471F' stroke-width='1.9' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
  transition: transform .25s ease;
}
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details:hover { border-color: #C8471F !important; }
details[open] { border-color: #C8471F !important; }
details[open] > p { animation: fadeUp .28s ease both; }
details summary:hover { color: #C8471F; transition: color .15s; }

/* --- Калькулятор плитки (/raschet-plitki/) --- */
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-top: 1px solid #EFEBE2; font-size: 14.5px; color: #6F6A61; }
.calc-row b { color: #1A1A18; font-size: 15px; white-space: nowrap; }
.plot-row { display: grid; grid-template-columns: 1fr auto 1fr 34px; gap: 10px; align-items: end; }
.plot-row label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: #6F6A61; }
.plot-x { padding-bottom: 14px; color: #9B968B; }
.plot-del { width: 34px; height: 48px; border: none; background: none; color: #9B968B; font-size: 20px; cursor: pointer; }
.plot-del:hover { color: #C8471F; }
.plot-del-stub { width: 34px; }
/* Подсказка (i) */
.tip { position: relative; display: inline-flex; }
.tip-btn { width: 22px; height: 22px; border: 1px solid #C9C2B4; border-radius: 50%; background: #FFF; color: #6F6A61; font-size: 12px; font-weight: 700; font-style: italic; cursor: pointer; line-height: 1; }
.tip-btn:hover { border-color: #C8471F; color: #C8471F; }
.tip-box {
  display: none; position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  width: 300px; max-width: 80vw; z-index: 20;
  background: #FFF; border: 1px solid #E2DDD2; border-radius: 8px; box-shadow: 0 10px 30px rgba(26,26,24,0.16);
  padding: 14px 16px; font-size: 13px; line-height: 1.6; color: #4A4740; text-align: left;
}
.tip:hover .tip-box, .tip:focus-within .tip-box { display: block; }
@media (max-width: 900px) {
  #calcResult { position: static !important; }
  .tip-box { left: auto; right: -40px; transform: none; }
}

/* Выборщик товара в калькуляторе: панель с мини-фото */
.psel { position: relative; }
.psel-btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; text-align: left; width: 100%; }
.psel-btn.is-open { border-color: #C8471F; }
.psel-chev { flex-shrink: 0; color: #9B968B; transition: transform .2s; }
.psel-btn.is-open .psel-chev { transform: rotate(180deg); }
.psel-current { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 15px; }
.psel-current img { width: 36px; height: 28px; object-fit: contain; flex-shrink: 0; }
.psel-current span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.psel-panel {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30;
  background: #FFF; border: 1px solid #E2DDD2; border-radius: 6px;
  box-shadow: 0 14px 40px rgba(26, 26, 24, 0.16);
  max-height: 380px; overflow-y: auto; padding: 6px;
}
.psel-group { padding: 12px 12px 7px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #9B968B; }
.psel-item {
  display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px;
  width: 100%; border: none; background: none; cursor: pointer; text-align: left;
  padding: 8px 12px; border-radius: 4px; font-family: 'Golos Text', sans-serif;
}
.psel-item:hover { background: #F4F1EB; }
.psel-item.is-selected { background: #FFF6F2; }
.psel-item img { width: 52px; height: 40px; object-fit: contain; }
.psel-name { font-size: 14px; font-weight: 500; color: #1A1A18; line-height: 1.35; }
.psel-price { font-size: 13px; color: #6F6A61; white-space: nowrap; }
@media (max-width: 560px) {
  .psel-panel { max-height: 320px; }
  .psel-item { grid-template-columns: 44px 1fr; }
  .psel-price { grid-column: 2; }
}

/* Пульс итога в калькуляторе при реальном изменении суммы */
@keyframes sumPulse {
  0% { transform: scale(1); }
  35% { transform: scale(1.09); color: #A93A18; }
  100% { transform: scale(1); }
}
.sum-flash { display: inline-block; animation: sumPulse .45s ease; }

/* Промо-блок калькулятора на главной: на мобиле без демо-карточки */
@media (max-width: 900px) {
  .calc-promo { padding: 28px 22px !important; }
  .calc-promo-demo { display: none; }
}

/* Калькулятор: защита от распирания экрана на мобиле.
   У input есть врождённая min-width ~180px — гасим её, колонкам гридов
   разрешаем сжиматься, длинным названиям — переноситься. */
#calcPage > div { min-width: 0; }
.plot-row label { min-width: 0; }
.plot-row input { width: 100%; min-width: 0; }
.psel-name { min-width: 0; overflow-wrap: anywhere; }
.psel-current { min-width: 0; }

/* --- Раздел «Полезное»: типографика статей --- */
.article { max-width: 820px; }
.article h2 { font-family: 'Unbounded', sans-serif; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; margin: 40px 0 16px; }
.article h3 { font-size: 17px; font-weight: 600; margin: 28px 0 10px; }
.article p { font-size: 15.5px; line-height: 1.8; color: #3A3833; margin: 0 0 16px; }
.article ul, .article ol { margin: 0 0 18px; padding-left: 24px; }
.article li { font-size: 15.5px; line-height: 1.75; color: #3A3833; margin-bottom: 8px; }
.article a { color: #C8471F; }
.article b, .article strong { color: #1A1A18; }
.article .art-lead { font-size: 17px; color: #1A1A18; line-height: 1.75; }
.article .art-box {
  background: #FFF6F2; border: 1px solid #F3DFD3;
  border-radius: 10px; padding: 22px 26px; margin: 26px 0;
  font-size: 14.5px; line-height: 1.75; color: #4A4740;
}
/* Первая жирная фраза врезки — как мини-рубрика фирменным шрифтом */
.article .art-box > b:first-child {
  display: block; margin-bottom: 8px;
  font-family: 'Unbounded', sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: 0.02em; color: #C8471F;
}
.article .art-table-wrap { overflow-x: auto; margin: 0 0 18px; }
.article table { border-collapse: collapse; width: 100%; background: #FFF; border: 1px solid #E2DDD2; border-radius: 4px; font-size: 14px; }
.article th { background: #EFEBE2; text-align: left; padding: 11px 14px; font-weight: 600; color: #1A1A18; white-space: nowrap; }
.article td { padding: 11px 14px; border-top: 1px solid #EFEBE2; color: #3A3833; line-height: 1.55; vertical-align: top; }
.art-ph { display: flex; align-items: center; justify-content: center; height: 190px; background: #EFEBE2; }
@media (max-width: 900px) {
  .article h2 { font-size: 19px; }
  .article p, .article li { font-size: 15px; }
}
