.woosc_table .tr-image .col a {
    width: 100%;
    max-width: 230px;
    height: 160px;
    display: block;
    border-radius: 15px;
    overflow: hidden;
}
.woosc_table .tr-image .col a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.woosc_table thead th.col {
    vertical-align: middle;
}

.woosc_table thead th.col > a {
    display: inline-block;
    line-height: 1.3;
}

.woosc_table tr:nth-child(odd) {
    background: #fff9f9;
}


/* отображение цветов в виде иконок с нужным цветом */
.woosc_table .compare-color-swatches {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
.woosc_table .compare-color-swatch {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #d8dce2;
    box-shadow: inset 0 0 0 3px #fff;
}
.woosc_table .compare-color-swatch-text {
    font-size: 13px;
    padding: 4px 9px;
    border-radius: 20px;
    background: #f3f4f6;
}


/* кнопочки удалить (в колонках товара) */
.woosc_table thead th.col {
    padding-right: 58px !important;
}

.woosc_table thead th.col .woosc-remove {
    position: absolute;
    top: 50%;
    right: 22px;
    width: 34px;
    height: 34px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: #fff1f0;
    color: transparent;
    font-size: 0;
    cursor: pointer;
    transition: 0.2s ease;
}
.woosc_table thead th.col .woosc-remove::before,
.woosc_table thead th.col .woosc-remove::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 2px;
    border-radius: 2px;
    background: #ef3124;
}
.woosc_table thead th.col .woosc-remove::before {
    transform: translate(-50%, -50%) rotate(45deg);
}
.woosc_table thead th.col .woosc-remove::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}


.woosc_table .tr-price td.col {
    direction: rtl;
    text-align: left;
    white-space: nowrap;
}
.woosc_table .tr-price td.col ins,
.woosc_table .tr-price td.col del {
    direction: ltr;
    unicode-bidi: isolate;
}
.woosc_table .tr-price td.col del span {
    font-size: clamp(12px, 2vw, 16px) !important;
    color: #555 !important;
    text-decoration: line-through !important;
}
.woosc_table .tr-price td.col ins,
.woosc_table .tr-price td.col .woocommerce-Price-amount.amount {
    display: inline-block;
    margin-right: 6px;
    font-size: clamp(16px, 3vw, 24px);
    font-weight: 600;
    text-decoration: none;
}




@media (max-width: 767px) {

    /* Вся таблица должна скроллиться по горизонтали */
    .woosc_table {
        display: table;
        width: max-content;
        min-width: 100%;
        border-collapse: separate !important;
        border-spacing: 0 !important;
    }

    /* Левая колонка — фиксированная */
    .woosc_table .th-label,
    .woosc_table .td-label {
        min-width: 100px !important;
        max-width: 100px !important;
        padding: 12px 8px !important;
        background: #fff !important;
        font-size: 12px;
        line-height: 1.25;
        color: #444;
        box-shadow: 8px 0 14px rgba(0, 0, 0, 0.04);
    }


    /* Колонки товаров */
    .woosc_table th.col,
    .woosc_table td.col {
        max-width: 165px !important;
    }

    .woosc_table thead th.col > a {
        display: block;
        font-size: 12px;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    /* Крестик удаления */
    .woosc_table thead th.col .woosc-remove {
        position: absolute;
        top: 50%;
        right: 7px;
        width: 24px;
        height: 24px;
        transform: translateY(-50%);
    }

    .woosc_table thead th.col .woosc-remove::before,
    .woosc_table thead th.col .woosc-remove::after {
        width: 11px;
        height: 2px;
    }

    /* Фото */
    .woosc_table .tr-image .col a {
        height: auto;
    }
    .woosc_table .tr-image img {
        width: 105px !important;
        height: 105px !important;
        max-width: 105px !important;
        object-fit: cover;
        border-radius: 9px;
    }

    /* Кнопка Купить */
    .woosc_table .tr-add_to_cart a {
        padding: 0.8em 1.8em !important;
        font-size: 12px !important;
    }

    /* Цвета */
    .woosc_table .compare-color-swatches {
        gap: 5px;
    }
    .woosc_table .compare-color-swatch {
        width: 18px;
        height: 18px;
        box-shadow: inset 0 0 0 2px #fff;
    }

    /* Пустую колонку скрываем */
    .woosc_table .th-placeholder,
    .woosc_table .td-placeholder {
        display: none !important;
    }
}




@media (min-width: 1024px) {
    .woosc_table thead th.col .woosc-remove:hover {
        background: #ef3124;
    }
    .woosc_table thead th.col .woosc-remove:hover::before,
    .woosc_table thead th.col .woosc-remove:hover::after {
        background: #fff;
    }
}