/* ###############
FIXED COLUMNS
##############*/

div.DTFC_Blocker {
    background-color: white;
}

div.DTFC_LeftWrapper table.dataTable,
div.DTFC_RightWrapper table.dataTable {
    margin-bottom: 0;
    z-index: 2;
}

div.DTFC_LeftWrapper table.dataTable.no-footer,
div.DTFC_RightWrapper table.dataTable.no-footer {
    border-bottom: none;
}


/*############################
 * COMPARE
#############################*/

body.yith-woocompare-popup {
    font-family: 'Open Sans', san-serif;
    font-size: 13px;
    line-height: 1.51em;
    color: #747373;
    background: none !important;
    margin: 0;
}

body.yith-woocompare-popup h1 {
    background: #4F4F4F;
    color: #fff;
    font-weight: 800;
    padding: 10px;
    border-bottom: 2px solid #fff;
    display: block;
    text-transform: uppercase;
    font-size: 1.076em;
    margin: 0;
    text-align: center;
}

body.yith-woocompare-popup #yith-woocompare {
    padding: 10px;
}

table.dataTable.compare-list thead th,
table.dataTable.compare-list thead td,
table.dataTable.compare-list tfoot td,
table.dataTable.compare-list tfoot th {
    border: 0;
    vertical-align: middle;
}

.DTFC_LeftFootWrapper table.compare-list,
.DTFC_LeftHeadWrapper table.compare-list {
    border: 0;
}

#yith-woocompare table.compare-list td {
    width: 220px;
    max-width: 220px;
    min-width: 220px;
    text-align: center;
    vertical-align: middle;
}

#yith-woocompare table.compare-list {
    width: 100%;
    border-bottom: 0;
    border-top: 0;
    margin: 0;
    table-layout: auto;
}

#yith-woocompare table.compare-list tbody th {
    width: 150px;
    max-width: 150px;
    min-width: 150px;
    overflow: hidden;
    text-align: left;
    color: #333333;
    background-color: #f2f2f2;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
}

.rtl #yith-woocompare table.compare-list tbody th {
    text-align: right;
}

#yith-woocompare table.dataTable.compare-list tbody th,
#yith-woocompare table.dataTable.compare-list tbody td {
    border-right: 1px solid #e7e7e7;
    border-top: 1px solid #e7e7e7;
    border-bottom: none;
    border-left: none;
    padding: 10px;
    vertical-align: middle;
}

#yith-woocompare table.dataTable.compare-list tbody tr:last-child th,
#yith-woocompare table.dataTable.compare-list tbody tr:last-child td {
    border-bottom: 1px solid #e7e7e7;
}

#yith-woocompare table.compare-list tbody td.last-column {
    width: auto;
    border-right: 0;
}

#yith-woocompare-table_wrapper {
    margin: 10px 0;
}

#yith-woocompare table.dataTable.compare-list tbody .product_info td {
    vertical-align: top;
}

/*########### TABLE IMAGE ###########*/

.yith_woocompare_table_image {
    text-align: center;
    margin-top: 20px;
}

.yith_woocompare_table_image img {
    display: inline-block;
    max-width: 100%;
}

/*############ PRODUCT INFO ###########*/

table.compare-list img {
    max-width: 100%;
    height: auto;
}

table.compare-list tr.product_info td {
    vertical-align: top;
}

table.compare-list .remove a {
    text-transform: uppercase;
    text-decoration: none;
}

table.compare-list .remove a span {
    padding: 0 5px;
}

table.compare-list .image-wrap {
    margin-bottom: 15px;
    display: inline-block;
}

table.compare-list .product_title {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 15px;
    color: #000;
    text-decoration: none;
}

table.compare-list .add_to_cart_wrap {
    margin-top: 10px;
}

table.compare-list .product_info a {
    text-decoration: none;
    box-shadow: none;
    cursor: pointer;
}

#yith-woocompare .added_to_cart,
#yith-woocompare .button {
    margin: 0;
    line-height: 1;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    padding: 8px 10px;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 3px;
    border: 0;
    white-space: nowrap;
    display: inline-block;
    outline: none;
}

#yith-woocompare .button {
    display: flex !important;
    justify-self: end;
}

a.button.yith_woocompare_clear {
    padding: 6px 10px;
    font-size: 12px;
}

div.compare-table-clear {
    text-align: right;
    margin: 10px 0;
}

table.compare-list .product_info .button.loading,
table.compare-list .add-to-cart .button.loading {
    padding-right: 30px;
}

/*############# AVAILABILITY ##############*/

table.compare-list tr.stock td.in-stock {
    background-color: #e8ffb6;
    color: #01a71c;
}

table.compare-list tr.stock td.out-of-stock {
    background-color: #fff0e8;
    color: #ff4200;
}

/*############## RATING ###############*/

table.compare-list tr.rating .star-rating {
    float: none;
    display: inline-block;
    vertical-align: middle;
}

/*############## PRICE ################*/

table.compare-list tr.price {
    color: #3e3e3e;
    font-size: 14px;
    display: table-row;
    /* YITH Proteo fix */
}

table.compare-list tr.price del {
    opacity: 0.8;
}


/*############### SHARE ################*/

#yith-woocompare-share {
    margin-top: 20px
}

#yith-woocompare-share h3 {
    margin-top: 0;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 15px;
}

#yith-woocompare-share ul {
    padding: 0;
    list-style: none;
    margin: 0;
}

#yith-woocompare-share li {
    display: inline-block;
    margin: 0 3px;
}

#yith-woocompare-share a {
    background: url('../images/socials.png') no-repeat;
    text-indent: -99999px;
    display: block;
    width: 32px;
    height: 32px;
    box-shadow: none;
    outline: none;
    padding-bottom: 50px;
}

#yith-woocompare-share a.facebook {
    background-position: -5px 5px;
}

#yith-woocompare-share a.facebook:hover {
    background-position: -5px -5px;
}

#yith-woocompare-share a.twitter {
    background-position: -173px 5px;
}

#yith-woocompare-share a.twitter:hover {
    background-position: -173px -5px;
}

#yith-woocompare-share a.pinterest {
    background-position: -131px 5px;
}

#yith-woocompare-share a.pinterest:hover {
    background-position: -131px -5px;
}

#yith-woocompare-share a.email {
    background-position: -89px 5px;
}

#yith-woocompare-share a.email:hover {
    background-position: -89px -5px;
}

/*############ COMPARE RELATED #############*/

#yith-woocompare-related {
    margin: 20px 0;
}

#yith-woocompare-related h3.yith-woocompare-related-title {
    font-size: 17px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 20px;
}

#yith-woocompare-related .yith-woocompare-related-wrapper {
    position: relative;
}

#yith-woocompare-related ul {
    padding: 0;
    list-style: none;
    margin: 0;
}

#yith-woocompare-related ul li {
    text-align: center;
}

#yith-woocompare-related ul li a {
    text-decoration: none;
}

#yith-woocompare-related ul li h3 {
    font-size: 15px;
    color: #333;
    margin-top: 0;
    margin-bottom: 10px;
}

#yith-woocompare-related ul li .product-price {
    font-size: 13px;
    color: #333;
    margin-bottom: 10px;
}

#yith-woocompare-related ul li span.onsale {
    z-index: 2;
    top: 5px;
    left: 5px;
    position: absolute;
}

#yith-woocompare-related ul li>div {
    margin-bottom: 10px;
}

#yith-woocompare-related ul li div.product-image {
    position: relative;
    margin-bottom: 10px;
}

#yith-woocompare-related ul li div.product-image img {
    height: auto;
    max-width: 100%;
}

#yith-woocompare-related ul li div.product-image img.onsale.yit-image {
    margin: 0;
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 5;
    width: auto;
}

#yith-woocompare-related .related-slider-nav div {
    position: absolute;
    top: -45px;
    width: 30px;
    height: 35px;
    cursor: pointer;
    border: 1px solid #e7e7e7;
    text-align: center;
    background: #ffffff url('../images/nav-arrow.png') no-repeat;
    cursor: pointer;
}

#yith-woocompare-related .related-slider-nav div.related-slider-nav-prev {
    right: 35px;
    background-position: -3px -31px;
}

#yith-woocompare-related .related-slider-nav div.related-slider-nav-next {
    right: 0;
    background-position: 0 1px;
}


/*############### COMPARE NAV ##############*/

#yith-woocompare-cat-nav {
    margin-top: 20px;
    text-align: center;
}

#yith-woocompare-cat-nav h3 {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 17px;
    font-weight: 700;
    text-align: center;
}

#yith-woocompare-cat-nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

#yith-woocompare-cat-nav ul li {
    display: inline-block;
    margin-right: 3px;
    font-weight: 700;
    font-size: 13px;
}

#yith-woocompare-cat-nav ul li a {
    text-decoration: none;
}

#yith-woocompare-cat-nav ul li:after {
    content: ',';
}

#yith-woocompare-cat-nav ul li:last-child {
    margin-right: 0;
}

#yith-woocompare-cat-nav ul li:last-child:after {
    content: '';
}

/*############## RESPONSIVE ###############*/

@media(max-width: 480px) {
    #yith-woocompare table.dataTable.compare-list tbody th {
        padding: 10px 5px;
    }

    #yith-woocompare table.compare-list tbody th {
        width: 60px;
        max-width: 60px;
        min-width: 60px;
        font-size: 10px;
    }

    #yith-woocompare table.compare-list td {
        width: 160px;
        max-width: 160px;
        min-width: 160px;
    }
}

/*########## YITH BADGE ############*/
table.compare-list .container-image-and-badge {
    position: relative;
    display: inline-block;
}

/*########### WOOCOMMERCE PRODUCT BUNDLE ############*/
table.compare-list .bundled_product_list {
    margin: 25px 0;
}

table.compare-list div.bundled_product {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

table.compare-list .bundled_product:after,
table.compare-list .bundled_product:before {
    display: table;
    content: '';
    clear: both;
}

table.compare-list .bundled_product .bundled_product_images {
    display: inline-block;
    float: left;
}

table.compare-list .bundled_product .bundled_product_images img {
    max-width: 80px;
}

table.compare-list .bundled_product .details {
    display: block;
    overflow: hidden;
    padding-left: 10px;
    text-align: left;
    padding-top: 10px;
}

table.compare-list .bundled_product .details .bundled_product_title,
table.compare-list .bundled_product .details .price {
    font-size: 90%;
}

table.compare-list .bundled_product .details .price {
    margin-bottom: 0;
}

/*########### REUQEST A QUOTE ############*/

table.compare-list .yith-ywraq-add-to-quote {
    margin-top: 10px;
}

/*############# COMPARE COUNTER ##############*/
.yith-woocompare-counter a {
    box-shadow: none !important;
}

.yith-woocompare-counter span>span {
    display: inline-block;
    vertical-align: middle;
}

.yith-woocompare-counter span.yith-woocompare-icon {
    margin-right: 5px;
}

.yith-woocompare-counter span.yith-woocompare-icon img {
    max-width: 50px;
    height: auto;
}

.yith-woocompare-counter span.yith-woocompare-count {
    color: #555;
    font-weight: 400;
    font-size: 13px;
}

.yith-woocompare-counter a:hover span.yith-woocompare-count {
    color: #000;
}

.yith-woocompare-error {
    padding: 10px;
    border: 1px solid #ffc5c2;
    border-radius: 5px;
    background-color: #ffe6e5;
    position: relative;
}

.yith-woocompare-error p {
    margin: 0;
    color: #ff645c;
    padding-left: 25px;
    font-size: 13px;
}

.yith-woocompare-error::before {
    font-family: WooCommerce;
    content: '\e016';
    color: #b81c23;
    display: inline-block;
    position: absolute;
}

/*########## WC Blocks ############*/
.products-block-post-template .yith-wccp-compare {
    text-align: center;
}

/* ===========================
   СТИЛИ СРАВНЕНИЯ В СТИЛЕ SKLAD140
   =========================== */

:root {
    --color-primary: #031343;
    --color-brand-blue: #258ffb;
    --color-brand-red: #f53535;
    --color-bg-light: #f5f7fa;
}

body {
    background: var(--color-bg-light) !important;
    font-family: "Onest", sans-serif !important;
}

#yith-woocompare {
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Таблица сравнения */
#yith-woocompare-table {
    width: 100% !important;
    background: white !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(3, 19, 67, 0.05) !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: none !important;
}

/* Заголовки */
#yith-woocompare-table thead th,
#yith-woocompare-table thead td {
    background: var(--color-primary) !important;
    color: white !important;
    padding: 16px 20px !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    text-transform: uppercase;
    border: none !important;
}

#yith-woocompare-table thead tr:first-child th:first-child {
    border-radius: 16px 0 0 0 !important;
}

/* Строки характеристик */
#yith-woocompare-table tbody th {
    background: #f5f7fa !important;
    color: var(--color-primary) !important;
    padding: 16px 20px !important;
    font-weight: 500 !important;
    text-align: left !important;
    border-right: 1px solid #e8edf5 !important;
    border-bottom: 1px solid #e8edf5 !important;
    font-size: 14px !important;
}

#yith-woocompare-table tbody td {
    padding: 16px 20px !important;
    text-align: center !important;
    border-bottom: 1px solid #e8edf5 !important;
    vertical-align: middle !important;
    border-left: none !important;
    border-right: none !important;
}

#yith-woocompare-table tbody tr:nth-child(even) {
    background: #f9fbfd !important;
}

/* Изображения товаров */
#yith-woocompare-table .image-wrap img {
    max-width: 150px !important;
    height: auto !important;
    object-fit: contain;
    border-radius: 12px;
    background: white;
    padding: 8px;
    border: 1px solid #e8edf5;
    margin: 0 auto 12px !important;
    display: block !important;
}

/* Название товара */
#yith-woocompare-table .product_title {
    color: var(--color-primary) !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    margin: 12px 0 !important;
    text-decoration: none !important;
}

#yith-woocompare-table a {
    color: var(--color-primary) !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

#yith-woocompare-table a:hover {
    color: var(--color-brand-blue) !important;
}

/* Цена */
#yith-woocompare-table .price,
#yith-woocompare-table .amount,
#yith-woocompare-table .woocommerce-Price-amount {
    color: var(--color-brand-red) !important;
    font-weight: 600 !important;
    font-size: 20px !important;
}

#yith-woocompare-table del {
    opacity: 0.5;
    font-size: 16px !important;
}

#yith-woocompare-table ins {
    text-decoration: none !important;
}

/* Кнопка добавить в корзину */
#yith-woocompare-table .add_to_cart_button,
#yith-woocompare-table .button,
#yith-woocompare-table .added_to_cart {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 48px !important;
    min-width: 150px !important;
    padding: 0 24px !important;
    background: var(--color-brand-blue) !important;
    color: white !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    font-family: "Onest", sans-serif !important;
    cursor: pointer !important;
    transition: background-color 0.3s cubic-bezier(0.86, 0, 0.07, 1) !important;
    text-decoration: none !important;
    margin: 4px !important;
}

#yith-woocompare-table .add_to_cart_button:hover,
#yith-woocompare-table .button:hover {
    background: var(--color-primary) !important;
    color: white !important;
}

#yith-woocompare-table .added_to_cart {
    background: #01CD3A !important;
}

/* Кнопка удалить */
#yith-woocompare-table .remove a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 36px !important;
    background: #ffebee !important;
    color: var(--color-brand-red) !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-size: 18px !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

#yith-woocompare-table .remove a:hover {
    background: var(--color-brand-red) !important;
    color: white !important;
}

#yith-woocompare-table .remove span.remove {
    font-size: 20px !important;
    line-height: 1 !important;
}

/* Рейтинг */
#yith-woocompare-table .star-rating {
    color: #FFB800 !important;
}

/* Наличие товара */
#yith-woocompare-table .in-stock {
    color: #01CD3A !important;
    font-weight: 500 !important;
}

#yith-woocompare-table .out-of-stock {
    color: var(--color-brand-red) !important;
    font-weight: 500 !important;
}

/* Футер таблицы */
#yith-woocompare-table tfoot th,
#yith-woocompare-table tfoot td {
    background: var(--color-primary) !important;
    padding: 16px 20px !important;
    border: none !important;
}

/* Повторяющаяся цена */
#yith-woocompare-table tr.repeated {
    background: #f5f7fa !important;
}

#yith-woocompare-table tr.repeated th {
    font-weight: 600 !important;
}

/* Пустая таблица */
#yith-woocompare>p {
    background: white;
    padding: 60px 20px;
    text-align: center;
    border-radius: 16px;
    font-size: 18px;
    color: #7c7c7c;
}

/* Дополнительные улучшения */
#yith-woocompare-table .add_to_cart_wrap {
    margin-top: 12px;
}

#yith-woocompare-table .woocommerce-product-rating {
    margin: 8px 0;
}

/* Исправление границ */
#yith-woocompare-table td:first-child,
#yith-woocompare-table th:first-child {
    border-left: none !important;
}

#yith-woocompare-table td:last-child,
#yith-woocompare-table th:last-child {
    border-right: none !important;
}

#yith-woocompare-table tbody tr:last-child td,
#yith-woocompare-table tbody tr:last-child th {
    border-bottom: none !important;
}

/* Загрузка */
#yith-woocompare .loader {
    display: none;
}

/* СРАВНЕНИЕ - СТИЛИ ДЛЯ ТАБЛИЦЫ */

/* Контейнер */
#yith-woocompare {
    font-family: "Onest", sans-serif !important;
    background: #f5f7fa !important;
    padding: 20px !important;
}

/* Кнопка "Очистить всё" */
.compare-table-clear .button {
    background: #f53535 !important;
    color: white !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 12px 24px !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
}

.compare-table-clear .button:hover {
    background: #031343 !important;
}

/* Таблица */
.compare-list {
    background: white !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(3, 19, 67, 0.05) !important;
}

/* Заголовки таблицы */
.compare-list thead th,
.compare-list thead td,
.DTFC_LeftHeadWrapper th,
.dataTables_scrollHead th {
    background: #031343 !important;
    color: white !important;
    padding: 16px 20px !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    border: none !important;
}

/* Строки таблицы */
.compare-list tbody tr {
    border-bottom: 1px solid #e8edf5 !important;
    transition: background-color 0.3s ease !important;
}

.compare-list tbody tr.even {
    background: #f9fbfd !important;
}

.compare-list tbody tr.odd {
    background: white !important;
}

/* Ячейки */
.compare-list tbody th,
.compare-list tbody td,
.DTFC_LeftBodyWrapper th,
.DTFC_LeftBodyWrapper td {
    padding: 20px !important;
    vertical-align: middle !important;
    border: none !important;
}

/* Левая колонка (заголовки) */
.compare-list tbody th {
    background: #f5f7fa !important;
    color: #031343 !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    text-align: left !important;
}

/* Цены */
.compare-list .price td,
.compare-list .price ins,
.compare-list .woocommerce-Price-amount {
    color: #f53535 !important;
    font-weight: 600 !important;
    font-size: 20px !important;
}

.compare-list .price del {
    opacity: 0.5 !important;
}

/* Изображения товаров */
.compare-list .product_info .image-wrap {
    margin-bottom: 12px !important;
}

.compare-list .product_info .image-wrap img {
    max-width: 150px !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    background: white !important;
    padding: 8px !important;
    border: 1px solid #e8edf5 !important;
}

/* Названия товаров */
.compare-list .product_title {
    color: #031343 !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    margin-top: 12px !important;
}

.compare-list .product_info a {
    text-decoration: none !important;
    color: #031343 !important;
    transition: color 0.3s ease !important;
}

.compare-list .product_info a:hover {
    color: #258ffb !important;
}

.compare-list .remove a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 8px 16px !important;
    background: #ffebee !important;
    color: #f53535 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.compare-list .remove a:hover {
    background: #f53535 !important;
    color: white !important;
}

.compare-list .remove span.remove {
    font-size: 18px !important;
    font-weight: bold !important;
}

/* Футер таблицы */
.compare-list tfoot th,
.compare-list tfoot td,
.dataTables_scrollFoot th,
.dataTables_scrollFoot td {
    background: #031343 !important;
    color: white !important;
    padding: 16px 20px !important;
}

/* Фиксированная колонка слева */
.DTFC_LeftWrapper {
    box-shadow: 2px 0 8px rgba(3, 19, 67, 0.05) !important;
}

.DTFC_LeftBodyWrapper {
    background: white !important;
}

/* Скроллбары */
.dataTables_scrollBody::-webkit-scrollbar,
.DTFC_LeftBodyLiner::-webkit-scrollbar {
    width: 8px !important;
    height: 8px !important;
}

.dataTables_scrollBody::-webkit-scrollbar-track,
.DTFC_LeftBodyLiner::-webkit-scrollbar-track {
    background: #f5f7fa !important;
    border-radius: 4px !important;
}

.dataTables_scrollBody::-webkit-scrollbar-thumb,
.DTFC_LeftBodyLiner::-webkit-scrollbar-thumb {
    background: #b6c1dd !important;
    border-radius: 4px !important;
}

.dataTables_scrollBody::-webkit-scrollbar-thumb:hover,
.DTFC_LeftBodyLiner::-webkit-scrollbar-thumb:hover {
    background: #258ffb !important;
}

.DTFC_LeftWrapper,
.dataTables_scrollHead,
.dataTables_scrollFootInner {
    display: none !important;
}

/* ===========================
   МОБИЛЬНАЯ ВЕРСИЯ СРАВНЕНИЯ
   =========================== */

@media (max-width: 768px) {
    #yith-woocompare {
        padding: 10px !important;
    }

    /* Таблица остаётся таблицей, но скроллится горизонтально */
    #yith-woocompare-table_wrapper,
    .dataTables_scroll,
    .dataTables_scrollBody {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* Убираем фиксированную колонку — она ломает на мобильных */
    .DTFC_LeftWrapper {
        display: none !important;
    }

    /* Минимальная ширина таблицы для горизонтального скролла */
    #yith-woocompare-table,
    .dataTables_scrollHeadInner table,
    .dataTables_scrollFootInner table {
        min-width: 600px !important;
    }

    /* Ячейки */
    #yith-woocompare table.compare-list td {
        width: 180px !important;
        min-width: 180px !important;
        max-width: 180px !important;
    }

    #yith-woocompare table.compare-list tbody th {
        width: 100px !important;
        min-width: 100px !important;
        max-width: 100px !important;
        font-size: 12px !important;
        padding: 10px !important;
    }

    .compare-list tbody td {
        padding: 12px !important;
        font-size: 13px !important;
    }

    /* Изображения меньше */
    .compare-list .product_info .image-wrap img,
    #yith-woocompare-table .image-wrap img {
        max-width: 100px !important;
    }

    .compare-list .product_title,
    #yith-woocompare-table .product_title {
        font-size: 13px !important;
    }

    /* Цена */
    .compare-list .woocommerce-Price-amount,
    #yith-woocompare-table .woocommerce-Price-amount {
        font-size: 16px !important;
    }

    /* Кнопка удалить */
    .compare-list .remove a {
        padding: 6px 10px !important;
        font-size: 12px !important;
    }

    /* Кнопка очистить */
    .compare-table-clear .button {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }
}

@media (max-width: 480px) {
    #yith-woocompare table.compare-list td {
        width: 150px !important;
        min-width: 150px !important;
        max-width: 150px !important;
    }

    #yith-woocompare table.compare-list tbody th {
        width: 80px !important;
        min-width: 80px !important;
        max-width: 80px !important;
        font-size: 11px !important;
    }
}

.dataTables_scrollHead,.dataTables_scrollFoot {
    display: none;
}