/*
Theme Name:   Woodmart Child
Description:  Woodmart Child Theme
Author:       XTemos
Author URI:   http://xtemos.com
Template:     woodmart
Version:      1.0.0
Text Domain:  woodmart
*/

@font-face{font-family: iranyekan;
	font-style: normal;
	font-weight: bold;
	src: url("https://zabanmehrpub.com/wp-content/themes/woodmart-child/fonts/IRANYekanXFaNum-Bold.woff2");font-display:swap}

@font-face{font-family: iranyekan;
	font-style: normal;
	font-weight: 500;
	src: url("https://zabanmehrpub.com/wp-content/themes/woodmart-child/fonts/IRANYekanXFaNum-Regular.woff2");font-display:swap}

body .website-wrapper h1,
body .website-wrapper h2, 
body .website-wrapper h3,
body .website-wrapper h4,
body .website-wrapper h5,
body .website-wrapper h6,
body,
body .website-wrapper p,
body table th,
body h1,
body h2, 
body h3,
body h4,
body h5,
body h6,
.wd-nav.wd-style-bg > li > a span,
span
{
	font-family: 'iranyekan' !important;
}

.whb-col-mobile .info-box-wrapper h6{
	background: rgb(28,97,231);
	color: #fff;
	padding: 5px 10px;
	border-radius: 55px;
}
.whb-col-mobile .info-box-wrapper .wa h6{
	background: rgb(11, 187, 88);
}

body .star-rating span:before,
.wd-social-icons .wd-icon {
	font-family: "woodmart-font" !important;
}

body .wd-single-content a{
	color: #1877f2;
}

body .woocommerce-MyAccount-navigation-link--downloads{
	display: none
}

.wd-free-progress-bar,
#wd-add-to-cart{
	display: none
}

body .social-youtube .wd-icon::before{
	display: none
}
body .social-youtube {
	background-image: url("data:image/svg+xml,%3Csvg fill='%23ffffff' viewBox='0 0 24 24' role='img' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.001 1.594c-9.27-.003-13.913 11.203-7.36 17.758a10.403 10.403 0 0 0 17.76-7.355c0-5.744-4.655-10.401-10.4-10.403zM6.11 6.783c.501-2.598 3.893-3.294 5.376-1.103 1.483 2.19-.422 5.082-3.02 4.582A2.97 2.97 0 0 1 6.11 6.783zm4.322 8.988c-.504 2.597-3.897 3.288-5.377 1.096-1.48-2.192.427-5.08 3.025-4.579a2.97 2.97 0 0 1 2.352 3.483zm1.26-2.405c-1.152-.223-1.462-1.727-.491-2.387.97-.66 2.256.18 2.04 1.334a1.32 1.32 0 0 1-1.548 1.053zm6.198 3.838c-.501 2.598-3.893 3.293-5.376 1.103-1.484-2.191.421-5.082 3.02-4.583a2.97 2.97 0 0 1 2.356 3.48zm-1.967-5.502c-2.598-.501-3.293-3.896-1.102-5.38 2.19-1.483 5.081.422 4.582 3.02a2.97 2.97 0 0 1-3.48 2.36zM13.59 23.264l2.264.61a3.715 3.715 0 0 0 4.543-2.636l.64-2.402a11.383 11.383 0 0 1-7.448 4.428zm7.643-19.665L18.87 2.97a11.376 11.376 0 0 1 4.354 7.62l.65-2.459A3.715 3.715 0 0 0 21.231 3.6zM.672 13.809l-.541 2.04a3.715 3.715 0 0 0 2.636 4.543l2.107.562a11.38 11.38 0 0 1-4.203-7.145zM10.357.702 8.15.126a3.715 3.715 0 0 0-4.547 2.637l-.551 2.082A11.376 11.376 0 0 1 10.358.702z'/%3E%3C/svg%3E");
	background-position: center;
	background-repeat: no-repeat;
	background-size: 17px
}


body .wd-nav.wd-style-bg > li > a {
	padding-right: 10px;
	padding-left: 10px;
}

body .entry-content div{
	direction: rtl;
	text-align: right
}

body .product-grid-item .wd-scroll{
	display: none !important;
}

body .product-grid-item .content-product-imagin{
	margin-bottom: 0 !important;
}

.rotate .info-icon{
	transform: rotate(180deg)
}

body .wd-collapsible-button{
	text-align: center;
	direction: ltr;
}

body .wd-collapsible-button .wd-btn-icon {
	margin-left: 0;
	margin-right: 5px;
}

body .wd-nav-mobile {
	display: flex;
}

body .wd-side-hidden.wd-left {
	right: 0;
	left: auto;
	transform: translate3d(100%, 0, 0);
}

body .wd-side-hidden.wd-opened {
	transform: none !important;
}

body .wd-single-breadcrumbs.wd-nowrap-md [class*="-breadcrumb"] {
	direction: rtl;
}


#home_blog .rss-feed{
	align-items: stretch !important;
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	gap: 10px;
	height: 100%
}

#home_blog .rss-feed .rss-item{
	padding: 15px;
	border-radius: 10px;
	background-color: #fff;
	flex: 0 0 25%;
	max-width: calc( 25% - 10px);
	transition: transform .3s ease;
	transform: scale(0.98);
	position: relative;
}


#home_blog .rss-feed .rss-item div{
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
	width: 100%;
	height: 170px;
	margin-bottom: 20px;
}

#home_blog .rss-feed .rss-item h3{
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 10px;
}

#home_blog .rss-feed .rss-item:hover{
	box-shadow: 0 0 10px rgba(0,0,0,0.15);
	transform: scale(1);
}

#home_blog .rss-feed .rss-item span{
	margin-bottom: 10px;
	display: block !important;
}

/*#home_blog .rss-feed .rss-item img,
#home_blog .rss-feed .rss-item .thumbnail{
    display: none !important;
}*/

body .term-description,
body .wd-single-content {
	font-size: 15px
}

body.home .elementor-widget-wd_slider{
	width: 100% !important;
	max-width: 100% !important;
}

body .product-element-bottom table.variations td,
body .product-element-bottom table.variations tbody,
body .product-element-bottom table.variations tbody tr{
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
}

body .product-element-bottom table.variations select{
	border-color: #000;
	padding: 7px 10px 7px 35px;
	height: initial;
	font-size: 13px;
	margin-top: 10px
}

body.single-product .woocommerce-variation-price{
	margin-bottom: 15px
}

body .product-element-bottom .wd-entities-title{
	font-weight: 600;
}

body .wd-hover-fw-button .product-element-bottom .wd-entities-title{
	font-weight: 600;
	text-align: center;
	font-size: 14px !important;
}

body .wd-hover-fw-button .wrap-price{
	font-size: 14px !important;
	justify-content: center;
	margin: 10px 0 5px !important;
}

body .wd-hover-fw-button .product-element-bottom .wd-star-rating{
	text-align: center
}

body .wd-hover-fw-button .product-element-bottom .wd-product-stock{
	position: absolute;
	padding: 5px 10px;
	min-width: 50px;
	text-align: center;
	text-transform: uppercase;
	word-break: break-all;
	font-weight: 400;
	font-size: 12px;
	line-height: 1.2;
	border-radius: 12px;
	top: 55px;
	right: 22px;
}

body .wd-hover-fw-button .product-element-bottom .wd-product-stock.in-stock{
	background: green;
	color: #fff;
}

body .wd-hover-fw-button .product-element-bottom .wd-product-stock.out-of-stock{
	background: #B50808;
	color: #fff;
}

p.stock.wd-style-default.in-stock::before {
	display: none
}

body .wd-hover-with-fade .product-element-bottom {
  position: initial;
	z-index: 5;
}

body.single-product .elementor-shortcode .ribbon {
  font-weight: 600;
  color: #1c61e7;
}

body .wd-hover-fw-button .product-element-bottom .ribbon {
  position: absolute;
  padding: 5px 10px;
  min-width: 50px;
  text-align: center;
  text-transform: uppercase;
  word-break: break-all;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.2;
  border-radius: 12px;
  top: 90px;
  right: 22px;
  background: #091f4b;
  color: #fff;
}


@media all and (max-width:500px){
	body .wd-slide,
	body .wd-slide .wd-slide-bg{
		min-height: 260px !important;
		max-height: 260px;
	}
	#raychat_widget{
		bottom: 45px
	}
	#home_blog .rss-feed .rss-item{
		flex: 0 0 100%;
		max-width: 100%;
	}
	.wd-owl .owl-stage{
		display: flex
	}
}

/* Checkout payment gateways: card list */
#payment .wc_payment_methods {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 0 20px;
	padding: 0;
	border: 0;
	background: none;
}

#payment .wc_payment_method {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
	background: #fff;
	border: 1.5px solid #e3e6ec;
	border-radius: 10px;
	transition: border-color .2s, background-color .2s, box-shadow .2s;
}

#payment .wc_payment_method:hover {
	border-color: rgba(28, 97, 231, .45);
}

#payment .wc_payment_method:has(> input:checked) {
	background: #f5f8ff;
	border-color: var(--wd-primary-color, #1c61e7);
	box-shadow: 0 2px 10px rgba(28, 97, 231, .12);
}

#payment .wc_payment_method > input.input-radio {
	position: absolute;
	top: 32px;
	right: 16px;
	width: 18px;
	height: 18px;
	margin: 0;
	transform: translateY(-50%);
	accent-color: var(--wd-primary-color, #1c61e7);
	cursor: pointer;
}

#payment .wc_payment_method > label {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 64px;
	margin: 0;
	padding: 10px 46px 10px 14px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.6;
	color: #242424;
	cursor: pointer;
}

#payment .wc_payment_method > label img {
	float: none;
	width: auto !important;
	max-width: 72px;
	max-height: 34px;
	margin: 0;
	margin-inline-start: auto;
	object-fit: contain;
}

#payment .wc_payment_method .payment_box {
	margin: 0 14px 12px;
	padding: 10px 12px;
	font-size: 13px;
	line-height: 1.8;
	color: #555;
	background: #fff;
	border: 1px dashed #d5dbe7;
	border-radius: 8px;
}

#payment .wc_payment_method .payment_box::before {
	display: none;
}

#payment .wc_payment_method .payment_box p {
	margin: 0;
}

/* Checkout and cart shipping methods: heading above, card list below */
.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals,
.cart_totals tr.woocommerce-shipping-totals {
	display: flex;
	flex-direction: column;
}

.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals > th,
.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals > td,
.cart_totals tr.woocommerce-shipping-totals > th,
.cart_totals tr.woocommerce-shipping-totals > td {
	display: block;
	width: 100%;
	text-align: right;
}

.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals > th,
.cart_totals tr.woocommerce-shipping-totals > th {
	padding-bottom: 4px;
	border-bottom: 0;
}

.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals > td,
.cart_totals tr.woocommerce-shipping-totals > td {
	padding-top: 6px;
}

#shipping_method.woocommerce-shipping-methods {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
}

#shipping_method.woocommerce-shipping-methods > li {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: right;
	background: #fff;
	border: 1.5px solid #e3e6ec;
	border-radius: 10px;
	transition: border-color .2s, background-color .2s, box-shadow .2s;
}

#shipping_method.woocommerce-shipping-methods > li::before {
	display: none;
}

#shipping_method.woocommerce-shipping-methods > li:hover {
	border-color: rgba(28, 97, 231, .45);
}

#shipping_method.woocommerce-shipping-methods > li:has(> input:checked) {
	background: #f5f8ff;
	border-color: var(--wd-primary-color, #1c61e7);
	box-shadow: 0 2px 10px rgba(28, 97, 231, .12);
}

#shipping_method.woocommerce-shipping-methods > li > input.shipping_method {
	position: absolute;
	top: 27px;
	right: 16px;
	width: 18px;
	height: 18px;
	margin: 0;
	transform: translateY(-50%);
	accent-color: var(--wd-primary-color, #1c61e7);
	cursor: pointer;
}

#shipping_method.woocommerce-shipping-methods > li > label {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 6px;
	min-height: 54px;
	margin: 0;
	padding: 12px 46px 12px 14px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.7;
	color: #242424;
	cursor: pointer;
}

#shipping_method.woocommerce-shipping-methods > li > label .amount {
	margin-inline-start: auto;
	font-weight: 700;
	color: var(--wd-primary-color, #1c61e7);
	white-space: nowrap;
}

#shipping_method.woocommerce-shipping-methods .shipping_method_description {
	margin: 0 14px 12px !important;
	padding: 8px 12px !important;
	font-size: 12.5px;
	line-height: 1.9;
	color: #555;
	background: #fff !important;
	border: 1px dashed #d5dbe7;
	border-radius: 8px !important;
}

#shipping_method.woocommerce-shipping-methods .shipping_method_description small {
	font-size: inherit;
}

.woocommerce-checkout-review-order-table .woocommerce-shipping-destination,
.cart_totals .woocommerce-shipping-destination {
	margin: 10px 0 0;
	font-size: 12.5px;
	color: #777;
	text-align: right;
}

/* Cart and checkout totals: row titles and subtotal match the shipping and payment cards */
.cart_totals .shop_table th,
.woocommerce-checkout-review-order-table tfoot th {
	font-size: 14px;
	font-weight: 600;
	color: #242424;
}

.cart_totals tr.cart-subtotal td .amount,
.woocommerce-checkout-review-order-table tr.cart-subtotal td .amount {
	font-size: 14px;
	font-weight: 600;
	color: #242424;
}

.cart_totals tr.order-total th,
.woocommerce-checkout-review-order-table tr.order-total th {
	font-size: 16px;
	font-weight: 700;
}

/* Cart totals on desktop: flex rows like WoodMart's checkout table, so the shipping row spans the
   full width and the order total has room to stay on one line */
@media (min-width: 769px) {
	.cart_totals .shop_table,
	.cart_totals .shop_table tbody {
		display: block;
		width: 100%;
	}

	.cart_totals .shop_table tr:not(.woocommerce-shipping-totals) {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
	}

	.cart_totals .shop_table tr:not(.woocommerce-shipping-totals) > th {
		flex: 0 0 auto;
	}

	.cart_totals .shop_table tr:not(.woocommerce-shipping-totals) > td {
		flex: 1 1 auto;
		text-align: left;
	}

	.cart_totals .shop_table tr .amount {
		white-space: nowrap;
	}
}

/* Cart on phones: WooCommerce hides the th and prints the title from data-title instead */
@media (max-width: 768px) {
	.cart_totals tr.woocommerce-shipping-totals > th {
		display: none;
	}

	.cart_totals .shop_table_responsive td::before {
		font-size: 14px;
		font-weight: 600;
		color: #242424;
	}

	.cart_totals tr.woocommerce-shipping-totals > td::before {
		display: block;
		float: none;
		margin-bottom: 8px;
		text-align: right;
	}
}

/* Checkout on desktop: billing form column sticks once its bottom is in view (js/custom-checkout.js) */
@media (min-width: 1025px) {
	/* WoodMart's overflow: hidden on body turns it into a scroll container, which stops sticky working */
	body.woocommerce-checkout {
		overflow-x: clip;
		overflow-y: visible;
	}

	.zm-checkout-sticky {
		position: sticky;
		top: var(--zm-sticky-top, 80px);
		align-self: flex-start;
	}
}
