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

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//ratagraph.ir/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//ratagraph.ir/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//ratagraph.ir/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//ratagraph.ir/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//ratagraph.ir/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//ratagraph.ir/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//ratagraph.ir/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//ratagraph.ir/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-text-font: Dana;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(71,71,71);
	--wd-text-font-size: 14px;
	--wd-title-font: Dana;
	--wd-title-font-weight: 600;
	--wd-title-color: rgb(58,58,58);
	--wd-entities-title-font: Dana;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: Dana;
	--wd-widget-title-font: Dana;
	--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: Dana;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(37,99,235);
	--wd-alternative-color: rgb(30,41,59);
	--btn-default-bgcolor: rgb(241,245,249);
	--btn-default-bgcolor-hover: rgb(226,232,240);
	--btn-default-color: rgb(51,65,85);
	--btn-default-color-hover: rgb(51,65,85);
	--btn-accented-bgcolor: rgb(37,99,235);
	--btn-accented-bgcolor-hover: rgb(29,78,216);
	--wd-form-brd-width: 2px;
	--notices-success-bg: rgb(220,252,231);
	--notices-success-color: rgb(22,101,52);
	--notices-warning-bg: rgb(254,249,195);
	--notices-warning-color: rgb(133,77,14);
	--wd-link-color: rgb(51,65,85);
	--wd-link-color-hover: rgb(37,99,235);
	--wd-sticky-btn-height: 95px;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: rgba(17,17,17,0);
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 1000px;
	--wd-popup-padding: 46px;
}
: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:rgba(237,237,237,0.31);
	--wd-bordered-bg:rgba(237,237,237,0.31);
}
: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;
}
html .wd-nav.wd-nav-main > li > a {
	font-family: Dana;	font-weight: 500;
	font-size: 18px;
}
.woodmart-archive-shop:not(.single-product) .wd-page-content {
	background-color: rgb(248,250,252);
	background-image: none;
}
.woodmart-archive-blog .wd-page-content {
	background-color: rgb(248,250,252);
	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(15,23,42);
	--wd-form-placeholder-color: rgb(148,163,184);
	--wd-form-brd-color: rgb(226,232,240);
	--wd-form-brd-color-focus: rgb(37,99,235);
}
.product-labels .product-label.onsale {
	background-color: rgb(183,38,38);
}
.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: 42px;
	}

}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 5px;
--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: 1222px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


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

/* ۱. باکس کپسولی اصلی دکمه ورود */
.custom-logged-in-box {
    background-color: #f3f4f6 !important; 
    border: 1px solid #e5e7eb !important; 
    border-radius: 30px !important; 
    padding: 20px 15px 0 15px !important; 
    height: 42px !important; 
    display: inline-flex !important; 
    width: auto !important;            
    max-width: max-content !important; 
    min-width: 0 !important;           
    align-items: center !important; 
    justify-content: center !important; 
    direction: rtl !important;
    float: none !important; 
    position: relative !important;
}

/* ۲. حذف کامل آواتار و آیکون‌ها */
.custom-logged-in-box img,
.custom-logged-in-box .avatar,
.custom-logged-in-box i,
.custom-logged-in-box svg {
    display: none !important;
}

/* ۳. استایل متنِ روی دکمه کپسولی (فقط لینک مستقیم اول) */
.custom-logged-in-box > a, 
.custom-logged-in-box > span,
.custom-logged-in-box > p {
    color: #374151 !important; 
    font-size: 13px !important; 
    font-weight: 500 !important;
    text-decoration: none !important;
    margin: 0 !important; 
    padding: 0 !important; 
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important; 
    line-height: 1 !important; 
    float: none !important;
}

/* ۴. کادر اصلی سفید و یکپارچه زیرمنو */
.custom-logged-in-box ul.dropdown-menu,
.custom-logged-in-box ul.sub-menu,
.custom-logged-in-box .ums-user-dropdown,
.custom-logged-in-box [class*="subpanel"] { 
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    min-width: 220px !important;
    width: max-content !important;
    padding: 10px !important;
    background: #ffffff !important;         
    background-color: #ffffff !important;   
    border-radius: 14px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    border: 1px solid #f0f0f0 !important;
    display: block !important;
    z-index: 99999 !important;
}

/* ۵. خنثی کردن تمام بک‌گراندها و سایه‌های لایه‌های داخلی (از بین بردن دو تکه بودن) */
.custom-logged-in-box ul.dropdown-menu div,
.custom-logged-in-box ul.dropdown-menu ul,
.custom-logged-in-box ul.sub-menu div,
.custom-logged-in-box ul.sub-menu ul,
.custom-logged-in-box [class*="subpanel"] div,
.custom-logged-in-box [class*="subpanel"] ul,
.custom-logged-in-box .ums-user-dropdown div,
.custom-logged-in-box .ums-user-dropdown ul,
.custom-logged-in-box .ums-user-dropdown-item { /* کلاس اختصاصی احتمالی داشبورد */
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ۶. راست‌چین کردن کامل تمام آیتم‌ها */
.custom-logged-in-box li {
    width: 100% !important;
    text-align: right !important;
    list-style: none !important;
    margin: 2px 0 !important; 
    padding: 0 !important;
    display: block !important;
    background: transparent !important;
}

/* ۷. استایل نهایی و شیک گزینه‌ها */
.custom-logged-in-box li a {
    display: block !important;
    width: 100% !important;
    padding: 10px 14px !important;
    color: #4b5563 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-align: right !important;
    line-height: 1.5 !important;
    border-radius: 8px !important;
    background: transparent !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    height: auto !important; 
}

/* افکت هاور */
.custom-logged-in-box li a:hover {
    background-color: #f3f4f6 !important; 
    color: #1f2937 !important;
}