:root {
	--wd-text-font: iranyekan, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 14px;
	--wd-title-font: iranyekan, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: iranyekan, 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: iranyekan, sans-serif;
	--wd-widget-title-font: iranyekan, 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: iranyekan, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 12px;
	--wd-brd-radius: 20px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: #DD1A22;
	--wd-alternative-color: #333333;
	--btn-default-bgcolor: #DD1A22;
	--btn-default-bgcolor-hover: #e4484e;
	--btn-accented-bgcolor: #DD1A22;
	--btn-accented-bgcolor-hover: #DD1A22;
	--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: 233px;
}
.wd-page-title .wd-page-title-bg img {
	background-repeat: no-repeat;
	object-fit: cover;
	background-attachment: scroll;
	object-position: center center;
}
.wd-footer {
	background-image: url();
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: scroll;
	background-position: center top;
}
html .wd-nav.wd-nav-main > li > a {
	font-weight: 400;
	font-size: 15px;
	color: rgb(101,101,101);
}
html .wd-nav.wd-nav-main > li:hover > a, html .wd-nav.wd-nav-main > li.current-menu-item > a {
	color: rgb(45,45,45);
}
html .page-title > .container > .title, html .page-title .wd-title-wrapp > .title {
	font-family: iranyekan, sans-serif;	font-weight: 700;
	font-size: 30px;
	color: rgb(0,0,0);
}
html .wd-nav.wd-nav-secondary > li > a, .whb-top-bar .wd-nav.wd-nav-secondary > li > a, .whb-general-header .wd-nav.wd-nav-secondary > li > a, .whb-header-bottom .wd-nav.wd-nav-secondary > li > a {
	font-size: 13px;
}
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-brd-color: rgba(0,0,0,0.1);
	--wd-form-brd-color-focus: rgba(0,0,0,0.15);
	--wd-form-bg: rgb(255,255,255);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	html .page-title > .container > .title, html .page-title .wd-title-wrapp > .title {
		font-size: 25px;
	}

}

@media (max-width: 768.98px) {
	html .page-title > .container > .title, html .page-title .wd-title-wrapp > .title {
		font-size: 20px;
	}

}
:root{
--wd-container-w: 1400px;
--wd-form-brd-radius: 30px;
--btn-default-color: #fff;
--btn-default-color-hover: #fff;
--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;
}

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



/* =====================================
   تنظیمات کارت‌های فروشگاه نان رضوی
   ===================================== */
.card-wrapper {
    background-size: cover !important;             /* پر کردن کامل کادر بدون حاشیه خالی */
    background-position: center center !important; /* فوکوس دقیق از وسط تصویر */
    background-repeat: no-repeat !important;       /* عدم تکرار تصویر */
    overflow: hidden !important;
}

.card-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;                    /* لغو هرگونه زوم یا scale ناخواسته */
}

/* ۲. بخش محتوای متنی کارت (افکت اسلاید و بلور) */
.card-content {
    margin-bottom: -260px;
    height: 56%;
    transition: all 0.5s ease;
    overflow: hidden; 
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.card-wrapper:hover .card-content {
    margin-bottom: -140px;
    height: 100%;
}

.card-content .e-con-inner {
    transition: all 0.5s ease;
}

@keyframes fadeInCard {
    from { opacity: 0; }
    to { opacity: 1; }
}

.card-wrapper:not(:hover) .card-content .e-con-inner {
    animation: fadeInCard 1.5s ease forwards;
}

/* ۳. ریسپانسیو - تبلت */
@media (max-width: 1024px) {
    .card-content {
        height: 80%;
    }
}

/* ۴. ریسپانسیو - موبایل */
@media (max-width: 767px) {
    .card-content,
    .card-wrapper:hover .card-content,
    .card-content .e-con-inner,
    .card-wrapper:not(:hover) .card-content .e-con-inner {
        margin-bottom: 0 !important;
        height: auto !important;
        transition: none !important;
        overflow: visible !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        animation: none !important;
    }

    /* غیرفعال کردن هاور روی موبایل */
    .card-wrapper:hover {
        transform: none !important;
    }
}

/* header font size */
a.woodmart-nav-link span.nav-link-text{
	
    font-size: 13px;
}
/* سایز متن هدر */
html .wd-nav.wd-nav-main > li > a{
	font-size:14px;
}
.wd-nav{
    --nav-gap: 15px;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    text-align: right;
    gap: 1px var(--nav-gap);
    flex-direction: row;
}
/* Mohammad Reza Qaderi */
.whb-top-bar-inner .wd-button-wrapper .btn {
    background-color: unset;
    font-size: 16px;
    padding: 0;
}

.whb-top-bar-inner .wd-button-wrapper .btn:hover {
    box-shadow: unset;
}

.whb-top-bar-inner .whb-col-right .wd-header-text {
    color: #2D2D2D;
    font-size: 14px;
}

.whb-general-header-inner .wd-header-search.wd-tools-element .wd-tools-icon,
.whb-general-header-inner .wd-header-my-account.wd-tools-element .wd-tools-icon {
    width: 40px !important;
    height: 40px !important;
}

.whb-general-header-inner .wd-header-cart.wd-tools-element:hover .wd-tools-icon {
    color: #fff;
}

.whb-general-header-inner .whb-mobile-right .wd-button-wrapper .btn {
  background-color: unset;
  padding: 0;
}

.whb-header .whb-main-header .whb-general-header {
    /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); */
    box-shadow: 0 12px 10px 0 rgba(0, 0, 0, 0.04);
}

.whb-top-bar .whb-top-bar-inner .wd-header-text {
  font-size: 16px;
  color: #656565;
}

/* Slider Logo */
@media (min-width: 1025px) {
  .whb-header .whb-main-header .whb-general-header-inner .site-logo .wd-logo.wd-main-logo img {
    max-height: 110px;
    margin-top: -4px;
    width: 100%;
    margin-right: 0;
  }

  .whb-header .whb-main-header .whb-general-header-inner .site-logo .wd-logo.wd-main-logo {
    position: relative;
  }
  
  .whb-header .whb-main-header .whb-general-header-inner .site-logo .wd-logo.wd-main-logo::before {
    content: "";
        display: inline-block;
        background-image: url(https://nanerazavi.com/wp-content/uploads/2024/11/under-logo.png);
        background-repeat: no-repeat;
        background-size: 70%;
        width: 263px;
        height: 53px;
        position: absolute;
        right: -90px;
        bottom: -97px;
        z-index: 10;
  }

  .whb-sticked.whb-header .whb-main-header .whb-general-header-inner .site-logo .wd-logo.wd-main-logo::before {
    display: none;
   }
}

/* Shop Sidebar */
.wd-widget.widget.sidebar-widget {
  border-radius: var(--wd-brd-radius);
  border: 1px solid var(--brdcolor-gray-300);
  padding: 15px 13px;
}

.post.wd-post .post-title {
  font-size: 18px;
  /* line-height: 28px; */
  color: #333;
}

.main-page-wrapper .page-title .entry-title.title {
  color: #fff !important;
}

@media only screen and (min-width: 1200px) {
  .title-size-default {
      padding-top: 0;
      padding-bottom: 0;
  }
}

@media only screen and (min-width: 992px) {
    .title-size-default {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }
}

/* Shop page */
.woocommerce-shop .wd-products-element .products.wd-products .category-grid-item .wrapp-category {
  border: 1px solid #C0A997;
  border-radius: 8px;
}

/* Blog */
article.wd-post .entry-header .post-date.wd-post-date {
  min-width: 70px;
}
/* height article in blog*/
div.article-body-container{
	min-height: 170px !important;
	   display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
	justify-content: space-around;
/*     justify-content: space-between; */
}
/* height article in blog tablet*/
@media (min-width: 764px) and (max-width: 1300px) {
	div.article-body-container{
	min-height: 220px !important;
}
}

/* Products */
.post-type-archive-product .products .wrapp-category .hover-mask .more-products {
  display: none;
}

.post-type-archive-product .products .wrapp-category .hover-mask .wd-entities-title {
  background-color: var(--wd-primary-color);
  border-radius: 5px;
  color: #fff;
  padding: 3px 8px;
  font-size: 16px;
  font-weight: 700;
  position: relative;
}

@media (min-width: 769px) {
  .post-type-archive-product .products .wrapp-category  .hover-mask {
    inset-inline: unset;
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

/* Blog */
.wd-posts .wd-post .article-inner .entry-header .post-date::before {
  content: "";
  display: inline-block;
  background-image: url(https://nanerazavi.com/wp-content/uploads/2024/12/calendar-date-days-svgrepo-com.svg);
  background-repeat: no-repeat;
  background-size: 14px 14px;
  width: 14px;
  height: 14px;
  position: absolute;
  right: 6px;
  top: 8px;
}

/* Single Product */
.site-content.shop-content-area .single-product-page.single-product-content {
  margin-top: 20px;
}

/* Header */
.whb-col-mobile .info-box-wrapper .box-icon-wrapper .info-box-icon {
  width: 150px;
}

/* Gravity Form */
form .gform_footer input[type=submit] {
  background-color: var(--wd-primary-color);
  border-radius: 25px;
  color: #fff;
}
/* login & register */
 body.woocommerce-account.woocommerce-page .wd-content-layout{
	padding-block: 80px;
}
/* .shoar img{
width:148px !important;
} */



@media (min-width: 1025px) {
	/* div.site-logo img{
	max-height: 110px;
	width: 101px;
  margin-right: 45px;
	margin-top: -11px;
}
div.article-inner div.article-body-container h3.post-title a{
font-size:13px;
}
div.article-inner div.article-body-container h3.post-title a:hover{
color:#df2f29;
}
/*article.blog-post-loop div.article-inner div.article-body-container{
height: 65px!important;
} */
}

@media (min-width: 768px) and (max-width: 1024px) {
	/* div.site-logo div.woodmart-logo-wrap a img{
	    margin-left: 200px;
    margin-right: 200px;
} */

}

@media (max-width: 576px) {
	/*code css archive product max width(480px) wodmart-product-categories*/
ul.woodmart-product-categories li.cat-item ul.child-open li.cat-
item span.category-name{
color:white;
}
div.site-logo div.woodmart-logo-wrap a img{
	    margin-left: 25px;
    margin-right: 50px;
}

}

