:root {
	--wd-text-font: "YekanBakhFaNum", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 14px;
	--wd-title-font: "YekanBakhFaNum", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 500;
	--wd-title-color: #242424;
	--wd-entities-title-font: "YekanBakhFaNum", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(214, 6, 68);
	--wd-alternative-font: "YekanBakhFaNum", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "YekanBakhFaNum", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 15px;
	--wd-header-el-font: "YekanBakhFaNum", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 500;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 14px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(214,6,68);
	--wd-alternative-color: #fbbc34;
	--btn-default-font-family: "IRANSansXFaNum", Arial, Helvetica, sans-serif;
	--btn-default-bgcolor: rgb(214,6,68);
	--btn-default-bgcolor-hover: rgb(214,6,68);
	--btn-accented-font-family: "IRANSansXFaNum", Arial, Helvetica, sans-serif;
	--btn-accented-bgcolor: rgb(214,6,68);
	--btn-accented-bgcolor-hover: rgb(214,6,68);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: rgb(214,6,68);
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-color: rgb(239,241,245);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-color: rgb(239,241,245);
	background-image: none;
}
.single-product :is(.wd-page-content, .whb-header) {
	background-color: rgb(239,241,245);
	background-image: none;
}
.woodmart-archive-blog :is(.wd-page-content, .whb-header) {
	background-color: rgb(239,241,245);
	background-image: none;
}
.single-post :is(.wd-page-content, .whb-header) {
	background-color: rgb(239,241,245);
	background-image: none;
}
.woodmart-archive-portfolio :is(.wd-page-content, .whb-header) {
	background-color: rgb(239,241,245);
	background-image: none;
}
.single-portfolio :is(.wd-page-content, .whb-header) {
	background-color: rgb(239,241,245);
	background-image: none;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1290px;
--wd-form-brd-radius: 30px;
--btn-default-color: #fff;
--btn-default-color-hover: #fff;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 35px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 35px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 12px;
}

@media (min-width: 1290px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.wd-page-title {
background-color: rgb(15,15,15);
}

/* ==========================================
   SHAMSAZ SHO | PREMIUM JADE DESIGN
   WOODMART 8.6.2
========================================== */

:root {
    --ss-green: #285844;
    --ss-green-dark: #1d4032;
    --ss-green-soft: #eaf2ec;
    --ss-green-border: #dce8df;
    --ss-text: #292f2b;
    --ss-muted: #818a83;
    --ss-white: #ffffff;
    --ss-bg: #f5f7f5;
}

/* ==========================================
   LOGO
========================================== */

.whb-main-header .site-logo img {
    border-radius: 40px !important;
}

/* ==========================================
   SHOP BACKGROUND
========================================== */

body.woocommerce-shop,
body.tax-product_cat {
    background-color: var(--ss-bg) !important;
}

/* ==========================================
   PRODUCT CARDS
========================================== */

.wd-product .product-wrapper {
    background: var(--ss-white) !important;
    border: 1px solid #e8ece9 !important;
    border-radius: 19px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 16px rgba(35,70,48,.045) !important;
    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease !important;
}

.wd-product .product-wrapper:hover {
    transform: translateY(-5px) !important;
    border-color: #b7d0bd !important;
    box-shadow: 0 13px 30px rgba(35,70,48,.12) !important;
}

/* PRODUCT IMAGE AREA */

.wd-product .product-element-top {
    background: #fff !important;
    padding: 13px !important;
    overflow: hidden !important;
    border-radius: 19px 19px 0 0 !important;
}

.wd-product .product-element-top img {
    object-fit: contain !important;
    transition: transform .35s ease !important;
}

.wd-product .product-wrapper:hover
.product-element-top img {
    transform: scale(1.035) !important;
}

/* PRODUCT INFORMATION */

.wd-product .product-element-bottom {
    background: #fff !important;
    padding: 13px 13px 17px !important;
    text-align: center !important;
}

/* PRODUCT TITLE */

.wd-product .wd-entities-title {
    color: var(--ss-text) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.9 !important;
    text-align: center !important;
    margin-bottom: 10px !important;
}

.wd-product .wd-entities-title a {
    color: inherit !important;
}

/* PRODUCT PRICE */

.wd-product .price {
    color: var(--ss-green) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-align: center !important;
}

.wd-product .price del {
    color: #a2aaa4 !important;
    font-weight: 400 !important;
}

.wd-product .price ins {
    color: var(--ss-green) !important;
    text-decoration: none !important;
}

/* ADD TO CART BUTTON */

.wd-product .button,
.wd-product .add-to-cart-loop {
    background: var(--ss-green) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 11px 19px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    transition: all .25s ease !important;
}

.wd-product .button:hover,
.wd-product .add-to-cart-loop:hover {
    background: var(--ss-green-dark) !important;
    box-shadow: 0 5px 15px rgba(40,88,68,.2) !important;
}

/* PRODUCT BADGES */

.wd-product .product-labels .product-label {
    border-radius: 20px !important;
    font-size: 11px !important;
    padding: 5px 10px !important;
}

/* WISHLIST ICON */

.wd-product .wd-buttons .wd-action-btn > a {
    border-radius: 50% !important;
}

/* ==========================================
   CATEGORY SIDEBAR
========================================== */

.widget_product_categories {
    background: #fff !important;
    border: 1px solid #e8ece9 !important;
    border-radius: 18px !important;
    padding: 17px !important;
    box-shadow: 0 5px 18px rgba(35,70,48,.045) !important;
}

/* CATEGORY TITLE */

.widget_product_categories .widget-title {
    color: var(--ss-green-dark) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    padding-bottom: 14px !important;
    margin-bottom: 12px !important;
    border-bottom: 1px solid #e9eee9 !important;
}

/* CATEGORY LIST */

.widget_product_categories .product-categories {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.widget_product_categories .product-categories li {
    margin: 4px 0 !important;
    border-radius: 11px !important;
    transition: all .25s ease !important;
}

/* CATEGORY LINKS */

.widget_product_categories .product-categories li > a {
    display: inline-block !important;
    padding: 10px 11px !important;
    color: #424b45 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    transition: all .25s ease !important;
}

/* CATEGORY HOVER */

.widget_product_categories .product-categories li:hover {
    background: var(--ss-green-soft) !important;
}

.widget_product_categories .product-categories li:hover > a {
    color: var(--ss-green) !important;
}

/* ACTIVE CATEGORY */

.widget_product_categories .product-categories li.current-cat,
.widget_product_categories .product-categories li.current-cat-parent {
    background: var(--ss-green-soft) !important;
}

.widget_product_categories .product-categories li.current-cat > a,
.widget_product_categories .product-categories li.current-cat-parent > a {
    color: var(--ss-green) !important;
    font-weight: 800 !important;
}

/* CATEGORY COUNTS */

.widget_product_categories .count {
    background: #edf3ee !important;
    color: var(--ss-green) !important;
    border: 1px solid #dce9df !important;
    border-radius: 20px !important;
    padding: 4px 9px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
}

/* SUBCATEGORIES */

.widget_product_categories .children {
    padding-right: 13px !important;
    margin-top: 4px !important;
}

/* ==========================================
   WOODMART CATEGORY NAVIGATION
========================================== */

.wd-nav-product-cat {
    background: #fff !important;
    border: 1px solid #e8ece9 !important;
    border-radius: 16px !important;
    padding: 9px !important;
    box-shadow: 0 4px 15px rgba(35,70,48,.04) !important;
}

.wd-nav-product-cat li.cat-item {
    border-radius: 10px !important;
    transition: all .25s ease !important;
}

.wd-nav-product-cat .category-nav-link {
    border-radius: 10px !important;
    padding: 11px 13px !important;
    transition: all .25s ease !important;
}

.wd-nav-product-cat .nav-link-text {
    color: #424b45 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.wd-nav-product-cat li:hover > .category-nav-link {
    background: var(--ss-green-soft) !important;
}

.wd-nav-product-cat li:hover .nav-link-text {
    color: var(--ss-green) !important;
}

/* ==========================================
   SHOP TOOLBAR
========================================== */

.shop-loop-head {
    background: #fff !important;
    border: 1px solid #e8ece9 !important;
    border-radius: 16px !important;
    padding: 12px 17px !important;
    box-shadow: 0 4px 15px rgba(35,70,48,.035) !important;
}

/* SORTING */

.woocommerce-ordering select {
    border-radius: 10px !important;
    border-color: #e4e9e5 !important;
}

/* ==========================================
   PAGINATION
========================================== */

.woocommerce-pagination .page-numbers {
    border-radius: 9px !important;
}

.woocommerce-pagination .page-numbers.current {
    background: var(--ss-green) !important;
    color: #fff !important;
}

/* ==========================================
   DARK MODE COMPATIBILITY
========================================== */

html.wp-dark-mode-active {
    --ss-bg: #1d2422;
    --ss-text: #e9efeb;
}

html.wp-dark-mode-active body.woocommerce-shop,
html.wp-dark-mode-active body.tax-product_cat {
    background: #1d2422 !important;
}

html.wp-dark-mode-active .wd-product .product-wrapper,
html.wp-dark-mode-active .wd-product .product-element-top,
html.wp-dark-mode-active .wd-product .product-element-bottom,
html.wp-dark-mode-active .widget_product_categories,
html.wp-dark-mode-active .wd-nav-product-cat,
html.wp-dark-mode-active .shop-loop-head {
    background: #28322e !important;
    border-color: #394b41 !important;
}

html.wp-dark-mode-active .wd-product .wd-entities-title,
html.wp-dark-mode-active .widget_product_categories .widget-title,
html.wp-dark-mode-active .widget_product_categories .product-categories li > a {
    color: #e8eee9 !important;
}

html.wp-dark-mode-active .wd-nav-product-cat .nav-link-text {
    color: #e8eee9 !important;
}

html.wp-dark-mode-active .wd-product .product-element-top img {
    background: #fff;
    border-radius: 10px;
}

html.wp-dark-mode-active .widget_product_categories .count {
    background: #34483c !important;
    color: #c5e1cd !important;
    border-color: #465e4c !important;
}

/* ==========================================
   MOBILE OPTIMIZATION
========================================== */

@media (max-width: 767px) {

    .wd-product .product-wrapper {
        border-radius: 14px !important;
    }

    .wd-product .product-element-top {
        padding: 8px !important;
    }

    .wd-product .product-element-bottom {
        padding: 9px !important;
    }

    .wd-product .wd-entities-title {
        font-size: 12px !important;
    }

    .wd-product .price {
        font-size: 12px !important;
    }

    .wd-product .button,
    .wd-product .add-to-cart-loop {
        padding: 9px 12px !important;
        font-size: 11px !important;
    }

    .widget_product_categories {
        padding: 12px !important;
        border-radius: 14px !important;
    }
}


/* ======================================
   SHAMSAZ SHO - PREMIUM DESIGN V2
====================================== */

/* 1. PRODUCT IMAGE AREA */

.wd-product .product-element-top {
    height: 220px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px !important;
    margin-bottom: 0 !important;
}

.wd-product .product-element-top .product-image-link {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.wd-product .product-element-top img {
    max-height: 195px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
}

/* 2. PRODUCT INFORMATION */

.wd-product .product-element-bottom {
    padding: 8px 12px 14px !important;
    margin-top: 0 !important;
}

.wd-product .wd-entities-title {
    margin: 5px 0 8px !important;
    min-height: 0 !important;
    line-height: 1.8 !important;
}

.wd-product .price {
    margin: 5px 0 10px !important;
}

.wd-product .product-wrapper {
    border-radius: 17px !important;
}

/* 3. PREMIUM BUTTONS */

.wd-product .button,
.wd-product .add-to-cart-loop {
    min-height: 40px !important;
    border-radius: 12px !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
}

.wd-product .button:hover,
.wd-product .add-to-cart-loop:hover {
    transform: translateY(-2px);
}

/* 4. PRICE FILTER - JADE GREEN */

.widget_price_filter .ui-slider .ui-slider-range,
.widget_price_filter .ui-slider .ui-slider-handle {
    background: #285844 !important;
    border-color: #285844 !important;
}

.widget_price_filter .price_slider_amount .button {
    background: #285844 !important;
    color: #fff !important;
    border-radius: 10px !important;
}

.widget_price_filter .price_slider_amount .button:hover {
    background: #1d4032 !important;
}

/* 5. SHOP VIEW ICONS */

.shop-loop-head a:hover,
.shop-loop-head .wd-active,
.shop-loop-head .current {
    color: #285844 !important;
}

/* 6. DARK MODE TEXT FIX */

html.wp-dark-mode-active .wd-product .wd-entities-title a,
html.wp-dark-mode-active .wd-product .wd-entities-title {
    color: #e8eee9 !important;
}

html.wp-dark-mode-active .wd-product .price {
    color: #a8d1b4 !important;
}

html.wp-dark-mode-active .wd-product .price ins {
    color: #a8d1b4 !important;
}

html.wp-dark-mode-active .wd-product .button,
html.wp-dark-mode-active .wd-product .add-to-cart-loop {
    background: #285844 !important;
    color: #ffffff !important;
}

/* 7. DARK MODE SHOP ICONS */

html.wp-dark-mode-active .shop-loop-head a,
html.wp-dark-mode-active .shop-loop-head .wd-active {
    color: #a8d1b4 !important;
}

html.wp-dark-mode-active .widget_price_filter .ui-slider .ui-slider-range,
html.wp-dark-mode-active .widget_price_filter .ui-slider .ui-slider-handle {
    background: #75ae88 !important;
    border-color: #75ae88 !important;
}

/* 8. MOBILE */

@media (max-width: 767px) {

    .wd-product .product-element-top {
        height: 165px !important;
        padding: 8px !important;
    }

    .wd-product .product-element-top img {
        max-height: 145px !important;
    }

    .wd-product .product-element-bottom {
        padding: 7px 8px 11px !important;
    }

    .wd-product .button,
    .wd-product .add-to-cart-loop {
        min-height: 34px !important;
        padding: 7px 10px !important;
        font-size: 11px !important;
    }
}


/* SHAMSAZ SHO - PREMIUM REFINEMENT V3 */

/* Compact product cards */
.wd-product .product-wrapper {
    border-radius: 16px !important;
}

.wd-product .product-element-top {
    height: 195px !important;
    padding: 10px !important;
}

.wd-product .product-element-top img {
    max-height: 175px !important;
}

.wd-product .product-element-bottom {
    padding: 5px 12px 13px !important;
}

/* Product title */
.wd-product .wd-entities-title {
    font-size: 13px !important;
    font-weight: 650 !important;
    margin-bottom: 7px !important;
}

/* Price */
.wd-product .price {
    font-size: 13px !important;
    margin-bottom: 8px !important;
}

/* Elegant buttons */
.wd-product .button,
.wd-product .add-to-cart-loop {
    min-height: 36px !important;
    padding: 8px 15px !important;
    border-radius: 10px !important;
    font-size: 11px !important;
}

/* Category sidebar */
.widget_product_categories {
    padding: 18px !important;
    border-radius: 18px !important;
}

.widget_product_categories .widget-title {
    font-size: 15px !important;
    padding-bottom: 15px !important;
}

.widget_product_categories .product-categories li > a {
    padding: 11px 12px !important;
    font-size: 13px !important;
    border-radius: 10px !important;
}

/* Green active category */
.widget_product_categories .product-categories li.current-cat,
.widget_product_categories .product-categories li.current-cat-parent {
    background: #eaf2ec !important;
    border-right: 3px solid #285844 !important;
}

/* Toolbar refinement */
.shop-loop-head {
    border-radius: 15px !important;
    padding: 10px 16px !important;
}

/* Mobile */
@media(max-width:767px) {
    .wd-product .product-element-top {
        height: 155px !important;
    }

    .wd-product .product-element-top img {
        max-height: 140px !important;
    }

    .wd-product .button,
    .wd-product .add-to-cart-loop {
        min-height: 32px !important;
        padding: 7px 9px !important;
    }
}

/* SHAMSAZ SHO - PRODUCT REFINEMENT V4 */

/* Product image alignment */
.wd-product .product-element-top {
    height: 205px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 15px !important;
}

.wd-product .product-element-top img {
    max-height: 175px !important;
    max-width: 100% !important;
    width: auto !important;
    object-fit: contain !important;
    object-position: center !important;
}

/* Product card */
.wd-product .product-wrapper {
    border-radius: 17px !important;
    overflow: hidden !important;
}

/* Product title */
.wd-product .product-element-bottom {
    padding: 8px 12px 14px !important;
}

.wd-product .wd-entities-title {
    min-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1.8 !important;
}

/* Elegant purchase button */
.wd-product .button,
.wd-product .add-to-cart-loop {
    border-radius: 10px !important;
    min-height: 37px !important;
    padding: 8px 13px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
}

/* Category sidebar refinement */
.widget_product_categories .product-categories li {
    margin-bottom: 5px !important;
}

.widget_product_categories .product-categories li > a {
    line-height: 1.9 !important;
}

.widget_product_categories .children {
    padding-right: 14px !important;
    border-right: 1px solid #dce8df !important;
    margin-right: 5px !important;
}

/* Mobile */
@media(max-width:767px) {
    .wd-product .product-element-top {
        height: 155px !important;
        padding: 8px !important;
    }

    .wd-product .product-element-top img {
        max-height: 140px !important;
    }

    .wd-product .wd-entities-title {
        min-height: 38px !important;
        font-size: 12px !important;
    }
}


/* =====================================
   SHAMSAZ SHO - PREMIUM GREEN DESIGN
   ===================================== */

:root {
    --sh-green: #245b45;
    --sh-green-dark: #194332;
    --sh-sage: #edf4ef;
    --sh-gold: #b69a62;
    --sh-text: #263b31;
}

/* PRODUCT CARDS */
.wd-product .product-wrapper {
    background: #ffffff !important;
    border: 1px solid #e7eee9 !important;
    border-radius: 19px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(31, 75, 54, .055) !important;
    transition: all .3s ease !important;
}

.wd-product .product-wrapper:hover {
    transform: translateY(-6px) !important;
    border-color: #b6cdbd !important;
    box-shadow: 0 12px 28px rgba(31, 75, 54, .13) !important;
}

/* PRODUCT IMAGE AREA */
.wd-product .product-element-top {
    background: #ffffff !important;
    border-radius: 15px !important;
    margin: 9px !important;
}

/* PRODUCT TITLES */
.wd-product .wd-entities-title,
.wd-product .wd-entities-title a {
    color: var(--sh-text) !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    transition: color .2s ease;
}

.wd-product .wd-entities-title a:hover {
    color: var(--sh-green) !important;
}

/* PRODUCT PRICE */
.wd-product .price {
    color: var(--sh-green) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
}

/* PURCHASE BUTTON */
.wd-product .button,
.wd-product .add-to-cart-loop {
    background: var(--sh-green) !important;
    color: #ffffff !important;
    border: 1px solid var(--sh-green) !important;
    border-radius: 11px !important;
    transition: all .25s ease !important;
}

.wd-product .button:hover,
.wd-product .add-to-cart-loop:hover {
    background: var(--sh-green-dark) !important;
    border-color: var(--sh-gold) !important;
    transform: translateY(-2px);
}

/* SIDEBAR CATEGORY BOX */
.widget_product_categories {
    background: #ffffff !important;
    border: 1px solid #e5ede7 !important;
    border-radius: 18px !important;
    padding: 17px !important;
    box-shadow: 0 5px 20px rgba(31, 75, 54, .06) !important;
}

/* CATEGORY TITLE */
.widget_product_categories .widget-title {
    color: var(--sh-green-dark) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    border-bottom: 1px solid #e5ede7 !important;
    padding-bottom: 13px !important;
    margin-bottom: 12px !important;
}

/* CATEGORY LINKS */
.widget_product_categories .product-categories li > a {
    color: #354b3e !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    transition: all .2s ease !important;
}

.widget_product_categories .product-categories li > a:hover {
    color: var(--sh-green) !important;
    padding-right: 5px !important;
}

/* CATEGORY COUNTS */
.widget_product_categories .count {
    background: var(--sh-sage) !important;
    color: var(--sh-green) !important;
    border: 1px solid #dce9df !important;
    border-radius: 20px !important;
    padding: 3px 9px !important;
    font-size: 10px !important;
}

/* CATEGORY SUBMENU */
.widget_product_categories .children {
    border-right: 2px solid #dce9df !important;
    margin-right: 7px !important;
    padding-right: 13px !important;
}

/* ACTIVE CATEGORY */
.widget_product_categories .current-cat > a {
    color: var(--sh-green-dark) !important;
    font-weight: 800 !important;
}

/* SHOP TOOLBAR */
.wd-shop-tools {
    background: #ffffff !important;
    border: 1px solid #e7eee9 !important;
    border-radius: 15px !important;
    padding: 12px 16px !important;
    box-shadow: 0 4px 15px rgba(31, 75, 54, .05) !important;
}

/* MOBILE */
@media(max-width: 767px) {
    .wd-product .product-wrapper {
        border-radius: 14px !important;
    }

    .widget_product_categories {
        border-radius: 14px !important;
    }
}
}

/* ======================================
   SHAMSAZ SHO - CUSTOM DARK MODE
   Independent Theme
   ====================================== */

body.shamsaz-dark {
    --sd-bg: #202c35;
    --sd-card: #293943;
    --sd-card-hover: #324650;
    --sd-green: #245b45;
    --sd-green-light: #a8cbb5;
    --sd-gold: #b69a62;
    --sd-text: #e8eee9;
    --sd-muted: #b5c2bb;
    --sd-border: #40534d;

    background-color: var(--sd-bg) !important;
    color: var(--sd-text) !important;
    color-scheme: dark;
}

/* MAIN BACKGROUND */
body.shamsaz-dark,
body.shamsaz-dark .website-wrapper,
body.shamsaz-dark .main-page-wrapper,
body.shamsaz-dark .site-content,
body.shamsaz-dark #content {
    background-color: var(--sd-bg) !important;
    color: var(--sd-text) !important;
}

/* HEADER */
body.shamsaz-dark .whb-header,
body.shamsaz-dark .whb-row,
body.shamsaz-dark .whb-general-header,
body.shamsaz-dark .whb-sticky-header,
body.shamsaz-dark .wd-header {
    background-color: var(--sd-card) !important;
    color: var(--sd-text) !important;
    border-color: var(--sd-border) !important;
}

/* NAVIGATION */
body.shamsaz-dark .wd-nav > li > a,
body.shamsaz-dark .wd-nav a,
body.shamsaz-dark .wd-header a {
    color: var(--sd-text) !important;
}

body.shamsaz-dark .wd-dropdown,
body.shamsaz-dark .wd-dropdown-menu {
    background-color: var(--sd-card) !important;
    border-color: var(--sd-border) !important;
}

/* PRODUCT CARDS */
body.shamsaz-dark .wd-product .product-wrapper {
    background-color: var(--sd-card) !important;
    border: 1px solid var(--sd-border) !important;
    box-shadow: 0 5px 18px rgba(0,0,0,.13) !important;
}

body.shamsaz-dark .wd-product .product-wrapper:hover {
    background-color: var(--sd-card-hover) !important;
    border-color: var(--sd-green-light) !important;
}

/* KEEP PRODUCT IMAGE BACKGROUND WHITE */
body.shamsaz-dark .wd-product .product-element-top,
body.shamsaz-dark .wd-product .product-element-top img {
    background-color: #ffffff !important;
}

/* PRODUCT TEXT */
body.shamsaz-dark .wd-product .wd-entities-title,
body.shamsaz-dark .wd-product .wd-entities-title a {
    color: var(--sd-text) !important;
}

body.shamsaz-dark .wd-product .price {
    color: var(--sd-green-light) !important;
}

/* BUTTONS */
body.shamsaz-dark .wd-product .button,
body.shamsaz-dark .wd-product .add-to-cart-loop {
    background-color: var(--sd-green) !important;
    color: #ffffff !important;
    border-color: var(--sd-green) !important;
}

body.shamsaz-dark .wd-product .button:hover,
body.shamsaz-dark .wd-product .add-to-cart-loop:hover {
    background-color: #34785a !important;
    border-color: var(--sd-gold) !important;
}

/* SIDEBAR */
body.shamsaz-dark .wd-sidebar,
body.shamsaz-dark .sidebar-container,
body.shamsaz-dark .widget_product_categories,
body.shamsaz-dark .widget {
    color: var(--sd-text) !important;
}

body.shamsaz-dark .widget_product_categories {
    background-color: var(--sd-card) !important;
    border: 1px solid var(--sd-border) !important;
    border-radius: 16px !important;
}

body.shamsaz-dark .widget-title {
    color: var(--sd-green-light) !important;
    border-color: var(--sd-border) !important;
}

body.shamsaz-dark .widget a,
body.shamsaz-dark .product-categories a {
    color: var(--sd-text) !important;
}

body.shamsaz-dark .widget_product_categories .count {
    background-color: #354d43 !important;
    color: var(--sd-green-light) !important;
}

/* SHOP TOOLBAR */
body.shamsaz-dark .wd-shop-tools,
body.shamsaz-dark .wd-shop-tools > * {
    background-color: var(--sd-card) !important;
    color: var(--sd-text) !important;
    border-color: var(--sd-border) !important;
}

/* SIDE MENU */
body.shamsaz-dark .wd-side-hidden {
    background-color: var(--sd-card) !important;
    color: var(--sd-text) !important;
}

body.shamsaz-dark .wd-side-hidden a,
body.shamsaz-dark .wd-side-hidden span {
    color: var(--sd-text) !important;
}

/* FOOTER */
body.shamsaz-dark .wd-footer,
body.shamsaz-dark .footer-container,
body.shamsaz-dark footer {
    background-color: var(--sd-card) !important;
    color: var(--sd-text) !important;
    border-color: var(--sd-border) !important;
}

body.shamsaz-dark footer a {
    color: var(--sd-muted) !important;
}

/* FORMS */
body.shamsaz-dark input,
body.shamsaz-dark textarea,
body.shamsaz-dark select {
    background-color: #263640 !important;
    color: var(--sd-text) !important;
    border-color: var(--sd-border) !important;
}

body.shamsaz-dark input::placeholder,
body.shamsaz-dark textarea::placeholder {
    color: var(--sd-muted) !important;
}

/* POPUPS AND DROPDOWNS */
body.shamsaz-dark .wd-popup,
body.shamsaz-dark .mfp-content,
body.shamsaz-dark .wd-search-form {
    background-color: var(--sd-card) !important;
    color: var(--sd-text) !important;
}

/* GENERAL TEXT */
body.shamsaz-dark h1,
body.shamsaz-dark h2,
body.shamsaz-dark h3,
body.shamsaz-dark h4,
body.shamsaz-dark p,
body.shamsaz-dark label {
    color: var(--sd-text);
}

/* DIVIDERS */
body.shamsaz-dark hr,
body.shamsaz-dark .divider {
    border-color: var(--sd-border) !important;
}

/* PREMIUM GOLD DETAILS */
body.shamsaz-dark .widget-title {
    border-bottom: 1px solid var(--sd-gold) !important;
}

/* SMOOTH TRANSITION */
body.shamsaz-dark .product-wrapper,
body.shamsaz-dark .widget,
body.shamsaz-dark .wd-shop-tools,
body.shamsaz-dark .whb-header {
    transition: background-color .25s ease,
                color .25s ease,
                border-color .25s ease !important;
}


/* DARK MODE TOGGLE BUTTON */

.shamsaz-theme-toggle {
    position: fixed !important;
    right: 22px !important;
    bottom: 24px !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    border: 1px solid #b69a62 !important;
    background: #245b45 !important;
    color: #ffffff !important;
    font-size: 23px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 999999 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,.2) !important;
    transition: all .25s ease !important;
}

.shamsaz-theme-toggle:hover {
    transform: scale(1.08) !important;
    background: #194332 !important;
}

body.shamsaz-dark .shamsaz-theme-toggle {
    background: #b69a62 !important;
    color: #202c35 !important;
}

@media(max-width:767px) {
    .shamsaz-theme-toggle {
        right: 16px !important;
        bottom: 85px !important;
        width: 43px !important;
        height: 43px !important;
    }
}


/* =====================================
   SHAMSAZ SHO - PREMIUM DARK MODE
   Main color: Forest Green
===================================== */

body.shamsaz-dark {
    background: #17232b !important;
    color: #e7ece9 !important;
}

/* Main backgrounds */
body.shamsaz-dark,
body.shamsaz-dark .main-page-wrapper,
body.shamsaz-dark .site-content,
body.shamsaz-dark .content-area,
body.shamsaz-dark .wd-content-layout,
body.shamsaz-dark .shop-content,
body.shamsaz-dark .container {
    background-color: #17232b !important;
    color: #e7ece9 !important;
}

/* Product cards */
body.shamsaz-dark .product-wrapper,
body.shamsaz-dark .product-grid-item,
body.shamsaz-dark .wd-product,
body.shamsaz-dark .product,
body.shamsaz-dark .wd-products-element .product,
body.shamsaz-dark .product-element-bottom {
    background-color: #263640 !important;
    border-color: #3b4b52 !important;
    color: #edf2ee !important;
    border-radius: 17px !important;
}

/* Product image area - keep images white */
body.shamsaz-dark .product-element-top,
body.shamsaz-dark .product-image-link,
body.shamsaz-dark .product-element-top img {
    background-color: #ffffff !important;
    border-radius: 12px !important;
}

/* Product names */
body.shamsaz-dark .product-title,
body.shamsaz-dark .product-title a,
body.shamsaz-dark .wd-entities-title,
body.shamsaz-dark .wd-entities-title a {
    color: #f1f5f2 !important;
}

/* Product prices */
body.shamsaz-dark .price,
body.shamsaz-dark .price *,
body.shamsaz-dark .amount {
    color: #a9d6b8 !important;
}

/* Buttons */
body.shamsaz-dark .product-element-bottom .button,
body.shamsaz-dark .add_to_cart_button,
body.shamsaz-dark .product_type_variable,
body.shamsaz-dark .wd-add-btn a {
    background: #28634b !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
}

/* Sidebar and categories */
body.shamsaz-dark .sidebar-container,
body.shamsaz-dark .wd-sidebar,
body.shamsaz-dark .widget-area,
body.shamsaz-dark .widget,
body.shamsaz-dark .wd-widget,
body.shamsaz-dark .wd-shop-sidebar,
body.shamsaz-dark .wd-widget-collapse {
    background-color: #263640 !important;
    color: #e7ece9 !important;
    border-color: #3b4b52 !important;
}

/* Category links */
body.shamsaz-dark .wd-nav-product-cat a,
body.shamsaz-dark .product-categories a,
body.shamsaz-dark .widget a {
    color: #e1ebe4 !important;
}

body.shamsaz-dark .wd-nav-product-cat a:hover,
body.shamsaz-dark .product-categories a:hover {
    color: #a9d6b8 !important;
}

/* Shop toolbar and sorting */
body.shamsaz-dark .wd-shop-tools,
body.shamsaz-dark .wd-toolbar,
body.shamsaz-dark .woocommerce-ordering,
body.shamsaz-dark .wd-products-per-page {
    background: #263640 !important;
    color: #edf2ee !important;
    border-color: #3b4b52 !important;
}

body.shamsaz-dark select,
body.shamsaz-dark .orderby {
    background-color: #344650 !important;
    color: #ffffff !important;
    border-color: #50636b !important;
}

/* Filters */
body.shamsaz-dark .wd-filter,
body.shamsaz-dark .wd-filter-content,
body.shamsaz-dark .wd-price-filter,
body.shamsaz-dark .widget_price_filter {
    color: #e7ece9 !important;
}

body.shamsaz-dark .price_slider {
    background: #52645d !important;
}

body.shamsaz-dark .price_slider .ui-slider-range,
body.shamsaz-dark .price_slider .ui-slider-handle {
    background: #3d8965 !important;
    border-color: #3d8965 !important;
}

/* Borders and separators */
body.shamsaz-dark hr,
body.shamsaz-dark .widget,
body.shamsaz-dark .wd-divider {
    border-color: #3b4b52 !important;
}

/* Breadcrumb */
body.shamsaz-dark .woocommerce-breadcrumb,
body.shamsaz-dark .wd-breadcrumbs,
body.shamsaz-dark .woocommerce-breadcrumb a {
    color: #b8c9bf !important;
}

/* Pagination */
body.shamsaz-dark .page-numbers {
    background: #263640 !important;
    color: #ffffff !important;
    border-color: #465a61 !important;
}

body.shamsaz-dark .page-numbers.current {
    background: #28634b !important;
    color: #ffffff !important;
}

/* Header */
body.shamsaz-dark .whb-header,
body.shamsaz-dark .whb-main-header,
body.shamsaz-dark .whb-row,
body.shamsaz-dark .whb-general-header {
    background-color: #202e36 !important;
    color: #ffffff !important;
}

body.shamsaz-dark .whb-header a {
    color: #edf2ee !important;
}

/* Mobile */
@media(max-width: 767px) {
    body.shamsaz-dark .product-wrapper,
    body.shamsaz-dark .product-grid-item {
        background-color: #263640 !important;
    }

    body.shamsaz-dark .wd-sidebar,
    body.shamsaz-dark .sidebar-container {
        background-color: #202e36 !important;
    }
}




/* =================================
   SHAMSAZ SHO - MOBILE DARK FIX
================================= */

@media (max-width: 767px) {

/* CATEGORY MAIN BOX */
body.shamsaz-dark .widget_product_categories,
body.shamsaz-dark .wd-widget-product-categories,
body.shamsaz-dark .wd-nav-product-cat,
body.shamsaz-dark .elementor-widget-wd_product_categories {
    background: #202f35 !important;
    color: #f4f8f5 !important;
    border: 1px solid #3c5549 !important;
    border-radius: 20px !important;
}

/* CATEGORY TITLES */
body.shamsaz-dark .widget_product_categories .widget-title,
body.shamsaz-dark .widget-title,
body.shamsaz-dark .wd-heading {
    color: #ffffff !important;
}

/* ALL CATEGORY TEXT */
body.shamsaz-dark .widget_product_categories a,
body.shamsaz-dark .product-categories a,
body.shamsaz-dark .wd-nav-product-cat a,
body.shamsaz-dark .wd-nav-product-cat li a {
    color: #f1f5f2 !important;
    background-color: transparent !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

/* ACTIVE CATEGORY */
body.shamsaz-dark .widget_product_categories .current-cat > a,
body.shamsaz-dark .widget_product_categories .current-cat-parent > a {
    background: #286047 !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    padding: 13px !important;
}

/* SUBCATEGORY BOX */
body.shamsaz-dark .widget_product_categories ul.children,
body.shamsaz-dark .product-categories ul.children {
    background: #19282e !important;
    border: 1px solid #405b4d !important;
    border-radius: 14px !important;
    padding: 10px !important;
}

/* SUBCATEGORY TEXT */
body.shamsaz-dark .widget_product_categories ul.children a {
    color: #dcebe1 !important;
    background: transparent !important;
}

/* ARROWS AND CATEGORY ICONS */
body.shamsaz-dark .widget_product_categories i,
body.shamsaz-dark .widget_product_categories svg,
body.shamsaz-dark .wd-nav-product-cat i,
body.shamsaz-dark .wd-nav-product-cat svg {
    color: #b9e0c8 !important;
    fill: currentColor !important;
    stroke: currentColor !important;
}

/* BOTTOM MOBILE BAR */
body.shamsaz-dark .wd-toolbar {
    background: #20343b !important;
    border-top: 1px solid #496457 !important;
    border-radius: 20px 20px 0 0 !important;
}

body.shamsaz-dark .wd-toolbar *,
body.shamsaz-dark .wd-toolbar a,
body.shamsaz-dark .wd-toolbar span,
body.shamsaz-dark .wd-toolbar i {
    color: #f4f8f5 !important;
    opacity: 1 !important;
}

body.shamsaz-dark .wd-toolbar svg {
    color: #f4f8f5 !important;
    fill: none !important;
    stroke: #f4f8f5 !important;
}

/* HEADER MENU ICON */
body.shamsaz-dark .wd-header-mobile-nav,
body.shamsaz-dark .wd-header-mobile-nav i,
body.shamsaz-dark .wd-header-mobile-nav svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

/* CART AND HEADER ICONS */
body.shamsaz-dark .wd-header-icons i,
body.shamsaz-dark .wd-header-icons svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

/* GENERAL MOBILE TEXT */
body.shamsaz-dark .widget_product_categories li {
    color: #f4f8f5 !important;
    opacity: 1 !important;
}

}



/* MOBILE DARK MODE - CATEGORY TEXT COLOR FIX */
@media (max-width: 767px) {

    body.shamsaz-dark .widget_product_categories a,
    body.shamsaz-dark .widget_product_categories .product-categories li > a,
    body.shamsaz-dark .widget_product_categories .children a,
    body.shamsaz-dark .wd-widget-product-categories a,
    body.shamsaz-dark .product-categories a {
        color: #A8DDBB !important;
        opacity: 1 !important;
    }

    /* Active category */
    body.shamsaz-dark .widget_product_categories .current-cat > a,
    body.shamsaz-dark .widget_product_categories .current-cat-parent > a {
        color: #D8F5E2 !important;
        font-weight: 800 !important;
    }

    /* Hover */
    body.shamsaz-dark .widget_product_categories a:hover {
        color: #FFFFFF !important;
    }
}



/* =====================================
   SHAMSAZSHO - CATEGORY DESIGN FIX
   DESKTOP + MOBILE / DARK MODE
===================================== */

/* پس زمینه اصلی دسته بندی */
body.shamsaz-dark .widget_product_categories,
body.shamsaz-dark .wd-widget-product-categories,
body.shamsaz-dark .wd-categories,
body.shamsaz-dark .wd-categories-wrap {
    background: #20333A !important;
    border: 1px solid #35594A !important;
    border-radius: 18px !important;
}

/* زیر دسته ها */
body.shamsaz-dark .widget_product_categories .children,
body.shamsaz-dark .wd-widget-product-categories .children,
body.shamsaz-dark .wd-widget-product-categories .wd-sub-menu,
body.shamsaz-dark .wd-nav-product-cat .wd-dropdown,
body.shamsaz-dark .wd-nav-product-cat .wd-sub-menu,
body.shamsaz-dark .product-categories .children {
    background: #263D42 !important;
    border: 1px solid #3C6653 !important;
    border-radius: 13px !important;
    padding: 8px !important;
}

/* نوشته تمام دسته ها */
body.shamsaz-dark .widget_product_categories a,
body.shamsaz-dark .wd-widget-product-categories a,
body.shamsaz-dark .wd-categories a,
body.shamsaz-dark .wd-nav-product-cat .wd-dropdown a,
body.shamsaz-dark .product-categories .children a {
    color: #C9E9D5 !important;
    opacity: 1 !important;
    background: transparent !important;
    font-weight: 600 !important;
}

/* دسته انتخاب شده */
body.shamsaz-dark .widget_product_categories .current-cat > a,
body.shamsaz-dark .widget_product_categories .current-cat-parent > a,
body.shamsaz-dark .wd-widget-product-categories .current-cat > a {
    background: #DDF1E4 !important;
    color: #20543F !important;
    border-radius: 10px !important;
    font-weight: 800 !important;
}

/* هاور دسته بندی */
body.shamsaz-dark .widget_product_categories li:hover > a,
body.shamsaz-dark .wd-widget-product-categories li:hover > a,
body.shamsaz-dark .wd-nav-product-cat li:hover > a {
    background: #32634E !important;
    color: #FFFFFF !important;
}

/* فلش ها و آیکون های دسته بندی */
body.shamsaz-dark .widget_product_categories i,
body.shamsaz-dark .widget_product_categories svg,
body.shamsaz-dark .wd-widget-product-categories svg,
body.shamsaz-dark .wd-widget-product-categories i {
    color: #B8E4C8 !important;
    fill: currentColor !important;
    stroke: currentColor !important;
}

/* شمارنده محصولات */
body.shamsaz-dark .widget_product_categories .count,
body.shamsaz-dark .product-categories .count {
    background: #315B47 !important;
    color: #E5F7EA !important;
    border: 1px solid #648B70 !important;
}

/* موبایل */
@media (max-width: 767px) {

    body.shamsaz-dark .widget_product_categories,
    body.shamsaz-dark .wd-widget-product-categories,
    body.shamsaz-dark .wd-categories,
    body.shamsaz-dark .wd-categories-wrap {
        background: #20333A !important;
        border: 1px solid #52745F !important;
        border-radius: 22px !important;
        padding: 14px !important;
    }

    body.shamsaz-dark .widget_product_categories a,
    body.shamsaz-dark .wd-widget-product-categories a,
    body.shamsaz-dark .product-categories a {
        color: #D4EFDD !important;
        opacity: 1 !important;
        font-size: 14px !important;
    }

    body.shamsaz-dark .widget_product_categories .children,
    body.shamsaz-dark .wd-widget-product-categories .children,
    body.shamsaz-dark .wd-widget-product-categories .wd-sub-menu {
        background: #263D42 !important;
        border: 1px solid #456B57 !important;
        border-radius: 14px !important;
        padding: 8px !important;
    }

    body.shamsaz-dark .widget_product_categories .current-cat > a,
    body.shamsaz-dark .widget_product_categories .current-cat-parent > a {
        background: #DDF1E4 !important;
        color: #20543F !important;
    }
}


/* SHAMSAZSHO - SINGLE PRODUCT DARK DESIGN */

@media (min-width: 768px) {

    body.shamsaz-dark.single-product {
        background: #17272D !important;
    }

    /* Main product sections */
    body.shamsaz-dark.single-product .product-image-summary,
    body.shamsaz-dark.single-product .summary,
    body.shamsaz-dark.single-product .summary-inner,
    body.shamsaz-dark.single-product .woocommerce-tabs,
    body.shamsaz-dark.single-product .woocommerce-Tabs-panel,
    body.shamsaz-dark.single-product .wd-single-tabs,
    body.shamsaz-dark.single-product #tab-description,
    body.shamsaz-dark.single-product #tab-additional_information,
    body.shamsaz-dark.single-product .wd-accordion-item {
        background-color: #20343B !important;
        color: #D9EADF !important;
        border-color: #365747 !important;
    }

    /* Product information text */
    body.shamsaz-dark.single-product .summary,
    body.shamsaz-dark.single-product .summary p,
    body.shamsaz-dark.single-product .summary span,
    body.shamsaz-dark.single-product .summary label,
    body.shamsaz-dark.single-product .product_meta,
    body.shamsaz-dark.single-product .woocommerce-tabs,
    body.shamsaz-dark.single-product .woocommerce-Tabs-panel,
    body.shamsaz-dark.single-product .woocommerce-Tabs-panel p,
    body.shamsaz-dark.single-product .woocommerce-Tabs-panel li,
    body.shamsaz-dark.single-product .woocommerce-Tabs-panel span {
        color: #D9EADF !important;
        opacity: 1 !important;
    }

    /* Titles */
    body.shamsaz-dark.single-product .product_title,
    body.shamsaz-dark.single-product .wd-accordion-title,
    body.shamsaz-dark.single-product .woocommerce-tabs h2,
    body.shamsaz-dark.single-product .woocommerce-Tabs-panel h2,
    body.shamsaz-dark.single-product .woocommerce-Tabs-panel h3 {
        color: #A9DDBB !important;
    }

    /* Product image area - keep white */
    body.shamsaz-dark.single-product .woocommerce-product-gallery__image,
    body.shamsaz-dark.single-product .woocommerce-product-gallery__image a,
    body.shamsaz-dark.single-product .woocommerce-product-gallery__wrapper .wd-gallery-item {
        background: #FFFFFF !important;
        border-radius: 12px !important;
    }

    /* Thumbnail images */
    body.shamsaz-dark.single-product .woocommerce-product-gallery .flex-control-thumbs img {
        background: #FFFFFF !important;
        border-radius: 8px !important;
    }

    /* Product details and attributes */
    body.shamsaz-dark.single-product .woocommerce-product-attributes,
    body.shamsaz-dark.single-product .woocommerce-product-attributes td,
    body.shamsaz-dark.single-product .woocommerce-product-attributes th {
        background: #263D40 !important;
        color: #D9EADF !important;
        border-color: #456451 !important;
    }

    /* Product tabs */
    body.shamsaz-dark.single-product .woocommerce-tabs ul.tabs li a {
        color: #BDE4CB !important;
    }

    body.shamsaz-dark.single-product .woocommerce-tabs ul.tabs li.active {
        background: #285D47 !important;
    }
}

/* =====================================
   SHAMSAZSHO - PRODUCT DARK MODE FIX
   DESKTOP
===================================== */

@media (min-width: 769px) {

body.shamsaz-dark.single-product {
    background: #17262d !important;
    color: #e5eee9 !important;
}

/* Main product sections */
body.shamsaz-dark.single-product .product,
body.shamsaz-dark.single-product .product-container,
body.shamsaz-dark.single-product .summary,
body.shamsaz-dark.single-product .summary-inner,
body.shamsaz-dark.single-product .woocommerce-tabs,
body.shamsaz-dark.single-product .woocommerce-Tabs-panel,
body.shamsaz-dark.single-product .wd-single-content {
    background-color: #20343c !important;
    color: #e5eee9 !important;
    border-color: #36564b !important;
}

/* Product title */
body.shamsaz-dark.single-product .product_title {
    color: #a8dfc0 !important;
}

/* Product description */
body.shamsaz-dark.single-product .woocommerce-product-details__short-description,
body.shamsaz-dark.single-product .woocommerce-product-details__short-description *,
body.shamsaz-dark.single-product .woocommerce-Tabs-panel,
body.shamsaz-dark.single-product .woocommerce-Tabs-panel p,
body.shamsaz-dark.single-product .woocommerce-Tabs-panel li {
    color: #dce9e2 !important;
}

/* Product information */
body.shamsaz-dark.single-product .product_meta,
body.shamsaz-dark.single-product .product_meta *,
body.shamsaz-dark.single-product .wd-accordion,
body.shamsaz-dark.single-product .wd-accordion * {
    color: #c6dfd1 !important;
}

/* Price */
body.shamsaz-dark.single-product .price,
body.shamsaz-dark.single-product .price * {
    color: #75d5a5 !important;
}

/* Product gallery - preserve white image background */
body.shamsaz-dark.single-product .woocommerce-product-gallery,
body.shamsaz-dark.single-product .woocommerce-product-gallery__wrapper,
body.shamsaz-dark.single-product .woocommerce-product-gallery__image {
    background: #ffffff !important;
    border-radius: 12px;
}

/* Inputs and selectors */
body.shamsaz-dark.single-product select,
body.shamsaz-dark.single-product input,
body.shamsaz-dark.single-product textarea {
    background-color: #263c43 !important;
    color: #eaf5ef !important;
    border-color: #527565 !important;
}

/* Dropdown menus */
body.shamsaz-dark.single-product .wd-dropdown,
body.shamsaz-dark.single-product .select2-dropdown,
body.shamsaz-dark.single-product .select2-results,
body.shamsaz-dark.single-product .select2-results__option {
    background-color: #20343c !important;
    color: #eaf5ef !important;
}

/* Tabs */
body.shamsaz-dark.single-product .tabs,
body.shamsaz-dark.single-product .tabs li,
body.shamsaz-dark.single-product .tabs li a {
    background-color: #263c43 !important;
    color: #dce9e2 !important;
}

/* Product borders */
body.shamsaz-dark.single-product .product-container,
body.shamsaz-dark.single-product .woocommerce-tabs {
    border-color: #36564b !important;
}

}


/* Short Description - Desktop Dark Mode Fix */

@media (min-width: 769px) {

body.shamsaz-dark.single-product
.woocommerce-product-details__short-description,
body.shamsaz-dark.single-product
.woocommerce-product-details__short-description p,
body.shamsaz-dark.single-product
.wd-product-short-description,
body.shamsaz-dark.single-product
.wd-product-short-description p {

    color: #29483d !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-weight: 500 !important;
    line-height: 2.2 !important;
}

/* Product metadata readability */

body.shamsaz-dark.single-product .product_meta,
body.shamsaz-dark.single-product .product_meta span,
body.shamsaz-dark.single-product .product_meta a {
    color: #365c4c !important;
    opacity: 1 !important;
}

/* Product title */

body.shamsaz-dark.single-product .product_title {
    color: #28634c !important;
}

}

/* SHAMSAZSHO - DARK MODE DROPDOWN FIX */

@media (min-width: 769px) {

body.shamsaz-dark.single-product select,
body.shamsaz-dark.single-product select option,
body.shamsaz-dark.single-product .variations select,
body.shamsaz-dark.single-product .variations option,
body.shamsaz-dark.single-product .variations_form select,
body.shamsaz-dark.single-product .variations_form option {

    background-color: #203b36 !important;
    color: #f1fff7 !important;
}

/* Selected option */
body.shamsaz-dark.single-product select option:checked {
    background-color: #28634c !important;
    color: #ffffff !important;
}

/* Dropdown select box */
body.shamsaz-dark.single-product .variations select {
    border: 1px solid #527c68 !important;
    border-radius: 10px !important;
    color: #eafff1 !important;
}

/* Select2 dropdown if active */
body.shamsaz-dark.single-product .select2-container--default
.select2-results__option {
    background: #203b36 !important;
    color: #f1fff7 !important;
}

body.shamsaz-dark.single-product .select2-container--default
.select2-results__option--highlighted {
    background: #28634c !important;
    color: #ffffff !important;
}

body.shamsaz-dark.single-product .select2-container--default
.select2-results__option[aria-selected="true"] {
    background: #315f4b !important;
    color: #ffffff !important;
}

}




/* SHAMSAZ SHO - PREMIUM TOGGLE SWITCH */

#shamsazThemeToggle.shamsaz-theme-toggle {
    position: fixed !important;
    right: 22px !important;
    bottom: 24px !important;
    width: 92px !important;
    min-width: 92px !important;
    height: 46px !important;
    padding: 4px !important;

    display: block !important;
    border-radius: 30px !important;
    border: 2px solid #B69A62 !important;

    background: #EAF2EC !important;
    box-shadow: 0 4px 16px rgba(0,0,0,.18) !important;

    font-size: 0 !important;
    line-height: 0 !important;
    cursor: pointer !important;
    z-index: 999999 !important;
    overflow: hidden !important;

    transition: background .3s ease !important;
}

/* Moving circle */
#shamsazThemeToggle.shamsaz-theme-toggle::before {
    content: "☀" !important;
    position: absolute !important;
    left: 4px !important;
    top: 4px !important;

    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: 23px !important;
    line-height: 1 !important;
    background: #B69A62 !important;
    color: #FFFFFF !important;

    transition: transform .3s ease, background .3s ease !important;
}

/* Dark state */
body.shamsaz-dark #shamsazThemeToggle.shamsaz-theme-toggle {
    background: #193D32 !important;
}

body.shamsaz-dark #shamsazThemeToggle.shamsaz-theme-toggle::before {
    content: "☾" !important;
    transform: translateX(44px) !important;
    background: #B69A62 !important;
    color: #193D32 !important;
}

/* Mobile */
@media(max-width:767px) {
    #shamsazThemeToggle.shamsaz-theme-toggle {
        right: 16px !important;
        bottom: 85px !important;
        width: 82px !important;
        min-width: 82px !important;
        height: 42px !important;
    }

    #shamsazThemeToggle.shamsaz-theme-toggle::before {
        width: 30px !important;
        height: 30px !important;
        font-size: 21px !important;
    }

    body.shamsaz-dark #shamsazThemeToggle.shamsaz-theme-toggle::before {
        transform: translateX(38px) !important;
    }
}



/* نوشته‌های منوی دسته‌بندی همیشه سفید باشند */
body.shamsaz-dark .wd-dropdown,
body.shamsaz-dark .wd-dropdown * {
    color: #ffffff !important;
}

/* جلوگیری از تغییر رنگ هنگام هاور */
body.shamsaz-dark .wd-dropdown a:hover,
body.shamsaz-dark .wd-dropdown a:hover * {
    color: #ffffff !important;
}








/* اصلاح خوانایی تمام گزینه‌های تب محصولات در دارک مود */
body.shamsaz-dark ul.wd-nav-tabs > li:not(.wd-active),
body.shamsaz-dark ul.wd-nav-tabs > li:not(.wd-active) > a,
body.shamsaz-dark ul.wd-nav-tabs > li:not(.wd-active) .tab-label,
body.shamsaz-dark ul.wd-nav-tabs > li:not(.wd-active) i {
    color: #263b36 !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
}

/* آیکون‌های گزینه‌های غیرفعال */
body.shamsaz-dark ul.wd-nav-tabs > li:not(.wd-active) svg {
    fill: #263b36 !important;
    stroke: #263b36 !important;
    opacity: 1 !important;
}

/* گزینه فعال همان قرمز بماند */
body.shamsaz-dark ul.wd-nav-tabs > li.wd-active,
body.shamsaz-dark ul.wd-nav-tabs > li.wd-active .tab-label {
    opacity: 1 !important;
}




@media (min-width: 1025px) {
	

}

@media (max-width: 576px) {
	/* SHAMSAZSHO - MOBILE CATEGORY PREMIUM DESIGN */

@media (max-width: 767px) {

    /* Main category container */
    body.shamsaz-dark .wd-nav-product-cat,
    body.shamsaz-dark .wd-categories,
    body.shamsaz-dark .widget_product_categories,
    body.shamsaz-dark .wd-widget-product-categories {
        background: #20383A !important;
        border: 1px solid #416653 !important;
        border-radius: 18px !important;
        overflow: visible !important;
    }

    /* All category titles */
    body.shamsaz-dark .wd-nav-product-cat a,
    body.shamsaz-dark .wd-nav-product-cat .nav-link-text,
    body.shamsaz-dark .wd-widget-product-categories a,
    body.shamsaz-dark .widget_product_categories a,
    body.shamsaz-dark .product-categories a,
    body.shamsaz-dark .category-nav-link {
        color: #C8EBD5 !important;
        opacity: 1 !important;
        text-shadow: none !important;
        font-weight: 600 !important;
    }

    /* Subcategories */
    body.shamsaz-dark .wd-nav-product-cat .wd-dropdown,
    body.shamsaz-dark .wd-nav-product-cat .wd-sub-menu,
    body.shamsaz-dark .wd-nav-product-cat .children,
    body.shamsaz-dark .product-categories .children {
        background: #263F40 !important;
        border: 1px solid #456B56 !important;
        border-radius: 14px !important;
        padding: 8px !important;
    }

    /* Active category */
    body.shamsaz-dark .wd-nav-product-cat .current-cat > a,
    body.shamsaz-dark .product-categories .current-cat > a,
    body.shamsaz-dark .widget_product_categories .current-cat > a {
        background: #DDF2E4 !important;
        color: #20543F !important;
        border-radius: 11px !important;
        font-weight: 800 !important;
    }

    /* Hover and selected links */
    body.shamsaz-dark .wd-nav-product-cat li:hover > a,
    body.shamsaz-dark .product-categories li:hover > a {
        background: #32694F !important;
        color: #FFFFFF !important;
    }

    /* Arrows and icons */
    body.shamsaz-dark .wd-nav-product-cat i,
    body.shamsaz-dark .wd-nav-product-cat svg,
    body.shamsaz-dark .wd-widget-product-categories svg,
    body.shamsaz-dark .widget_product_categories svg {
        color: #A9DDBB !important;
        fill: currentColor !important;
        stroke: currentColor !important;
    }

    /* Category counters */
    body.shamsaz-dark .wd-nav-product-cat .count,
    body.shamsaz-dark .product-categories .count {
        background: #315C47 !important;
        color: #E7F7EC !important;
        border: 1px solid #648C70 !important;
    }
}


/* SHAMSAZSHO - MOBILE PRODUCT DARK DESIGN */

@media (max-width: 767px) {

    body.shamsaz-dark.single-product {
        background: #17272D !important;
    }

    /* Product panels */
    body.shamsaz-dark.single-product .product-image-summary,
    body.shamsaz-dark.single-product .summary,
    body.shamsaz-dark.single-product .summary-inner,
    body.shamsaz-dark.single-product .woocommerce-tabs,
    body.shamsaz-dark.single-product .woocommerce-Tabs-panel,
    body.shamsaz-dark.single-product #tab-description,
    body.shamsaz-dark.single-product .wd-single-tabs,
    body.shamsaz-dark.single-product .wd-accordion-item {
        background: #20343B !important;
        color: #D9EADF !important;
        border-color: #456451 !important;
        border-radius: 14px !important;
    }

    /* Text visibility */
    body.shamsaz-dark.single-product .summary *,
    body.shamsaz-dark.single-product .woocommerce-Tabs-panel *,
    body.shamsaz-dark.single-product .product_meta {
        color: #D9EADF !important;
        opacity: 1 !important;
    }

    /* Titles */
    body.shamsaz-dark.single-product .product_title,
    body.shamsaz-dark.single-product .woocommerce-tabs h2,
    body.shamsaz-dark.single-product .woocommerce-Tabs-panel h2,
    body.shamsaz-dark.single-product .woocommerce-Tabs-panel h3,
    body.shamsaz-dark.single-product .wd-accordion-title {
        color: #A9DDBB !important;
    }

    /* Product image stays white */
    body.shamsaz-dark.single-product .woocommerce-product-gallery__image,
    body.shamsaz-dark.single-product .woocommerce-product-gallery__image a,
    body.shamsaz-dark.single-product .woocommerce-product-gallery__wrapper .wd-gallery-item,
    body.shamsaz-dark.single-product .woocommerce-product-gallery .flex-control-thumbs img {
        background: #FFFFFF !important;
        border-radius: 12px !important;
    }

    /* Product attributes */
    body.shamsaz-dark.single-product .woocommerce-product-attributes,
    body.shamsaz-dark.single-product .woocommerce-product-attributes td,
    body.shamsaz-dark.single-product .woocommerce-product-attributes th {
        background: #263D40 !important;
        color: #D9EADF !important;
        border-color: #456451 !important;
    }

    /* Description */
    body.shamsaz-dark.single-product #tab-description p,
    body.shamsaz-dark.single-product #tab-description li {
        color: #D9EADF !important;
        opacity: 1 !important;
        line-height: 2 !important;
    }
}


/* =====================================
   SHAMSAZSHO
   MOBILE PRODUCT DESCRIPTION FIX
===================================== */

@media (max-width: 768px) {

/* توضیحات کوتاه کنار عکس محصول */
body.shamsaz-dark.single-product
.woocommerce-product-details__short-description,
body.shamsaz-dark.single-product
.woocommerce-product-details__short-description p,
body.shamsaz-dark.single-product
.wd-product-short-description,
body.shamsaz-dark.single-product
.wd-product-short-description p {

    color: #294f40 !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 2.1 !important;
}

/* توضیحات کامل محصول */
body.shamsaz-dark.single-product
.woocommerce-Tabs-panel--description,
body.shamsaz-dark.single-product
.woocommerce-Tabs-panel--description p,
body.shamsaz-dark.single-product
.wd-single-content,
body.shamsaz-dark.single-product
.wd-single-content p {

    color: #e0eee6 !important;
    opacity: 1 !important;
    visibility: visible !important;
    line-height: 2.2 !important;
}

/* تیتر توضیحات محصول */
body.shamsaz-dark.single-product
.woocommerce-Tabs-panel--description h1,
body.shamsaz-dark.single-product
.woocommerce-Tabs-panel--description h2,
body.shamsaz-dark.single-product
.woocommerce-Tabs-panel--description h3,
body.shamsaz-dark.single-product
.wd-single-content h2 {

    color: #a8dfc0 !important;
}

/* مشخصات محصول */
body.shamsaz-dark.single-product .product_meta,
body.shamsaz-dark.single-product .product_meta span,
body.shamsaz-dark.single-product .product_meta a {

    color: #b8dfc9 !important;
    opacity: 1 !important;
}

/* عنوان محصول */
body.shamsaz-dark.single-product .product_title {

    color: #a8dfc0 !important;
}

/* عنوان تب توضیحات */
body.shamsaz-dark.single-product .tabs li a {

    color: #dceee4 !important;
}

body.shamsaz-dark.single-product .tabs li.active a {

    color: #8bd9ad !important;
}

}


/* SHAMSAZSHO - MOBILE DESCRIPTION FINAL FIX */

@media (max-width: 768px) {

body.shamsaz-dark.single-product
.woocommerce-Tabs-panel--description,
body.shamsaz-dark.single-product
.woocommerce-Tabs-panel--description * ,
body.shamsaz-dark.single-product
.wd-single-content,
body.shamsaz-dark.single-product
.wd-single-content * {

    color: #eaf5ee !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-shadow: none !important;
}

/* تیترهای توضیحات */
body.shamsaz-dark.single-product
.woocommerce-Tabs-panel--description h1,
body.shamsaz-dark.single-product
.woocommerce-Tabs-panel--description h2,
body.shamsaz-dark.single-product
.woocommerce-Tabs-panel--description h3,
body.shamsaz-dark.single-product
.wd-single-content h1,
body.shamsaz-dark.single-product
.wd-single-content h2,
body.shamsaz-dark.single-product
.wd-single-content h3 {

    color: #8fe0b1 !important;
    font-weight: 700 !important;
}

/* متن‌های داخل لیست */
body.shamsaz-dark.single-product
.woocommerce-Tabs-panel--description li,
body.shamsaz-dark.single-product
.woocommerce-Tabs-panel--description strong,
body.shamsaz-dark.single-product
.wd-single-content strong {

    color: #b8edcf !important;
    opacity: 1 !important;
}

/* لینک‌های توضیحات */
body.shamsaz-dark.single-product
.woocommerce-Tabs-panel--description a {

    color: #75dba5 !important;
}

}



/* SHAMSAZSHO - FINAL MOBILE DESCRIPTION FIX */

@media (max-width: 768px) {

/* متن اصلی توضیحات */
body.shamsaz-dark.single-product
.woocommerce-Tabs-panel--description,
body.shamsaz-dark.single-product
.woocommerce-Tabs-panel--description *,
body.shamsaz-dark.single-product
.wd-single-content,
body.shamsaz-dark.single-product
.wd-single-content * {

    color: #30483d !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-shadow: none !important;
}

/* پاراگراف ها */
body.shamsaz-dark.single-product
.woocommerce-Tabs-panel--description p,
body.shamsaz-dark.single-product
.wd-single-content p {

    color: #344b40 !important;
    font-size: 15px !important;
    line-height: 2.2 !important;
}

/* تیترهای توضیحات */
body.shamsaz-dark.single-product
.woocommerce-Tabs-panel--description h1,
body.shamsaz-dark.single-product
.woocommerce-Tabs-panel--description h2,
body.shamsaz-dark.single-product
.woocommerce-Tabs-panel--description h3,
body.shamsaz-dark.single-product
.wd-single-content h1,
body.shamsaz-dark.single-product
.wd-single-content h2,
body.shamsaz-dark.single-product
.wd-single-content h3 {

    color: #206448 !important;
    font-weight: 800 !important;
}

/* متن های مهم و بولد */
body.shamsaz-dark.single-product
.woocommerce-Tabs-panel--description strong,
body.shamsaz-dark.single-product
.wd-single-content strong {

    color: #236b4c !important;
    font-weight: 800 !important;
}

/* لیست ها */
body.shamsaz-dark.single-product
.woocommerce-Tabs-panel--description li,
body.shamsaz-dark.single-product
.wd-single-content li {

    color: #344b40 !important;
}

/* لینک ها */
body.shamsaz-dark.single-product
.woocommerce-Tabs-panel--description a {

    color: #16734d !important;
}

}



@media (max-width: 767px) {
  body.shamsaz-dark #shamsazThemeToggle.shamsaz-theme-toggle::before {
    content: "🌙" !important;
    font-family: Arial, sans-serif !important;
    font-size: 19px !important;
    line-height: 1 !important;
    transform: translateX(38px) !important;
  }
}


/* سفید کردن فلش باز و بسته کردن زیرمجموعه‌ها در دارک مود موبایل */
@media (max-width: 767px) {
  body.shamsaz-dark .wd-nav-opener,
  body.shamsaz-dark .wd-nav-opener::before,
  body.shamsaz-dark .wd-nav-opener::after,
  body.shamsaz-dark .wd-nav-opener i,
  body.shamsaz-dark .wd-categories .wd-nav-opener,
  body.shamsaz-dark .widget_product_categories .wd-nav-opener {
    color: #fff !important;
    border-color: #fff !important;
    fill: #fff !important;
    stroke: #fff !important;
  }
}




}

