/* ============================================================
   yeti-catalog.css — Йети, минималистичный стиль
   wp-content/themes/bono_child/css/yeti-catalog.css
   ============================================================ */

/* ── Страница каталога (/catalog/) ──────────────────────────── */

.yeti-catalog-wrap {
    max-width: 100%;
    padding: 0;
}

.yeti-catalog-header {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1.5px solid #85ad37;
    padding-bottom: .875rem;
}

.yeti-catalog-title {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -.3px;
    margin: 0;
}

.yeti-catalog-count {
    font-size: 14px;
    color: #999;
}

.yeti-sec-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #85ad37;
    margin: 2rem 0 .875rem;
    padding: 0;
}

/* Сетка категорий — 5 колонок как на главной */
.yeti-cat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

/* Карточка категории */
.yeti-cat-card {
    background: #fff;
    border: 1px solid #e8e8e6;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none !important;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: border-color .18s;
}
.yeti-cat-card:hover {
    border-color: #85ad37;
    text-decoration: none !important;
}
.yeti-cat-card--featured { border-color: #85ad37; }

/* Картинка — object-contain как на главной */
.yeti-cat-img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #fff;
    padding: 12px 12px 0;
    flex-shrink: 0;
    transition: transform .3s;
}
.yeti-cat-card:hover .yeti-cat-img {
    transform: scale(1.04);
}

.yeti-cat-body {
    padding: 10px 13px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.yeti-cat-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .9px;
    text-transform: uppercase;
    color: #fff;
    background: #85ad37;
    padding: 2px 7px;
    border-radius: 3px;
    width: fit-content;
    margin-bottom: 2px;
}

.yeti-cat-name {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.35;
    transition: color .15s;
}
.yeti-cat-card:hover .yeti-cat-name { color: #85ad37; }

.yeti-cat-count {
    font-size: 10px;
    color: #bbb;
    margin-top: 2px;
    display: block;
}
.yeti-cat-count::after {
    content: ' a0товаров';
}


/* ── Скрыть старое на /catalog/ ─────────────────────────────── */
.page-id-catalog ul.products,
.page-id-catalog .woocommerce-pagination,
.page-id-catalog .woocommerce-result-count,
.page-id-catalog .woocommerce-ordering,
.page-id-catalog .entry-title,
.page-id-catalog h1.page-title {
    display: none !important;
}


/* ================================================================
   СТРАНИЦЫ КАТЕГОРИЙ — переопределяем сетку Bono на 4 колонки
   ================================================================ */

/* Сброс float-сетки Bono и принудительный grid */
.tax-product_cat ul.products.columns-2,
.tax-product_cat ul.products.columns-3,
.tax-product_cat ul.products.columns-4,
.woocommerce-page.tax-product_cat ul.products,
body.tax-product_cat .woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    float: none !important;
    width: 100% !important;
}

/* Каждый li — сброс float/width от Bono */
body.tax-product_cat .woocommerce ul.products li.product,
.tax-product_cat ul.products li.product {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
    display: flex !important;
    flex-direction: column !important;
}

/* ── Карточка товара ─────────────────────────────────────────── */
body.tax-product_cat ul.products li.product {
    background: #fff;
    border: 1px solid #e8e8e6;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color .18s, box-shadow .18s;
    position: relative;
}
body.tax-product_cat ul.products li.product:hover {
    border-color: #2a7a2a;
    box-shadow: 0 4px 16px rgba(42,122,42,.1);
}

/* Картинка */
body.tax-product_cat ul.products li.product a img {
    width: 100% !important;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block !important;
    height: auto !important;
    transition: transform .3s;
    background: #f4f4f2;
}
body.tax-product_cat ul.products li.product:hover a img {
    transform: scale(1.03);
}

/* Ссылка с картинкой — убираем двойное изображение от Bono */
body.tax-product_cat ul.products li.product a.woocommerce-loop-product__link {
    display: block;
    overflow: hidden;
}

/* Скрываем дублирующее изображение (secondary image Bono) */
body.tax-product_cat ul.products li.product a img:nth-child(2),
body.tax-product_cat ul.products li.product .bono-product-second-image {
    display: none !important;
}

/* Название товара */
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #1a1a1a !important;
    line-height: 1.4 !important;
    padding: 10px 12px 4px !important;
    margin: 0 !important;
    transition: color .15s;
}
body.tax-product_cat ul.products li.product:hover .woocommerce-loop-product__title {
    color: #2a7a2a !important;
}

/* Цена */
body.tax-product_cat ul.products li.product .price {
    font-size: 12px !important;
    color: #555 !important;
    padding: 0 12px 8px !important;
    margin: 0 !important;
    display: block;
}
body.tax-product_cat ul.products li.product .price .woocommerce-Price-amount {
    color: #2a7a2a;
    font-weight: 600;
}
body.tax-product_cat ul.products li.product .price del {
    color: #bbb;
    font-size: 11px;
}

/* Кнопка «Подробнее» */
body.tax-product_cat ul.products li.product .button,
body.tax-product_cat ul.products li.product a.button {
    display: block !important;
    width: calc(100% - 24px) !important;
    margin: 0 12px 12px !important;
    text-align: center !important;
    padding: 7px 10px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    border: 1.5px solid #2a7a2a !important;
    background: transparent !important;
    color: #2a7a2a !important;
    text-decoration: none !important;
    transition: background .15s, color .15s !important;
    box-shadow: none !important;
}
body.tax-product_cat ul.products li.product .button:hover,
body.tax-product_cat ul.products li.product a.button:hover {
    background: #2a7a2a !important;
    color: #fff !important;
}

/* ── Значки при наведении (быстрый просмотр, сравнение, избранное) ── */
/* Bono показывает их через .yith-wcwl-add-to-wishlist, .compare-button и пр. */
/* Возвращаем видимость и позиционируем поверх картинки */
body.tax-product_cat ul.products li.product .yith-wcwl-add-to-wishlist,
body.tax-product_cat ul.products li.product .compare-button,
body.tax-product_cat ul.products li.product .woosq-btn,
body.tax-product_cat ul.products li.product .product-quick-view,
body.tax-product_cat ul.products li.product .bono-product-hover-icons,
body.tax-product_cat ul.products li.product .product-hover-area {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    z-index: 10 !important;
}

/* Sale/New бейджи */
body.tax-product_cat ul.products li.product .onsale {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    z-index: 5 !important;
    background: #2a7a2a !important;
    color: #fff !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: .8px !important;
    text-transform: uppercase !important;
    padding: 2px 7px !important;
    border-radius: 3px !important;
    margin: 0 !important;
    min-height: auto !important;
}

/* Заголовок страницы категории */
body.tax-product_cat .woocommerce-products-header {
    margin-bottom: 1.5rem;
    border-bottom: 1.5px solid #2a7a2a;
    padding-bottom: .875rem;
}
body.tax-product_cat .woocommerce-products-header__title {
    font-size: 22px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    letter-spacing: -.3px;
    margin: 0 !important;
}

/* Счётчик и сортировка */
body.tax-product_cat .woocommerce-result-count {
    font-size: 13px;
    color: #999;
}
body.tax-product_cat .woocommerce-ordering select {
    border: 1px solid #e0e0de;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 12px;
    color: #555;
    background: #fff;
}

/* Пагинация */
body.tax-product_cat .woocommerce-pagination ul {
    display: flex;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    justify-content: center;
}
body.tax-product_cat .woocommerce-pagination ul li a,
body.tax-product_cat .woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    border: 1px solid #e0e0de;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    transition: border-color .15s, color .15s;
}
body.tax-product_cat .woocommerce-pagination ul li a:hover {
    border-color: #2a7a2a;
    color: #2a7a2a;
}
body.tax-product_cat .woocommerce-pagination ul li span.current {
    background: #2a7a2a;
    border-color: #2a7a2a;
    color: #fff;
}

/* ── Адаптив ───────────────────────────────────────────────── */
@media (max-width: 1280px) {
    .yeti-cat-grid { grid-template-columns: repeat(4, 1fr) !important; }
}
@media (max-width: 1024px) {
    .yeti-cat-grid { grid-template-columns: repeat(3, 1fr) !important; }
    body.tax-product_cat .woocommerce ul.products,
    .tax-product_cat ul.products { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 680px) {
    .yeti-cat-grid,
    body.tax-product_cat .woocommerce ul.products,
    .tax-product_cat ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
    .yeti-catalog-title { font-size: 20px; }
}
@media (max-width: 400px) {
    .yeti-cat-grid,
    body.tax-product_cat .woocommerce ul.products,
    .tax-product_cat ul.products { gap: 8px !important; }
}


/* ================================================================
   СТРАНИЦЫ КАТЕГОРИЙ — точные селекторы темы Bono
   Структура: .shop-grid > .shop-item > .shop-item-inner
   ================================================================ */

/* Сетка — уже 4 колонки через .shop-grid--columns-4, просто добавляем gap */
.tax-product_cat .shop-grid.shop-grid--columns-4 {
    gap: 16px !important;
}

/* ── Карточка товара ─────────────────────────────────────────── */
.tax-product_cat .shop-item {
    background: #fff !important;
    border: 1px solid #e8e8e6 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    transition: border-color .18s !important;
    box-shadow: none !important;
}

.tax-product_cat .shop-item:hover {
    border-color: #85ad37 !important;
    box-shadow: none !important;
}

/* ── Картинка ────────────────────────────────────────────────── */
.tax-product_cat .shop-item__image-inner img {
    width: 100% !important;
    aspect-ratio: 4 / 3 !important;
    object-fit: cover !important;
    display: block !important;
    height: auto !important;
    transition: transform .3s !important;
}

.tax-product_cat .shop-item:hover .shop-item__image-inner img {
    transform: scale(1.03) !important;
}

/* ── Кнопка «Подробнее» ──────────────────────────────────────── */
.tax-product_cat .shop-item__buttons-cart {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 8px 12px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    border: 1.5px solid #85ad37 !important;
    background: transparent !important;
    color: #85ad37 !important;
    text-decoration: none !important;
    transition: background .15s, color .15s !important;
    box-shadow: none !important;
    margin: 0 !important;
}

.tax-product_cat .shop-item__buttons-cart:hover,
.tax-product_cat .shop-item__buttons-cart:focus {
    background: #85ad37 !important;
    border-color: #85ad37 !important;
    color: #fff !important;
    box-shadow: none !important;
}

/* Обёртка кнопки */
.tax-product_cat .shop-item__buttons {
    padding: 8px 10px 10px !important;
    background: transparent !important;
    position: static !important;
    opacity: 1 !important;
    transform: none !important;
    display: block !important;
}

/* ── Название товара ─────────────────────────────────────────── */
.tax-product_cat .shop-item__title {
    padding: 10px 12px 4px !important;
}

.tax-product_cat .shop-item__title a {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    transition: color .15s !important;
}

.tax-product_cat .shop-item:hover .shop-item__title a {
    color: #85ad37 !important;
}

/* ── Значки при наведении (избранное, просмотр, сравнение) ───── */
.tax-product_cat .shop-item__icons {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    z-index: 10 !important;
}

.tax-product_cat .shop-item__icons-favorite,
.tax-product_cat .shop-item__icons-quick,
.tax-product_cat .shop-item__icons-compare {
    width: 30px !important;
    height: 30px !important;
    border-radius: 6px !important;
    background: rgba(255,255,255,.92) !important;
    box-shadow: 0 1px 4px rgba(0,0,0,.12) !important;
    transition: background .15s !important;
}

.tax-product_cat .shop-item__icons-favorite:hover,
.tax-product_cat .shop-item__icons-quick:hover,
.tax-product_cat .shop-item__icons-compare:hover {
    background: #85ad37 !important;
    box-shadow: inset 0 -3.25em 0 0 #85ad37 !important;
    -webkit-box-shadow: inset 0 -3.25em 0 0 #85ad37 !important;
}

/* ── Заголовок страницы категории ───────────────────────────── */
.tax-product_cat h1.woocommerce-products-header__title {
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    letter-spacing: -.3px !important;
    margin-bottom: 1rem !important;
    padding-bottom: .875rem !important;
    border-bottom: 1.5px solid #85ad37 !important;
}

/* ── Сортировка ──────────────────────────────────────────────── */
.tax-product_cat .shop-sorting {
    margin-bottom: 1.25rem !important;
}

.tax-product_cat .woocommerce-result-count {
    font-size: 14px !important;
    color: #999 !important;
}

.tax-product_cat .woocommerce-ordering select {
    border: 1px solid #e0e0de !important;
    border-radius: 6px !important;
    padding: 5px 10px !important;
    font-size: 13px !important;
    background: #fff !important;
}

/* ── Адаптив ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .tax-product_cat .shop-grid.shop-grid--columns-4 {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 680px) {
    .tax-product_cat .shop-grid.shop-grid--columns-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
}


/* ── Убрать лишний padding на странице /catalog/ ────────────── */
/* Страница каталога — убираем верхние отступы до нашего шорткода */
.page-id-catalog .site-content-inner,
.page-id-catalog #primary,
.page-id-catalog #main,
.page-id-catalog .entry-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.page-id-catalog .woocommerce-breadcrumb {
    display: none !important;
}

.page-id-catalog .yeti-catalog-wrap {
}


/* ── Убрать лишний padding на страницах категорий (/catalog/*//) */
.tax-product_cat .site-content-inner,
.tax-product_cat #primary,
.tax-product_cat #main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Хлебные крошки — убрать нижний отступ */
.tax-product_cat .woocommerce-breadcrumb {
    margin-top: 0 !important;
    margin-bottom: 0.5rem !important;
    padding-top: 0 !important;
}

/* Заголовок категории — убрать отступ сверху */
.tax-product_cat h1.woocommerce-products-header__title {
    margin-top: 0 !important;
    padding-top: 0 !important;
}


/* ── Убрать тень Bono при наведении на карточку товара ──────── */
.tax-product_cat .shop-item-inner,
.tax-product_cat .shop-item:hover .shop-item-inner,
.tax-product_cat .shop-item:hover,
.tax-product_cat .shop-item:focus {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}


/* ── Активные значки: товар в избранном или в сравнении ──────── */

/* Избранное — активное состояние */
.tax-product_cat .shop-item__icons-favorite.added,
.tax-product_cat .shop-item__icons-favorite.js-shop-item-favorite.added,
.tax-product_cat .shop-item__icons-favorite.in-wishlist {
    background: #85ad37 !important;
    box-shadow: inset 0 -3.25em 0 0 #85ad37 !important;
    -webkit-box-shadow: inset 0 -3.25em 0 0 #85ad37 !important;
}

/* Сравнение — активное состояние */
.tax-product_cat .shop-item__icons-compare.added,
.tax-product_cat .shop-item__icons-compare.js-shop-item-compare.added,
.tax-product_cat .shop-item__icons-compare.in-compare {
    background: #85ad37 !important;
    box-shadow: inset 0 -3.25em 0 0 #85ad37 !important;
    -webkit-box-shadow: inset 0 -3.25em 0 0 #85ad37 !important;
}

/* Быстрый просмотр — активное состояние */
.tax-product_cat .shop-item__icons-quick.added {
    background: #85ad37 !important;
    box-shadow: inset 0 -3.25em 0 0 #85ad37 !important;
    -webkit-box-shadow: inset 0 -3.25em 0 0 #85ad37 !important;
}

/* Кнопка «В корзину» — после добавления товара */
.tax-product_cat .shop-item__buttons-cart.added {
    background: #85ad37 !important;
    border-color: #85ad37 !important;
    color: #fff !important;
}


/* ── Активные значки: красный фон когда товар добавлен ───────── */

/* Все возможные классы активного состояния в теме Bono */
.tax-product_cat .shop-item__icons-favorite.active,
.tax-product_cat .shop-item__icons-favorite.added,
.tax-product_cat .shop-item__icons-favorite.in-wishlist,
.tax-product_cat .shop-item__icons-favorite.is-active,
.tax-product_cat .shop-item__icons-quick.active,
.tax-product_cat .shop-item__icons-quick.added,
.tax-product_cat .shop-item__icons-quick.is-active,
.tax-product_cat .shop-item__icons-compare.active,
.tax-product_cat .shop-item__icons-compare.added,
.tax-product_cat .shop-item__icons-compare.in-compare,
.tax-product_cat .shop-item__icons-compare.is-active {
    background: #e53935 !important;
    box-shadow: inset 0 -3.25em 0 0 #e53935 !important;
    -webkit-box-shadow: inset 0 -3.25em 0 0 #e53935 !important;
    color: #fff !important;
}


/* ── Точные классы активных состояний Bono ───────────────────── */
.tax-product_cat .shop-item__icons-favorite.in-favorite {
    background: #e53935 !important;
    box-shadow: inset 0 -3.25em 0 0 #e53935 !important;
    -webkit-box-shadow: inset 0 -3.25em 0 0 #e53935 !important;
    color: #fff !important;
}


/* ── Убрать лишние отступы внутри карточки ──────────────────── */
.tax-product_cat .shop-item-inner {
    padding: 0 !important;
}

.tax-product_cat .shop-item__image {
    padding: 0 !important;
    margin: 0 !important;
}

.tax-product_cat .shop-item__buttons {
    padding: 6px 10px 6px !important;
}

.tax-product_cat .shop-item__title {
    padding: 6px 12px 6px !important;
}

/* Пустой блок цены — убрать отступ */
.tax-product_cat .shop-item__price:empty {
    display: none !important;
}

.tax-product_cat .shop-item__price {
    padding: 0 12px 6px !important;
    margin: 0 !important;
}

/* Бейджи — убрать если пустые */
.tax-product_cat .shop-item__badges:empty {
    display: none !important;
}


/* ── Кнопка «Весь каталог» в хедере ────────────────────────── */
/* Скрыть дублирующую кнопку слева от меню */
.header-html-2 {
    display: none !important;
}

/* Показать кнопку справа и прижать к краю */
.header-html-1 {
    display: flex !important;
    align-items: center !important;
    margin-left: 16px !important;
    flex-shrink: 0 !important;
}


/* ================================================================
   СТРАНИЦЫ КАТЕГОРИЙ — 4 товара в строке, полная ширина
   ================================================================ */

/* Принудительный grid на всю ширину */
.tax-product_cat .shop-grid,
.tax-product_cat .shop-grid.shop-grid--columns-4 {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* Карточка — сброс float и width от Bono */
.tax-product_cat .shop-grid .shop-item {
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
}

/* Адаптив */
@media (max-width: 1024px) {
    .tax-product_cat .shop-grid,
    .tax-product_cat .shop-grid.shop-grid--columns-4 {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 680px) {
    .tax-product_cat .shop-grid,
    .tax-product_cat .shop-grid.shop-grid--columns-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
}

@media (max-width: 400px) {
    .tax-product_cat .shop-grid,
    .tax-product_cat .shop-grid.shop-grid--columns-4 {
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 8px !important;
    }
}


/* ── Кнопка «Подробнее» hover — зелёный фон ─────────────────── */
.tax-product_cat .shop-item__buttons-cart:hover,
.tax-product_cat .shop-item__buttons-cart:focus,
.tax-product_cat .shop-item:hover .shop-item__buttons-cart {
    background: #85ad37 !important;
    border-color: #85ad37 !important;
    color: #fff !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    opacity: 1 !important;
}


/* ── Убрать дублирование счётчика товаров ────────────────────── */
/* sup.count содержит число + after добавляет " товаров" */
/* Но Bono уже выводит текст внутри sup — убираем ::after */
.yeti-cat-count::after {
    content: '' !important;
}

/* Просто показываем число без добавок */
.yeti-cat-count {
    font-size: 10px !important;
    color: #bbb !important;
}


/* ── Убрать розовый фон и pointer-events на области картинки ─── */
.tax-product_cat .shop-item__image,
.tax-product_cat .shop-item__image-inner {
    background: transparent !important;
    background-color: transparent !important;
}

/* Убрать любые псевдоэлементы которые перекрывают клик */
.tax-product_cat .shop-item__image::before,
.tax-product_cat .shop-item__image::after,
.tax-product_cat .shop-item__image-inner::before,
.tax-product_cat .shop-item__image-inner::after {
    display: none !important;
    pointer-events: none !important;
}

/* Вся карточка кликабельна */
.tax-product_cat .shop-item,
.tax-product_cat .shop-item-inner,
.tax-product_cat .shop-item__image,
.tax-product_cat .shop-item__image-inner {
    pointer-events: auto !important;
}


/* ── .shop-item__icons не блокирует клик по карточке ─────────── */
.tax-product_cat .shop-item__icons {
    pointer-events: none !important;
}

/* Но сами иконки кликабельны */
.tax-product_cat .shop-item__icons-favorite,
.tax-product_cat .shop-item__icons-quick,
.tax-product_cat .shop-item__icons-compare {
    pointer-events: auto !important;
}


/* ── Кнопка «Добавить все в корзину» — справа от заголовка ──── */

/* Обёртка заголовка страницы категории */
.tax-product_cat .woocommerce-products-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
}

/* Кнопка выравнивается по правому краю */
.tax-product_cat .yeti-add-all-wrap {
    margin-bottom: 0 !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
}


/* ── Кнопка «В корзину» — явно разрешить клики ──────────────── */
.tax-product_cat .shop-item__buttons,
.tax-product_cat .shop-item__buttons-cart,
.tax-product_cat .shop-item__buttons-cart.ajax_add_to_cart,
.tax-product_cat .shop-item__buttons .button,
.tax-product_cat .shop-item__buttons a {
    pointer-events: auto !important;
    position: relative !important;
    z-index: 5 !important;
}
