body a {text-decoration:none!important;}
body { color:#000!important }



/* ===== КАРТИНКИ ТОВАРОВ 3:4 - УСИЛЕННАЯ ВЕРСИЯ ===== */
body .woocommerce ul.products li.product a img,
body .woocommerce ul.products li.product img,
body ul.products li.product img,
body .wc-block-grid__product-image img,
body .woocommerce-loop-product__link img,
body .attachment-woocommerce_thumbnail {
    aspect-ratio: 3 / 5 !important;
    object-fit: cover !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    display: block !important;
}

/* ===== КНОПКИ ADD TO CART ===== */
body .woocommerce ul.products li.product .button,
body .woocommerce a.button.add_to_cart_button,
body ul.products li.product .add_to_cart_button,
body .woocommerce-loop-product__link + .button,
body .wc-block-grid__product-add-to-cart a,
body .wc-block-components-product-button__button {
    background-color: #000000 !important;
    background: #000000 !important;
    color: #ffffff !important;
    border-radius: 0 !important;
    border: none !important;
    padding: 14px 32px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
    width: auto !important;
    display: inline-block !important;
}

body .woocommerce ul.products li.product .button:hover,
body .woocommerce a.button.add_to_cart_button:hover,
body ul.products li.product .add_to_cart_button:hover {
    background-color: #333333 !important;
    background: #333333 !important;
    color: #ffffff !important;
}

/* ===== КНОПКА НА СТРАНИЦЕ ОТДЕЛЬНОГО ТОВАРА ===== */
body .woocommerce div.product form.cart .button,
body .single_add_to_cart_button,
body button.single_add_to_cart_button {
    background-color: #000000 !important;
    background: #000000 !important;
    color: #ffffff !important;
    border-radius: 0 !important;
    padding: 16px 40px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    border: none !important;
}

/* ===== НАЗВАНИЯ ТОВАРОВ ===== */
body .woocommerce ul.products li.product .woocommerce-loop-product__title,
body ul.products li.product h2,
body ul.products li.product h3 {
    font-size: 14px !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    margin-top: 15px !important;
    margin-bottom: 10px !important;
}

/* ===== ЦЕНА ТОВАРА ===== */
body .woocommerce ul.products li.product .price,
body ul.products li.product .price {
    font-size: 16px !important;
    color: #000000 !important;
    margin-bottom: 15px !important;
}

/* ===== 3 КОЛОНКИ ===== */
body .woocommerce ul.products,
body ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 40px !important;
}

body .woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 768px) {
    body .woocommerce ul.products,
    body ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 480px) {
    body .woocommerce ul.products,
    body ul.products {
        grid-template-columns: 1fr !important;
    }
}

/* ===== SALE LABEL ===== */
body .woocommerce span.onsale {
    background: #000000 !important;
    background-color: #000000 !important;
    color: #ffffff !important;
    border-radius: 0 !important;
    padding: 6px 14px !important;
    font-size: 11px !important;
    letter-spacing: 2px !important;
    font-weight: 500 !important;
}

.woocommerce #content div.product ul li {
    list-style-type: none !important;
}


/* ===== ТОЧКИ ::marker НА ВАШИХ КЛАССАХ ===== */
body ul.wc-block-product-template,
body ul.wp-block-woocommerce-product-template,
body .wp-block-woocommerce-product-collection ul,
body .wp-block-woocommerce-product-template {
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

body li.wc-block-product,
body ul.wc-block-product-template li,
body ul.wp-block-woocommerce-product-template li,
body .wp-block-woocommerce-product-collection li,
body .wp-block-woocommerce-product-template li,
body li.wp-block-post {
    list-style: none !important;
    list-style-type: none !important;
    list-style-image: none !important;
    padding-left: 0 !important;
    background: none !important;
}

body li.wc-block-product::marker,
body ul.wc-block-product-template li::marker,
body ul.wp-block-woocommerce-product-template li::marker,
body .wp-block-woocommerce-product-collection li::marker,
body li.wp-block-post::marker {
    content: "" !important;
    color: transparent !important;
    font-size: 0 !important;
    display: none !important;
}

body li.wc-block-product::before,
body ul.wc-block-product-template li::before,
body ul.wp-block-woocommerce-product-template li::before,
body .wp-block-woocommerce-product-collection li::before {
    content: none !important;
    display: none !important;
    background: none !important;
}

/* ===== FacetWP ФИЛЬТРЫ СТИЛЬ КАК У TONIC ===== */

/* Заголовки групп фильтров */
.wp-block-column h2, 
.wp-block-column h3 {
    font-size: 14px !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    margin: 30px 0 15px 0 !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid #e0e0e0 !important;
    font-weight: 500 !important;
}

/* Первый заголовок без верхнего отступа */
.wp-block-column h2:first-child, 
.wp-block-column h3:first-child {
    margin-top: 0 !important;
}

/* Сами фильтры */
.facetwp-facet {
    margin-bottom: 30px !important;
}

/* Чекбоксы */
.facetwp-checkbox {
    display: block !important;
    margin-bottom: 10px !important;
    padding-left: 24px !important;
    background-image: none !important;
    font-size: 13px !important;
    color: #333 !important;
    cursor: pointer !important;
    position: relative !important;
    letter-spacing: 0.5px !important;
}

.facetwp-checkbox::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 2px !important;
    width: 14px !important;
    height: 14px !important;
    border: 1px solid #999 !important;
    background: white !important;
}

.facetwp-checkbox.checked::before {
    background: #000 !important;
    border-color: #000 !important;
}

.facetwp-checkbox.checked::after {
    content: "✓" !important;
    position: absolute !important;
    left: 2px !important;
    top: -1px !important;
    color: white !important;
    font-size: 12px !important;
}

.facetwp-checkbox:hover {
    color: #000 !important;
}

/* Счётчик */
.facetwp-counter {
    color: #999 !important;
    font-size: 11px !important;
    margin-left: 5px !important;
}

/* Кнопка Clear Filters */
.facetwp-reset {
    background: transparent !important;
    color: #000 !important;
    border: 1px solid #000 !important;
    padding: 10px 20px !important;
    font-size: 11px !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    margin-bottom: 20px !important;
    display: inline-block !important;
}

.facetwp-reset:hover {
    background: #000 !important;
    color: #fff !important;
}

/* Товары в сетке через FacetWP template */
.shop-products-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
}

@media (max-width: 768px) {
    .shop-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
}

@media (max-width: 480px) {
    .shop-products-grid {
        grid-template-columns: 1fr !important;
    }
}

.product-card {
    display: flex !important;
    flex-direction: column !important;
}

.product-card img {
    aspect-ratio: 3 / 4 !important;
    object-fit: cover !important;
    width: 100% !important;
}

.product-card .product-title {
    font-size: 14px !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    margin: 15px 0 5px 0 !important;
}

.product-card .product-title a {
    color: #000 !important;
    text-decoration: none !important;
}

.product-card .product-price {
    font-size: 16px !important;
    margin-bottom: 10px !important;
}

/* Счётчик результатов FacetWP */
.facetwp-counts {
    font-size: 13px !important;
    color: #666 !important;
    margin-bottom: 20px !important;
    letter-spacing: 1px !important;
}

/* Pagination */
.facetwp-pager {
    margin-top: 40px !important;
    text-align: center !important;
}

.facetwp-page {
    padding: 8px 14px !important;
    margin: 0 3px !important;
    border: 1px solid #e0e0e0 !important;
    background: white !important;
    color: #333 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.facetwp-page.active,
.facetwp-page:hover {
    background: #000 !important;
    color: white !important;
    border-color: #000 !important;
}