/**
 * Featured product cards. Scoped so shop, product, and related loops keep their current surface.
 */

.home-stage .featured {
	background: #141a22;
	padding: 72px 0 80px;
}

.home-stage .featured .section-head {
	align-items: flex-end;
	margin-bottom: 28px;
}

.home-stage .featured .section-head .eyebrow {
	font-size: 12px;
	letter-spacing: 0.18em;
	color: #9aa6b5;
}

.home-stage .featured .section-head h2 {
	font-size: clamp(2.5rem, 3.2vw, 3.5rem);
	line-height: 0.92;
	margin: 0;
}

.home-stage .featured .text-link {
	font-size: 13px;
	letter-spacing: 0.14em;
}

.home-stage .featured ul.products.home-stage .featured-grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	align-items: stretch;
}

.home-stage .featured .tire-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #171e28;
	border: 0;
	box-shadow: none;
	transition: background 0.25s ease;
}

.home-stage .featured .tire-card:hover {
	background: #1d2632;
}

.home-stage .featured .product-media {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 1 / 1;
	min-height: 0;
	padding: 28px;
	overflow: hidden;
	box-sizing: border-box;
	background: #141a22;
}

.home-stage .featured .product-media img,
.home-stage .featured .tire-svg--card {
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: contain;
	object-position: center;
	transform: none;
	transition: transform 0.45s ease;
}

.home-stage .featured .tire-card:hover .product-media img {
	transform: scale(1.03);
}

.home-stage .featured .onsale {
	top: 12px;
	left: 12px;
	padding: 6px 8px;
	font-size: 11px;
	letter-spacing: 0.14em;
}

.home-stage .featured .tire-card__body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 0;
	min-width: 0;
	padding: 16px 16px 18px;
}

.home-stage .featured .tire-card__brand {
	margin: 0 0 6px;
	font-family: var(--body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	color: #93a2b4;
}

.home-stage .featured .woocommerce-loop-product__title {
	margin: 0 0 10px;
	min-height: 2.2em;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

.home-stage .featured .woocommerce-loop-product__title a {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	text-decoration: none;
}

.home-stage .featured .tire-card__facts {
	display: grid;
	gap: 4px;
	min-height: 2.7em;
}

.home-stage .featured .tire-card__size {
	margin: 0;
	color: #f4f1ea;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.03em;
}

.home-stage .featured .tire-card__spec {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0;
	color: #b7c2ce;
	font-size: 13px;
	line-height: 1.35;
}

.home-stage .featured .tire-card__dot {
	color: #6d7a88;
}

.home-stage .featured .eu-chips {
	margin-top: 10px;
}

.home-stage .featured .eu-chips li {
	font-size: 12px;
	border-color: rgba(244, 241, 234, 0.12);
}

.home-stage .featured .tire-card__buy {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
	margin-top: auto;
	padding-top: 16px;
}

.home-stage .featured .stock {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 13px;
	letter-spacing: 0.02em;
}

.home-stage .featured .stock.in-stock { color: #d5e6dc; }
.home-stage .featured .stock.out-of-stock { color: #f0c2c2; }

.home-stage .featured .stock.in-stock::before,
.home-stage .featured .stock.out-of-stock::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #6fbf96;
	flex: 0 0 auto;
}

.home-stage .featured .stock.out-of-stock::before { background: #d47272; }

.home-stage .featured .tire-card .price {
	margin: 0;
	color: #fff;
	font-size: 26px;
	line-height: 1;
	letter-spacing: 0.01em;
}

.home-stage .featured .tire-card .price del {
	margin-right: 8px;
	color: #8d98a6;
	font-size: 0.62em;
}

.home-stage .featured .tire-card .price ins {
	text-decoration: none;
}

.home-stage .featured .tire-card .woocommerce-price-suffix {
	display: block;
	margin-top: 4px;
	color: #9aa6b5;
	font-family: var(--body);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.3;
}

.home-stage .featured .tire-card a.button.button--cart,
.home-stage .featured .tire-card .button--cart,
.home-stage .featured .tire-card a.added_to_cart {
	width: 100%;
	height: auto;
	min-height: 52px;
	margin: 0;
	padding: 0 14px;
	font-size: 14px;
	letter-spacing: 0.12em;
}

.home-stage .featured .tire-card a.button.button--cart:hover,
.home-stage .featured .tire-card .button--cart:hover {
	background: #3d8bff;
}

@media (max-width: 1180px) {
	.home-stage .featured ul.products.home-stage .featured-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.home-stage .featured .woocommerce-loop-product__title {
		font-size: 22px;
	}
}

@media (max-width: 767px) {
	.home-stage .featured {
		padding: 48px 0 56px;
	}

	.home-stage .featured ul.products.home-stage .featured-grid {
		grid-template-columns: 1fr !important;
		gap: 14px;
	}

	.home-stage .featured .section-head h2 {
		font-size: 2.4rem;
	}

	.home-stage .featured .product-media {
		aspect-ratio: 1.25 / 1;
	}

	.home-stage .featured .product-media img,
	.home-stage .featured .tire-svg--card {
		width: 100%;
		height: 100%;
		object-position: center 46%;
		transform: scale(1.04);
	}

	.home-stage .featured .woocommerce-loop-product__title {
		min-height: 0;
		font-size: 24px;
	}

	.home-stage .featured .tire-card__size { font-size: 15px; }
	.home-stage .featured .tire-card__spec,
	.home-stage .featured .stock { font-size: 14px; }

	.home-stage .featured .tire-card .price { font-size: 28px; }

	.home-stage .featured .tire-card a.button.button--cart,
	.home-stage .featured .tire-card .button--cart,
	.home-stage .featured .tire-card a.added_to_cart {
		min-height: 52px;
		font-size: 15px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.home-stage .featured .product-media img,
	.home-stage .featured .tire-card {
		transition: none;
	}
}
