:root {
	--wd-text-font: iranyekan;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(250,250,250);
	--wd-text-font-size: 14px;
	--wd-title-font: iranyekan;
	--wd-title-font-weight: 600;
	--wd-title-color: rgb(250,250,250);
	--wd-entities-title-font: iranyekan;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: rgb(255,255,255);
	--wd-entities-title-color-hover: rgb(250, 250, 250);
	--wd-alternative-font: iranyekan;
	--wd-widget-title-font: iranyekan;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: iranyekan;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 14px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(202,169,132);
	--wd-alternative-color: rgb(24,51,53);
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(202,169,132);
	--btn-accented-bgcolor-hover: rgb(24,51,53);
	--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: #242424;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: rgb(232,232,232);
	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: 233px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(24,51,53);
	background-image: none;
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-color: rgb(32,50,48);
	background-image: none;
	background-repeat: repeat;
	background-size: inherit;
	background-attachment: scroll;
	background-position: center center;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-color: rgb(32,50,48);
	background-image: none;
}
.single-product :is(.wd-page-content, .whb-header) {
	background-color: rgb(32,50,48);
	background-image: none;
}
.woodmart-archive-blog :is(.wd-page-content, .whb-header) {
	background-color: rgb(32,50,48);
	background-image: none;
}
.single-post :is(.wd-page-content, .whb-header) {
	background-color: rgb(32,50,48);
	background-image: none;
}
.woodmart-archive-portfolio :is(.wd-page-content, .whb-header) {
	background-color: rgb(32,50,48);
	background-image: none;
}
.single-portfolio :is(.wd-page-content, .whb-header) {
	background-color: rgb(32,50,48);
	background-image: none;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1380px;
--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-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 12px;
}

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

rs-slides :is([data-type=text],[data-type=button]) {
font-family: iranyekan !important;
}
rs-slides :is(h1,h2,h3,h4,h5,h6)[data-type=text] {
font-family: iranyekan !important;
}

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

@font-face {
	font-family: "Iran Yekan";
	src: url("//yazdingold.ir/wp-content/uploads/2026/07/iranyekanwebregularfanum.woff2") format("woff2"), 
url("//yazdingold.ir/wp-content/uploads/2026/07/iranyekanwebregularfanum.woff") format("woff");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: "Iran Yekan";
	src: url("//yazdingold.ir/wp-content/uploads/2026/07/iranyekanwebmediumfanum.woff2") format("woff2"), 
url("//yazdingold.ir/wp-content/uploads/2026/07/iranyekanwebmediumfanum.woff") format("woff");
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: "Iran Yekan";
	src: url("//yazdingold.ir/wp-content/uploads/2026/07/iranyekanwebboldfanum.woff2") format("woff2"), 
url("//yazdingold.ir/wp-content/uploads/2026/07/iranyekanwebboldfanum.woff") format("woff");
	font-weight: 600;
	font-style: normal;
}

/* ==========================================
   فایل CSS کامل - نسخه جامع و تراز شده
   ========================================== */

/* ۱. دکمه‌ها و المان‌های عمومی */
.woodmart-button-wrapper.inline-element { margin-bottom: 0px; }
.product-grid-item .wd-product-countdown, .product-grid-item .wd-stock-progress-bar { margin-bottom: 10px; }
.wd-hover-standard .wd-add-btn { margin-top: 5px; margin-bottom: 15px; }
.promo-banner .promo-banner-image { border-radius: 15px; }
.elementor img { border-radius: var(--wd-brd-radius) !important; }

/* ==========================================
   ۲. اصلاح کارت محصولات و فعال‌سازی ترنزیشن نرم روی تمام هاورها
   ========================================== */
.product-grid-item .product-element-top { 
    padding: 0 !important; 
    margin-bottom: 0 !important; 
}

/* کانتینر اصلی تصویر */
.product-grid-item .product-image-link { 
    padding: 15px !important; 
    display: block !important; 
    box-sizing: border-box !important; 
    position: relative !important;
    overflow: hidden !important; /* مهار کامل هرگونه بیرون‌زدگی در تمامی صفحات */
}

/* عکس اول (اصلی) */
.product-grid-item .product-image-link img { 
    width: 100% !important; 
    height: auto !important; 
    display: block !important; 
    padding: 0 !important; 
    border-radius: 8px !important; 
    transition: opacity 0.4s ease-in-out !important;
}

/* عکس دوم (Hover) - مهار کامل و فعال‌سازی ترنزیشن ۱۰۰٪ نرم */
.product-grid-item .hover-img {
    /* خنثی کردن display: none وودمارت که مانع ترنزیشن نرم می‌شد */
    display: block !important; 
    position: absolute !important;
    
    top: 15px !important;
    left: 15px !important;
    right: 15px !important;
    bottom: 15px !important;
    width: calc(100% - 30px) !important;
    height: calc(100% - 30px) !important;
    box-sizing: border-box !important;
    
    /* کنترل ظاهر شدن فقط با شفافیت برای حرکت نرم */
    opacity: 0 !important; 
    visibility: hidden !important;
    transform: scale(1.03) !important; /* یک زوم بسیار ریز و لوکس برای جذابیت بیشتر */
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out, visibility 0.4s !important;
    z-index: 2 !important;
}

.product-grid-item .hover-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    padding: 0 !important;
}

/* افکت هاور عمومی - فعال روی تمام دسته‌بندی‌ها و المنتور */
.product-grid-item:hover .hover-img {
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1) !important; /* برگشتن نرم به اندازه واقعی */
}

/* اصلاح ارتفاع کارت‌ها (تراز کردن همه‌ی کارت‌ها با متد فِلکس) */
.product-grid-item .product-wrapper {
    background-color: #0c100e !important;
    border-radius: 12px !important;
    border: 1px solid #1a221f !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4) !important;
    transition: all 0.3s ease;
    box-sizing: border-box !important;
    
    /* کدهای جادویی برای هم‌ارتفاع‌سازی کارت‌ها */
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important; /* پر کردن کل ارتفاع ستون به صورت همسان */
}

/* چیدمان بخش پایینی کارت به عنوان توزیع‌کننده فضاهای خالی */
.product-grid-item .product-element-bottom {
    background: transparent !important;
    padding: 10px 15px 15px 15px !important;
    
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important; /* ترغیب این بخش به پر کردن فضای خالی کارت */
}

/* عنوان محصول (حفظ ارتفاع متناسب) */
.product-grid-item .wd-entities-title {
    margin-bottom: 12px !important;
    min-height: 40px; /* فضای کافی برای عناوین دو خطی بدون به هم ریختن ارتفاع */
}
.product-grid-item .wd-entities-title a { 
    color: #eaeaea !important; 
}

/* مگنت کردن بخش قیمت، وزن و اجرت به پایین‌ترین نقطه کارت */
.product-grid-item .product-rating-price {
    margin-top: auto !important; /* هل دادن کل بخش قیمت و وزن به کف کارت */
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 4px 8px !important;
    width: 100% !important;
}

/* افکت هاور کارت */
.product-grid-item .product-wrapper:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
    border-color: #2a312e !important;
    transform: translateY(-3px);
}

/* ۳. جزئیات قیمت و متن */
.labels-rectangular .product-label { padding: 5px 10px; font-size: 12px; border-radius: 15px; margin-right: 5px; }
.woocommerce-product-attributes { display: none; }
.woocommerce-product-details__short-description { font-weight: 700; }
.variations_form .price { visibility: inherit; font-size: 30px !important; }
.wrapp-product-price span.spec01, .wrapp-product-price { margin-top: -10px; }
.product-grid-item .price { color: #caa985 !important; }

/* ۴. باکس اطلاعات و موارد دیگر */
.product-info { background-color: #1a1e1c; border: 1px solid #2a312e; padding: 15px; margin-bottom: 20px; border-radius: 5px; color: #eaeaea; }
.product-info p { margin: 0 0 10px; font-size: 14px; }
div[id^="carousel-"] div.product-element-bottom.product-information div.product-rating-price div span div p:nth-child(1) { display: none; }
.woocommerce-result-count { display: none !important; }

/* ۵. استایل‌های زیردسته‌ها */
.custom-subcategories { width: 100vw; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); padding: 0; text-align: center; margin-bottom: 40px; }
.custom-subcategories h2, .custom-subcategories h3 { font-size: 24px; font-weight: bold; color: #caa985; margin: 20px auto; max-width: 1200px; padding: 0 20px; }
.custom-subcategories h3 { margin-top: 10px; }
.subcategory-container { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 1350px; margin: 0 auto; padding: 0 15px; }
.subcategory-item { flex: 0 0 calc(12.5% - 10px); background: #1a1e1c; border: 1px solid #2a312e; padding: 10px; text-align: center; border-radius: 5px; overflow: hidden; box-sizing: border-box; }
.subcategory-item a { text-decoration: none; color: #eaeaea; display: block; }
.subcategory-item img { max-width: 100%; height: auto; border-radius: 5px; margin-bottom: 10px; }
.subcategory-item p { margin: 0; font-size: 14px; font-weight: bold; }
.subcategory-separator { border-bottom: 1px solid #2a312e; max-width: 1400px; margin: 20px auto; }

/* ۶. جداول و ریسپانسیو */
table.variations tr { display: inline-block !important; width: 100%; vertical-align: middle; }
table.variations td { width: 65% !important; float: left; }
table.variations td select { height: 30px; }
table.variations th { width: 30% !important; float: right; text-align: right !important; color: #eaeaea; }

@media (max-width: 768px) { .subcategory-item { flex: 0 0 calc(25% - 10px); } }
@media (max-width: 480px) {
    .subcategory-item { flex: 0 0 calc(33.33% - 10px); margin-bottom: 15px; }
    .custom-subcategories h2 { font-size: 20px; }
    .custom-subcategories h3 { font-size: 18px; }
    .subcategory-container { gap: 5px; }
}

/* ۷. مگامنو */
.subcategories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px 20px; padding: 10px; direction: rtl; }
.subcategories-grid .subcategory-item { background: transparent !important; border: none !important; padding: 5px 0 !important; text-align: right !important; box-shadow: none !important; flex: none !important; }
.subcategories-grid .subcategory-item a { color: #b0b0b0 !important; font-size: 14px; font-weight: 500; text-decoration: none; transition: all 0.3s ease; display: inline-block; }
.subcategories-grid .subcategory-item a:hover { color: #caa985 !important; transform: translateX(-5px); }

/* ۸. دکمه افزودن به سبد خرید */
.product-grid-item .wd-add-btn {
    display: block !important;
    width: 100% !important;
    margin-top: 15px !important;
    clear: both !important;
}
.product-grid-item .wd-add-btn a {
    background-color: #caa985 !important;
    color: #0c100e !important;
    border-radius: 6px !important;
    font-weight: bold !important;
    display: block !important;
}

/* ۹. استایل خطی و چسبیده برای وزن و اجرت در کارت‌های محصول */
.product-grid-item .wrapp-product-price {
    display: inline-flex !important;
    margin: 0 !important;
}
.gross-weight {
    display: inline-block !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 14px !important; 
    color: #eaeaea !important; 
    font-weight: 700 !important;
    line-height: 1.2 !important;
}
.ojratlable {
    display: inline-block !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 14px !important;
    color: #caa985 !important; 
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

/* ==========================================
   ۱۰. شاهکار صفحه محصول (تغییرات قیمت و جزئیات)
   ========================================== */
.single-product .product-info {
    background-color: rgba(12, 16, 14, 0.75) !important; 
    border: 1px solid rgba(202, 169, 133, 0.2) !important; 
    border-radius: 10px !important;
    padding: 18px !important;
    text-align: center !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
}
.single-product .product-info p {
    color: #eaeaea !important; 
    font-size: 15px !important;
    font-weight: 600 !important;
    margin: 0 0 10px 0 !important;
}
.single-product .product-info p:last-child { margin-bottom: 0 !important; }
.custom-price-info { margin: 25px 0 !important; padding: 10px 0 !important; text-align: center !important; }
.custom-price-label { font-size: 15px !important; font-weight: 500; color: #8fa39a !important; margin: 0 0 8px 0 !important; letter-spacing: 0.5px; }
.custom-price-display { font-size: 28px !important; font-weight: 800; color: #caa985 !important; text-shadow: 0 2px 10px rgba(202, 169, 133, 0.15) !important; margin: 0 !important; }
.custom-price-placeholder { font-size: 16px !important; color: #eaeaea !important; font-weight: bold !important; }

/* ==========================================
   ۱۱. استایل لوکس دکمه‌های «پاک کردن همه» و متون متادیتا
   ========================================== */

/* الف) حل مشکل عرض و تراز دکمه پاک کردن همه در مینی‌کارت کناری */
.widget_shopping_cart a.clear-mini-cart,
.widget_shopping_cart .clear-mini-cart.button,
.widget_shopping_cart_content .clear-mini-cart {
    display: block !important;
    /* به جای ۱۰۰٪ کامل، عرض را کمی محدود می‌کنیم و با مارجین خودکار وسط‌چینش می‌کنیم */
    width: calc(100% - 30px) !important; 
    max-width: calc(100% - 30px) !important;
    margin: 0 auto 15px auto !important; /* این مارجین دکمه را دقیقاً وسط و هم‌تراز دکمه‌های دیگر می‌کند */
    
    box-sizing: border-box !important;
    padding: 0 20px !important;
    min-height: 40px !important;
    line-height: 40px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: bold !important;
    text-align: center !important;
    text-shadow: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;

    /* پالت لوکس */
    background-color: #0c100e !important;
    color: #eaeaea !important;
    border: 1px solid rgba(202, 169, 133, 0.3) !important;
}

/* هاور دکمه مینی‌کارت */
.widget_shopping_cart a.clear-mini-cart:hover,
.widget_shopping_cart .clear-mini-cart.button:hover,
.widget_shopping_cart_content .clear-mini-cart:hover {
    background-color: #1a221f !important;
    border-color: #caa985 !important;
    color: #caa985 !important;
}

/* ب) دکمه پاک کردن همه در صفحه سبد خرید اصلی */
.woocommerce-cart-form .wd-clear-cart-main {
    background-color: #0c100e !important;
    color: #eaeaea !important;
    border: 1px solid #1a221f !important;
    border-radius: 6px !important;
    padding: 10px 20px !important;
    font-size: 13px !important;
    font-weight: bold !important;
    margin-left: 10px !important;
    transition: all 0.3s ease !important;
}
.woocommerce-cart-form .wd-clear-cart-main:hover {
    background-color: #1a221f !important;
    border-color: #caa985 !important;
    color: #caa985 !important;
}

/* ج) روشن کردن متون وزن و اجرت در کل بخش‌های سبد خرید و مینی‌کارت */
.cart-meta-weight {
    color: #b0b0b0 !important; /* خاکستری نقره‌ای ملایم و کاملاً خوانا روی تم تیره */
    font-size: 13px !important;
    margin-top: 5px !important;
}
.cart-meta-weight strong {
    color: #eaeaea !important; /* سفید نقره‌ای برای اعداد وزن */
    font-weight: bold !important;
}
.cart-meta-wage, 
.cart-column-wage {
    color: #caa985 !important; /* رنگ طلایی برند یزدین گلد برای متون درصد اجرت */
    font-size: 12px !important;
    display: block !important;
    margin-top: 2px !important;
}

/* اصلاح رنگ برچسب‌های متغیر زیر نام محصول در سبد خرید */
.shop_table .product-name .variation dt,
.widget_shopping_cart .product-name .variation dt {
    color: #8fa39a !important; /* سبز خاکستری روشن */
}
.shop_table .product-name .variation dd,
.widget_shopping_cart .product-name .variation dd {
    color: #eaeaea !important; /* مقادیر متغیرها سفید روشن */
}

/* ==========================================
   رفع ناخوانایی و روشن کردن متون داخل مینی‌کارت کناری
   ========================================== */

/* هدف‌گیری تمام متون فرعی و متادیتاها در سبد خرید کناری */
.widget_shopping_cart .product_list_widget .mini_cart_item div,
.widget_shopping_cart .product_list_widget .mini_cart_item span,
.widget_shopping_cart .product_list_widget .mini_cart_item dl.variation {
    color: #b0b0b0 !important; /* تبدیل رنگ خاکستری تیره به نقره‌ای ملایم و خوانا */
    font-size: 13px !important;
}

/* درخشان کردن اعداد و کلمات کلیدی (مثل کلمه گرم یا درصدها) */
.widget_shopping_cart .product_list_widget .mini_cart_item strong,
.widget_shopping_cart .product_list_widget .mini_cart_item .quantity {
    color: #eaeaea !important; /* سفید نقره‌ای درخشان برای وزن و تعداد */
}

/* طلایی کردن متن مربوط به اجرت ساخت در مینی‌کارت (هر جا کلمه اجرت یا علامت ٪ بیاید) */
.widget_shopping_cart .product_list_widget .mini_cart_item span[class*="wage"],
.widget_shopping_cart .product_list_widget .mini_cart_item div:contains("اجرت"),
.widget_shopping_cart .product_list_widget .mini_cart_item span:contains("٪") {
    color: #caa985 !important; /* طلایی اختصاصی یزدین گلد */
}
/* ==========================================
   طراحی لوکس هدر دوطبقه یزدین گلد (نسخه نهایی با لوگوی روشن)
   ========================================== */

/* ۱. استایل‌دهی پس‌زمینه هر دو ردیف هدر (شفافیت یشمی لوکس) */
.whb-main-header, 
.whb-header-bottom {
    background-color: rgba(12, 16, 14, 0.85) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-bottom: none !important;
}

/* خط افقی طلایی فوق‌العاده باریک بین لوگو و منوی دسته‌بندی‌ها */
.whb-main-header {
    border-bottom: 1px solid rgba(202, 169, 133, 0.15) !important; 
}

/* ۲. فشرده‌سازی و تنظیم دقیق منوی ۱۳ تایی برای جا شدن در یک خط */
.whb-header-bottom .wd-nav-main {
    justify-content: center !important; 
    gap: 0 !important; /* حذف فاصله‌های پیش‌فرض */
}

.whb-header-bottom .wd-nav-main > li > a {
    color: #eaeaea !important; /* رنگ نقره‌ای روشن */
    font-weight: 600 !important;
    font-size: 13px !important; /* سایز بهینه برای ۱۳ لینک */
    padding-left: 9px !important; 
    padding-right: 9px !important;
    letter-spacing: 0 !important;
    transition: all 0.3s ease !important;
}

/* افکت طلایی موقع هاور روی دسته‌بندی‌ها */
.whb-header-bottom .wd-nav-main > li:hover > a,
.whb-header-bottom .wd-nav-main > li.current-menu-item > a {
    color: #caa985 !important;
    transform: translateY(-2px);
}

/* ۳. آیکون‌های سبد خرید، اکانت و جستجو (سمت چپ) */
.whb-col-left .wd-tools-element a,
.whb-col-left .wd-header-search a {
    color: #eaeaea !important;
    transition: all 0.3s ease !important;
}

.whb-col-left .wd-tools-element:hover a,
.whb-col-left .wd-header-search:hover a {
    color: #caa985 !important;
    transform: translateY(-1px);
}

/* دایره نشانگر تعداد محصولات در سبد خرید */
.wd-cart-number {
    background-color: #caa985 !important;
    color: #0c100e !important;
    font-weight: bold !important;
}

/* ۴. هدر چسبان (Sticky) در هنگام اسکرول به پایین */
.whb-sticked .whb-main-header,
.whb-sticked .whb-header-bottom {
    background-color: rgba(12, 16, 14, 0.98) !important; /* تیره‌تر شدن برای جلوگیری از تداخل با محتوای سایت */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.6) !important;
}