/**
 * Packages-only supplementary styles.
 *
 * Everything else on the Packages archive/single pages reuses classes
 * already defined in style.css / tours.css / tour-details.css
 * unchanged (.tour-item, .tour-filter, .booking-card, .td-section,
 * .td-features-list, .td-inc-exc-*, .original-price, etc.) so the two
 * systems share one visual language. This file only covers the
 * handful of elements that are genuinely new to Packages: the related
 * tours grid and the booking-rules total box. Uses the same CSS
 * custom properties (--tt-primary, --tt-secondary, --tt-sand, --tt-light) defined
 * in style.css.
 */

:where(.tt-scope) .related-tours-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 14px;
	margin-top: 10px;
}

:where(.tt-scope) .related-tour-card {
	display: block;
	text-decoration: none;
	color: var(--tt-primary);
	border-radius: 10px;
	overflow: hidden;
	background: var(--tt-light);
	border: 1px solid #eee;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

:where(.tt-scope) .related-tour-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 18px rgba(11, 31, 51, 0.12);
	color: var(--tt-primary);
}

:where(.tt-scope) .related-tour-card img {
	width: 100%;
	height: 90px;
	object-fit: cover;
	display: block;
}

:where(.tt-scope) .related-tour-card span {
	display: block;
	padding: 8px 10px;
	font-size: 13px;
	font-weight: 600;
}

/* .booking-total-box / .booking-total live in tour-details.css --
 * it's the shared base both the Tour and Package single pages load,
 * and this "Estimated Total" summary box is used by both booking
 * forms now, not just Packages. */

:where(.tt-scope) .no-results {
	padding: 40px 20px;
	text-align: center;
}

/* ---------- Badges (Sale, Featured, Popular, Best Seller, Limited Offer, New) ---------- */

.tt-badges {
	position: absolute;
	top: 12px;
	left: 12px;
	max-width: calc(100% - 100px);
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 6px;
	z-index: 2;
}

.tt-badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	color: #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.tt-badge-sale {
	background: #d9534f;
}

.tt-badge-featured {
	background: var(--tt-secondary);
}

.tt-badge-popular {
	background: var(--tt-primary);
}

.tt-badge-bestseller {
	background: #b8860b;
}

.tt-badge-limited_offer {
	background: #d9534f;
}

.tt-badge-new {
	background: #2f9e44;
}

/* ---------- Fully booked ---------- */

.tt-ribbon-fully-booked {
	position: absolute;
	top: 12px;
	right: 12px;
	background: rgba(11, 31, 51, 0.85);
	color: #fff;
	padding: 4px 10px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	z-index: 2;
}

:where(.tt-scope) .tour-item.tt-fully-booked .tour-item-image img {
	filter: grayscale(35%);
	opacity: 0.85;
}

.tt-hero-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 10px;
}

.tt-booking-unavailable {
	color: #d9534f;
	font-weight: 600;
	text-align: center;
	padding: 10px 0;
}
