/* EMS Up to 40% anniversary campaign presentation. */
.ems-sale-badge,
.product-card__badge,
.ems-card-discount-badge,
.ems-hp-product__badge {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
	padding: 6px 9px;
	border-radius: 3px;
	background: #f6a51c;
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: .01em;
	text-transform: uppercase;
	white-space: nowrap;
}

.product-card__image,
.ems-hp-product__media {
	position: relative;
}

.product-card__price .ems-price-current,
.ems-hp-product__price .ems-price-current,
.price .ems-price-current {
	color: var(--ems-accent, #F6A51C);
	font-weight: 800;
}

.product-card__price .ems-price-comparison,
.ems-hp-product__price .ems-price-comparison,
.price .ems-price-comparison {
	color: #777;
}

.product-card__price .ems-price-comparison-amount,
.ems-hp-product__price .ems-price-comparison-amount,
.price .ems-price-comparison-amount {
	text-decoration: line-through;
	text-decoration-thickness: 1px;
}

.product-card__price .ems-price-stack,
.ems-hp-product__price .ems-price-stack,
.price .ems-price-stack {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 3px 8px;
}

.product-card__price .ems-price-comparison-label,
.ems-hp-product__price .ems-price-comparison-label,
.price .ems-price-comparison-label,
.ems-price-comparison-label.screen-reader-text,
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Keep the semantic labels available to assistive technology without adding
 * visible copy between the two prices. */
.ems-price-comparison {
	text-decoration: none;
}

.single-product .summary .price .ems-price-stack {
	flex-direction: row;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 10px 14px;
}

.single-product .summary .price .ems-price-comparison {
	order: 1;
	color: #777;
	font-size: clamp(16px, 1.4vw, 20px);
	font-weight: 500;
	line-height: 1.25;
}

.single-product .summary .price .ems-price-current {
	order: 2;
	color: var(--ems-accent, #F6A51C);
	font-size: clamp(28px, 2.5vw, 34px);
	font-weight: 800;
	line-height: 1.15;
}

.single-product .summary .price .ems-price-comparison-amount {
	color: inherit;
	text-decoration: line-through;
	text-decoration-thickness: 1px;
}

@media (max-width: 480px) {
	.single-product .summary .price .ems-price-stack {
		gap: 6px 10px;
	}
	.single-product .summary .price .ems-price-comparison {
		font-size: 16px;
	}
	.single-product .summary .price .ems-price-current {
		font-size: 28px;
	}
}

@media (max-width: 767px) {
	.product-card__badge,
	.ems-card-discount-badge,
	.ems-hp-product__badge {
		top: 6px;
		left: 6px;
		min-height: 25px;
		padding: 5px 7px;
		font-size: 10px;
	}
}
