@font-face {
  font-family: 'IRANYekanX-Bold';
  src: url('../fonts/IRANYekanX-Bold.woff2') format('woff2'),
       url('../fonts/IRANYekanX-Bold.woff') format('woff');
  font-style: normal;
  font-weight: 700;  /* Set font-weight to bold for the bold font */
  font-display: fallback;
}

@font-face {
  font-family: 'IRANYekanX-Regular';
  src: url('../fonts/IRANYekanX-Regular.woff2') format('woff2'),
       url('../fonts/IRANYekanX-Regular.woff') format('woff');
  font-style: normal;
  font-weight: 400;  /* Assuming this is the regular weight */
  font-display: fallback;
}

html {
  overflow-x: hidden;
  scroll-padding-top: 20rem;
}

body {
  font-family: "IRANYekanX-Regular";
  cursor: default;
  direction: rtl;
  font-size: 1rem;
  line-height: 2;
  font-weight: 400;
  background-color: #fff;
  text-align: start;
  overflow: hidden;
  scroll-padding-top: 20rem;
	-moz-font-feature-settings: "ss02";
    -webkit-font-feature-settings: "ss02";
    font-feature-settings: "ss02";
}
.mce-content-body {
  font-family: 'IRANYekanX-Regular', 'IRANYekanX-Bold',sans-serif !important;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.post-content.single-content img
{
  border-radius: 5px;
}



p,
li {
  text-wrap: pretty;
}

.html-lazy {
  content-visibility: auto;
}


h1{
  font-size: 2rem;
  line-height: 1.5;
}
h2, h3,  h4,  h5, h6 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
}

a {

  text-decoration: none;
}


img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  vertical-align: middle;
  transition: 0.4s;
}





/*------------header---------------*/



.main-header {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
      background: #fafafa;
  z-index: 20;
  box-shadow: none;
  transition: all .3s ease-in-out;
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  -ms-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
}



.main-header a{
  color: #000;
}

.main-header.fixed {

  position: fixed;
  background: #fafafa;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: all .3s ease-in-out;
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  -ms-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
}



.main_menu ul{
  margin: 0;
}
.menu-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
      align-items: center;
  padding: 15px 0;
    position: relative;
}




.logo a {
  font-size: 20px;
  font-weight: 700;
  color: #353535;
  text-transform: uppercase;
}
@media (min-width: 992px) {
.main-menu
{
    margin-left: auto;
    margin-right: auto;
}

}


.main-menu
{
    margin-left: auto;

}



.logo figure{
	margin-bottom:0;
		margin-left:50px
	
}

.logo img {
    width: 120px;

  }	
  
@media (max-width: 991.98px) {
  .logo
  {
    display: flex;
        width: 100%;
        margin: auto;
        justify-content: center;
        margin-bottom: 5px;
  }
	  .logo figure {
    
    margin-left: 0px;
}
	
.logo img {
    width: 100px;

  }	
	
}




.search-modal-wrapper{
  position: fixed;
  z-index: 10000;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #000000c9;
  display: none;
  opacity: 0;
}

.search-modal-wrapper .search-form-wrapper{
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.close-search-modal{
  position: absolute;
  top: 65px;
  right: 25px;
  color: #fff;
  cursor: pointer;
}


.search-form-wrapper form {
  border-radius: 56px !important;
  padding: 0px 16px !important;
  -webkit-border-radius: 56px !important;
  -moz-border-radius: 56px !important;
  -ms-border-radius: 56px !important;
  -o-border-radius: 56px !important;
  background-color: #fff !important;

}
.bg-white{
  background-color: #fff !important;
}

.search-holder-icon{

  width: 33px;
  height: 33px;

  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}






.search-form form{
  border: 1px solid #EDF1F4;
  width: 100%;
  height: 100%;
  border-radius: 25px;
  overflow: hidden;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
}





.search-form form input.s-text{
  width: calc(100% - 25px);
  padding: 5px 10px;
  font-size: 1rem;
  height: 100%;
  border: 0;
  outline: 0;
}
.search-form form button{
  background-color: #fff;
  border: none;
  color: var(--primery);
  font-size: 1.3rem;
}

.language-switcher {
  font-size: 16px;
  margin: 0 15px;
  cursor: pointer;
}

.language {
  transition: font-size 0.3s ease;
}

.language.active {
  font-size: 24px; /* Larger size for the active language */
  font-weight: bold;
  line-height: 0;
}

@media (max-width: 991.98px) {

  .menu-box {
    padding: 15px 0;
}
.language-switcher {

  margin-right: auto;
}



  
}




/*------------------------------------*/

.rank-math-breadcrumb{
  border-radius: 5px;
  line-height: 50px;
  min-height: 50px!important
}

.rank-math-breadcrumb .last {
  /*color: var(--primery)*/
}
.bread-crump {
  padding-top: 12px;
  padding-bottom: 12px;
  background-color: transparent;
  border-top: 0px solid;
}
.rank-math-breadcrumb, .rank-math-breadcrumb p {
  width: 100%;
  height: 100%;
   margin-bottom: 0 !important;
  color: var(--gray);
  flex-wrap: wrap;
	line-height: 1.7;

}
.rank-math-breadcrumb p * {
  font-weight: 400;
  font-size: 13px;
  line-height: 20px;
  color: var(--gray);

  text-transform: capitalize;
}
.rank-math-breadcrumb p a:hover {
  color: var(--primery);
}
.separator{
  color: var(--primery)!important;
  font-family: monospace;
  }
/*----------------------*/

/*----------------------*/

.main-footer {
      background: #FAFAFA;
  padding: 50px 0 0 0;
  position: relative;
	margin-top: 50px;
 
}


@media only screen and (min-width: 992px) {

  .main-footer{
    margin-top: 100px;
  }
}




.footer-link
{
  padding: 0;
}

.footer_img{
	margin-bottom:0;
	margin-top: 30px;
}


.footer-text {
  color: #fff;
  text-align: justify;
  padding-top: 20px;
}
.footer-title {
  color: #000;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 15px;
  display: inline-block;
}

.footer-link li {
  color: #5A5A5D;
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 8px;
}
.footer-link li a{
  color: #5A5A5D;
}

.social-items {
  display: flex;
}


.social-item figure {
  margin-left: 5px;
  width: 28px;
  height: 28px;
  border: 1px solid #000;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px;
}
.footer-link.contact svg
{
  position: relative;
    top: 4px;
    margin-left: 5px;
    flex-shrink: 0
}

.social-title
{
   color: var(--primery);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
}

.copyright-section {
    color: #5A5A5D;
  padding-top: 8px;
  padding-bottom: 8px;
  margin-top: 20px;
  font-size: 12px;

}

.copyright-text .text-left a{
  color: #5A5A5D;
	    display: flex;
    align-items: center;
}
.copyright-text figure{
margin:0;
	    margin-right: 5px;
}

.footer-section{
  margin-right: 15px;
  margin-left: 15px;
}

@media (min-width: 992px) {
.footer-logo-column
{
	    display: flex;
    justify-content: center;
}

}

/*----------------------*/
.error-section {
  width: 100%;
  min-height: 80vh;
  margin-top: 80px;
  display: flex
;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.error-section figure {
  width: 100%;
  max-height: 500px;
  display: flex;
  justify-content: center;
}


.error-section figure img {
  max-height: 500px;
  max-width: 80%;
}


.error-page-button {
  text-align: center;
}

.error-section span {
  width: 540px;
  max-width: 90%;
  font-size: 1.5rem;
  color: var(--primery);
  text-align: center;
  font-weight: 700;
  margin: 16px 0;
}

/*----------------------*/
.error-section {
  width: 100%;
  min-height: 80vh;
  margin-top: 80px;
  display: flex
;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.error-section figure {
  width: 100%;
  max-height: 500px;
  display: flex;
  justify-content: center;
}


.error-section figure img {
  max-height: 500px;
  max-width: 80%;
}

.search-form {
  width: 500px;
  height: 60px;
  margin: 0 15px;
}


  @media (max-width: 767px) {

   .search-form {
  width: auto;

}


  }


.error-page-button {
  text-align: center;
}

.error-section span {
  width: 540px;
  max-width: 90%;
  font-size: 1.5rem;
  color: var(--primery);
  text-align: center;
  font-weight: 700;
  margin: 16px 0;
}






/*--------swiper------------*/

	 .section_slider{
	
		  position: relative;
         display: flex;
         flex-wrap: wrap;
  
	  }

 

  @media (max-width: 1023px) {

    .swiper-button-next, .swiper-button-prev{
      display: none!important;
    }

  }

  @media (max-width:1199.98px) {
 
    .swiper-button-prev {
      left: -19px !important;
    }
    
    }


  .swiper-button-prev 
  {
    right: unset !important;
     background: var(--primery) !important;
    border-radius: 5px !important;
    width: 40px !important;
    height: 40px !important;
    left: -17px !important;
  }

  .swiper-button-next{
    right: -17px !important;
    background: var(--primery) !important;
    border-radius: 5px !important;
    width: 40px !important;
    height: 40px !important;
  }


  .swiper-button-prev::after,.swiper-button-next::after{
    font-size: 0!important;
  }
  
  .swiper-button-prev svg 
  {
    transform: rotate(180deg);
  }




/*--------menu------------------*/


/* Base Styles */
nav {
  position: relative;
}

.container-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;

}

.menu {
  display: flex;
 position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
  transition: right 0.3s ease;
}

.menu li {
 
	list-style-type: none;
}

.menu a {
  text-decoration: none;
  color: #5A5A5D;
  display: block;
  padding: 8px 12px;
}

.dropdown-content-img a{
	
    padding: 0 10px 0 0px;
	
}



/* Dropdown for Desktop */
.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: 40px;
  background: white;
  width: 1000px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 1000;
      color: #5A5A5D;

}
@media (max-width: 1399px) {

.dropdown-content {

  width: 762px;
	}
	
}

@media only screen and (min-width: 992px) {
.menu li:hover .dropdown-content {
  display: flex;
	justify-content: space-between;
}
}

.dropdown-content > div {
   flex:1;
  padding: 0 10px;
}
.dropdown-content-img
{
    display: flex;
    
 flex: 3 !important;	
	
}

.dropdown-content img {
    width: 170px;
    height: 260px;
    object-fit: cover;
}
.dropdown-content figure {
	margin-bottom:0;
	position: relative;
}
.dropdown-content-caption{
	
	position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
    color: #fff;
	
}



/* Hamburger */
.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background: #000;
  margin: 4px 0;
}





/* Mobile Side Menu */
@media (max-width: 991px) {
  .menu {
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
     background-color: #f5f5f5;
    padding: 20px;
    overflow-y: auto;
    z-index: 2000;
    transition: right 0.3s ease;
  }

  .menu.active {
    right: 0;
  }

  .menu a {
    color: #5A5A5D;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	  font-weight: 600;
  }

  .dropdown-content {
    position: static;
    display: block ;
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    flex-direction: column;
	          width: 275px;
  }

  
  .dropdown-content li {
   color: #5A5A5D;
	  border-bottom: 1px solid #eee;
  }

  .dropdown-content img {
    width: 80px;
    margin: 5px 0;
  }

  .hamburger {
    display: block;
  }
}

.close-btn {
  display: none; /* فقط در موبایل نمایش داده شود */
  text-align: left;
  padding: 10px 0;
}

.close-btn span {
  font-size: 28px;
   color: #5A5A5D;
  cursor: pointer;
}

.dropdown-item
{
position:relative;
	    margin-bottom: 10px;
}
@media (min-width: 992px) {
.dropdown-item:before{
	
	content:"";
	position:absolute;
	bottom:0;
	background:#F9D423;
	height: 2px;
    width: 50px;
	
}
}
 .dropdown-content li:last-child
{
margin-bottom: 20px;	
	
}

.dropdown-ul{
    padding-right: 0;	
	
}

@media (max-width: 991px) {
  .close-btn {
    display: block;
	  position: absolute !important;
        left: 20px;
        top: 2px;
        z-index: 222;
  }
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  z-index: 1000;
}
#overlay.active {
  display: block;
}





/* ================= DESKTOP STYLES ================= */

.simple-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  width: 180px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  z-index: 1000;
  flex-direction: column;
}

.has-dropdown {
  position: relative;
}


.simple-dropdown li {

  width: 100%;
}

.simple-dropdown li:hover {
  background-color: #f0f0f0;
}

/* ================= MOBILE STYLES ================= */

@media (max-width: 991px) {
  .simple-dropdown {
    display: none; /* پیش‌فرض مخفی */
    position: static;
    background: transparent;
    box-shadow: none;
    padding: 0;
    flex-direction: column;
    width: 100%;
  }

  .simple-dropdown.active {
    display: flex; /* نمایش با کلاس active */
  }

  .simple-dropdown li {
    border-bottom: 1px solid #eee;
    
  }
	 .simple-dropdown li a
      {
	        padding: 0;
	
	}
	
	.dropdown-content-img a {
    padding: 0 0px 0 10px;
}

  .has-dropdown,.dropdown-item {
    position: relative;
  }

  .has-dropdown > a::after,.dropdown-item:after {
    content: "▼";
    font-size: 12px;
    margin-right: 6px;
    float: left;
  }
	.dropdown-ul{
	display:none	
		
	}
	
.dropdown-ul.open,
.simple-dropdown.open {
  display: block;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}	
	
}

/*-----------------*/

.read-more-btn
{
  margin: auto;
  display: flex;
  font-size: 1rem !important;
  border: 0 !important;
  background-color: var(--primery) !important;
  outline: 0 !important;
  padding: 5px 35px;
  border-radius: 60px;
  color: #fff;
  margin-top: 15px;
}


/*--------woocommerce-------------*/


.product_card_content_wrapper{
  background-color: #fff;
  position: relative;
  box-shadow: 1px 0px 4px 1px rgb(0 0 0 / 15%);
  min-height: 470px;
     margin: 20px 5px;
	transition:all .3s ;
	    min-height: 510px;
}
.product_card_content_wrapper:hover
{
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
	
}
.products li.product a img, .swiper li.product a img  {

  box-shadow: none;
  height: 300px!important;
  object-fit: cover!important;
  width: 100%!important;
    display: block!important;
    margin: 0 0 1em!important;
}


.woocommerce li .button {

  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  width: 180px;
  font-size: .8rem;
  text-align: center;
  bottom: 15px;
}

.woocommerce  li .price {
  

    display: flex!important;
    flex-direction: column!important;
    align-items: end;
    padding-left: 15px;
  color: #000!important;
  font-weight: 400!important;
    margin-bottom: .5em!important;
    font-size: .857em!important;
}

.woocommerce a.added_to_cart {

  display: none;
}

.woocommerce-loop-product__title{
padding: 0px 15px 10px 15px !important;
    color: #000;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 28px;
	    font-size: 1em;
}


.woocommerce  li.price ins {

  text-decoration: none;
}

.price ins {
  text-decoration: none;
}
.product_card_content_wrapper .star-rating
{
    position: absolute !important;
    top: 51%;
    left: 15px;
    font-size: .857em;
}


@media only screen and (max-width: 991px) {
   .products li.product a img, .swiper li.product a img  {

    height: 220px !important;	
	
	}
	
	.product_card_content_wrapper .star-rating {

           top: 45%;
	}
	
	.product_card_content_wrapper {

           min-height: 430px;
	}
	
}



@media only screen and (max-width: 767px) {
.woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product {
  width: 48%;
  
}

.products li.product a img, .swiper li.product a img  {

    height: 180px !important;	
	
	}
	.product_card_content_wrapper {

           min-height: 450px;
	}
	
	
	.woocommerce-loop-product__title {
 
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    height: 52px;
}
.product_card_content_wrapper .star-rating {

           top: 35%;
	}
}

/*---------*/



.woocommerce .star-rating span::before {

    color: #ffd600;
}

.woocommerce p.stars a::before {

    color: #ffd600;
}


.open-minicart
{

  position: relative;

  width: 33px;
  height: 33px;
  display: flex;
  align-items: center;
  justify-content: center;

}

.logedin{
  position: relative;
  margin:0 4px;
  width: 33px;
  height: 33px;
  display: flex;
  align-items: center;
  justify-content: center;

}

@media only screen and (max-width: 991px) {
.logedin{
  
  margin:0;
	
	
	}
}


.login-status-mobile{
  position: relative;
  width: 33px;
  height: 33px;
  display: flex;
  border-radius: 100%;
  align-items: center;
  justify-content: center;
}
.login-status-desktop{
  position: relative;
  margin:0 8px;
  width: 33px;
  height: 33px;
  display: flex;
  border-radius: 100%;
  align-items: center;
  justify-content: center;
}

.login-status a
{
  display: flex;
    align-items: center;
}
.open-minicart span
{
  position: absolute;
    background-color: var(--content);
    color: var(--wihte);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    display: flex;
        top: -10px;
    left: -6px;;
    font-size: .8rem;
}
.product-english-name
{
	    color: #737373;
    padding-right: 15px;
	    font-size: 14px;
}

.discount-percentage
{
	background: #F83600;
    position: absolute;
    border-radius: 4px;
    display: block;
    color: #fff;
    text-align: center;
    padding: 0px 5px;
	    width: 32px;
    font-size: 12px;
  
}

.woocommerce ul.products li.product .price del {
  
       margin-left: 35px;
}
.woof_container_inner h4 {
   
    justify-content: space-between;
    display: flex;
	border-bottom: 1px solid #DFDFDF;
    padding-bottom: 10px;
}

/*--------------------*/
.value-figure
{
	width: 40px;
    justify-content: center;
    margin: auto;
    text-align: center;
	    margin-bottom: 5px;
}

.values-txt
{
	text-align: center;
    display: block;
}
.insert_values
{
	border: 1px solid #eee;
    margin: 50px 0 0 0;
    padding: 20px
}
@media only screen and (max-width: 767px) {
.insert_values
{
font-size: 14px;
}
}
.onsale{
	
	display:none
	
}

#product-thumbnails {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 10px;
	    overflow-x: auto;
}
#product-thumbnails img {
	width: 40px!important;
	height: 40px!important;;
	border: 1px solid transparent;
	cursor: pointer;
}
#product-thumbnails img:hover {
	border-color: #000;
}


.cart-status {
   
    display: inline-block;
	    position: relative;
}

.mini-cart-container {
    position: absolute;
    left: 0;
        top: 30px;
       width: 350px;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-radius: 8px;
    z-index: 9999;
    padding: 15px;
    transition: all 0.3s ease;
}

@media only screen and (max-width: 375px) {
.mini-cart-container {
	  width: 300px;
	
	}
}
.d-none {
    display: none;
}

.mini-cart-content {
    max-height: calc(100vh - 250px);
    overflow-y: auto;
}

.cart-status .woocommerce-mini-cart-item.mini_cart_item img
{
	    width: 100px;
    height: 100px;
	float: left;
    margin-right: 4px;
}
.cart-status .button
{
	background: #f83600!important;
    color: #fff!important;
    padding: .618em 1em!important;
    font-weight: 700;
    border-radius: 3px!important;
	    width: 130px!important;
    text-align: center!important;
}

.cart-status .woocommerce-mini-cart__buttons.buttons
{
	    display: flex;
    align-items: center;
        justify-content: space-between;
	font-size: 13px;
}

.cart-status .woocommerce-mini-cart__total.total{
	 border-radius: 3px;
	   padding: .618em 1em;
	    border: 1px solid #aaa;;
    text-align: center;
	
}

.cart-status .woocommerce-mini-cart-item.mini_cart_item
{
	
    list-style: none;
	    display: flex;
    flex-direction: column;
	
}


.cart-status li a{
    display: block;
    font-weight: 700;
}

.cart-status ul
{
padding: 0!important;
    margin-bottom: 45px!important;	
	
}


.cart-status a.remove {
    display: block;
    font-size: 1em;
    height: 1em;
    width: 1em;
    text-align: center;
    line-height: 1;
    border-radius: 100%;
    color: var(--wc-red) !important;
    text-decoration: none;
    font-weight: 700;
    border: 0;
    order: 1;
	position:relative
}


.cart-status a.remove:before{
    content: "حذف";
    position: absolute;
    font-size: 10px;
    top: 0;
    bottom: 0;
    margin: auto;
    display: flex;
    align-items: center;
    padding-right: 15px;
	
	
	
}




.cart-status ul.cart_list li:not(:last-of-type) {

    border-bottom: 1px solid #e5e5e5;
       margin-bottom: 10px;
}
.cart-status ul.cart_list li
{
	    min-height: 135px;
}


.woocommerce #payment #place_order, .woocommerce-page #payment #place_order ,.checkout-button.button {
  
    background: #f83600 !important;
}

.dash-lg-box
{
	transform: rotate(90deg);
    position: relative;
    top: 16px;
}


@media only screen and (max-width: 1200px) {
.menu a {

    padding: 8px 8px;
}
}

#billing_country_field { 
    display: none !important; 
}
