.vc-packages-archive {
	color: var(--vc-navy);
}

.vc-packages-hero {
	min-height: 320px;
	display: flex;
	align-items: end;
	padding: clamp(2.5rem, 6vw, 5rem) 0;
	background-size: cover;
	background-position: center;
	color: #fff;
}

.vc-packages-hero h1 {
	font-size: clamp(2.25rem, 5vw, 4rem);
	line-height: 1.05;
	margin: 0 0 0.5rem;
}

.vc-packages-hero__lead,
.vc-packages-intro p {
	max-width: 760px;
	font-size: 1.08rem;
}

.vc-packages-intro,
.vc-packages-toolbar,
.vc-packages-grid-wrap {
	padding-top: clamp(1.5rem, 3vw, 2.25rem);
}

.vc-packages-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

.vc-package-card,
.vc-package-product__sidebar,
.vc-package-booking-card {
	background: var(--vc-surface);
	border-radius: 18px;
	box-shadow: var(--vc-shadow);
}

.vc-package-card {
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vc-package-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
	cursor: pointer;
}

.vc-package-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(16, 36, 92, 0.14);
}

.vc-package-card__link:focus-visible {
	outline: 3px solid #5468af;
	outline-offset: 4px;
}

.vc-package-card__image img {
	display: block;
	width: 100%;
	height: auto;
}

.vc-package-card__body {
	padding: 1.1rem;
}

.vc-package-card__title,
.vc-package-card__price {
	margin: 0 0 0.65rem;
}

.vc-package-card__title {
	color: var(--vc-navy);
}

.vc-package-card__excerpt {
	color: var(--vc-muted);
}

.vc-package-card__attributes {
	margin: 0 0 1rem;
	padding-left: 1.1rem;
	color: var(--vc-navy);
}

.vc-package-product {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(340px, .75fr);
	gap: 1.5rem;
}

.vc-package-product__sidebar {
	padding: 1.25rem;
	position: sticky;
	top: 1.5rem;
	align-self: start;
}

.vc-package-card__button {
	width: 100%;
	margin-top: 0.5rem;
	background: #ed2649;
	color: #ffffff;
	border-radius: 10px;
	min-height: 44px;
	padding: 12px 18px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.vc-package-booking-card__cta {
	width: 100%;
	margin-top: 0.5rem;
}

@media (max-width: 1024px) {
	.vc-packages-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.vc-package-product {
		grid-template-columns: 1fr;
	}
	.vc-package-product__sidebar {
		position: static;
	}
}

@media (max-width: 640px) {
	.vc-packages-grid {
		grid-template-columns: 1fr;
	}
}
/* Final Travel Packages card override */
.vc-packages-archive .vc-package-card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 420px;
	min-height: 0 !important;
	padding: 0 !important;
	overflow: hidden;
	background: #fff !important;
	background-image: none !important;
	color: #10245c;
	border: 1px solid rgba(16, 36, 92, 0.1);
	border-radius: 18px;
	box-shadow: 0 12px 30px rgba(16, 36, 92, 0.1);
	isolation: isolate;
}

/* Kill legacy dark overlay */
.vc-packages-archive .vc-package-card::before,
.vc-packages-archive .vc-package-card::after {
	content: none !important;
	display: none !important;
	background: none !important;
	pointer-events: none !important;
}

/* Entire card is one clickable link */
.vc-packages-archive .vc-package-card__link {
	position: relative;
	z-index: 10;
	display: flex;
	flex: 1;
	flex-direction: column;
	width: 100%;
	height: 100%;
	color: inherit !important;
	text-decoration: none !important;
	cursor: pointer;
	pointer-events: auto !important;
}

/* Prevent descendants from blocking the parent anchor */
.vc-packages-archive .vc-package-card__link > * {
	pointer-events: none;
}

.vc-packages-archive .vc-package-card__image {
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: #eef2f8;
}

.vc-packages-archive .vc-package-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	opacity: 1 !important;
	filter: none !important;
}

.vc-packages-archive .vc-package-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 12px;
	padding: 20px;
	background: #fff !important;
}

.vc-packages-archive .vc-package-card__title {
	margin: 0;
	color: #10245c !important;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.3;
}

.vc-packages-archive .vc-package-card__excerpt,
.vc-packages-archive .vc-package-card__excerpt p {
	margin: 0;
	color: #5f6b85 !important;
	font-size: 15px;
	line-height: 1.6;
}

.vc-packages-archive .vc-package-card__price {
	margin: 0;
	color: #10245c !important;
	font-size: 22px;
	font-weight: 700;
}

.vc-packages-archive .vc-package-card__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 46px;
	margin-top: auto;
	padding: 12px 18px;
	color: #fff !important;
	background: #ed2649 !important;
	border-radius: 10px;
	font-weight: 700;
}

.vc-packages-archive .vc-package-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(16, 36, 92, 0.14);
}

.vc-packages-archive
.vc-package-card__link:hover
.vc-package-card__button {
	background: #cf1838 !important;
}

.vc-packages-archive .vc-package-card__link:focus-visible {
	outline: 3px solid #5468af;
	outline-offset: 4px;
}

.vc-packages-archive .vc-packages-grid:has(
	> .vc-package-card:only-child
) {
	grid-template-columns: minmax(280px, 420px);
}
/* Quick fix: Packages hero text readability */
.vc-packages-hero,
.vc-packages-archive-hero,
.tf-page-header .tf-page-header-inner,
.tft-page-banner {
    position: relative;
    overflow: hidden;
}

/* softer readable overlay */
.vc-packages-hero::before,
.vc-packages-archive-hero::before,
.tf-page-header .tf-page-header-inner::before,
.tft-page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(16, 36, 92, 0.68) 0%,
        rgba(16, 36, 92, 0.50) 45%,
        rgba(16, 36, 92, 0.38) 100%
    );
    z-index: 1;
}

/* keep content above overlay */
.vc-packages-hero > *,
.vc-packages-archive-hero > *,
.tf-page-header .tf-page-header-inner > *,
.tft-page-banner > *,
.tf-page-header .tft-container,
.tf-page-header .tft-page-banner {
    position: relative;
    z-index: 2;
}

/* eyebrow */
.vc-packages-hero__eyebrow,
.tf-page-header .vc-eyebrow,
.tft-page-banner .vc-eyebrow {
    color: #ff6b86 !important;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
}

/* main heading */
.vc-packages-hero h1,
.vc-packages-archive-hero h1,
.tf-page-header h1,
.tft-page-banner h1,
.tf-page-header .entry-title {
    color: #ffffff !important;
    font-size: clamp(2.2rem, 5vw, 4.6rem);
    line-height: 1.05;
    font-weight: 800;
    margin: 0 0 16px;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.30);
    max-width: 12ch;
}

/* supporting text */
.vc-packages-hero p,
.vc-packages-archive-hero p,
.tf-page-header p,
.tft-page-banner p,
.tf-page-header .entry-summary {
    color: rgba(255, 255, 255, 0.96) !important;
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    line-height: 1.6;
    max-width: 760px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

/* better hero spacing */
.vc-packages-hero,
.vc-packages-archive-hero,
.tf-page-header .tf-page-header-inner,
.tft-page-banner {
    min-height: 340px;
    display: flex;
    align-items: center;
}

@media (max-width: 767px) {
    .vc-packages-hero,
    .vc-packages-archive-hero,
    .tf-page-header .tf-page-header-inner,
    .tft-page-banner {
        min-height: 260px;
    }

    .vc-packages-hero h1,
    .vc-packages-archive-hero h1,
    .tf-page-header h1,
    .tft-page-banner h1,
    .tf-page-header .entry-title {
        max-width: none;
    }
}

body.vc-package-product-page {
	background: #f7f9fc;
}

body.vc-package-product-page .vc-package-product {
	max-width: 1360px;
	margin: 0 auto;
	padding: 32px 20px 72px;
}

body.vc-package-product-page .vc-package-product__hero {
	margin-bottom: 28px;
	padding: 28px 0 8px;
}

body.vc-package-product-page .vc-package-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 10px;
	color: #5468af;
	font-size: 14px;
}

body.vc-package-product-page .vc-package-breadcrumbs a {
	color: #5468af;
	text-decoration: none;
}

body.vc-package-product-page .vc-package-product__eyebrow {
	margin: 0 0 10px;
	color: #5468af;
	font-size: 0.95rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

body.vc-package-product-page .product_title.entry-title {
	margin: 0 0 14px;
	color: #10245c;
	font-size: clamp(2rem, 4vw, 3.5rem);
	line-height: 1.05;
}

body.vc-package-product-page .vc-package-product__summary {
	max-width: 820px;
	color: #4f5d75;
	font-size: 18px;
	line-height: 1.7;
}

body.vc-package-product-page .vc-package-product__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

body.vc-package-product-page .vc-package-product__trust li,
body.vc-package-product-page .vc-package-booking-card__reassurance li {
	padding: 10px 14px;
	background: #fff;
	border: 1px solid rgba(16, 36, 92, 0.1);
	border-radius: 999px;
	color: #10245c;
	font-weight: 700;
}

body.vc-package-product-page .vc-package-product__main {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.75fr);
	gap: 32px;
	align-items: start;
}

body.vc-package-product-page .vc-package-product__content {
	min-width: 0;
}

body.vc-package-product-page .woocommerce-product-gallery {
	width: 100% !important;
	float: none !important;
	margin: 0 0 24px !important;
}

body.vc-package-product-page .woocommerce-product-gallery__wrapper {
	border-radius: 18px;
	overflow: hidden;
	background: #fff;
}

body.vc-package-product-page .woocommerce-product-gallery__image img {
	width: 100%;
	max-height: 620px;
	object-fit: cover;
}

body.vc-package-product-page .flex-viewport {
	min-height: 420px;
	max-height: 620px;
}

body.vc-package-product-page .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image {
	background: #fff;
}

body.vc-package-product-page .woocommerce-product-gallery .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
	gap: 10px;
	margin-top: 12px;
}

body.vc-package-product-page .woocommerce-product-gallery .flex-control-thumbs li {
	float: none;
	width: auto;
}

body.vc-package-product-page .vc-package-content-panel,
body.vc-package-product-page .vc-package-booking-card,
body.vc-package-product-page .vc-package-advisor-band,
body.vc-package-product-page .vc-package-related {
	background: #ffffff;
	border: 1px solid rgba(16, 36, 92, 0.12);
	border-radius: 20px;
	box-shadow: 0 18px 50px rgba(16, 36, 92, 0.12);
}

body.vc-package-product-page .vc-package-content-panel {
	padding: 24px;
	margin-bottom: 20px;
}

body.vc-package-product-page .vc-package-content-panel h2,
body.vc-package-product-page .vc-package-advisor-band h2,
body.vc-package-product-page .vc-package-related h2 {
	margin: 0 0 14px;
	color: #10245c;
}

body.vc-package-product-page .vc-package-content-panel__body,
body.vc-package-product-page .woocommerce-product-details__short-description {
	max-width: 820px;
	color: #4f5d75;
	font-size: 18px;
	line-height: 1.7;
}

body.vc-package-product-page .vc-package-facts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin-top: 20px;
}

body.vc-package-product-page .vc-package-fact {
	padding: 16px;
	background: #f7f9fc;
	border-radius: 16px;
}

body.vc-package-product-page .vc-package-fact__label {
	display: block;
	margin-bottom: 6px;
	color: #5468af;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

body.vc-package-product-page .vc-package-fact__value {
	color: #10245c;
	font-size: 16px;
}

body.vc-package-product-page .vc-package-product__sidebar {
	position: sticky;
	top: 120px;
	padding: 0;
}

body.vc-package-product-page .vc-package-booking-card {
	padding: 24px;
}

body.vc-package-product-page .vc-package-booking-card__eyebrow,
body.vc-package-product-page .vc-package-booking-card__sku,
body.vc-package-product-page .vc-package-booking-card__phone {
	margin: 0 0 12px;
	color: #4f5d75;
}

body.vc-package-product-page .vc-package-booking-card__price {
	color: #10245c;
	font-size: 2rem;
	font-weight: 800;
	margin-bottom: 12px;
}

body.vc-package-product-page .vc-package-booking-card .single_add_to_cart_button {
	width: 100%;
	min-height: 52px;
	padding: 14px 18px;
	border: 0;
	border-radius: 12px;
	background: #ed2649;
	color: #fff;
	font-size: 16px;
	font-weight: 800;
}

body.vc-package-product-page .vc-package-booking-card .single_add_to_cart_button:hover {
	background: #cf1838;
}

body.vc-package-product-page .vc-package-booking-card__secondary {
	display: inline-flex;
	justify-content: center;
	width: 100%;
	margin-top: 12px;
	border: 1px solid rgba(16, 36, 92, 0.18);
	border-radius: 12px;
	padding: 12px 18px;
	color: #10245c;
	text-decoration: none;
}

body.vc-package-product-page .vc-package-booking-card__reassurance {
	display: grid;
	gap: 10px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

body.vc-package-product-page .vc-package-advisor-band {
	padding: 24px;
	margin: 24px 0;
	background: #eef3fb;
	box-shadow: none;
}

body.vc-package-product-page .vc-package-advisor-band__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

body.vc-package-product-page .vc-package-related {
	padding: 24px;
	margin-top: 24px;
	box-shadow: none;
}

body.vc-package-product-page .vc-packages-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1024px) {
	body.vc-package-product-page .vc-package-product__main {
		grid-template-columns: 1fr;
	}
	body.vc-package-product-page .vc-package-product__sidebar {
		position: static;
	}
	body.vc-package-product-page .vc-package-facts,
	body.vc-package-product-page .vc-packages-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	body.vc-package-product-page .flex-viewport,
	body.vc-package-product-page .woocommerce-product-gallery__image img {
		max-height: 500px;
	}
}

@media (max-width: 640px) {
	body.vc-package-product-page .vc-package-product {
		padding: 18px 14px 56px;
	}
	body.vc-package-product-page .product_title.entry-title {
		font-size: clamp(1.9rem, 8vw, 2.3rem);
	}
	body.vc-package-product-page .vc-package-product__trust,
	body.vc-package-product-page .vc-package-advisor-band__actions {
		flex-direction: column;
	}
	body.vc-package-product-page .vc-package-facts,
	body.vc-package-product-page .vc-packages-grid {
		grid-template-columns: 1fr;
	}
	body.vc-package-product-page .woocommerce-product-gallery__wrapper {
		border-radius: 14px;
	}
	body.vc-package-product-page .woocommerce-product-gallery__image img {
		aspect-ratio: 4 / 3;
		height: auto;
		max-height: none;
	}
}
