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



/* ========================= GOMAA ========================= */ 

/* GLOBAL */
body,
.wd-page-wrapper,
.wd-page-content,
.wd-prefooter {
	background-color: #f1edee !important;
}

/* body.archive.woocommerce-shop .wd-page-content,
body.archive.woodmart-archive-shop .wd-page-content,
body.wp-singular .wd-page-content {
	padding-top: 80px !important;
}
 */
/* BRANDS */
.wd-carousel-item .wd-brand-item.brand-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border-radius: 12px !important;       
    transition: all 0.3s ease;
    overflow: hidden;
    min-height: 140px;
}
.wd-carousel-item .wd-brand-item a.wd-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}
.wd-carousel-item .wd-brand-item a.wd-fill::after {
    content: attr(title);
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #4f4f4f; 
    transition: color 0.3s ease;
}
.wd-carousel-item .wd-brand-item > a:not(.wd-fill) {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 100px;
    font-size: 16px;
    font-weight: 700;
    color: #4f4f4f;
    text-decoration: none;
    transition: color 0.3s ease;
}
.wd-carousel-item .wd-brand-item.brand-item:hover {
    background-color: #eaf2e8; 
    border-color: #2d7a2e;
}
.wd-carousel-item .wd-brand-item.brand-item:hover a.wd-fill::after,
.wd-carousel-item .wd-brand-item.brand-item:hover > a:not(.wd-fill) {
    color: #2d7a2e;          
}

/* CATEGORIES */
.wd-cats-element .category-grid-item .wd-cat-inner {
    position: relative;
    overflow: hidden;
    background-color: #000000; 
    transition: all 0.3s ease;
}
.wd-cats-element .category-image-wrapp {
    position: relative;
    width: 100%;
    height: 190px;             
    overflow: hidden;
}
.wd-cats-element .category-image-wrapp img {
    width: 100%;
    height: 100%;
    object-fit: cover;      transition: all 0.5s;   
}
.wd-cats-element .wd-entities-title {
    font-size: 16px;
    font-weight: 700;
    color: #555555;           
    margin: 0;
    transition: color 0.3s ease;
}
.wd-cats-element .category-grid-item:hover .wd-entities-title {
    color: #2d7a2e;           
}

/* PRODUCTS */
body .wd-product-wrapper,
body .product-grid-item .wd-product-wrapper {
    background-color: #f1eeeb !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    padding-bottom: 12px !important;
    transition: all 0.3s ease !important;
}
body .wd-product .wd-product-thumb,
body .product-grid-item .wd-product-thumb,
body .type-product .wd-product-thumb {
    position: relative !important;
    background-color: #f1eeeb !important;
    border-radius: 8px 8px 0 0 !important;
    overflow: hidden !important;
    margin-bottom: 12px !important;
}
body .wd-product .wd-product-thumb img,
body .product-grid-item .wd-product-thumb img,
body .type-product .wd-product-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 8px 8px 0 0 !important;
    mix-blend-mode: multiply !important;
    transition: transform 0.4s ease !important;
}
body .wd-product:hover .wd-product-thumb img,
body .product-grid-item:hover .wd-product-thumb img,
body .type-product:hover .wd-product-thumb img {
    transform: scale(1.04) !important;
}
body .wd-product .product-labels,
body .product-grid-item .product-labels,
body .type-product .product-labels {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    z-index: 5 !important;
}
body .wd-product .product-labels .onsale,
body .product-grid-item .product-labels .onsale,
body .type-product .product-labels .onsale {
    background-color: #1cb020 !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    padding: 3px 8px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    min-height: auto !important;
}
body .wd-quick-view-btn,
body .wd-compare-btn,
body .wd-buttons > div:not(.wd-wishlist-btn) {
    display: none !important;
}
body .wd-buttons {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}
body .wd-wishlist-btn {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    right: auto !important;
    z-index: 20 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    display: block !important;
}
body .wd-wishlist-btn a {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #111111 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2) !important;
    transition: all 0.3s ease !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-decoration: none !important;
}
body .wd-wishlist-btn a::before,
body .wd-wishlist-btn a .wd-action-icon,
body .wd-wishlist-btn a .wd-action-icon::before,
body .wd-wishlist-btn a svg,
body .wd-wishlist-btn a i {
    display: inline-flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: #111111 !important;
    fill: #111111 !important;
    font-size: 16px !important;
    width: 16px !important;
    height: 16px !important;
    line-height: 1 !important;
    align-items: center !important;
    justify-content: center !important;
}
body .wd-wishlist-btn .wd-action-text,
body .wd-wishlist-btn .wd-tooltip-text {
    display: none !important;
}
body .wd-wishlist-btn a:hover {
    background-color: #ffffff !important;
    transform: scale(1.05) !important;
}
body .wd-wishlist-btn a:hover::before,
body .wd-wishlist-btn a:hover .wd-action-icon,
body .wd-wishlist-btn a:hover svg {
    color: #1cb020 !important;
    fill: #1cb020 !important;
}
body .wd-add-btn {
    position: absolute !important;
    bottom: 10px !important;
    left: 10px !important;
    right: 10px !important;
    width: calc(100% - 20px) !important;
    z-index: 15 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
    padding: 0 !important;
}
body .wd-product:hover .wd-add-btn,
body .product-grid-item:hover .wd-add-btn,
body .type-product:hover .wd-add-btn {
    opacity: 1 !important;
    visibility: visible !important;
}
body .wd-add-btn a,
body .wd-add-btn a.button,
body .wd-add-btn a.add_to_cart_button {
    width: 100% !important;
    height: 40px !important;
    background-color: #1cb020 !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border: none !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25) !important;
    padding: 0 10px !important;
    text-align: center !important;
    text-decoration: none !important;
}
body .wd-add-btn a:hover,
body .wd-add-btn a.button:hover {
    background-color: #17961b !important;
    color: #ffffff !important;
}
body .wd-add-btn .wd-action-icon {
    display: none !important;
}
body .wd-add-btn .wd-action-text {
    color: #ffffff !important;
    font-weight: 700 !important;
}
body .wd-product-cats,
body .product-grid-item .wd-product-cats {
    display: none !important;
}
body .wd-entities-title,
body .product-grid-item .wd-entities-title {
    text-align: start !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    margin-top: 8px !important;
    margin-bottom: 6px !important;
    padding: 0 12px !important;
}
body .wd-entities-title a,
body .product-grid-item .wd-entities-title a {
    color: #000000 !important;
    text-decoration: none !important;
}
body .wd-product .price,
body .product-grid-item .price,
body .type-product .price {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    font-size: 15px !important;
    text-align: start !important;
    padding: 0 12px 4px 12px !important;
}
body .price ins,
body .price ins .amount,
body .price > .amount {
    color: #1cb020 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}
body .price del,
body .price del .amount {
    color: #888888 !important;
    font-size: 13px !important;
    text-decoration: line-through !important;
}
@media (max-width: 767px) {
    body .wd-product .price,
    body .product-grid-item .price,
    body .type-product .price {
        flex-direction: column !important;
        gap: 2px !important;
        align-items: flex-start !important;
    }
    body .price del {
        order: 1 !important;
        margin: 0 !important;
    }
    body .price ins {
        order: 2 !important;
        margin: 0 !important;
    }
}

/* MOST WATCH */
.most-watch .wd-nav-tabs {
    background-color: #f2f2f0;
    border-radius: 50px;
    padding: 6px ;
}
 .most-watch .wd-nav-tabs li a.wd-nav-link {
    border-radius: 50px;
}

