/*
 * UNVIS — стили WooCommerce
 *
 * Структура файла:
 * 01. Карточки товаров в каталоге
 * 02. Избранное
 * 03. Кейсы в карточке товара
 * 04. Количество, цена и покупка
 * 05. Галерея и гарантия
 * 06. Страница и кнопки избранного
 * 07. Вкладки и характеристики
 * 08. Документы и файлы
 * 09. Хлебные крошки
 * 10. Страница отдельного товара
 * 11. Теги товара
 * 12. Сетки товаров WooCommerce
 * 13. Общий каталог
 * 14. Адаптивность
 * 15. Интерактивность карточек
 * 16. Архивы категорий и тегов
 *
 * Порядок правил сохранён намеренно: поздние уточнения продолжают иметь
 * тот же приоритет в каскаде. Удалены только полностью идентичные ранние
 * копии правил, которые повторялись ниже без изменений.
 */

/* ==========================================================================
   01. КАРТОЧКИ ТОВАРОВ В КАТАЛОГЕ — базовые правила
   ========================================================================== */
.unvis-product-card.product-card {
    position: relative !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 25px !important;
    border: 1px solid var(--unvis-bg);
    border-radius: var(--unvis-item-radius);
    background: var(--unvis-bg);
    box-shadow: var(--unvis-shadow);
    display: flex !important;
    flex-direction: column;
    transition: all .5s cubic-bezier(.16,1,.3,1);
}

.related .unvis-product-card.product-card {
    background: #fff;
}

.unvis-product-card.product-card:hover {
    border-color: var(--unvis-red) !important;
    background: var(--unvis-bg) !important;
    box-shadow: 0 25px 60px rgba(26,54,93,.13);
    transform: translateY(-8px);
}

.unvis-product-card.product-card .unvis-product-card__main {
    min-width: 0;
    display: flex;
    flex: 1;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

/* 02. ИЗБРАННОЕ — скрытие служебного сообщения плагина */


/* ==========================================================================
   03. КЕЙСЫ В КАРТОЧКЕ ТОВАРА — базовая компоновка
   ========================================================================== */


/* ==========================================================================
   04. КОЛИЧЕСТВО, ЦЕНА И КНОПКА ПОКУПКИ — базовые правила
   ========================================================================== */


/* ==========================================================================
   05. ГАЛЕРЕЯ ТОВАРА И ГАРАНТИЯ — базовые правила
   ========================================================================== */


/* ==========================================================================
   06. ИЗБРАННОЕ — страница и кнопки
   ========================================================================== */


/* ==========================================================================
   07. ВКЛАДКИ И ХАРАКТЕРИСТИКИ ТОВАРА — базовые правила
   ========================================================================== */


/* ==========================================================================
   08. ДОКУМЕНТЫ И ФАЙЛЫ ТОВАРА — базовые правила
   ========================================================================== */


/* ==========================================================================
   09. ХЛЕБНЫЕ КРОШКИ WOOCOMMERCE — базовые правила
   ========================================================================== */


/* ==========================================================================
   10. СТРАНИЦА ТОВАРА — базовая компоновка
   ========================================================================== */


/* 11. ТЕГИ ТОВАРА — базовые правила */


/* 12. СЕТКИ ТОВАРОВ WOOCOMMERCE — базовые правила */


/* ==========================================================================
   13. ОБЩИЙ КАТАЛОГ — навигация, категории и секции
   ========================================================================== */


/* ==========================================================================
   14. АДАПТИВНОСТЬ — базовые контрольные точки
   ========================================================================== */


@media(max-width:767px){

    .unvis-single-product > .container { padding-inline: 14px; }
    .unvis-container { padding-inline: 14px; }

    .unvis-catalog-header :is(h1, h2) { font-size: 28px; line-height: 1.15; }
    .unvis-catalog-header p { line-height: 1.55; }

    .unvis-product__hero { gap: 16px; margin-bottom: 24px; }
    .unvis-product__gallery,
    .unvis-product__summary { padding: 22px 16px; border-radius: 22px; }

    .unvis-product__gallery { min-height: 0; }
    .unvis-product__gallery .woocommerce-product-gallery {
        height: auto;
        justify-content: flex-start;
        gap: 14px;
    }
    .unvis-product__gallery .flex-viewport {
        height: min(78vw, 330px) !important;
        min-height: 0;
        margin-bottom: 14px;
    }
    .unvis-product__gallery .woocommerce-product-gallery__image,
    .unvis-product__gallery .woocommerce-product-gallery__image--placeholder,
    .unvis-product__gallery .woocommerce-product-gallery__image a {
        height: min(78vw, 330px);
        min-height: 0;
    }
    .unvis-product__gallery .woocommerce-product-gallery__image img,
    .unvis-product__gallery .woocommerce-product-gallery__image--placeholder img {
        max-height: min(68vw, 290px);
    }
    .unvis-product__gallery .flex-control-thumbs { gap: 10px; }
    .unvis-product__gallery .flex-control-thumbs li {
        width: 72px !important;
        height: 72px;
        padding: 8px;
    }

    .unvis-product__summary .product_title {
        margin-bottom: 20px;
        font-size: 22px !important;
        line-height: 1.2;
        letter-spacing: -.4px;
        overflow-wrap: anywhere;
    }

    .unvis-product__short-attributes { margin-bottom: 22px; padding-block: 16px; }


    .unvis-product__price-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 24px;
    }
    .unvis-product__price-row .price { font-size: 24px !important; }
    .unvis-product__guarantee {
        width: 100%;
        text-align: left;
    }


    .unvis-product__wishlist .exists a::before,
    .unvis-product__wishlist a.delete_item::before { content: "♥"; }

    .unvis-product__tabs {
        margin-bottom: 32px;
        padding: 22px 14px;
        border-radius: 22px;
    }
    .unvis-product__tabs .woocommerce-tabs ul.tabs {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 22px !important;
        overflow: visible;
    }
    .unvis-product__tabs .woocommerce-tabs ul.tabs li,
    .unvis-product__tabs .woocommerce-tabs ul.tabs li a { min-width: 0; }
    .unvis-product__tabs .woocommerce-tabs ul.tabs li a {
        font-size: 9px;
        line-height: 1.25;
        text-align: center;
        white-space: normal;
        overflow-wrap: anywhere;
    }
    .unvis-product__tabs .woocommerce-Tabs-panel a { overflow-wrap: anywhere; }

    .unvis-product-cases.unvis-product-cases { padding-block: 32px; }
    .unvis-product-cases .unvis-product-cases__header h2,
    .unvis-product__related > .related > h2,
    .unvis-product-category-navigation .unvis-catalog-header h2,
	.unvis-recently-viewed > h2 {
        margin-bottom: 20px;
        font-size: 24px;
        line-height: 1.15;
        overflow-wrap: anywhere;
    }
    .unvis-product__related { padding-block: 45px; }
    .unvis-product-category-navigation { padding-top: 35px; }

    .unvis-category-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; overflow: visible; }
    .unvis-category-link { min-height: 105px; padding: 14px; }
    .unvis-category-link strong { font-size: 9px; line-height: 1.25; overflow-wrap: anywhere; }
    .unvis-category-icon { margin-bottom: 10px; }


    .unvis-category-group ul.products,
    .unvis-product__related ul.products { grid-template-columns: 1fr !important; }


}


/* 02. ИЗБРАННОЕ — итоговые настройки и состояния кнопок */
#yith-wcwl-popup-message {
    display: none !important;
}

.single-product
.yith-wcwl-add-to-wishlist--single
.separator,
.single-product
.yith-wcwl-add-to-wishlist--single
.view-wishlist {
    display: none !important;
}

.unvis-product-card.product-card .product-badge-list {
    position: absolute;
    z-index: 5;
    top: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.unvis-product-card.product-card .prod-badge {
    display: inline-flex;
    align-items: center;
    min-height: 0;
    padding: 5px 10px;
    border-radius: 6px;
    background: var(--unvis-red);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.unvis-product-card.product-card .product-actions-floating {
    position: absolute;
    z-index: 6;
    top: 20px;
    right: 20px;
}

.unvis-product-card.product-card .product-actions-floating .yith-wcwl-add-to-wishlist,
.unvis-product-card.product-card .product-actions-floating .yith-wcwl-add-button {
    margin: 0;
}

.unvis-product-card.product-card .product-actions-floating a {
    width: 36px;
    height: 36px;
    padding: 0 !important;
    border: 1px solid var(--unvis-border) !important;
    border-radius: 50% !important;
    background: var(--unvis-surface) !important;
    color: var(--unvis-muted) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: none !important;
    transition: all .3s;
}

.unvis-product-card.product-card .product-actions-floating a:before {
    content: '♡';
    font-size: 20px;
    line-height: 1;
}

.unvis-product-card.product-card .product-actions-floating a:hover {
    border-color: var(--unvis-red) !important;
    background: var(--unvis-red) !important;
    color: #fff !important;
    transform: scale(1.08);
}

.unvis-product-card.product-card .product-actions-floating img,
.unvis-product-card.product-card .product-actions-floating span {
    display: none !important;
}

.unvis-product-card.product-card .product-image-container {
    position: relative;
    width: 100%;
    height: 180px;
    min-height: 180px;
    flex: 0 0 180px;
    overflow: hidden;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.unvis-product-card.product-card .product-image-container img {
    display: block;
    max-width: 100% !important;
    max-height: 100% !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: contain;
    object-position: center;
    box-shadow: none !important;
    filter: none !important;
    transition: transform .5s;
}

.unvis-product-card.product-card:hover .product-image-container img {
    transform: scale(1.06);
}

.unvis-product-card.product-card .product-brand {
    margin: 0 0 6px;
    color: var(--unvis-red);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.unvis-product-card.product-card .product-title {
    min-height: 40px;
    margin: 0 0 15px !important;
    padding: 0 !important;
    color: var(--unvis-blue);
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    letter-spacing: -.5px;
    text-transform: uppercase;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.unvis-product-card.product-card .product-specs-list {
    margin: 0 0 15px;
    padding: 12px 0;
    border-top: 1px solid var(--unvis-border);
    border-bottom: 1px solid var(--unvis-border);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.unvis-product-card.product-card .spec-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    color: var(--unvis-text);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.35;
}

.unvis-product-card.product-card .spec-label {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--unvis-muted);
    font-weight: 600;
}

.unvis-product-card.product-card .spec-value {
    min-width: 0;
    overflow-wrap: anywhere;
    margin: 0;
    color: var(--unvis-blue);
    font-weight: 700;
    text-align: right;
}

.unvis-product-card.product-card .product-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.unvis-product-card.product-card .product-price-block {
    display: flex;
    flex-direction: column;
}

.unvis-product-card.product-card .product-price-vat {
    color: var(--unvis-muted);
    font-size: 9px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.unvis-product-card.product-card .product-price-value,
.unvis-product-card.product-card .product-price-value .amount {
    margin: 0 !important;
    color: var(--unvis-blue) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.3;
    letter-spacing: -.5px;
}

.unvis-product-card.product-card .btn-add-to-cart {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: var(--unvis-blue) !important;
    color: #fff !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: none !important;
    transition: all .3s;
}

.unvis-product-card.product-card .btn-add-to-cart:hover {
    background: var(--unvis-red) !important;
    box-shadow: 0 5px 15px rgba(230,91,80,.3) !important;
    transform: scale(1.05);
}

.unvis-product-card.product-card .btn-add-to-cart svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
}

/* 03. КЕЙСЫ В КАРТОЧКЕ ТОВАРА — итоговое оформление и карусель */
.unvis-product-cases.unvis-product-cases {
    padding: 50px;
    border: 1px solid var(--unvis-border);
    border-radius: var(--unvis-radius);
    background: var(--unvis-surface);
    box-shadow: var(--unvis-shadow);
}

.unvis-product-cases .unvis-product-cases__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.unvis-product-cases .unvis-product-cases__header h2 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.5px;
}

.unvis-product-cases .unvis-product-cases__header span {
    color: var(--unvis-red);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.unvis-product-cases .unvis-product-cases__viewport {
    overflow: hidden;
}

.unvis-product-cases .unvis-product-cases__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 48px) / 3);
    grid-template-columns: none;
    gap: 24px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.unvis-product-cases .unvis-product-cases__track::-webkit-scrollbar {
    display: none;
}

.unvis-product-cases .unvis-case-card {
    scroll-snap-align: start;
}

.unvis-product-cases .unvis-case-card {
    overflow: visible;
    border-radius: 0;
    background: transparent;
	padding-top:3px;
}

.unvis-product-cases .unvis-case-card > a {
    min-height: 94px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--unvis-border);
    border-radius: var(--unvis-item-radius);
    background: var(--unvis-bg);
    color: var(--unvis-text);
    text-decoration: none;
    transition: all .4s cubic-bezier(.16,1,.3,1);
}

.unvis-product-cases .unvis-case-card > a:hover {
    border-color: var(--unvis-red);
    background: #fff;
    box-shadow: var(--unvis-shadow);
    transform: translateY(-3px);
}

.unvis-product-cases .unvis-case-card__image {
    width: 80px;
    height: 60px;
    flex: 0 0 80px;
    border: 1px solid var(--unvis-border);
    border-radius: 10px;
    object-fit: cover;
}

.unvis-product-cases .unvis-case-card__body {
    min-width: 0;
    padding: 0;
}

.unvis-product-cases .unvis-case-card__body h3 {
    margin: 0 0 4px;
    color: var(--unvis-blue);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -.3px;
    text-transform: uppercase;
}

.unvis-product-cases .unvis-case-card__body p {
    margin: 0;
    color: var(--unvis-muted);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
}

.unvis-product-cases .unvis-product-cases__bullets {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.unvis-product-cases .unvis-product-cases__bullets[hidden] {
    display: none;
}

.unvis-product-cases .unvis-product-cases__bullets button {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(26,54,93,.25);
    box-shadow: none;
    cursor: pointer;
}

.unvis-product-cases .unvis-product-cases__bullets button.is-active {
    background: var(--unvis-red);
}

@media (max-width: 1023px) {
    .unvis-product-cases .unvis-product-cases__track {
        grid-auto-columns: calc((100% - 24px) / 2);
    }
}

@media (max-width: 767px) {
    .unvis-product-cases.unvis-product-cases {
        padding: 45px 18px;
    }

    .unvis-product-cases .unvis-product-cases__track {
        grid-auto-columns: 88%;
    }

    .unvis-product-cases .unvis-product-cases__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

/* 04. КОЛИЧЕСТВО, ЦЕНА И КНОПКА ПОКУПКИ — итоговые уточнения */
.unvis-product__purchase form.cart .quantity.quantity-selector {
    width: 124px;
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 124px;
    margin: 0 !important;
    padding: 0 10px;
    border: 2px solid var(--unvis-border);
    border-radius: 100px;
    background: var(--unvis-bg);
}

.unvis-product__purchase form.cart .quantity.quantity-selector .qty-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--unvis-blue);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    box-shadow: none;
    cursor: pointer;
}

.unvis-product__purchase form.cart .quantity.quantity-selector .qty-btn:hover {
    color: var(--unvis-red);
    background: transparent;
}

.unvis-product__purchase form.cart .quantity.quantity-selector input.qty {
    width: 32px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--unvis-blue);
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    box-shadow: none !important;
    -moz-appearance: textfield;
}

.unvis-product__purchase form.cart .quantity.quantity-selector input.qty::-webkit-inner-spin-button,
.unvis-product__purchase form.cart .quantity.quantity-selector input.qty::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

/* 05. ГАЛЕРЕЯ ТОВАРА И ГАРАНТИЯ — итоговые размеры изображений */
.unvis-product__gallery .woocommerce-product-gallery__image img,
.unvis-product__gallery .flex-control-thumbs img {
    box-shadow: none !important;
    filter: none !important;
    object-fit: contain !important; /* Предотвращает обрезку картинок в галерее */
}

.unvis-product-card__image img {
    max-width: 92% !important;
    max-height: 210px;
    width: auto !important;
    margin: 0 auto !important;
    object-fit: contain !important; /* Жестко фиксирует пропорции без обрезки */
}

.unvis-product__gallery .flex-control-thumbs li img.flex-active {
    outline: 0 !important;
}

.unvis-product__gallery .flex-control-thumbs li:has(img.flex-active) {
    border-color: var(--unvis-red) !important;
    background: #fff !important;
    box-shadow: none !important;
}

.unvis-product__guarantee {
    color: var(--unvis-red);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: .8px;
    text-align: right;
    text-transform: uppercase;
}

/* 06. ИЗБРАННОЕ — интеграция с YITH Wishlist */
.unvis-product__wishlist img {
    display: none !important;
}

.unvis-product__wishlist a {
    width: 100%;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 20px !important;
    border: 1px solid var(--unvis-border) !important;
    border-radius: var(--unvis-item-radius) !important;
    background: var(--unvis-bg) !important;
    color: var(--unvis-blue) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-decoration: none;
    text-transform: uppercase !important;
    box-shadow: none !important;
    transition: .3s;
}

.unvis-product__wishlist a::before {
    content: '♡';
    display: inline-block;
    color: var(--unvis-red);
    font-size: 21px;
    font-weight: 400;
    line-height: 1;
}

.unvis-product__wishlist a:hover {
    border-color: var(--unvis-red) !important;
    background: #fff !important;
}

.unvis-product__wishlist a::after {
    content: 'В избранное';
    display: inline-block;
}

.unvis-product__wishlist a span:empty {
    display: none;
}

/* 07. ВКЛАДКИ И ХАРАКТЕРИСТИКИ ТОВАРА — итоговое оформление */
.unvis-product__tabs {
    margin-bottom: 80px;
    padding: 50px;
    border: 1px solid var(--unvis-border);
    border-radius: var(--unvis-radius);
    background: var(--unvis-surface);
    box-shadow: var(--unvis-shadow);
}

.unvis-product__tabs .woocommerce-tabs {
    margin: 0 !important;
}

.unvis-product__tabs .woocommerce-tabs ul.tabs {
    display: flex;
    gap: 30px;
    margin: 0 0 40px !important;
    padding: 0 !important;
    border-bottom: 2px solid var(--unvis-border);
    overflow: visible;
}

.unvis-product__tabs .woocommerce-tabs ul.tabs:before {
    display: none !important;
}

.unvis-product__tabs .woocommerce-tabs ul.tabs li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 0 15px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.unvis-product__tabs .woocommerce-tabs ul.tabs li::marker {
    content: '';
}

.unvis-product__tabs .woocommerce-tabs ul.tabs li:before,
.unvis-product__tabs .woocommerce-tabs ul.tabs li:after {
    display: none !important;
}

.unvis-product__tabs .woocommerce-tabs ul.tabs li a {
    padding: 0 !important;
    color: var(--unvis-muted) !important;
    font-size: 14px;
    font-weight: 800 !important;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.unvis-product__tabs .woocommerce-tabs ul.tabs li.active {
    border-bottom: 2px solid var(--unvis-blue) !important;
}

.unvis-product__tabs .woocommerce-tabs ul.tabs li.active a {
    color: var(--unvis-blue) !important;
}

.unvis-product__tabs .woocommerce-tabs .panel > h2 {
    display: none;
}

.unvis-product__tabs table.shop_attributes {
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-collapse: collapse !important;
}

.unvis-product__tabs table.shop_attributes tr {
    border: 0 !important;
    border-bottom: 1px solid var(--unvis-border) !important;
    background: transparent !important;
}

.unvis-product__tabs table.shop_attributes tr:last-child {
    border-bottom: 0 !important;
}

.unvis-product__tabs table.shop_attributes th,
.unvis-product__tabs table.shop_attributes td {
    padding: 16px 20px !important;
    border: 0 !important;
    background: transparent !important;
    font-size: 13px !important;
    font-style: normal !important;
    line-height: 1.5 !important;
}

.unvis-product__tabs table.shop_attributes th {
    width: 40% !important;
    color: var(--unvis-muted) !important;
    font-weight: 600 !important;
    text-align: left !important;
}

.unvis-product__tabs table.shop_attributes td {
    color: var(--unvis-blue) !important;
    font-weight: 700 !important;
}

.unvis-product__tabs table.shop_attributes td p {
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
    font: inherit !important;
}

/* 08. ДОКУМЕНТЫ И ФАЙЛЫ ТОВАРА — итоговое оформление */
.unvis-product-documents .documents-download-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.unvis-product-documents .doc-download-item {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 30px !important;
    border: 1px solid var(--unvis-border) !important;
    border-radius: var(--unvis-item-radius) !important;
    background: var(--unvis-bg) !important;
    color: var(--unvis-blue) !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: border-color .3s, background-color .3s, transform .3s;
}

.unvis-product-documents .doc-download-item:hover {
    border-color: var(--unvis-red) !important;
    background: #fff !important;
    box-shadow: var(--unvis-shadow) !important;
    transform: translateX(5px);
}

.unvis-product-documents .doc-item-title {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--unvis-blue);
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.unvis-product-documents .doc-item-title svg {
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 20px;
    fill: none !important;
    stroke: var(--unvis-red) !important;
    stroke-width: 2.2 !important;
}

.unvis-product-documents .doc-item-size {
    color: var(--unvis-muted) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .5px;
    white-space: nowrap;
    text-transform: uppercase;
}

/* 09. ХЛЕБНЫЕ КРОШКИ WOOCOMMERCE — итоговые уточнения */
.unvis-woo .catalog-breadcrumbs.yoast-breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 30px;
    color: var(--unvis-muted);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.unvis-woo .catalog-breadcrumbs.yoast-breadcrumbs > span {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.unvis-woo .catalog-breadcrumbs.yoast-breadcrumbs span {
    margin: 0;
}

.unvis-woo .catalog-breadcrumbs.yoast-breadcrumbs a {
    color: var(--unvis-muted);
    text-decoration: none;
    transition: color .3s;
}

.unvis-woo .catalog-breadcrumbs.yoast-breadcrumbs a:hover {
    color: var(--unvis-blue);
}

.unvis-woo .catalog-breadcrumbs.yoast-breadcrumbs .breadcrumb_last {
    color: var(--unvis-blue);
}

.unvis-woo .catalog-breadcrumbs.yoast-breadcrumbs .divider {
    color: var(--unvis-red);
    font-weight: 800;
}

/* 10. СТРАНИЦА ТОВАРА — галерея, описание, цена и метки */
.unvis-product__gallery .product-badge-list {
    position: absolute;
    z-index: 5;
    top: 40px;
    left: 40px;
    display: flex;
    gap: 8px;
}

.unvis-product__gallery .prod-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 12px;
    border-radius: 6px;
    background: var(--unvis-red);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.unvis-product__gallery.unvis-product__gallery .woocommerce-product-gallery__trigger {
    display: none !important;
}

.unvis-product__gallery.unvis-product__gallery .flex-viewport {

    align-items: center;
    margin: 0 0 20px;
}


.unvis-product__gallery .woocommerce-product-gallery__image a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.unvis-product__gallery.unvis-product__gallery .woocommerce-product-gallery__image,
.unvis-product__gallery.unvis-product__gallery .woocommerce-product-gallery__image--placeholder {
    width: 100%;
    min-height: 500px;
    align-items: center;
    justify-content: center;
}


.unvis-product__gallery.unvis-product__gallery .woocommerce-product-gallery__image img,
.unvis-product__gallery.unvis-product__gallery .woocommerce-product-gallery__image--placeholder img {
    display: block;
    max-width: 100%;
    max-height: 500px;
    width: auto !important;
    height: auto !important;
    margin: auto;
    object-fit: contain;
}

.unvis-product__gallery.unvis-product__gallery .flex-control-thumbs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.unvis-product__gallery.unvis-product__gallery .flex-control-thumbs li {
    float: none !important;
    width: 90px !important;
    height: 90px;
    padding: 10px;
    border: 2px solid var(--unvis-border);
    border-radius: var(--unvis-item-radius);
    background: var(--unvis-bg);
    list-style: none !important;
    cursor: pointer;
    transition: .3s;
}

.unvis-product__gallery.unvis-product__gallery .flex-control-thumbs li:hover {
    border-color: var(--unvis-red);
    background: #fff;
    box-shadow: var(--unvis-shadow);
}

.unvis-product__gallery.unvis-product__gallery .flex-control-thumbs li img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: .65;
}

.unvis-product__gallery .woocommerce-product-gallery__image img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 500px;
    margin: auto;
    object-fit: contain;
    box-shadow: none;
    filter: none;
}

.unvis-product__gallery.unvis-product__gallery .flex-control-thumbs li img.flex-active {
    opacity: 1;
    outline: 2px solid var(--unvis-red);
    outline-offset: 10px;
    border-radius: 10px;
}

/* 11. ТЕГИ ТОВАРА — итоговое оформление */
.product-tags-block {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed var(--unvis-border);
}

.product-tags-block .tags-label {
    display: block;
    margin-bottom: 10px;
    color: var(--unvis-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.product-tags-block .tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-tags-block .tag-link {
    padding: 6px 12px;
    border: 1px solid var(--unvis-border);
    border-radius: 100px;
    background: var(--unvis-bg);
    color: var(--unvis-blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    text-decoration: none;
    text-transform: uppercase;
    transition: .3s;
}

.product-tags-block .tag-link:hover {
    border-color: var(--unvis-red);
    background: var(--unvis-red);
    color: #fff;
}

/* 12. СЕТКИ ТОВАРОВ WOOCOMMERCE — карточки и состояния */
.unvis-woo {
    padding: 205px 0 90px;
    background: var(--unvis-bg);
    color: var(--unvis-text);
    min-height: 70vh;
    font-family: Montserrat, sans-serif;
}

.unvis-woo .woocommerce-breadcrumb {
    margin: 0 0 30px;
    color: var(--unvis-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.unvis-woo .woocommerce-breadcrumb a {
    color: var(--unvis-muted);
    text-decoration: none;
}

.unvis-woo .woocommerce-breadcrumb a:hover {
    color: var(--unvis-blue);
}

.unvis-product__hero {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 50px;
    margin-bottom: 60px;
    align-items: stretch;
}

.unvis-product__gallery,
.unvis-product__summary {
    min-width: 0;
    padding: 40px;
    border: 1px solid var(--unvis-border);
    border-radius: var(--unvis-radius);
    background: var(--unvis-surface);
    box-shadow: var(--unvis-shadow);
}

.unvis-product__gallery {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 690px;
}

.unvis-product__gallery .woocommerce-product-gallery {
    float: none !important;
    width: 100% !important;
    height: 100%;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.unvis-product__summary {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.unvis-product__meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.unvis-stock-badge {
    padding: 6px 12px;
    border-radius: 6px;
    background: #dfbe7a;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.unvis-stock-badge.is-out-of-stock {
    background: var(--unvis-red);
}

.unvis-sku {
    color: var(--unvis-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
}

.unvis-product__brand {
    margin-bottom: 10px;
    color: var(--unvis-red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.unvis-product__summary .product_title {
    margin: 0 0 25px;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -1px;
}

.unvis-product__summary .woocommerce-product-rating {
    margin: -12px 0 22px !important;
}

.unvis-product__short-attributes {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 0 30px;
    padding: 20px 0;
    border-top: 1px dashed var(--unvis-border);
    border-bottom: 1px dashed var(--unvis-border);
}

.unvis-product__short-attributes > div {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    font-size: 12px;
    font-weight: 600;
}

.unvis-product__short-attributes dt {
    color: var(--unvis-muted);
}

.unvis-product__short-attributes dd {
    margin: 0;
    color: var(--unvis-blue);
    font-weight: 800;
    text-align: right;
}

.unvis-product__short-description {
    margin: -10px 0 25px;
    color: var(--unvis-text);
    font-size: 12px;
    line-height: 1.7;
}

.unvis-product__short-description p:last-child {
    margin-bottom: 0;
}

.unvis-product__price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.unvis-product__price-label {
    display: block;
    margin-bottom: 5px;
    color: var(--unvis-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.unvis-product__price-row .price {
    margin: 0 !important;
    color: var(--unvis-blue) !important;
    font-size: 28px !important;
    font-weight: 600 !important;
    line-height: 1;
    letter-spacing: -1.5px;
}

.unvis-product__purchase {
    margin-bottom: 25px;
}

.unvis-product__purchase form.cart {
    display: flex !important;
    align-items: center;
    gap: 15px;
    margin: 0 !important;
}

.unvis-product__purchase form.cart .single_add_to_cart_button {
    flex: 1;
    min-height: 56px;
    padding: 0 30px !important;
    border-radius: 100px !important;
    background: var(--unvis-blue) !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 10px 25px rgba(26,54,93,.15);
    transition: .3s;
}

.unvis-product__purchase form.cart .single_add_to_cart_button:hover {
    background: var(--unvis-red) !important;
    box-shadow: 0 15px 30px rgba(230,91,80,.4);
    transform: translateY(-2px);
}

/* Purchase row: cart controls and compact wishlist button */
.unvis-product__purchase {
    display: flex;
    align-items: center;
    gap: 12px;
}

.unvis-product__purchase form.cart {
    flex: 1 1 auto;
    min-width: 0;
}

.unvis-product__purchase .unvis-product__wishlist {
    flex: 0 0 56px;
    margin: 0;
}

.unvis-product__purchase .unvis-product__wishlist > div,
.unvis-product__purchase .unvis-product__wishlist .yith-wcwl-add-button {
    width: 56px;
    height: 56px;
    margin: 0;
}

.unvis-product__purchase .unvis-product__wishlist a {
    position: relative;
    width: 56px;
    height: 56px !important;
    min-height: 56px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    color: var(--unvis-red) !important;
    overflow: hidden;
    text-indent: -9999px;
}

.unvis-product__purchase .unvis-product__wishlist a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 24px;
    height: 24px;
    margin: 0;
    background-color: currentColor;
    transform: translate(-50%, -50%);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78L12 21.23l8.84-8.84a5.5 5.5 0 0 0 0-7.78Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78L12 21.23l8.84-8.84a5.5 5.5 0 0 0 0-7.78Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.unvis-product__purchase .unvis-product__wishlist .exists a::before,
.unvis-product__purchase .unvis-product__wishlist a.delete_item::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.35 10.55 20.03C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09A6.01 6.01 0 0 1 16.5 3C19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.35 10.55 20.03C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09A6.01 6.01 0 0 1 16.5 3C19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54Z'/%3E%3C/svg%3E");
}

.unvis-product__purchase .unvis-product__wishlist a::after {
    display: none;
}

/* Service benefits shown below the purchase row */
.unvis-product__benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin: 0 0 10px !important;
    padding: 0 !important;
    list-style: none;
}

.unvis-product__benefits li {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    margin: 0;
    color: var(--unvis-blue);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.35;
}

.unvis-product__benefits img {
    display: block;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    object-fit: contain;
    box-shadow: none !important;
}

.unvis-product__standard-meta {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px dashed var(--unvis-border);
}

.unvis-product__standard-meta .product_meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--unvis-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
}

.unvis-product__standard-meta .product_meta a {
    color: var(--unvis-blue);
}

.unvis-product__related {
    padding: 100px 0;
}

.unvis-product__related > .related > h2,
.unvis-product-category-navigation .unvis-catalog-header h2,
.unvis-recently-viewed > h2 {
    margin: 0 0 30px;
    font-size: 30px;
    font-weight: 800;
}

.unvis-product__related ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin: 0 !important;
}

.unvis-product__related ul.products:before,
.unvis-product__related ul.products:after {
    display: none !important;
}

/* 13. ОБЩИЙ КАТАЛОГ — итоговая компоновка и карточки категорий */
.unvis-catalog-header {
    margin-bottom: 45px;
}

.unvis-product-category-navigation {
    padding-top: 50px;
}

.unvis-category-nav {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 60px;
}

.unvis-category-link {
    min-height: 150px;
    padding: 24px;
    border: 1px solid var(--unvis-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--unvis-shadow);
    color: var(--unvis-text);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all .4s cubic-bezier(.16,1,.3,1);
    overflow: hidden;
}

.unvis-category-link:hover,
.unvis-category-link.is-active {
    border-color: var(--unvis-red);
    box-shadow: 0 30px 60px rgba(230,91,80,.12);
    transform: translateY(-5px);
}

.unvis-category-icon {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--unvis-red);
}

.unvis-category-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.unvis-category-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.unvis-category-link strong {
    color: var(--unvis-blue);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.unvis-category-link small {
    color: var(--unvis-muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .5px;
}

.unvis-category-group {
    margin-bottom: 45px;
    padding: 45px;
    border: 1px solid var(--unvis-border);
    border-radius: 32px;
    background: #fff;
    box-shadow: var(--unvis-shadow);
}

.unvis-category-group__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--unvis-border);
    flex-wrap: wrap;
}

.unvis-category-group__header h2 {
    font-size: 24px;
    letter-spacing: -.5px;
}

.unvis-category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.unvis-category-tags a {
    padding: 5px 12px;
    border: 1px solid var(--unvis-border);
    border-radius: 100px;
    background: var(--unvis-bg);
    color: var(--unvis-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
    text-decoration: none;
    text-transform: uppercase;
    transition: .3s;
}

.unvis-category-tags a:hover {
    border-color: var(--unvis-red);
    background: var(--unvis-red);
    color: #fff;
}

.unvis-category-group ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px !important;
    margin: 0 !important;
}

.unvis-category-group ul.products:before,
.unvis-category-group ul.products:after {
    display: none !important;
}

.unvis-category-view-all {
    margin-top: 35px;
    padding-top: 30px;
    border-top: 1px solid var(--unvis-border);
    text-align: center;
}

.unvis-category-view-all a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 100px;
    background: var(--unvis-blue);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    transition: .3s;
}

.unvis-category-view-all a:hover {
    background: var(--unvis-red);
    box-shadow: 0 10px 25px rgba(230,91,80,.25);
    transform: translateY(-2px);
	color:#fff;
}

.unvis-catalog-directions {
    margin-bottom: 45px;
    padding: 45px;
    border: 1px solid var(--unvis-border);
    border-radius: 32px;
    background: #fff;
    box-shadow: var(--unvis-shadow);
}

.unvis-catalog-directions h2 {
    font-size: 24px;
    letter-spacing: -.5px;
}
.woocommerce-js .unvis-catalog-directions h2 {
    margin-bottom:30px;
}

.unvis-directions-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.unvis-directions-grid > a {
    padding: 20px 24px;
    border: 1px solid var(--unvis-bg);
    border-radius: 20px;
    background: var(--unvis-bg);
    color: var(--unvis-blue);
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: all .4s cubic-bezier(.16,1,.3,1);
}

.unvis-directions-grid > a:hover {
    border-color: var(--unvis-red);
    box-shadow: 0 30px 60px rgba(230,91,80,.12);
    transform: translateY(-4px);
}

.unvis-directions-grid svg {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    fill: none;
    stroke: var(--unvis-red);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.unvis-directions-grid span {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
}


/* 14. АДАПТИВНОСТЬ — итоговые мобильные уточнения
      Важно: этот раздел расположен позже и имеет приоритет в каскаде. */
@media(max-width:1400px){
    .unvis-category-group ul.products { grid-template-columns: repeat(3, minmax(0, 1fr))!important; }
}

@media(max-width:1200px){
    .unvis-category-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .unvis-category-group ul.products { grid-template-columns: repeat(2, minmax(0, 1fr))!important; }
    .unvis-directions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media(max-width:1100px){
    .unvis-category-nav { grid-template-columns: repeat(3, 1fr); }
    .unvis-category-group ul.products,
    .unvis-product__related ul.products { grid-template-columns: repeat(2, 1fr)!important; }
    .unvis-product__hero { grid-template-columns: 1fr; }
    .unvis-product__gallery { min-height: auto; }
}

@media(max-width:767px){
	.unvis-product__gallery .woocommerce-product-gallery__image a { min-height: 330px;}
    .unvis-woo { padding-top: 145px; }
    .unvis-product-category-navigation { padding-top: 50px; }
    .unvis-catalog-main-section { padding-inline: 0; }
    .unvis-container { padding: 0 18px; }
    .unvis-catalog-header :is(h1, h2) { font-size: 30px; }
    .unvis-category-nav { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .unvis-category-link { min-height: 115px; padding: 17px; }
    .unvis-category-link strong { white-space: normal; overflow-wrap: anywhere; }
    .unvis-category-group { padding: 24px 16px; }
    .unvis-category-group__header { align-items: flex-start; flex-direction: column; }
    .unvis-category-group ul.products,
    .unvis-product__related ul.products { grid-template-columns: 1fr!important; }
    .unvis-product__hero { gap: 20px; margin-bottom: 30px; }
    .unvis-product__gallery,
    .unvis-product__summary { padding: 25px 20px; border-radius: 22px; }
    .unvis-product__gallery.unvis-product__gallery .woocommerce-product-gallery__image,
    .unvis-product__gallery.unvis-product__gallery .woocommerce-product-gallery__image--placeholder { min-height: 330px; }
    .unvis-product__summary .product_title { font-size: 25px!important; }
    .unvis-product__meta-row { align-items: flex-start; flex-direction: column; gap: 10px; }
    .unvis-product__short-attributes > div { gap: 12px; }
    .unvis-product__purchase form.cart {/* align-items: stretch; flex-direction: column; */}
    .unvis-product__purchase form.cart .quantity input { width: 100%; }
    .unvis-product__tabs { margin-bottom: 45px; padding: 25px 18px; border-radius: 22px; }
    .unvis-product__tabs .woocommerce-tabs ul.tabs { gap: 16px; margin-bottom: 25px!important; overflow-x: auto; }
    .unvis-product__tabs .woocommerce-tabs ul.tabs li a { font-size: 11px; }
    .unvis-catalog-header p { line-height: 1.6; }
    .unvis-category-nav { overflow: visible; }
    .unvis-catalog-directions { padding: 30px 20px; }
    .unvis-directions-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   15. ИНТЕРАКТИВНОСТЬ КАРТОЧЕК — корзина и избранное
   ========================================================================== */
.unvis-product-card.product-card .product-actions-floating {
    width: 36px;
    height: 36px;
    right: 20px;
    top: 20px;
}

.unvis-product-card.product-card .product-actions-floating .yith-wcwl-add-to-wishlist,
.unvis-product-card.product-card .product-actions-floating .yith-wcwl-add-button,
.unvis-product-card.product-card .product-actions-floating .yith-wcwl-add-button > div {
    width: 36px;
    height: 36px;
    display: block;
    margin: 0 !important;
}

.unvis-product-card.product-card .product-actions-floating a {
    box-sizing: border-box;
    inset: auto;
}

.unvis-product-card.product-card .btn-add-to-cart {
    position: relative;
    overflow: hidden;
}

.unvis-product-card.product-card .btn-add-to-cart.is-adding,
.unvis-product-card.product-card .btn-add-to-cart.loading {
    pointer-events: none;
}

.unvis-product-card.product-card .btn-add-to-cart.is-adding svg,
.unvis-product-card.product-card .btn-add-to-cart.loading svg {
    opacity: .15;
}

.unvis-product-card.product-card .btn-add-to-cart.is-adding::after,
.unvis-product-card.product-card .btn-add-to-cart.loading::after {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,.45);
    border-top-color: #fff;
    border-radius: 50%;
    content: "";
    position: absolute;
    animation: unvis-cart-spin .7s linear infinite;
}

.unvis-product-card.product-card .btn-add-to-cart.is-added,
.unvis-product-card.product-card .btn-add-to-cart.added {
    background: var(--unvis-red) !important;
}

.unvis-product-card.product-card .btn-add-to-cart.is-added svg,
.unvis-product-card.product-card .btn-add-to-cart.added svg {
    display: none;
}

.unvis-product-card.product-card .btn-add-to-cart.is-added::after,
.unvis-product-card.product-card .btn-add-to-cart.added::after {
    color: #fff;
    content: "✓";
    font-size: 19px;
    font-weight: 800;
    line-height: 1;
}

@keyframes unvis-cart-spin { to { transform: rotate(360deg); } }

/* 15.1. Активное состояние кнопки избранного */
.unvis-product-card.product-card .product-actions-floating .exists a,
.unvis-product-card.product-card .product-actions-floating a.delete_item {
    border-color: var(--unvis-red) !important;
    background: var(--unvis-red) !important;
    color: #fff !important;
}

.unvis-product-card.product-card .product-actions-floating .exists a::before,
.unvis-product-card.product-card .product-actions-floating a.delete_item::before {
    content: "♡";
    color: #fff;
}

/* ==========================================================================
   16. АРХИВЫ КАТЕГОРИЙ И ТЕГОВ ТОВАРОВ
   ========================================================================== */
.unvis-taxonomy-section {
    min-height: 70vh;
    padding: 0 0 100px;
    background: var(--unvis-bg, #f5f6f8);
}

.unvis-taxonomy-header {
    margin: 0 0 45px;
}

.unvis-taxonomy-header .term-description {
    margin-top: 5px;
    max-width: none;
    color: var(--unvis-muted, #6f7782);
    font-size: 15px;
    line-height: 1.7;
}

.unvis-taxonomy-header .term-description p {
    margin: 0;
}

.unvis-taxonomy-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 0 30px;
    padding: 17px 22px;
    border: 1px solid var(--unvis-border, #e5e8ee);
    border-radius: 18px;
    background: #fff;
}

.unvis-taxonomy-toolbar::before,
.unvis-taxonomy-toolbar::after {
    display: none !important;
}

.unvis-taxonomy-toolbar .woocommerce-result-count,
.unvis-taxonomy-toolbar .woocommerce-ordering {
    float: none;
    margin: 0 !important;
}

.unvis-taxonomy-toolbar .woocommerce-result-count {
    color: var(--unvis-blue, #243f68);
    font-size: 14px;
    font-weight: 600;
}

.unvis-taxonomy-toolbar .woocommerce-ordering select {
    min-width: 245px;
    height: 46px;
    margin: 0;
    padding: 0 44px 0 16px;
    border: 1px solid var(--unvis-border, #dfe3e9);
    border-radius: 12px;
    background-color: #fff;
    color: var(--unvis-blue, #243f68);
    font-size: 14px;
    font-weight: 600;
}

.unvis-taxonomy-archive ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.unvis-taxonomy-archive ul.products::before,
.unvis-taxonomy-archive ul.products::after {
    display: none !important;
}

.unvis-taxonomy-archive ul.products li.product {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

.unvis-taxonomy-pagination {
    margin-top: 46px;
}

.unvis-taxonomy-pagination .woocommerce-pagination ul.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 !important;
    border: 0 !important;
}

.unvis-taxonomy-pagination .woocommerce-pagination ul.page-numbers li {
    margin: 0;
    border: 0 !important;
}

.unvis-taxonomy-pagination .woocommerce-pagination ul.page-numbers a,
.unvis-taxonomy-pagination .woocommerce-pagination ul.page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0 !important;
    border: 1px solid var(--unvis-border, #dfe3e9);
    border-radius: 50%;
    background: #fff;
    color: var(--unvis-blue, #243f68);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.unvis-taxonomy-pagination .woocommerce-pagination ul.page-numbers .current,
.unvis-taxonomy-pagination .woocommerce-pagination ul.page-numbers a:hover,
.unvis-taxonomy-pagination .woocommerce-pagination ul.page-numbers a:focus {
    border-color: var(--unvis-red, #e9524a);
    background: var(--unvis-red, #e9524a);
    color: #fff;
}

@media (max-width: 1199px) {
    .unvis-taxonomy-archive ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 899px) {
    .unvis-taxonomy-section {
        padding-top: 0;
    }
    .unvis-taxonomy-header h1 {
        font-size: 36px;
    }
    .unvis-taxonomy-archive ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 599px) {
    .unvis-taxonomy-section {
        padding: 0 0 70px;
    }
    .unvis-taxonomy-header h1 {
        font-size: 32px;
    }
    .unvis-taxonomy-toolbar {
        align-items: stretch;
        flex-direction: column;
    }
    .unvis-taxonomy-toolbar .woocommerce-ordering,
    .unvis-taxonomy-toolbar .woocommerce-ordering select {
        width: 100%;
        min-width: 0;
    }
    .unvis-taxonomy-archive ul.products {
        grid-template-columns: minmax(0, 1fr) !important;
    }
	
	
	
	
	.unvis-category-view-all a {font-size: 9px;}
	.unvis-product__price-row .price {font-size: 32px !important; align-items: flex-start;}
	.unvis-product__guarantee {font-size: 9px; text-align: left;}
	.unvis-product__price-label {font-size: 9px;}
	.unvis-product__purchase form.cart .quantity.quantity-selector input.qty {font-size:9px}
	.unvis-product__purchase form.cart .quantity.quantity-selector .qty-btn {font-size:11px}
	.unvis-product__purchase form.cart .quantity.quantity-selector {width: 104px; height: 45px !important; min-height: 45px !important; max-height: 45px !important; flex: 0 0 105px;}
	.unvis-product__purchase form.cart .single_add_to_cart_button {min-height: 45px; padding: 0 30px !important; font-size: 11px !important;}
	.unvis-product__price-row {align-items: flex-start;}
	.unvis-product__wishlist a {height: 45px !important; min-height: 45px !important;}
	.unvis-product__purchase {margin-bottom: 10px;}
	.unvis-product__purchase .unvis-product__wishlist,
	.unvis-product__purchase .unvis-product__wishlist > div,
	.unvis-product__purchase .unvis-product__wishlist .yith-wcwl-add-button {flex-basis:45px; width:45px; height:45px;}
	.unvis-product__purchase .unvis-product__wishlist a {width:45px; height:45px !important; min-height:45px !important;}
	.unvis-product__benefits {grid-template-columns:1fr; gap:10px; margin-top:18px !important;}
	.unvis-product__related {padding: 20px 0;}
	.unvis-product__summary .product_title {font-size: 24px !important;}
	.unvis-product__related > .related > h2, .unvis-product-category-navigation .unvis-catalog-header h2 {font-size: 24px;}
	
	
}