/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme test-01
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/


/**
Start - By Ejaz , Dec 27, 2024
*/


/* Hide Fabric Type - Variations selection dropdown */
table.variations > tbody > tr.kkc-variation-attribute-pa_fabric-type {
    display: none;
}
input[type="radio"] {
    accent-color: green;
}

.wd-single-content h3, .wd-single-content h3+p {
    /*display:none; */
}


.sakkc-child-products-wraper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.sakkc-child-product-wraper {
    background-color: #3c9b300f;
    border: 1px solid #e2e2e2;
    padding: 10px;
    display: flex;
    align-items: center;
    border-radius: 8px;
    text-align: center;
    justify-content: center;
}

.sakkc-child-product-wraper h5{
    margin-bottom: 10px;
    line-height: 1.2;
}

.sakkc-child-product-wraper img {
    width: 100%;
    max-width: 70px;
    border-radius: 8px;
}

/* Default case - Full width if only 1 box */
/* .sakkc-child-products-wraper .sakkc-child-product-wraper {
    width: 100%;
} */

/* When 2 boxes are present */
/* .sakkc-child-products-wraper .sakkc-child-product-wraper:nth-child(1):nth-last-child(2),
.sakkc-child-products-wraper .sakkc-child-product-wraper:nth-child(2):nth-last-child(1) {
    width: calc(50% - 5px);
} */

/* When 3 or more boxes are present */
/* .sakkc-child-products-wraper .sakkc-child-product-wraper:nth-child(1):nth-last-child(3),
.sakkc-child-products-wraper .sakkc-child-product-wraper:nth-child(2):nth-last-child(2),
.sakkc-child-products-wraper .sakkc-child-product-wraper:nth-child(3):nth-last-child(1),
.sakkc-child-products-wraper .sakkc-child-product-wraper:nth-child(n+4) {
    width: calc(33.33% - 10px);
} */

/* Responsive for small screens */
@media (max-width: 500px) {
    /* .sakkc-child-product-wraper {
        width: 100% !important;
    } */
}


#pa_size {
    margin-top: 20px;
}

.variation .variation-FabricImage {
    display: flex;
    align-items: center;
}

.variation .variation-FabricImage .item-variation-name {
    margin-right: 5px;
}

/* .wd-products .wrapp-buttons,
.home-products-grid .wd-product-footer {
    display: none !important;
}  */


.wd-product.wd-hover-buttons-on-hover {
    --text-align: start !important;
    --btn-height: 0px !important;
}
.wd-product .wrap-price {
    margin-bottom: 15px !important;
}

/* .wd-product:hover .wrap-price{
	 margin-bottom: 0px !important;
} */

.sku_wrapper{
	line-height: 1;
}

.sakkc-shipping-content{
    background: #ffffff;
	margin-bottom: 60px;
}

.sakkc-shipping-content .wp-block-wd-row {
    background: #ffffff;
    padding: 20px;
    
}

.woocommerce-product-gallery img {
    max-height: 550px;
    object-fit: contain !important;
}