/* Offers listing + detail — ported from TrueTravel offers pages */

.true-offers-hero {
	position: relative;
	min-height: 560px;
	height: 50vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	margin-top: 0;
}

.true-offers-hero__media,
.true-offers-hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.true-offers-hero__image {
	object-fit: cover;
}

.true-offers-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
	z-index: 1;
}

.true-offers-hero__content {
	position: relative;
	z-index: 2;
	text-align: center;
	padding: 2rem;
	max-width: 720px;
}

.true-offers-hero__title {
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 800;
	color: var(--color-white);
	margin: 0 0 1rem;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.true-offers-hero__subtitle {
	font-size: clamp(1rem, 2.5vw, 1.25rem);
	color: rgba(255, 255, 255, 0.95);
	margin: 0;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.true-offers-grid-section {
	background: #fafafa;
}

/* Offer detail hero */
.true-offer-detail-hero {
	position: relative;
	min-height: 500px;
	height: 70vh;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
}

.true-offer-detail-hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}

.true-offer-detail-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.true-offer-detail-hero__content {
	position: relative;
	z-index: 2;
	padding: 3rem 1.5rem;
	width: 100%;
}

.true-offer-detail-hero__location {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	border-radius: 999px;
	color: var(--color-white);
	font-size: 0.875rem;
	margin-bottom: 1rem;
}

.true-offer-detail-hero__location svg {
	width: 16px;
	height: 16px;
}

.true-offer-detail-hero__title {
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 800;
	color: var(--color-white);
	margin: 0 0 1rem;
	max-width: 600px;
}

.true-offer-detail-hero__meta {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	flex-wrap: wrap;
}

.true-offer-detail-hero__rating,
.true-offer-detail-hero__duration {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--color-white);
	font-weight: 600;
}

.true-offer-detail-hero__rating svg {
	width: 20px;
	height: 20px;
	color: #fbbf24;
}

.true-offer-detail-hero__duration {
	color: rgba(255, 255, 255, 0.9);
	font-weight: 500;
}

.true-offer-detail-hero__duration svg {
	width: 18px;
	height: 18px;
}

/* Offer detail content */
.true-offer-detail-content {
	padding: 4rem 0;
	background: var(--color-gray-50);
}

.true-offer-detail-content__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
}

@media (min-width: 1024px) {
	.true-offer-detail-content__grid {
		grid-template-columns: 1fr 380px;
	}
}

.true-offer-detail-main {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
}

.true-offer-detail-panel {
	background: var(--color-white);
	padding: 2rem;
	border-radius: var(--radius-2xl);
	box-shadow: var(--shadow-md);
}

.true-offer-detail-panel h2 {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--color-gray-900);
	margin: 0 0 1.5rem;
}

.true-offer-detail-panel__text {
	font-size: 1.125rem;
	line-height: 1.8;
	color: var(--color-gray-600);
	margin: 0;
}

.true-offer-detail-highlights {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.true-offer-detail-highlight {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem;
	background: var(--color-gray-50);
	border-radius: var(--radius-lg);
}

.true-offer-detail-highlight svg {
	width: 24px;
	height: 24px;
	color: var(--color-primary);
	flex-shrink: 0;
}

.true-offer-detail-highlight span {
	color: var(--color-gray-700);
}

.true-offer-detail-itinerary {
	position: relative;
}

.true-offer-detail-itinerary::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: 2px;
	background: var(--color-gray-200);
	inset-inline-start: 30px;
}

.true-offer-detail-day {
	display: flex;
	gap: 1.5rem;
	padding: 1rem 0;
	position: relative;
}

.true-offer-detail-day__number {
	width: 60px;
	height: 60px;
	background: var(--gradient-primary);
	color: var(--color-white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.875rem;
	flex-shrink: 0;
	position: relative;
	z-index: 1;
	text-align: center;
	line-height: 1.2;
	padding: 0.25rem;
}

.true-offer-detail-day__content {
	flex: 1;
	padding-top: 0.75rem;
}

.true-offer-detail-day__content h4 {
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--color-gray-900);
	margin: 0 0 0.5rem;
}

.true-offer-detail-day__content p {
	font-size: 0.875rem;
	color: var(--color-gray-600);
	line-height: 1.6;
	margin: 0;
}

.true-offer-detail-sidebar {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

@media (min-width: 1024px) {
	.true-offer-detail-sidebar {
		position: sticky;
		top: calc(var(--navbar-height, 110px) + 1.5rem);
		align-self: start;
	}
}

.true-offer-detail-booking,
.true-offer-detail-help {
	background: var(--color-white);
	border-radius: var(--radius-2xl);
	box-shadow: var(--shadow-lg);
	padding: 2rem;
}

.true-offer-detail-help {
	box-shadow: var(--shadow-md);
	text-align: center;
}

.true-offer-detail-booking__info {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.true-offer-detail-booking__item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.875rem;
	color: var(--color-gray-600);
}

.true-offer-detail-booking__item svg {
	width: 20px;
	height: 20px;
	color: var(--color-primary);
	flex-shrink: 0;
}

.true-offer-detail-booking__cta {
	width: 100%;
}

.true-offer-detail-booking__guarantee {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin: 1rem 0 0;
	font-size: 0.75rem;
	color: var(--color-gray-500);
	text-align: center;
}

.true-offer-detail-booking__guarantee svg {
	width: 16px;
	height: 16px;
	color: var(--color-success, #16a34a);
	flex-shrink: 0;
}

.true-offer-detail-help h3 {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--color-gray-900);
	margin: 0 0 0.5rem;
}

.true-offer-detail-help p {
	font-size: 0.875rem;
	color: var(--color-gray-600);
	margin: 0 0 1rem;
}

.true-offer-detail-help__phone {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--color-primary);
	font-weight: 600;
	direction: ltr;
	unicode-bidi: embed;
	text-decoration: none;
}

.true-offer-detail-help__phone svg {
	width: 18px;
	height: 18px;
}

.true-offer-detail-sidebar__back {
	width: 100%;
}

body.true-travel .true-page--offers .true-offers-hero__title,
body.true-travel .true-page--offers .true-offers-hero__subtitle {
	color: #fff;
}

@media (max-width: 768px) {
	.true-offers-hero {
		min-height: 420px;
	}

	.true-offer-detail-hero {
		min-height: 420px;
		height: 60vh;
	}
}
