/* Out-of-stock product states. Kept separate so the theme's generated bundle remains untouched. */
.hmr-product-card.is-out-of-stock,
.hmr-electric-card.is-out-of-stock,
.hmr-popular-card.is-out-of-stock,
.hmr-best-card.is-out-of-stock {
	border-color: #d7d7d7 !important;
	background: #f2f2f2 !important;
	box-shadow: 0 10px 26px rgba(45, 45, 45, 0.06) !important;
}

.hmr-product-card.is-out-of-stock:hover,
.hmr-electric-card.is-out-of-stock:hover,
.hmr-popular-card.is-out-of-stock:hover,
.hmr-best-card.is-out-of-stock:hover {
	box-shadow: 0 13px 30px rgba(45, 45, 45, 0.09) !important;
}

.hmr-product-card.is-out-of-stock .hmr-product-card__media,
.hmr-electric-card.is-out-of-stock figure,
.hmr-popular-card.is-out-of-stock figure,
.hmr-best-card.is-out-of-stock figure {
	background: #e9e9e9 !important;
}

.hmr-product-card.is-out-of-stock img,
.hmr-electric-card.is-out-of-stock img,
.hmr-popular-card.is-out-of-stock img,
.hmr-best-card.is-out-of-stock img {
	filter: grayscale(0.82);
	opacity: 0.68;
}

.hmr-product-card.is-out-of-stock .hmr-product-card__title,
.hmr-product-card.is-out-of-stock .hmr-product-card__english,
.hmr-electric-card.is-out-of-stock h2,
.hmr-electric-card.is-out-of-stock p,
.hmr-popular-card.is-out-of-stock h2,
.hmr-popular-card.is-out-of-stock p,
.hmr-best-card.is-out-of-stock h2,
.hmr-best-card.is-out-of-stock p {
	color: #777 !important;
}

.hmr-product-card__add.is-out-of-stock {
	padding: 0;
	border: 1px solid #bdbdbd;
	background: #d8d8d8 !important;
	color: #656565 !important;
	box-shadow: none !important;
	cursor: pointer;
}

.hmr-product-card__stock-label,
.hmr-curated-price__stock-label,
.hmr-best-card__stock-label {
	display: inline-flex !important;
	align-items: center;
	min-height: 32px;
	color: #d7193f !important;
	font-size: 14px !important;
	font-weight: 900 !important;
	line-height: 1.5;
}

.hmr-curated-price.is-out-of-stock .hmr-curated-price__stock-label {
	color: #d7193f !important;
}

body.single-product .hmr-single-out-of-stock,
body.single-product .hmr-product-sticky__add.is-out-of-stock,
body.single-product .hmr-product-sticky.is-sale .hmr-product-sticky__add.is-out-of-stock {
	width: 100%;
	min-height: 45px;
	padding: 0 20px;
	border: 0 !important;
	border-radius: 11px !important;
	background: #d7193f !important;
	color: #fff !important;
	font-family: inherit;
	font-size: 12px;
	font-weight: 900;
	box-shadow: 0 8px 18px rgba(215, 25, 63, 0.2) !important;
	cursor: not-allowed !important;
	opacity: 1 !important;
	filter: none !important;
	transform: none !important;
}

body.single-product .hmr-product-sticky__add.is-out-of-stock {
	width: 188px !important;
}

@media (max-width: 980px) {
	body.single-product .hmr-product-sticky__add.is-out-of-stock {
		width: 100% !important;
	}
}

@media (max-width: 900px) {
	body.single-product .hmr-product-sticky__add.is-out-of-stock span::after {
		content: "ناموجود" !important;
	}
}

@media (max-width: 620px) {
	.hmr-product-card__stock-label,
	.hmr-curated-price__stock-label,
	.hmr-best-card__stock-label {
		font-size: 12px !important;
	}
}
