/*
	Theme Name: persiandoor
	Theme URI: persiandoor
	Description: persiandoor by mohammad hoseyni @smh_47
	Author: nemayman.com
	Author URI: nemayman.com
	Version: 1
*/
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

*,
*::before,
*::after {
  box-sizing: border-box; /* 3 */
}

@font-face {
    font-family: 'IRANYekanX';
    src: url('fonts/IRANYekanX-DemiBold.woff2') format('woff2'),
        url('fonts/IRANYekanX-DemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanX';
    src: url('fonts/IRANYekanX-Black.woff2') format('woff2'),
        url('fonts/IRANYekanX-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanX';
    src: url('fonts/IRANYekanX-Bold.woff2') format('woff2'),
        url('fonts/IRANYekanX-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanX';
    src: url('fonts/IRANYekanX-ExtraBlack.woff2') format('woff2'),
        url('fonts/IRANYekanX-ExtraBlack.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanX';
    src: url('fonts/IRANYekanX-ExtraBold.woff2') format('woff2'),
        url('fonts/IRANYekanX-ExtraBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanX';
    src: url('fonts/IRANYekanX-Heavy.woff2') format('woff2'),
        url('fonts/IRANYekanX-Heavy.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanX';
    src: url('fonts/IRANYekanX-Medium.woff2') format('woff2'),
        url('fonts/IRANYekanX-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanX';
    src: url('fonts/IRANYekanX-Light.woff2') format('woff2'),
        url('fonts/IRANYekanX-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanX';
    src: url('fonts/IRANYekanX-Regular.woff2') format('woff2'),
        url('fonts/IRANYekanX-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanX';
    src: url('fonts/IRANYekanX-Thin.woff2') format('woff2'),
        url('fonts/IRANYekanX-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanX';
    src: url('fonts/IRANYekanX-UltraLight.woff2') format('woff2'),
        url('fonts/IRANYekanX-UltraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanXFaNum';
    src: url('fonts/IRANYekanXFaNum-DemiBold.woff2') format('woff2'),
        url('fonts/IRANYekanXFaNum-DemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanXFaNum';
    src: url('fonts/IRANYekanXFaNum-Black.woff2') format('woff2'),
        url('fonts/IRANYekanXFaNum-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanXFaNum';
    src: url('fonts/IRANYekanXFaNum-Bold.woff2') format('woff2'),
        url('fonts/IRANYekanXFaNum-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanXFaNum ExtraBlack';
    src: url('fonts/IRANYekanXFaNum-ExtraBlack.woff2') format('woff2'),
        url('fonts/IRANYekanXFaNum-ExtraBlack.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanXFaNum';
    src: url('fonts/IRANYekanXFaNum-ExtraBold.woff2') format('woff2'),
        url('fonts/IRANYekanXFaNum-ExtraBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanXFaNum';
    src: url('fonts/IRANYekanXFaNum-Heavy.woff2') format('woff2'),
        url('fonts/IRANYekanXFaNum-Heavy.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanXFaNum';
    src: url('fonts/IRANYekanXFaNum-Medium.woff2') format('woff2'),
        url('fonts/IRANYekanXFaNum-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanXFaNum';
    src: url('fonts/IRANYekanXFaNum-Light.woff2') format('woff2'),
        url('fonts/IRANYekanXFaNum-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanXFaNum';
    src: url('fonts/IRANYekanXFaNum-Regular.woff2') format('woff2'),
        url('fonts/IRANYekanXFaNum-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanXFaNum';
    src: url('fonts/IRANYekanXFaNum-Thin.woff2') format('woff2'),
        url('fonts/IRANYekanXFaNum-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanXFaNum';
    src: url('fonts/IRANYekanXFaNum-UltraLight.woff2') format('woff2'),
        url('fonts/IRANYekanXFaNum-UltraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

.enNumber,.enNumber *{font-family:IRANYekanX !important;}
/* Sections
 */
body {
  margin: 0;
  font-family: IRANYekanXFaNum,IRANYekanX;
  font-size: 14px;
  font-weight: 400;
  color: #333333;
  background-color: #fff;
}
body.langen{font-family:IRANYekanX !important;}
.subfieldParent{
	display:flex;gap:8px;flex-wrap:wrap;
}
.subfield{
	background:#F4F4F4;
	color:#3B3B3B;
	font-size:12px;
	padding: 4px 8px;
	border-radius: 8px;
}
.swiper-pagination-bullet{transition: all 0.3s}
.swiper-pagination-bullet-active{transform: scale(1.4);}
.e-font-icon-svg.e-eicon-frame-expand{display:none !important}
@media only screen and (max-width: 750px) {
.centerInMobile .elementor-icon-box-wrapper{
    justify-content: center
}
.centerInMobile .elementor-icon-box-content{
    flex-grow: unset !important;
  margin-top: 4px;
}
	.subfield{
		font-size:8px
	}
	
	.normalfont,.normalfont *{
		font-weight:normal !important
	}
}

/** responsive **/
.nav-is-toggled .nav-drill {
  -webkit-transform: translateX(0);
  transform: translateX(0);
}
.nav-is-toggled .blackbg,.blackBgActive .blackbg {
  width: 100%;
}
.nav-is-toggled::after {
  opacity: 1;
  visibility: visible;
}
.nav-drill , .nav-drill *{
	list-style:none;
	padding:0;
	margin:0
}
.nav-drill {
  display: flex;
  position: fixed;
  top: 0;
  right: 0;
  width: 310px;
  height: 100vh;
  background: #fff;
  -webkit-overflow-scrolling: touch;
  transition: 0.45s;
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
  flex-direction: column;z-index: 9999;
	overflow:hidden
}
.nav-drill .head {
  background: #003F5D;
  color: white;
  padding: 14px 20px;position: relative;
  z-index: 2;
	text-align:center
}
.nav-drill .head a {
  color: white;
}
.nav-drill .head a.lang{position: absolute;left: 16px;}
.nav-drill ul {
  flex: 0 0 100%;
}
.nav-drill ul li:not(:last-child) {
  border-bottom: solid 1px var(--grayBorder);
}
.nav-drill ul li.menu-item-bigtitle {
  border-top: 1px solid var(--grayBorder) !important;
}
.nav-drill ul li.menu-item-bigtitle a {
  color: var(--yellowDark);
  font-width: 700;
}
.nav-drill ul li.title {
  border-top: 1px solid #DCDCDC;
}
.nav-drill ul li.title a {
  font-weight: bold;
  color: #000;
  font-size: 16px;
  background: white !important;
  cursor: auto;
}
.nav-drill ul li.mega-menu.item-dir-vertical.active > .sub-menu {
  max-height: 1000px;
  transition: max-height 0.25s ease-in;
}
.nav-drill ul li.mega-menu.item-dir-vertical > .sub-menu {
  -webkit-transform: unset !important;
  transform: unset !important;
  height: auto;
  padding: 0;
  visibility: visible;
  max-height: 0;
  transition: max-height 0.15s ease-out;
  overflow: hidden;
}
.nav-drill ul li.mega-menu.item-dir-vertical > .sub-menu > .nav-back-link {
  display: none !important;
}
.nav-drill ul li.mega-menu.item-dir-vertical > .sub-menu > li {
  margin-bottom: 24px;
}
.nav-drill ul li.mega-menu.item-dir-vertical > .sub-menu > li:nth-child(2) {
  margin-top: 30px;
}
.nav-drill ul li.mega-menu.item-dir-vertical > .sub-menu > li:last-child {
  margin-bottom: 30px;
}
.nav-drill ul li.mega-menu.item-dir-vertical > .sub-menu > li > a {
  justify-content: flex-start;
  gap: 10px;
  padding: 0;
}
.nav-drill ul li.mega-menu.item-dir-vertical > .sub-menu > li > a::after {
  display: none;
}
.nav-drill ul li.mega-menu.item-dir-vertical > .sub-menu > li img {
  width: 24px;
  height: 24px;
}
.nav-drill ul li:not(.mega-menu.item-dir-vertical) .sub-menu {
  position: absolute;
  top: 0;z-index: 1
}
.nav-drill ul li a {
  display: block;
  padding: 18px 20px;
  background: #fff;
  color: #000;
  font-size: 13px;
  line-height: 1.5em;
  transition: all 0.3s;
}
.nav-drill ul li{transition: all 0.3s;}
.nav-drill ul li:hover {
  background: #c4c4c4;
}
.nav-drill ul li:hover > a {
  background: #EAEDED;
}
.nav-drill ul li .sub-menu {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
  background: #daf9f4;
  transition: 0.3s;
  visibility: hidden;
  padding: 110px 0 0;
	max-height: 100vh;
  overflow: hidden;
}
.nav-drill ul li .sub-menu li {
  border: 0;
}
.nav-drill ul li .sub-menu .nav-back-link {
  display: flex;
  align-items: center;
  cursor: pointer;
  border-top: 1px solid #DCDCDC;
}
.nav-drill ul li .sub-menu .nav-back-link i {
  transform: rotate(180deg);
  display: inline-block;
}
.nav-drill ul li.menu-item-has-children > a {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  align-items: center;position:relative;width:calc(100% - 64px);
	pointer-events:none
}
/*.nav-drill ul li.menu-item-has-children::before {
  background: #fff;
  width: 64px;
  height: 55px;
  content: "";
  position: absolute;
	left: 0;
	opacity: 0;cursor:pointer;
	transition: all 0.3s
}*/
.nav-drill ul li.menu-item-has-children:hover::after{background-color:#c4c4c4;}
.nav-drill ul li.menu-item-has-children > a::after {
  background: url("assets/images/arrowLeft2.svg") no-repeat center/8px auto;
  width: 64px;
  height: 100%;
  content: "";
  position: absolute;transition: all 0.3s;
	left: -64px;pointer-events: none;
}
.nav-drill ul li.menu-item-has-children.canScroll::after,.nav-drill ul li.menu-item-has-children.canScroll::before{visibility:hidden;opacity:0}
.nav-drill ul li.menu-item-has-children.active > .sub-menu {
  -webkit-transform: translateX(0);
  transform: translateX(0);
  visibility: visible;
}
.nav-drill ul li.menu-item-has-children.active.canScroll > .sub-menu {
	max-height:100%;
  overflow-y: auto;
  overflow-x: hidden;
}
.nav-drill ul li.menu-item-has-children.active .nav-back-link {
  display: block;
  position: absolute;
  top: 44px;
  width: 100%;
  padding: 18px 38px 18px 5px;
  right: 0;
  font-weight: 500;
  border-bottom: 1px solid #DCDCDC;
}
.nav-drill ul li.menu-item-has-children.active .nav-back-link::before{
	background: url("assets/images/arrowLeft2.svg") no-repeat center/8px auto;
  width: 30px;
  height: 55px;
  content: "";position: absolute;right: 9px;top: 0;transform: rotate(-180deg);cursor:pointer;
}
.nav-drill ul li.menu-item-has-children .sub-menu {
  background: #fff;
}
.nav-drill ul li.menu-item-has-children .nav-back-link {
  display: none;
}

.blackbg {
  position: fixed;
  right: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: #000;
  opacity: 0.7;
  z-index: 16;
  -webkit-transition: all 0.2s ease-in;
  -moz-transition: all 0.2s ease-in;
  -o-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
  display: block;
}
.nav-drill ul li{margin: 7px 0}
@media only screen and (max-width: 1000px) {
.nav-drill {
    display: flex;
  }
}

.add-to-compare{background: #F4F4F4;border: 0;display: flex;align-items: center;padding: 4px 8px;border-radius: 56px;font-family: IRANYekanXFaNum;gap: 4px;transition:all 0.3s;opacity:0}
.add-to-compare svg{pointer-events:none}
.productItemLoop:hover .add-to-compare{opacity:1}
.productItemLoop .postTitle a{transition: all 0.3s}
.productItemLoop:hover .postTitle a{color:#007EBA}
.add-to-compare.active{background: #D1F0FF;color: #007EBA;opacity:1}
.add-to-compare svg rect{transition:all 0.3s}
.add-to-compare.active svg rect{fill:#007EBA}
body:not(.archive) .add-to-compare{display:none !important}

.remove-compare-item{margin-left:5px;background: url(https://katooni47.ir/door/wp-content/uploads/2025/05/remove.svg) no-repeat center / contain;border: 0;border-radius: 100%;display: flex;align-items: center;justify-content: center;line-height: 0;width: 24px;height: 24px;font-size: 0;cursor:pointer}
.compare-item{margin-right: 10px;display: flex;color: #fff;align-items: center;border-right: 1px solid #fff;padding-right: 11px;}
.compare-item:last-child{border-right:0;padding-right:0;margin-right:0}
#go-to-compare{background: #FCCD6E;border: 0;border-radius: 4px;padding: 6px 12px;font-family: IRANYekanXFaNum;cursor:pointer;color: #003F5D;text-decoration: none;}
#clear-compare{background: #FFFFFF;border: 0;border-radius: 4px;padding: 6px 12px;font-family: IRANYekanXFaNum;cursor:pointer;color: #003F5D;}
.btnsCompare{display:flex; gap:10px;}
@media only screen and (max-width:800px) {
			.add-to-compare{opacity:1;font-size: 11px;padding: 3px 5px;}
	.add-to-compare svg{width:16px}
	.remove-compare-item{width: 16px;height: 16px;}
	.compare-item{font-size:11px;margin-right: 5px;padding-right: 5px;}
	.compare-items{width: 100%;justify-content: center;margin-bottom: 16px;gap: 10px;}
	.btnsCompare{width: 100%;justify-content: center;}
}

@keyframes wpcsi-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(231, 177, 65, 0.8);
    }
    60% {
        box-shadow: 0 0 0 10px rgba(231, 177, 65, 0);
    }
}