/* Homepage discount countdown overlay */
.header-all,
.nav-menu {
	position: relative;
	z-index: 100;
}

.slideshow {
	position: relative;
	z-index: 1;
}

.discount-countdown {
	position: absolute;
	top: 12px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	text-align: center;
	pointer-events: none;
	padding: 8px 16px;
	background: rgba(0, 0, 0, 0.45);
	border-radius: 4px;
	min-width: 220px;
}

.discount-countdown__label {
	display: block;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 2px;
}

.discount-countdown__timer {
	display: block;
	color: #ff3b3b;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.5px;
	line-height: 1.2;
}

@media (max-width: 767px) {
	.discount-countdown {
		top: 8px;
		padding: 6px 12px;
		min-width: 180px;
	}

	.discount-countdown__label {
		font-size: 11px;
	}

	.discount-countdown__timer {
		font-size: 15px;
	}
}

/* Product detail social proof */
.product-urgency-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 6px 0 10px;
	color: #b42318;
	font-size: 14px;
	font-weight: 600;
}

.product-urgency-badge svg {
	flex-shrink: 0;
}

.product-social-proof {
	display: block;
	width: 100%;
	clear: both;
	float: none;
	margin: 0 0 14px;
	padding: 10px 12px;
	background: #f5f5f5;
	border-radius: 6px;
	box-sizing: border-box;
}

.product-detail .price-container {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
}

.product-detail .product-price-block,
.product-detail .price.product-price-block {
	display: block;
	width: 100%;
	float: none;
	margin-top: 16px;
	margin-bottom: 12px;
}

@media (max-width: 767px) {
	.product-detail .price-container {
		flex-direction: column;
	}

	.product-detail .product-price-block,
	.product-detail .price.product-price-block {
		margin-top: 12px;
		margin-bottom: 10px;
	}

	.product-social-proof {
		width: 100%;
		margin: 0 0 16px;
	}
}

.product-social-proof__item {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #444;
	font-size: 13px;
	line-height: 1.5;
}

.product-social-proof__item + .product-social-proof__item {
	margin-top: 4px;
}

.product-social-proof__item strong {
	font-weight: 700;
	color: #111;
}

/* Discounted price layout */
.price-row {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 10px;
}

.price-row .price-old {
	text-decoration: line-through;
	color: #9a9a9a;
	font-size: 16px;
	font-weight: 400;
}

.price-row .price-new {
	color: #111;
	font-weight: 700;
	font-size: 28px;
	line-height: 1.1;
}

@media (max-width: 767px) {
	.price-row .price-new {
		font-size: 20px;
	}

	.price-row .price-old {
		font-size: 14px;
	}
}

.menu-showroom.showroom-v2 .price-cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.menu-showroom.showroom-v2 .price {
	display: flex;
	align-items: baseline;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	width: auto;
}

.menu-showroom.showroom-v2 .price-old {
	text-decoration: line-through;
	color: #9a9a9a !important;
	font-size: 14px;
	font-weight: 400;
	order: -1;
}

.menu-showroom.showroom-v2 .price-new {
	color: #111;
	font-weight: 700;
	font-size: 18px;
	margin-right: 0;
}

/* Listing color swatches */
.product-color-count {
	position: absolute;
	right: 8px;
	bottom: 8px;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: rgba(255, 255, 255, 0.95);
	border-radius: 6px;
	padding: 4px 7px;
	font-size: 12px;
	font-weight: 600;
	color: #222;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
	pointer-events: none;
}

.product-color-count__dots {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: conic-gradient(#222 0 25%, #fff 0 50%, #c4a484 0 75%, #1f3a5f 0);
	border: 1px solid #ddd;
}

.product-card-colors {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 8px;
	width: 100%;
}

.product-card-colors__swatch {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 1px solid #d0d0d0;
	padding: 0;
	background: #fff;
	overflow: hidden;
	cursor: pointer;
	position: relative;
}

.product-card-colors__swatch img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.product-card-colors__swatch.is-active {
	box-shadow: 0 0 0 1px #fff, 0 0 0 2px #111;
}

.product-card-colors__swatch.is-active::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -5px;
	width: 10px;
	height: 2px;
	background: #111;
	transform: translateX(-50%);
}

.menu-showroom.showroom-v2 .image-inner {
	overflow: hidden;
}
