/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       Develio
 Author URI:   http://develio.ru
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

#blog-menu {
    text-align: center;
}

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

.certificates-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.certificate {
    width: 100%;
    max-width: 90%;
    padding: 5px;
    box-sizing: border-box;
}

.certificate img {
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px;
    background: #fff;
    transition: transform 0.3s ease-in-out;
}

.certificate img:hover {
    transform: scale(1.03);
    cursor: zoom-in;
}

/* Mobile View */
@media (max-width: 768px) {
    .certificate {
        max-width: none;
    }
}

/* Cart / mini cart */
.woocommerce-mini-cart__buttons .btn-cart {
    display: none;
}

.wfacp_mb_mini_cart_sec_accordion_content {
    display: block !important;
}

/* reCAPTCHA */
.grecaptcha-badge { 
    visibility: hidden !important;
}

/* Buttons */
.learn-more-button {
    display: inline-block;
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 8px;
    text-align: center;
    font-weight: bold;
    border-radius: 112px;
    border: 1px solid gray;
    color: #333333;
    background: transparent;
    transition: all 0.2s ease;
}

.learn-more-button:hover {
    border-color: #EE691C;
}

/* Hover цвет фона только на десктопе */
@media (min-width: 768px) {
    .learn-more-button:hover {
        background-color: #EE691C;
        color: #fff;
    }
}

/* Анимация */
@keyframes bounce-up {
    0%   { transform: translateY(0); }
    30%  { transform: translateY(-10px); }
    50%  { transform: translateY(0); }
    70%  { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

.learn-more-button.bounce {
    animation: bounce-up 2s ease;
}

/* Product buttons / hover */
.wd-add-btn-replace a {
    width: 100% !important;
    display: block !important;
}

.wd-hover-fw-button.wd-hover-with-fade.hover-ready:is(:hover, .state-hover) .product-wrapper {
    transform: none;
}

.wd-hover-fw-button.wd-hover-with-fade .content-product-imagin {
    box-shadow: none;
}

/* Header search */
[class*="wd-header-search-form"] {
    flex: 0 !important;
}

/* Price color */
.amount {
    color: #333333;
}

/* Affiliate form */
.aff-form {
    width: 40%;
}

/* Базовое состояние: размытие + легкая прозрачность */

.category-grid-item .wd-cat-thumb {
    background-color: var(--wd-primary-color);
}
.category-grid-item .wd-cat-thumb img {
    filter: blur(2px);
    opacity: 0.5;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

/* При наведении: чётче и ярче */
.category-grid-item:hover .wd-cat-thumb img {
    filter: blur(0);
    opacity: 1;
}

.acceptance-check label {
	display: flex;
	align-items: flex-start;
}
.acceptance-check span.wpcf7-list-item-label {
    font-size: 10px;
    line-height: 12px;
}

a.learn-more-button {
	display: none !important;
}

.woocommerce-variation-add-to-cart.variations_button.woocommerce-variation-add-to-cart-enabled,
.single_variation_wrap {
	display: none !important;
}

span.woocommerce-Price-amount.amount {
    font-weight: bold !important;
    font-family: var(--wd-title-font) !important;
}

.wd-sub-menu li>a {
    color: #000 !important;
}