/* Retesim destination-card enhancements (Brief C) --
   full-card click target, live price, and region flags/badge.
   Loaded only on the homepage and the All Destinations archive. */

li.product.product-type-grouped { position: relative; }

.rs-card-stretch {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.rs-price-custom {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 15px;
	font-weight: 700;
	margin-bottom: .5em;
	color: #0f172a;
}

.rs-price-custom .rs-price-unlimited {
	display: block;
	color: #4338ca;
	font-size: 12px;
	font-weight: 700;
	margin-top: 2px;
}

a.woocommerce-LoopProduct-link {
	position: relative;
	display: block;
}

.rs-corner-mark {
	position: absolute;
	left: 8px;
	top: 8px;
	z-index: 2;
	display: flex;
	align-items: center;
}

.rs-corner-mark svg {
	display: block;
	height: 16px;
	width: auto;
}

.rs-regional-badge {
	position: absolute;
	right: 8px;
	top: 8px;
	z-index: 2;
	background: rgba(255,255,255,.94);
	padding: 4px 10px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .02em;
	color: #4338ca;
	box-shadow: 0 4px 10px rgba(15,23,42,.14);
}

/* Homepage grid cards (.rs-destination) -- price line injected
   between the country name and the "View plans" row. */
.rs-price {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-top: 10px;
	font-size: 13px;
}

.rs-price-from {
	font-weight: 800;
	color: #0f172a;
}

.rs-price-unlimited {
	color: #4338ca;
	font-weight: 700;
	font-size: 12px;
}
