.hover-area .compare.checkbox:not(:first-of-type),
.product-loop-footer > .compare.checkbox:nth-of-type(2) {
    display: none !important;
}

.product-loop-footer > .compare.checkbox.add-to-compare-link {
    display: none !important;
}

.single-product .summary .action-buttons a.compare.checkbox.add-to-compare-link,
.single-product div.product div.summary .action-buttons .compare,
.entry-summary .action-buttons > a.compare {
    display: none !important;
}

.wc-block-checkout__form .wc-block-components-address-form__country .wc-blocks-components-select {
    margin-top: 12px;
}

.yith-wcwl-add-to-wishlist-button__label {
    visibility: hidden;
    position: relative;
}

.yith-wcwl-add-to-wishlist-button__label::after {
    content: "В избранное";
    visibility: visible;
    position: absolute;
    left: 0;
    top: 0;
    white-space: nowrap;
} 

.add-to-cart-wrap a.add_to_cart {
    visibility: hidden;
    position: relative;
    display: inline-block;
}

.add-to-cart-wrap a.add_to_cart::after {
    content: "В корзину";
    visibility: visible;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

img.custom-logo {
    width: 70%;
    padding: 0 0 20px 0;
}

/* Базовый стиль (десктоп) */
.electro-price .woocommerce-Price-amount.amount {
    font-size: 17px !important;
    font-weight: 700;
    color: #333;
}

/* Для планшетов (до 768px) */
@media (max-width: 768px) {
    .electro-price .woocommerce-Price-amount.amount {
        font-size: 17px !important;
    }
}

/* Для мобильных устройств (до 480px) */
@media (max-width: 480px) {
    .electro-price .woocommerce-Price-amount.amount {
        font-size: 17px !important;
    }
}
/* Префикс НДС */
small.woocommerce-price-suffix {
    font-size: 14px;
}

/* сравнени */
/* ============================================
   ТАБЛИЦА СРАВНЕНИЯ YITH WOOCOMPARE
   Оптимизировано под разные разрешения
   ============================================ */

/* === БАЗОВЫЕ СТИЛИ === */

/* Отключаем фиксированные колонки DataTables */
.DTFC_LeftWrapper,
.DTFC_RightWrapper,
.DTFC_Blocker,
.dataTables_scrollHead,
.dataTables_scrollFoot {
    display: none !important;
}

/* Основная таблица */
#yith-woocompare-table,
.compare-list {
    width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
}

/* Обёртка с прокруткой */
.yith-woocompare-table-scroll-wrapper,
.dataTables_scrollBody,
.DTFC_LeftBodyLiner,
.DTFC_RightBodyLiner {
    overflow-x: auto !important;
    overflow-y: visible !important;
    height: auto !important;
    max-height: none !important;
}

/* Общие стили ячеек */
#yith-woocompare-table td,
#yith-woocompare-table th,
.compare-list td,
.compare-list th {
    height: auto !important;
    padding: 8px 10px !important;
    line-height: 1.3 !important;
    vertical-align: middle !important;
    font-size: 13px !important;
}

/* Строки */
#yith-woocompare-table tr,
.compare-list tr {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
}

/* Скрываем пустые ячейки */
#yith-woocompare-table td:empty,
.compare-list td:empty,
#yith-woocompare-table td.filler,
.compare-list td.filler {
    display: none !important;
}

/* === ЗАГОЛОВОК === */
#yith-woocompare-table h2,
.compare-list h2 {
    font-size: 14px !important;
    margin: 0 !important;
    padding: 8px !important;
    text-align: center !important;
    line-height: 1.3 !important;
}

/* === ИЗОБРАЖЕНИЯ === */
#yith-woocompare-table .image-wrap img,
.compare-list .image-wrap img {
    max-width: 180px !important;
    height: auto !important;
    margin-bottom: 8px !important;
}

/* === НАЗВАНИЯ ТОВАРОВ === */
#yith-woocompare-table .product_title,
.compare-list .product_title {
    font-size: 13px !important;
    line-height: 1.2 !important;
    margin: 8px 0 !important;
    max-height: 40px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
}

/* === КНОПКА "В КОРЗИНУ" === */
#yith-woocompare-table .add_to_cart_wrap,
.compare-list .add_to_cart_wrap {
    margin: 8px 0 !important;
}

#yith-woocompare-table .add_to_cart_wrap a,
.compare-list .add_to_cart_wrap a {
    font-size: 12px !important;
    padding: 6px 12px !important;
}

/* === ЦЕНА === */
#yith-woocompare-table .price,
.compare-list .price {
    font-size: 13px !important;
}

/* === СКРОЛЛБАР === */
.yith-woocompare-table-scroll-wrapper::-webkit-scrollbar {
    height: 8px !important;
}

.yith-woocompare-table-scroll-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
    border-radius: 4px !important;
}

.yith-woocompare-table-scroll-wrapper::-webkit-scrollbar-thumb {
    background: #888 !important;
    border-radius: 4px !important;
}

.yith-woocompare-table-scroll-wrapper::-webkit-scrollbar-thumb:hover {
    background: #555 !important;
}

/* ============================================
   БОЛЬШИЕ ЭКРАНЫ (1920px+)
   ============================================ */
@media (min-width: 1920px) {
    #yith-woocompare-table th:first-child,
    #yith-woocompare-table td:first-child,
    .compare-list th:first-child,
    .compare-list td:first-child {
        width: 180px !important;
        min-width: 180px !important;
        max-width: 180px !important;
        padding: 10px 12px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        text-align: left !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    #yith-woocompare-table td:not(:first-child),
    .compare-list td:not(:first-child) {
        width: 350px !important;
        min-width: 350px !important;
        max-width: 350px !important;
        padding: 10px 12px !important;
    }

    #yith-woocompare-table .image-wrap img,
    .compare-list .image-wrap img {
        max-width: 220px !important;
    }

    #yith-woocompare-table .product_title,
    .compare-list .product_title {
        font-size: 14px !important;
    }
}

/* ============================================
   СТАНДАРТНЫЕ ДЕСКТОПЫ (1440px - 1919px)
   ============================================ */
@media (min-width: 1440px) and (max-width: 1919px) {
    #yith-woocompare-table th:first-child,
    #yith-woocompare-table td:first-child,
    .compare-list th:first-child,
    .compare-list td:first-child {
        width: 160px !important;
        min-width: 160px !important;
        max-width: 160px !important;
        padding: 8px 10px !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        text-align: left !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    #yith-woocompare-table td:not(:first-child),
    .compare-list td:not(:first-child) {
        width: 300px !important;
        min-width: 300px !important;
        max-width: 300px !important;
        padding: 8px 10px !important;
    }
}

/* ============================================
   НОУТБУКИ (1200px - 1439px)
   ============================================ */
@media (min-width: 1200px) and (max-width: 1439px) {
    #yith-woocompare-table th:first-child,
    #yith-woocompare-table td:first-child,
    .compare-list th:first-child,
    .compare-list td:first-child {
        width: 140px !important;
        min-width: 140px !important;
        max-width: 140px !important;
        padding: 6px 8px !important;
        font-size: 12px !important;
        font-weight: 600 !important;
    }

    #yith-woocompare-table td:not(:first-child),
    .compare-list td:not(:first-child) {
        width: 250px !important;
        min-width: 250px !important;
        max-width: 250px !important;
        padding: 6px 8px !important;
    }

    #yith-woocompare-table .image-wrap img,
    .compare-list .image-wrap img {
        max-width: 160px !important;
    }

    #yith-woocompare-table .product_title,
    .compare-list .product_title {
        font-size: 12px !important;
    }
}

/* ============================================
   ПЛАНШЕТЫ АЛЬБОМНАЯ ОРИЕНТАЦИЯ (992px - 1199px)
   ============================================ */
@media (min-width: 992px) and (max-width: 1199px) {
    #yith-woocompare-table th:first-child,
    #yith-woocompare-table td:first-child,
    .compare-list th:first-child,
    .compare-list td:first-child {
        width: 120px !important;
        min-width: 120px !important;
        max-width: 120px !important;
        padding: 5px 8px !important;
        font-size: 11px !important;
        font-weight: 600 !important;
    }

    #yith-woocompare-table td:not(:first-child),
    .compare-list td:not(:first-child) {
        width: 220px !important;
        min-width: 220px !important;
        max-width: 220px !important;
        padding: 5px 8px !important;
    }

    #yith-woocompare-table .image-wrap img,
    .compare-list .image-wrap img {
        max-width: 140px !important;
    }

    #yith-woocompare-table .product_title,
    .compare-list .product_title {
        font-size: 11px !important;
    }

    #yith-woocompare-table td,
    #yith-woocompare-table th,
    .compare-list td,
    .compare-list th {
        font-size: 11px !important;
        padding: 4px 6px !important;
    }

    #yith-woocompare-table h2,
    .compare-list h2 {
        font-size: 12px !important;
    }

    #yith-woocompare-table .add_to_cart_wrap a,
    .compare-list .add_to_cart_wrap a {
        font-size: 10px !important;
        padding: 4px 8px !important;
    }
}

/* ============================================
   ПЛАНШЕТЫ ПОРТРЕТНАЯ ОРИЕНТАЦИЯ (768px - 991px)
   ============================================ */
@media (min-width: 768px) and (max-width: 991px) {
    #yith-woocompare-table th:first-child,
    #yith-woocompare-table td:first-child,
    .compare-list th:first-child,
    .compare-list td:first-child {
        width: 110px !important;
        min-width: 110px !important;
        max-width: 110px !important;
        padding: 4px 6px !important;
        font-size: 11px !important;
        font-weight: 600 !important;
    }

    #yith-woocompare-table td:not(:first-child),
    .compare-list td:not(:first-child) {
        width: 200px !important;
        min-width: 200px !important;
        max-width: 200px !important;
        padding: 4px 6px !important;
    }

    #yith-woocompare-table .image-wrap img,
    .compare-list .image-wrap img {
        max-width: 120px !important;
    }

    #yith-woocompare-table .product_title,
    .compare-list .product_title {
        font-size: 11px !important;
        margin: 5px 0 !important;
    }

    #yith-woocompare-table td,
    #yith-woocompare-table th,
    .compare-list td,
    .compare-list th {
        font-size: 11px !important;
        padding: 4px 6px !important;
    }

    #yith-woocompare-table h2,
    .compare-list h2 {
        font-size: 12px !important;
        padding: 5px !important;
    }

    #yith-woocompare-table .add_to_cart_wrap a,
    .compare-list .add_to_cart_wrap a {
        font-size: 10px !important;
        padding: 4px 8px !important;
    }

    #yith-woocompare-table .price,
    .compare-list .price {
        font-size: 11px !important;
    }
}

/* ============================================
   МОБИЛЬНЫЕ УСТРОЙСТВА (576px - 767px)
   ============================================ */
@media (min-width: 576px) and (max-width: 767px) {
    #yith-woocompare-table th:first-child,
    #yith-woocompare-table td:first-child,
    .compare-list th:first-child,
    .compare-list td:first-child {
        width: 100px !important;
        min-width: 100px !important;
        max-width: 100px !important;
        padding: 4px 5px !important;
        font-size: 10px !important;
        font-weight: 600 !important;
    }

    #yith-woocompare-table td:not(:first-child),
    .compare-list td:not(:first-child) {
        width: 180px !important;
        min-width: 180px !important;
        max-width: 180px !important;
        padding: 4px 5px !important;
    }

    #yith-woocompare-table .image-wrap img,
    .compare-list .image-wrap img {
        max-width: 100px !important;
    }

    #yith-woocompare-table .product_title,
    .compare-list .product_title {
        font-size: 10px !important;
        margin: 4px 0 !important;
    }

    #yith-woocompare-table td,
    #yith-woocompare-table th,
    .compare-list td,
    .compare-list th {
        font-size: 10px !important;
        padding: 3px 5px !important;
    }

    #yith-woocompare-table h2,
    .compare-list h2 {
        font-size: 11px !important;
        padding: 4px !important;
    }

    #yith-woocompare-table .add_to_cart_wrap a,
    .compare-list .add_to_cart_wrap a {
        font-size: 9px !important;
        padding: 3px 6px !important;
    }
}

/* ============================================
   МАЛЕНЬКИЕ МОБИЛЬНЫЕ (до 575px)
   ============================================ */
@media (max-width: 575px) {
    #yith-woocompare-table th:first-child,
    #yith-woocompare-table td:first-child,
    .compare-list th:first-child,
    .compare-list td:first-child {
        width: 90px !important;
        min-width: 90px !important;
        max-width: 90px !important;
        padding: 3px 4px !important;
        font-size: 9px !important;
        font-weight: 600 !important;
    }

    #yith-woocompare-table td:not(:first-child),
    .compare-list td:not(:first-child) {
        width: 160px !important;
        min-width: 160px !important;
        max-width: 160px !important;
        padding: 3px 4px !important;
    }

    #yith-woocompare-table .image-wrap img,
    .compare-list .image-wrap img {
        max-width: 80px !important;
    }

    #yith-woocompare-table .product_title,
    .compare-list .product_title {
        font-size: 9px !important;
        margin: 3px 0 !important;
    }

    #yith-woocompare-table td,
    #yith-woocompare-table th,
    .compare-list td,
    .compare-list th {
        font-size: 9px !important;
        padding: 3px 4px !important;
    }

    #yith-woocompare-table h2,
    .compare-list h2 {
        font-size: 10px !important;
        padding: 3px !important;
    }

    #yith-woocompare-table .add_to_cart_wrap a,
    .compare-list .add_to_cart_wrap a {
        font-size: 8px !important;
        padding: 3px 5px !important;
    }

    #yith-woocompare-table .price,
    .compare-list .price {
        font-size: 9px !important;
    }
}
/* ============================================
 ОТОБРАЖЕНИЕ СРАВНЕНИЯ
   ============================================ */
#yith-woocompare-preview-bar .image-wrap img {
    max-width: 70px !important;
}

/* ============================================
 ОТОБРАЖЕНИЕ Категории на главной
   ============================================ */
@media (max-width: 767.98px) {
    /* Настраиваем сетку на 2 колонки с минимальными боковыми отступами */
    .categories-list-card .row {
        display: flex;
        flex-wrap: wrap;
        margin-left: -5px;
        margin-right: -5px;
    }

    /* Принудительно задаем ширину 50% и сбрасываем лишние отступы Bootstrap (pt-7 и др.) */
    .categories-list-card .row > div {
        flex: 0 0 auto;
        width: 50%;
        padding-left: 5px;
        padding-right: 5px;
        padding-top: 8px !important;
        margin-top: 0 !important;
        margin-bottom: 8px;
    }

    /* Делаем внутреннее пространство карточки компактнее */
    .categories-list-card .categories-list-bg {
        padding: 10px !important;
    }

    /* Чуть уменьшаем шрифты, чтобы в 2 колонки текст смотрелся аккуратно */
    .categories-list-card h6 {
        font-size: 13px !important;
        line-height: 1.2;
    }
    
    .categories-list-card p {
        font-size: 11px !important;
    }

    /* Корректируем "выпрыгивающую" картинку, если нужно */
    .categories-list-card .img-fluid.mt-n5 {
        margin-top: -1rem !important;
    }
}