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

.wd-popup.wd-promo-popup{
	background-color:rgb(255,255,255);
	background-image: none;
	background-repeat:no-repeat;
	background-size:contain;
	background-position:left center;
}

.page-title-default{
	background-color:#0a0a0a;
	background-image: none;
	background-size:cover;
	background-position:center center;
}

.footer-container{
	background-color:#f7f7f7;
	background-image: none;
}

:root{
--wd-text-font:"IRANSansWeb_FaNum_Medium", Arial, Helvetica, sans-serif;
--wd-text-font-weight:400;
--wd-text-color:#777777;
--wd-text-font-size:14px;
}
:root{
--wd-title-font:"IRANSansWeb_FaNum_Bold", Arial, Helvetica, sans-serif;
--wd-title-font-weight:600;
--wd-title-color:#242424;
}
:root{
--wd-entities-title-font:"IRANSansWeb_FaNum_Medium", 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%);
}
:root{
--wd-alternative-font:"IRANSansWeb_FaNum_Medium", Arial, Helvetica, sans-serif;
}
:root{
--wd-widget-title-font:"IRANSansWeb_FaNum_Medium", 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;
}
:root{
--wd-header-el-font:"IRANSansWeb_FaNum_Medium", Arial, Helvetica, sans-serif;
--wd-header-el-font-weight:500;
--wd-header-el-transform:uppercase;
--wd-header-el-font-size:14px;
}
html .product.category-grid-item .wd-entities-title, html .product.category-grid-item.cat-design-replace-title .wd-entities-title, html .categories-style-masonry-first .category-grid-item:first-child .wd-entities-title, html .product.wd-cat .wd-entities-title{
	font-size: 16px;
}

:root{
--wd-primary-color:rgb(221,28,28);
}
:root{
--wd-alternative-color:rgb(253,207,6);
}
:root{
--wd-link-color:#333333;
--wd-link-color-hover:#242424;
}
:root{
--btn-default-bgcolor:rgb(247,247,247);
}
:root{
--btn-default-bgcolor-hover:#efefef;
}
:root{
--btn-accented-bgcolor:rgb(17,173,77);
}
:root{
--btn-accented-bgcolor-hover:rgb(17,173,77);
}
:root{
--notices-success-bg:#459647;
}
:root{
--notices-success-color:#fff;
}
:root{
--notices-warning-bg:#E0B252;
}
:root{
--notices-warning-color:#fff;
}
	:root{
					
			
							--wd-form-brd-radius: 0px;
					
					--wd-form-brd-width: 2px;
		
					--btn-default-color: #333;
		
					--btn-default-color-hover: #333;
		
					--btn-accented-color: #fff;
		
					--btn-accented-color-hover: #fff;
		
									--btn-default-brd-radius: 0px;
				--btn-default-box-shadow: none;
				--btn-default-box-shadow-hover: none;
				--btn-default-box-shadow-active: none;
				--btn-default-bottom: 0px;
			
			
			
					
					
			
			
							--btn-accented-brd-radius: 5px;
				--btn-accented-box-shadow: none;
				--btn-accented-box-shadow-hover: none;
					
									--wd-sticky-btn-height: 95px;
					
					--wd-brd-radius: 0px;
			}

			@media (max-width: 1024px) {
			:root {
				--wd-sticky-btn-height: 95px;
			}
		}
	
			@media (max-width: 768px) {
			:root {
				--wd-sticky-btn-height: 42px;
			}
		}
	
	
	
			div.wd-popup.popup-quick-view {
			max-width: 920px;
		}
	
	
	
			:root {
			--wd-header-banner-h: 80px;
		}
		@media (max-width: 1024px) {
			:root {
				--wd-header-banner-h: 45px;
			}
		}
	
			.woodmart-woocommerce-layered-nav .wd-scroll-content {
			max-height: 280px;
		}
	
	
:root{
	--wpt_primary: rgb(17,173,77) !important;
}
.elementor-section-boxed.elementor-section-stretched.wd-negative-gap > .elementor-container.elementor-column-gap-default {
	margin: auto !important;
}
.wd-nav-vertical>li>a {
	padding: 8px 18px !important;
	font-size: 13px !important;
}
.header-banner .header-banner-container {
	padding: 0 !important;
}
.product_list_widget>li>a:first-child {
	display: none !important;
}
.owl-carousel.owl-rtl .owl-item {
	min-height: inherit !important;
}
.page-title .title {
	color: #fff !important;
}
.product_title {
	font-size: 22px !important;
}
.wd-info-box .info-box-content p {
	font-weight: 700;
	color: #444444;
}
/* تغییر سرچ هدر */
.search-style-with-bg.searchform input[type="text"] {
	border-radius: 5px !important;
	background: #efefef !important;
	border: navajowhite !important;
}

.searchsubmit {
	border-top-left-radius: 5px !important;
	border-top-right-radius: 0px !important;
	border-bottom-right-radius: 0px !important;
	border-bottom-left-radius: 5px !important;
}

.woodmart-search-form {
	max-width: 72% !important;
}
.searchsubmit {
	color: #fff !important;
}
/* منو عمودی */

.menu-opener.color-scheme-light {
	border-top-left-radius: 5px !important;
	border-top-right-radius: 5px !important;
}
.wd-dropdown-cats {
	border-radius: 0px 0px 7px 7px !important;
}

/* حساب کاربری هدر */
.woodmart-header-links.woodmart-navigation.menu-simple-dropdown.wd-tools-element.item-event-hover.my-account-with-text {
	border: 1px solid #d4d4d4 !important;
	border-radius: 5px !important;
}


/* خط هدر */
.whb-row.whb-header-bottom.whb-sticky-row.whb-without-bg.whb-without-border.whb-color-dark.whb-flex-flex-middle.whb-hidden-mobile {
	border-bottom: 2px solid #8d8d8d47 !important;
}
.whb-main-header .wd-header-wishlist .wd-tools-count {
	background-color: #FF0000 !important;
}
.searchform .searchsubmit {
	background-color: #fff!important;
	border-width: 2px 0 2px 2px!important;
	border-style: solid!important;
	border-color: #E8EBF0!important;
}
.searchform .searchsubmit:after {
	color: rgb(17,173,77);
}
.whb-header-bottom {
	padding-bottom: 10px;
}
.whb-main-header .whb-header-bottom .wd-header-cats.wd-style-1 .menu-opener {
	border-radius: 50px !important;
	padding: 5px !important;
}
.whb-main-header .whb-header-bottom .wd-header-cats.wd-style-1 .menu-opener:after {
	display: none;
}
/* home slider and banners equal height */
.demo-one-sliders-section > .elementor-container{
	max-height: 460px;
	overflow: hidden;
}
.demo-one-sliders-section > .elementor-container .right-column,
.demo-one-sliders-section > .elementor-container .left-column{
	max-height: 100%;
}
.demo-one-sliders-section > .elementor-container .right-column > .elementor-widget-wrap{
	padding-left: 15px;
	height: 100%;
}
.demo-one-sliders-section > .elementor-container .right-column > .elementor-widget-wrap > .elementor-element,
.demo-one-sliders-section > .elementor-container .right-column > .elementor-widget-wrap > .elementor-element .elementor-widget-container,
.demo-one-sliders-section > .elementor-container .right-column > .elementor-widget-wrap > .elementor-element .elementor-widget-container .elementor-swiper,
.demo-one-sliders-section > .elementor-container .right-column > .elementor-widget-wrap > .elementor-element .elementor-widget-container .elementor-swiper .elementor-slides-wrapper{
	height: 100%;
}
.demo-one-sliders-section > .elementor-container .left-column > .elementor-widget-wrap{
	display: flex;
	max-height: 100%;
	justify-content: space-between;
	flex-direction: column;
}
.demo-one-sliders-section > .elementor-container .left-column > .elementor-widget-wrap .elementor-element{
	height: 48.5%;
	margin: 0;
}
.demo-one-sliders-section > .elementor-container .left-column > .elementor-widget-wrap .elementor-element .elementor-widget-container{
	height: 100%;
	display: flex;
}
.demo-one-sliders-section > .elementor-container .left-column > .elementor-widget-wrap .elementor-element .elementor-widget-container img{
	height: 100%;
}
.demo-one-slider .elementor-main-swiper,
.demo-one-slider .elementor-slides .swiper-slide-bg {
	border-radius: 10px !important;
}
.home-category .more-products {
	display: none;
}
.home-category .elementor-widget-container {
	overflow: hidden;
}
.home-category .owl-carousel.owl-rtl .owl-item {
	border-right: 1px solid #E8EBF0;
}

@media (min-width: 992px){
.custom-nav .wd-btn-arrow {
	background-color: #fff !important;
	border-radius: 50% !important;
	width: 48px;
	height: 48px;
	border: 1px solid #CCCFD4;
}
.custom-nav .wd-btn-arrow:hover {
	background-color: var( --e-global-color-primary ) !important;
}

.custom-nav .wd-btn-arrow:after {
	color: #666666 !important;
	font-size: 14px !important;
}
.custom-nav .wd-btn-arrow:hover:after {
	color: #fff !important;
}
}

.custom-nav .wd-btn-arrow[class*="prev"] {
	right: -20px !important;
}
.custom-nav .wd-btn-arrow[class*="next"] {
	left: -20px !important;
}
.products-with-tabs .wd-nav.wd-nav-tabs .wd-nav-link {
	color: #999999;
	font-weight: 400;
}
.products-with-tabs .wd-tabs .tabs-name {
	border-bottom: 2px solid var(--wd-primary-color);
}
.products-with-tabs .owl-carousel.owl-rtl .owl-stage{
	display: flex;
}
.products-with-tabs .owl-carousel.owl-rtl .owl-item {
	transition: all 0.3s;
	float: none;
}
.products-with-tabs .slide-product,
.products-with-tabs .slide-product .product-grid-item {
	height: 100%;
}
.slider-type-product :is(.owl-stage-outer,.owl-carousel:not(.owl-loaded)) {
	padding: 0 !important;
}
.products-with-tabs .owl-carousel.owl-rtl .owl-item .product-grid-item .wd-entities-title a:hover {
	color: var( --e-global-color-primary ) !important;
}
.products-with-tabs .wd-buttons {
	background: #FFFFFF;
	border: 1px solid #E8EBF0;
	box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.05);
	border-radius: 5px;
}
.products-with-tabs .wd-hover-fw-button .wd-add-btn>a {
	background-color: var( --e-global-color-accent );
	margin-top: 10px;
	color: var( --e-global-color-primary );
}
.products-with-tabs .product-wrapper {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.elementor-section.wd-negative-gap>.elementor-column-gap-default {
	margin-right: 0 !important;
	margin-left: 0 !important;
}
.products-list .product_list_widget li {
	padding: 20px;
	margin: 0 !important;
	transition: all 0.3s;
}
.products-list .product_list_widget li:hover {
	box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.1);
}
.blog-wrapper .blog-design-meta-image .wd-post-inner {
	border-radius: 15px !important;
}
.blog-wrapper .blog-design-meta-image .wd-post-inner img {
	border-radius: 15px 15px 0 0;
	height: 225px;
	object-fit: fill;
}
.blog-wrapper .blog-design-meta-image .wd-post-inner .post-title {
	font-weight: 700;
	font-size: 14px;
	line-height: 24px;
}
.blog-wrapper .blog-design-meta-image .wd-post-inner .post-title:hover a {
	color: var( --e-global-color-accent ) !important;
}
.blog-wrapper .blog-design-meta-image .wd-post-inner .wd-post-entry-meta {
	font-weight: 400;
	font-size: 12px !important;
	line-height: 21px;
	color: #999999;
}
.blog-wrapper .blog-design-meta-image .wd-post-inner .wd-read-more a {
	font-weight: 400;
	font-size: 13px;
	color: #666666;
}
.blog-wrapper .blog-design-meta-image .wd-post-inner .wd-read-more a:hover {
	color: var( --e-global-color-primary );
}
.blog-wrapper .blog-design-meta-image .wd-post-inner .wd-read-more a:before {
	content: "\f30a";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	margin-left: 10px;
}
.blog-wrapper .owl-carousel .owl-stage {
	display: flex;
}
.blog-wrapper .owl-carousel .owl-item {
	float: none !important;
}
.blog-wrapper .slide-post,
.blog-wrapper .slide-post article,
.blog-wrapper .slide-post article .wd-post-inner {
	height: 100%;
}

.products-grid .elements-grid {
	box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.05);
}
.products-grid .product-wrapper {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
}
.products-grid .product-grid-item .product-wrapper {
	padding: 20px;
}
.products-grid .product-grid-item .product-wrapper .wd-entities-title {
	text-align: right;
}
.products-grid .product-grid-item .product-wrapper .wd-entities-title:hover a {
	color: var( --e-global-color-primary );
}
.products-grid .product-grid-item .product-wrapper .wd-add-btn>a {
	background-color: var( --e-global-color-primary );
	margin-top: 20px;
	width: 100%;
}
.products-grid .product-grid-item .product-wrapper .price {
	text-align: right;
}
.products-grid .wd-buttons {
	background: #FFFFFF;
	border: 1px solid #E8EBF0;
	box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.05);
	border-radius: 5px;
}
.wd-post-img img {
	height: 300px;
	object-fit: cover;
}
.ywcrbp_regular_price {
	display: inline !important;
}
.ywcrbp_sale_price {
	display: inline !important;
	margin-right: 5px;
}
.wd-reset-var {
    width: auto !important;
}
.back-to-archive {
	width: 180px !important;
	gap: 10px;
}
.woocommerce-MyAccount-navigation {
	width: 100% !important;
}
@media screen and (min-width: 1200px) {
	.post-single-page .article-body-container,
	.wc-tabs-wrapper .woocommerce-Tabs-panel.woocommerce-Tabs-panel--description {
		padding: 0 50px;
	}
}
@media screen and (max-width: 991px) {
	.custom-nav .owl-nav {
		display: none;
	}
}
.woocommerce-LostPassword{
	display: none !important;
}

div.quantity {
    display: flex;
    vertical-align: top;
    white-space: nowrap;
    font-size: 0;
    flex-direction: row-reverse;
}

/* صفحه پروفایل آهنگرزاده */
.button-container {
    display: table;
    flex-wrap: wrap;
    justify-content: space-evenly;
    max-width: 800px;
    margin: 0 auto;
    gap: 10px;
    flex-direction: row-reverse;
}
.button {
    display: flex;
    align-items: center;
	  justify-content: space-evenly;
    width: 200px;
    height: 50px;
    padding: 10px;
    border: none;
    background-color: transparent;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.2);
}

form button, .comment-form button, a.cz_btn, div.cz_btn, a.cz_btn_half_to_fill:before, a.cz_btn_half_to_fill_v:before, a.cz_btn_half_to_fill:after, a.cz_btn_half_to_fill_v:after, a.cz_btn_unroll_v:before, a.cz_btn_unroll_h:before, a.cz_btn_fill_up:before, a.cz_btn_fill_down:before, a.cz_btn_fill_left:before, a.cz_btn_fill_right:before, .wpcf7-submit, input[type=submit], input[type=button], .button, .cz_header_button, .woocommerce a.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, #edd-purchase-button, .edd-submit, [type=submit].edd-submit, .edd-submit.button.blue, .woocommerce #payment #place_order, .woocommerce-page #payment #place_order, .woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled], .woocommerce a.button.wc-forward, .wp-block-search .wp-block-search__button {
    font-weight: 600;
    background-color: transparent;
    background-image: linear-gradient(0deg,#f2b400,#ebb34b);
/*     padding: 15px 30px; */
    border-style: solid;
    border-radius: 99px;
}
body.woocommerce-checkout .woocommerce .woocommerce-form-login-toggle {
	display: none !important;
}
.login-notice {
	margin-bottom: 10px;
}
.login-notice .checkout-login-button {
	margin-inline-start: 5px;
    color: var(--wd-primary-color) !important;
	text-decoration: underline;
}
.h_iframe-aparat_embed_frame {
	    width: 40%;
    height: 40%;
    margin: auto;
}
@media screen and (max-width:767px) {
	.h_iframe-aparat_embed_frame {
	    width: 100%;
    height: 100%;
    margin: auto;
}
}
//////////////
.wpt-container p {
	line-height: 16px !important;
}
.wpt_product_table_wrapper .cart_list .mini_cart_item {
	padding: 6px 10px !important;
}
.wpt_product_table_wrapper .cart_list .cart-item-link {
	display: none!important;
}
.wpt_product_table_wrapper .cart_list .remove_from_cart_button:before {
	line-height: 29px !important;
}
.wpt_product_table_wrapper .cart_list .quantity {
	margin: 5px 0 !important;
}
.wpt_product_table_wrapper .all_check_header_footer label:after,
.wpt_product_table_wrapper td.wpt_check label:after {
	right: 3px !important;
	left: unset !important;
}
.wpt_product_table_wrapper input {
	text-align: center !important;
	height: 32px !important;
	line-height: normal !important;
}

.wpt_product_table_wrapper .wpt_product_table td.wpt_action form {
	margin-left: 20px;
}
.wpt-new-footer-cart {
	width: 450px !important;
}
.wpt-new-footer-cart .count {
	text-align: center;
}
.wpt_product_table_wrapper .shopping-cart-widget-footer .buttons {
	margin-top: 10px !important;
}
.wpt-container .search_single.search_single_texonomy span.selection span.select2-selection.select2-selection--single,
.wpt-container .search_single_column span.selection span.select2-selection.select2-selection--single {
	height: auto !important;
}
@media only screen and (max-width: 768px) {
	.wpt-new-footer-cart {
		width: 100% !important;
		bottom: 0 !important;
	}
	.wpt_product_table_wrapper .shopping-cart-widget-body,
	.wpt_product_table_wrapper .shopping-cart-widget-footer {
		width: 100%;
	}
	.wpt_product_table_wrapper .shopping-cart-widget-body li.mini_cart_item,
	.wpt_product_table_wrapper .shopping-cart-widget-footer .buttons {
		    width: 100%;
    flex-wrap: wrap;
	}
	.wpt_product_table_wrapper .shopping-cart-widget-body li.mini_cart_item .cart-info,
	.wpt_product_table_wrapper .shopping-cart-widget-footer .buttons a{
		margin-top: 10px !important;
	}
	td.wpt-replace-td-in-tr.wpt-mobile-label-show>div:before {
		display: none !important;
	}
}
.woocommerce-notices-wrapper {
	    display: flex;
    flex-direction: column;
    position: fixed;
    bottom: 0;
    z-index: 9999;
}
.woocommerce-notices-wrapper .woocommerce-error {
	position: relative !important;
	    background-color: #f63a3a !important;
    color: #fff !important;
	padding-right: 30px !important;
}
.woocommerce-notices-wrapper .woocommerce-message {
	position: relative !important;
	    background-color: #34a853 !important;
    color: #fff !important;
	border-radius: 10px;
	padding-right: 30px !important;
}
.woocommerce-notices-wrapper .woocommerce-message:before,
.woocommerce-notices-wrapper .woocommerce-error:before {
	display: none !important;
}
.hidden-notice {
	display: none !important
}
.wd-checkout-prod-cont .quantity {
	display: inline-flex !important;
	    justify-content: flex-end;
}



@media screen and (min-width: 768px){
.sticky-toolbar-on .scrollToTop{
 left:94%;
 }
}

@media screen and (max-width: 767.98px) {
.sticky-toolbar-on .scrollToTop{
 left:90%;
 }
}


/* حذف متن در فیلد شماره موبایل فرم ثبت نام */

 #customer_login  .woocommerce-privacy-policy-text{
  display:none !important;
}

#customer_login .woocommerce-Button.button{
	margin-top:15px;
}


@media screen and (max-width: 767.98px){

.td_or_cell.no-inner.wpt_check{
    z-index: 1 !important;
}

    
}


.wd-timer{
	flex-direction:row-reverse;
}

span.wd-timer-sec,span.wd-timer-min,span.wd-timer-min,span.wd-timer-days,span.wd-timer-hours{
background-color:var( --e-global-color-accent) !important;
border:2px solid #000;
}


span.wd-timer-value{ 
color:#FFF; 
}

span.wd-timer-text{ 
color:#000; 
}



.archive.tax-pa_product-brands .wd-page-title.page-title{
display:none !important;
}


/* product carousel */
.products-with-tabs .wd-entities-title{
	min-height: 46px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}





	


/* hide product Short explanation */
.woocommerce-product-details__short-description{
display:none;
}
	
	
	
/* 	.wd-btn-arrow.wd-prev {
    background-color: #fff !important;
    border-radius: 50% !important;
    width: 40px;
    height: 40px;
    border: 1px solid #CCCFD4;
}
	
	.wd-btn-arrow.wd-prev .wd-arrow-inner:after{
	    font-size: 16px;
    margin-top: -15%;
    margin-right: -20%;
}
	} */

/* استایل جذاب‌تر برای لیبل بلک فرایدی */
.product-labels .onsale {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: #fff;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transform: rotate(-5deg);
    animation: bf-bounce 1.6s infinite ease-in-out;
}

/* انیمیشن نرم */
@keyframes bf-bounce {
    0% { transform: rotate(-5deg) translateY(0); }
    50% { transform: rotate(-5deg) translateY(-4px); }
    100% { transform: rotate(-5deg) translateY(0); }
}

/* پایین آوردن مقدار درصد تخفیف */
.product-labels {
    top: 35px !important; /* مقدار پیش‌فرض معمولا 0px است – این باعث پایین آمدن لیبل می‌شود */
    right: 10px !important;
}
/* رفع بهم‌ریختگی و شکسته شدن لیبل بلک فرایدی در موبایل */
@media (max-width: 767px) {

    /* باکس لیبل‌ها */
    .product-labels {
        top: 10px !important;
        right: 8px !important;
        display: flex !important;
        align-items: center;
        gap: 3px !important;
        z-index: 50 !important;
        flex-wrap: nowrap !important;
        white-space: nowrap !important; /* جلوگیری از شکستن متن */
    }

    /* خود لیبل متن بلک‌فرایدی */
    .product-labels .wd-label,
    .product-labels .wd-label-blackfriday {
        font-size: 10px !important;
        padding: 2px 6px !important;
        border-radius: 4px !important;
        white-space: nowrap !important; /* جلوگیری از دو خط شدن */
        max-width: unset !important;
    }

    /* درصد تخفیف */
    .product-labels .onsale {
        font-size: 11px !important;
        padding: 3px 7px !important;
        border-radius: 4px !important;
        white-space: nowrap !important;
    }

    /* لیبل PNG بلک فرایدی */
    .product-labels img {
        width: 48px !important;
        height: auto !important;
        object-fit: contain !important;
    }
}

/* فقط صفحه محصول تکی */
.single-product .wd-product-countdown.wd-timer {
    display: flex !important;
    justify-content: center !important;
    gap: 14px !important;
    background: linear-gradient(135deg, #ff4d4d, #e60000) !important;
    padding: 14px 20px !important;
    border-radius: 14px !important;
    margin: 20px auto !important;
    width: 100% !important;
    box-shadow: 0 6px 18px rgba(255, 0, 0, 0.35) !important;
}

/* آیتم‌های داخل تایمر */
.single-product .wd-product-countdown.wd-timer span {
    background: #ffffff22 !important;
    border: 1px solid #ffffff55 !important;
    padding: 10px 14px !important;
    border-radius: 10px !important;
    min-width: 60px !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    text-align: center !important;
    backdrop-filter: blur(5px) !important;
    display: flex !important;
    flex-direction: column !important;
}

.single-product .wd-product-countdown.wd-timer span::after {
    content: none !important;
}

/* انتقال تایمر به بالای تصویر */
.single-product .row-product-image-summary {
    display: flex !important;
    flex-direction: column !important;
}

.single-product .wd-product-countdown.wd-timer {
    order: -1 !important;
}

/* تایمر در آرشیو محصولات */
.archive .wd-product-countdown.wd-timer,
.tax-product_cat .wd-product-countdown.wd-timer {
    display: flex !important;
    gap: 6px !important;
    background: #fff3f3 !important;
    padding: 6px !important;
    border-radius: 6px !important;
    width: 100% !important;
    justify-content: center !important;
}

.archive .wd-product-countdown.wd-timer span,
.tax-product_cat .wd-product-countdown.wd-timer span {
    background: #fff !important;
    border: 1px solid #ffc9c9 !important;
    padding: 4px 6px !important;
    min-width: 30px !important;
    font-size: 0.7rem !important;
    color: #d00 !important;
    border-radius: 4px !important;
}

.archive .wd-product-countdown.wd-timer span::after,
.tax-product_cat .wd-product-countdown.wd-timer span::after {
    content: none !important;
}

@media (max-width: 500px) {
    .single-product .wd-product-countdown.wd-timer {
        gap: 6px !important;
        padding: 10px !important;
    }

    .single-product .wd-product-countdown.wd-timer span {
        min-width: 45px !important;
        font-size: 0.9rem !important;
        padding: 6px 8px !important;
    }

    /* آرشیو */
    .archive .wd-product-countdown.wd-timer span,
    .tax-product_cat .wd-product-countdown.wd-timer span {
        min-width: 22px !important;
        font-size: 0.65rem !important;
        padding: 3px 5px !important;
    }
}

/*کدهای کوپایلوت*/
.wd-product-countdown,
.wd-product-countdown.wd-timer {
  order: -1 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
  background: linear-gradient(135deg, #ff4d4d, #e60000) !important;
  padding: 14px 20px !important;
  border-radius: 14px !important;
  margin: 20px auto !important;
  width: fit-content !important;
  box-shadow: 0 6px 18px rgba(255, 0, 0, 0.35) !important;
}

.wd-product-countdown .countdown-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 40px;
}

.wd-product-countdown .countdown-amount {
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
}

.wd-product-countdown .countdown-label {
  font-size: 0.8rem;
  color: #ffeaea;
}

/* ریسپانسیو برای موبایل */
@media (max-width: 480px) {
  .wd-product-countdown,
  .wd-product-countdown.wd-timer {
    gap: 10px !important;
    padding: 10px 14px !important;
  }

  .wd-product-countdown .countdown-section {
    min-width: 32px;
  }

  .wd-product-countdown .countdown-amount {
    font-size: 1rem;
  }

  .wd-product-countdown .countdown-label {
    font-size: 0.7rem;
  }
}


/* پایه: اطمینان از یک‌خطی بودن و سازگاری با RTL */
.single-product .wd-product-countdown.wd-timer {
  direction: rtl !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;            /* مهم: جلوگیری از شکست به خط بعد */
  gap: 0 !important;
  padding: 0 !important;
  margin: 10px auto !important;
  width: 100% !important;                   /* اجازه می‌دهد مرکز شود در والد */
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* آیتم‌ها: شبیه دکمه قرمز، قابل فشرده‌سازی */
.single-product .wd-product-countdown .countdown-section {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 4px 8px !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2) !important;

  /* فشرده‌سازی هوشمند بدون شکست */
  flex: 0 1 auto !important;               /* اجازه‌ی shrink */
  min-width: 0 !important;                 /* حذف محدودیت عرض */
}

/* تایپوگرافی: جمع‌وجور و خوانا با clamp */
.single-product .wd-product-countdown .countdown-amount {
  font-weight: 700 !important;
  line-height: 1 !important;
  font-size: clamp(0.8rem, 2.5vw, 1rem) !important;
}

.single-product .wd-product-countdown .countdown-label {
  line-height: 1 !important;
  font-size: clamp(0.55rem, 2vw, 0.7rem) !important;
  opacity: 0.95 !important;
}

/* جلوگیری از استایل‌های مزاحم قالب/افزونه */
.single-product .wd-product-countdown,
.single-product .wd-product-countdown * {
  white-space: normal !important;           /* داخل هر آیتم نرمال، اما کل ردیف nowrap */
}
@media (max-width: 576px) {
  .single-product .wd-product-countdown.wd-timer {
    gap: 4px !important;
  }
  .single-product .wd-product-countdown .countdown-section {
    padding: 3px 6px !important;
  }
  .single-product .wd-product-countdown .countdown-amount {
    font-size: clamp(0.75rem, 3vw, 0.9rem) !important;
  }
  .single-product .wd-product-countdown .countdown-label {
    font-size: clamp(0.5rem, 2.5vw, 0.65rem) !important;
  }
}

@media (max-width: 400px) {
  .single-product .wd-product-countdown.wd-timer {
    gap: 3px !important;
  }
  .single-product .wd-product-countdown .countdown-section {
    padding: 2px 5px !important;
  }
}



/* موقعیت تایمر بالای تصویر محصول */
/* موقعیت تایمر بالای تصویر محصول */
.single-product .woocommerce-product-gallery {
  position: relative;
}

.single-product .wd-product-countdown.wd-timer {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 4px;
  background: none;
  padding: 0;
  margin: 0;
  white-space: nowrap;
}

/* ظاهر هر بخش تایمر شبیه دکمه قرمز */
.single-product .wd-product-countdown .countdown-section {
  background-color: #d32f2f;
  color: #fff;
  border-radius: 6px;
  padding: 3px 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  font-weight: 600;
  flex-shrink: 1;
}

/* عدد تایمر */
.single-product .wd-product-countdown .countdown-amount {
  font-size: 0.85rem;
  line-height: 1;
}

/* واحد زمان */
.single-product .wd-product-countdown .countdown-label {
  font-size: 0.6rem;
  line-height: 1;
  margin-top: 2px;
}

/* ریسپانسیو برای موبایل */
@media (max-width: 480px) {
  .single-product .wd-product-countdown.wd-timer {
    top: 8px;
    gap: 3px;
  }

  .single-product .wd-product-countdown .countdown-section {
    padding: 2px 5px;
    min-width: 28px;
  }

  .single-product .wd-product-countdown .countdown-amount {
    font-size: 0.75rem;
  }

  .single-product .wd-product-countdown .countdown-label {
    font-size: 0.55rem;
  }
}










/* ================================
   PD – Mini DigiKala Style Timer
   ================================ */

@font-face {
    font-family: 'IRANYekan';
    src: url('/wp-content/uploads/fonts/iranyekan.woff2') format('woff2');
    font-display: swap;
}

/* فقط تایمر محصول */
.single-product .wd-product-countdown.wd-timer {
    --pd-bg: #fff1f4;
    --pd-border: #ffccd7;
    --pd-number: #d4003b;

    position: absolute;
    top: 70px;                  /* ارتفاع کمتر */
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;

    padding: 4px 8px;
    border-radius: 8px;

    background: var(--pd-bg);
    border: 1px solid var(--pd-border);

    box-shadow: 0 4px 14px rgba(212,0,59,0.15);
    width: max-content;

    font-family: IRANYekan, sans-serif !important;
    z-index: 35;
}

/* هر خانه (روز / ساعت / دقیقه / ثانیه) */
.single-product .wd-product-countdown.wd-timer span {
    background: #fff;
    border-radius: 6px;
    border: 1px solid rgba(255,79,121,0.25);

    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 4px 6px;
    min-width: 40px;
}

/* عدد */
.single-product .wd-product-countdown.wd-timer .countdown-amount {
    color: var(--pd-number);
    font-weight: 800;
    font-size: 0.9rem;
    line-height: 1;
}

/* واحد (روز / ساعت / دقیقه / ثانیه) */
.single-product .wd-product-countdown.wd-timer .countdown-period {
    color: #8a1d2f;
    font-size: 9px;
    font-weight: 600;
    margin-top: 2px;
}

/* حذف تداخل قالب */
.single-product .wd-product-countdown.wd-timer span::after,
.single-product .wd-product-countdown.wd-timer span::before {
    content: none !important;
}

/* آرشیو / گرید */
.archive .wd-product-countdown.wd-timer,
.products .wd-product-countdown.wd-timer {
    position: static !important;
    transform: none !important;
    width: 100%;
    border-radius: 6px;
    padding: 4px 6px;
    background: #fff3f5;
}

/* موبایل */
@media (max-width: 480px) {
    .single-product .wd-product-countdown.wd-timer {
        top: 55px;
        padding: 3px 6px;
        gap: 4px;
    }
    .single-product .wd-product-countdown.wd-timer span {
        min-width: 32px;
        padding: 3px 5px;
    }
    .single-product .wd-product-countdown.wd-timer .countdown-amount {
        font-size: 0.8rem;
    }
}


/*مراحل پرداخت*/
:where(.wd-checkout-steps) {
  display: flex;
  justify-content: space-between;
  margin: 40px 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  direction: rtl;
}

:where(.wd-checkout-steps > li) {
  position: relative;
  flex: 1;
  text-align: center;
  padding: 15px 10px 10px;
  font-size: 14px;
  font-weight: 500;
  color: #444;
  background-color: #fff;
  border: 2px solid #eee;
  border-radius: 10px;
  margin: 0 5px;
  transition: all 0.3s ease;
  counter-increment: step;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  z-index: 1;
}

:where(.wd-checkout-steps > li)::before {
  content: '';
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background-color: #ccc;
  border-radius: 50%;
  background-size: 60%;
  background-repeat: no-repeat;
  background-position: center;
  transition: background-color 0.3s ease;
  z-index: 2;
}

/* آیکون‌های مرحله‌ای */
:where(.wd-checkout-steps > li:nth-child(1)::before) {
  background-image: url('https://cdn-icons-png.flaticon.com/512/709/709496.png');
}
:where(.wd-checkout-steps > li:nth-child(2)::before) {
  background-image: url('https://cdn-icons-png.flaticon.com/512/1250/1250615.png');
}
:where(.wd-checkout-steps > li:nth-child(3)::before) {
  background-image: url('https://cdn-icons-png.flaticon.com/512/845/845646.png');
}

/* مرحله فعال */
:where(.wd-checkout-steps > li.active) {
  border-color: #d60000;
  color: #d60000;
  background-color: #fff5f5;
  box-shadow: 0 0 0 2px #d60000 inset;
}

:where(.wd-checkout-steps > li.active)::before {
  background-color: #d60000;
}

/* افکت هاور */
:where(.wd-checkout-steps > li:hover) {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  cursor: pointer;
}


/*مراحل پرداخت موبایل*/

@media (max-width: 768px) {
  :where(.wd-checkout-steps) {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }

  :where(.wd-checkout-steps > li) {
    font-size: 16px;
    padding: 18px 12px 14px;
    margin: 0;
    border-radius: 10px;
    position: relative;
    overflow: visible;
  }

  :where(.wd-checkout-steps > li::before) {
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background-size: 60%;
    background-color: #ccc;
    z-index: 2;
  }

  :where(.wd-checkout-steps > li.active::before) {
    background-color: #d60000;
  }

  :where(.wd-checkout-steps > li span, .wd-checkout-steps > li strong) {
    display: block;
    font-size: 15px;
    color: #333;
    margin-top: 6px;
  }
}


/*عدم نمایش تایمر برای محصول بدون تایم */

/* مخفی کردن تایمرهای خالی یا بدون مقدار */
.single-product .wd-product-countdown.wd-timer:empty {
  display: none !important;
}






@media (min-width: 1025px) {
	.wd-arrow-inner:after{
    margin-top: -15%;
    margin-right: -27%;
}

/*مراحل پرداخت*/

.wd-checkout-steps {
  display: flex;
  justify-content: space-between;
  margin: 40px 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.wd-checkout-steps li {
  position: relative;
  flex: 1;
  text-align: center;
  padding: 15px 10px 10px;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  background: #fff;
  border: 2px solid #eee;
  border-radius: 10px;
  margin: 0 5px;
  transition: all 0.4s ease;
  counter-increment: step;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.wd-checkout-steps li::before {
  content: '';
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background-color: #ddd;
  border-radius: 50%;
  background-image: url('https://cdn-icons-png.flaticon.com/512/709/709496.png'); /* آیکون مرحله اول */
  background-size: 60%;
  background-repeat: no-repeat;
  background-position: center;
  transition: background-color 0.3s ease;
}

.wd-checkout-steps li:nth-child(2)::before {
  background-image: url('https://cdn-icons-png.flaticon.com/512/1250/1250615.png'); /* مرحله دوم */
}

.wd-checkout-steps li:nth-child(3)::before {
  background-image: url('https://cdn-icons-png.flaticon.com/512/845/845646.png'); /* مرحله سوم */
}

.wd-checkout-steps li.active {
  border-color: #d60000;
  color: #d60000;
  background: #fff5f5;
  box-shadow: 0 0 0 2px #d60000 inset;
}

.wd-checkout-steps li.active::before {
  background-color: #d60000;
}

.wd-checkout-steps li:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  cursor: pointer;
}






}

