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

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

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

:root {
	--wd-text-font: "Vazirmatn", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 500;
	--wd-text-color: #767676;
	--wd-text-font-size: 14px;
	--wd-title-font: "Vazirmatn", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Vazirmatn", 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: "Vazirmatn", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Vazirmatn", Arial, Helvetica, sans-serif;
	--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: "Vazirmatn", Arial, Helvetica, sans-serif;
	--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(227,30,36);
	--wd-alternative-color: rgb(175,26,26);
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(227,30,36);
	--btn-accented-bgcolor-hover: rgb(227,30,36);
	--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: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 0px;
--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: 0px;
}

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


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

/* ===== هدر ===== */
:root{ --nsr-red:#e31e24; }

/* بزرگ‌تر کردن نوشته‌های منو */
.whb-header .wd-nav > li > a,
.whb-header .wd-nav-main > li > a{
  font-size:17px !important;
  font-weight:700 !important;
}
.whb-header .wd-nav .wd-sub-menu li a{
  font-size:15px !important;
}

/* رنگ هاور و آیتم فعال: قرمز سایت */
.whb-header .wd-nav > li:hover > a,
.whb-header .wd-nav > li.current-menu-item > a,
.whb-header .wd-nav > li.current_page_item > a,
.whb-header .wd-nav > li > a:hover,
.whb-header .wd-nav .wd-sub-menu li a:hover{
  color:var(--nsr-red) !important;
}

/* ===== باکس جستجو ===== */
.whb-header .searchform{
  border:1px solid var(--nsr-red);
  border-radius:50px;
  background:#fff;
/*   box-shadow:0 0 0 4px rgba(227,30,36,.12), 0 4px 14px rgba(227,30,36,.18); */
  overflow:hidden;
  min-width:260px;
}
.whb-header .searchform input[type="text"],
.whb-header .searchform input[type="search"]{
  height:46px !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  padding:0 20px 0 60px !important;   /* جا برای دکمه سمت چپ */
  font-size:15px;
  text-align:right;
}
.whb-header .searchform input::placeholder{
  color:#9aa0a6;
  opacity:.7;
}

/* دکمه ذره‌بین: دایره قرمز در انتهای سمت چپ داخل باکس */
.whb-header .searchform .searchsubmit{
  position:absolute !important;
  left:4px !important;
  right:auto !important;
  top:50% !important;
  transform:translateY(-50%);
  width:38px !important;
  height:38px !important;
  border-radius:50% !important;
  background:var(--nsr-red) !important;
  color:#fff !important;
}
.whb-header .searchform .searchsubmit:hover{
  background:#b9151a !important;
}

@media(max-width:1024px){
  .mobile-nav.wd-side-hidden,
  .wd-side-hidden.wd-left{
    left:auto !important;
    right:0 !important;
    transform:translateX(100%);
  }
  .mobile-nav.wd-side-hidden.wd-opened,
  .wd-side-hidden.wd-left.wd-opened{
    transform:translateX(0);
  }
}

/* منوی موبایل: هاور و آیتم فعال قرمز */
.mobile-nav .wd-nav-mobile > li > a:hover,
.mobile-nav .wd-nav-mobile > li.current-menu-item > a,
.mobile-nav .wd-nav-mobile > li.current_page_item > a,
.mobile-nav .wd-nav-mobile > li.wd-opened > a,
.mobile-nav .wd-nav-mobile li a:hover,
.mobile-nav .wd-sub-menu li a:hover,
.wd-nav-mobile li.menu-item-has-children.wd-opened > a{
  color:#e31e24 !important;
}
.mobile-nav .wd-nav-mobile li a:active{
  color:#e31e24 !important;
}
/* آیکون فلش زیرمنو */
.mobile-nav .wd-nav-mobile .wd-nav-opener:hover{
  color:#e31e24 !important;
}

/* حذف تب‌های «منو» و «دسته بندی ها» */
.mobile-nav .wd-nav-mob-tab,
.mobile-nav .mobile-nav-tabs{
  display:none !important;
}

/* حذف متن راهنما (منوی دسته بندی خود را ...) */
.mobile-nav .create-nav-msg{
  display:none !important;
}

/* نمایش همیشگی بخش منوی اصلی و پنهان کردن بخش دسته‌بندی‌ها */
.mobile-nav .wd-tab-content{display:none !important}
.mobile-nav .wd-tab-content.wd-active,
.mobile-nav .wd-tab-content:first-of-type{display:block !important}
/* 
/* فاصله مناسب زیر کادر جستجو */
.mobile-nav .searchform{margin-bottom:8px}
.mobile-nav .wd-nav-mobile{margin-top:6px} */

@media (min-width:1025px){

  /* دکمه «محصولات» در منوی اصلی: قرمز گرد هنگام هاور/باز بودن */
  .whb-header .wd-nav-main > li.menu-item-has-children:hover > a,
  .whb-header .wd-nav-main > li.menu-item-has-children.wd-opened > a{
    background:#e31e24 !important;
    color:#fff !important;
    border-radius:50px !important;
  }

  /* کادر اصلی منوی کشویی */
  .whb-header .wd-nav-main .wd-dropdown-menu{
    min-width:240px;
    padding:12px 0 !important;
    background:#e31e24 !important;
    border:0 !important;
    border-radius:16px !important;
    box-shadow:0 18px 40px rgba(227,30,36,.35), 0 6px 14px rgba(20,22,28,.18) !important;
  }

  /* آیتم‌ها */
  .whb-header .wd-nav-main .wd-sub-menu li{position:relative}
  .whb-header .wd-nav-main .wd-sub-menu li > a{
    display:flex !important;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:11px 24px !important;
    font-size:16px !important;
    font-weight:700 !important;
    color:#fff !important;
    background:transparent !important;
    transition:background .25s ease, padding .25s ease;
  }
  .whb-header .wd-nav-main .wd-sub-menu li:hover > a{
    background:rgba(255,255,255,.16) !important;
    color:#fff !important;
    padding-right:30px !important;
  }

  /* فلش سمت چپ آیتم‌هایی که زیرمنو دارند */
  .whb-header .wd-nav-main .wd-sub-menu li.menu-item-has-children > a::after{
    content:"" !important;
    font-family:inherit !important;
    width:8px;height:8px;
    margin:0;
    border-left:2px solid #fff;
    border-bottom:2px solid #fff;
    transform:rotate(45deg);
    flex:0 0 auto;
  }

  /* زیرمنوهای تو در تو: باز شدن از سمت چپ، با همان استایل */
  .whb-header .wd-nav-main .wd-sub-menu .sub-sub-menu,
  .whb-header .wd-nav-main .wd-sub-menu .wd-dropdown-menu{
    position:absolute !important;
    top:-12px !important;
    right:calc(100% + 3px) !important;
    left:auto !important;
    min-width:220px;
    padding:12px 0 !important;
    background:#e31e24 !important;
    border-radius:16px !important;
    box-shadow:0 18px 40px rgba(227,30,36,.35), 0 6px 14px rgba(20,22,28,.18) !important;
    opacity:0;
    visibility:hidden;
    transform:translateX(10px);
    transition:opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .whb-header .wd-nav-main .wd-sub-menu li:hover > .sub-sub-menu,
  .whb-header .wd-nav-main .wd-sub-menu li:hover > .wd-dropdown-menu{
    opacity:1;
    visibility:visible;
    transform:none;
  }
}

.whb-header .wd-nav-main .wd-sub-menu .wd-dropdown-menu,
.whb-header .wd-nav-main .wd-sub-menu .sub-sub-menu{
  margin:0 !important;
}

/* دکمه فلش زیرمنو در منوی موبایل: سفید به‌جای سبز */
.mobile-nav .wd-nav-mobile li .wd-nav-opener,
.mobile-nav .wd-nav-mobile li.wd-opened > .wd-nav-opener,
.mobile-nav .wd-nav-mobile li.wd-opened > a + .wd-nav-opener,
.mobile-nav .wd-nav-mobile .wd-nav-opener:hover{
  background:#fff !important;
  color:#14161c !important;
}
.mobile-nav .wd-nav-mobile li.wd-opened > .wd-nav-opener{
  color:#e31e24 !important;   /* فلش باز شده قرمز */
}

@media (min-width:1025px){

  /* کادر منوی کشویی: سفید با سایه نرم */
  .whb-header .wd-nav-main .wd-dropdown-menu,
  .whb-header .wd-nav-main .wd-sub-menu .sub-sub-menu,
  .whb-header .wd-nav-main .wd-sub-menu .wd-dropdown-menu{
    background:#fff !important;
    border:1px solid rgba(227,30,36,.18) !important;
    border-radius:16px !important;
    box-shadow:0 16px 36px rgba(20,22,28,.14), 0 4px 10px rgba(20,22,28,.08) !important;
  }

  /* آیتم‌ها: متن تیره */
  .whb-header .wd-nav-main .wd-sub-menu li > a{
    color:#14161c !important;
    background:transparent !important;
  }

  /* هاور: پس‌زمینه قرمز و متن سفید */
  .whb-header .wd-nav-main .wd-sub-menu li:hover > a{
    background:#e31e24 !important;
    color:#fff !important;
  }

  /* فلش کنار آیتم‌ها: تیره، و در هاور سفید */
  .whb-header .wd-nav-main .wd-sub-menu li.menu-item-has-children > a::after{
    border-left-color:#14161c !important;
    border-bottom-color:#14161c !important;
  }
  .whb-header .wd-nav-main .wd-sub-menu li.menu-item-has-children:hover > a::after{
    border-left-color:#fff !important;
    border-bottom-color:#fff !important;
  }
}

.whb-header .wd-nav-main .wd-sub-menu li > a{
  margin:0 8px;
  border-radius:10px;
}

/* ===== حذف بخش‌های اضافه صفحه محصول ===== */

/* مقایسه و علاقه‌مندی */
.single-product .wd-compare-btn,
.single-product .wd-wishlist-btn,
.single-product .product-compare-button,
.single-product .wd-action-btn.wd-compare-btn,
.single-product .wd-action-btn.wd-wishlist-btn{
  display:none !important;
}

/* اشتراک‌گذاری */
.single-product .product-share,
.single-product .wd-social-icons,
.single-product .wd-share-btns{
  display:none !important;
}

/* تب نظرات و Shipping & Delivery */
.single-product .wd-nav-tabs li.reviews_tab,
.single-product .woocommerce-tabs .reviews_tab,
.single-product .woocommerce-Tabs-panel--reviews,
.single-product #reviews,
.single-product .wd-accordion-item:has(.woocommerce-Reviews-title),
.single-product .woocommerce-tabs li.additional_tab_tab,
.single-product .woocommerce-tabs li[id*="tab-title-shipping"],
.single-product .woocommerce-tabs li[id*="tab-title-additional"],
.single-product .woocommerce-Tabs-panel--additional_tab,
.single-product .woocommerce-Tabs-panel[id*="shipping"]{
  display:none !important;
}

/* ===== رنگ سبز → قرمز ===== */

/* خط سبز بالای تب «توضیحات» */
.single-product .wd-nav-tabs > li.active > a:after,
.single-product .wd-nav-tabs > li > a:after,
.single-product .woocommerce-tabs .wd-nav-tabs li.active a::after,
.single-product .wd-nav-tabs > li:hover > a::after{
}
.single-product .wd-nav-tabs > li.active > a,
.single-product .wd-nav-tabs > li > a:hover{
  color:#e31e24 !important;
}

/* دکمه «اطلاعات بیشتر» (Quick view / Read more) هنگام هاور روی کارت محصول */
.product-grid-item .wd-buttons a,
.product-grid-item .wd-action-btn > a,
.product-grid-item .quick-view-button a,
.product-grid-item .add_to_cart_button,
.product-grid-item .product_type_simple,
.product-grid-item .product_type_variable,
.product-grid-item .wd-add-btn > a,
.wd-hover-base .hover-content a.button,
.wd-hover-standard .wd-add-btn a{
  background-color:#e31e24 !important;
  border-color:#e31e24 !important;
  color:#fff !important;
}
.product-grid-item .wd-buttons a:hover,
.product-grid-item .add_to_cart_button:hover,
.product-grid-item .wd-add-btn > a:hover,
.wd-hover-base .hover-content a.button:hover{
  background-color:#b9151a !important;
  border-color:#b9151a !important;
  color:#fff !important;
}

/* ===== گالری: تصویر بزرگ راست، تصاویر کوچک سمت چپ ===== */
@media (min-width:769px){
  .single-product .woocommerce-product-gallery.thumbs-position-left,
  .single-product .woocommerce-product-gallery{
    display:flex !important;
    flex-direction:row !important;   /* در سایت راست‌چین: اولین آیتم سمت راست */
  }
  .single-product .woocommerce-product-gallery .wd-carousel-wrap,
  .single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper{
    order:1 !important;               /* تصویر بزرگ: راست */
    flex:1 1 auto;
  }
  .single-product .woocommerce-product-gallery .wd-gallery-thumb,
  .single-product .woocommerce-product-gallery .wd-thumbs-wrapper{
    order:2 !important;               /* تصاویر کوچک: چپ */
    margin:0 12px 0 0 !important;
  }
}

/* حذف کامل خط رنگی بالای تب‌ها */
.single-product .wd-nav-tabs > li > a::after,
.single-product .wd-nav-tabs > li > a::before,
.single-product .wd-nav-tabs > li.active > a::after,
.single-product .wd-nav-tabs > li:hover > a::after,
.single-product .wd-tabs-header .wd-nav-tabs > li > a::after,
.single-product .woocommerce-tabs .wd-nav-tabs li a::after,
.single-product .wd-nav-tabs-wrapper .wd-nav-tabs > li > a::after,
.single-product .wd-nav-tabs .nav-link::after,
.single-product .wd-nav-tabs .nav-link::before,
.single-product .wd-nav-tabs .wd-tabs-title::after,
.single-product .wd-nav-tabs .wd-tabs-title::before{
  content:none !important;
  display:none !important;
  background:none !important;
  height:0 !important;
  border:0 !important;
}

/* رنگ متن تب: ثابت و بدون تغییر در هاور */
.single-product .wd-nav-tabs > li > a,
.single-product .wd-nav-tabs > li.active > a,
.single-product .wd-nav-tabs > li > a:hover{
  color:#14161c !important;
}

/* نوار شماره صفحات: بالاتر از کارت‌های محصول + فاصله از ردیف آخر */
.wd-products-footer,
.woocommerce-pagination,
.products-footer{
  position:relative;
  z-index:30 !important;
  margin-top:76px !important;
  clear:both;
}

/* فاصله پایین لیست محصولات تا کارت بزرگ‌شده روی نوار نیفتد */
.wd-products-element .products,
.shop-loop-head ~ .products,
.products.wd-products{
  padding-bottom:24px;
} 

/* =====================================
   Fix WoodMart Header Overlap
===================================== */

/* اولویت نمایش هدر */
.whb-header {
    z-index: 1000 !important;
}

/* پس‌زمینه کامل و غیرشفاف هدر */
.whb-header .whb-main-header,
.whb-header .whb-row,
.whb-header .whb-general-header,
.whb-sticked .whb-main-header,
.whb-clone {
    background-color: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* جلوگیری از نمایش محصولات روی هدر */
.woocommerce-shop .main-page-wrapper,
.post-type-archive-product .main-page-wrapper,
.tax-product_cat .main-page-wrapper,
.tax-product_tag .main-page-wrapper {
    position: relative;
    isolation: isolate;
    z-index: 1 !important;
    margin-top: 0 !important;
    padding-top: 100px !important;
}

/* اصلاح هدر شناور در صفحات محصولات */
body.woocommerce-shop .whb-overcontent,
body.post-type-archive-product .whb-overcontent,
body.tax-product_cat .whb-overcontent,
body.tax-product_tag .whb-overcontent {
    position: relative !important;
}

/* کنترل لایه کارت‌های محصولات */
.products.wd-products {
    position: relative;
    isolation: isolate;
    z-index: 1 !important;
}

.product-grid-item {
    z-index: 1 !important;
}

.product-grid-item:hover {
    z-index: 10 !important;
}

/* فاصله بالای محصولات در موبایل */
@media (max-width: 1024px) {
    .woocommerce-shop .main-page-wrapper,
    .post-type-archive-product .main-page-wrapper,
    .tax-product_cat .main-page-wrapper,
    .tax-product_tag .main-page-wrapper {
        padding-top: 20px !important;
    }
}
/* ===================================
   اصلاح نوار ابزار صفحه محصولات
=================================== */

/* فاصله محتوای فروشگاه از هدر */
body.woocommerce-shop .main-page-wrapper,
body.post-type-archive-product .main-page-wrapper,
body.tax-product_cat .main-page-wrapper,
body.tax-product_tag .main-page-wrapper {
    padding-top: 110px !important;
}

/* نوار فیلتر و مرتب‌سازی محصولات */
.shop-loop-head {
    position: relative !important;
    z-index: 35 !important;
    visibility: visible !important;
    opacity: 1 !important;

    margin-top: 0 !important;
    margin-bottom: 25px !important;
    padding: 12px 0 !important;

    background: #fff;
}

/* کنترل لایه ابزارهای فروشگاه */
.shop-loop-head .wd-shop-tools,
.shop-loop-head .woocommerce-ordering,
.shop-loop-head .wd-products-per-page,
.shop-loop-head .wd-products-shop-view,
.shop-loop-head .wd-show-sidebar-btn,
.shop-loop-head .wd-shop-filter-btn {
    visibility: visible !important;
    opacity: 1 !important;
}

/* حفظ اولویت هدر */
.whb-header {
    z-index: 1000 !important;
}

/* موبایل و تبلت */
@media (max-width: 1024px) {

    body.woocommerce-shop .main-page-wrapper,
    body.post-type-archive-product .main-page-wrapper,
    body.tax-product_cat .main-page-wrapper,
    body.tax-product_tag .main-page-wrapper {
        padding-top: 75px !important;
    }

    .shop-loop-head {
        margin-bottom: 15px !important;
    }
}

/* =====================================
   استانداردسازی تصاویر محصولات WoodMart
===================================== */

/* فضای یکسان برای تمام تصاویر */
.product-grid-item .product-element-top {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

/* تنظیم فضای لینک تصویر */
.product-grid-item .product-image-link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* استانداردسازی اندازه تصاویر */
.product-grid-item .product-image-link img,
.product-grid-item .hover-img img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;

    object-fit: contain !important;
    object-position: center !important;

    padding: 15px;
    margin: 0 !important;
    box-sizing: border-box;

    transition: transform .35s ease;
}

/* تصویر دوم هنگام هاور */
.product-grid-item .hover-img {
    width: 100%;
    height: 100%;
}

/* بزرگ‌نمایی ملایم هنگام هاور */
.product-grid-item:hover .product-image-link img {
    transform: scale(1.04);
}

/* یکسان‌سازی فضای عنوان محصولات */
.product-grid-item .wd-entities-title {
    min-height: 44px;
    line-height: 1.8;
}

/* تنظیمات موبایل */
@media (max-width: 767px) {
    .product-grid-item .product-image-link img,
    .product-grid-item .hover-img img {
        padding: 8px;
    }
}
/* =====================================
   Fix Product Hover Overlap - WoodMart
===================================== */

/* فاصله استاندارد بین ردیف محصولات */
.products.wd-products {
    row-gap: 30px !important;
}

/* جلوگیری از بیرون زدن کارت محصول */
.product-grid-item {
    position: relative;
    min-width: 0;
}

/* غیرفعال کردن بزرگ شدن کل کارت */
.product-grid-item .product-wrapper {
    position: relative !important;
    transform: none !important;
}

/* حذف پس‌زمینه شناور کارت هنگام هاور */
.product-grid-item .content-product-imagin {
    display: none !important;
}

/* ثابت ماندن محتوای محصول */
.product-grid-item .product-element-bottom {
    position: relative !important;
    transform: none !important;
}

/* نمایش توضیحات بدون خروج از کارت */
.product-grid-item .fade-in-block {
    position: static !important;
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* جلوگیری از تداخل تصاویر */
.product-grid-item .product-element-top {
    position: relative;
    overflow: hidden !important;
    aspect-ratio: 1 / 1;
}

/* افکت نرم کارت */
.product-grid-item .product-wrapper {
    border-radius: 14px;
    transition: box-shadow .3s ease,
                background .3s ease;
}

.product-grid-item:hover .product-wrapper {
    background: #fff;
    box-shadow: 0 6px 22px rgba(0,0,0,.07);
}

/* بزرگ‌نمایی فقط داخل فضای تصویر */
.product-grid-item .product-image-link img {
    transition: transform .35s ease;
}

.product-grid-item:hover .product-image-link img {
    transform: scale(1.035) !important;
}

/* ثابت ماندن اولویت لایه کارت‌ها */
.product-grid-item,
.product-grid-item:hover {
    z-index: 1 !important;
}

/* =========================================
   NSR — LIQUID GLASS DROPDOWN MENU
   WoodMart Header
========================================= */

@media (min-width: 1025px) {

    /* متغیرهای طراحی */
    .whb-header {
        --nsr-menu-red: #e31e24;
        --nsr-menu-dark: #191b22;
        --nsr-menu-muted: #92959e;
        --nsr-menu-hover: rgba(227, 30, 36, .075);
    }

    /* =====================================
       آیتم اصلی منو
    ===================================== */

    .whb-header .wd-nav-main > li.menu-item-has-children > a {
        position: relative;
        border-radius: 12px !important;
        transition:
            color .25s ease,
            background .25s ease !important;
    }

    .whb-header .wd-nav-main > li.menu-item-has-children:hover > a,
    .whb-header .wd-nav-main > li.menu-item-has-children.wd-opened > a,
    .whb-header .wd-nav-main > li.menu-item-has-children:focus-within > a {

        color: var(--nsr-menu-red) !important;
        background: var(--nsr-menu-hover) !important;
        border-radius: 12px !important;
        box-shadow: none !important;
    }

    /* چرخش فلش منوی اصلی */

    .whb-header .wd-nav-main > li.menu-item-has-children > a::after {
        transition: transform .3s ease, color .3s ease;
    }

    .whb-header .wd-nav-main > li.menu-item-has-children:hover > a::after {
        transform: rotate(180deg);
        color: var(--nsr-menu-red) !important;
    }

    /* =====================================
       بدنه شیشه‌ای منو
    ===================================== */

    .whb-header .wd-nav-main .wd-dropdown-menu,
    .whb-header .wd-nav-main .wd-sub-menu .sub-sub-menu,
    .whb-header .wd-nav-main .wd-sub-menu .wd-dropdown-menu {

        min-width: 255px !important;

        padding: 9px !important;

        background:
            linear-gradient(
                145deg,
                rgba(255, 255, 255, .98),
                rgba(250, 247, 248, .94)
            ) !important;

        -webkit-backdrop-filter: blur(24px) saturate(160%);
        backdrop-filter: blur(24px) saturate(160%);

        border: 1px solid rgba(255,255,255,.95) !important;
        border-radius: 20px !important;

        box-shadow:
            0 16px 45px rgba(25, 27, 34, .10),
            0 3px 12px rgba(25, 27, 34, .035),
            inset 0 1px 2px #ffffff,
            0 0 0 1px rgba(25, 27, 34, .045)
            !important;

        overflow: visible !important;
    }

    /* =====================================
       آیتم‌های زیرمنو
    ===================================== */

    .whb-header .wd-nav-main .wd-sub-menu li {
        position: relative;
        margin: 0 !important;
        padding: 0 !important;
    }

    .whb-header .wd-nav-main .wd-sub-menu li > a {

        position: relative;

        display: flex !important;
        align-items: center;
        justify-content: space-between;

        min-height: 45px;
        gap: 16px;

        padding: 12px 15px !important;
        margin: 2px 0 !important;

        font-size: 14px !important;
        font-weight: 600 !important;
        line-height: 1.8;

        color: var(--nsr-menu-dark) !important;

        background: transparent !important;

        border: none !important;
        border-radius: 11px !important;

        transition:
            background .22s ease,
            color .22s ease,
            padding .22s ease !important;
    }

    /* هاور ملایم و حرفه‌ای */

    .whb-header .wd-nav-main .wd-sub-menu li:hover > a,
    .whb-header .wd-nav-main .wd-sub-menu li:focus-within > a,
    .whb-header .wd-nav-main .wd-sub-menu li.current-menu-item > a {

        color: var(--nsr-menu-red) !important;
        background: var(--nsr-menu-hover) !important;

        padding: 12px 19px 12px 15px !important;
    }

    /* خط قرمز ظریف کنار آیتم فعال */

    .whb-header .wd-nav-main .wd-sub-menu li > a::before {

        content: "";
        position: absolute;

        right: 4px;
        top: 50%;

        width: 3px;
        height: 0;

        border-radius: 10px;

        background: var(--nsr-menu-red);

        opacity: 0;
        transform: translateY(-50%);

        transition: height .25s ease, opacity .25s ease;
    }

    .whb-header .wd-nav-main .wd-sub-menu li:hover > a::before,
    .whb-header .wd-nav-main .wd-sub-menu li.current-menu-item > a::before {

        height: 17px;
        opacity: 1;
    }

    /* =====================================
       فلش زیرمجموعه‌ها
    ===================================== */

    .whb-header .wd-nav-main .wd-sub-menu li.menu-item-has-children > a::after {

        content: "" !important;
        display: block;

        width: 6px;
        height: 6px;

        margin: 0 !important;

        border: none !important;
        border-left: 1.7px solid var(--nsr-menu-muted) !important;
        border-bottom: 1.7px solid var(--nsr-menu-muted) !important;

        transform: rotate(45deg);

        flex: 0 0 auto;

        transition:
            transform .25s ease,
            border-color .25s ease;
    }

    .whb-header .wd-nav-main .wd-sub-menu li.menu-item-has-children:hover > a::after {

        border-left-color: var(--nsr-menu-red) !important;
        border-bottom-color: var(--nsr-menu-red) !important;

        transform: translateX(-3px) rotate(45deg);
    }

    /* =====================================
       زیرمنوهای تو در تو
    ===================================== */

    .whb-header .wd-nav-main .wd-sub-menu .sub-sub-menu,
    .whb-header .wd-nav-main .wd-sub-menu .wd-dropdown-menu {

        position: absolute !important;

        top: -9px !important;
        right: calc(100% + 10px) !important;
        left: auto !important;

        min-width: 235px !important;

        margin: 0 !important;

        opacity: 0;
        visibility: hidden;

        transform: translateX(8px) scale(.98);
        transform-origin: right top;

        transition:
            opacity .22s ease,
            visibility .22s ease,
            transform .28s cubic-bezier(.16, 1, .3, 1);
    }

    /* پل نامرئی بین منو و زیرمنو
       جلوگیری از بسته شدن هنگام حرکت موس */

    .whb-header .wd-nav-main .wd-sub-menu .sub-sub-menu::before,
    .whb-header .wd-nav-main .wd-sub-menu .wd-dropdown-menu::before {

        content: "";
        position: absolute;

        top: 0;
        right: -12px;
        width: 13px;
        height: 100%;

        background: transparent;
    }

    /* نمایش زیرمنو */

    .whb-header .wd-nav-main .wd-sub-menu li:hover > .sub-sub-menu,
    .whb-header .wd-nav-main .wd-sub-menu li:hover > .wd-dropdown-menu,
    .whb-header .wd-nav-main .wd-sub-menu li:focus-within > .sub-sub-menu,
    .whb-header .wd-nav-main .wd-sub-menu li:focus-within > .wd-dropdown-menu {

        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(0) scale(1) !important;
    }

    /* =====================================
       اولویت نمایش
    ===================================== */

    .whb-header .wd-nav-main .wd-dropdown-menu {
        z-index: 1002 !important;
    }

    /* دسترسی با کیبورد */

    .whb-header .wd-nav-main a:focus-visible {
        outline: 2px solid rgba(227,30,36,.45);
        outline-offset: 2px;
    }

}

/* =========================================
   MOBILE MENU
========================================= */

@media (max-width: 1024px) {

    .mobile-nav .wd-nav-mobile li > a {

        font-size: 14px !important;
        font-weight: 600 !important;

        transition:
            color .25s ease,
            background .25s ease;
    }

    .mobile-nav .wd-nav-mobile .wd-sub-menu {

        margin: 4px 12px 8px !important;
        padding: 5px !important;

        background: #f8f8fa !important;
        border-radius: 12px;
    }

    .mobile-nav .wd-nav-mobile .wd-sub-menu li > a {

        margin: 2px 0;
        padding: 11px 14px !important;

        border-radius: 8px;
    }

    .mobile-nav .wd-nav-mobile li.current-menu-item > a,
    .mobile-nav .wd-nav-mobile li > a:hover {

        color: #e31e24 !important;
        background: rgba(227,30,36,.07) !important;
    }

    .mobile-nav .wd-nav-mobile li .wd-nav-opener {

        background: transparent !important;
        border-radius: 8px;

        color: #777 !important;
    }

    .mobile-nav .wd-nav-mobile li.wd-opened > .wd-nav-opener {

        background: rgba(227,30,36,.07) !important;
        color: #e31e24 !important;
    }

}

/* دسترسی‌پذیری انیمیشن‌ها */

@media (prefers-reduced-motion: reduce) {

    .whb-header .wd-nav-main *,
    .mobile-nav .wd-nav-mobile * {

        transition: none !important;
        animation: none !important;
    }

}

/* حذف نوشته منو کنار آیکون همبرگری در موبایل */
@media (max-width: 1024px) {
    .wd-header-mobile-nav .wd-tools-text {
        display: none !important;
    }
}
@media (max-width: 1024px) {
    .wd-side-hidden.wd-opened {
        z-index: 99999 !important;
    }
}
