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

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

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

:root {
	--wd-text-font: "baarobandil", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(118,118,118);
	--wd-text-font-size: 16px;
	--wd-title-font: "baarobandil", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 500;
	--wd-title-color: #242424;
	--wd-entities-title-font: "baarobandil", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 400;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "baarobandil", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "baarobandil", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 500;
	--wd-widget-title-transform: none;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "baarobandil", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 500;
	--wd-header-el-transform: none;
	--wd-header-el-font-size: 16px;
	--wd-brd-radius: 10px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(34,71,204);
	--wd-alternative-color: rgb(171,186,129);
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(34,71,204);
	--btn-accented-bgcolor-hover: rgb(31,64,185);
	--btn-transform: none;
	--wd-form-brd-width: 1px;
	--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: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(247,243,240);
	background-image: none;
}
html .wd-nav-mobile > li > a {
	font-family: "baarobandil", Arial, Helvetica, sans-serif;
	text-transform: none;
}
html .product.wd-cat .wd-entities-title, html .product.wd-cat.cat-design-replace-title .wd-entities-title, html .wd-masonry-first .wd-cat:first-child .wd-entities-title {
	font-family: "baarobandil", Arial, Helvetica, sans-serif;
	font-size: 18px;
	text-transform: none;
}
html .wd-buy-now-btn {
	background: rgb(160,194,105);
}
html .wd-buy-now-btn:hover {
	background: rgb(131,172,43);
}
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-bg: rgb(255,255,255);
}
.product-labels .product-label.onsale {
	background-color: rgb(126,164,222);
	color: rgb(255,255,255);
}
.product-labels .product-label.new {
	background-color: rgb(171,186,129);
	color: rgb(255,255,255);
}
.product-labels .product-label.featured {
	background-color: rgb(227,162,141);
	color: rgb(255,255,255);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1422px;
--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-page-title {
background-color: rgb(247,243,240);
}

@font-face {
	font-family: "baarobandil";
	src: url("//baarobandil.shop/wp-content/uploads/2025/01/baarobandil.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
}

/*
======================================================
  کد نهایی CSS بر اساس ساختار HTML شما
======================================================
*/

/* 1. تمام عرض کردن کانتینر اصلی قالب */
.wd-shop-ordering {
    max-width: 100% !important; /* محدودیت عرض قالب را برمی‌دارد */
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* 2. استایل باکس داخلی با پس‌زمینه آبی-خاکستری */
.wd-shop-ordering form.woocommerce-ordering {
    display: flex; /* فعال کردن Flexbox برای چیدمان */
    align-items: center; /* تراز عمودی همه آیتم‌ها در وسط */
    width: 100%;
    padding: 10px 20px;
    margin-bottom: 30px;
    background-color: #eaf0f6; /* رنگ پس‌زمینه دلخواه شما */
    border-radius: 12px;
    box-sizing: border-box;
}

/* 3. استایل لیست مرتب‌سازی و حل مشکل جایگاه تعداد کالا */
.wd-shop-ordering ul.desktop-ordering {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    flex-grow: 1; /* مهم: این خط لیست را بزرگ کرده و تعداد کالا را به انتها هل می‌دهد */
}

.wd-shop-ordering ul.desktop-ordering li {
    margin: 0 4px;
}

.wd-shop-ordering ul.desktop-ordering li.ordering-label {
    font-weight: bold;
    margin-left: 10px;
}

.wd-shop-ordering ul.desktop-ordering a {
    display: block;
    padding: 8px 12px;
    border-radius: 20px;
    text-decoration: none;
    color: #4a5568;
    font-size: 14px;
    transition: all 0.25s ease;
    background-color: transparent;
}

/* 4. استایل هاور و آیتم فعال */
.wd-shop-ordering ul.desktop-ordering a:hover {
    color: #0056b3;
}

.wd-shop-ordering ul.desktop-ordering a.active {
    color: #1b5aac;
    font-weight: 700;
}

/* 5. استایل تعداد کالا */
.wd-shop-ordering .total-products-wrapper {
    white-space: nowrap;
    color: #666;
    font-size: 14px;
    padding: 0 10px;
    flex-shrink: 0;
}

/* 6. مدیریت نمایش در موبایل */
.wd-shop-ordering select.mobile-ordering {
    display: none;
}

@media (max-width: 768px) {
    .wd-shop-ordering ul.desktop-ordering,
    .wd-shop-ordering .total-products-wrapper {
        display: none;
    }

    .wd-shop-ordering select.mobile-ordering {
        display: block;
        width: 100%;
    }
    
    .wd-shop-ordering form.woocommerce-ordering {
        background-color: transparent;
        padding: 0;
    }
}
:is(.wd-entry-content,.entry-content,.is-layout-flow,.is-layout-constrained,.is-layout-constrained>.wp-block-group__inner-container)>*{margin-top: 15px;}



/* 1. مخفی کردن بخش اضافی "از" و "تا" */
.widget_price_filter .filter-price-inputs {
    display: none !important;
}

/* 2. مرتب‌سازی و وسط‌چین کردن بخش اصلی نمایش قیمت */
.widget_price_filter .price_slider_amount {
    justify-content: center; /* آیتم باقی‌مانده را در مرکز قرار می‌دهد */
    margin-top: 15px; /* ایجاد فاصله از اسلایدر بالایی */
}

/* 3. استایل‌دهی به متن قیمت برای خوانایی بهتر */
.widget_price_filter .price_label {
    width: 100%; /* عرض کامل می‌گیرد تا متن وسط‌چین شود */
    text-align: center;
    color: #333; /* رنگ تیره‌تر برای خوانایی */
    font-size: 15px;
}

/* 4. استایل دکمه فیلتر (اگر وجود داشته باشد) */
.widget_price_filter .button {
    margin-top: 10px;
    width: 100%;
}

/*Group Attribute*/
.attribute_row >td {
	width: 100% !important;	
}

.shop_attributes .attribute_name {
	width: 30% !important;
}

.shop_attributes .attribute_value {
	display: flex !important;
	width: 70% !important;
}

.shop_attributes tr {
	margin-bottom: 0 !important;
}

.shop_attributes tr.alt, .shop_attributes tr.alt td {
	background-color: white !important;
}

.shop_attributes tr {
	border-bottom: 1px dotted rgba(0,0,0,.1);
}

.shop_attributes .attribute_group_row {
	border: none !important;
}

.attribute_group_row {
    position: relative;
}

.attribute_group_row::before {
    content: "";
    position: absolute;
	display: flex;
    width: 100%;
    height: 1px;
    background: rgba(0,0,0,.1);
    z-index: 1;
}

.attribute_group_row .attribute_group_name {
    background: #fff; /* برا مخفی کردن خط زیرش که این سفید میاد روش */
    display: inline-block;
    padding: 0 25px;
    position: relative;
    z-index: 2;
	width:max-content !important;
}
.woocommerce table.shop_attributes tr:nth-child(2n) td, .woocommerce table.shop_attributes tr:nth-child(2n) th{text-align: right;}

/**/
.wd-swatch-bg}{border: 2px solid;}
#wd-16378052{font-size: 46px;
    font-weight: 900;}

/*text align*/
.wp-block-wd-container:is(.wd-dir-col,.wd-dir-col-rev):not([class*="wd-align-is-"])>*:not(:is(.wd-custom-width,[class*="wd-align-s-"])){text-align: justify;
    padding: 0 20px 0 20px;}