:root {
	--wd-text-font: IRansansX;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(0,0,0);
	--wd-text-font-size: 14px;
	--wd-title-font: IRansansX;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: IRansansX;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: IRansansX;
	--wd-widget-title-font: IRansansX;
	--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: IRansansX;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(225,54,62);
	--wd-alternative-color: rgb(225,54,62);
	--btn-default-bgcolor: rgb(221,51,51);
	--btn-default-bgcolor-hover: rgb(94,94,94);
	--btn-accented-bgcolor: rgb(221,51,51);
	--btn-accented-bgcolor-hover: rgb(122,122,122);
	--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: #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: 233px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: #f4f4f4;
	background-image: none;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1600px;
--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: 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: 5px;
}


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


.woodmart-button-wrapper.inline-element {
    margin-bottom: 0px;
}
.promo-banner .banner-image img {
    border-radius: 15px;
}
.wd-hover-tiled {
    overflow: hidden;
    border-radius: 15px;
	background: #fff;
}
.product-grid-item .product-image-link {
    display: block;
    padding: 20px;
}
.labels-rectangular .product-label {
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 15px;
    margin-right: 5px;
}
::-webkit-scrollbar {
    -webkit-appearance: none;
}

::-webkit-scrollbar {
  width: 10px;
}
 
::-webkit-scrollbar-track {
  background: #ffff; 
    border:1px solid #ffff;
}
 
::-webkit-scrollbar-thumb {
  background:#e21f28; 
    border:1px solid #eee;
    height:100px;
    border-radius:5px;
}
/* چیدمان دکمه‌های متنی رنگ */
.custom-text-color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 15px;
}

/* ظاهر عمومی دکمه نام رنگ */
.custom-text-color-options .custom-color-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 65px;
    min-height: 36px;
    padding: 6px 14px;
    border: 1px solid #cfcfcf;
    border-radius: 5px;
    background: #fff;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
    transition: all .2s ease;
}

/* حالت قرار گرفتن موس روی دکمه موجود */
.custom-text-color-options .custom-color-button:hover:not(:disabled):not(.unavailable) {
    border-color: #777;
    color: #555;
}

/* دکمه موجود و انتخاب‌شده: طوسی */
.custom-text-color-options .custom-color-button.selected:not(:disabled):not(.unavailable) {
    background: #bdbdbd !important;
    border-color: #999 !important;
    color: #222 !important;
    cursor: default;
    box-shadow: none;
}

/* رنگ ناموجود؛ نمایش داده می‌شود اما قابل انتخاب نیست */
.custom-text-color-options .custom-color-button.unavailable,
.custom-text-color-options .custom-color-button:disabled {
    display: inline-flex !important;
    opacity: .45 !important;
    background: #f3f3f3 !important;
    color: #999 !important;
    border-color: #ddd !important;
    cursor: not-allowed !important;
    text-decoration: line-through;
    pointer-events: none;
}

/* جلوگیری از نمایش سواچ‌های اصلی Woodmart */
.variations_form .custom-text-color-options ~ .wd-swatch,
.variations_form .custom-text-color-options ~ .woodmart-swatch {
    display: none !important;
}
.custom-text-color-options .custom-color-button.selected:not(:disabled):not(.unavailable) {
    background-color: #bdbdbd !important;
    border: 2px solid #555 !important;
    color: #222 !important;
    font-weight: 700 !important;
    box-shadow: 0 0 0 2px rgba(85, 85, 85, 0.2) !important;
}
/* چیدمان کنار هم دکمه‌های گارانتی */
.custom-warranty-options {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    margin: 10px 0 15px !important;
    width: 100% !important;
}

/* دکمه‌ها: کنار هم و بدون تمام‌عرض‌شدن */
.custom-warranty-options .custom-warranty-button {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 65px;
    min-height: 36px;
    padding: 6px 14px;
    border: 1px solid #cfcfcf;
    border-radius: 5px;
    background: #fff;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
    transition: all .2s ease;
    margin: 0 !important;
}

/* حالت قرار گرفتن موس */
.custom-warranty-options .custom-warranty-button:hover:not(:disabled):not(.unavailable) {
    border-color: #777;
    color: #555;
}

/* دکمه انتخاب‌شده: طوسی */
.custom-warranty-options .custom-warranty-button.selected:not(:disabled):not(.unavailable) {
    background: #bdbdbd !important;
    border-color: #999 !important;
    color: #222 !important;
    font-weight: 700;
}

/* گزینه ناموجود */
.custom-warranty-options .custom-warranty-button.unavailable,
.custom-warranty-options .custom-warranty-button:disabled {
    opacity: .45 !important;
    background: #f3f3f3 !important;
    color: #999 !important;
    border-color: #ddd !important;
    cursor: not-allowed !important;
    text-decoration: line-through;
    pointer-events: none;
}

