:root {
	--wd-text-font: "YekanBakhFaNum", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 15px;
	--wd-title-font: "YekanBakhFaNum", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 500;
	--wd-title-color: #242424;
	--wd-entities-title-font: "YekanBakhFaNum", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "YekanBakhFaNum", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "YekanBakhFaNum", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 500;
	--wd-widget-title-transform: capitalize;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "YekanBakhFaNum", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: capitalize;
	--wd-header-el-font-size: 13px;
	--wd-brd-radius: 10px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(28,97,231);
	--wd-alternative-color: rgba(28,97,231,0.2);
	--btn-default-bgcolor: rgb(225,235,255);
	--btn-default-bgcolor-hover: rgb(219,227,249);
	--btn-default-color: rgb(28,97,231);
	--btn-default-color-hover: rgb(28,97,231);
	--btn-accented-bgcolor: rgb(28,97,231);
	--btn-accented-bgcolor-hover: rgb(28,97,231);
	--btn-transform: capitalize;
	--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: rgba(255,255,255,0);
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 1000px;
}
: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:rgb(255,255,255);
	--wd-bordered-bg:rgb(255,255,255);
}
: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(255,255,255);
	background-image: none;
}
html .wd-nav-mobile > li > a {
	text-transform: capitalize;
}
html .post.wd-post:not(.blog-design-small) .wd-entities-title {
	font-size: 18px;
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-color: rgb(246,246,246);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-color: rgb(246,246,246);
	background-image: none;
}
.woodmart-archive-blog :is(.wd-page-content, .whb-header) {
	background-color: rgb(246,246,246);
	background-image: none;
}
html .btn.wd-buy-now-btn {
	background: rgb(107,163,49);
}
html .btn.wd-buy-now-btn:hover {
	background: rgb(95,158,44);
}
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);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1400px;
--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;
}

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


.wd-page-title {
background-color: rgb(28,97,231);
}

/* گرادیانت فقط روی صفحه‌ی ورود حساب کاربری */
body.woocommerce-account:not(.logged-in) {
  background: linear-gradient(233deg, #1C61E7, #E6EFFD) no-repeat fixed !important;
  background-size: cover !important;
  min-height: 100vh;
}
body.woocommerce-account:not(.logged-in) .website-wrapper,
body.woocommerce-account:not(.logged-in) .main-page-wrapper,
body.woocommerce-account:not(.logged-in) .site-content,
.loggra {
  background: transparent !important;
}
.loggra > .elementor-background-overlay {
  display: none !important;
}

/* کارت وسط صفحه */
.loggra > .elementor-container {
  min-height: 100vh !important;
  align-items: center !important;
}
@media (max-width: 767px) {
  .loggra > .elementor-container {
    padding: 40px 0 !important;
  }
}

/* رنگ متن فیلدها و رمز عبور: مشکی */
body.woocommerce-account input[type="text"],
body.woocommerce-account input[type="email"],
body.woocommerce-account input[type="tel"],
body.woocommerce-account input[type="password"] {
  color: #111 !important;
  -webkit-text-fill-color: #111 !important;
  caret-color: #1C61E7;
}
body.woocommerce-account input:-webkit-autofill {
  -webkit-text-fill-color: #111 !important;
}
/* مخفی کردن سایدبار فقط در برگه حریم خصوصی */
.page-id-11312 .sidebar-container,
.page-id-11312 .wd-sidebar,
.page-id-11312 aside.widget-area {
  display: none !important;
}

/* وسط‌چین کردن کادر متن در برگه حریم خصوصی */
.page-id-11312 .site-content {
  width: 100% !important;
  max-width: 900px !important;
  flex: 0 0 100% !important;
  float: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
} 
.wd-copyrights,
.copyrights-wrapper,
.site-footer .copyrights,
.footer-copyrights,
.wd-footer-copyright,
.wd-sticky-btn-cart + .copyrights {
  display: none !important;
}
/* قاب مربعی یکسان برای عکس محصولات در لیست‌ها */
.product-grid-item .product-image-link,
.wd-product .product-image-link {
    display: block;
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.product-grid-item .product-image-link img,
.wd-product .product-image-link img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    object-position: center;
}

/* اگر عکس دوم (هاور) دارید، آن هم هم‌اندازه شود */
.product-grid-item .hover-img,
.wd-product .hover-img {
    position: absolute;
    inset: 0;
}

.product-grid-item .hover-img img,
.wd-product .hover-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

/* صفحه تک محصول (گالری اصلی) */
.woocommerce-product-gallery__image img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
    width: 100%;
}
.topbar.header_plus_myaccount .wrapper > a { display: none !important; }
/* ===== فقط صفحه علاقه‌مندی ===== */

/* مخفی کردن منوی حساب کاربری (پیشخوان، سفارش‌ها، ...) */
body:has(.wd-wishlist-content) .woocommerce-MyAccount-navigation,
body:has(.wd-wishlist-content) .wd-my-account-sidebar {
  display: none !important;
}

/* تمام‌عرض کردن محتوا و وسط‌چین کردن */
body:has(.wd-wishlist-content) .woocommerce-MyAccount-content,
body:has(.wd-wishlist-content) .wd-my-account-content {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 auto !important;
}

/* نمایش ۹ محصول در هر ردیف به جای ۳ تا */
.wd-wishlist-content .wd-products {
  --wd-col-lg: 9;
  --wd-col-md: 6;
  --wd-col-sm: 3;
  display: grid !important;
  grid-template-columns: repeat(9, 1fr) !important;
  gap: 10px !important;
  justify-content: center;
  margin: 0 auto !important;
}

.wd-wishlist-content .wd-products > .product {
  width: auto !important;
  max-width: 100% !important;
  flex: none !important;
}

/* کوچک‌تر کردن متن و دکمه‌ها داخل کارت */
.wd-wishlist-content .product .wd-entities-title,
.wd-wishlist-content .product .price {
  font-size: 11px !important;
}
.wd-wishlist-content .product .wd-add-btn .button {
  font-size: 10px !important;
  padding: 4px 6px !important;
}

/* تبلت و موبایل */
@media (max-width: 1024px) {
  .wd-wishlist-content .wd-products {
    grid-template-columns: repeat(6, 1fr) !important;
  }
}
@media (max-width: 767px) {
  .wd-wishlist-content .wd-products {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}@media (min-width: 1025px) {
	.plus_login_register .submit-btn,
.container_plus .submit-btn,
button.submit-btn {
    background: #1C61E7 !important;
    background-color: #1C61E7 !important;
    color: #ffffff !important;
}

.plus_login_register .submit-btn:hover,
button.submit-btn:hover {
    background-color: #1C61E7 !important;
    filter: brightness(0.9);
}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.scrollToTop {
  display: none !important;
}
}

@media (min-width: 577px) and (max-width: 767px) {
	.scrollToTop {
  display: none !important;
}
}

@media (max-width: 576px) {
	.scrollToTop {
  display: none !important;
}
/* عکس محصولات در لیست: همه مربع و یک‌اندازه */
.product-grid-item .product-image-link,
.wd-product .product-image-link {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-grid-item .product-image-link img,
.wd-product .product-image-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

}

