/* AKUBA TYPE v20 — единый файл */
@font-face{font-family:'AkubaInter';src:url('/userfiles/fonts/inter-cyrillic.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'AkubaInter';src:url('/userfiles/fonts/inter-latin.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2212,U+20BD}
@font-face{font-family:'AkubaInter';src:url('/userfiles/fonts/inter-ruble.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+20BD}
@font-face{font-family:'AkubaInvolve';src:url('/userfiles/fonts/involve-cyrillic.woff2') format('woff2');font-weight:400 700;font-style:normal;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'AkubaInvolve';src:url('/userfiles/fonts/involve-latin.woff2') format('woff2');font-weight:400 700;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2212,U+20BD}
@font-face{font-family:'AkubaInvolve';src:url('/userfiles/fonts/involve-ruble.woff2') format('woff2');font-weight:400 700;font-style:normal;font-display:swap;unicode-range:U+20BD}

html body, html body p, html body li, html body td, html body th, html body div, html body span,
html body a, html body small, html body strong, html body em, html body label, html body option,
html body input, html body select, html body textarea, html body button,
html body .category-description, html body .category-description *,
html body .akuba-terms__faq p, html body .akuba-terms__grid div,
html body .products-view-name, html body .products-view-price, html body .product-price {
  font-family:'AkubaInter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif !important;
}

html body h1, html body h2, html body h3, html body h4, html body h5, html body h6,
html body .page-title, html body .product-title, html body .catalog-title,
html body .category-title, html body .section-title, html body .block-title,
html body .panel-title, html body .akuba-terms__head, html body .akuba-terms__grid b,
html body .akuba-terms__faq summary,
html body [class*="title"]:not(.products-view-name):not(.product-name),
html body [class*="heading"], html body [class*="Head"] {
  font-family:'AkubaInvolve', 'Trebuchet MS', Arial, sans-serif !important;
}

@media (max-width: 767px) {
  html body .btn-action, html body .btn-buy, html body .akuba-sticky-cta__btn,
  html body .product-buy-button, html body .akuba-mprices__btn {
    background:#1E1C19 !important; border-color:#1E1C19 !important; color:#fff !important;
  }
  html body .akuba-sticky-cta__price { color:#C92A1F; }
}

/* AKUBA SCALE v8 — единая типографическая шкала */
html body h1, html body .page-title {
  font-size:46px !important; line-height:1.1 !important; letter-spacing:-0.01em !important;
}
html body h2, html body .catalog-title, html body .section-title, html body .block-title {
  font-size:32px !important; line-height:1.15 !important; letter-spacing:-0.005em !important;
}
html body h3 { font-size:23px !important; line-height:1.2 !important; }
html body h4, html body .panel-title { font-size:18px !important; line-height:1.3 !important; }
html body p, html body li, html body td, html body .category-description, html body .category-description * {
  font-size:16px !important; line-height:1.6 !important;
}
html body small, html body .cs-t-3 { font-size:13px !important; line-height:1.5 !important; }
html body .products-view-price, html body .product-price, html body .price {
  font-size:19px !important; line-height:1.25 !important; font-variant-numeric:tabular-nums !important;
}
html body .products-view-name { font-size:15px !important; line-height:1.4 !important; }

@media (max-width: 767px) {
  html body h1, html body .page-title { font-size:30px !important; line-height:1.12 !important; }
  html body h2, html body .catalog-title, html body .section-title, html body .block-title { font-size:23px !important; }
  html body h3 { font-size:19px !important; }
  html body h4 { font-size:17px !important; }
  html body p, html body li, html body td, html body .category-description * { font-size:15px !important; }
  html body .products-view-price, html body .product-price { font-size:17px !important; }
}

/* AKUBA LINE-HEIGHT v9 — единый межстрочный интервал */
html body, html body p, html body li, html body td, html body th, html body div, html body span,
html body .category-description, html body .category-description *,
html body .akuba-terms__grid div, html body .akuba-terms__faq p, html body .cs-t-1,
html body .cs-t-2, html body .cs-t-3 {
  line-height:1.6 !important;
}
html body h1, html body .page-title { line-height:1.1 !important; }
html body h2, html body .catalog-title, html body .section-title, html body .block-title { line-height:1.18 !important; }
html body h3 { line-height:1.25 !important; }
html body h4, html body .panel-title { line-height:1.3 !important; }
html body small { line-height:1.5 !important; }
html body .products-view-name { line-height:1.4 !important; }
html body .products-view-price, html body .product-price { line-height:1.25 !important; }
html body input, html body select, html body textarea, html body button, html body .btn-action {
  line-height:1.35 !important;
}

/* AKUBA_P2: контраст h1 на карточке товара — general.css задаёт color:white на белом фоне */
html body .details-title h1,
html body .product-constructor .product-constructor-block .details-title h1 { color: #1E1C19 !important; }

/* AKUBA_P4: мобильные перекрытия — cookie-баннер не закрывает кнопку «В корзину»,
   кнопки мессенджеров не закрывают текст, последний контент не уходит под фиксированные панели */
@media (max-width: 767px) {
  /* cookie-баннер — в потоке, а не поверх контента */
  html body .cookies-policy,
  html body .cookies-policy-block {
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    z-index: auto !important;
    margin-top: 10px !important;
  }
  html body .cookies-policy__btn-close {
    width: auto !important;
    min-width: 180px !important;
  }
  /* соцвиджеты — меньше, выше и ниже фиксированной панели «Подобрать» */
  html body [class*="jivo"],
  html body [class*="messenger"],
  html body [class*="whatsapp"]:not(.connector__item),
  html body .social-widget-custom,
  html body .connector {
    transform: scale(0.8) !important;
    transform-origin: right bottom !important;
    right: 6px !important;
    bottom: 84px !important;
    z-index: 40 !important;
  }
  html body .social-widget-custom {
    position: fixed !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
  }
  /* AKUBA_P4_CLICKS: прозрачные поля виджета не перехватывают клики по кнопке «В корзину» */
  html body .social-widget-custom { pointer-events: none !important; }
  html body .social-widget-custom a,
  html body .social-widget-custom label,
  html body .social-widget-custom li { pointer-events: auto !important; }
  /* запас под фиксированную мобильную панель и cookie-баннер в потоке */
  html body { padding-bottom: 96px !important; }
}
/* AKUBA_P4 END */

/* AKUBA_P6: каталог — четыре группы (главная, десктоп и мобильный) */
html body .akuba-groups { margin: 26px 0 6px; }
html body .akuba-groups__head {
  font-family:'AkubaInvolve', 'Trebuchet MS', Arial, sans-serif !important;
  font-size:28px !important; line-height:1.15 !important; letter-spacing:-0.01em !important;
  color:#1E1C19 !important; margin:0 0 14px !important;
}
html body .akuba-groups__grid {
  display:grid !important; grid-template-columns:repeat(4, minmax(0, 1fr)) !important; gap:16px !important;
}
html body .akuba-groups__item {
  display:flex !important; flex-direction:column !important; min-width:0 !important;
  padding:18px !important; background:#FBFAF7 !important;
  border:1px solid #E3DED4 !important; border-radius:12px !important;
  text-decoration:none !important; color:#1E1C19 !important; box-sizing:border-box !important;
}
html body .akuba-groups__item:hover,
html body .akuba-groups__item:focus {
  border-color:#C92A1F !important; color:#1E1C19 !important;
  box-shadow:0 6px 18px rgba(30,28,25,0.08) !important;
}
html body .akuba-groups__name {
  display:block !important; margin:0 0 6px !important;
  font-family:'AkubaInvolve', 'Trebuchet MS', Arial, sans-serif !important;
  font-size:19px !important; line-height:1.2 !important; color:#1E1C19 !important;
}
html body .akuba-groups__count {
  display:block !important; margin:0 0 10px !important;
  font-family:'AkubaInter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif !important;
  font-size:13px !important; line-height:1.4 !important; color:#6E6861 !important;
}
html body .akuba-groups__price {
  display:block !important; margin:0 !important;
  font-family:'AkubaInter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif !important;
  font-size:24px !important; line-height:1.15 !important; font-weight:600 !important;
  color:#C92A1F !important; font-variant-numeric:tabular-nums !important;
}
html body .akuba-groups__unit {
  display:block !important; margin:2px 0 0 !important;
  font-family:'AkubaInter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif !important;
  font-size:12px !important; line-height:1.4 !important; color:#6E6861 !important;
}
/* AKUBA_P6C: ссылка «Смотреть раздел» — по ширине текста, не на всю плитку */
/* AKUBA_P6D: ссылка прижата к низу плитки, чтобы все четыре карточки читались ровно */
html body .akuba-groups__go {
  display:inline-block !important; align-self:flex-start !important; margin-top:auto !important; padding-top:12px !important;
  font-family:'AkubaInter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif !important;
  font-size:13px !important; line-height:1.4 !important; color:#C92A1F !important;
  border-bottom:1px solid rgba(201,42,31,0.35) !important;
}
@media (max-width:767px) {
  html body .akuba-groups { margin:18px 0 4px; }
  html body .akuba-groups__head { font-size:21px !important; margin-bottom:10px !important; }
  html body .akuba-groups__grid { grid-template-columns:repeat(2, minmax(0, 1fr)) !important; gap:10px !important; }
  html body .akuba-groups__item { padding:12px !important; }
  html body .akuba-groups__name { font-size:16px !important; }
  html body .akuba-groups__count { font-size:12px !important; margin-bottom:8px !important; }
  html body .akuba-groups__price { font-size:19px !important; }
  html body .akuba-groups__unit { font-size:11px !important; }
  html body .akuba-groups__go { margin-top:auto !important; padding-top:8px !important; font-size:12px !important; }
}
/* AKUBA_P6 END */
/* AKUBA_P8: цены по рядности на странице коллекции и блок «три серии» ковриков.
   Токены темы: Involve — заголовки, Inter — текст, #1E1C19 основной, #C92A1F акцент, #FBFAF7 фон.
   Строки цен: на десктопе обёртка .akuba-p8-rows (подпись и цена инлайн), на мобильном —
   обёртка .akuba-p8-mrows__list с сеткой bootstrap .row/col-xs, поэтому правила разделены:
   общий сброс float/display ломал колонки на мобильном. */
html body .akuba-p8-rows { display:block !important; text-align:left !important; }
html body .akuba-p8-rows__head,
html body .akuba-p8-mrows__head {
  font-family:'AkubaInvolve', 'Trebuchet MS', Arial, sans-serif !important;
  font-size:15px !important; line-height:1.2 !important; color:#1E1C19 !important;
  margin:0 0 8px !important; padding:0 !important;
}
html body .akuba-p8-rows:not(.akuba-p8-mrows__list) .akuba-p8-row {
  display:block !important; padding:7px 0 !important; margin:0 !important;
  border-bottom:1px dashed #E3DED4 !important; background:transparent !important;
}
html body .akuba-p8-rows:not(.akuba-p8-mrows__list) .akuba-p8-row:last-child { border-bottom:0 !important; }
html body .akuba-p8-rows:not(.akuba-p8-mrows__list) .akuba-p8-row.akuba-p8-row--std {
  padding:8px 10px !important; background:#FBFAF7 !important;
  border:1px solid #E3DED4 !important; border-radius:10px !important;
}
html body .akuba-p8-rows:not(.akuba-p8-mrows__list) .akuba-p8-row__label { display:inline-block !important; }
html body .akuba-p8-rows:not(.akuba-p8-mrows__list) .akuba-p8-row__price { display:inline-block !important; margin-left:8px !important; }
html body .akuba-p8-mrows__list .akuba-p8-row {
  padding:6px 0 !important; margin:0 0 2px !important;
  border-bottom:1px dashed #E3DED4 !important; background:transparent !important;
}
html body .akuba-p8-mrows__list .akuba-p8-row:last-child { border-bottom:0 !important; }
html body .akuba-p8-mrows__list .akuba-p8-row.akuba-p8-row--std {
  padding:6px 8px !important; background:#FBFAF7 !important;
  border:1px solid #E3DED4 !important; border-radius:10px !important;
}
html body .akuba-p8-row__label {
  font-family:'AkubaInter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif !important;
  font-size:13px !important; line-height:1.35 !important; color:#6E6861 !important;
  font-weight:400 !important;
}
html body .akuba-p8-row--std .akuba-p8-row__label { color:#1E1C19 !important; }
html body .akuba-p8-row__price {
  font-family:'AkubaInter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif !important;
  font-size:18px !important; line-height:1.2 !important; font-weight:600 !important;
  color:#1E1C19 !important; font-variant-numeric:tabular-nums !important;
}
html body .akuba-p8-mrows .akuba-p8-row__price { text-align:right !important; }
html body .akuba-p8-row__note {
  display:block !important; margin:3px 0 0 !important;
  font-family:'AkubaInter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif !important;
  font-size:11.5px !important; line-height:1.35 !important; color:#6E6861 !important;
}
@media (max-width:767px) {
  html body .akuba-p8-mrows__head { font-size:14px !important; margin-bottom:6px !important; }
  html body .akuba-p8-mrows__list .akuba-p8-row { padding:6px 0 !important; }
  html body .akuba-p8-mrows__list .akuba-p8-row.akuba-p8-row--std { padding:6px 8px !important; }
  html body .akuba-p8-row__label { font-size:12.5px !important; }
  html body .akuba-p8-row__price { font-size:16px !important; }
  html body .akuba-p8-row__note { font-size:11px !important; }
}
html body .akuba-p8-series {
  display:block !important; margin:0 0 18px !important; padding:14px 16px !important;
  background:#FBFAF7 !important; border:1px solid #E3DED4 !important; border-radius:12px !important;
}
html body .akuba-p8-series__head {
  font-family:'AkubaInvolve', 'Trebuchet MS', Arial, sans-serif !important;
  font-size:17px !important; line-height:1.2 !important; color:#1E1C19 !important;
  margin:0 0 10px !important; padding:0 !important;
}
html body .akuba-p8-series__grid {
  display:grid !important; grid-template-columns:repeat(3, minmax(0, 1fr)) !important; gap:10px !important;
}
html body .akuba-p8-series__item {
  display:flex !important; flex-direction:column !important; min-width:0 !important;
  padding:10px 12px !important; background:#FFFFFF !important;
  border:1px solid #E3DED4 !important; border-radius:10px !important;
  text-decoration:none !important; color:#1E1C19 !important; box-sizing:border-box !important;
}
html body .akuba-p8-series__item:hover,
html body .akuba-p8-series__item:focus {
  border-color:#C92A1F !important; color:#1E1C19 !important;
  box-shadow:0 4px 14px rgba(30,28,25,0.07) !important;
}
html body .akuba-p8-series__item.is-current {
  border-color:#C92A1F !important; background:#FBFAF7 !important;
  box-shadow:inset 0 0 0 1px #C92A1F !important;
}
html body .akuba-p8-series__name {
  display:block !important; margin:0 0 2px !important;
  font-family:'AkubaInvolve', 'Trebuchet MS', Arial, sans-serif !important;
  font-size:15px !important; line-height:1.2 !important; color:#1E1C19 !important;
}
html body .akuba-p8-series__price {
  display:block !important; margin:0 !important;
  font-family:'AkubaInter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif !important;
  font-size:19px !important; line-height:1.15 !important; font-weight:600 !important;
  color:#C92A1F !important; font-variant-numeric:tabular-nums !important;
}
html body .akuba-p8-series__item.is-current .akuba-p8-series__price { color:#1E1C19 !important; }
html body .akuba-p8-series__unit {
  display:block !important; margin:2px 0 0 !important;
  font-family:'AkubaInter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif !important;
  font-size:11.5px !important; line-height:1.35 !important; color:#6E6861 !important;
}
@media (max-width:767px) {
  html body .akuba-p8-series { margin:0 0 12px !important; padding:10px 12px !important; border-radius:10px !important; }
  html body .akuba-p8-series__head { font-size:15px !important; margin-bottom:8px !important; }
  html body .akuba-p8-series__grid { grid-template-columns:1fr !important; gap:6px !important; }
  html body .akuba-p8-series__item {
    display:grid !important; grid-template-columns:1fr auto !important; column-gap:8px !important;
    padding:7px 10px !important; border-radius:8px !important;
  }
  html body .akuba-p8-series__name { font-size:13.5px !important; margin:0 !important; }
  html body .akuba-p8-series__price { font-size:15px !important; text-align:right !important; }
  html body .akuba-p8-series__unit { grid-column:1 / span 2 !important; font-size:10.5px !important; margin:0 !important; }
}
/* AKUBA_P8 END */
/* AKUBA_P9: бейдж статуса и строка про заявку в карточке товара, полка подгрупп аксессуаров,
   блок «вся линейка накидок» (пакет 9, отчёт 29) */
html body .akuba-p9-deal {
  display:block !important; margin:12px 0 !important; padding:0 !important; max-width:100% !important;
}
html body .akuba-p9-badge {
  display:inline-block !important; margin:0 0 8px !important; padding:4px 10px !important;
  border:1px solid #1E1C19 !important; border-radius:999px !important;
  background:#FFFFFF !important; color:#1E1C19 !important;
  font-family:'AkubaInter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif !important;
  font-size:11.5px !important; line-height:1.3 !important; font-weight:600 !important;
  letter-spacing:0.02em !important; white-space:nowrap !important; vertical-align:middle !important;
}
html body .akuba-p9-badge--pattern {
  border-color:#C92A1F !important; background:#FBFAF7 !important; color:#C92A1F !important;
}
html body .akuba-p9-deal__text {
  margin:0 0 6px !important; padding:0 !important;
  font-family:'AkubaInter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif !important;
  font-size:12.5px !important; line-height:1.45 !important; color:#6E6861 !important;
}
html body .akuba-p9-deal__warranty {
  margin:0 !important; padding:0 !important;
  font-family:'AkubaInter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif !important;
  font-size:12.5px !important; line-height:1.4 !important; color:#1E1C19 !important;
}
html body .akuba-p9-deal__months { font-weight:600 !important; color:#1E1C19 !important; }
html body .akuba-p9-deal__link { color:#C92A1F !important; text-decoration:underline !important; }
html body .akuba-p9-deal__link:hover, html body .akuba-p9-deal__link:focus { color:#A82118 !important; }

html body .akuba-p9-acc {
  display:block !important; margin:0 0 18px !important; padding:14px 16px !important;
  background:#FBFAF7 !important; border:1px solid #E3DED4 !important; border-radius:12px !important;
  box-sizing:border-box !important;
}
html body .akuba-p9-acc__head {
  font-family:'AkubaInvolve', 'Trebuchet MS', Arial, sans-serif !important;
  font-size:17px !important; line-height:1.2 !important; color:#1E1C19 !important;
  margin:0 0 10px !important; padding:0 !important;
}
html body .akuba-p9-acc__grid {
  display:grid !important; grid-template-columns:repeat(4, minmax(0, 1fr)) !important; gap:10px !important;
}
html body .akuba-p9-acc__item {
  display:flex !important; flex-direction:column !important; min-width:0 !important;
  padding:10px 12px !important; background:#FFFFFF !important;
  border:1px solid #E3DED4 !important; border-radius:10px !important;
  text-decoration:none !important; color:#1E1C19 !important; box-sizing:border-box !important;
}
html body a.akuba-p9-acc__item:hover, html body a.akuba-p9-acc__item:focus {
  border-color:#C92A1F !important; color:#1E1C19 !important;
  box-shadow:0 4px 14px rgba(30,28,25,0.07) !important;
}
html body .akuba-p9-acc__item--empty { background:#FBFAF7 !important; }
html body .akuba-p9-acc__title {
  display:block !important; margin:0 0 2px !important;
  font-family:'AkubaInvolve', 'Trebuchet MS', Arial, sans-serif !important;
  font-size:15px !important; line-height:1.2 !important; color:#1E1C19 !important;
}
html body .akuba-p9-acc__count {
  display:block !important; margin:0 0 6px !important;
  font-family:'AkubaInter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif !important;
  font-size:11.5px !important; line-height:1.35 !important; color:#6E6861 !important;
}
html body .akuba-p9-acc__price {
  display:block !important; margin:auto 0 0 !important;
  font-family:'AkubaInter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif !important;
  font-size:19px !important; line-height:1.15 !important; font-weight:600 !important;
  color:#C92A1F !important; font-variant-numeric:tabular-nums !important;
}

html body .akuba-p9-tv {
  display:block !important; margin:0 0 18px !important; padding:14px 16px !important;
  background:#FBFAF7 !important; border:1px solid #E3DED4 !important; border-radius:12px !important;
  box-sizing:border-box !important;
}
html body .akuba-p9-tv__head {
  font-family:'AkubaInvolve', 'Trebuchet MS', Arial, sans-serif !important;
  font-size:17px !important; line-height:1.2 !important; color:#1E1C19 !important;
  margin:0 0 2px !important; padding:0 !important;
}
html body .akuba-p9-tv__note {
  font-family:'AkubaInter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif !important;
  font-size:11.5px !important; line-height:1.35 !important; color:#6E6861 !important;
  margin:0 0 10px !important; padding:0 !important;
}
html body .akuba-p9-tv__list { display:grid !important; grid-template-columns:1fr !important; gap:6px !important; }
html body .akuba-p9-tv__row {
  display:grid !important; grid-template-columns:minmax(0, 1fr) auto 110px !important;
  align-items:center !important; column-gap:8px !important;
  padding:8px 12px !important; background:#FFFFFF !important;
  border:1px solid #E3DED4 !important; border-radius:8px !important;
  text-decoration:none !important; color:#1E1C19 !important; box-sizing:border-box !important;
}
html body .akuba-p9-tv__row:hover, html body .akuba-p9-tv__row:focus {
  border-color:#C92A1F !important; color:#1E1C19 !important;
  box-shadow:0 4px 14px rgba(30,28,25,0.07) !important;
}
html body .akuba-p9-tv__row.is-current {
  border-color:#C92A1F !important; background:#FBFAF7 !important;
  box-shadow:inset 0 0 0 1px #C92A1F !important;
}
html body .akuba-p9-tv__name {
  font-family:'AkubaInvolve', 'Trebuchet MS', Arial, sans-serif !important;
  font-size:14.5px !important; line-height:1.2 !important; color:#1E1C19 !important;
  min-width:0 !important;
}
html body .akuba-p9-tv__tag {
  font-family:'AkubaInter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif !important;
  font-size:10.5px !important; line-height:1.3 !important; font-weight:600 !important;
  color:#C92A1F !important; background:#FBFAF7 !important;
  border:1px solid #C92A1F !important; border-radius:999px !important;
  padding:1px 7px !important; white-space:nowrap !important;
}
html body .akuba-p9-tv__tag:empty {
  border:0 !important; padding:0 !important; background:none !important; color:transparent !important;
}
html body .akuba-p9-tv__price {
  font-family:'AkubaInter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif !important;
  font-size:15px !important; line-height:1.2 !important; font-weight:600 !important;
  color:#C92A1F !important; text-align:right !important; font-variant-numeric:tabular-nums !important;
}
html body .akuba-p9-tv__row.is-current .akuba-p9-tv__price { color:#1E1C19 !important; }

@media (max-width:767px) {
  html body .akuba-p9-deal { margin:10px 0 !important; }
  html body .akuba-p9-badge { margin:0 0 6px !important; padding:3px 9px !important; font-size:11px !important; }
  html body .akuba-p9-deal__text { font-size:12px !important; line-height:1.42 !important; }
  html body .akuba-p9-deal__warranty { font-size:12px !important; }
  html body .akuba-p9-acc { margin:0 0 12px !important; padding:10px 12px !important; border-radius:10px !important; }
  html body .akuba-p9-acc__head { font-size:15px !important; margin-bottom:8px !important; }
  html body .akuba-p9-acc__grid { grid-template-columns:repeat(2, minmax(0, 1fr)) !important; gap:6px !important; }
  html body .akuba-p9-acc__item { padding:8px 10px !important; border-radius:8px !important; }
  html body .akuba-p9-acc__title { font-size:13.5px !important; }
  html body .akuba-p9-acc__count { font-size:10.5px !important; margin-bottom:4px !important; }
  html body .akuba-p9-acc__price { font-size:15px !important; }
  html body .akuba-p9-tv { margin:0 0 12px !important; padding:10px 12px !important; border-radius:10px !important; }
  html body .akuba-p9-tv__head { font-size:15px !important; }
  html body .akuba-p9-tv__note { font-size:10.5px !important; margin-bottom:8px !important; }
  html body .akuba-p9-tv__row { grid-template-columns:minmax(0, 1fr) auto 96px !important; padding:7px 10px !important; }
  html body .akuba-p9-tv__name { font-size:13.5px !important; }
  html body .akuba-p9-tv__price { font-size:14px !important; }
}
/* AKUBA_P9 END */
/* AKUBA_P10: на мобильном плавающие соцкнопки не накрывают текст (пакет 10, отчёт 30).
   Все правила — только внутри @media (max-width:767px), десктоп не затрагивается.
   Кнопки меньше (scale 0.72), ниже (bottom:72px), ближе к краю (right:4px), z-index 40 → 30;
   клики перехватывают только сами кнопки, обёртка — pointer-events:none;
   body получает запас 110px под плавающие кнопки и фиксированную мобильную панель.
   Список селекторов — по именам классов плавающих виджетов: CSS не умеет выбирать по
   вычисленным position/z-index, поэтому статические иконки подвала и сайдбара
   (.social, .social--telegram, .social--whatsapp, .social--vkontakte) исключены явно,
   иначе transform:scale(0.72) уменьшил бы и их. */
@media (max-width:767px) {
  html body [class*="jivo"]:not(.connector__item),
  html body [class*="messenger"]:not(.social):not(.connector__item),
  html body [class*="whatsapp"]:not(.social):not(.connector__item),
  html body [class*="telegram"]:not(.social):not(.connector__item),
  html body .social-widget-custom,
  html body [class*="social-widget"]:not(.social-widget-custom),
  html body .social-widget,
  html body .connector {
    transform: scale(0.72) !important;
    transform-origin: right bottom !important;
    right: 4px !important;
    bottom: 72px !important;
    z-index: 30 !important;
  }
  /* обёртка и её «пустые» части не перехватывают клики по тексту и кнопкам под ними */
  html body .social-widget-custom,
  html body [class*="social-widget"]:not(.social-widget-custom),
  html body .social-widget,
  html body .connector,
  html body .social-widget-custom .widget-header,
  html body .social-widget-custom .connector__popup { pointer-events: none !important; }
  /* кликаются только сами кнопки виджета */
  html body .social-widget-custom a,
  html body .social-widget-custom button,
  html body .social-widget-custom label,
  html body .social-widget-custom li,
  html body [class*="social-widget"] a,
  html body [class*="social-widget"] button,
  html body [class*="social-widget"] label,
  html body [class*="social-widget"] li,
  html body .connector a,
  html body .connector button,
  html body .connector label,
  html body .connector li { pointer-events: auto !important; }
  /* запас под плавающие кнопки (было 96px в AKUBA_P4) */
  html body { padding-bottom: 110px !important; }
}
/* AKUBA_P10 END */
/* AKUBA_P11: плашка наличия убрана полностью (пакет 11; решение владельца, обоснование — §9 отчёта 30).
   В шаблонах закомментированы оба вывода в .availability (Model.Availble — пакет 10,
   data-bind-html-compile — пакет 11), поэтому элемент остаётся пустым: скрываем его целиком,
   вместе с точкой-индикатором. Правило действует на всех разрешениях.
   Резервный селектор (WebKit/старый Firefox не считают whitespace-only :empty) — под @supports,
   чтобы в браузерах без :has правило не отбрасывалось целиком. */
html body .details-availability .availability:empty { display: none !important; }
@supports selector(:has(*)) {
  html body .details-availability .availability:not(:has(*)) { display: none !important; }
}
/* На мобильном текст карточки не заходит под круглые кнопки соцвиджета (отчёт 30, §2.3):
   отступ справа 96px = ширина колонки кнопок вместе с полями. Десктоп не затрагивается. */
@media (max-width:767px) {
  html body .akuba-p9-deal { padding-right: 96px !important; }
}
/* AKUBA_P11 END */
/* AKUBA_P12: юридические ссылки в подвале — «Гарантии», «Политика возврата», «Договор оферты» (пакет 12).
   Строка стоит в .site-footer-wrap рядом с футером, вне <footer>, поэтому нужен свой набор правил:
   внутри <footer> тема стилизует .footer-menu-list, здесь — собственные классы. На мобильном компактнее. */
html body .akuba-p12-legal { display:block; padding:10px 16px 2px; text-align:center; }
html body .akuba-p12-legal__list { display:block; margin:0; padding:0; list-style:none; }
html body .akuba-p12-legal__list li { display:inline-block; margin:0 12px 6px; padding:0; }
html body .akuba-p12-legal__link {
  font-family:'AkubaInter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size:14px; line-height:1.4; color:#6E6861; text-decoration:none; white-space:nowrap;
}
html body .akuba-p12-legal__link:hover,
html body .akuba-p12-legal__link:focus { color:#C92A1F; text-decoration:underline; }
html body .akuba-p12-legal__link:focus-visible { outline:2px solid #C92A1F; outline-offset:2px; }
@media (max-width:767px) {
  html body .akuba-p12-legal { padding:8px 12px 2px; }
  html body .akuba-p12-legal__list li { margin:0 8px 6px; }
  html body .akuba-p12-legal__link { font-size:12.5px; }
}
/* AKUBA_P12 END */

/* ==========================================================================
   AKUBA_65_P1_3 · /search на 1440: бейджи «Левый руль / Отверстие…» не
   переносились (white-space:nowrap), блок цены 503 px в карточке 287 px
   растягивал документ до 1572 px. Разрешаем перенос бейджей.
   ========================================================================== */
html body .products-view .products-view-price,
html body .products-view .product-view-price-data {
  white-space: normal !important;
}
html body .products-view .car-badges {
  display: inline-flex; flex-wrap: wrap; gap: 4px 8px; max-width: 100%;
}
html body .products-view .car-badge {
  white-space: normal; font-size: 12px; line-height: 1.3;
}
html body .products-view .products-view-price-block { min-width: 0 !important; }

/* AKUBA_65_P2 · cookie-баннер: кнопка «Принимаю» 33×26 → 44×44 */
html body .cookies-policy__btn-close {
  min-width: 44px !important; min-height: 44px !important; padding: 0 16px !important;
}

/* ==========================================================================
   AKUBA_65_P2 · мелкий текст в корзине и оформлении (было 31,8 % / 50,5 % <14 px)
   ========================================================================== */
@media (max-width: 767px) {
  html body .checkout-cart-generated-field-text,
  html body .checkout-cart-item-count,
  html body .shipping-item-note,
  html body .payment-item-description,
  html body .form-field-name,
  html body .custom-input-text,
  html body .js-readmore-inner-content,
  html body .cookies-policy-cell {
    font-size: 14px !important; line-height: 1.45 !important;
  }
  html body .cookies-policy__btn-close { font-size: 15px !important; }
}

/* AKUBA_65_P1_6 · cookie-баннер — поздний LCP-кандидат на /search.
   Уменьшаем площадь текстового блока на десктопе, чтобы LCP-элементом было
   изображение товара, а не юридическая плашка, всплывающая на 3,5-й секунде. */
@media (min-width: 768px) {
  html body .cookies-policy { max-width: 300px !important; }
  html body .cookies-policy-cell { font-size: 12px !important; line-height: 1.4 !important; }
}

/* AKUBA_67: h1 на странице 404 (до правки на странице не было ни одного h1) */
.err-title{font-size:20px;font-weight:600;line-height:1.25;margin:0 0 10px;color:inherit}


/* AKUBA_438: font-display:optional для основных шрифтов темы.
   Причина: swap подменял шрифт после первой отрисовки и перестраивал строки —
   замер давал CLS 0.93 на главной (сдвиг блока направлений и первого экрана).
   optional означает: если шрифт не успел к первой отрисовке, страница рисуется
   запасным (Arial) и НЕ перестраивается; при следующем заходе шрифт уже в кэше. */
@font-face{font-family:'AkubaInter';src:url('/userfiles/fonts/inter-cyrillic.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:optional;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'AkubaInter';src:url('/userfiles/fonts/inter-latin.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:optional;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2212,U+20BD}
@font-face{font-family:'AkubaInvolve';src:url('/userfiles/fonts/involve-cyrillic.woff2') format('woff2');font-weight:400 700;font-style:normal;font-display:optional;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'AkubaInvolve';src:url('/userfiles/fonts/involve-latin.woff2') format('woff2');font-weight:400 700;font-style:normal;font-display:optional;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2212,U+20BD}

/* AKUBA_439: резервируем место под вертикальный скроллбар.
   Причина: когда страница «дорастает» до прокрутки, ширина контента меняется
   и центрированные блоки сдвигаются по горизонтали — замер давал CLS 0.93. */
html{overflow-y:scroll;scrollbar-gutter:stable}
