/* ========================================================
   КАЗАХСТАНСКИЙ ИНТЕРАКТИВНЫЙ СЛОЙ (DI01 КАЗАХСТАН)
   ТОЧНАЯ ВИЗУАЛЬНАЯ КОПИЯ МОБИЛЬНОГО DI01.RU (СКРИНШОТЫ 1 - 4)
   ======================================================== */

/* --------------------------------------------------------
   1. ГЛОБАЛЬНЫЙ СБРОС И ПРЕДОТВРАЩЕНИЕ ГОРИЗОНТАЛЬНОГО СКРОЛЛА
   -------------------------------------------------------- */
html, body {
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
  background-color: #ffffff !important;
  -webkit-text-size-adjust: 100% !important;
}

*, *:before, *:after {
  box-sizing: border-box !important;
}

/* --------------------------------------------------------
   ГЛОБАЛЬНАЯ ЗАЩИТА КОНТЕЙНЕРОВ ОТ РАЗДУВАНИЯ СЛАЙДЕРАМИ И FLEXBOX
   -------------------------------------------------------- */
.index,
.index__wrapper,
.index__content,
.content-container,
.blocks,
.blocks__item,
.container,
.container_content,
.home-block,
.home-description,
.partners-block,
.sertificate-block {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.content-container,
.blocks,
.blocks__item,
.partners-block,
.sertificate-block,
.partners-slider,
.sertificate-slider {
  overflow: hidden !important;
}

/* Баннеры и изображения: строго оригинальный размер (1024px) без расширения и растягивания */
.kz-hero-banner-link {
  display: block !important;
  max-width: 1024px !important;
  width: 100% !important;
  margin: 0 auto !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12) !important;
  transition: transform 0.2s ease !important;
  text-decoration: none !important;
}
.kz-hero-banner-link img {
  width: 100% !important;
  max-width: 1024px !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
}

.opt-storefront__bg_full img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 0 !important;
}

/* --------------------------------------------------------
   2. ПОДАВЛЕНИЕ СТОРОННИХ РОССИЙСКИХ ВИДЖЕТОВ И ТРЕКЕРОВ
   (Битрикс24, Mango Office, всплывающие окна cookies, up-button)
   -------------------------------------------------------- */
.up-button,
.cookie-panel,
.info-panel-container,
.comments-block,
div[class*="comments-block"],
.b24-widget-button-wrapper,
div[class*="b24-widget"],
div[id*="b24-widget"],
.mgo-widget-call_pulse,
div[class*="mgo-widget"],
div[id*="mgo-widget"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* --------------------------------------------------------
   3. МОБИЛЬНАЯ АДАПТАЦИЯ (<= 1023px) — ТОЧНО ПО СКРИНШОТАМ 1-4
   -------------------------------------------------------- */
@media (max-width: 1023px) {
  body {
    padding-bottom: 56px !important; /* Отступ снизу для .fixed-bar */
  }

  /* Исправление переполнения контейнеров и хлебных крошек */
  .container {
    width: 100% !important;
    max-width: 100vw !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }

  .breadcrumbs {
    display: flex !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    max-width: 100% !important;
  }
  .breadcrumbs::-webkit-scrollbar {
    display: none !important;
  }

  /* Адаптация футера: десктопные 3 колонки складываются в 1 столбец */
  .footer-content {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }
  .footer-content__copyright-container,
  .footer-content__columns-container,
  .footer-content__contacts-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin-bottom: 16px !important;
  }
  .footer-columns:not(.r-footer__row) {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }
  .footer-columns:not(.r-footer__row) .footer-columns__column {
    width: 100% !important;
    padding: 0 !important;
    margin-bottom: 16px !important;
  }

  /* Скрываем десктопную шапку на смартфонах */
  body:not(.page__d) .index__header > .header.r-hidden-md {
    display: none !important;
  }

  /* Показываем аутентичную шапку di01.ru */
  .r-header.r-hidden-desktop {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9998 !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e5e7eb !important;
    width: 100% !important;
    max-width: 100vw !important;
    height: 52px !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05) !important;
  }

  .r-header__list {
    display: flex !important;
    align-items: center !important;
  }

  .r-header__list_left {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
  }

  .r-header__list_right {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-left: auto !important;
  }

  .r-header__list_right .r-header__list-item,
  .r-header__list-item {
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
  }

  .r-header-logo img,
  .r-header-logo__image {
    height: 24px !important;
    max-height: 24px !important;
    width: auto !important;
    max-width: 125px !important;
    object-fit: contain !important;
  }

  /* Зеленая кнопка быстрого звонка в шапке (Скриншот 2, 3) */
  .r-header__list-item-link_phone.r-header-contacts-btn {
    background: #25a85c !important;
    color: #ffffff !important;
    border-radius: 16px !important;
    padding: 3px 8px !important;
    height: 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 2px !important;
    cursor: pointer !important;
    box-shadow: 0 1px 4px rgba(37, 168, 92, 0.3) !important;
  }

  .r-header__list-item-link_phone.r-header-contacts-btn .svg-icon {
    width: 16px !important;
    height: 16px !important;
    color: #ffffff !important;
    fill: #ffffff !important;
  }

  .r-header__list-item-link_search,
  .r-header__list-item-link {
    color: #242321 !important;
    display: flex !important;
    align-items: center !important;
  }

  /* Показываем нижний бар di01.ru (Скриншоты 2, 3, 4) */
  .fixed-bar {
    display: block !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 52px !important;
    background: #ffffff !important;
    border-top: 1px solid #e5e7eb !important;
    z-index: 9999 !important;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05) !important;
  }

  .fixed-bar__menu {
    display: flex !important;
    align-items: center !important;
    justify-content: space-around !important;
    height: 100% !important;
  }

  .fixed-bar__item {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    color: #64748b !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    gap: 2px !important;
  }

  .fixed-bar__item svg {
    color: #64748b !important;
  }

  /* ЕДИНЫЙ АДАПТИВНЫЙ КАТАЛОГ ДЛЯ СМАРТФОНОВ И ПЛАНШЕТОВ */
  .r-product-skus-table {
    display: none !important;
  }

  .products-thumbs {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 12px 0 24px 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .products-thumbs__item {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    box-sizing: border-box !important;
  }

  .products-thumbs__item .product-thumb {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 12px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
    box-sizing: border-box !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
    position: relative !important;
  }

  .product-thumb__image-container {
    aspect-ratio: 1 / 1 !important;
    width: 100% !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 8px !important;
    position: relative !important;
    background: #f8f9fa !important;
    padding: 10px !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .product-thumb__image-container img {
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
  }

  .product-thumb__name {
    font-size: 13px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    margin-bottom: 6px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-decoration: none !important;
  }

  .product-thumb__prices {
    margin-top: auto !important;
    padding-top: 8px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
  }

  .product-thumb__price {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
  }

  .product-thumb__footer {
    margin-top: 8px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
  }

  .product-thumb__add2cart-button {
    width: 100% !important;
    height: 38px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    background: #242321 !important;
    color: #ffffff !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .r-product-skus-table__sku {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding: 12px !important;
    border-radius: 10px !important;
    border: 1px solid #e5e5e5 !important;
    background: #ffffff !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .r-product-skus-table__content {
    display: flex !important;
    gap: 12px !important;
    align-items: flex-start !important;
  }

  .r-product-skus-table__img {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    border-radius: 6px !important;
    overflow: hidden !important;
  }

  .r-product-skus-table__img img {
    max-width: 80px !important;
    max-height: 80px !important;
    object-fit: contain !important;
  }

  .r-product-skus-table__info {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
  }

  .r-product-skus-table__article {
    font-size: 12px !important;
    color: #64748b !important;
  }

  .r-product-skus-table__article-title {
    font-weight: 700 !important;
    color: #333333 !important;
  }

  .r-product-skus-table__info a.link {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    color: #1e293b !important;
    text-decoration: none !important;
  }

  .r-product-skus-table__stocks {
    display: none !important;
  }

  .stock-count {
    display: none !important;
  }

  .stock-count__mobile_row {
    display: none !important;
  }

  .r-product-skus-table__prices {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    padding: 4px 0 !important;
  }

  .r-product-skus-table__price {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
  }

  .r-product-skus-table__price-name {
    font-size: 11px !important;
    color: #888888 !important;
    font-weight: 600 !important;
  }

  .r-product-skus-table__price-value {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #242321 !important;
  }

  .r-product-skus-table__buttons {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 6px !important;
  }

  .r-product-skus-table__quantity-holder {
    width: 110px !important;
  }

  .quantity2 {
    display: flex !important;
    align-items: center !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    height: 36px !important;
    background: #ffffff !important;
    overflow: hidden !important;
  }

  .quantity2__btn {
    width: 32px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f8fafc !important;
    cursor: pointer !important;
    user-select: none !important;
  }

  .quantity2__input {
    flex: 1 !important;
    width: 36px !important;
    height: 36px !important;
    border: none !important;
    text-align: center !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    outline: none !important;
  }

  .r-product-skus-table__add-to-cart-holder {
    flex: 1 !important;
  }

  .r-product-skus-table__add-to-cart {
    width: 100% !important;
    height: 36px !important;
    background: #242321 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  }

  .r-product-skus-table__add-to-cart:active {
    background: #000000 !important;
  }

  /* Сортировка и кнопка фильтров (Скриншот 3) */
  .products-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 8px !important;
    margin: 8px 0 !important;
  }

  .products-bar__sorting {
    flex: 1 !important;
  }

  .products-bar select.sorting-select {
    width: 100% !important;
    height: 38px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    padding: 0 14px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #242321 !important;
  }

  .products-bar__filters .r-filters__toggle {
    height: 38px !important;
    border-radius: 20px !important;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    padding: 0 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #242321 !important;
    text-decoration: none !important;
  }

  /* Список подкатегорий (Скриншот 2) */
  .category-page__subcategories {
    display: block !important;
    width: 100% !important;
    margin: 8px 0 16px 0 !important;
  }

  .categories-mini__list {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    border-top: 1px solid #f1f5f9 !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  .categories-mini__item {
    width: 100% !important;
    border-bottom: 1px solid #f1f5f9 !important;
  }

  .category-mini {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 13px 4px !important;
    text-decoration: none !important;
    color: #1e293b !important;
  }

  .category-mini__name {
    font-size: 14.5px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
  }

  .category-mini:after {
    content: '›' !important;
    font-size: 20px !important;
    color: #94a3b8 !important;
  }

  /* Популярные категории каталога (Скриншот 1) */
  .categories-compact__list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px 6px !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }

  .categories-compact__item {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 10px 8px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
  }

  .category-compact {
    display: flex !important;
    width: 100% !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-decoration: none !important;
  }

  .category-compact__content {
    display: flex !important;
    width: 100% !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .category-compact__name {
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    line-height: 1.3 !important;
  }

  .category-compact__products-count {
    color: #94a3b8 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    margin-left: 4px !important;
  }
}

/* --------------------------------------------------------
   4. ДЕСКТОПНЫЙ РЕЖИМ (>= 1024px)
   -------------------------------------------------------- */
@media (min-width: 1024px) {
  .r-header.r-hidden-desktop,
  .fixed-bar,
  .r-product-skus-table.r-hidden-desktop {
    display: none !important;
  }

  .products-thumbs.r-hidden-md {
    display: block !important;
  }

  /* Популярные категории каталога (Аккуратная премиум сетка на десктопе) */
  .categories-compact__list {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 16px !important;
    align-items: stretch !important;
  }

  .categories-compact.toggle-block .categories-compact__item {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.25s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 80px !important;
    padding: 14px 16px !important;
    text-align: center !important;
  }

  .categories-compact.toggle-block .categories-compact__item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
    border-color: #cbd5e1 !important;
    transform: translateY(-2px) !important;
  }

  .categories-compact.toggle-block .category-compact {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    text-decoration: none !important;
  }

  .category-compact__content {
    display: inline-flex !important;
    align-items: baseline !important;
    justify-content: center !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
  }

  .category-compact__link {
    color: #1e293b !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    transition: color 0.15s ease !important;
  }

  .categories-compact__item:hover .category-compact__link {
    color: #ed413b !important;
  }

  .category-compact__products-count {
    color: #94a3b8 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    vertical-align: super !important;
  }
}

/* --------------------------------------------------------
   5. ДЕСКТОПНАЯ КНОПКА WHATSAPP В ШАПКЕ
   -------------------------------------------------------- */
.kz-wa-header-pill {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 20px;
  margin-left: 14px;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
  vertical-align: middle;
}


/* --------------------------------------------------------
   6. КАЗАХСТАНСКАЯ КОРЗИНА И ЧЕКАУТ (.kz-checkout-*)
   -------------------------------------------------------- */
.kz-checkout-container {
  max-width: 1300px;
  margin: 20px auto 40px auto;
  padding: 0 16px;
  font-family: var(--font-family, 'Nunito Sans', sans-serif);
}

.kz-checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: start;
}

@media (max-width: 991px) {
  .kz-checkout-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.kz-checkout-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}

.kz-checkout-section-title {
  font-size: 18px;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f3f4f6;
}

/* Cart List */
.kz-cart-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.kz-cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  position: relative;
}

@media (max-width: 640px) {
  .kz-cart-item {
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 38px 12px 12px;
  }
  .kz-cart-item-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 8px;
  }
  .kz-cart-item-total {
    min-width: auto;
    margin-left: auto;
  }
}

.kz-cart-item-img {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.kz-cart-item-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.kz-cart-item-info {
  flex: 1;
  min-width: 140px;
}

.kz-cart-item-sku {
  font-size: 11px;
  color: #6b7280;
  font-weight: 600;
  text-transform: uppercase;
}

.kz-cart-item-title {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  text-decoration: none;
  display: block;
  line-height: 1.3;
  margin: 3px 0;
}

.kz-cart-item-title:hover {
  color: #ed413b;
}

.kz-cart-item-price {
  font-size: 13px;
  color: #4b5563;
  font-weight: 600;
}

.kz-cart-item-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.kz-cart-step-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: #f3f4f6;
  color: #111827;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.kz-cart-step-btn:hover {
  background: #e5e7eb;
}

.kz-cart-step-val {
  width: 42px;
  height: 32px;
  line-height: 32px;
  padding: 0 2px;
  text-align: center;
  border: none;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  outline: none;
  background: transparent;
  -moz-appearance: textfield;
}
.kz-cart-step-val::-webkit-outer-spin-button,
.kz-cart-step-val::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.kz-cart-item-total {
  font-size: 15px;
  font-weight: 800;
  color: #111827;
  min-width: 90px;
  text-align: right;
}

.kz-cart-item-remove {
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  color: #9ca3af;
  cursor: pointer;
  padding: 4px;
  transition: color 0.15s;
}

.kz-cart-item-remove:hover {
  color: #ef4444;
}

/* Forms */
.kz-order-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.kz-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 640px) {
  .kz-form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.kz-form-col, .kz-form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.kz-label {
  font-size: 13px;
  font-weight: 700;
  color: #374151;
}

.kz-input, .kz-select, .kz-textarea {
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  background: #ffffff;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
}

.kz-input:focus, .kz-select:focus, .kz-textarea:focus {
  border-color: #ed413b;
  box-shadow: 0 0 0 3px rgba(237, 65, 59, 0.12);
}

.kz-textarea {
  resize: vertical;
}

.kz-radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kz-radio-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  background: #ffffff;
  transition: border-color 0.15s, background 0.15s;
}

.kz-radio-label:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.kz-radio-label input[type="radio"] {
  margin-top: 3px;
  accent-color: #ed413b;
}

.kz-radio-title {
  font-size: 14px;
  font-weight: 700;
  color: #1f2937;
}

.kz-radio-desc {
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
}

.kz-btn-submit-order {
  background: linear-gradient(135deg, #ed413b 0%, #db2724 100%);
  color: #ffffff;
  border: none;
  padding: 16px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(237, 65, 59, 0.35);
  transition: transform 0.15s, opacity 0.15s;
  text-align: center;
  width: 100%;
  margin-top: 10px;
}

.kz-btn-submit-order:hover {
  opacity: 0.96;
  transform: translateY(-1px);
}

.kz-btn-submit-order:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.kz-error-banner {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
}

/* Order Summary Box */
.kz-summary-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
  position: sticky;
  top: 90px;
}

.kz-summary-title {
  font-size: 18px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f3f4f6;
}

.kz-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 10px;
}

.kz-summary-row .kz-val {
  font-weight: 700;
  color: #111827;
}

.kz-summary-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 16px 0;
}

.kz-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
}

.kz-summary-total span:first-child {
  font-size: 14px;
  font-weight: 800;
  color: #111827;
}

.kz-summary-total .kz-total-val {
  font-size: 24px;
  font-weight: 900;
  color: #ed413b;
}

.kz-summary-guarantee {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 12px;
  color: #475569;
  line-height: 1.6;
}

/* Order Success Screen */
.kz-order-success-card {
  max-width: 680px;
  margin: 40px auto;
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 30px;
  border: 1px solid #e5e7eb;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.kz-success-check {
  width: 72px;
  height: 72px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: bold;
  margin: 0 auto 20px auto;
}

.kz-success-title {
  font-size: 24px;
  font-weight: 900;
  color: #111827;
  margin-bottom: 8px;
}

.kz-success-number {
  font-size: 16px;
  color: #4b5563;
  margin-bottom: 16px;
}

.kz-success-number strong {
  color: #ed413b;
  font-size: 20px;
}

.kz-success-text {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 28px;
}

.kz-success-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
}

.kz-btn-success-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 20px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
  transition: background 0.15s;
}

.kz-btn-success-wa:hover {
  background: #20ba5a;
}

.kz-btn-success-catalog {
  display: inline-block;
  padding: 12px 20px;
  background: #f3f4f6;
  color: #374151 !important;
  font-weight: 700;
  font-size: 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
}

.kz-btn-success-catalog:hover {
  background: #e5e7eb;
}

/* Empty Cart */
.kz-empty-cart {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  max-width: 600px;
  margin: 30px auto;
}

.kz-empty-icon {
  font-size: 54px;
  margin-bottom: 14px;
}

.kz-empty-title {
  font-size: 22px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 8px;
}

.kz-empty-desc {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 24px;
}

.kz-btn-to-catalog {
  display: inline-block;
  background: #242321;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
}

.kz-btn-to-catalog:hover {
  background: #3e3d3b;
}


/* ========================================================
   ИП "СТРОЙ" - БРЕНДИНГ И УДАЛЕНИЕ НЕНУЖНЫХ ЭЛЕМЕНТОВ
   ======================================================== */
/* 1. Удаление выбора городов и кнопки Астана */
.header-top-bar__container-region,
.shop-regions-btn-wrapper,
.r-region-button,
.shop-regions-popup,
.shop-regions-window,
[class*="shop-regions"] {
  display: none !important;
}

/* 2. Удаление сравнения */
.product-compare,
.header-buttons__item_compare,
.compare-counter,
.r-product-compare,
[data-product_id] .product-compare,
a[href*="/compare/"],
a[href*="compare"] {
  display: none !important;
}

/* 3. Профиль доступен через нижний бар .fixed-bar и мобильное меню */
.header-buttons__item_user {
  display: none !important;
}

/* 4. Удаление Доставки и Оплаты в верхней строке */
.header-top-bar-links__item[data-key="1"],
.header-top-bar-links__item[data-key="2"],
.dropdown-links__item[data-key="1"],
.dropdown-links__item[data-key="2"],
.header-top-bar-links a[href*="/dostavka/"],
.header-top-bar-links a[href*="/oplata/"] {
  display: none !important;
}

/* 5. Удаление FAQ, Нормативных документов, Сервиса, Озон в футере */
a[href*="/faq/"],
a[href*="/normativnye-dokumenty/"],
a[href*="/servis/"],
.footer-socials-marketplaces,
.footer-socials-marketplaces__item,
.r-header-menu-socials-footer-marketplaces {
  display: none !important;
}

/* mobileHeaderFix_applied */

@media (max-width: 1023px) {
  .header,
  .index__header > .header,
  .header__top-bar,
  .header__middle-bar,
  .header__bottom-bar,
  .header-top-bar,
  .header-middle-bar,
  .header-bottom-bar {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    overflow: hidden !important;
  }
}


/* Устранение пустого пространства сверху на всех экранах (десктоп и мобильные) */
.index,
.index__wrapper {
  min-height: 0 !important;
  height: auto !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}
.index__content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ========================================================
   УДАЛЕНИЕ ВСЕХ ПОДРАЗДЕЛОВ "О КОМПАНИИ" ПО ВСЕМУ САЙТУ
   (Доставка, оплата, сотрудничество, наша команда, возврат,
    политика, спасибо, конфиденциальность, faq, сервис, нормативы)
   ======================================================== */
.pages-tree__item[data-page_id="11"],
.pages-tree__item[data-page_id="12"],
.pages-tree__item[data-page_id="15"],
.pages-tree__item[data-page_id="7"],
.pages-tree__item[data-page_id="2795"],
.pages-tree__item[data-page_id="10"],
.pages-tree__item[data-page_id="18"],
.pages-tree__item[data-page_id="2794"],
.pages-tree__item[data-page_id="9"],
.pages-tree__item[data-page_id="5"],
.pages-tree__item[data-page_id="17"],
.pages-tree__item[data-page_id="16"],
a[href*="/dostavka/"],
a[href*="/oplata/"],
a[href*="/sotrudnichestvo/"],
a[href*="/team/"],
a[href*="/vozvrat/"],
a[href*="/politika/"],
a[href*="/ok/"],
a[href*="/confiden/"],
a[href*="/faq/"],
a[href*="/servis/"],
a[href*="/normativnye-dokumenty/"] {
  display: none !important;
  visibility: hidden !important;
}


/* ========================================================
   АУТЕНТИЧНОЕ МОБИЛЬНОЕ МЕНЮ И КАТАЛОГ MEGAOPT DI01.RU
   ======================================================== */

/* Подложка затемнения для меню */
.kz-menu-backdrop {
  display: none !important;
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.65) !important;
  z-index: 99998 !important;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none !important;
}
.kz-menu-backdrop.kz-menu-backdrop_open {
  display: block !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Нативное выпадающее меню di01.ru */
.r-header-menu__dropdown {
  position: fixed !important;
  top: 0 !important;
  bottom: 0 !important;
  left: -320px !important;
  width: 289px !important;
  max-width: 85vw !important;
  background: #ffffff !important;
  z-index: 100000 !important;
  padding-top: 50px !important;
  padding-bottom: 70px !important;
  transition: left 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.18) !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  display: block !important;
}
.r-header-menu__dropdown.r-header-menu__dropdown_open {
  left: 0 !important;
}

/* Нативный полноэкранный мобильный каталог di01.ru */
.r-subdropdown.r-header-menu__subdropdown {
  display: none !important;
  position: fixed !important;
  inset: 0 !important;
  background: #ffffff !important;
  z-index: 100001 !important;
  padding-top: 54px !important;
  padding-bottom: 70px !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
}
.r-subdropdown.r-header-menu__subdropdown.r-subdropdown_open {
  display: block !important;
}
.r-subdropdown__header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 54px !important;
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 16px !important;
  z-index: 10 !important;
}
.r-subdropdown__header-title {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  text-align: center !important;
  flex: 1 !important;
}
.r-subdropdown__header-back,
.r-subdropdown__header-close {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  color: #64748b !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

/* Нативные горизонтальные карточки каталога товаров .r-product-skus-table */
.r-product-skus-table {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}
.r-product-skus-table__sku {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  padding: 12px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  box-sizing: border-box !important;
}
.r-product-skus-table__content {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
}
.r-product-skus-table__img {
  width: 80px !important;
  min-width: 80px !important;
  height: 80px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background: #f8fafc !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}
.r-product-skus-table__img img {
  width: 80px !important;
  height: 80px !important;
  object-fit: contain !important;
}
.r-product-skus-table__info {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  flex: 1 !important;
  min-width: 0 !important;
}
.r-product-skus-table__article {
  font-size: 12px !important;
  color: #64748b !important;
}
.r-product-skus-table__info a.link {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  color: #1e293b !important;
  text-decoration: none !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}
.r-product-skus-table__stocks {
  display: flex !important;
  align-items: center !important;
  font-size: 12.5px !important;
}
.r-product-skus-table__prices {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  padding: 4px 0 !important;
}
.r-product-skus-table__price-value .price {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
}
.r-product-skus-table__buttons {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 4px !important;
}
.r-product-skus-table__quantity-holder {
  flex-shrink: 0 !important;
}
.r-product-skus-table__quantity {
  display: inline-flex !important;
  align-items: center !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  height: 38px !important;
}
.quantity2__btn {
  width: 32px !important;
  height: 38px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f8fafc !important;
  cursor: pointer !important;
  color: #475569 !important;
}
.quantity2__input {
  width: 38px !important;
  height: 38px !important;
  border: none !important;
  border-left: 1px solid #cbd5e1 !important;
  border-right: 1px solid #cbd5e1 !important;
  text-align: center !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  padding: 0 !important;
}
.r-product-skus-table__add-to-cart-holder {
  flex: 1 !important;
}
.r-product-skus-table__add-to-cart {
  width: 100% !important;
  height: 38px !important;
  background: #242321 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background 0.15s ease !important;
}
.r-product-skus-table__add-to-cart:hover,
.r-product-skus-table__add-to-cart:active {
  background: #000000 !important;
}

/* Разделение десктопного и мобильного каталога */
@media (min-width: 1024px) {
  .r-product-skus-table,
  .r-subcategories,
  .r-filters,
  .product-page__responsive-content,
  .fixed-bar {
    display: none !important;
  }
  .products-thumbs {
    display: flex !important;
  }
  .category-page__subcategories {
    display: block !important;
  }
  .product-page__content {
    display: block !important;
  }
}

@media (max-width: 1023px) {
  .header:not(.r-header),
  .header-top-bar,
  .header-middle-bar,
  .header-bottom-bar,
  .products-thumbs,
  .category-page__subcategories,
  .product-page__content {
    display: none !important;
  }
  .r-product-skus-table {
    display: flex !important;
  }
  .r-subcategories {
    display: block !important;
    margin-bottom: 14px !important;
  }
  .products-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin-bottom: 14px !important;
    width: 100% !important;
  }
  .products-bar__sorting {
    flex: 1 !important;
    min-width: 0 !important;
    max-width: calc(100% - 120px) !important;
  }
  .products-bar__filters {
    flex-shrink: 0 !important;
    display: block !important;
  }
  .r-filters__toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 38px !important;
    padding: 0 14px !important;
    border-radius: 19px !important;
    background: #f1f5f9 !important;
    color: #1e293b !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border: 1px solid #e2e8f0 !important;
  }

  /* Адаптация карточки товара */
  .product-cart-form__container {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: wrap !important;
    width: 100% !important;
  }
  .product-cart-form__container-image {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 16px auto !important;
    display: flex !important;
    justify-content: center !important;
  }
  .product-cart-form__container-content {
    width: 100% !important;
    max-width: 100% !important;
  }
  .product-images {
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
  }
  .product-page__responsive-content {
    display: block !important;
    width: 100% !important;
    margin-top: 20px !important;
  }
  .responsive-tabs__tab-container {
    border-bottom: 1px solid #e2e8f0 !important;
  }
  .responsive-tabs__tab-header-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 14px 4px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    cursor: pointer !important;
  }
  .responsive-tabs__tab-content-container {
    display: none !important;
    padding: 8px 12px 16px 12px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #334155 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: auto !important;
  }
  .responsive-tabs__tab-content-container * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .responsive-tabs__tab-content-container table {
    width: 100% !important;
    display: table !important;
    white-space: normal !important;
    table-layout: auto !important;
  }
  .responsive-tabs__tab-content-container th,
  .responsive-tabs__tab-content-container td {
    white-space: normal !important;
    word-break: break-word !important;
    padding: 8px 8px !important;
  }
  .responsive-tabs__tab-container_selected .responsive-tabs__tab-content-container {
    display: block !important;
  }
  .responsive-tabs__tab-container_selected .responsive-tabs__tab-header-arrow {
    transform: rotate(90deg) !important;
  }
}


/* ========================================================
   ДОПОЛНИТЕЛЬНЫЕ МОБИЛЬНЫЕ СТИЛИ ДЛЯ КАТАЛОГА И ТАБЛИЦ МОДИФИКАЦИЙ
   ======================================================== */
body.r-popup-opened .r-header {
  display: flex !important;
}

.r-subdropdown.r-header-menu__subdropdown.r-subdropdown_open {
  display: block !important;
  position: fixed !important;
  inset: 0 !important;
  background: #ffffff !important;
  z-index: 100005 !important;
  padding-top: 54px !important;
  padding-bottom: 70px !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

@media (max-width: 1023px) {
  .product-skus-table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 8px !important;
  }
  .product-skus-table table {
    width: 100% !important;
    min-width: 0 !important;
    border-collapse: collapse !important;
    table-layout: auto !important;
  }
  .product-skus-table .product-skus-table__cell_no-visible,
  .product-skus-table th[data-label=""] {
    display: none !important;
  }
  .product-skus-table .product-cart-form__skus-table,
  .product-skus-table th:first-child,
  .product-skus-table td:first-child {
    font-size: 11px !important;
  }
  .product-skus-table th,
  .product-skus-table td {
    padding: 6px 3px !important;
    font-size: 12px !important;
    vertical-align: middle !important;
    width: auto !important;
  }
  .product-skus-table .product-skus-table__cell_price .price,
  .product-skus-table .zero-price-text {
    font-size: 12.5px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }
  .product-skus-table .quantity2 {
    display: inline-flex !important;
    align-items: center !important;
    height: 32px !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    border: 1px solid #e0e0e0 !important;
  }
  .product-skus-table .quantity2__btn {
    width: 22px !important;
    min-width: 22px !important;
    height: 30px !important;
    padding: 0 !important;
  }
  .product-skus-table .quantity2__input {
    width: 24px !important;
    min-width: 24px !important;
    height: 30px !important;
    font-size: 12px !important;
    padding: 0 !important;
    text-align: center !important;
  }
  .product-skus-table .button,
  .product-skus-table .r-product-skus-table__add-to-cart {
    display: inline-block !important;
    height: 32px !important;
    line-height: 32px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    border-radius: 6px !important;
  }
}


/* ========================================================
   ПОЛНАЯ СИНХРОНИЗАЦИЯ: УДАЛЕНИЕ ПРОФИЛЯ И ВХОДА НА САЙТ
   ======================================================== */
.fixed-bar__item_user,
.header-buttons__item_user,
a[href*="/login/"],
a[href*="/my/profile/"],
a[href*="/signup/"],
.r-header-menu__dropdown-list:has(a[href*="/login/"]) {
  display: none !important;
}

@media (max-width: 1023px) {
  .fixed-bar__menu {
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
  }
  .fixed-bar__item {
    flex: 1 1 25% !important;
    max-width: 25% !important;
    text-align: center !important;
  }
}



/* ИЗОЛЯЦИЯ И УСТРАНЕНИЕ НАЛОЖЕНИЙ ПРИ ОТКРЫТОМ МЕНЮ */
body.kz-menu-opened .r-header,
body.r-popup-opened .r-header {
  background: transparent !important;
  box-shadow: none !important;
}

body.kz-menu-opened .r-header__list,
body.r-popup-opened .r-header__list {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  transition: opacity 0.2s ease !important;
}

body.kz-menu-opened .fixed-bar,
body.r-popup-opened .fixed-bar {
  opacity: 0.15 !important;
  pointer-events: none !important;
  transition: opacity 0.2s ease !important;
}

.r-header-menu__dropdown {
  position: fixed !important;
  top: 0 !important;
  bottom: 0 !important;
  left: -320px !important;
  width: 289px !important;
  max-width: 85vw !important;
  background: #ffffff !important;
  z-index: 100000 !important;
  padding-top: 50px !important;
  padding-bottom: 70px !important;
  transition: left 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.3) !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  display: block !important;
}

.r-header-menu__dropdown.r-header-menu__dropdown_open {
  left: 0 !important;
}

.r-header-menu__dropdown-header {
  position: absolute !important;
  top: 12px !important;
  right: 14px !important;
  z-index: 10 !important;
}

.r-header-menu__dropdown-close {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  color: #64748b !important;
  background: #f1f5f9 !important;
  border-radius: 50% !important;
  text-decoration: none !important;
}



/* ========================================================
   ДЕСКТОПНЫЙ КАТАЛОГ: БЕЛЫЙ НЕПРОЗРАЧНЫЙ ФОН И ПРАВИЛЬНЫЙ Z-INDEX
   ======================================================== */
.header.header_with-border {
  position: relative !important;
  z-index: 102 !important;
}

.header__dropdown-bar,
.header-dropdown-bar {
  position: relative !important;
  z-index: 100 !important;
}

.catalog-dropdown {
  position: relative !important;
  z-index: 101 !important;
  background: #ffffff !important;
  border-radius: 0 0 10px 10px !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25) !important;
}

.catalog-dropdown_extend::before,
.catalog-dropdown_flat::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: #ffffff !important;
  border-radius: 0 0 10px 10px !important;
  z-index: -1 !important;
}

.catalog-extend__list-container {
  background: #fbfbfc !important;
  border-right: 1px solid #f0f0f0 !important;
  border-bottom-left-radius: 10px !important;
}

.catalog-extend__columns-container {
  background: #ffffff !important;
  border-bottom-right-radius: 10px !important;
}


/* ========================================================
   МОБИЛЬНАЯ ВЕРСИЯ: ПОЛНОЕ УСТРАНЕНИЕ ЗАТЕМНЕНИЯ / НАЛОЖЕНИЯ
   На мобильных экранах (<=1023px) .header-overlay категорически отключается,
   так как мобильный интерфейс использует собственный нативный бэкдроп .kz-menu-backdrop.
   Это предотвращает заливку контента страниц темным оверлеем при открытии/закрытии
   каталога, меню, корзины или фильтров.
   ======================================================== */
@media (max-width: 1023px) {
  .header-overlay,
  .header-overlay.header-overlay_enabled,
  body .header-overlay,
  body .header-overlay_enabled {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
    z-index: -9999 !important;
  }
}


/* ========================================================
   34. ФИРМЕННЫЙ БАННЕР ИП "СТРОЙ" С ПОЖАРНЫМИ И КНОПКАМИ
   БЕЗ ОБРЕЗКИ И С МАКСИМАЛЬНЫМ HD КАЧЕСТВОМ (2560x853)
   ======================================================== */
.opt-storefront_dark::before {
  display: none !important;
}
.opt-storefront__title {
  display: none !important;
}
.opt-storefront__advantages {
  display: none !important;
}
.opt-storefront__help {
  display: none !important;
}
.opt-storefront__buttons {
  display: none !important;
}
.opt-storefront__content {
  display: none !important;
}

/* Кнопка "Каталог" в мобильной шапке (в точности как на di01.ru оригинал) */
.kz-mob-catalog-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #242321 !important;
  color: #ffffff !important;
  padding: 6px 14px !important;
  border-radius: 20px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  margin-right: 6px !important;
  transition: background 0.15s ease !important;
}
.kz-mob-catalog-btn:hover {
  background: #3d3b38 !important;
  color: #ffffff !important;
}

/* ========================================================
   34. ФИРМЕННЫЙ БАННЕР ИП "СТРОЙ" С ПОЖАРНЫМИ (FULL-BLEED HD)
   ПО БОКАМ ЗАКРЫВАЕТ КАК В ОРИГИНАЛЕ, БЕЗ СЕРЫХ ПОЛЕЙ
   ======================================================== */
.blocks__item-opt_storefront {
  margin-top: -24px !important;
  margin-bottom: 0 !important;
  background: #000000 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}
.blocks__item-opt_storefront .home-block,
.blocks__item-opt_storefront .home-block_custom_bg {
  background-color: #000000 !important;
  --home-block-bg-color: #000000 !important;
  padding: 0 !important;
  margin: 0 !important;
  height: auto !important;
}
.blocks__item-opt_storefront .container {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
.opt-storefront,
.opt-storefront.opt-storefront__auth.opt-storefront_dark {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: block !important;
  background: #000000 !important;
}
.opt-storefront__bg,
.opt-storefront__bg_full {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  height: auto !important;
  display: block !important;
}
.opt-storefront__bg_full img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Популярные категории каталога — предотвращение наложения на нижнюю планку логотипов баннера */
.blocks__item.blocks__item_home.blocks__item-categories {
  margin-top: 0 !important;
}
.blocks__item.blocks__item_home.blocks__item-categories .home-block {
  padding-top: 36px !important;
}

@media (max-width: 1023px) {
  .blocks__item-opt_storefront {
    margin-top: -15px !important;
  }
  .blocks__item-opt_storefront .container {
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .opt-storefront__bg_full {
    border-radius: 0 !important;
    box-shadow: none !important;
  }
}


/* ==========================================================================
   КАТЕГОРИИ И ФИЛЬТРЫ: ЧЕКБОКСЫ И МОБИЛЬНЫЙ ФИЛЬТР
   ========================================================================== */
.checkbox {
  cursor: pointer !important;
  user-select: none !important;
  display: inline-flex !important;
  align-items: center !important;
}

.checkbox__control {
  cursor: pointer !important;
}

.checkbox__mark {
  position: relative !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
  margin-right: 10px !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 4px !important;
  width: 18px !important;
  height: 18px !important;
  background-color: #ffffff !important;
  transition: all 0.15s ease-in-out !important;
  box-sizing: border-box !important;
}

.checkbox:hover .checkbox__mark {
  border-color: #ed413b !important;
}

/* Активное состояние чекбокса */
.checkbox__control:checked ~ .checkbox__mark,
.checkbox.is-checked .checkbox__mark {
  background-color: #ed413b !important;
  border-color: #ed413b !important;
}

/* Белая галочка внутри чекбокса */
.checkbox__control:checked ~ .checkbox__mark::before,
.checkbox.is-checked .checkbox__mark::before {
  opacity: 1 !important;
  content: "" !important;
  display: block !important;
  position: absolute !important;
  top: 40% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) rotate(-45deg) !important;
  width: 9px !important;
  height: 5px !important;
  border-left: 2px solid #ffffff !important;
  border-bottom: 2px solid #ffffff !important;
}

/* Стилизация полей поиска внутри фильтра */
.sidebar-filters .filter__header {
  font-weight: 600 !important;
  color: #1e293b !important;
}

.sidebar-filters .filter__search-field {
  border: 1px solid #e2e8f0 !important;
  border-radius: 6px !important;
  padding: 6px 12px !important;
  font-size: 13px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  outline: none !important;
}

.sidebar-filters .filter__search-field:focus {
  border-color: #ed413b !important;
  box-shadow: 0 0 0 2px rgba(237, 65, 59, 0.15) !important;
}

.sidebar-filters .filters__submit-button {
  background-color: #ed413b !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
}

.sidebar-filters .filters__submit-button:hover {
  background-color: #d83530 !important;
}

/* Мобильный аккордеон фильтрации (в точности как на di01.ru оригинал) */
@media (max-width: 1023px) {
  .content-columns__sidebar .sidebar-filters,
  .sidebar-filters {
    display: block !important;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    margin: 10px 0 16px 0 !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
  }

  .content-columns__sidebar .sidebar-filters .sidebar-filters__header,
  .sidebar-filters .sidebar-filters__header {
    display: flex !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 46px !important;
    z-index: 1 !important;
    box-sizing: border-box !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 16px !important;
    background: #f1f5f9 !important;
    cursor: pointer !important;
    font-size: 15.5px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    border-bottom: 1px solid #e2e8f0 !important;
    user-select: none !important;
  }

  .content-columns__sidebar .sidebar-filters.accordion-block_closed .sidebar-filters__header,
  .sidebar-filters.accordion-block_closed .sidebar-filters__header {
    border-bottom: none !important;
  }

  .content-columns__sidebar .sidebar-filters .sidebar-block__content,
  .sidebar-filters .sidebar-block__content {
    display: block !important;
    padding: 14px 16px !important;
  }

  .content-columns__sidebar .sidebar-filters.accordion-block_closed .sidebar-block__content,
  .sidebar-filters.accordion-block_closed .sidebar-block__content {
    display: none !important;
  }

  .content-columns__sidebar .sidebar-filters .filters__footer,
  .sidebar-filters .filters__footer {
    position: static !important;
    background: transparent !important;
    padding: 14px 0 0 0 !important;
    border-top: 1px solid #e2e8f0 !important;
    display: flex !important;
    gap: 10px !important;
    box-shadow: none !important;
    z-index: 1 !important;
  }

  .sidebar-filters .filters__submit-button {
    flex: 2 !important;
    height: 42px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    background: #ed413b !important;
    color: #ffffff !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .sidebar-filters .filters__reset-button {
    flex: 1 !important;
    height: 42px !important;
    font-size: 13.5px !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #475569 !important;
    border: 1px solid #cbd5e1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* ==========================================================================
   КНОПКИ БЫСТРОГО ЗАКАЗА В WHATSAPP НА КАРТОЧКАХ ТОВАРОВ
   ========================================================================== */
.product-thumb__buttons {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px !important;
  width: 100% !important;
  margin-top: 10px !important;
}

.product-thumb__buttons-main {
  width: 100% !important;
  flex: none !important;
  min-width: 0 !important;
}

.product-thumb__buttons-main form {
  width: 100% !important;
  margin: 0 !important;
}

.product-thumb__add-to-cart {
  width: 100% !important;
  height: 38px !important;
  padding: 0 12px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
  box-sizing: border-box !important;
}

.kz-card-wa-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  flex: none !important;
  min-width: 0 !important;
  height: 38px !important;
  padding: 0 12px !important;
  border-radius: 8px !important;
  background-color: #25d366 !important;
  color: #ffffff !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  transition: background-color 0.15s ease, transform 0.1s ease !important;
  cursor: pointer !important;
  margin: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.25) !important;
}

.kz-card-wa-btn span,
.kz-card-wa-btn-mob span,
.kz-product-wa-btn span {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.kz-card-wa-btn svg,
.kz-card-wa-btn-mob svg,
.kz-product-wa-btn svg {
  flex-shrink: 0 !important;
}

.kz-card-wa-btn:hover {
  background-color: #20ba5a !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

.kz-card-wa-btn:active {
  transform: scale(0.98) !important;
}

/* Мобильная кнопка WhatsApp в таблице товаров */
.r-product-skus-table__buttons {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
}

.r-product-skus-table__quantity-holder {
  flex-shrink: 0 !important;
}

.r-product-skus-table__add-to-cart-holder {
  flex: 1 1 auto !important;
  min-width: 120px !important;
}

.r-product-skus-table__add-to-cart {
  width: 100% !important;
  height: 38px !important;
  padding: 0 12px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
}

.kz-card-wa-btn-mob {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 38px !important;
  padding: 0 12px !important;
  border-radius: 8px !important;
  background-color: #25d366 !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  width: 100% !important;
  flex: 1 1 100% !important;
  min-width: 0 !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.25) !important;
}

.kz-card-wa-btn-mob:hover {
  background-color: #20ba5a !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

/* Кнопка WhatsApp на детальной странице товара */
.kz-product-wa-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  height: 44px !important;
  padding: 0 20px !important;
  border-radius: 8px !important;
  background-color: #25d366 !important;
  color: #ffffff !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  margin-top: 14px !important;
  margin-bottom: 14px !important;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3) !important;
  transition: all 0.2s ease !important;
  max-width: 280px !important;
  width: auto !important;
  box-sizing: border-box !important;
}

.kz-product-wa-btn:hover {
  background-color: #20ba5a !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4) !important;
  text-decoration: none !important;
}

/* Контейнер для кнопок WhatsApp и «ТЗ для тендеров» в карточке товара */
.kz-product-actions-group {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: 14px !important;
  margin-bottom: 14px !important;
}

.kz-product-actions-group .kz-product-wa-btn {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Кнопка скачивания файла «ТЗ для тендеров» (показывается только при наличии файла) */
.kz-tender-tz-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 10px 18px !important;
  min-height: 44px !important;
  background-color: #f5f6f8 !important;
  border: 1px solid #eceef2 !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease !important;
}

.kz-tender-tz-btn:hover {
  background-color: #eceef2 !important;
  border-color: #dde1e8 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06) !important;
  text-decoration: none !important;
}

.kz-tender-tz-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.kz-tender-tz-text {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  line-height: 1.25 !important;
}

.kz-tender-tz-title {
  font-size: 14.5px !important;
  font-weight: 500 !important;
  color: #111827 !important;
  white-space: nowrap !important;
}

.kz-tender-tz-meta {
  font-size: 12px !important;
  font-weight: 400 !important;
  color: #6b7280 !important;
  margin-top: 2px !important;
  white-space: nowrap !important;
}

/* Всплывающее уведомление о добавлении в корзину (Toast) */
.kz-cart-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #1e293b;
  color: #ffffff;
  padding: 14px 20px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 9999999;
  font-size: 14px;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  max-width: 380px;
}

.kz-cart-toast.kz-cart-toast_visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.kz-cart-toast__link {
  background: #ed413b;
  color: #ffffff !important;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
  font-size: 13px;
  margin-left: auto;
}

.kz-cart-toast__link:hover {
  background: #d83530;
}

@media (max-width: 767px) {
  .kz-cart-toast {
    bottom: 70px;
    left: 16px;
    right: 16px;
    max-width: calc(100vw - 32px);
  }
}


/* === KZ CERTIFICATES SECTION STYLES === */
.sertificate-block {
  background: #f8fafc !important;
  padding: 55px 0 65px !important;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  overflow: visible !important;
}

.kz-sert-header {
  text-align: center;
  margin-bottom: 36px;
}

.sertificate-block h2 {
  font-size: 36px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 0 12px 0 !important;
  text-align: center !important;
  letter-spacing: -0.5px;
}

.kz-sert-subtitle {
  font-size: 16px;
  color: #64748b;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.5;
}

.kz-certificates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.kz-cert-card {
  position: relative;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.kz-cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
  border-color: #cbd5e1;
}

.kz-cert-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #e02424;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(224, 36, 36, 0.35);
}

.kz-cert-preview {
  position: relative;
  cursor: pointer;
  background: #f1f5f9;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
  height: 400px;
}

.kz-cert-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.kz-cert-card:hover .kz-cert-preview img {
  transform: scale(1.02);
}

.kz-cert-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(2px);
}

.kz-cert-preview:hover .kz-cert-overlay {
  opacity: 1;
}

.kz-cert-zoom-btn {
  background: #ffffff;
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transform: translateY(6px);
  transition: transform 0.2s ease;
}

.kz-cert-preview:hover .kz-cert-zoom-btn {
  transform: translateY(0);
}

.kz-cert-info {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.kz-cert-name {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.kz-cert-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
  margin: 0 0 14px 0;
  flex-grow: 1;
}

.kz-cert-meta {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 0;
  font-size: 13px;
  color: #334155;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.kz-cert-meta span strong {
  color: #0f172a;
}

.kz-cert-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.kz-cert-btn-view {
  flex: 1;
  background: #e02424;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s ease, transform 0.15s ease;
}

.kz-cert-btn-view:hover {
  background: #c81e1e;
  transform: translateY(-1px);
}

.kz-cert-btn-download {
  flex: 1;
  background: #f1f5f9;
  color: #1e293b;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none !important;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.kz-cert-btn-download:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
  color: #0f172a;
  transform: translateY(-1px);
}

/* Modal Lightbox */
.kz-cert-modal {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.kz-cert-modal-dialog {
  position: relative;
  max-width: 960px;
  width: 100%;
  max-height: 94vh;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  animation: kzModalIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes kzModalIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.kz-cert-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  background: #0f172a;
  color: #ffffff;
}

.kz-cert-modal-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.kz-cert-modal-close {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.kz-cert-modal-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.kz-cert-modal-body {
  padding: 20px;
  overflow-y: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  max-height: calc(94vh - 130px);
}

.kz-cert-modal-body img {
  max-width: 100%;
  max-height: calc(94vh - 170px);
  object-fit: contain;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  border-radius: 6px;
}

.kz-cert-modal-footer {
  padding: 14px 22px;
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .kz-certificates-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 12px;
  }
  .kz-cert-preview {
    height: 320px;
  }
  .sertificate-block h2 {
    font-size: 28px !important;
  }
  .sertificate-block {
    padding: 35px 0 45px !important;
  }
  .kz-cert-card {
    padding: 18px;
  }
  .kz-cert-modal-dialog {
    max-height: 96vh;
    border-radius: 10px;
  }
  .kz-cert-modal-body {
    padding: 10px;
    max-height: calc(96vh - 120px);
  }
  .kz-cert-modal-body img {
    max-height: calc(96vh - 140px);
  }
  .kz-cert-actions {
    flex-direction: column;
  }
  .kz-cert-btn-view, .kz-cert-btn-download {
    width: 100%;
  }
}
/* === END KZ CERTIFICATES SECTION STYLES === */

/* Hide action buttons requested by user */
.kz-cert-actions { display: none !important; }
.kz-cert-meta { margin-bottom: 0 !important; }


/* === KZ CONTACTS CLEAN STYLES === */
.kz-contact-clean {
  padding: 10px 0 20px;
}
.kz-contact-clean h2 {
  font-size: 26px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 0 24px 0 !important;
}
.kz-contact-clean p {
  font-size: 16px !important;
  line-height: 1.6 !important;
  margin-bottom: 22px !important;
  color: #334155 !important;
}
.kz-contact-clean strong {
  color: #0f172a !important;
  font-size: 16px;
}
.kz-contact-clean a.tell {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  text-decoration: none !important;
}
.kz-contact-clean a.tell:hover {
  color: #e02424 !important;
}
.kz-contact-clean .mail-icon a {
  font-size: 17px !important;
  font-weight: 600 !important;
  color: #e02424 !important;
  text-decoration: none !important;
}
.kz-contact-clean .mail-icon a:hover {
  text-decoration: underline !important;
}

.footer-disclaimer {
  display: none !important;
}

/* === KZ CERTIFICATES FOOTER BANNER === */
.kz-sert-footer-banner {
  max-width: 1140px;
  margin: 32px auto 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.kz-sert-footer-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #e02424;
  border-radius: 12px;
  padding: 18px 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kz-sert-footer-banner__inner:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.kz-sert-footer-banner__icon {
  flex-shrink: 0;
  color: #e02424;
}

.kz-sert-footer-banner__text {
  font-size: 16px;
  line-height: 1.5;
  color: #334155;
  font-weight: 500;
}

.kz-sert-footer-banner__text strong {
  color: #0f172a;
  font-weight: 700;
}

@media (max-width: 768px) {
  .kz-sert-footer-banner {
    margin-top: 20px;
    padding: 0 12px;
  }
  .kz-sert-footer-banner__inner {
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
  }
  .kz-sert-footer-banner__text {
    font-size: 14px;
  }
}

/* Отображение "Цена по запросу" для товаров с ценой 0 ₸ */
.zero-price-text {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #1e40af !important;
  white-space: nowrap !important;
  line-height: 1.3 !important;
}

span.price.zero-price-text,
.product-thumb__price.zero-price-text,
.r-product-skus-table__sku .price.zero-price-text {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #1e40af !important;
}

/* Полное скрытие блоков "С этим товаром покупают" и cross-selling */
#crossselling,
#upselling,
.blocks__item-crossselling,
.blocks__item-upselling,
[id*="crosssell"],
[id*="upsell"],
section[id="crossselling"],
section[id="upselling"] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Полное скрытие надписей наличия, галочек (#available), городов и остатков */
.stock-count,
.stock-count__icon,
.stock-count__text,
.stock-count__qty,
.stock-count--out,
.stock-count__text--out,
.stock-count-out,
.product-thumb__available,
.product-page__available,
.r-product-skus-table__stocks,
.r-product-skus-table__stock,
.product-skus-table__available-status {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}



/* Полное скрытие старых зачеркнутых цен и скидок для товаров "Цена по запросу" */
.product-thumb__compare-price-block {
  display: none !important;
}
.product-cart-form__compare-price {
  display: none !important;
}

/* Гарантия видимости фотографий товаров в галерее, слайдерах и миниатюрах */
img.lazy-image_loaded,
img.lazy-image_ready,
.product-images img[src*="/wa-data/"],
.product-gallery img[src*="/wa-data/"],
.product-thumbs img[src*="/wa-data/"],
.product-thumb img[src*="/wa-data/"] {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Быстрый живой поиск с подсказками в шапке */
.input-search,
.search-form,
.r-search-form {
  position: relative !important;
  overflow: visible !important;
}
.is-box,
.is-overlay,
#is-overlay-query,
#is-overlay-wrap,
#is-overlay-panel,
#is-overlay-frame-wrap,
#is-overlay-iframe,
.is-spinner-big {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.kz-search-suggest {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.16);
  z-index: 99999;
  max-height: 430px;
  overflow-y: auto;
  text-align: left;
}
.kz-search-suggest__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  text-decoration: none;
  color: #0f172a;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.12s ease;
}
.kz-search-suggest__item:hover,
.kz-search-suggest__item.is-active {
  background: #fff5f5;
}
.kz-search-suggest__thumb {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}
.kz-search-suggest__meta {
  flex: 1;
  min-width: 0;
}
.kz-search-suggest__title {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kz-search-suggest__sub {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kz-search-suggest__price {
  font-size: 12.5px;
  font-weight: 700;
  color: #ed413b;
  white-space: nowrap;
}
.kz-search-suggest__footer {
  display: block;
  text-align: center;
  padding: 9px 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: #ed413b;
  background: #f8fafc;
  text-decoration: none;
  border-top: 1px solid #e2e8f0;
}
.kz-search-suggest__footer:hover {
  background: #fee2e2;
}
.kz-search-suggest__empty {
  padding: 14px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}
.kz-search-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 12px;
  background: #f8fafc;
}
.kz-search-chip {
  font-size: 12px;
  padding: 4px 10px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  color: #334155;
  text-decoration: none;
  cursor: pointer;
}
.kz-search-chip:hover {
  border-color: #ed413b;
  color: #ed413b;
}

/* Empty states (catalog filters & global search) */
.kz-empty-filter,
.kz-search-empty {
  text-align: center;
  padding: 36px 20px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  margin: 16px 0;
  color: #334155;
}
.kz-empty-filter h3,
.kz-search-empty h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
}
.kz-empty-filter p,
.kz-search-empty p {
  margin: 0 0 16px 0;
  font-size: 14px;
  color: #64748b;
}

/* Global overflow safety + narrow mobile header (320px - 420px) */
@media (max-width: 1024px) {
  html,
  body {
    max-width: 100% !important;
    overflow-x: clip !important;
  }
}

@media (max-width: 420px) {
  .r-header.r-hidden-desktop {
    padding: 0 8px !important;
    overflow: hidden !important;
  }
  .r-header__list_left {
    gap: 5px !important;
    min-width: 0 !important;
  }
  .r-header__list_right {
    gap: 7px !important;
    flex-shrink: 0 !important;
  }
  .r-header-logo img,
  .r-header-logo__image {
    height: 20px !important;
    max-height: 20px !important;
    max-width: 96px !important;
  }
  .kz-mob-catalog-btn {
    padding: 4px 9px !important;
    font-size: 12px !important;
    gap: 4px !important;
    margin-right: 0 !important;
  }
  .r-header__list-item-link_phone.r-header-contacts-btn {
    padding: 3px 6px !important;
    height: 26px !important;
  }
}

@media (max-width: 359px) {
  .r-header.r-hidden-desktop {
    padding: 0 6px !important;
  }
  .r-header__list_left {
    gap: 4px !important;
  }
  .r-header__list_right {
    gap: 5px !important;
  }
  .r-header-logo img,
  .r-header-logo__image {
    height: 18px !important;
    max-height: 18px !important;
    max-width: 76px !important;
  }
  .kz-mob-catalog-btn {
    padding: 4px 7px !important;
    font-size: 11px !important;
    gap: 3px !important;
  }
  .kz-mob-catalog-btn svg {
    width: 11px !important;
    height: 11px !important;
  }
  .r-header__list-item-link_phone.r-header-contacts-btn {
    padding: 2px 5px !important;
    height: 24px !important;
  }
  .r-header__list-item-link_phone.r-header-contacts-btn .svg-icon {
    width: 13px !important;
    height: 13px !important;
  }
  .r-header__list-item-link_search .svg-icon,
  .r-header__list-item-link .svg-icon {
    width: 18px !important;
    height: 18px !important;
  }
}

/* ========================================================
   УНИФИЦИРОВАННЫЕ ПРЕВЬЮ КАРТОЧЕК, ГАЛЕРЕЯ ТОВАРА И ЛАЙТБОКС-ЗУМ
   ======================================================== */
.product-thumb__image-container {
  aspect-ratio: 1 / 1;
  width: 100%;
  background: #f8f9fa !important;
  border-radius: 8px !important;
  padding: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  position: relative;
}
.product-thumb__image-container .product-thumb__image-box,
.product-thumb__image-container .product-thumb__gallery-d {
  width: 100%;
  height: 100%;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
}
.product-thumb__image-container .product-thumb__gallery-image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.product-thumb__image-container .product-thumb__gallery-image[style*="display: none"],
.product-thumb__image-container .product-thumb__gallery-image[style*="display:none"],
.product-thumb__image-container .product-thumb__gallery-image.is-hidden {
  display: none !important;
}
.product-thumb__gallery-field-pagination {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  z-index: 10 !important;
}
.product-thumb__gallery-field-item {
  flex: 1 1 0 !important;
  height: 100% !important;
  cursor: pointer !important;
}
.product-thumb__gallery-pagination {
  position: absolute !important;
  bottom: 6px !important;
  left: 0 !important;
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 4px !important;
  z-index: 12 !important;
  pointer-events: auto !important;
}
.gallery-pagination__bullet {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: rgba(0, 0, 0, 0.25) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
.gallery-pagination__bullet_active {
  background: #ed413b !important;
  width: 8px !important;
  height: 8px !important;
}
.product-thumb__image-container img {
  width: 100%;
  height: 100%;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  display: block !important;
}
.r-product-skus-table__img {
  width: 84px !important;
  min-width: 84px !important;
  height: 84px !important;
  aspect-ratio: 1 / 1;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
  flex-shrink: 0;
}
.r-product-skus-table__img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

/* Детальная галерея на странице товара (вертикальная лента слева + квадратное фото справа) */
.product-images.kz-gallery-enhanced {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 14px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
.product-images__thumbs-column {
  order: 1;
  flex: 0 0 64px;
  width: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-sizing: border-box;
}
.kz-thumb-arrow {
  width: 60px;
  height: 22px;
  padding: 0;
  margin: 0;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  color: #1e293b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}
.kz-thumb-arrow:hover:not(:disabled) {
  border-color: #1a1a1a;
  color: #1a1a1a;
  background: #f8fafc;
}
.kz-thumb-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}
.product-images__images-container {
  order: 2;
  flex: 1 1 0%;
  min-width: 0;
  position: relative;
  aspect-ratio: 1 / 1;
  max-height: 460px;
  width: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
}
.product-images__images,
.product-images__images-wrapper,
.product-images__image {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
}
.product-images.kz-gallery-enhanced .swiper-wrapper {
  transform: none !important;
  transition: none !important;
}
.product-images.kz-gallery-enhanced .zoom__img,
.product-images.kz-gallery-enhanced .zoomImg {
  display: none !important;
  pointer-events: none !important;
}
.product-images.kz-gallery-enhanced .product-images__image {
  display: none !important;
}
.product-images.kz-gallery-enhanced .product-images__image.swiper-slide-active,
.product-images.kz-gallery-enhanced .product-images__image.product-images__image_active {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
@keyframes kzGalleryFade {
  from { opacity: 0.35; transform: scale(0.985); }
  to { opacity: 1; transform: scale(1); }
}
.product-images.kz-gallery-enhanced .product-images__image.is-switching img {
  animation: kzGalleryFade 0.2s ease;
}
.product-images__image a,
.product-images__image .image-box {
  width: 100%;
  height: 100%;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: zoom-in;
}
.product-images__image img {
  max-width: 100% !important;
  max-height: 420px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  transition: opacity 0.18s ease, transform 0.2s ease;
}
.product-images__image a:hover img {
  transform: scale(1.02);
}
.kz-gallery-zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 5;
  background: rgba(15, 23, 42, 0.72);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 600;
  cursor: zoom-in;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background 0.15s ease;
}
.kz-gallery-zoom-hint:hover {
  background: #ed413b;
}
.product-images__thumbs-container {
  margin: 0 !important;
  padding: 0 !important;
  width: 64px !important;
  max-height: 326px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  scroll-behavior: smooth;
  position: relative !important;
  box-sizing: border-box !important;
}
.product-images__thumbs-column_has-arrows .product-images__thumbs-container {
  max-height: 260px !important;
}
.product-images__thumbs-container::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.product-images.kz-gallery-enhanced .product-images__thumbs-container-wrapper,
.product-images.kz-gallery-enhanced .product-images__thumbs {
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}
.product-images.kz-gallery-enhanced .product-images__thumbs-wrapper {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  gap: 6px !important;
  transform: none !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
.product-images.kz-gallery-enhanced .product-images__thumb-slide {
  width: 60px !important;
  height: 60px !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 auto !important;
  box-sizing: border-box !important;
}
.product-images__thumb {
  position: relative;
  width: 60px !important;
  height: 60px !important;
  padding: 3px !important;
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 8px !important;
  cursor: pointer;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}
.product-images__thumb:hover {
  border-color: #94a3b8 !important;
}
.product-images__thumb.product-images__thumb_active,
.product-images__thumb.product-images__thumb_focus,
.product-images__thumb.product-images__thumb_active:hover,
.product-images__thumb.product-images__thumb_focus:hover {
  border: 1.5px solid #1a1a1a !important;
  box-shadow: 0 0 0 1px rgba(26, 26, 26, 0.12) !important;
}
.product-images__thumb .image-box {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ffffff !important;
}
.product-images__thumb img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}
.kz-thumb-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.84);
  color: #ffffff;
  font-size: 11px;
  padding-left: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  z-index: 2;
}
.kz-video-play-overlay {
  position: absolute;
  inset: 0;
  margin: auto;
  width: fit-content;
  height: fit-content;
  z-index: 6;
  background: rgba(15, 23, 42, 0.8);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, background 0.15s ease;
}
.kz-video-play-overlay[hidden] {
  display: none !important;
}
.kz-video-play-overlay:hover {
  background: #ed413b;
  transform: scale(1.04);
}
.kz-video-play-overlay__circle {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #ed413b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.kz-video-play-overlay__tri {
  font-size: 12px;
  padding-left: 2px;
}

#kz-video-modal {
  position: fixed;
  inset: 0;
  z-index: 100001;
  background: rgba(10, 15, 28, 0.92);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#kz-video-modal.is-open {
  display: flex;
}
.kz-video-modal__dialog {
  position: relative;
  width: min(860px, 94vw);
  background: #0f172a;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.kz-video-modal__frame-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}
.kz-video-modal__frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.kz-video-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
}
.kz-video-modal__footer {
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #cbd5e1;
  font-size: 13px;
}
.kz-video-modal__ext {
  color: #93c5fd;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .product-cart-form__container {
    flex-direction: column !important;
  }
  .product-cart-form__container-image,
  .product-cart-form__container-info {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
  }
  .product-images.kz-gallery-enhanced {
    flex-direction: column !important;
    gap: 10px !important;
  }
  .product-images.kz-gallery-enhanced .product-images__images-container {
    order: 1 !important;
    max-height: 340px !important;
    padding: 10px !important;
  }
  .product-images.kz-gallery-enhanced .product-images__thumbs-column {
    order: 2 !important;
    width: 100% !important;
    flex: 0 0 auto !important;
    display: block !important;
  }
  .product-images.kz-gallery-enhanced .kz-thumb-arrow {
    display: none !important;
  }
  .product-images.kz-gallery-enhanced .product-images__thumbs-container {
    width: 100% !important;
    max-height: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    padding: 0 !important;
    margin: 0 !important;
  }
  .product-images.kz-gallery-enhanced .product-images__thumbs-wrapper {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    width: max-content !important;
    height: auto !important;
  }
  .product-images.kz-gallery-enhanced .product-images__thumb-slide {
    width: 62px !important;
    height: 62px !important;
  }
  .product-images.kz-gallery-enhanced .product-images__thumb {
    width: 62px !important;
    height: 62px !important;
  }
}

/* Полноэкранный лайтбокс товара */
#kz-product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(6px);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}
#kz-product-lightbox.is-open {
  display: flex;
}
.kz-lb-topbar {
  position: absolute;
  top: 14px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #f8fafc;
  font-size: 14px;
  font-weight: 600;
  z-index: 3;
  pointer-events: none;
}
.kz-lb-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}
.kz-lb-btn {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}
.kz-lb-btn:hover {
  background: #ed413b;
  border-color: #ed413b;
}
.kz-lb-stage {
  position: relative;
  width: 100%;
  max-width: 1040px;
  height: 76vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.kz-lb-img-wrap {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 12px;
  padding: 14px;
  box-sizing: border-box;
  overflow: auto;
}
.kz-lb-img {
  max-width: 86vw;
  max-height: 70vh;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 0.2s ease;
  user-select: none;
}
.kz-lb-img.is-zoomed {
  transform: scale(1.75);
  cursor: zoom-out;
}
.kz-lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
}
.kz-lb-nav:hover {
  background: #ed413b;
}
.kz-lb-nav_prev { left: 10px; }
.kz-lb-nav_next { right: 10px; }
.kz-lb-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  max-width: 90vw;
  overflow-x: auto;
  padding: 4px;
}
.kz-lb-thumb {
  width: 58px;
  height: 58px;
  background: #ffffff;
  border: 2px solid transparent;
  border-radius: 6px;
  padding: 4px;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kz-lb-thumb.is-active {
  border-color: #ed413b;
}
.kz-lb-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ========================================================
   ТАБЛИЦЫ ТЕХНИЧЕСКИХ ХАРАКТЕРИСТИК И БЛОК ДОКУМЕНТАЦИИ
   ======================================================== */
.kz-table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.product-full-features table.charsTable,
.product-full-features table,
.content-decorator table.charsTable {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}
.product-full-features table.charsTable th,
.product-full-features table.charsTable td,
.content-decorator table.charsTable th,
.content-decorator table.charsTable td {
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  vertical-align: top;
  word-break: normal;
  overflow-wrap: break-word;
}
.product-full-features table.charsTable tr:nth-child(odd) td,
.content-decorator table.charsTable tr:nth-child(odd) td {
  background: #ffffff;
}
.product-full-features table.charsTable tr:nth-child(even) td,
.content-decorator table.charsTable tr:nth-child(even) td {
  background: #f8fafc;
}
.product-full-features table.charsTable td:first-child,
.product-full-features table.charsTable td.kz-spec-name,
.content-decorator table.charsTable td:first-child {
  font-weight: 600;
  color: #334155;
  background: #f8fafc;
  width: 42%;
}
.product-full-features table.charsTable td:last-child,
.product-full-features table.charsTable td.kz-spec-val,
.content-decorator table.charsTable td:last-child {
  color: #0f172a;
}
.doc-items-grid.doc-items-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)) !important;
  gap: 14px !important;
  padding: 12px 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.doc-items-grid .doc-item,
.doc-items-grid .doc-item.doc-item--file,
.doc-items-grid .doc-item.doc-item--file:nth-child(odd),
.doc-items-grid .doc-item.doc-item--file:nth-child(even),
.doc-items-grid .doc-item.doc-item--file:nth-last-child(-n+2) {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 16px 18px !important;
  background: #ffffff !important;
  background-image: none !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  min-width: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  position: relative !important;
}
.doc-items-grid .doc-item::before,
.doc-items-grid .doc-item--file::before,
.doc-items-grid .doc-item__info::before {
  content: none !important;
  display: none !important;
}
.doc-items-grid .doc-item__info {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  min-width: 0 !important;
  width: 100% !important;
  flex: 1 1 auto !important;
}
.doc-items-grid .doc-item__icon {
  font-size: 24px !important;
  line-height: 1.1 !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
}
.doc-items-grid .doc-item__title {
  font-weight: 700 !important;
  font-size: 14px !important;
  color: #1e293b !important;
  line-height: 1.4 !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
}
.doc-items-grid .doc-item__meta {
  font-size: 12.5px !important;
  color: #64748b !important;
  margin-top: 4px !important;
}
.doc-items-grid .doc-item__download {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: flex-start !important;
  gap: 6px !important;
  background: #ed413b !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 9px 16px !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  position: static !important;
  box-shadow: 0 2px 4px rgba(237, 65, 59, 0.2) !important;
}
.doc-items-grid .doc-item__download:hover {
  background: #dc2626 !important;
  text-decoration: none !important;
}
@media (max-width: 600px) {
  .doc-items-grid.doc-items-grid {
    grid-template-columns: 1fr !important;
  }
  .doc-items-grid .doc-item__download {
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .product-full-features table.charsTable th,
  .product-full-features table.charsTable td,
  .content-decorator table.charsTable th,
  .content-decorator table.charsTable td {
    padding: 8px 10px;
    font-size: 13px;
  }
  .product-full-features table.charsTable td:first-child,
  .product-full-features table.charsTable td.kz-spec-name,
  .content-decorator table.charsTable td:first-child {
    width: 46%;
  }
}

/* ============================================================
   ИЗБРАННОЕ, БЫСТРЫЕ КНОПКИ В ШАПКЕ, НИЖНЯЯ ПАНЕЛЬ И ФИЛЬТРЫ
   ============================================================ */
.header-middle-bar-shop-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.kz-header-shop-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 7px 11px !important;
  border-radius: 8px !important;
  border: 1px solid #e2e8f0 !important;
  background: #f8fafc !important;
  color: #1e293b !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: border-color 0.15s, background 0.15s !important;
}
.kz-header-shop-link:hover {
  border-color: #cbd5e1 !important;
  background: #f1f5f9 !important;
  color: #ed413b !important;
}
.kz-header-pill-icon {
  font-size: 15px;
  line-height: 1;
}
.kz-header-pill-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 20px !important;
  height: 20px !important;
  padding: 0 5px !important;
  border-radius: 999px !important;
  background: #ed413b !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  position: static !important;
}
.kz-header-pill-badge.counter_empty {
  background: #cbd5e1 !important;
  color: #475569 !important;
}

/* Кнопка Избранного на карточках (десктоп + моб + детальная страница) */
.product-thumb__image-buttons {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  z-index: 6 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.product-thumb__image-button.product-favorite {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid #e2e8f0 !important;
  color: #64748b !important;
  fill: #64748b !important;
  font-size: 18px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08) !important;
  transition: transform 0.15s, color 0.15s, border-color 0.15s, background 0.15s !important;
}
.product-thumb__image-button.product-favorite svg {
  fill: currentColor !important;
  width: 17px !important;
  height: 17px !important;
}
.product-thumb__image-button.product-favorite:hover,
.product-thumb__image-button.product-favorite.kz-fav-active {
  color: #ed413b !important;
  border-color: #fca5a5 !important;
  background: #fff5f5 !important;
  transform: scale(1.06);
}
.r-product-skus-table__img {
  position: relative !important;
}
.kz-mobile-fav-btn {
  position: absolute !important;
  top: 2px !important;
  right: 2px !important;
  z-index: 5 !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid #cbd5e1 !important;
  color: #64748b !important;
  font-size: 15px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  padding: 0 !important;
}
.kz-mobile-fav-btn.kz-fav-active {
  color: #ed413b !important;
  border-color: #fca5a5 !important;
  background: #fff5f5 !important;
}
.product-images__images-container {
  position: relative !important;
}
.kz-product-page-fav {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  z-index: 10 !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid #cbd5e1 !important;
  color: #64748b !important;
  font-size: 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1) !important;
}
.kz-product-page-fav.kz-fav-active {
  color: #ed413b !important;
  border-color: #fca5a5 !important;
  background: #fff5f5 !important;
}

/* Нижняя панель (.fixed-panel-bottom) на десктопе */
.fixed-panel-bottom__cart-sum_empty.kz-panel-cart-price_active {
  color: #0f172a !important;
  font-weight: 700 !important;
}
.kz-panel-fav-count {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 18px !important;
  height: 18px !important;
  padding: 0 5px !important;
  margin-left: 4px !important;
  border-radius: 999px !important;
  background: #ed413b !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}
.kz-panel-fav-count.counter_empty {
  background: #cbd5e1 !important;
  color: #475569 !important;
}
@media (min-width: 1024px) {
  .footer {
    padding-bottom: 64px !important;
  }
}

/* Пагинация после фильтрации */
.kz-filtered-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 22px 0;
}
.kz-filtered-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #1e293b;
  font-weight: 700;
  cursor: pointer;
}
.kz-filtered-page-btn:hover {
  border-color: #ed413b;
  color: #ed413b;
}
.kz-filtered-page-btn_active {
  background: #ed413b;
  border-color: #ed413b;
  color: #ffffff !important;
}
.kz-filtered-page-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 34px;
  color: #64748b;
  font-weight: 700;
}

@media (max-width: 1023px) {
  .sidebar-filters.accordion-block_closed .sidebar-block__content,
  .sidebar-filters.accordion-block_closed .accordion-block__content {
    display: none !important;
  }
  .sidebar-filters.accordion-block_closed .sidebar-block__toggle-icon {
    transform: rotate(-90deg);
  }
  .fixed-panel-bottom {
    display: none !important;
  }
  .header-middle-bar-shop-links {
    display: none !important;
  }
}

/* ============================================================
   БЛОГ (/news/, /articles/) В ЕДИНОМ СВЕТЛОМ СТИЛЕ
   ============================================================ */
.kz-blog-container {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.kz-blog-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 24px;
}
.kz-blog-header__top {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  font-size: 13px;
}
.kz-blog-header__top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 8px 16px;
}
.kz-blog-header__links,
.kz-blog-header__contacts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.kz-blog-header__links a {
  color: #475569;
  text-decoration: none;
  font-weight: 600;
}
.kz-blog-header__links a:hover {
  color: #ed413b;
}
.kz-blog-header__phone {
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
}
.kz-blog-header__wa {
  background: #25d366;
  color: #ffffff !important;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  text-decoration: none;
}
.kz-blog-header__email,
.kz-blog-header__city {
  color: #64748b;
  text-decoration: none;
}
.kz-blog-header__main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 18px;
  padding: 12px 16px;
}
.kz-blog-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #0f172a;
}
.kz-blog-header__brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.kz-blog-header__brand strong {
  font-size: 16px;
  color: #0f172a;
}
.kz-blog-header__brand small {
  font-size: 10px;
  letter-spacing: 0.04em;
  color: #ed413b;
  font-weight: 700;
}
.kz-blog-header__search {
  display: flex;
  flex: 1 1 280px;
  max-width: 520px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}
.kz-blog-header__search input {
  flex: 1;
  min-width: 0;
  border: none;
  padding: 9px 12px;
  font-size: 14px;
  color: #0f172a;
  background: #ffffff;
  outline: none;
}
.kz-blog-header__search button {
  border: none;
  background: #ed413b;
  color: #ffffff;
  padding: 0 16px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
.kz-blog-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.kz-blog-header__action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #1e293b !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
}
.kz-blog-header__action_cart {
  background: #ed413b;
  border-color: #ed413b;
  color: #ffffff !important;
}
.maincontent {
  background: #ffffff !important;
  color: #1e293b !important;
  padding-bottom: 36px;
}
.maincontent h1, .maincontent h2, .maincontent h3, .maincontent .post h2 a, .maincontent .post h3 a {
  color: #0f172a !important;
}
.maincontent a {
  color: #ed413b;
}
.maincontent .post,
.maincontent .sidebar {
  background: #ffffff !important;
  color: #1e293b !important;
}
.kz-blog-footer {
  background: #1f2022;
  color: #e2e8f0;
  padding: 32px 0 18px;
  margin-top: 32px;
}
.kz-blog-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.kz-blog-footer__logo {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}
.kz-blog-footer__desc {
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0;
}
.kz-blog-footer__title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}
.kz-blog-footer a,
.kz-blog-footer span {
  display: block;
  color: #cbd5e1;
  font-size: 13px;
  text-decoration: none;
  margin-bottom: 6px;
}
.kz-blog-footer a:hover {
  color: #ffffff;
}
.kz-blog-footer__bottom {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12.5px;
  color: #94a3b8;
}
@media (max-width: 768px) {
  .kz-blog-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .kz-blog-footer__grid {
    grid-template-columns: 1fr;
  }
  .kz-blog-header__main-inner {
    padding: 10px 12px;
  }
}
