:root {
	--wd-text-font: IRansansX;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 14px;
	--wd-title-font: IRansansX;
	--wd-title-font-weight: 700;
	--wd-title-color: rgb(51,51,51);
	--wd-entities-title-font: IRansansX;
	--wd-entities-title-font-weight: 600;
	--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: 15px;
	--wd-header-el-font: IRansansX;
	--wd-header-el-font-weight: 500;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(45,45,45);
	--wd-alternative-color: rgb(177,165,154);
	--btn-default-bgcolor: rgb(177,165,154);
	--btn-default-bgcolor-hover: rgb(150,141,130);
	--btn-accented-bgcolor: rgb(177,165,154);
	--btn-accented-bgcolor-hover: rgb(150,141,130);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: rgb(71,71,71);
	--wd-link-color-hover: rgb(73,0,0);
}
.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(155,154,147);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-color: rgb(244,236,229);
	background-image: none;
}
.single-product :is(.wd-page-content, .whb-header) {
	background-color: rgb(244,236,229);
	background-image: none;
}
.woodmart-archive-blog :is(.wd-page-content, .whb-header) {
	background-color: rgb(244,236,229);
	background-image: none;
}
.single-post :is(.wd-page-content, .whb-header) {
	background-color: rgb(244,236,229);
	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(91,91,91);
	--wd-form-placeholder-color: rgb(160,160,160);
	--wd-form-brd-color: rgb(229,229,229);
	--wd-form-brd-color-focus: rgb(178,178,178);
}
.wd .product-label.onsale {
	background-color: rgb(56,56,56);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1350px;
--wd-form-brd-radius: 35px;
--btn-default-color: #fff;
--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: 1350px) {
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: IRansansX !important;
}
rs-slides :is(h1,h2,h3,h4,h5,h6)[data-type=text] {
font-family: IRansansX !important;
}

.wd-page-title {
background-color: rgb(244,236,229);
}

/* ========================================
   تنظیمات عمومی سایت ری‌سان گالری
======================================== */

.woodmart-button-wrapper.inline-element {
    margin-bottom: 0;
}

/* بنرها */
.promo-banner {
    overflow: hidden;
    border-radius: 15px;
}

.banner-hover-background.color-scheme-dark:not(.banner-border)
.wrapper-content-banner::after {
    border-radius: 15px;
}

/* کارت محصولات */
.woodmart-hover-tiled .product-wrapper {
    overflow: hidden;
    background: #fff;
    border-radius: 15px;
}

.product-grid-item.woodmart-hover-tiled .hover-img img,
.product-grid-item.woodmart-hover-tiled .product-image-link img {
    width: 100%;
}

/* برچسب محصولات */
.labels-rectangular .product-label {
    margin-right: 5px;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 15px;
}

/* منوهای بازشونده */
.wd-dropdown-menu.wd-design-default,
.wd-dropdown-menu.wd-design-default .wd-dropdown {
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
}

/* باکس اطلاعات */
.wd-info-box .info-box-title {
    margin-bottom: 0;
    line-height: 1.5;
}

.box-icon-align-right .box-icon-wrapper {
    margin-left: 9px;
}

.owl-stage-outer .wd-info-box .info-box-content {
    margin-top: 15px;
}

/* لایه‌بندی هدر */
.whb-general-header {
    z-index: 20 !important;
}

/* ========================================
   افکت هاور منو
======================================== */

.wd-nav[class*="wd-style-"] > li > a::before {
    content: "";
    position: absolute;
    top: -5px;
    right: -7px;
    width: 129%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255, 254, 237, 0.4) 0%,
        rgba(255, 221, 0, 0) 100%
    );
    opacity: 0;
    transform: skew(-20deg);
    transition: opacity 0.4s ease;
}

.wd-nav[class*="wd-style-"] > li:hover > a::before {
    opacity: 1;
}

/* ========================================
   هدر دسکتاپ
======================================== */

@media (min-width: 1025px) {

    /* نوار اصلی سفید هدر */
    .whb-general-header {
        max-width: 1320px;
        margin: 0 auto;
        border-radius: 44px;
    }

    /* فاصله داخلی هدر */
    .whb-general-header-inner,
    .whb-top-bar-inner {
        padding-right: 20px;
        padding-left: 20px;
    }

    /* حذف کامل دایره و فرم صدفی پشت لوگو */
    .whb-general-header::before,
    .whb-general-header::after,
    .whb-general-header .wd-logo::before,
    .whb-general-header .wd-logo::after {
        display: none !important;
        content: none !important;
        width: 0 !important;
        height: 0 !important;
        background: none !important;
        box-shadow: none !important;
    }

    /* ستون لوگو */
    .whb-general-header .wd-logo {
        position: relative;
        z-index: 10;
    }

    /* قرارگیری مستقیم لوگو داخل هدر */
    .whb-general-header .site-logo {
        position: relative;
        z-index: 10;
        max-height: 75px !important;
        margin: 0 !important;
        transform: none !important;
    }

    /* تنظیم تصویر داخل لوگو */
  .whb-general-header .site-logo img {
    width: 330px !important;
    max-width: 330px !important;
    max-height: 110px !important;
    height: auto !important;
    object-fit: contain;
    }

    /* بخش پایین هدر */
    .whb-header-bottom {
        max-width: 1150px;
        margin: 0 auto;
        padding-right: 43px;
        padding-left: 43px;
        border-bottom-right-radius: 41px;
        border-bottom-left-radius: 41px;
    }

    /* هدر هنگام اسکرول */
    .whb-sticked .whb-general-header {
        max-width: 100%;
        margin: 0 auto;
        border-radius: 0;
    }

    /* لوگو در هدر چسبان */
    .whb-sticked .whb-general-header .site-logo {
        max-height: 58px !important;
        margin: 0 !important;
        transform:  translateY(-7px) !important;
    }

    .whb-sticked .whb-general-header .site-logo img {
        width: auto !important;
        max-width: 185px !important;
        max-height: 58px !important;
    }

    /* اطمینان از حذف فرم پشت لوگو در حالت چسبان */
    .whb-sticked .whb-general-header::before,
    .whb-sticked .whb-general-header::after,
    .whb-sticked .whb-general-header .wd-logo::before,
    .whb-sticked .whb-general-header .wd-logo::after {
        display: none !important;
        content: none !important;
    }
}

/* ========================================
   تنظیمات موبایل و تبلت
======================================== */

@media (max-width: 1024px) {

    .site-logo {
        max-height: 60px !important;
        margin: 0 !important;
        transform: none !important;
    }

    .site-logo img {
        width: auto !important;
        max-width: 165px !important;
        max-height: 60px !important;
        object-fit: contain;
    }
}

/* ========================================
   فاصله محتوای صفحات
======================================== */

.main-page-wrapper {
    margin-top: -163px;
    padding-top: 163px;
}

.page-title {
    padding-top: 163px !important;
}
@media (min-width: 1025px) {
    .whb-general-header:not(.whb-sticked) .site-logo img {
        transform: translateY(-20px) !important;
    }
}
body.single-product .main-page-wrapper {
    padding-top: 80px !important;
	
}
@media (min-width: 1025px) {
	.whb-general-header {
    z-index: 2 !important;
}
.whb-general-header .wd-logo:before {
    top: 70px;
}
.whb-general-header:before {
    top: 6px;
}

.whb-top-bar {
	position: relative;
}
.whb-top-bar:before {
	content: '';
	position:absolute;
	width: 100%;
	right: 0;
	left: 0;
	bottom:-37px;
	background: rgba(244, 236, 229, 1);
	height: 37px;
	z-index: -1;
}
}

