/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/
/* child theme style.css */
@font-face {
    font-family: 'woodmart-font-2';
    font-display: swap;
}
.invoice-field {
    display: none;
}

.form-row.invoice-field {
    display: none;
}

.wpcf7 input,
.wpcf7 textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
    font-family: Montserrat;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
    border-color: #9ebfb5;
    outline: none;
}

.wpcf7 input[type="submit"] {
    background: #9ebfb5;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.wpcf7 input[type="submit"]:hover {
    background: #7fa9a0;
}

.single-product header, .woocommerce-cart header, .woocommerce-checkout header { border-bottom: 1px solid #9ebfb5}

/* CART + CHECKOUT HEADER FIX */
/* симулираме че няма overcontent */
.woocommerce-cart header.whb-header.whb-overcontent,
.woocommerce-checkout header.whb-header.whb-overcontent {
   min-height: 220px !important;
}
.udobno-hidden-checkout-field {
    display: none !important;
}
/*single product*/
.single-product .woocommerce-product-gallery__image img,
.single-product .wd-carousel-item img {
    width: 100% !important;
    height: auto !important;
    max-height: 70vh !important; /* Limits height on large screens to keep it within the viewport */
    object-fit: contain !important;
}

/*home page*/
.elementor-element-b811021 img {
	max-height: 442px;
    height:100%;
	object-fit: cover;

}

.product-labels .product-label {
    font-family: "Work Sans", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    margin-bottom: 8px;
    border: 1px solid transparent;
}
.product-label.onsale {
    background: #5D695E !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.2);
}

.udobno-save-badge{
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:15px;
    padding:14px 18px;
    border-radius:14px;
    background:linear-gradient(135deg,#5D695E,#9EB3A2);
    color:#fff;
    font-size:16px;
    font-weight:500;
    box-shadow:0 10px 25px rgba(117,142,124,.18);
    width:fit-content;
}

.udobno-save-badge strong{
    font-weight:700;
    color:#fff;
}

.udobno-save-badge .save-icon{
    font-size:18px;
}

.single_add_to_cart_button,
.add_to_cart_button {
    
    border-radius: 14px;
    font-weight: 700;
    transition: all .3s ease;
    box-shadow: 0 10px 25px rgba(117,142,124,.25);
}

.single_add_to_cart_button:hover,
.add_to_cart_button:hover {
    transform: translateY(-2px);
    
}


.price {
    font-size: 19px;
    font-weight: 700;
}

.price del {
    font-size: 18px;
    opacity: .7;
}

.price ins {
    text-decoration: none;
}

/* =========================================
   PREMIUM PRODUCT CARD UI – UDOBNO LEGLO
   WOODMART / WOOCOMMERCE
========================================= */

/* PRODUCT CARD */
.product-grid-item{
    position:relative;
    overflow:hidden;
    border-radius:22px;
    background:#fff;
    transition:all .35s ease;
    border:1px solid rgba(0,0,0,.04);
    padding-bottom:15px;
}



.product-grid-item:hover{
    transform:translateY(-8px);
    box-shadow:
        0 25px 50px rgba(0,0,0,.10),
        0 10px 25px rgba(0,0,0,.06);
}




/* IMAGE ZOOM */
.product-grid-item img{
    transition:transform .7s ease;
}



.product-grid-item:hover img{
    transform:scale(1.05);
}


/* DARK PREMIUM OVERLAY */
.product-grid-item .product-image-link:after{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(0,0,0,.20),
        rgba(0,0,0,0)
    );
    opacity:0;
    transition:all .35s ease;
    pointer-events:none;
}

.product-grid-item:hover .product-image-link:after{
    opacity:1;
}


/* PRODUCT TITLE */
.product-grid-item .wd-entities-title,
.product-grid-item .product-title{
    font-size:20px;
    line-height:1.35;
    font-weight:700;
    letter-spacing:-0.3px;
    margin-top:18px;
}

.product-grid-item .wd-entities-title a{
    color:#2e2e2e;
    transition:all .3s ease;
}

.product-grid-item:hover .wd-entities-title a{
    color:#5D695E;
}


/* CATEGORY */
.product-grid-item .wd-product-cats{
    font-size:14px;
    opacity:.7;
    margin-top:4px;
}


/* PREMIUM PRICE STYLE */
.product-grid-item .price{
    margin-top:10px;
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
}

.product-grid-item .price ins{
    text-decoration:none;
}

.product-grid-item .price .woocommerce-Price-amount{
    font-weight:700;
}

.product-grid-item .price ins .woocommerce-Price-amount{
   /* color:#5D695E;*/
    font-size:26px;
}

.product-grid-item .price del .woocommerce-Price-amount{
    /*color:#9c9c9c;*/
    font-size:17px;
    opacity:.7;
}


/* SALE BADGE */
.wd-onsale,
.product-labels .onsale{
 
    box-shadow:
        0 10px 20px rgba(117,142,124,.7);

}


/* NEW BADGE */
.product-labels .new{
    background:linear-gradient(
        135deg,
        #A0B4A2,
        #819183
    ) !important;

    color:#fff;
    border-radius:999px;
    font-weight:700;
}





/* QUICK ADD TO CART */
.product-grid-item .add_to_cart_button{
  
    border-radius:14px !important;
    font-weight:700;
    /*padding:14px 18px;*/
    transition:all .3s ease !important;
    box-shadow:0 10px 25px rgba(117,142,124,.18) !important; 
    opacity:0;
    transform:translateY(15px);
}

.product-grid-item:hover .add_to_cart_button{
    opacity:1;
    transform:translateY(0);
}

.product-grid-item .add_to_cart_button:hover{
    transform:translateY(-2px);
}




/* RATING STARS */
.star-rating{
    color:#D9B97A !important;
    font-size:14px;
}


/* MICRO HOVER ANIMATION */
@keyframes premiumFloat{
    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-3px);
    }

    100%{
        transform:translateY(0);
    }
}

.product-grid-item:hover .onsale{
    animation:premiumFloat 2s ease infinite;
}


/* SECTION BACKGROUND */
.bestsellers-section,
.featured-products{
    background:#fafaf8;
    border-radius:30px;
    padding:40px;
}


/* MOBILE OPTIMIZATION */
@media(max-width:768px){

    .product-grid-item{
        border-radius:18px;
    }

    .product-grid-item .price ins .woocommerce-Price-amount{
        font-size:22px;
    }

    .product-grid-item .add_to_cart_button{
        opacity:1;
        transform:none;
    }

    .wd-onsale, .onsale{
        font-size:11px;
        padding:7px 12px;
    }
}
.udobno-save-badge{
	width: 100%; 
    justify-content: center;
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin:10px 0 16px;
    padding:10px 15px;
    border-radius:999px;
    background:linear-gradient(135deg,#5D695E,#9EB3A2);
    color:#fff;
    font-size:15px;
    font-weight:600;
    box-shadow:0 10px 25px rgba(117,142,124,.25);

    
}

.udobno-save-badge strong,
.udobno-save-badge span{
    color:#fff;
}

.udobno-save-badge .save-percent{
    background:rgba(255,255,255,.18);
    padding:3px 8px;
    border-radius:999px;
    font-weight:700;
}

/* Change the background color of the Chaty buttons */
.chaty-cta-button, 
.open-chaty, 
.open-chaty-channel {
    background-color: #5D695E !important;
}

/* If there are SVG elements like circles/ellipses using that color */
.chaty-cta-button svg circle,
.chaty-cta-button svg ellipse {
    fill: #5D695E !important;
}