/**
 * custom-extra.css — Стили ИСКЛЮЧИТЕЛЬНО для модуля «Вкладка продуктів» на главной странице
 * СТРОГО ИЗОЛИРОВАНО: не затрагивает страницы категорий и каталог!
 */

/* 1. Owl Carousel карусель на главной */
#index .owl-carousel .owl-stage,
.tvcmstab-title-product .owl-carousel .owl-stage {
  display: flex !important;
  align-items: stretch !important;
}

#index .owl-carousel .owl-item,
#index .owl-carousel .owl-item > .tvtabproduct-main-block,
#index .owl-carousel .owl-item > .item,
.tvcmstab-title-product .owl-carousel .owl-item,
.tvcmstab-title-product .owl-carousel .owl-item > .tvtabproduct-main-block,
.tvcmstab-title-product .owl-carousel .owl-item > .item {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  height: auto !important;
}

#index .owl-carousel .product-miniature,
.tvcmstab-title-product .owl-carousel .product-miniature {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  height: 100% !important;
  margin-bottom: 20px !important;
}

#index .owl-carousel .product-miniature .thumbnail-container,
.tvcmstab-title-product .owl-carousel .product-miniature .thumbnail-container {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  height: 100% !important;
  min-height: 0 !important;
}

#index .owl-carousel .product-miniature .thumbnail-container > .tvproduct-wrapper.grid,
.tvcmstab-title-product .owl-carousel .product-miniature .thumbnail-container > .tvproduct-wrapper.grid {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: 3px 3px 0 3px !important;
}

#index .owl-carousel .product-miniature .tvproduct-image,
.tvcmstab-title-product .owl-carousel .product-miniature .tvproduct-image {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 200px !important;
  height: 200px !important;
  max-height: 200px !important;
  overflow: hidden !important;
  padding: 0 10px !important;
  box-sizing: border-box !important;
}

#index .owl-carousel .product-miniature .tvproduct-image img,
#index .owl-carousel .product-miniature .tvproduct-image picture img,
.tvcmstab-title-product .owl-carousel .product-miniature .tvproduct-image img,
.tvcmstab-title-product .owl-carousel .product-miniature .tvproduct-image picture img {
  max-height: 100% !important;
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
  margin: 0 auto !important;
}

#index .owl-carousel .product-miniature .tvproduct-info-box-wrapper,
.tvcmstab-title-product .owl-carousel .product-miniature .tvproduct-info-box-wrapper {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
}

#index .owl-carousel .product-miniature .tv-product-price,
.tvcmstab-title-product .owl-carousel .product-miniature .tv-product-price {
  margin-top: auto !important;
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
  text-align: center !important;
}

/* 2. Названия товаров и рейтинг на главной */
#index .owl-carousel .tvproduct-name,
#index .owl-carousel .tvproduct-name a,
#index .owl-carousel .tvproduct-name p,
#index .owl-carousel .tvproduct-name h6,
.tvcmstab-title-product .tvproduct-name,
.tvcmstab-title-product .tvproduct-name a,
.tvcmstab-title-product .tvproduct-name p,
.tvcmstab-title-product .tvproduct-name h6 {
  color: #000000 !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  text-transform: capitalize !important;
  margin: 0 !important;
  text-align: center !important;
  width: 100% !important;
}

#index .owl-carousel .tvall-product-star-icon,
.tvcmstab-title-product .tvall-product-star-icon {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 4px auto !important;
  text-align: center !important;
  width: 100% !important;
}

@media (max-width: 575px) {
  #index .owl-carousel .tvproduct-name,
  #index .owl-carousel .tvproduct-name a,
  #index .owl-carousel .tvproduct-name p,
  #index .owl-carousel .tvproduct-name h6,
  .tvcmstab-title-product .tvproduct-name,
  .tvcmstab-title-product .tvproduct-name a,
  .tvcmstab-title-product .tvproduct-name p,
  .tvcmstab-title-product .tvproduct-name h6 {
    font-size: 13px !important;
  }
}

/* 3. Блок цен на главной странице («Вкладка продуктів») */
#index .tvcmstab-title-product .product-price-and-shipping,
#index .owl-carousel .product-price-and-shipping,
.tvcmstab-title-product .product-price-and-shipping,
.tvcmstab-product .product-price-and-shipping {
  display: flex !important;
  flex-wrap: wrap !important;
  flex-direction: row !important;
  align-items: baseline !important;
  justify-content: center !important;
  width: 100% !important;
  column-gap: 6px !important;
  row-gap: 3px !important;
  text-align: center !important;
  text-transform: none !important;
  margin: 0 auto !important;
}

#index .tvcmstab-title-product .product-price-and-shipping .sr-only,
#index .tvcmstab-title-product .product-price-and-shipping meta,
.tvcmstab-title-product .product-price-and-shipping .sr-only,
.tvcmstab-title-product .product-price-and-shipping meta {
  display: none !important;
}

#index .tvcmstab-title-product .product-price-and-shipping > span,
#index .owl-carousel .product-price-and-shipping > span,
.tvcmstab-title-product .product-price-and-shipping > span {
  display: inline-block !important;
  white-space: nowrap !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  text-align: center !important;
}

/* Основная цена */
#index .tvcmstab-title-product .product-price-and-shipping .price,
#index .owl-carousel .product-price-and-shipping .price,
.tvcmstab-title-product .product-price-and-shipping .price {
  display: inline-block !important;
  white-space: nowrap !important;
  color: #087c89 !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  order: 1 !important;
  text-align: center !important;
}

/* Старая цена (скидка) */
#index .tvcmstab-title-product .product-price-and-shipping .regular-price,
#index .owl-carousel .product-price-and-shipping .regular-price,
.tvcmstab-title-product .product-price-and-shipping .regular-price {
  display: inline-block !important;
  white-space: nowrap !important;
  font-size: 12px !important;
  color: #999999 !important;
  text-decoration: line-through !important;
  margin-left: 4px !important;
  order: 2 !important;
  text-align: center !important;
}

/* Единица измерения */
#index .tvcmstab-title-product .product-price-and-shipping .price-unit,
#index .owl-carousel .product-price-and-shipping .price-unit,
.tvcmstab-title-product .product-price-and-shipping .price-unit {
  display: inline !important;
  white-space: nowrap !important;
  font-size: 11px !important;
  color: #087c89 !important;
}

/* Вторая / третья цена (за м.п.) */
#index .tvcmstab-title-product .product-price-and-shipping > span:not(.price):not(.price-unit):not(.regular-price):not(.sr-only),
#index .owl-carousel .product-price-and-shipping > span:not(.price):not(.price-unit):not(.regular-price):not(.sr-only),
.tvcmstab-title-product .product-price-and-shipping > span:not(.price):not(.price-unit):not(.regular-price):not(.sr-only) {
  order: 3 !important;
  width: 100% !important;
  display: block !important;
  text-align: center !important;
  flex: 0 0 100% !important;
}

@media (min-width: 768px) {
  #index .tvcmstab-title-product .product-price-and-shipping .price,
  #index .owl-carousel .product-price-and-shipping .price,
  .tvcmstab-title-product .product-price-and-shipping .price {
    font-size: 20px !important;
  }
}

@media (max-width: 575px) {
  #index .tvcmstab-title-product .product-price-and-shipping .price,
  #index .owl-carousel .product-price-and-shipping .price,
  .tvcmstab-title-product .product-price-and-shipping .price {
    font-size: 16px !important;
  }
}

/* ==========================================================================
   COMPACT SUBCATEGORY TAGS - STRICTLY MOBILE ONLY (<= 575px)
   ========================================================================== */
@media (max-width: 575px) {
    .tv-sub-category-title-wrapper {
        display: none !important;
    }

    .tv-category-main-div .tvcategory-name-image {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 8px !important;
        padding: 6px 4px 12px 4px !important;
        margin-bottom: 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .tv-category-main-div .tv-sub-category-wrapper {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        padding: 0 !important;
        margin: 0 !important;
        float: none !important;
    }

    .tv-category-main-div .tv-sub-category-inner {
        border: none !important;
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        width: auto !important;
    }

    .tv-category-main-div .tv-category-image {
        display: none !important;
    }

    .tv-category-main-div .tvcategory-name {
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
    }

    .tv-category-main-div .tvcategory-name a.category-name {
        display: inline-flex !important;
        align-items: center !important;
        padding: 6px 13px !important;
        background: #ffffff !important;
        border: 1px solid #d0d0d0 !important;
        border-radius: 18px !important;
        color: #333333 !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        font-family: 'Montserrat', sans-serif !important;
        white-space: nowrap !important;
        text-decoration: none !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
    }

    .tv-category-main-div .tvcategory-name a.category-name:active {
        background: #5da4ac !important;
        border-color: #5da4ac !important;
        color: #ffffff !important;
    }
}


/* Скрытие технического заголовка Підкатегорія / Подкатегории на всех экранах (ПК + Моб) */
.tv-sub-category-title-wrapper,
.tv-category-main-div .tv-sub-category-title-wrapper,
.tv-sub-category-title {
    display: none !important;
}

/* ==========================================================================
   SCROLL-SNAP CAROUSEL 'ТАКОЖ ЗНАДОБИТЬСЯ' І 'СХОЖІ ТОВАРИ' (MOBILE <= 575px)
   2 карточки видно, скролл snap по одной карточке
   ========================================================================== */
@media (max-width: 575px) {
    .custom-accessories-section .custom-related-grid,
    .custom-collection-products-section .custom-related-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 10px !important;
        padding: 4px 4px 14px 4px !important;
        margin: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        scrollbar-width: none !important;
    }

    .custom-accessories-section .custom-related-grid::-webkit-scrollbar,
    .custom-collection-products-section .custom-related-grid::-webkit-scrollbar {
        display: none !important;
    }

    body .custom-accessories-section .custom-related-col,
    body .custom-collection-products-section .custom-related-col {
        flex: 0 0 calc(50% - 5px) !important;
        width: calc(50% - 5px) !important;
        min-width: calc(50% - 5px) !important;
        max-width: calc(50% - 5px) !important;
        scroll-snap-align: start !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .custom-accessories-section .custom-related-card,
    .custom-collection-products-section .custom-related-card {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        width: 100% !important;
        height: 255px !important;
        padding: 10px 8px !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 8px !important;
        background: #ffffff !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
        box-sizing: border-box !important;
    }

    .custom-accessories-section .custom-img-wrapper,
    .custom-collection-products-section .custom-img-wrapper {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 125px !important;
        overflow: hidden !important;
        margin-bottom: 6px !important;
    }

    .custom-accessories-section .custom-img-wrapper img,
    .custom-collection-products-section .custom-img-wrapper img {
        width: 100% !important;
        height: 100% !important;
        max-height: 125px !important;
        object-fit: contain !important;
    }

    .custom-accessories-section .product-title,
    .custom-collection-products-section .product-title {
        font-size: 12px !important;
        font-weight: 500 !important;
        line-height: 1.3 !important;
        height: 32px !important;
        overflow: hidden !important;
        margin: 0 0 4px 0 !important;
        text-align: center !important;
    }

    .custom-accessories-section .product-price-and-shipping,
    .custom-collection-products-section .product-price-and-shipping {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: baseline !important;
        justify-content: center !important;
        padding-top: 4px !important;
        margin-top: auto !important;
        border-top: 1px solid #f1f5f9 !important;
    }

    .custom-accessories-section .product-price-and-shipping .price,
    .custom-collection-products-section .product-price-and-shipping .price {
        font-size: 15px !important;
        font-weight: 700 !important;
        color: #5da4ac !important;
    }
}

/* ==========================================================================
   SCROLL-SNAP CAROUSEL (TABLET 576-767px) — 3 карточки, скролл snap по одной
   ========================================================================== */
@media (min-width: 576px) and (max-width: 767px) {
    .custom-accessories-section .custom-related-grid,
    .custom-collection-products-section .custom-related-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 10px !important;
        padding: 4px 4px 14px 4px !important;
        margin: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        scrollbar-width: none !important;
    }

    .custom-accessories-section .custom-related-grid::-webkit-scrollbar,
    .custom-collection-products-section .custom-related-grid::-webkit-scrollbar {
        display: none !important;
    }

    body .custom-accessories-section .custom-related-col,
    body .custom-collection-products-section .custom-related-col {
        flex: 0 0 calc(33.333% - 7px) !important;
        width: calc(33.333% - 7px) !important;
        min-width: calc(33.333% - 7px) !important;
        max-width: calc(33.333% - 7px) !important;
        scroll-snap-align: start !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
}


/* ==========================================================================
   DESKTOP GRID ДЛЯ 'ТАКОЖ ЗНАДОБИТЬСЯ' И 'СХОЖІ ТОВАРИ В ЦІЙ КОЛЕКЦІЇ' (> 575px)
   ========================================================================== */
@media (min-width: 768px) {
    .custom-accessories-section .custom-related-grid,
    .custom-collection-products-section .custom-related-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        overflow: visible !important;
        gap: 0 !important;
        margin-left: -6px !important;
        margin-right: -6px !important;
        width: calc(100% + 12px) !important;
    }

    /* Tablets 768px+: 4 columns */
    .custom-accessories-section .custom-related-col,
    .custom-collection-products-section .custom-related-col {
        flex: 0 0 25% !important;
        max-width: 25% !important;
        width: 25% !important;
        padding: 6px !important;
        margin-bottom: 14px !important;
        box-sizing: border-box !important;
        display: block !important;
    }

    .custom-accessories-section .custom-related-card,
    .custom-collection-products-section .custom-related-card {
        width: 100% !important;
        height: 100% !important;
        min-height: 280px !important;
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 8px !important;
        padding: 12px 10px 10px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        box-sizing: border-box !important;
        transition: all 0.25s ease !important;
    }

    .custom-accessories-section .custom-related-card:hover,
    .custom-collection-products-section .custom-related-card:hover {
        border-color: #cbd5e1 !important;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08) !important;
        transform: translateY(-2px) !important;
    }

    .custom-accessories-section .custom-img-wrapper,
    .custom-collection-products-section .custom-img-wrapper {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 160px !important;
        aspect-ratio: 1 / 1 !important;
        overflow: hidden !important;
        border-radius: 6px !important;
        background: #ffffff !important;
        margin-bottom: 8px !important;
    }

    .custom-accessories-section .custom-img-wrapper img,
    .custom-collection-products-section .custom-img-wrapper img {
        max-height: 155px !important;
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
    }
}

/* Tablets / medium screens: 4 columns */
@media (min-width: 821px) and (max-width: 1199px) {
    .custom-accessories-section .custom-related-col,
    .custom-collection-products-section .custom-related-col {
        flex: 0 0 25% !important;
        max-width: 25% !important;
        width: 25% !important;
    }
}

/* Desktop & Wide screens: 6 columns */
@media (min-width: 1200px) {
    .custom-accessories-section .custom-related-col,
    .custom-collection-products-section .custom-related-col {
        flex: 0 0 16.666% !important;
        max-width: 16.666% !important;
        width: 16.666% !important;
    }
}


/* ==========================================================================
   SCROLL ARROWS for related cards carousels (mobile + tablet)
   ========================================================================== */
@media (max-width: 767px) {
  .custom-related-title-box {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 12px !important;
  }

  .custom-related-title-box h2 {
    margin: 0 !important;
    flex: 1 !important;
  }

  .custom-carousel-arrows {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
  }

  .custom-carousel-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border: 2px solid #5da4ac !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: #5da4ac !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.2s ease !important;
    line-height: 1 !important;
    padding: 0 !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
    flex-shrink: 0 !important;
  }

  .custom-carousel-btn svg {
    display: block !important;
  }

  .custom-carousel-btn:hover,
  .custom-carousel-btn:focus-visible {
    background: #5da4ac !important;
    color: #ffffff !important;
    border-color: #5da4ac !important;
    box-shadow: 0 4px 12px rgba(93, 164, 172, 0.35) !important;
  }

  .custom-carousel-btn:active {
    background: #4a8a91 !important;
    color: #ffffff !important;
    transform: scale(0.92) !important;
    border-color: #4a8a91 !important;
  }

  /* Scrollbar: show thin styled track on mobile for visibility */
  .custom-accessories-section .custom-related-grid,
  .custom-collection-products-section .custom-related-grid {
    scrollbar-width: thin !important;
    scrollbar-color: #5da4ac #f1f5f9 !important;
  }

  .custom-accessories-section .custom-related-grid::-webkit-scrollbar,
  .custom-collection-products-section .custom-related-grid::-webkit-scrollbar {
    height: 5px !important;
    display: block !important;
  }

  .custom-accessories-section .custom-related-grid::-webkit-scrollbar-track,
  .custom-collection-products-section .custom-related-grid::-webkit-scrollbar-track {
    background: #f1f5f9 !important;
    border-radius: 4px !important;
  }

  .custom-accessories-section .custom-related-grid::-webkit-scrollbar-thumb,
  .custom-collection-products-section .custom-related-grid::-webkit-scrollbar-thumb {
    background: #5da4ac !important;
    border-radius: 4px !important;
  }
}

@media (min-width: 768px) {
  .custom-carousel-arrows {
    display: none !important;
  }
}

/* === HIDE FLOATING HOVER BUTTONS ON MOBILE (Clean Cards) === */
@media (max-width: 767px) {
  .tvproduct-wrapper.grid .tvproduct-hover-btn,
  .tvproduct-wrapper.grid .tvproduct-cart-btn,
  .tvproduct-wrapper.grid .tvproduct-quick-btn,
  .tvproduct-wrapper.grid .tvproduct-wishlist,
  .tvproduct-wrapper.grid .tvcompare-wrapper,
  .tvproduct-wrapper.grid .tvproduct-btn-color,
  article.product-miniature .tvproduct-hover-btn,
  article.product-miniature .tvproduct-cart-btn,
  article.product-miniature .tvproduct-quick-btn,
  article.product-miniature .tvproduct-wishlist,
  article.product-miniature .tvcompare-wrapper,
  article.product-miniature .tvproduct-btn-color,
  #index .tvproduct-hover-btn,
  #index .tvproduct-cart-btn,
  #products .tvproduct-hover-btn,
  #products .tvproduct-cart-btn,
  #js-product-list .tvproduct-hover-btn,
  #js-product-list .tvproduct-cart-btn {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* === ACCESSIBILITY & CONTRAST (WCAG AA Compliance - #087c89 ps8 Brand Teal - 4.99:1 ratio) === */
#js-product-list .products article.product-miniature .tvproduct-wrapper.grid .tvproduct-info-box-wrapper .product-price-and-shipping .price,
#js-product-list .products article.product-miniature .tvproduct-wrapper.grid .tvproduct-info-box-wrapper .tv-product-price .product-price-and-shipping .price,
#js-product-list .products article.product-miniature .tvproduct-wrapper.grid .tvproduct-info-box-wrapper .product-price-and-shipping .price-unit,
#js-product-list .products article.product-miniature .tvproduct-wrapper.grid .tvproduct-info-box-wrapper .tv-product-price .product-price-and-shipping .price-unit,
#products article.product-miniature .tvproduct-wrapper.grid .tvproduct-info-box-wrapper .product-price-and-shipping .price,
#products article.product-miniature .tvproduct-wrapper.grid .tvproduct-info-box-wrapper .product-price-and-shipping .price-unit,
.product-price-and-shipping .price,
.product-price-and-shipping .price-unit,
.tvproduct-info-box-wrapper .product-price-and-shipping .price,
.tvproduct-info-box-wrapper .product-price-and-shipping .price-unit {
  color: #087c89 !important;
}

.tvproduct-wrapper .tvproduct-name a,
.tvproduct-wrapper .tvproduct-name h6,
.tvproduct-name a,
.tvproduct-name h6 {
  color: #222222 !important;
}

.tvproduct-wrapper .tvproduct-info-box-wrapper,
.tvproduct-wrapper .product-description,
.tvproduct-wrapper .tvproduct-cat-name {
  color: #444444 !important;
}

/* ==========================================================================
   PERFORMANCE: DEFER BELOW-THE-FOLD MOBILE CARDS LAYOUT (CARDS 5+)
   ========================================================================== */
@media (max-width: 767px) {
  #js-product-list .products .tv-grid-list-wrapper-info-box:nth-child(n+5) {
    content-visibility: auto;
    contain-intrinsic-size: 0 370px;
  }
}

/* ==========================================================================
   WCAG AA ACCESSIBILITY: COLOR CONTRAST OPTIMIZATION (RATIO >= 4.5:1)
   ========================================================================== */
/* Старая зачеркнутая цена (контраст 5.74:1 на белом фоне) */
.product-price-and-shipping .regular-price,
#js-product-list .products article.product-miniature .tvproduct-wrapper.grid .tvproduct-info-box-wrapper .tv-product-price .product-price-and-shipping .regular-price,
#js-product-list .product-price-and-shipping .regular-price,
#products .product-price-and-shipping .regular-price,
.tvcmstab-title-product .product-price-and-shipping .regular-price {
  color: #666666 !important;
}

/* Бейдж скидки (-28%, -3%): белый текст на контрастном фоне (контраст 4.63:1) */
.product-price-and-shipping .discount-percentage,
.product-price-and-shipping .tvproduct-discount-price,
.tvproduct-wrapper .discount-percentage {
  background-color: #d9534f !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 11px !important;
  padding: 1px 5px !important;
  border-radius: 3px !important;
  display: inline-block !important;
  line-height: 1.3 !important;
  margin-left: 4px !important;
  vertical-align: middle !important;
}

/* === AmazzingBlog Font Fallback & Theme Integration === */
.amazzingblog .icon-user:before { content: 'person'; font-family: 'Material Icons'; }
.amazzingblog .icon-eye:before { content: 'visibility'; font-family: 'Material Icons'; }
.amazzingblog .icon-comment:before, .amazzingblog .icon-comments:before { content: 'chat_bubble_outline'; font-family: 'Material Icons'; }
.amazzingblog .icon-calendar:before { content: 'date_range'; font-family: 'Material Icons'; }
.amazzingblog .icon-tags:before { content: 'local_offer'; font-family: 'Material Icons'; }
.amazzingblog .icon-chevron-left:before, .amazzingblog .icon-angle-left:before { content: 'chevron_left'; font-family: 'Material Icons'; }
.amazzingblog .icon-chevron-right:before, .amazzingblog .icon-angle-right:before { content: 'chevron_right'; font-family: 'Material Icons'; }
.amazzingblog [class^='icon-'], .amazzingblog [class*=' icon-'] {
    font-size: 16px;
    vertical-align: -2px;
    letter-spacing: normal;
}

/* === FIX 2026-09-09: cap catalog container to 1200px on wide screens (was width:90% from theme_addition) === */
@media (min-width:1200px) {
    .container.tv-left-layout { width: 1440px !important; max-width: 1440px !important; margin-left: auto !important; margin-right: auto !important; }
}

/* === FIX 2026-09-11: product reviews (tvcmsproductcomments) mobile layout === */
@media (max-width: 575px) {
    #tvcmsproduct_comments_block_tab {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    #tvcmsproduct_comments_block_tab .col-md-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
    }
    #tvcmsproductCommentsBlock .tvReviews {
        margin-bottom: 10px !important;
    }
    #tvcmsproduct_comments_block_tab div.comment {
        padding: 16px !important;
        margin-bottom: 12px !important;
    }
    #tvcmsproduct_comments_block_tab .comment_author {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 6px !important;
    }
    #tvcmsproduct_comments_block_tab .comment_author_infos {
        width: 100% !important;
    }
    #tvcmsproduct_comments_block_tab div.comment .star_content {
        margin: 0 !important;
        padding: 0 !important;
    }
    #tvcmsproduct_comments_block_tab .comment_details {
        margin-top: 16px !important;
    }
    #tvcmsproduct_comments_block_tab .comment_details .title_block {
        font-size: 15px !important;
        line-height: 1.4 !important;
    }
    #tvcmsproduct_comments_block_tab .comment_details p {
        font-size: 14px !important;
        line-height: 1.55 !important;
        margin: 0 !important;
        word-break: break-word !important;
    }
}