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

/* 1. Hide category cluster on product pages */
.wd-category-cluster {
    display: none !important;
}

/* 2. Limit height of category/layered navigation widgets with scrollbar */
.widget_product_categories ul,
.widget_layered_nav ul,
.woodmart-widget-layered-nav ul {
    max-height: 360px;
    overflow-y: auto;
    padding-right: 10px;
}

/* 3. Hide reset variations link on product pages */
.woocommerce .reset_variations {
    display: none !important;
}

/* 4. Custom styling for WooCommerce ordering dropdown */
.woocommerce-ordering-list ul li a::before {
    content: "\f107" !important;
    font-family: "woodmart-font" !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    width: 1.4em !important;
    height: 1.4em !important;
    margin-right: 10px !important;
    border: 2px solid var(--brcolor-gray-300, #d1d1d1) !important;
    border-radius: 4px !important;
    vertical-align: middle !important;
    font-size: 10px !important;
    transition: all .2s ease !important;
    color: rgba(0,0,0,0) !important;
    background: #fff !important;
}

/* 5. Active/Current state for ordering dropdown */
.woocommerce-ordering-list ul li a.active::before,
.woocommerce-ordering-list ul li.current a::before {
    color: #fff !important;
    background-color: var(--wd-primary-color, #d4af37) !important;
    border-color: var(--wd-primary-color, #d4af37) !important;
}

/* 6. Hide quantity on single product */
.single-product .quantity {
    display: none !important;
}

/* Sticky Icons - Black */
.whb-header.whb-sticked .whb-main-header a,
.whb-header.whb-sticked .whb-main-header i,
.whb-header.whb-sticked .whb-main-header svg {
    color: #000;
}


/* Product gallery thumbnails */
.woocommerce-product-gallery .wd-thumbs .wd-carousel-item img {
    border: 1px solid #f2f2f2;
    box-sizing: border-box;
}

/* Active thumbnail */
.woocommerce-product-gallery .wd-thumbs .wd-carousel-item.wd-thumb-active img {
    border: 1px solid #e5e5e5;
}


.size-scroll {
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
}