@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//honeybarbod.ir/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.4.3") format("woff2");
}

:root {
	--wd-text-font: IRANSansXFaNum;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(127,127,127);
	--wd-text-font-size: 16px;
	--wd-title-font: IRANSansXFaNum;
	--wd-title-font-weight: 700;
	--wd-title-color: rgb(79,79,79);
	--wd-entities-title-font: IRANSansXFaNum;
	--wd-entities-title-font-weight: 600;
	--wd-entities-title-color: rgb(71,71,71);
	--wd-entities-title-color-hover: rgb(127, 192, 40);
	--wd-alternative-font: IRANSansXFaNum;
	--wd-widget-title-font: IRANSansXFaNum;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: rgb(102,102,102);
	--wd-widget-title-font-size: 14px;
	--wd-header-el-font: IRANSansXFaNum;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 15px;
	--wd-brd-radius: 8px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: FDD017;
	--wd-alternative-color: rgb(253,208,23);
	--btn-default-bgcolor: rgb(253,208,23);
	--btn-default-bgcolor-hover: rgb(253,208,23);
	--btn-accented-bgcolor: rgb(253,208,23);
	--btn-accented-bgcolor-hover: rgb(253,208,23);
	--wd-form-brd-width: 2px;
	--notices-success-bg: rgb(224,178,82);
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--wd-sticky-btn-height: 100px;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: rgba(255,255,255,0);
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 1000px;
}
:is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg, :is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg :is(.wd-product,.wd-cat) {
	--wd-prod-bg:rgb(255,255,255);
	--wd-bordered-bg:rgb(255,255,255);
}
: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: rgb(247,247,247);
	background-image: none;
}
.page :is(.wd-page-content, .whb-header) {
	background-color: rgb(247,247,247);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-color: rgb(247,247,247);
	background-image: none;
}
.single-product :is(.wd-page-content, .whb-header) {
	background-color: rgb(247,247,247);
	background-image: none;
}
.woodmart-archive-blog :is(.wd-page-content, .whb-header) {
	background-color: rgb(247,247,247);
	background-image: none;
}
.single-post :is(.wd-page-content, .whb-header) {
	background-color: rgb(247,247,247);
	background-image: none;
}
.woodmart-archive-portfolio :is(.wd-page-content, .whb-header) {
	background-color: rgb(244,236,229);
	background-image: none;
}
.single-portfolio :is(.wd-page-content, .whb-header) {
	background-color: rgb(244,236,229);
	background-image: none;
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-color: rgb(160,160,160);
	--wd-form-placeholder-color: rgb(153,153,153);
	--wd-form-brd-color: rgb(221,221,221);
	--wd-form-brd-color-focus: rgb(186,186,186);
	--wd-form-bg: rgb(255,255,255);
}
.wd-nav-arrows.wd-pos-sep:not(:where(.wd-custom-style)) {
	--wd-arrow-bg: rgb(255,255,255);
}
.wd-nav-pagin-wrap:not(.wd-custom-style) {
	--wd-pagin-bg: rgb(255,255,255);
}
.wd-nav-scroll {
	--wd-nscroll-bg: rgb(255,255,255);
}
.product-labels .product-label.onsale {
	background-color: rgb(127,192,40);
	color: rgb(255,255,255);
}
.product-labels .product-label.new {
	background-color: rgb(14,49,68);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	:root {
		--wd-sticky-btn-height: 95px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-sticky-btn-height: 50px;
	}

}
:root{
--wd-form-brd-radius: 5px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-bottom-active: -1px;
--btn-default-brd-radius: 0px;
--btn-default-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-default-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-accented-bottom-active: -1px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-accented-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, .15);
--wd-cat-brd-radius: 5px;
}



.wd-page-title {
background-color: #0a0a0a;
}

/* --- استایل اختصاصی باکس محصول وودمارت | نسخه نهایی فروشگاه و آرشیو --- */

/* ========================================================================
   1) کارت محصول - پایه و سایه لوکس سه‌بعدی
   ======================================================================== */
.product-grid-item .product-wrapper {
    position: relative;
    border-radius: 10px !important;
    border: 1px solid rgba(212, 175, 55, 0.08) !important;
    overflow: hidden;
    background: #fff;
    box-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.02),
        0 4px 6px rgba(0, 0, 0, 0.03),
        0 6px 10px rgba(0, 0, 0, 0.03),
        0 10px 15px rgba(0, 0, 0, 0.04) !important;
    transition: box-shadow 0.28s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.28s ease !important;
    will-change: auto;
    transform: none !important;
    top: auto !important;
}

.product-grid-item:hover .product-wrapper,
.product-grid-item.wd-hover-active .product-wrapper,
.product-grid-item:hover,
.product-grid-item.wd-hover-active {
    transform: none !important;
}

.product-grid-item:hover .product-wrapper {
    border-color: rgba(212, 175, 55, 0.25) !important;
    box-shadow: 
        0 2px 6px rgba(0, 0, 0, 0.03),
        0 6px 10px rgba(0, 0, 0, 0.05),
        0 10px 15px rgba(0, 0, 0, 0.06),
        0 15px 25px rgba(0, 0, 0, 0.05) !important;
}

/* ========================================================================
   2) نسخه اختصاصی فروشگاه و آرشیو
   ======================================================================== */
.archive .product-grid-item,
.post-type-archive-product .product-grid-item,
.tax-product_cat .product-grid-item,
.tax-product_tag .product-grid-item {
    height: 100% !important;
}

.archive .product-grid-item .product-wrapper,
.post-type-archive-product .product-grid-item .product-wrapper,
.tax-product_cat .product-grid-item .product-wrapper,
.tax-product_tag .product-grid-item .product-wrapper {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 100% !important;
    transform: none !important;
    top: 0 !important;
    margin-top: 0 !important;
}

.archive .product-grid-item:hover .product-wrapper,
.archive .product-grid-item.wd-hover-active .product-wrapper,
.post-type-archive-product .product-grid-item:hover .product-wrapper,
.post-type-archive-product .product-grid-item.wd-hover-active .product-wrapper,
.tax-product_cat .product-grid-item:hover .product-wrapper,
.tax-product_cat .product-grid-item.wd-hover-active .product-wrapper,
.tax-product_tag .product-grid-item:hover .product-wrapper,
.tax-product_tag .product-grid-item.wd-hover-active .product-wrapper {
    transform: none !important;
    top: 0 !important;
    bottom: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.archive .product-grid-item .product-element-bottom,
.post-type-archive-product .product-grid-item .product-element-bottom,
.tax-product_cat .product-grid-item .product-element-bottom,
.tax-product_tag .product-grid-item .product-element-bottom {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    justify-content: flex-start !important;
}

.archive .product-grid-item .product-buttons,
.archive .product-grid-item .hover-content,
.archive .product-grid-item .fade-in-block,
.post-type-archive-product .product-grid-item .product-buttons,
.post-type-archive-product .product-grid-item .hover-content,
.post-type-archive-product .product-grid-item .fade-in-block,
.tax-product_cat .product-grid-item .product-buttons,
.tax-product_cat .product-grid-item .hover-content,
.tax-product_cat .product-grid-item .fade-in-block,
.tax-product_tag .product-grid-item .product-buttons,
.tax-product_tag .product-grid-item .hover-content,
.tax-product_tag .product-grid-item .fade-in-block {
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

/* ========================================================================
   3) ناحیه تصویر کارت‌ها در آرشیو
   ======================================================================== */
.product-element-top {
    border-radius: 15px !important;
    margin: 8px !important;
    overflow: hidden !important;
    position: relative !important;
    transform: none !important;
}

.archive .product-grid-item .product-element-top,
.post-type-archive-product .product-grid-item .product-element-top,
.tax-product_cat .product-grid-item .product-element-top,
.tax-product_tag .product-grid-item .product-element-top {
    aspect-ratio: 1 / 1 !important;
    flex: 0 0 auto !important;
    background: #f8f8f8 !important;
    transform: none !important;
}

.archive .product-grid-item .product-image-link,
.post-type-archive-product .product-grid-item .product-image-link,
.tax-product_cat .product-grid-item .product-image-link,
.tax-product_tag .product-grid-item .product-image-link {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    transform: none !important;
}

.archive .product-grid-item .product-element-top img,
.post-type-archive-product .product-grid-item .product-element-top img,
.tax-product_cat .product-grid-item .product-element-top img,
.tax-product_tag .product-grid-item .product-element-top img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
    scale: 1 !important;
    transition: none !important;
}

.product-element-top img,
.product-grid-item .product-element-top img,
.product-grid-item:hover .product-element-top img,
.product-image-link img,
.product-grid-item .product-image-link img,
.product-grid-item:hover .product-image-link img,
.product-grid-item .attachment-woocommerce_thumbnail,
.product-grid-item:hover .attachment-woocommerce_thumbnail,
.product-grid-item .wp-post-image,
.product-grid-item:hover .wp-post-image {
    transform: none !important;
    scale: 1 !important;
    transition: none !important;
    animation: none !important;
    filter: none !important;
    opacity: 1 !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
}

.product-grid-item .product-image-link,
.product-grid-item:hover .product-image-link,
.product-grid-item a.product-image-link,
.product-grid-item:hover a.product-image-link {
    transform: none !important;
    transition: none !important;
}

.product-grid-item .hover-img,
.product-grid-item:hover .hover-img,
.product-grid-item .wd-hover-image,
.product-grid-item:hover .wd-hover-image,
.product-grid-item .product-element-top .hover-image,
.product-grid-item:hover .product-element-top .hover-image {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

.product-grid-item .product-element-top *,
.product-grid-item:hover .product-element-top * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
}

/* بج تخفیف کارت محصول در آرشیو */
.product-grid-item .onsale {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    z-index: 3 !important;
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    min-height: 54px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #111111, #333333) !important;
    color: #d4af37 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-align: center !important;
    border-radius: 0 !important;
    clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2) !important;
}

.wd-wishlist-btn a {
    background: rgba(255, 255, 255, 0.86) !important;
    border-radius: 50% !important;
    backdrop-filter: blur(5px);
}

.product-grid-item .wd-entities-title,
.product-grid-item .product-title {
    margin-top: 8px !important;
}

.product-grid-item .wd-entities-title a,
.product-grid-item .product-title a {
    color: #111 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.6 !important;
}

.product-grid-item .price {
    margin-top: 6px !important;
}

.product-grid-item .price ins .amount {
    color: #d4af37 !important;
    font-size: 20px !important;
    font-weight: 900 !important;
}

.product-grid-item .price del .amount {
    font-size: 14px !important;
    opacity: 0.65 !important;
}

.wd-add-btn-replace .add_to_cart_button,
.wd-add-btn-replace .button {
    background: linear-gradient(135deg, #d4af37, #f2d26d) !important;
    color: #111 !important;
    border-radius: 12px !important;
    font-weight: 900 !important;
    height: 46px !important;
    font-size: 13px !important;
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.2) !important;
    transition: background 0.3s ease, color 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    transform: none !important;
}

.wd-add-btn-replace .add_to_cart_button:hover,
.wd-add-btn-replace .button:hover {
    background: #111 !important;
    color: #fff !important;
    transform: none !important;
}

.product-grid-item .product-element-bottom {
    padding: 0 14px 14px 14px !important;
}

.archive .product-grid-item .wd-entities-title,
.archive .product-grid-item .product-title,
.post-type-archive-product .product-grid-item .wd-entities-title,
.post-type-archive-product .product-grid-item .product-title,
.tax-product_cat .product-grid-item .wd-entities-title,
.tax-product_cat .product-grid-item .product-title,
.tax-product_tag .product-grid-item .wd-entities-title,
.tax-product_tag .product-grid-item .product-title {
    min-height: 3.2em !important;
}

.archive .product-grid-item .price,
.post-type-archive-product .product-grid-item .price,
.tax-product_cat .product-grid-item .price,
.tax-product_tag .product-grid-item .price {
    min-height: 2.2em !important;
}

.archive .product-grid-item .wd-add-btn-replace,
.post-type-archive-product .product-grid-item .wd-add-btn-replace,
.tax-product_cat .product-grid-item .wd-add-btn-replace,
.tax-product_tag .product-grid-item .wd-add-btn-replace {
    margin-top: auto !important;
    width: 100% !important;
}

/* ========================================================================
   تنظیمات ۵ ستونه صفحه اصلی
   ======================================================================== */
@media (min-width: 1025px) {
    .products.elements-grid.wd-products-holder,
    .products.elements-grid {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important; 
        gap: 20px !important;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 15px 0 !important;
    }

    .products.elements-grid .product-grid-item {
        width: 100% !important;
        max-width: 100% !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        float: none !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .products.elements-grid .product-wrapper {
        display: flex !important;
        flex-direction: column !important;
        flex-grow: 1 !important;
        height: 100% !important;
    }

    .products.elements-grid .product-element-bottom {
        flex-grow: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }

    .products.elements-grid .product-grid-item:hover .product-image-link img,
    .products.elements-grid .product-grid-item:hover .wp-post-image {
        transform: none !important;
        scale: 1 !important;
    }
}

/* متغیرهای رنگی */
:root {
    --barid-primary: #d4af37;
    --barid-primary-dark: #b8860b;
    --barid-black: #111111;
    --barid-bg: #fafafa;
    --barid-shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* ========================================================================
   بلاگ، سایدبار و مقالات (ایزولاسیون کامل تصاویر مقالات)
   ======================================================================== */
.single-post .entry-content {
    line-height: 2.1 !important;
    background-color: var(--barid-bg);
    color: var(--barid-black);
    padding: 20px;
    border-radius: 15px;
}

.single-post .entry-content h2 {
    font-weight: bold !important;
    position: relative;
    padding-bottom: 10px;
    margin-top: 40px;
    color: var(--barid-black);
}

.single-post .entry-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 35%;
    height: 4px;
    background: linear-gradient(270deg, var(--barid-primary), transparent);
    border-radius: 2px;
}

.elementor-widget-posts .elementor-posts--thumbnail img,
.elementor-post__thumbnail img,
.post-list .post-img img,
.widget_recent_entries img,
.sidebar img,
.elementor-widget-theme-post-featured-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    position: static !important;
}

.elementor-widget-theme-post-content table {
    width: 100% !important;
    min-width: 650px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background-color: #ffffff !important;
    border-radius: 12px !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.05), 0 4px 12px rgba(17, 17, 17, 0.02) !important;
    overflow: hidden !important;
}

.elementor-widget-theme-post-content table thead th {
    background: linear-gradient(180deg, #ffffff 0%, rgba(212, 175, 55, 0.08) 100%) !important;
    color: #8b6b22 !important;
    font-weight: 800 !important;
    text-align: right !important;
    padding: 20px 25px !important;
    border-top: 4px solid #d4af37 !important;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3) !important;
    border-left: 1px solid rgba(212, 175, 55, 0.15) !important;
}

.elementor-widget-theme-post-content table thead th:last-child {
    border-left: none !important;
}

.elementor-widget-theme-post-content table tbody td {
    padding: 18px 25px !important;
    color: #444444 !important;
    border-bottom: 1px solid rgba(17, 17, 17, 0.03) !important;
    background-color: #ffffff !important;
    line-height: 1.7 !important;
}

.elementor-widget-theme-post-content table tbody tr:nth-child(even) td {
    background-color: #fcfbf9 !important;
}

.elementor-widget-theme-post-content table tbody tr:last-child td {
    border-bottom: none !important;
}

html {
    scroll-behavior: smooth;
}

/* ========================================================================
   گالری صفحه محصول اختصاصی عسل باربد (بزرگ، لوکس و کاملاً ریسپانسیو)
   ======================================================================== */

/* ۱. نگهدارنده گالری صفحه محصول */
.single-product .woocommerce-product-gallery,
.single-product div.product div.images,
.single-product .elementor-widget-woocommerce-product-images {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 25px 0 !important;
    position: relative !important;
    opacity: 1 !important;
    box-sizing: border-box !important;
}

/* ۲. فریم مربعی و بزرگ برای تصویر اصلی */
.single-product .woocommerce-product-gallery__wrapper,
.single-product .woocommerce-product-gallery figure {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    min-height: 440px !important;
    background: #ffffff !important;
    border-radius: 24px !important;
    border: 1px solid rgba(212, 163, 56, 0.28) !important;
    box-shadow: 0 16px 36px -8px rgba(180, 127, 21, 0.12) !important;
    overflow: hidden !important;
    margin: 0 0 16px 0 !important;
    display: block !important;
}

/* تگ لینک و باکس‌های والد تصویر محصول */
.single-product .woocommerce-product-gallery__image,
.single-product .woocommerce-product-gallery__image a,
.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}

/* ۳. تصویر اصلی محصول (حل مشکل کوچک بودن در دسکتاپ) */
.single-product .woocommerce-product-gallery__image img,
.single-product .woocommerce-product-gallery__wrapper img,
.single-product .woocommerce-product-gallery .wp-post-image {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 22px !important;
    display: block !important;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.single-product .woocommerce-product-gallery__image:hover img {
    transform: scale(1.04) !important;
}

/* ۴. گالری تصاویر کوچک (اسکرول افقی روان زیر عکس) */
.single-product .woocommerce-product-gallery .flex-control-thumbs,
.single-product ol.flex-control-nav.flex-control-thumbs {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 12px !important;
    padding: 6px 4px 14px 4px !important;
    margin: 0 !important;
    list-style: none !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin;
    scrollbar-color: #d4a338 #f5ebd7;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar {
    height: 6px !important;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar-track {
    background: #f8f3e8 !important;
    border-radius: 10px !important;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #dfb04a, #c99324) !important;
    border-radius: 10px !important;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs li {
    flex: 0 0 80px !important;
    width: 80px !important;
    height: 80px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    border: 2px solid #efe5d0 !important;
    background: #ffffff !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    box-sizing: border-box !important;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs li img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs li:hover,
.single-product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
    border-color: #c99324 !important;
    box-shadow: 0 6px 16px rgba(201, 147, 36, 0.28) !important;
    transform: translateY(-2px) !important;
}

/* بج تخفیف طلایی صفحه محصول */
.single-product .woocommerce span.onsale {
    background: linear-gradient(135deg, #e6ba55 0%, #c99324 100%) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 0.92rem !important;
    border-radius: 12px !important;
    padding: 6px 14px !important;
    min-height: auto !important;
    line-height: 1.2 !important;
    top: 16px !important;
    right: 16px !important;
    left: auto !important;
    box-shadow: 0 6px 18px rgba(201, 147, 36, 0.35) !important;
    z-index: 9 !important;
}

/* آیکون زوم تمام‌صفحه */
.single-product .woocommerce-product-gallery__trigger {
    top: 16px !important;
    left: 16px !important;
    right: auto !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 9 !important;
}

/* ========================================================================
   ریسپانسیو موبایل و تبلت
   ======================================================================== */
@media (max-width: 991px) {
    .single-product .woocommerce-product-gallery__wrapper,
    .single-product .woocommerce-product-gallery figure {
        min-height: 360px !important;
    }
}

@media (max-width: 768px) {
    .single-product .woocommerce-product-gallery__wrapper,
    .single-product .woocommerce-product-gallery figure {
        min-height: 280px !important;
        border-radius: 18px !important;
    }

    .single-product .woocommerce-product-gallery .flex-control-thumbs li {
        flex: 0 0 68px !important;
        width: 68px !important;
        height: 68px !important;
        border-radius: 12px !important;
    }
}

/* ========================================================================
   استایل لوکس و پرمیوم دکمه‌های خرید - اصلاح کادر و حاشیه یکپارچه (#FFC349)
   ======================================================================== */

/* ۱. بدنه اصلی دکمه‌ها */
.product-grid-item .wd-add-btn-replace .add_to_cart_button,
.product-grid-item .wd-add-btn-replace a.button,
.single-product .single_add_to_cart_button,
.single-product button.single_add_to_cart_button.button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #place_order,
.woocommerce-checkout button#place_order,
.woocommerce-mini-cart__buttons a.button.wc-forward:not(.checkout),
.woocommerce-message a.button.wc-forward,
.woocommerce-info a.button.wc-forward,
.wd-popup a.button.wc-forward,
.woocommerce-mini-cart__buttons a.checkout {
    background-color: #FFC349 !important;
    background-image: none !important;
    color: #1A1201 !important;
    border: 1px solid #E5A82E !important; /* کادر یکدست و بدون شکستگی در گوشه‌ها */
    outline: none !important;
    border-radius: 12px !important;
    font-weight: 800 !important;
    font-size: 13.5px !important;
    letter-spacing: -0.2px !important;
    height: 46px !important;
    min-height: 46px !important;
    line-height: normal !important;
    padding: 0 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 12px rgba(255, 195, 73, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-shadow: none !important;
    text-decoration: none !important;
    cursor: pointer !important;
    overflow: hidden !important;
    position: relative !important;
    box-sizing: border-box !important;
}

/* حذف کادرها و سایه‌های مزاحم لایه‌های قالب */
.product-grid-item .wd-add-btn-replace .add_to_cart_button::before,
.product-grid-item .wd-add-btn-replace .add_to_cart_button::after,
.single-product .single_add_to_cart_button::before,
.single-product .single_add_to_cart_button::after,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button::before,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button::after,
.woocommerce-checkout #place_order::before,
.woocommerce-checkout #place_order::after {
    border: none !important;
    box-shadow: none !important;
}

/* تراز بودن متن و اسپن داخلی */
.product-grid-item .wd-add-btn-replace .add_to_cart_button span,
.single-product .single_add_to_cart_button span,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button span,
.woocommerce-checkout #place_order span,
.woocommerce-mini-cart__buttons a.button span,
.woocommerce-message a.button.wc-forward span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    color: inherit !important;
}

/* هماهنگی کامل آیکون‌ها */
.product-grid-item .wd-add-btn-replace .add_to_cart_button *,
.single-product .single_add_to_cart_button *,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button *,
.woocommerce-checkout #place_order *,
.woocommerce-mini-cart__buttons a.button *,
.woocommerce-message a.button.wc-forward * {
    color: #1A1201 !important;
    fill: #1A1201 !important;
    stroke: #1A1201 !important;
}

/* ۲. حالت هاور (Hover) */
@media (hover: hover) and (pointer: fine) {
    .product-grid-item .wd-add-btn-replace .add_to_cart_button:hover,
    .product-grid-item .wd-add-btn-replace a.button:hover,
    .single-product .single_add_to_cart_button:hover,
    .single-product button.single_add_to_cart_button.button:hover,
    .woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
    .woocommerce-checkout #place_order:hover,
    .woocommerce-checkout button#place_order:hover,
    .woocommerce-mini-cart__buttons a.button.wc-forward:not(.checkout):hover,
    .woocommerce-message a.button.wc-forward:hover,
    .woocommerce-info a.button.wc-forward:hover,
    .wd-popup a.button.wc-forward:hover,
    .woocommerce-mini-cart__buttons a.checkout:hover {
        background-color: #FFCF6B !important;
        border: 1px solid #E5A82E !important;
        color: #000000 !important;
        box-shadow: 0 6px 16px rgba(255, 195, 73, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
        transform: translateY(-1px) !important;
    }

    .product-grid-item .wd-add-btn-replace .add_to_cart_button:hover *,
    .product-grid-item .wd-add-btn-replace a.button:hover *,
    .single-product .single_add_to_cart_button:hover *,
    .woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover *,
    .woocommerce-checkout #place_order:hover *,
    .woocommerce-mini-cart__buttons a.button:hover * {
        color: #000000 !important;
        fill: #000000 !important;
        stroke: #000000 !important;
    }
}

/* ۳. حالت فشرده شدن (Active) */
.product-grid-item .wd-add-btn-replace .add_to_cart_button:active,
.single-product .single_add_to_cart_button:active,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:active,
.woocommerce-checkout #place_order:active,
.woocommerce-mini-cart__buttons a.button:active {
    background-color: #EAA827 !important;
    border: 1px solid #D1941A !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.12) !important;
    transform: translateY(0) !important;
}

/* ۴. ریسپانسیو موبایل */
@media (max-width: 768px) {
    .product-grid-item .wd-add-btn-replace .add_to_cart_button,
    .product-grid-item .wd-add-btn-replace a.button,
    .single-product .single_add_to_cart_button,
    .woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
    .woocommerce-checkout #place_order,
    .woocommerce-mini-cart__buttons a.button.wc-forward,
    .woocommerce-message a.button.wc-forward {
        height: 48px !important;
        min-height: 48px !important;
        font-size: 13.5px !important;
        padding: 0 12px !important;
        border-radius: 10px !important;
        width: 100% !important;
    }
}

@media (min-width: 1025px) {
	.wd-nav.wd-style-default {
	--nav-color: #ffff;
	
}
.pagin-style-1 .flickity-page-dots {
    bottom: 50px;
    background: white;
	border-radius: 40px;}
.arrows-style-3 .flickity-button.previous
{
	left:auto;
	right:40px;
}
.arrows-style-3 .flickity-button.next
{
	left:40px;
	right:auto;
}
.flickity-page-dots
{
	bottom:40px;
}
.wd-nav-wrapper.wd-nav-tabs-wrapper.text-center{
	border: 1px solid #E8E2E2;
	border-radius:10px;
	padding:8px
}
}

