/**
 * Cart enhancements — branded empty cart + side-cart upsells.
 * Uses the theme's CSS custom properties so it matches the brand.
 */

/* ---------- Empty cart ---------- */
.vk-empty-cart {
	text-align: center;
	max-width: 520px;
	margin: 2.5rem auto 1.5rem;
	padding: 0 1rem;
}
.vk-empty-cart__icon {
	color: var(--color-primary, #fc0048);
	margin-bottom: 1rem;
	opacity: .9;
}
.vk-empty-cart__title {
	font-family: var(--font-primary, inherit);
	font-size: clamp(1.6rem, 4vw, 2.2rem);
	margin: 0 0 .5rem;
}
.vk-empty-cart__text {
	color: #6f6f6f;
	font-size: 1rem;
	line-height: 1.6;
	margin: 0 auto 1.5rem;
	max-width: 38ch;
}
.vk-empty-cart__cta {
	display: inline-flex;
	text-decoration: none;
}

/* ---------- Suggested products grid (empty cart) ---------- */
.vk-suggestions {
	max-width: 1100px;
	margin: 2.5rem auto;
	padding: 0 1rem;
}
.vk-suggestions__heading {
	text-align: center;
	font-family: var(--font-primary, inherit);
	font-size: clamp(1.2rem, 3vw, 1.6rem);
	margin-bottom: 1.5rem;
}
.vk-suggestions__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1.5rem;
}
.vk-suggestion {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	text-align: center;
	transition: transform .18s ease;
}
.vk-suggestion:hover { transform: translateY(-4px); }
.vk-suggestion__image img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 12px;
	display: block;
}
.vk-suggestion__title {
	margin-top: .75rem;
	font-family: var(--font-primary, inherit);
	font-size: .95rem;
	line-height: 1.35;
}
.vk-suggestion__price {
	margin-top: .25rem;
	color: var(--color-primary, #fc0048);
	font-size: .9rem;
}

/* ---------- Side-cart upsells ---------- */
.vk-sidecart-upsells {
	border-top: 1px solid #ece7e0;
	margin-top: 1rem;
	padding-top: 1rem;
}
.vk-sidecart-upsells__title {
	display: block;
	font-family: var(--font-primary, inherit);
	font-size: .72rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #8a8a8a;
	margin-bottom: .65rem;
}
.vk-upsell {
	display: flex;
	align-items: center;
	gap: .7rem;
	padding: .45rem 0;
}
.vk-upsell + .vk-upsell { border-top: 1px solid #f3efe9; }
.vk-upsell__image img {
	width: 46px;
	height: 46px;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}
.vk-upsell__info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.vk-upsell__title {
	font-size: .85rem;
	line-height: 1.25;
	color: inherit;
	text-decoration: none;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.vk-upsell__price { font-size: .8rem; color: var(--color-primary, #fc0048); }
.vk-upsell__price .woocommerce-Price-amount { font-size: inherit; }
.vk-upsell__add {
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	line-height: 1;
	text-decoration: none;
	border: 1px solid var(--color-primary, #fc0048);
	color: var(--color-primary, #fc0048);
	background: transparent;
	transition: background-color .16s ease, color .16s ease;
}
.vk-upsell__add:hover {
	background: var(--color-primary, #fc0048);
	color: var(--color-base, #fff);
}
.vk-upsell__add.loading { opacity: .5; pointer-events: none; }
