/*
 * Homepage product-card hierarchy.
 * Scoped to the front page so catalog and single-product layouts stay intact.
 */
.home .vs-product-card {
	border-color: rgba(18, 18, 18, 0.12);
}

.home .vs-product-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
	padding-top: 0.15rem;
}

.home .vs-product-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.38rem;
	margin: 0 0 0.7rem;
}

.home .vs-product-card__meta span {
	display: inline-flex;
	align-items: center;
	min-height: 1.7rem;
	padding: 0.28rem 0.58rem;
	border: 1px solid rgba(18, 18, 18, 0.08);
	border-radius: 999px;
	background: #f1f3f2;
	color: #4f5652;
	font-size: 0.75rem;
	font-weight: 750;
	line-height: 1;
}

.home .vs-product-card__title-link {
	display: block;
	margin-bottom: 0.7rem;
}

.home .vs-product-card .woocommerce-loop-product__title {
	font-size: clamp(1rem, 1.3vw, 1.15rem);
	font-weight: 800;
	line-height: 1.32;
	letter-spacing: -0.025em;
}

.home .vs-product-card__rating:empty {
	display: none;
}

.home .vs-product-card__price {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.2rem 0.45rem;
	margin: auto 0 0;
	padding: 0.68rem 0.78rem 0.72rem;
	border: 1px solid #c9ddf3;
	border-left: 4px solid #0969c3;
	border-radius: 0.78rem;
	background: #f1f7fd;
	color: #0961ae;
	font-size: 1.18rem;
	font-weight: 850;
	line-height: 1.2;
}

.home .vs-product-card__price::before {
	content: "Preis";
	display: block;
	flex-basis: 100%;
	margin-bottom: 0.08rem;
	color: #526372;
	font-size: 0.66rem;
	font-weight: 800;
	letter-spacing: 0.11em;
	line-height: 1;
	text-transform: uppercase;
}

.home .vs-product-card__price .amount,
.home .vs-product-card__price ins {
	color: #075fae;
	font-weight: 900;
}

.home .vs-product-card__price ins {
	text-decoration: none;
}

.home .vs-product-card__price del {
	color: #717b84;
	font-size: 0.78em;
	font-weight: 650;
	opacity: 1;
}

.home .vs-product-card__price .vs-tier-price-from__unit {
	color: #526372;
	font-size: 0.7em;
	font-weight: 700;
}

.home .vs-product-card .vs-stock-status {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 0.4rem 0.55rem;
	margin: 0.72rem 0 0;
	font-size: 0.79rem;
	line-height: 1.35;
}

.home .vs-product-card .vs-stock-status strong {
	display: inline-flex;
	align-items: center;
	min-height: 1.65rem;
	padding: 0.25rem 0.52rem;
	border-radius: 999px;
	background: #e7f8ef;
	color: #087641;
	font-size: 0.73rem;
	font-weight: 850;
	white-space: nowrap;
}

.home .vs-product-card .vs-stock-status span {
	color: #626966;
	font-weight: 550;
}

.home .vs-product-card .vs-stock-status.is-out strong {
	background: #fff0f0;
	color: #b42318;
}

.home .vs-product-card .vs-stock-status.is-pending {
	display: block;
	padding: 0.45rem 0.58rem;
	border-radius: 0.65rem;
	background: #fff8e6;
	color: #8a5a00;
	font-weight: 750;
}

.home .vs-product-card__action {
	margin-top: 0.85rem;
}

@media (max-width: 639px) {
	.home .vs-product-card__meta {
		gap: 0.3rem;
		margin-bottom: 0.55rem;
	}

	.home .vs-product-card__meta span {
		min-height: 1.5rem;
		padding: 0.22rem 0.46rem;
		font-size: 0.67rem;
	}

	.home .vs-product-card .woocommerce-loop-product__title {
		font-size: 0.92rem;
		line-height: 1.3;
	}

	.home .vs-product-card__price {
		padding: 0.58rem 0.62rem 0.62rem;
		font-size: 1rem;
	}

	.home .vs-product-card .vs-stock-status {
		display: flex;
		align-items: flex-start;
		flex-direction: column;
		gap: 0.35rem;
	}
}
