/**
 * Scoped Frontend Stylesheets for Travel Packages Builder
 * RTL-First, Scoped, Responsive, Premium Modern Travel Design
 */

/* ==========================================================================
   1. Listing View (.tvl-packages)
   ========================================================================== */
.tvl-packages {
    --tvl-primary-rgb: 36, 128, 105; /* Fallback RGB for overlay transparencies */
    --tvl-text-dark: var(--tvl-custom-text-dark, #2d3748);
    --tvl-text-muted: var(--tvl-custom-text-muted, #718096);
    --tvl-bg-light: var(--tvl-custom-bg-light, #f7fafc);
    --tvl-card-bg: var(--tvl-custom-card-bg, #ffffff);
    --tvl-border-color: var(--tvl-custom-border-color, #e2e8f0);
    --tvl-shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.04);
    --tvl-shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.08);
    --tvl-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

    font-family: inherit;
    font-size: var(--tvl-font-base, 14px);
    color: var(--tvl-text-dark);
    line-height: 1.6;
    margin: 20px 0;
}

/* =========================================================
   Tourist visas directory and interactive details
   ========================================================= */
.tvl-visas-wrap,
.tvl-visa-detail {
    color: var(--tvl-custom-text-dark, #2d3748);
    font-size: var(--tvl-font-body, 14px);
	font-family: inherit;
}

.tvl-visas-wrap input,
.tvl-visas-wrap select,
.tvl-visas-wrap textarea,
.tvl-visas-wrap button {
	font-family: inherit;
}

.tvl-visas-wrap {
    position: relative;
	left: auto;
	box-sizing: border-box;
    width: min(1180px, 100%);
    max-width: 1180px;
    margin: 0 auto;
	padding: 12px 0 64px;
    background: #fff;
}

html body:has(.tvl-visas-wrap),
html body:has(.tvl-visas-wrap) #page,
html body:has(.tvl-visas-wrap) .site,
html body:has(.tvl-visas-wrap) .site-content,
html body:has(.tvl-visas-wrap) .content-area,
html body:has(.tvl-visas-wrap) main:has(.tvl-visas-wrap),
html body:has(.tvl-visas-wrap) article:has(.tvl-visas-wrap),
html body:has(.tvl-visas-wrap) .entry-content:has(.tvl-visas-wrap),
html body:has(.tvl-visas-wrap) .wp-site-blocks:has(.tvl-visas-wrap),
html body:has(.tvl-visas-wrap) .wp-block-post-content:has(.tvl-visas-wrap),
html body:has(.tvl-visas-wrap) .wp-block-shortcode:has(> .tvl-visas-wrap) {
    margin-top: 0 !important;
    padding-top: 0 !important;
    background: #fff !important;
}

.tvl-visas-shortcode-header {
    max-width: 900px;
	margin: 0 auto 28px;
	padding: 0;
    text-align: center;
}

.tvl-visas-shortcode-header::before {
	display: none;
	content: none;
}

.tvl-visas-shortcode-header h1 {
	margin: 0 0 8px;
}

.tvl-visas-shortcode-header p {
	margin: 0;
    color: var(--tvl-custom-text-muted, #64748b);
}

.tvl-visas-wrap *,
.tvl-visas-wrap *::before,
.tvl-visas-wrap *::after,
.tvl-visa-detail *,
.tvl-visa-detail *::before,
.tvl-visa-detail *::after {
    box-sizing: border-box;
}

.tvl-visa-filters {
    display: flex;
	flex-wrap: wrap;
    gap: 15px;
    align-items: end;
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid var(--tvl-custom-border-color, #e2e8f0);
    border-radius: 14px;
    background: var(--tvl-custom-card-bg, #fff);
    box-shadow: 0 8px 28px rgba(15, 23, 42, .05);
}

.tvl-visa-filters label {
    display: grid;
	min-width: 0;
	flex: 1 1 200px;
    gap: 6px;
    color: var(--tvl-custom-text-muted, #64748b);
    font-weight: 700;
}

.tvl-visa-filters label:first-of-type { flex: 2 1 250px; }

.tvl-visa-filters input,
.tvl-visa-filters select,
.tvl-visa-profile-selector select {
    width: 100%;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--tvl-custom-border-color, #d8dee7);
    border-radius: 9px;
    background: #fff;
    color: var(--tvl-custom-text-dark, #2d3748);
}

.tvl-visa-reset {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: var(--tvl-primary, #248069);
    font-weight: 700;
	padding-inline: 8px;
}

.tvl-visas-grid {
    display: grid;
    gap: 30px;
}

.tvl-visas-grid.tvl-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tvl-visas-grid.tvl-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tvl-visas-grid.tvl-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.tvl-visa-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--tvl-custom-border-color, #e2e8f0);
    border-radius: 16px;
    background: var(--tvl-custom-card-bg, #fff);
    box-shadow: 0 10px 32px rgba(15, 23, 42, .07);
    transition: transform .2s ease, box-shadow .2s ease;
}

.tvl-visa-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .12);
}

.tvl-visa-card-media {
    position: relative;
    display: block;
	height: auto;
	aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, var(--tvl-primary, #248069), #6d7f79);
}

.tvl-visa-card-media img {
	position: relative;
	z-index: 1;
	display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tvl-visa-card-featured-image {
	visibility: visible !important;
	opacity: 1 !important;
}

.tvl-visa-card-placeholder {
    display: grid;
    height: 100%;
    place-items: center;
    font-size: 62px;
}

.tvl-visa-country-code {
    position: absolute;
	z-index: 2;
    top: 14px;
    inset-inline-end: 14px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: var(--tvl-primary, #248069);
    font-weight: 800;
    letter-spacing: .04em;
}

.tvl-visa-card-flag {
    position: relative;
    z-index: 2;
    display: grid;
	width: 82px;
	height: 82px;
	margin: -41px auto 0;
    overflow: hidden;
    place-items: center;
    border: 4px solid #fff;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .2);
}

.tvl-visa-card-flag .tvl-visa-showcase-flag-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tvl-visa-card-flag .tvl-visa-showcase-flag-fallback { font-size: 45px; }

.tvl-visa-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
	padding: 20px;
}

.tvl-visa-card-destination,
.tvl-visa-eyebrow {
    color: var(--tvl-primary, #248069);
    font-weight: 800;
}

.tvl-visa-card h3 {
    margin: 6px 0;
    font-size: 21px;
    line-height: 1.35;
}

.tvl-visa-card h3 a {
    color: inherit;
    text-decoration: none;
}

.tvl-visa-card-type {
    margin: 0 0 12px;
    color: var(--tvl-custom-text-muted, #64748b);
}

.tvl-visa-card-meta {
    display: grid;
    gap: 7px;
    margin-bottom: 18px;
    color: var(--tvl-custom-text-muted, #64748b);
}

.tvl-visa-card-footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--tvl-custom-border-color, #edf0f4);
}

.tvl-visa-starting-price {
    display: grid;
    gap: 2px;
}

.tvl-visa-starting-price small { color: var(--tvl-custom-text-muted, #64748b); }
.tvl-visa-starting-price strong { color: var(--tvl-accent, #6d7f79); font-size: 18px; }

.tvl-visas-empty {
    padding: 45px 20px;
    border: 1px dashed var(--tvl-custom-border-color, #cbd5e1);
    border-radius: 14px;
    text-align: center;
    color: var(--tvl-custom-text-muted, #64748b);
}

.tvl-visas-archive-header,
.tvl-packages-archive-header {
    margin-bottom: 28px;
    text-align: center;
}

.tvl-visas-archive-header h1,
.tvl-packages-archive-header h1 { margin-bottom: 8px; }
.tvl-visas-archive-header p,
.tvl-packages-archive-header p { color: var(--tvl-custom-text-muted, #64748b); }

.tvl-visa-detail {
    display: block;
    overflow: visible;
}

.tvl-visa-body {
    display: grid;
    gap: 22px;
    padding-block: 32px 64px;
}

.tvl-visa-hero {
    position: relative;
    display: grid;
    min-height: clamp(440px, 52vw, 610px);
    padding: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, #248069, #6d7f79);
    background-position: center;
    background-size: cover;
    overflow: hidden;
    isolation: isolate;
}

.tvl-visa-hero.has-image {
    background-image: linear-gradient(180deg, rgba(5, 30, 37, .48), rgba(7, 28, 30, .76)), var(--tvl-visa-hero-image);
}

.tvl-visa-hero-overlay {
    display: grid;
    width: 100%;
    padding: clamp(54px, 7vw, 86px) 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .14), transparent 32%, transparent 68%, rgba(0, 0, 0, .14));
}

.tvl-visa-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.tvl-visa-hero h1 {
    margin: 8px 0 12px;
    color: #fff;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 0 3px 18px rgba(0, 0, 0, .28);
}

.tvl-visa-lead {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .88);
    font-size: 17px;
    line-height: 1.8;
}

.tvl-visa-hero .tvl-visa-eyebrow {
    display: inline-flex;
    padding: 7px 13px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    background: rgba(36, 128, 105, .64);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    backdrop-filter: blur(6px);
}

.tvl-visa-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
    justify-content: center;
}

.tvl-visa-hero-cta {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
    padding: 13px 31px;
    border-radius: 10px;
    background: var(--tvl-cta-color, var(--tvl-accent, #6d7f79));
    color: #fff;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .2);
}

.tvl-visa-hero-cta:hover,
.tvl-visa-hero-cta:focus { color: #fff; filter: brightness(1.06); transform: translateY(-2px); }

.tvl-visa-summary > span {
    display: grid;
    gap: 3px;
    min-width: 145px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 12px;
    background: rgba(4, 35, 32, .52);
    color: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
    backdrop-filter: blur(8px);
}

.tvl-visa-summary b { font-size: 12px; color: rgba(255, 255, 255, .72); }

.tvl-visa-section,
.tvl-visa-profile-panel,
.tvl-visa-contact-section {
    padding: clamp(20px, 3vw, 30px);
    border: 1px solid var(--tvl-custom-border-color, #e2e8f0);
    border-radius: 16px;
    background: var(--tvl-custom-card-bg, #fff);
}

.tvl-visa-section h2,
.tvl-visa-profile-panel h2,
.tvl-visa-contact-section h2 { margin-top: 0; }

.tvl-visa-description { line-height: 1.85; }

.tvl-visa-profile-selector {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 360px);
    gap: 24px;
    align-items: center;
    border-color: rgba(36, 128, 105, .25);
    background: #f4fbf8;
}

.tvl-visa-profile-selector p { margin-bottom: 0; color: var(--tvl-custom-text-muted, #64748b); }
.tvl-visa-profile-selector label { display: grid; gap: 7px; font-weight: 800; }

.tvl-visa-profile-panels {
    display: grid;
    gap: 20px;
}

.tvl-visa-js .tvl-visa-profile-panel { display: none; }
.tvl-visa-js .tvl-visa-profile-panel.is-active { display: block; }

.tvl-visa-profile-panel-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--tvl-custom-border-color, #e2e8f0);
}

.tvl-visa-profile-panel-header span { color: var(--tvl-custom-text-muted, #64748b); }
.tvl-visa-profile-panel-header h2 { margin: 3px 0 0; }

.tvl-visa-profile-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.tvl-visa-profile-facts span {
    padding: 7px 10px;
    border-radius: 8px;
    background: var(--tvl-custom-bg-light, #f7fafc);
}

.tvl-visa-eligibility {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #eff6ff;
}

.tvl-visa-eligibility p { margin: 5px 0 0; }

.tvl-visa-profile-content {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
    gap: 28px;
}

.tvl-visa-requirements ol,
.tvl-visa-additional-section ul,
.tvl-visa-profile-additional ul {
    display: grid;
    gap: 10px;
    margin-bottom: 0;
    padding-inline-start: 24px;
}

.tvl-visa-requirements li { padding-inline-start: 5px; line-height: 1.7; }

.tvl-visa-price-cards {
    display: grid;
    gap: 10px;
}

.tvl-visa-price-card {
    display: grid;
    gap: 5px;
    padding: 15px;
    border: 1px solid rgba(109, 127, 121, .22);
    border-radius: 11px;
    background: #f2f6f5;
}

.tvl-visa-price-card > span { color: var(--tvl-custom-text-muted, #64748b); font-weight: 700; }
.tvl-visa-price-card strong { color: var(--tvl-accent, #6d7f79); font-size: 20px; line-height: 1.45; }
.tvl-visa-price-card small { color: var(--tvl-custom-text-muted, #64748b); }

.tvl-visa-profile-additional {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--tvl-custom-border-color, #e2e8f0);
}

.tvl-visa-additional-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.tvl-visa-general-notes {
    padding: 18px;
    border-radius: 11px;
    background: var(--tvl-custom-bg-light, #f7fafc);
}

.tvl-visa-general-notes h3 { margin-top: 0; }

.tvl-visa-contact-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    border: 0;
    background: linear-gradient(135deg, var(--tvl-primary, #248069), #6d7f79);
    color: #fff;
}

.tvl-visa-contact-section p { margin-bottom: 0; opacity: .9; }
.tvl-visa-contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tvl-visa-contact-section .tvl-btn { background: #fff; color: var(--tvl-primary, #248069); }
.tvl-visa-contact-section .tvl-btn-whatsapp { background: #25d366; color: #10261a; }
.tvl-visa-forminator { grid-column: 1 / -1; padding: 18px; border-radius: 12px; background: #fff; color: #1f2937; }

/* Visa showcase shortcode: slider, grid, stacked cards, and compact flags. */
.tvl-visa-showcase {
    --tvl-showcase-gap: 24px;
    width: 100%;
    margin: 28px 0;
    color: var(--tvl-custom-text-dark, #172033);
}

.tvl-visa-showcase.tvl-visa-showcase-slider {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.tvl-visa-showcase-slider .tvl-visa-showcase-header {
    max-width: 1200px !important;
    margin-inline: auto !important;
    padding-inline: max(24px, calc((100vw - 1200px) / 2)) !important;
}

.tvl-visa-showcase-slider .tvl-visa-showcase-viewport {
    width: 100vw !important;
    max-width: 100vw !important;
    scroll-padding-inline: max(24px, calc((100vw - 1200px) / 2)) !important;
}

.tvl-visa-showcase-slider .tvl-visa-showcase-track {
    padding-inline: max(24px, calc((100vw - 1200px) / 2)) !important;
}

.tvl-visa-showcase-slider .tvl-visa-showcase-dots {
    max-width: 1200px !important;
    margin-inline: auto !important;
}

.tvl-visa-showcase *,
.tvl-visa-showcase *::before,
.tvl-visa-showcase *::after { box-sizing: border-box; }

.tvl-visa-showcase-header {
    display: flex;
    justify-content: center;
    align-items: end;
    gap: 20px;
    margin-bottom: 28px;
}

.tvl-visa-showcase-heading {
    display: grid;
    justify-items: center;
    gap: 18px;
    text-align: center;
}

.tvl-visa-showcase-heading > span {
    width: 78px;
    height: 1px;
    background: var(--tvl-custom-border-color, #d7dce3);
}

.tvl-visa-showcase-heading h2 {
    margin: 0;
    color: var(--tvl-custom-text-dark, #111827);
    font-size: clamp(27px, 3.2vw, 43px);
    font-weight: 900;
    line-height: 1.25;
}

.tvl-visa-showcase-controls {
    position: absolute;
    inset-inline-end: 0;
    display: flex;
    gap: 8px;
}

.tvl-visa-showcase-header { position: relative; }

.tvl-visa-showcase-controls button {
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    border: 1px solid var(--tvl-custom-border-color, #d7dce3);
    border-radius: 50%;
    background: #fff;
    color: var(--tvl-primary, #248069);
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.tvl-visa-showcase-controls button:hover,
.tvl-visa-showcase-controls button:focus-visible {
    background: var(--tvl-primary, #248069);
    color: #fff;
    transform: translateY(-1px);
}

.tvl-visa-showcase-viewport { min-width: 0; }

.tvl-visa-showcase-track {
    display: grid;
    gap: var(--tvl-showcase-gap);
}

.tvl-visa-showcase-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--tvl-custom-border-color, #e2e5e9);
    border-radius: 18px;
    background: var(--tvl-custom-card-bg, #fff);
    box-shadow: 0 5px 12px rgba(15, 23, 42, .16);
    scroll-snap-align: start;
    transition: transform .25s ease, box-shadow .25s ease;
}

.tvl-visa-showcase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 34px rgba(15, 23, 42, .17);
}

.tvl-visa-showcase-card > a {
    position: relative;
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.tvl-visa-showcase-media {
    display: grid;
    height: 192px;
    overflow: hidden;
    place-items: center;
    background: linear-gradient(135deg, var(--tvl-primary, #248069), #6d7f79);
}

.tvl-visa-showcase-cover {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    max-height: none !important;
    min-height: 100% !important;
    transition: transform .35s ease;
}

.tvl-visa-showcase-card:hover .tvl-visa-showcase-cover { transform: scale(1.035); }

.tvl-visa-showcase-cover-placeholder {
    color: rgba(255, 255, 255, .9);
    font-size: 56px;
}

.tvl-visa-showcase-flag {
    position: relative;
    z-index: 2;
    display: grid;
    width: 111px;
    height: 111px;
    margin: -56px auto 0;
    overflow: hidden;
    place-items: center;
    border: 5px solid #fff;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .2);
}

.tvl-visa-showcase-flag-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tvl-visa-showcase-flag-fallback {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    background: #fff;
    font-size: 65px;
    line-height: 1;
}

.tvl-visa-showcase-card-body {
    display: grid;
    gap: 8px;
    padding: 18px 16px 17px;
    text-align: center;
}

.tvl-visa-showcase-card-body h3 {
    margin: 0;
    color: var(--tvl-custom-text-dark, #101827);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.4;
}

.tvl-visa-showcase-card-body p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: var(--tvl-custom-text-muted, #64748b);
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.tvl-visa-showcase-link-label {
    color: var(--tvl-primary, #248069);
    font-weight: 800;
}

.tvl-visa-showcase-slider .tvl-visa-showcase-viewport {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
}

.tvl-visa-showcase-slider .tvl-visa-showcase-viewport::-webkit-scrollbar { display: none; }
.tvl-visa-showcase-slider .tvl-visa-showcase-track { grid-auto-flow: column; }
.tvl-visa-showcase-slider.tvl-cols-2 .tvl-visa-showcase-track { grid-auto-columns: calc((100% - var(--tvl-showcase-gap)) / 2); }
.tvl-visa-showcase-slider.tvl-cols-3 .tvl-visa-showcase-track { grid-auto-columns: calc((100% - (var(--tvl-showcase-gap) * 2)) / 3); }
.tvl-visa-showcase-slider.tvl-cols-4 .tvl-visa-showcase-track { grid-auto-columns: calc((100% - (var(--tvl-showcase-gap) * 3)) / 4); }
.tvl-visa-showcase-slider.tvl-cols-5 .tvl-visa-showcase-track { grid-auto-columns: calc((100% - (var(--tvl-showcase-gap) * 4)) / 5); }
.tvl-visa-showcase-slider.tvl-cols-6 .tvl-visa-showcase-track { grid-auto-columns: calc((100% - (var(--tvl-showcase-gap) * 5)) / 6); }
.tvl-visa-showcase-slider .tvl-visa-showcase-link-label { display: none; }

.tvl-visa-showcase-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    min-height: 13px;
    margin-top: 24px;
}

.tvl-visa-showcase-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #cfd2d6;
    cursor: pointer;
}

.tvl-visa-showcase-dot.is-active {
    width: 11px;
    height: 11px;
    background: var(--tvl-accent, #6d7f79);
}

.tvl-visa-showcase-grid.tvl-cols-2 .tvl-visa-showcase-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tvl-visa-showcase-grid.tvl-cols-3 .tvl-visa-showcase-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tvl-visa-showcase-grid.tvl-cols-4 .tvl-visa-showcase-track { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tvl-visa-showcase-grid.tvl-cols-5 .tvl-visa-showcase-track { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tvl-visa-showcase-grid.tvl-cols-6 .tvl-visa-showcase-track { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.tvl-visa-showcase-stack .tvl-visa-showcase-track { grid-template-columns: 1fr; }
.tvl-visa-showcase-stack .tvl-visa-showcase-card > a {
    display: grid;
    grid-template-columns: minmax(180px, 240px) 111px minmax(0, 1fr);
    align-items: center;
}
.tvl-visa-showcase-stack .tvl-visa-showcase-media { height: 150px; }
.tvl-visa-showcase-stack .tvl-visa-showcase-flag { margin: 0 -56px; }
.tvl-visa-showcase-stack .tvl-visa-showcase-card-body { padding: 20px 30px; text-align: start; }

.tvl-visa-showcase-compact .tvl-visa-showcase-track { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.tvl-visa-showcase-compact .tvl-visa-showcase-card { border-radius: 999px; }
.tvl-visa-showcase-compact .tvl-visa-showcase-card > a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; }
.tvl-visa-showcase-compact .tvl-visa-showcase-media { display: none; }
.tvl-visa-showcase-compact .tvl-visa-showcase-flag { flex: 0 0 87px; width: 87px; height: 87px; margin: 0; border-width: 3px; }
.tvl-visa-showcase-compact .tvl-visa-showcase-flag-fallback { font-size: 51px; }
.tvl-visa-showcase-compact .tvl-visa-showcase-card-body { gap: 2px; padding: 0; text-align: start; }
.tvl-visa-showcase-compact .tvl-visa-showcase-card-body h3 { font-size: 16px; }
.tvl-visa-showcase-compact .tvl-visa-showcase-card-body p,
.tvl-visa-showcase-compact .tvl-visa-showcase-link-label { display: none; }

body.single-tvl_visa .tvl-single-package-main,
body.post-type-archive-tvl_visa .tvl-single-package-main {
    width: 100% !important;
    max-width: 100% !important;
}

body.single-tvl_visa #tvl-single-visa-main {
    padding: 0 !important;
    overflow: visible !important;
}

body.single-tvl_visa #tvl-single-visa-main .tvl-single-package-shell,
body.single-tvl_visa #tvl-single-visa-main .tvl-single-visa-layout {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

body.single-tvl_visa .tvl-single-visa-layout .tvl-visa-hero {
    width: 100% !important;
    max-width: none !important;
    border-radius: 0;
}

@media (max-width: 1050px) {
    .tvl-visas-grid.tvl-cols-4,
    .tvl-visas-grid.tvl-cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tvl-visa-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tvl-visa-showcase-slider .tvl-visa-showcase-track { grid-auto-columns: calc((100% - (var(--tvl-showcase-gap) * 2)) / 3); }
    .tvl-visa-showcase-grid .tvl-visa-showcase-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .tvl-visas-grid.tvl-cols-2,
    .tvl-visas-grid.tvl-cols-3,
    .tvl-visas-grid.tvl-cols-4,
    .tvl-visa-filters,
    .tvl-visa-hero,
    .tvl-visa-profile-selector,
    .tvl-visa-profile-content,
    .tvl-visa-additional-section,
    .tvl-visa-contact-section { grid-template-columns: 1fr; }

    .tvl-visa-profile-panel-header { flex-direction: column; }
    .tvl-visa-card-footer { align-items: stretch; flex-direction: column; }
    .tvl-visa-hero { min-height: 500px; }
    .tvl-visa-hero-overlay { padding: 48px 0; }
    .tvl-visa-summary { width: 100%; }
    .tvl-visa-summary > span { min-width: 0; flex: 1 1 calc(50% - 10px); }
    .tvl-visa-showcase-slider .tvl-visa-showcase-track { grid-auto-columns: calc((100% - var(--tvl-showcase-gap)) / 2); }
    .tvl-visa-showcase-grid .tvl-visa-showcase-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tvl-visa-showcase-stack .tvl-visa-showcase-card > a { grid-template-columns: 130px 87px minmax(0, 1fr); }
    .tvl-visa-showcase-stack .tvl-visa-showcase-media { height: 130px; }
    .tvl-visa-showcase-stack .tvl-visa-showcase-flag { width: 87px; height: 87px; margin: 0 -44px; }
    .tvl-visa-showcase-stack .tvl-visa-showcase-card-body { padding: 16px 22px; }
    .tvl-visa-showcase-controls { position: static; }
    .tvl-visa-showcase-header { justify-content: space-between; align-items: center; }
    .tvl-visa-showcase-heading { justify-items: start; text-align: start; }
}

@media (max-width: 520px) {
    .tvl-visa-hero { min-height: 540px; }
    .tvl-visa-hero h1 { font-size: 34px; }
    .tvl-visa-lead { font-size: 15px; }
    .tvl-visa-summary > span { flex-basis: 100%; }
    .tvl-visa-body { padding-block: 22px 48px; }
}

@media (max-width: 520px) {
    .tvl-visa-showcase { --tvl-showcase-gap: 14px; }
    .tvl-visa-showcase-header { align-items: flex-end; }
    .tvl-visa-showcase-heading h2 { font-size: 27px; }
    .tvl-visa-showcase-slider .tvl-visa-showcase-track { grid-auto-columns: 84%; }
    .tvl-visa-showcase-grid .tvl-visa-showcase-track { grid-template-columns: 1fr; }
    .tvl-visa-showcase-stack .tvl-visa-showcase-card > a { grid-template-columns: 110px minmax(0, 1fr); }
    .tvl-visa-showcase-stack .tvl-visa-showcase-media { height: 112px; }
    .tvl-visa-showcase-stack .tvl-visa-showcase-flag { position: absolute; inset-inline-start: 72px; width: 75px; height: 75px; margin: 0; }
    .tvl-visa-showcase-stack .tvl-visa-showcase-card-body { padding: 13px 18px; }
    .tvl-visa-showcase-stack .tvl-visa-showcase-card-body h3 { font-size: 17px; }
    .tvl-visa-showcase-stack .tvl-visa-showcase-card-body p { display: none; }
    .tvl-visa-showcase-controls button { width: 38px; height: 38px; }
}

.tvl-rtl {
    direction: rtl;
    text-align: right;
}

.tvl-ltr {
    direction: ltr;
    text-align: left;
}

.tvl-packages * {
    box-sizing: border-box;
}

/* Filters and Search Form */
.tvl-filters-form {
    background: var(--tvl-card-bg);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--tvl-shadow-subtle);
    margin-bottom: 30px;
    border: 1px solid var(--tvl-border-color);
}

.tvl-filters-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.tvl-filter-item {
    flex: 1 1 200px;
}

.tvl-filter-item.search-input-wrapper {
    flex: 2 1 250px;
}

.tvl-input, 
.tvl-select {
    width: 100%;
    height: 48px;
    padding: 10px 15px;
    font-size: var(--tvl-font-body, 14px);
    font-family: inherit;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    background-color: var(--tvl-card-bg);
    color: var(--tvl-text-dark);
    transition: var(--tvl-transition);
    outline: none;
}

.tvl-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 12px center;
    background-size: 16px;
    padding-left: 35px;
}

.tvl-input:focus, 
.tvl-select:focus {
    border-color: var(--tvl-primary);
    box-shadow: 0 0 0 3px rgba(var(--tvl-primary-rgb), 0.1);
}

.tvl-filter-buttons {
    display: flex;
    gap: 10px;
    flex-grow: 0;
    flex-shrink: 0;
}

.tvl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 24px;
    font-size: var(--tvl-font-button, 14px);
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--tvl-transition);
    font-family: inherit;
    border: none;
}

.tvl-btn-primary {
    background-color: var(--tvl-primary, #248069);
    color: #ffffff;
}

.tvl-btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.tvl-btn-secondary {
    background-color: #edf2f7;
    color: var(--tvl-text-dark);
    border: 1px solid var(--tvl-border-color);
}

.tvl-btn-secondary:hover {
    background-color: #e2e8f0;
}

/* Listing Loops */
.tvl-packages-loop-grid {
    display: grid;
    gap: 30px;
}

/* Columns variants */
.tvl-cols-2 .tvl-packages-loop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tvl-cols-3 .tvl-packages-loop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tvl-cols-4 .tvl-packages-loop-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Layout Compact modifications */
.tvl-layout-compact .tvl-packages-loop-grid {
    gap: 15px;
}

/* Package Cards Styles */
.tvl-card-item {
    background: var(--tvl-card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--tvl-shadow-subtle);
    border: 1px solid var(--tvl-border-color);
    transition: var(--tvl-transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.tvl-card-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--tvl-shadow-hover);
}

.tvl-card-image-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background-color: #f7fafc;
}

.tvl-card-image-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    max-height: none !important;
    min-height: 100% !important;
    transition: var(--tvl-transition);
}

.tvl-card-item:hover .tvl-card-image-box img {
    transform: scale(1.05);
}

.tvl-badge-featured {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--tvl-accent);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: var(--tvl-font-meta, 11px);
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tvl-card-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tvl-image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--tvl-bg-light);
    color: #a0aec0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tvl-placeholder-icon {
    font-size: 40px;
    width: 40px;
    height: 40px;
}

.tvl-placeholder-icon-large {
    font-size: 60px;
    width: 60px;
    height: 60px;
}

.tvl-card-destination-label {
    font-size: var(--tvl-font-meta, 12px);
    font-weight: 700;
    color: var(--tvl-primary);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.tvl-card-title {
    font-size: var(--tvl-font-section-title, 18px);
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.tvl-card-title a {
    color: var(--tvl-text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.tvl-card-title a:hover {
    color: var(--tvl-primary);
}

.tvl-card-subtitle {
    color: var(--tvl-primary);
    font-size: var(--tvl-font-meta, 12px);
    font-weight: 600;
    margin: -5px 0 10px;
}

.tvl-card-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: var(--tvl-font-meta, 13px);
    color: var(--tvl-text-muted);
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f7fafc;
}

.tvl-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tvl-meta-item-truncated {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tvl-meta-icon {
    font-size: var(--tvl-font-meta, 14px);
    line-height: 1;
}

.tvl-card-excerpt {
    font-size: var(--tvl-font-body, 13px);
    color: var(--tvl-text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tvl-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid var(--tvl-border-color);
    margin-top: auto;
}

.tvl-card-price-box {
    display: flex;
    flex-direction: column;
}

.tvl-card-price-label {
    font-size: var(--tvl-font-meta, 10px);
    color: var(--tvl-text-muted);
}

.tvl-card-price-value {
    font-size: var(--tvl-font-price, 20px);
    font-weight: 800;
    color: var(--tvl-accent);
    line-height: 1.2;
}

.tvl-card-price-note {
    font-size: var(--tvl-font-meta, 10px);
    color: var(--tvl-text-muted);
}

.tvl-card-price-on-request {
    color: var(--tvl-text-muted);
    font-size: var(--tvl-font-body, 13px);
}

.tvl-card-cta-btn {
    height: 38px;
    padding: 0 16px;
    font-size: var(--tvl-font-button, 12px);
    border-radius: 6px;
    background: var(--tvl-primary, #248069);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--tvl-transition);
}

.tvl-card-cta-btn:hover {
    background: var(--tvl-primary);
    filter: brightness(1.1);
}

/* List Layout Card adjustments */
.tvl-layout-list .tvl-packages-loop-grid {
    grid-template-columns: 1fr;
}

.tvl-layout-list .tvl-card-item {
    flex-direction: row;
    aspect-ratio: auto;
}

.tvl-layout-list .tvl-card-image-box {
    width: 320px;
    flex-shrink: 0;
    aspect-ratio: auto;
    /* In RTL, the image is first in HTML, showing on the right */
}

.tvl-layout-list .tvl-card-details {
    padding: 25px;
}

/* Compact layout adjustments */
.tvl-layout-compact .tvl-card-excerpt,
.tvl-layout-compact .tvl-card-meta-row {
    display: none;
}
.tvl-layout-compact .tvl-card-details {
    padding: 15px;
}
.tvl-layout-compact .tvl-card-title {
    font-size: var(--tvl-font-body, 15px);
    margin-bottom: 5px;
}

/* Cards (Desert Rose style cards with background overlay details) */
.tvl-layout-cards .tvl-card-item {
    border: none;
}

/* Pagination styles */
.tvl-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.tvl-page-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--tvl-card-bg);
    color: var(--tvl-text-dark);
    text-decoration: none;
    border: 1px solid var(--tvl-border-color);
    font-weight: 600;
    font-size: var(--tvl-font-button, 14px);
    transition: var(--tvl-transition);
}

.tvl-page-number:hover,
.tvl-page-number.active {
    background: var(--tvl-primary);
    color: #ffffff;
    border-color: var(--tvl-primary);
}

.tvl-packages-no-results {
    background: var(--tvl-card-bg);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    border: 1px solid var(--tvl-border-color);
    box-shadow: var(--tvl-shadow-subtle);
    color: var(--tvl-text-muted);
}


/* ==========================================================================
   2. Detail View (.tvl-package-detail)
   ========================================================================== */
.tvl-package-detail {
    --tvl-primary-rgb: 7, 95, 74;
    --tvl-text-dark: var(--tvl-custom-text-dark, #2d3748);
    --tvl-text-muted: var(--tvl-custom-text-muted, #718096);
    --tvl-bg-light: var(--tvl-custom-bg-light, #f7fafc);
    --tvl-card-bg: var(--tvl-custom-card-bg, #ffffff);
    --tvl-border-color: var(--tvl-custom-border-color, #e2e8f0);
    --tvl-shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.04);
    --tvl-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

    font-family: inherit;
    font-size: var(--tvl-font-base, 14px);
    color: var(--tvl-text-dark);
    line-height: 1.6;
    margin: 30px 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    overflow-wrap: anywhere;
    
    /* Container queries setup */
    container-type: inline-size;
    container-name: tvl-detail;
}

.tvl-package-detail-inner {
    width: min(1180px, 100%);
    max-width: 100%;
    margin: 0 auto;
}

.single-tvl_package .tvl-package-detail {
    margin-inline: auto;
}

.tvl-package-detail * {
    box-sizing: border-box;
}

/* Hero Section */
.tvl-detail-hero {
    background: var(--tvl-card-bg);
    padding: 30px 0;
    border-bottom: 1px solid var(--tvl-border-color);
    margin-bottom: 30px;
}

.tvl-hero-title {
    font-size: var(--tvl-font-title, 32px);
    font-weight: 800;
    margin: 0 0 10px 0;
    color: var(--tvl-text-dark);
}

.tvl-hero-subtitle {
    font-size: var(--tvl-font-body, 16px);
    color: var(--tvl-primary);
    margin: 0 0 15px 0;
    font-weight: 600;
}

.tvl-hero-short-description {
    max-width: 850px;
    margin: 0 0 18px 0;
    color: var(--tvl-text-muted);
    font-size: var(--tvl-font-body, 14px);
    line-height: 1.8;
}

.tvl-hero-breadcrumb-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: var(--tvl-font-meta, 14px);
    color: var(--tvl-text-muted);
}

.tvl-hero-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Gallery Section */
.tvl-gallery-wrapper {
    margin-bottom: 30px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.tvl-gallery-main-img-box {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    background: var(--tvl-bg-light);
    margin-bottom: 15px;
    border: 1px solid var(--tvl-border-color);
    max-width: 100%;
}

.tvl-gallery-main-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tvl-gallery-thumbnails-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.tvl-gallery-thumb-item {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--tvl-transition);
}

.tvl-gallery-thumb-item:hover,
.tvl-gallery-thumb-item.active {
    border-color: var(--tvl-primary);
    opacity: 0.8;
}

.tvl-gallery-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Meta Features Bar */
.tvl-meta-features-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Default: 2 columns */
    background: var(--tvl-card-bg);
    border-radius: 12px;
    padding: 15px;
    box-shadow: var(--tvl-shadow-subtle);
    border: 1px solid var(--tvl-border-color);
    margin-bottom: 30px;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.tvl-feature-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px;
    border-bottom: 1px solid var(--tvl-border-color);
}

.tvl-feature-box:nth-child(2n) {
    border-left: none;
}

.tvl-feature-box:nth-last-child(-n+2) {
    border-bottom: none;
}

.tvl-feature-icon {
    font-size: var(--tvl-font-section-title, 24px);
    margin-bottom: 8px;
}

.tvl-feature-label {
    font-size: var(--tvl-font-meta, 11px);
    color: var(--tvl-text-muted);
    font-weight: 600;
}

.tvl-feature-value {
    font-size: var(--tvl-font-body, 14px);
    font-weight: 700;
    color: var(--tvl-text-dark);
}

/* Two columns content layout */
.tvl-detail-columns {
    display: block;
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    clear: both;
}

.tvl-column-main {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    clear: both;
}

.tvl-column-sidebar {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    clear: both;
}

/* Container Queries for responsive sizing */
@container tvl-detail (min-width: 1100px) {
    .tvl-meta-features-bar {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        padding: 20px;
    }
    
    .tvl-feature-box {
        border-bottom: none;
        border-left: 1px solid var(--tvl-border-color);
    }
    
    .tvl-feature-box:last-child {
        border-left: none;
    }
    
    .tvl-detail-columns {
        grid-template-columns: minmax(0, 2.2fr) minmax(300px, 0.9fr);
        align-items: start;
    }
    
    .tvl-column-main {
        width: auto;
    }
    
    .tvl-column-sidebar {
        width: auto;
    }
}

@container tvl-detail (max-width: 480px) {
    .tvl-meta-features-bar {
        grid-template-columns: 1fr;
    }
    
    .tvl-feature-box {
        border-left: none;
        border-bottom: 1px solid var(--tvl-border-color);
    }
    
    .tvl-feature-box:last-child {
        border-bottom: none;
    }
}

/* Main sections */
.tvl-detail-section {
    background: var(--tvl-card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--tvl-shadow-subtle);
    border: 1px solid var(--tvl-border-color);
    margin-bottom: 30px;
}

.tvl-section-title {
    font-size: var(--tvl-font-section-title, 20px);
    font-weight: 800;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--tvl-primary);
    display: inline-block;
}

/* Highlight bullets */
.tvl-highlights-list {
    display: grid;
    grid-template-columns: 1fr; /* Default: 1 column */
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.tvl-highlights-list li {
    position: relative;
    padding-right: 25px;
    font-size: var(--tvl-font-body, 14px);
}

.tvl-highlights-list li::before {
    content: "✓";
    position: absolute;
    right: 0;
    top: 0;
    color: var(--tvl-primary);
    font-weight: bold;
}

/* Inclusions / Exclusions */
.tvl-inc-exc-grid {
    display: grid;
    grid-template-columns: 1fr; /* Default: stacked */
    gap: 20px;
}

/* Container Queries for inner grids */
@container tvl-detail (min-width: 600px) {
    .tvl-highlights-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tvl-inc-exc-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

.tvl-inc-list, .tvl-exc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tvl-inc-list li, .tvl-exc-list li {
    position: relative;
    padding-right: 25px;
    margin-bottom: 12px;
    font-size: var(--tvl-font-body, 14px);
}

.tvl-inc-list li::before {
    content: "✓";
    position: absolute;
    right: 0;
    top: 0;
    color: #48bb78;
    font-weight: bold;
}

.tvl-inc-heading,
.tvl-exc-heading {
    font-size: var(--tvl-font-body, 15px);
    margin-bottom: 15px;
}

.tvl-inc-heading {
    color: #48bb78;
}

.tvl-exc-heading {
    color: #e53e3e;
}

.tvl-muted-empty {
    color: var(--tvl-text-muted);
    font-size: var(--tvl-font-meta, 13px);
}

.tvl-exc-list li::before {
    content: "×";
    position: absolute;
    right: 0;
    top: -2px;
    color: #e53e3e;
    font-weight: bold;
    font-size: var(--tvl-font-section-title, 18px);
}

/* Accordion Accordance (Itinerary / FAQ) */
.tvl-accordion-item {
    border: 1px solid var(--tvl-border-color);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

.tvl-accordion-header {
    background: var(--tvl-bg-light);
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    font-weight: 700;
    transition: var(--tvl-transition);
}

.tvl-accordion-header:hover {
    background: var(--tvl-bg-light);
}

.tvl-accordion-arrow {
    font-size: var(--tvl-font-meta, 12px);
    transition: transform 0.2s;
}

.tvl-accordion-content {
    padding: 20px;
    background: var(--tvl-card-bg);
    display: none;
    border-top: 1px solid var(--tvl-border-color);
    font-size: var(--tvl-font-body, 14px);
    color: var(--tvl-text-dark);
}

.tvl-accordion-content.tvl-open {
    display: block;
}

.tvl-accordion-item.active .tvl-accordion-content {
    display: block;
}

.tvl-section-notes {
    background: #fffaf0;
    border-color: #feebc8;
}

.tvl-section-title-warning {
    border-bottom-color: #dd6b20;
}

.tvl-notes-list {
    margin-top: 15px;
}

.tvl-note-item {
    color: #7b341e;
    font-size: var(--tvl-font-meta, 13px);
    margin-bottom: 8px;
}

.tvl-warning-icon {
    color: #dd6b20;
    font-weight: 700;
    margin-left: 5px;
}

.tvl-accordion-item.active .tvl-accordion-arrow {
    transform: rotate(180deg);
}

/* Sidebar Widgets */
.tvl-sidebar-widget {
    background: var(--tvl-card-bg);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--tvl-shadow-subtle);
    border: 1px solid var(--tvl-border-color);
    margin-bottom: 35px;
}

.tvl-widget-price-card {
    text-align: center;
    border: 2px solid var(--tvl-primary);
}

.tvl-widget-price-value {
    font-size: var(--tvl-font-price, 32px);
    font-weight: 900;
    color: var(--tvl-accent);
    margin: 10px 0;
}

.tvl-widget-original-price {
    color: var(--tvl-text-muted);
    font-size: var(--tvl-font-body, 15px);
    font-weight: 700;
    margin-top: 8px;
    text-decoration: line-through;
}

.tvl-widget-price-note {
    font-size: var(--tvl-font-meta, 12px);
    color: var(--tvl-text-muted);
}

.tvl-price-on-request {
    font-size: var(--tvl-font-price, 20px);
}

.tvl-widget-actions {
    margin-top: 20px;
}

.tvl-btn-block {
    display: flex;
    width: 100%;
    height: 50px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 12px;
    font-size: var(--tvl-font-button, 14px);
    transition: var(--tvl-transition);
}

.tvl-no-margin-bottom {
    margin-bottom: 0;
}

.tvl-btn-primary-block {
    background-color: var(--tvl-cta-color, var(--tvl-primary));
    color: #ffffff;
}

.tvl-btn-primary-block:hover {
    filter: brightness(1.1);
}

.tvl-btn-whatsapp-block {
    background-color: #25d366;
    color: #ffffff;
}

.tvl-btn-whatsapp-block:hover {
    background-color: #20ba5a;
}

.tvl-btn-whatsapp-block span.icon {
    margin-left: 8px;
    font-size: 18px;
}

/* Fallback Inquiry Box */
.tvl-fallback-inquiry-box {
    background: #fffaf0;
    border: 1px solid #feebc8;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    color: #dd6b20;
    font-size: var(--tvl-font-body, 13px);
}

.tvl-fallback-inquiry-box p {
    margin: 0 0 15px 0;
}

.tvl-widget-title {
    border-bottom: 1px solid var(--tvl-border-color);
    font-size: var(--tvl-font-section-title, 16px);
    font-weight: 800;
    margin: 0 0 15px;
    padding-bottom: 8px;
}

.tvl-compliance-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0 0;
}

.tvl-compliance-item {
    background: var(--tvl-bg-light);
    border: 1px solid var(--tvl-border-color);
    border-radius: 8px;
    padding: 12px 14px;
}

.tvl-compliance-item dt {
    color: var(--tvl-text-muted);
    font-size: var(--tvl-font-meta, 12px);
    font-weight: 700;
    margin-bottom: 6px;
}

.tvl-compliance-item dd {
    color: var(--tvl-text-dark);
    font-size: var(--tvl-font-body, 14px);
    font-weight: 800;
    margin: 0;
}

.tvl-policy-list {
    margin-top: 20px;
}

.tvl-policy-list h3 {
    color: var(--tvl-primary);
    font-size: var(--tvl-font-body, 15px);
    font-weight: 800;
    margin: 18px 0 8px;
}

.tvl-policy-list p {
    color: var(--tvl-text-dark);
    font-size: var(--tvl-font-body, 14px);
    line-height: 1.8;
    margin: 0 0 10px;
}

.tvl-policy-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.tvl-policy-links a {
    background: var(--tvl-bg-light);
    border-radius: 6px;
    color: var(--tvl-primary);
    font-size: var(--tvl-font-meta, 13px);
    font-weight: 800;
    padding: 8px 12px;
    text-decoration: none;
}

.tvl-policy-links a:hover {
    filter: brightness(0.97);
}

.tvl-final-cta-wrap {
    width: 100%;
    max-width: 100%;
    margin: 32px 0 0;
}

.tvl-final-cta-btn {
    display: flex;
    width: 100%;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 14px;
    background: var(--tvl-primary);
    color: #ffffff;
    text-decoration: none;
    font-size: var(--tvl-font-button, 18px);
    font-weight: 800;
    line-height: 1.35;
    box-sizing: border-box;
    transition: var(--tvl-transition);
}

.tvl-final-cta-btn:hover,
.tvl-final-cta-btn:focus {
    color: #ffffff;
    filter: brightness(1.08);
    text-decoration: none;
}

.tvl-related-packages-section {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    margin-top: 50px;
    border-top: 1px solid var(--tvl-border-color);
    padding-top: 40px;
}

.tvl-related-title {
    color: var(--tvl-text-dark);
    font-size: var(--tvl-font-section-title, 22px);
    font-weight: 800;
    margin-bottom: 25px;
}

.tvl-related-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}


/* ==========================================================================
   3. Responsive Media Queries
   ========================================================================== */
@media (max-width: 991px) {
    .tvl-cols-4 .tvl-packages-loop-grid,
    .tvl-cols-3 .tvl-packages-loop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    /* List Layout stack */
    .tvl-layout-list .tvl-card-item {
        flex-direction: column;
    }

    .tvl-layout-list .tvl-card-image-box {
        width: 100%;
        aspect-ratio: 16/10;
    }
}

@media (max-width: 480px) {
    .tvl-cols-2 .tvl-packages-loop-grid,
    .tvl-cols-3 .tvl-packages-loop-grid,
    .tvl-cols-4 .tvl-packages-loop-grid {
        grid-template-columns: 1fr;
    }
    
    .tvl-filters-grid {
        flex-direction: column;
        align-items: stretch;
    }

    .tvl-compliance-grid {
        grid-template-columns: 1fr;
    }
    
    .tvl-filter-item, .tvl-filter-item.search-input-wrapper {
        flex: 1 1 auto;
    }
    
    .tvl-filter-buttons {
        flex-direction: column;
    }
}

/* ==========================================================================
   4. Theme-safe single package layout
   Keep the detail page stable inside narrow WordPress theme containers.
   ========================================================================== */
.tvl-package-detail {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: hidden;
}

.tvl-package-detail img,
.tvl-package-detail iframe,
.tvl-package-detail video {
    max-width: 100%;
}

.tvl-package-detail .tvl-gallery-wrapper,
.tvl-package-detail .tvl-gallery-main-img-box,
.tvl-package-detail .tvl-meta-features-bar,
.tvl-package-detail .tvl-detail-columns,
.tvl-package-detail .tvl-column-main,
.tvl-package-detail .tvl-column-sidebar,
.tvl-package-detail .tvl-detail-section,
.tvl-package-detail .tvl-sidebar-widget,
.tvl-package-detail .tvl-related-packages-section {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.tvl-package-detail .tvl-detail-columns {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
}

.tvl-package-detail .tvl-meta-features-bar {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
}

.tvl-package-detail .tvl-highlights-list,
.tvl-package-detail .tvl-inc-exc-grid {
    grid-template-columns: minmax(0, 1fr) !important;
}

.tvl-package-detail .tvl-card-footer,
.tvl-package-detail .tvl-hero-breadcrumb-meta {
    flex-wrap: wrap !important;
}

.tvl-package-detail .tvl-detail-section,
.tvl-package-detail .tvl-sidebar-widget,
.tvl-package-detail .tvl-meta-features-bar {
    overflow: hidden;
}

@media (min-width: 900px) {
    .single-tvl_package .tvl-package-detail {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    .single-tvl_package .tvl-package-detail .tvl-package-detail-inner {
        width: 100% !important;
        max-width: 1180px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    .single-tvl_package .tvl-package-detail .tvl-detail-columns {
        display: grid !important;
        grid-template-columns: minmax(0, 2fr) minmax(300px, 0.85fr) !important;
        gap: 30px !important;
        align-items: start !important;
        overflow: visible !important;
    }

    .single-tvl_package .tvl-package-detail .tvl-highlights-list,
    .single-tvl_package .tvl-package-detail .tvl-inc-exc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* ========================================================================== 
   5. Reference package layout
   Full-width, RTL-first detail page matching the supplied travel-page design.
   ========================================================================== */
body.single-tvl_package .tvl-single-package-main {
    padding: 0 !important;
    overflow: visible;
}

body.single-tvl_package .tvl-single-package-shell {
    width: 100%;
    max-width: none;
}

.tvl-reference-package {
    --tvl-ref-green: var(--tvl-primary, #248069);
    --tvl-ref-accent: var(--tvl-accent, #6d7f79);
    --tvl-ref-ink: var(--tvl-custom-text-dark, #202226);
    --tvl-ref-muted: var(--tvl-custom-text-muted, #747b86);
    --tvl-ref-cream: #fbf7f1;
    --tvl-ref-soft: #f5f8fb;
    --tvl-ref-border: #ece8e1;
    --tvl-ref-shadow: 0 12px 30px rgba(25, 31, 36, .10);
    margin: 0 !important;
    color: var(--tvl-ref-ink);
    overflow: visible !important;
    background: #fff;
    font-family: inherit;
    line-height: 1.75;
}

.tvl-reference-package .tvl-package-detail-inner {
    width: 100% !important;
    max-width: none !important;
}

.tvl-reference-package *,
.tvl-reference-package *::before,
.tvl-reference-package *::after {
    box-sizing: border-box;
}

.tvl-ref-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.tvl-ref-section {
    width: 100%;
    padding: 76px 0;
    scroll-margin-top: 32px;
}

.tvl-ref-compact-section {
    padding-block: 30px;
}

.tvl-ref-narrow {
    width: min(780px, calc(100% - 40px));
}

.tvl-ref-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--tvl-ref-accent);
    font-size: 13px;
    font-weight: 800;
}

.tvl-ref-eyebrow svg {
    width: 20px;
    height: 20px;
}

.tvl-ref-section-heading {
    max-width: 850px;
    margin: 0 auto 42px;
    text-align: center;
}

.tvl-ref-section-heading h2 {
    margin: 8px 0 0;
    color: var(--tvl-ref-ink);
    font-size: clamp(27px, 3.4vw, 40px);
    font-weight: 900;
    line-height: 1.35;
}

.tvl-ref-section-heading h2 em,
.tvl-related-title em {
    color: var(--tvl-ref-accent);
    font-style: normal;
}

/* Cover */
.tvl-ref-hero {
    position: relative;
    width: auto !important;
    max-width: none !important;
    margin-inline: calc(50% - 50vw) !important;
    min-height: clamp(450px, 52vw, 610px);
    isolation: isolate;
    display: grid;
    background: linear-gradient(135deg, #248069, #6d7f79);
    background-position: center;
    background-size: cover;
}

.tvl-ref-hero.has-image {
    background-image: linear-gradient(180deg, rgba(5, 30, 37, .50), rgba(7, 28, 30, .68)), var(--tvl-package-hero-image);
}

body.single-tvl_package .tvl-ref-hero.has-image {
    background-image: var(--tvl-package-hero-image);
}

.tvl-ref-hero-overlay {
    display: grid;
    place-items: center;
    width: 100%;
    padding: 64px 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .10), transparent 30%, transparent 70%, rgba(0, 0, 0, .10));
}

body.single-tvl_package .tvl-ref-hero-overlay {
    background: transparent;
}

.tvl-ref-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #fff;
}

.tvl-reference-package .tvl-ref-hero-badge {
    margin-bottom: 18px;
    padding: 7px 20px;
    border: 1px solid rgba(255, 255, 255, .48);
    border-radius: 999px;
    background: rgba(255, 255, 255, .13);
    box-shadow: 0 6px 22px rgba(0, 0, 0, .12);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.tvl-reference-package .tvl-ref-hero .tvl-hero-title {
    max-width: 1000px;
    margin: 0;
    color: #fff;
    font-size: clamp(36px, 4.2vw, 50px);
    font-weight: 900;
    line-height: 1.18;
    text-shadow: 0 4px 18px rgba(0, 0, 0, .24);
}

.tvl-reference-package .tvl-ref-hero .tvl-hero-subtitle {
    max-width: 760px;
    margin: 16px auto 0;
    color: rgba(255, 255, 255, .92);
    font-size: clamp(16px, 2vw, 21px);
    font-weight: 600;
    line-height: 1.8;
}

.tvl-ref-hero-cta {
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 34px;
    padding: 13px 31px;
    border-radius: 10px;
    background: var(--tvl-cta-color, var(--tvl-ref-accent));
    box-shadow: 0 12px 26px rgba(109, 127, 121, .30);
    color: #fff;
    font-size: 17px;
    font-weight: 900;
    text-decoration: none;
    transition: transform .25s ease, filter .25s ease;
}

.tvl-ref-hero-cta:hover,
.tvl-ref-hero-cta:focus {
    color: #fff;
    filter: brightness(1.05);
    transform: translateY(-2px);
    text-decoration: none;
}

.tvl-reference-package .tvl-ref-hero-whatsapp {
    border: 1px solid rgba(255, 255, 255, .2);
    background: #18a957;
    box-shadow: 0 12px 27px rgba(24, 169, 87, .32);
}

.tvl-reference-package .tvl-ref-hero-whatsapp:hover,
.tvl-reference-package .tvl-ref-hero-whatsapp:focus {
    background: #138c49;
}

.tvl-ref-inline-icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
}

.tvl-ref-inline-icon svg {
    width: 20px;
    height: 20px;
}

.tvl-ref-hero-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 34px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.tvl-ref-hero-benefits li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, .92);
    font-size: 14px;
    font-weight: 600;
}

.tvl-ref-hero-benefits li span {
    color: #fff;
    font-size: 17px;
}

/* Gallery ribbon */
.tvl-reference-package .tvl-ref-gallery-strip {
    position: relative;
    display: flex;
    gap: 0;
    width: 100% !important;
    max-width: none !important;
    height: clamp(105px, 12vw, 170px);
    margin: 0 !important;
    padding: 0;
    overflow-x: auto;
    border-top: 3px solid var(--tvl-ref-accent);
    border-radius: 0 !important;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
}

.tvl-reference-package .tvl-ref-gallery-strip .tvl-gallery-thumb-item {
    position: relative;
    width: auto;
    height: 100%;
    min-width: min(260px, 33.333vw);
    padding: 0;
    flex: 1 0 min(260px, 33.333vw);
    border: 0;
    border-inline-end: 1px solid rgba(255, 255, 255, .35);
    border-radius: 0 !important;
    opacity: 1;
    background: #dfe5e5;
    cursor: pointer;
    overflow: hidden;
    scroll-snap-align: start;
}

.tvl-reference-package .tvl-ref-gallery-strip .tvl-gallery-thumb-item.active::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 3px solid var(--tvl-ref-accent);
    pointer-events: none;
}

.tvl-reference-package .tvl-ref-gallery-strip .tvl-gallery-thumb-item img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    border-radius: 0 !important;
    object-fit: cover;
    transition: transform .3s ease;
}

.tvl-reference-package .tvl-ref-gallery-strip .tvl-gallery-thumb-item:hover img {
    transform: scale(1.04);
}

.tvl-reference-package .tvl-ref-hero {
    border-radius: 0 !important;
    transition: filter .24s ease, opacity .24s ease;
}

.tvl-reference-package .tvl-ref-hero.is-changing {
    opacity: .72;
    filter: brightness(.92);
}

.tvl-gallery-slide-control {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: grid;
    width: 46px;
    height: 58px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 0;
    background: rgba(9, 32, 30, .62);
    color: #fff;
    font: 700 34px/1 sans-serif;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background .2s ease;
}

.tvl-gallery-slide-control:hover,
.tvl-gallery-slide-control:focus-visible {
    background: var(--tvl-ref-green);
    color: #fff;
}

.tvl-gallery-slide-prev { inset-inline-start: 0; }
.tvl-gallery-slide-next { inset-inline-end: 0; }

.tvl-whatsapp-separator {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 18px clamp(16px, 4vw, 44px);
    background: #fff;
}

.tvl-inline-whatsapp-cta {
    display: inline-flex;
    width: min(100%, 560px);
    min-height: 58px;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 14px 28px;
    border: 1px solid #159447;
    border-radius: 4px;
    background: linear-gradient(135deg, #20b85a, #128c45);
    box-shadow: 0 10px 24px rgba(18, 140, 69, .2);
    color: #fff !important;
    font-size: 17px;
    font-weight: 900;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease;
}

.tvl-inline-whatsapp-cta:hover,
.tvl-inline-whatsapp-cta:focus-visible {
    color: #fff !important;
    box-shadow: 0 13px 30px rgba(18, 140, 69, .3);
    transform: translateY(-2px);
}

.tvl-inline-whatsapp-cta .tvl-ref-inline-icon svg {
    width: 23px;
    height: 23px;
}

.tvl-home-card-whatsapp {
    display: flex;
    grid-column: 1 / -1;
    justify-content: center;
    padding: 2px 0;
}

.tvl-home-card-whatsapp .tvl-inline-whatsapp-cta {
    width: min(100%, 520px);
}

.tvl-google-reviews-section {
    background: #f7f9f8;
}

.tvl-google-reviews-widget {
    width: 100%;
    padding: clamp(18px, 3vw, 34px);
    border: 1px solid var(--tvl-ref-border);
    border-radius: 0;
    background: #fff;
    overflow: hidden;
}

.tvl-home-services em {
    overflow: hidden;
}

.tvl-home-services em img {
    display: block;
    width: 175px;
    height: 165px;
    max-width: none;
    margin: -55px auto 0;
    mix-blend-mode: multiply;
    object-fit: contain;
}

.tvl-ref-gallery-count {
    position: absolute;
    inset-inline-start: 16px;
    bottom: 14px;
    z-index: 2;
    padding: 7px 13px;
    border-radius: 999px;
    background: #fff;
    color: var(--tvl-ref-accent);
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

/* Package intro and price */
.tvl-ref-intro-section {
    padding-top: 68px;
    padding-bottom: 52px;
}

.tvl-ref-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(290px, 340px);
    gap: 50px;
    align-items: start;
}

.tvl-ref-intro-main {
    min-width: 0;
}

.tvl-ref-intro-title {
    position: relative;
    margin: 0;
    padding-bottom: 18px;
    color: var(--tvl-ref-ink);
    font-size: clamp(28px, 3.4vw, 42px);
    font-weight: 900;
    line-height: 1.35;
}

.tvl-ref-intro-title::after {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    bottom: 0;
    width: 44px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--tvl-ref-green) 0 45%, var(--tvl-ref-accent) 45% 72%, var(--tvl-ref-green) 72%);
}

.tvl-ref-intro-copy {
    margin: 19px 0 0;
    color: var(--tvl-ref-muted);
    font-size: 16px;
    line-height: 1.9;
}

.tvl-reference-package .tvl-meta-features-bar {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important;
    gap: 18px !important;
    width: 100% !important;
    margin: 34px 0 0 !important;
    padding: 0 !important;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.tvl-reference-package .tvl-feature-box {
    min-width: 0;
    padding: 0 !important;
    border: 0 !important;
    text-align: center;
}

.tvl-reference-package .tvl-feature-icon {
    position: relative;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    margin: 0 auto 10px;
    border-radius: 12px;
    background: #fff8ef;
    color: #efa94b;
    box-shadow: 0 4px 12px rgba(239, 169, 75, .14);
    overflow: hidden;
}

.tvl-reference-package .tvl-feature-icon svg {
    width: 25px;
    height: 25px;
    color: #efa94b;
    stroke-width: 1.9;
}

.tvl-reference-package .tvl-feature-icon .tvl-attached-interface-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 148px;
    height: 138px;
    max-width: none;
    margin: 0;
    mix-blend-mode: multiply;
    object-fit: contain;
    transform: translate(-50%, -50%);
}

.tvl-reference-package .tvl-feature-label {
    color: #9aa0a8;
    font-size: 12px;
    font-weight: 600;
}

.tvl-reference-package .tvl-feature-value {
    display: block;
    margin-top: 4px;
    color: var(--tvl-ref-ink);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.55;
}

.tvl-reference-package .tvl-widget-price-card {
    position: relative;
    padding: 28px 26px 24px;
    border: 1px solid var(--tvl-ref-border);
    border-radius: 17px;
    background: var(--tvl-ref-cream);
    box-shadow: 0 10px 28px rgba(30, 35, 38, .07);
    text-align: center;
}

.tvl-reference-package .tvl-card-price-label {
    display: block;
    color: #8c9299;
    font-size: 13px;
    font-weight: 700;
}

.tvl-reference-package .tvl-widget-price-value {
    margin: 2px 0;
    color: var(--tvl-ref-accent);
    font-size: clamp(31px, 4vw, 42px);
    font-weight: 900;
    line-height: 1.35;
}

.tvl-reference-package .tvl-widget-original-price {
    margin-top: 5px;
    color: #a2a6ab;
    font-size: 15px;
}

.tvl-reference-package .tvl-widget-price-note {
    color: #9aa0a8;
    font-size: 12px;
}

.tvl-reference-package .tvl-widget-actions {
    display: grid;
    gap: 10px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #e8e1d8;
}

.tvl-reference-package .tvl-btn-block {
    display: inline-flex;
    min-height: 48px;
    height: auto;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 0;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.45;
    text-decoration: none;
}

.tvl-reference-package .tvl-btn-primary-block {
    background: var(--tvl-cta-color, var(--tvl-ref-accent));
    color: #fff;
}

.tvl-reference-package .tvl-btn-whatsapp-block {
    background: #20d466;
    color: #fff;
}

.tvl-reference-package .tvl-btn-outline-block {
    border-color: #ddd5cb;
    background: transparent;
    color: #383d43;
}

.tvl-reference-package .tvl-btn-block:hover,
.tvl-reference-package .tvl-btn-block:focus {
    color: inherit;
    filter: brightness(.97);
    text-decoration: none;
}

.tvl-reference-package .tvl-btn-primary-block:hover,
.tvl-reference-package .tvl-btn-whatsapp-block:hover {
    color: #fff;
}

/* About */
.tvl-ref-about-section {
    padding-top: 28px;
}

.tvl-ref-about-card {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(250px, .72fr);
    gap: 44px;
    align-items: center;
    padding: 30px;
    border-radius: 18px;
    background: var(--tvl-ref-cream);
}

.tvl-ref-about-card.without-image {
    display: block;
}

.tvl-ref-about-card > img {
    width: 100%;
    min-height: 245px;
    aspect-ratio: 4 / 3;
    border-radius: 15px;
    object-fit: cover;
}

.tvl-reference-package:not(.tvl-ltr) .tvl-ref-about-card > img {
    grid-column: 2;
    grid-row: 1;
}

.tvl-reference-package:not(.tvl-ltr) .tvl-ref-about-copy {
    grid-column: 1;
    grid-row: 1;
}

.tvl-ref-about-copy h2 {
    margin: 8px 0 12px;
    color: var(--tvl-ref-ink);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 900;
    line-height: 1.45;
}

.tvl-ref-about-copy .tvl-section-content,
.tvl-ref-about-copy .tvl-section-content p {
    margin-top: 0;
    color: var(--tvl-ref-muted);
    font-size: 15px;
    line-height: 2;
}

/* Optional compact panels */
.tvl-reference-package .tvl-detail-section {
    margin: 0 !important;
    padding: 30px;
    border: 1px solid var(--tvl-ref-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(24, 31, 35, .04);
}

.tvl-reference-package .tvl-section-title {
    margin: 0 0 22px;
    padding: 0 0 9px;
    border-bottom: 2px solid var(--tvl-ref-accent);
    color: var(--tvl-ref-ink);
    font-size: 22px;
}

.tvl-reference-package .tvl-highlights-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.tvl-reference-package .tvl-highlights-list li::before {
    color: var(--tvl-ref-green);
}

/* Inclusion panels */
.tvl-ref-inclusions-section {
    padding-top: 45px;
    padding-bottom: 72px;
}

.tvl-reference-package .tvl-inc-exc-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 30px;
}

.tvl-ref-list-panel h2 {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 16px;
    color: var(--tvl-ref-ink);
    font-size: 23px;
    font-weight: 900;
}

.tvl-ref-list-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tvl-ref-green);
    box-shadow: 0 0 0 5px rgba(36, 128, 105, .07);
}

.is-excluded .tvl-ref-list-dot {
    background: var(--tvl-ref-accent);
    box-shadow: 0 0 0 5px rgba(109, 127, 121, .07);
}

.tvl-ref-list-panel > ul {
    min-height: 170px;
    padding: 24px 26px !important;
    border-radius: 14px;
}

.tvl-ref-list-panel.is-included > ul {
    background: #f1f8f6;
}

.tvl-ref-list-panel.is-excluded > ul {
    background: #fff0ed;
}

.tvl-reference-package .tvl-inc-list li,
.tvl-reference-package .tvl-exc-list li {
    margin: 0;
    padding: 11px 27px 11px 0;
    border-bottom: 1px solid rgba(40, 54, 58, .07);
    color: #4f565e;
    font-size: 14px;
}

.tvl-reference-package.tvl-ltr .tvl-inc-list li,
.tvl-reference-package.tvl-ltr .tvl-exc-list li {
    padding-right: 0;
    padding-left: 27px;
}

.tvl-reference-package .tvl-inc-list li:last-child,
.tvl-reference-package .tvl-exc-list li:last-child {
    border-bottom: 0;
}

.tvl-reference-package .tvl-inc-list li::before {
    color: var(--tvl-ref-green);
}

.tvl-reference-package .tvl-exc-list li::before {
    color: var(--tvl-ref-accent);
}

/* Accordions */
.tvl-reference-package .tvl-accordion-group {
    display: grid;
    gap: 0;
}

.tvl-reference-package .tvl-accordion-item {
    margin: 0;
    border: 0;
    border-bottom: 1px solid #edf0f2;
    border-radius: 0;
    background: transparent;
    overflow: visible;
}

.tvl-reference-package .tvl-accordion-header {
    display: flex;
    width: 100%;
    min-height: 65px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 0;
    border: 0;
    background: transparent;
    color: var(--tvl-ref-ink);
    font-family: inherit;
    font-size: 16px;
    font-weight: 800;
    text-align: start;
    cursor: pointer;
}

.tvl-reference-package .tvl-accordion-header:hover {
    background: transparent;
    color: var(--tvl-ref-accent);
}

.tvl-reference-package .tvl-accordion-arrow {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid #aeb4bb;
    border-radius: 50%;
    color: #5f6670;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    transition: transform .2s ease, background .2s ease;
}

.tvl-reference-package .tvl-accordion-item.active .tvl-accordion-arrow {
    transform: rotate(45deg);
    border-color: var(--tvl-ref-accent);
    background: var(--tvl-ref-accent);
    color: #fff;
}

.tvl-reference-package .tvl-accordion-content {
    display: none;
    padding: 0 0 22px;
    border: 0;
    background: transparent;
    color: var(--tvl-ref-muted);
    font-size: 14px;
    line-height: 1.9;
}

.tvl-reference-package .tvl-accordion-item.active .tvl-accordion-content {
    display: block;
}

.tvl-reference-package .tvl-accordion-content p:last-child {
    margin-bottom: 0;
}

/* Cities */
.tvl-ref-cities-section {
    padding-top: 54px;
}

.tvl-ref-cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
    gap: 22px;
}

.tvl-ref-city-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--tvl-ref-shadow);
}

.tvl-ref-city-card > img {
    display: block;
    width: 100%;
    height: 185px;
    object-fit: cover;
}

.tvl-ref-city-body {
    position: relative;
    padding: 27px 22px 24px;
    text-align: center;
}

.tvl-ref-city-card > img + .tvl-ref-city-body .tvl-ref-city-pin {
    margin-top: -50px;
}

.tvl-ref-city-pin {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    margin: 0 auto 11px;
    border: 5px solid #fff;
    border-radius: 50%;
    background: var(--tvl-ref-accent);
    box-shadow: 0 6px 16px rgba(109, 127, 121, .24);
    color: #fff;
}

.tvl-ref-city-pin svg {
    width: 22px;
    height: 22px;
}

.tvl-ref-city-card h3 {
    margin: 4px 0 0;
    color: var(--tvl-ref-ink);
    font-size: 23px;
    font-weight: 900;
}

.tvl-ref-city-subtitle {
    margin: 2px 0 13px;
    color: var(--tvl-ref-accent);
    font-size: 14px;
    font-weight: 800;
}

.tvl-ref-city-description {
    min-height: 76px;
    margin: 0;
    color: var(--tvl-ref-muted);
    font-size: 13px;
    line-height: 1.8;
}

.tvl-ref-city-card h4 {
    position: relative;
    margin: 20px 0 9px;
    padding-top: 18px;
    color: var(--tvl-ref-ink);
    font-size: 14px;
    font-weight: 900;
}

.tvl-ref-city-card h4::before {
    content: "";
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 1px;
    background: #6d7f79;
}

.tvl-ref-city-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: start;
}

.tvl-ref-city-card li {
    position: relative;
    padding-inline-start: 20px;
    color: #4f565e;
    font-size: 12px;
    line-height: 1.85;
}

.tvl-ref-city-card li::before {
    content: "✓";
    position: absolute;
    inset-inline-start: 0;
    color: var(--tvl-ref-accent);
    font-weight: 900;
}

/* Experience */
.tvl-ref-experience-section {
    background: var(--tvl-ref-soft);
}

.tvl-ref-experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
}

.tvl-ref-experience-card {
    padding: 30px 24px 28px;
    border: 1px solid #edf0f2;
    border-radius: 15px;
    background: #fff;
    box-shadow: var(--tvl-ref-shadow);
    text-align: center;
}

.tvl-ref-experience-icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    margin: 0 auto 18px;
    border-radius: 13px;
    background: #eef5f3;
    box-shadow: 0 6px 15px rgba(36, 128, 105, .10);
    color: #248069;
    font-size: 27px;
}

.tvl-ref-experience-card h3 {
    margin: 0;
    color: var(--tvl-ref-ink);
    font-size: 19px;
    font-weight: 900;
}

.tvl-ref-experience-card h3::after {
    content: "";
    display: block;
    width: 30px;
    height: 2px;
    margin: 11px auto;
    background: #6d7f79;
}

.tvl-ref-experience-card p {
    margin: 0;
    color: var(--tvl-ref-muted);
    font-size: 14px;
    line-height: 1.8;
}

/* Reviews */
.tvl-ref-testimonials-section {
    background: var(--tvl-ref-cream);
}

.tvl-ref-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    margin-bottom: 30px;
    padding: 24px 18px;
    border: 1px solid #e7e2da;
    border-radius: 15px;
    background: #fff;
}

.tvl-ref-stat {
    position: relative;
    padding: 0 15px;
    text-align: center;
}

.tvl-ref-stat:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 12%;
    bottom: 12%;
    inset-inline-end: 0;
    width: 1px;
    background: #e5e0d8;
}

.tvl-ref-stat strong {
    display: block;
    color: #161a1e;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 900;
    line-height: 1.25;
}

.tvl-ref-stat span {
    display: block;
    color: #979ca3;
    font-size: 12px;
}

.tvl-ref-testimonials-viewport {
    overflow: hidden;
}

.tvl-ref-testimonials-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 40px) / 3);
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.tvl-ref-testimonials-track::-webkit-scrollbar {
    display: none;
}

.tvl-ref-testimonial-card {
    position: relative;
    min-width: 0;
    min-height: 275px;
    padding: 30px 26px 24px;
    border: 1px solid #e7e2da;
    border-radius: 14px;
    background: #fff;
    scroll-snap-align: start;
}

.tvl-ref-quote-mark {
    position: absolute;
    top: 15px;
    inset-inline-end: 22px;
    color: #dbe7e3;
    font-size: 48px;
    font-family: inherit;
    font-weight: 900;
    line-height: 1;
}

.tvl-ref-stars {
    position: relative;
    color: #f5ad31;
    font-size: 16px;
    letter-spacing: 2px;
}

.tvl-ref-testimonial-card > p {
    margin: 18px 0 24px;
    color: #626971;
    font-size: 14px;
    line-height: 1.95;
}

.tvl-ref-testimonial-card footer {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: auto;
    padding-top: 17px;
    border-top: 1px solid #eee9e2;
}

.tvl-ref-testimonial-card footer img {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 50%;
    object-fit: cover;
}

.tvl-ref-testimonial-card footer strong,
.tvl-ref-testimonial-card footer small {
    display: block;
}

.tvl-ref-testimonial-card footer strong {
    color: var(--tvl-ref-ink);
    font-size: 13px;
    font-weight: 900;
}

.tvl-ref-testimonial-card footer small {
    color: #aaaeb4;
    font-size: 11px;
}

.tvl-ref-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.tvl-ref-slider-controls button {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    padding: 0;
    border: 1px solid #e3ddd4;
    border-radius: 50%;
    background: #fff;
    color: #5d646c;
    font: 26px/1 Arial, sans-serif;
    cursor: pointer;
}

.tvl-ref-slider-dots {
    display: flex;
    gap: 7px;
}

.tvl-ref-slider-dots i {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #d9d2c8;
    transition: width .2s ease, background .2s ease;
}

.tvl-ref-slider-dots i.is-active {
    width: 23px;
    background: var(--tvl-ref-accent);
}

/* FAQ */
.tvl-ref-faq-section {
    background: #fff;
}

.tvl-ref-faq-section .tvl-ref-section-heading {
    margin-bottom: 24px;
}

/* Booking */
.tvl-ref-booking-section {
    padding-top: 50px;
}

.tvl-ref-booking-card {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(270px, .75fr);
    overflow: hidden;
    border: 1px solid #e0ddd7;
    border-radius: 18px;
    background: var(--tvl-ref-cream);
    box-shadow: 0 12px 30px rgba(25, 31, 36, .10);
}

.tvl-ref-booking-card.without-image {
    display: block;
}

.tvl-ref-booking-image {
    width: 100%;
    height: 100%;
    min-height: 620px;
    object-fit: cover;
}

.tvl-ref-booking-content {
    min-width: 0;
}

.tvl-reference-package:not(.tvl-ltr) .tvl-ref-booking-image {
    grid-column: 2;
    grid-row: 1;
}

.tvl-reference-package:not(.tvl-ltr) .tvl-ref-booking-content {
    grid-column: 1;
    grid-row: 1;
}

.tvl-ref-booking-header {
    display: flex;
    min-height: 150px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 26px 34px;
    background: linear-gradient(135deg, #248069, #6d7f79);
    color: #fff;
}

.tvl-ref-booking-header > div:first-child > span {
    display: inline-block;
    margin-bottom: 5px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(109, 127, 121, .24);
    color: #dce9e5;
    font-size: 11px;
    font-weight: 800;
}

.tvl-ref-booking-header h2 {
    margin: 0;
    color: #fff;
    font-size: 26px;
    font-weight: 900;
}

.tvl-ref-booking-header p {
    margin: 3px 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
}

.tvl-ref-booking-price {
    padding-inline-start: 30px;
    border-inline-start: 1px solid rgba(255, 255, 255, .14);
    text-align: center;
}

.tvl-ref-booking-price small,
.tvl-ref-booking-price span {
    display: block;
    color: rgba(255, 255, 255, .68);
    font-size: 11px;
}

.tvl-ref-booking-price strong {
    display: block;
    color: #dce9e5;
    font-size: 34px;
    font-weight: 900;
    white-space: nowrap;
}

.tvl-ref-booking-form {
    padding: 35px 34px 30px;
}

.tvl-ref-booking-form .forminator-ui,
.tvl-ref-booking-form form {
    margin: 0 !important;
}

.tvl-ref-booking-form input:not([type="checkbox"]):not([type="radio"]),
.tvl-ref-booking-form select,
.tvl-ref-booking-form textarea {
    width: 100% !important;
    min-height: 48px !important;
    border: 1px solid #e0ddd8 !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: none !important;
}

.tvl-ref-booking-form textarea {
    min-height: 108px !important;
}

.tvl-ref-booking-form button[type="submit"],
.tvl-ref-booking-form .forminator-button-submit {
    width: 100% !important;
    min-height: 50px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: var(--tvl-ref-accent) !important;
    box-shadow: 0 10px 20px rgba(109, 127, 121, .20) !important;
    color: #fff !important;
    font-family: inherit !important;
    font-weight: 900 !important;
}

/* Compliance and related offers */
.tvl-reference-package .tvl-compliance-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.tvl-reference-package .tvl-section-notes {
    background: #fffaf0;
}

.tvl-reference-package .tvl-related-packages-section {
    width: auto !important;
    max-width: none !important;
    margin: 40px calc(50% - 50vw) 0 !important;
    padding: 76px 0 !important;
    border: 0;
    background: var(--tvl-ref-cream);
    overflow: visible;
}

.tvl-ref-related-heading {
    max-width: none;
    margin-bottom: 38px;
    text-align: start;
}

.tvl-reference-package .tvl-related-title {
    margin: 7px 0 0;
    color: var(--tvl-ref-ink);
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 900;
}

.tvl-reference-package .tvl-related-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 330px));
    justify-content: center;
    gap: 28px;
}

.tvl-reference-package .tvl-related-grid .tvl-card-item {
    border: 0;
    border-radius: 16px;
    box-shadow: var(--tvl-ref-shadow);
}

/* LTR */
.tvl-reference-package.tvl-ltr .tvl-ref-inline-icon,
.tvl-reference-package.tvl-ltr .tvl-ref-hero-cta .tvl-ref-inline-icon {
    transform: scaleX(-1);
}

/* Responsive */
@media (max-width: 980px) {
    .tvl-ref-intro-grid {
        grid-template-columns: 1fr;
    }

    .tvl-reference-package .tvl-widget-price-card {
        width: min(520px, 100%);
    }

    .tvl-ref-about-card {
        grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr);
        gap: 28px;
    }

    .tvl-ref-testimonials-track {
        grid-auto-columns: calc((100% - 20px) / 2);
    }

    .tvl-ref-booking-card {
        grid-template-columns: minmax(0, 1.42fr) minmax(230px, .58fr);
    }
}

@media (max-width: 760px) {
    .tvl-ref-container,
    .tvl-ref-narrow {
        width: min(100% - 28px, 1180px);
    }

    .tvl-ref-section {
        padding: 56px 0;
    }

    .tvl-ref-compact-section {
        padding-block: 22px;
    }

    .tvl-ref-hero {
        min-height: 440px;
    }

    .tvl-ref-hero-overlay {
        padding: 48px 0;
    }

    .tvl-reference-package .tvl-ref-hero .tvl-hero-title {
        font-size: clamp(33px, 9vw, 48px);
    }

    .tvl-ref-hero-benefits {
        gap: 10px 18px;
    }

    .tvl-reference-package .tvl-ref-gallery-strip {
        height: clamp(112px, 34vw, 155px);
    }

    .tvl-reference-package .tvl-ref-gallery-strip .tvl-gallery-thumb-item {
        min-width: 72vw;
        height: 100%;
        flex: 0 0 72vw;
    }

    .tvl-gallery-slide-control {
        width: 40px;
        height: 52px;
        font-size: 30px;
    }

    .tvl-ref-gallery-count {
        inset-inline-start: 8px;
        bottom: 8px;
        padding: 5px 9px;
        font-size: 10px;
    }

    .tvl-ref-intro-section {
        padding-top: 48px;
    }

    .tvl-reference-package .tvl-meta-features-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 24px 10px !important;
    }

    .tvl-ref-about-card {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .tvl-reference-package:not(.tvl-ltr) .tvl-ref-about-card > img,
    .tvl-reference-package:not(.tvl-ltr) .tvl-ref-about-copy {
        grid-column: auto;
        grid-row: auto;
    }

    .tvl-ref-about-card > img {
        min-height: 210px;
    }

    .tvl-reference-package .tvl-highlights-list {
        grid-template-columns: 1fr !important;
    }

    .tvl-reference-package .tvl-inc-exc-grid {
        grid-template-columns: 1fr !important;
    }

    .tvl-ref-list-panel > ul {
        min-height: 0;
    }

    .tvl-ref-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 0;
    }

    .tvl-ref-stat:nth-child(2n)::after,
    .tvl-ref-stat:last-child::after {
        display: none;
    }

    .tvl-ref-testimonials-track {
        grid-auto-columns: 88%;
    }

    .tvl-ref-booking-card {
        grid-template-columns: 1fr;
    }

    .tvl-reference-package:not(.tvl-ltr) .tvl-ref-booking-image,
    .tvl-reference-package:not(.tvl-ltr) .tvl-ref-booking-content {
        grid-column: auto;
        grid-row: auto;
    }

    .tvl-ref-booking-image {
        height: 300px;
        min-height: 0;
    }

    .tvl-ref-booking-header {
        min-height: 0;
    }
}

@media (max-width: 520px) {
    .tvl-ref-section-heading {
        margin-bottom: 30px;
    }

    .tvl-ref-section-heading h2 {
        font-size: 27px;
    }

    .tvl-reference-package .tvl-ref-hero-badge {
        font-size: 11px;
    }

    .tvl-reference-package .tvl-ref-hero .tvl-hero-title {
        font-size: 34px;
    }

    .tvl-reference-package .tvl-ref-hero .tvl-hero-subtitle {
        font-size: 15px;
    }

    .tvl-ref-hero-cta {
        min-height: 50px;
        margin-top: 25px;
        padding: 11px 23px;
        font-size: 15px;
    }

    .tvl-ref-hero-benefits {
        display: grid;
        justify-items: center;
        margin-top: 22px;
    }

    .tvl-ref-intro-title {
        font-size: 28px;
    }

    .tvl-reference-package .tvl-widget-price-card,
    .tvl-reference-package .tvl-detail-section {
        padding: 23px 18px;
    }

    .tvl-ref-about-copy h2 {
        font-size: 25px;
    }

    .tvl-ref-cities-grid,
    .tvl-ref-experience-grid {
        grid-template-columns: 1fr;
    }

    .tvl-reference-package .tvl-accordion-header {
        font-size: 14px;
    }

    .tvl-ref-booking-header {
        display: grid;
        padding: 24px 20px;
    }

    .tvl-ref-booking-price {
        padding: 16px 0 0;
        border-top: 1px solid rgba(255, 255, 255, .14);
        border-inline-start: 0;
        text-align: start;
    }

    .tvl-ref-booking-form {
        padding: 25px 18px;
    }

    .tvl-reference-package .tvl-related-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tvl-reference-package *,
    .tvl-reference-package *::before,
    .tvl-reference-package *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

.tvl-single-package-main .tvl-package-detail {
    position: static !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.tvl-single-package-main .tvl-package-detail-inner {
    width: 100% !important;
    max-width: 100% !important;
}

.tvl-single-package-main {
    clear: both;
    box-sizing: border-box;
    overflow: visible;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 32px 16px;
}

.tvl-single-package-shell {
    box-sizing: border-box;
    width: min(1180px, 100%);
    max-width: 1180px;
    margin: 0 auto;
    padding: 0;
}

@media (min-width: 900px) {
    body.single-tvl_package .tvl-single-package-main {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: clamp(18px, 3vw, 48px) !important;
        padding-right: clamp(18px, 3vw, 48px) !important;
        box-sizing: border-box;
    }

    .tvl-single-package-main .tvl-package-detail .tvl-detail-columns {
        display: grid !important;
        grid-template-columns: minmax(0, 2fr) minmax(300px, 0.85fr) !important;
        gap: 30px !important;
        align-items: start !important;
    }
}

/* Keep the reference layout full bleed after the legacy theme-safety rules. */
body.single-tvl_package .tvl-single-package-main {
    padding: 0 !important;
    overflow: visible !important;
}

body.single-tvl_package .tvl-single-package-shell {
    width: 100% !important;
    max-width: none !important;
}

/* Override the higher-specificity legacy 1180px safety wrapper on reference pages. */
body.single-tvl_package .tvl-single-package-main .tvl-reference-package .tvl-package-detail-inner {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
}

/* Native package / visa request forms inherit the active theme font. */
.tvl-native-form-wrap,
.tvl-native-form-wrap input,
.tvl-native-form-wrap select,
.tvl-native-form-wrap textarea,
.tvl-native-form-wrap button {
    box-sizing: border-box;
    font-family: inherit;
}

.tvl-native-form-wrap {
    width: 100%;
    color: inherit;
}

.tvl-native-form-title {
    margin: 0 0 8px;
    color: inherit;
    font-size: clamp(20px, 2.3vw, 30px);
    line-height: 1.35;
}

.tvl-native-form-description {
    margin: 0 0 20px;
    color: var(--tvl-custom-text-muted, #68746f);
}

.tvl-native-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.tvl-native-field.is-full {
    grid-column: 1 / -1;
}

.tvl-native-field label:not(.tvl-checkbox-label) {
    display: block;
    margin-bottom: 7px;
    color: var(--tvl-custom-text-dark, #23312c);
    font-size: 13px;
    font-weight: 700;
}

.tvl-native-field label b {
    color: var(--tvl-accent, #6d7f79);
}

.tvl-native-field input:not([type="checkbox"]),
.tvl-native-field select,
.tvl-native-field textarea {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    color: var(--tvl-custom-text-dark, #23312c);
    background: #fff;
    border: 1px solid var(--tvl-custom-border-color, #dce5e1);
    border-radius: 8px;
    outline: 0;
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.tvl-native-field textarea {
    min-height: 104px;
    resize: vertical;
}

.tvl-native-field input:focus,
.tvl-native-field select:focus,
.tvl-native-field textarea:focus {
    border-color: var(--tvl-primary, #248069);
    box-shadow: 0 0 0 3px rgba(36, 128, 105, .11);
}

.tvl-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    min-height: 44px;
    color: var(--tvl-custom-text-dark, #23312c);
    font-weight: 700;
}

.tvl-checkbox-label input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
}

.tvl-native-form-submit {
    display: block;
    width: 100%;
    min-height: 50px;
    margin-top: 18px;
    padding: 12px 22px;
    color: #fff;
    background: var(--tvl-accent, #6d7f79);
    border: 0;
    border-radius: 7px;
    box-shadow: 0 9px 20px rgba(109, 127, 121, .22);
    cursor: pointer;
    font-size: var(--tvl-font-button, 14px);
    font-weight: 800;
}

.tvl-native-form-submit:hover {
    filter: brightness(.95);
    transform: translateY(-1px);
}

.tvl-native-form-submit:disabled {
    cursor: wait;
    opacity: .65;
    transform: none;
}

.tvl-native-form-feedback {
    display: none;
    grid-column: 1 / -1;
    margin-top: 4px;
    padding: 11px 14px;
    border-radius: 7px;
    font-weight: 700;
}

.tvl-native-form-feedback.is-loading,
.tvl-native-form-feedback.is-success,
.tvl-native-form-feedback.is-error {
    display: block;
}

.tvl-native-form-feedback.is-loading {
    color: #475569;
    background: #f1f5f9;
}

.tvl-native-form-feedback.is-success {
    color: #248069;
    background: #e9f7f2;
}

.tvl-native-form.is-complete .tvl-native-form-grid,
.tvl-native-form.is-complete .tvl-native-form-submit {
    display: none;
}

.tvl-native-form-feedback.is-success {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 112px;
    margin-top: 16px;
    padding: 22px;
    color: #174f41;
    background: linear-gradient(135deg, #effaf6, #e3f4ee);
    border: 1px solid #b9dfd3;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(36, 128, 105, .1);
}

.tvl-form-success-icon {
    display: grid;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    place-items: center;
    color: #fff;
    background: var(--tvl-primary, #248069);
    border-radius: 50%;
    box-shadow: 0 0 0 8px rgba(36, 128, 105, .1);
    font-size: 29px;
    font-weight: 900;
}

.tvl-form-success-copy { display: grid; gap: 4px; min-width: 0; }
.tvl-form-success-copy strong { color: #174f41; font-size: clamp(20px, 2vw, 27px); line-height: 1.35; }
.tvl-form-success-copy > span { color: #527066; line-height: 1.75; white-space: pre-line; }
.tvl-native-form-feedback.is-redirecting { opacity: .88; }

body.tvl-success-modal-open { overflow: hidden; }
.tvl-form-success-modal {
    position: fixed;
    z-index: 1000000;
    inset: 0;
    display: grid;
    padding: 20px;
    place-items: center;
    background: rgba(8, 31, 26, .68);
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(5px);
    transition: opacity .2s ease, visibility .2s ease;
}
.tvl-form-success-modal.is-visible { opacity: 1; visibility: visible; }
.tvl-form-success-dialog {
    width: min(500px, 100%);
    padding: 34px;
    text-align: center;
    background: #fff;
    border: 1px solid #dce5e1;
    border-radius: 20px;
    box-shadow: 0 26px 80px rgba(0, 0, 0, .24);
    transform: translateY(12px) scale(.98);
    transition: transform .22s ease;
}
.tvl-form-success-modal.is-visible .tvl-form-success-dialog { transform: translateY(0) scale(1); }
.tvl-form-success-content { display: grid; justify-items: center; gap: 16px; }
.tvl-form-success-content .tvl-form-success-copy { gap: 8px; }
.tvl-form-success-content .tvl-form-success-copy strong { font-size: clamp(24px, 4vw, 32px); }
.tvl-form-success-close {
    min-width: 150px;
    min-height: 46px;
    margin-top: 25px;
    padding: 10px 24px;
    color: #fff;
    background: var(--tvl-primary, #248069);
    border: 0;
    border-radius: 9px;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
}
.tvl-form-success-close:hover { filter: brightness(.94); }
.tvl-form-success-close:focus-visible { outline: 3px solid rgba(36, 128, 105, .28); outline-offset: 3px; }

.tvl-native-form-feedback.is-error {
    color: #9f231d;
    background: #fff0ee;
}

.tvl-form-honeypot {
    position: absolute !important;
    inset-inline-start: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.tvl-ref-booking-form > .tvl-native-form-wrap,
.tvl-visa-contact-section > .tvl-native-form-wrap {
    margin-top: 18px;
}

@media (max-width: 700px) {
    .tvl-native-form-grid {
        grid-template-columns: 1fr;
    }

    .tvl-native-field.is-half,
    .tvl-native-field.is-full {
        grid-column: 1;
    }

    .tvl-native-form-feedback.is-success { align-items: flex-start; flex-direction: column; padding: 20px; }
    .tvl-form-success-dialog { padding: 28px 20px 22px; border-radius: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .tvl-form-success-modal,
    .tvl-form-success-dialog { transition: none; }
}

/* ========================================================================== */
/* Configurable site footer                                                   */
/* ========================================================================== */
.tvl-site-footer,
.tvl-site-footer * {
    box-sizing: border-box;
    font-family: inherit;
}

.tvl-site-footer {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: none;
    margin: 0;
    color: var(--tvl-footer-text, #fff);
    background: var(--tvl-footer-bg, #123b32);
    font-size: 15px;
    line-height: 1.75;
}

.tvl-footer-container {
    width: min(1320px, calc(100% - 48px));
    margin-inline: auto;
}

.tvl-footer-contact-band {
    padding: 32px 0;
    background: color-mix(in srgb, var(--tvl-footer-bg) 86%, #000);
    border-bottom: 1px solid color-mix(in srgb, var(--tvl-footer-border) 60%, transparent);
}

.tvl-footer-contacts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.tvl-footer-contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    min-height: 96px;
    padding: 20px 24px;
    color: var(--tvl-footer-text);
    background: var(--tvl-footer-card);
    border: 1px solid var(--tvl-footer-border);
    border-radius: 16px;
    text-decoration: none !important;
    transition: transform .2s ease, border-color .2s ease;
}

a.tvl-footer-contact-card:hover {
    color: var(--tvl-footer-text);
    border-color: var(--tvl-footer-primary);
    transform: translateY(-2px);
}

.tvl-footer-contact-card > span:last-child { min-width: 0; }
.tvl-footer-contact-card small,
.tvl-footer-contact-card strong { display: block; overflow-wrap: anywhere; }
.tvl-footer-contact-card small { color: var(--tvl-footer-muted); font-size: 13px; font-weight: 700; }
.tvl-footer-contact-card strong { margin-top: 2px; color: var(--tvl-footer-text); font-size: 17px; font-weight: 800; }

.tvl-footer-icon {
    display: grid;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    place-items: center;
    color: #fff;
    background: var(--tvl-footer-primary);
    border-radius: 14px;
}

.tvl-footer-contact-card:nth-child(even) .tvl-footer-icon { background: var(--tvl-footer-secondary); }
.tvl-footer-icon svg,
.tvl-footer-address svg,
.tvl-footer-map svg,
.tvl-footer-license svg { width: 24px; height: 24px; fill: currentColor; }
.tvl-footer-icon-letter { font-size: 19px; font-weight: 900; line-height: 1; }

.tvl-footer-main { padding: 64px 0 52px; }
.tvl-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 52px;
    align-items: start;
}

.tvl-footer-logo { margin-bottom: 22px; }
.tvl-footer-logo img { display: block; width: auto; max-width: 190px; max-height: 105px; object-fit: contain; }
.tvl-footer-about { color: var(--tvl-footer-muted); font-size: 15px; }
.tvl-footer-about p { margin: 0 0 14px; }
.tvl-footer-heading,
.tvl-footer-newsletter h3 {
    margin: 0 0 28px;
    color: var(--tvl-footer-text);
    font-family: inherit;
    font-size: 19px;
    font-weight: 850;
}
.tvl-footer-heading::after {
    display: block;
    width: 34px;
    height: 3px;
    margin-top: 12px;
    background: var(--tvl-footer-primary);
    border-radius: 99px;
    content: '';
}

.tvl-footer-column ul { margin: 0; padding: 0; list-style: none; }
.tvl-footer-column li + li { margin-top: 13px; }
.tvl-footer-column a,
.tvl-footer-bottom a { color: var(--tvl-footer-muted); text-decoration: none; }
.tvl-footer-column a:hover,
.tvl-footer-bottom a:hover { color: var(--tvl-footer-text); }

.tvl-footer-newsletter { margin-top: 28px; }
.tvl-footer-newsletter h3 { margin-bottom: 13px; font-size: 16px; }
.tvl-footer-newsletter form { margin: 0; }
.tvl-footer-newsletter input,
.tvl-footer-newsletter select,
.tvl-footer-newsletter textarea,
.tvl-footer-newsletter button {
    min-height: 48px;
    border-radius: 10px;
    font-family: inherit;
}
.tvl-footer-newsletter input,
.tvl-footer-newsletter select,
.tvl-footer-newsletter textarea { color: var(--tvl-footer-text); background: var(--tvl-footer-card); border: 1px solid var(--tvl-footer-border); }
.tvl-footer-newsletter button,
.tvl-footer-newsletter input[type="submit"] { color: #fff; background: var(--tvl-footer-primary); border: 0; cursor: pointer; }

.tvl-footer-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tvl-footer-socials a {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: var(--tvl-footer-text);
    background: var(--tvl-footer-card);
    border: 1px solid var(--tvl-footer-border);
    border-radius: 12px;
    text-decoration: none;
}
.tvl-footer-socials a:hover { color: #fff; background: var(--tvl-footer-primary); border-color: var(--tvl-footer-primary); }
.tvl-footer-socials svg { width: 21px; height: 21px; fill: currentColor; }

.tvl-footer-address { display: flex; align-items: flex-start; gap: 9px; margin: 0 0 18px; color: var(--tvl-footer-muted); }
.tvl-footer-address svg { flex: 0 0 20px; width: 20px; margin-top: 4px; color: var(--tvl-footer-primary); }
.tvl-footer-map {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    min-height: 155px;
    overflow: hidden;
    padding: 18px;
    color: var(--tvl-footer-text) !important;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--tvl-footer-primary) 30%, transparent), color-mix(in srgb, var(--tvl-footer-secondary) 28%, transparent)),
        repeating-linear-gradient(0deg, transparent 0 31px, color-mix(in srgb, var(--tvl-footer-border) 38%, transparent) 32px),
        repeating-linear-gradient(90deg, transparent 0 31px, color-mix(in srgb, var(--tvl-footer-border) 38%, transparent) 32px),
        var(--tvl-footer-card);
    border: 1px solid var(--tvl-footer-border);
    border-radius: 14px;
    text-decoration: none !important;
}
.tvl-footer-map-pin {
    position: absolute;
    inset: 25px auto auto 50%;
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    color: #fff;
    background: var(--tvl-footer-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 9px color-mix(in srgb, var(--tvl-footer-primary) 17%, transparent);
    transform: translateX(-50%);
}
.tvl-footer-map.is-embed { display: block; padding: 0; background: var(--tvl-footer-card); }
.tvl-footer-map iframe { display: block; width: 100%; height: 190px; border: 0; }

.tvl-footer-license { padding: 18px 0; background: color-mix(in srgb, var(--tvl-footer-bg) 88%, #000); border-top: 1px solid var(--tvl-footer-border); }
.tvl-footer-license .tvl-footer-container { display: flex; justify-content: center; }
.tvl-footer-license a,
.tvl-footer-license .tvl-footer-container > div { display: flex; align-items: center; gap: 10px; color: var(--tvl-footer-text); text-decoration: none; font-weight: 800; }
.tvl-footer-license img { width: 34px; height: 34px; object-fit: contain; }
.tvl-footer-license svg { color: var(--tvl-footer-primary); }

.tvl-footer-bottom { padding: 20px 0; background: var(--tvl-footer-bottom); }
.tvl-footer-bottom .tvl-footer-container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.tvl-footer-bottom p { margin: 0; color: var(--tvl-footer-muted); font-size: 13px; }
.tvl-footer-bottom nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; }

body.tvl-footer-replace-theme #footer-outer,
body.tvl-footer-replace-theme footer.site-footer:not(.tvl-site-footer),
body.tvl-footer-replace-theme footer#colophon,
body.tvl-footer-replace-theme div#footer:not(.tvl-site-footer) { display: none !important; }

@media (max-width: 1050px) {
    .tvl-footer-contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tvl-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 36px; }
    .tvl-footer-location { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
    .tvl-footer-container { width: min(100% - 32px, 520px); }
    .tvl-footer-contact-band { padding: 18px 0; }
    .tvl-footer-contacts { gap: 8px; }
    .tvl-footer-contact-card { min-height: 82px; padding: 13px 10px; gap: 9px; border-radius: 13px; }
    .tvl-footer-icon { flex-basis: 40px; width: 40px; height: 40px; border-radius: 11px; }
    .tvl-footer-icon svg { width: 20px; height: 20px; }
    .tvl-footer-contact-card small { font-size: 11px; }
    .tvl-footer-contact-card strong { font-size: 13px; }
    .tvl-footer-main { padding: 46px 0 36px; }
    .tvl-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 20px; }
    .tvl-footer-brand,
    .tvl-footer-location { grid-column: 1 / -1; }
    .tvl-footer-logo img { max-width: 150px; max-height: 85px; }
    .tvl-footer-heading { margin-bottom: 20px; font-size: 17px; }
    .tvl-footer-column li + li { margin-top: 10px; }
    .tvl-footer-map { min-height: 145px; }
    .tvl-footer-bottom .tvl-footer-container { align-items: flex-start; flex-direction: column; gap: 10px; }
}

@media (max-width: 380px) {
    .tvl-footer-contacts,
    .tvl-footer-grid { grid-template-columns: 1fr; }
    .tvl-footer-brand,
    .tvl-footer-location { grid-column: auto; }
}

@supports not (color: color-mix(in srgb, #000 50%, #fff)) {
    .tvl-footer-contact-band,
    .tvl-footer-license { background: var(--tvl-footer-bottom); }
}

/* ========================================================================== */
/* Shortcode surfaces: theme-safe sizing and complete mobile responsiveness   */
/* ========================================================================== */
.tvl-packages,
.tvl-visas-wrap,
.tvl-visa-showcase,
.tvl-package-detail,
.tvl-visa-detail {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.tvl-packages > *,
.tvl-packages-loop-grid > *,
.tvl-visas-wrap > *,
.tvl-visas-grid > *,
.tvl-visa-showcase > *,
.tvl-package-detail > *,
.tvl-visa-detail > * {
    min-width: 0;
}

.tvl-packages img,
.tvl-visas-wrap img,
.tvl-visa-showcase img,
.tvl-package-detail img,
.tvl-visa-detail img,
.tvl-package-detail video,
.tvl-visa-detail video,
.tvl-package-detail iframe,
.tvl-visa-detail iframe {
    max-width: 100%;
}

.tvl-packages > .tvl-filters-form {
    display: block;
    width: 100%;
    max-width: 100%;
    visibility: visible;
}

/* Full-bleed bands belong to native single URLs. Embedded detail shortcodes
   remain inside the page-builder or theme content area. */
.tvl-shortcode-package .tvl-ref-hero,
.tvl-shortcode-package .tvl-related-packages-section {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
}

.tvl-shortcode-package .tvl-ref-hero { border-radius: 18px; }
.tvl-shortcode-package .tvl-related-packages-section { padding-inline: 14px !important; }

@media (max-width: 767px) {
    .tvl-packages,
    .tvl-visa-showcase,
    .tvl-package-detail,
    .tvl-visa-detail {
        margin-inline: 0;
        overflow-wrap: anywhere;
    }

	.tvl-visas-wrap {
		width: 100%;
		margin-inline: auto;
		padding-block: 12px 48px;
		overflow-wrap: anywhere;
	}

    .tvl-cols-2 .tvl-packages-loop-grid,
    .tvl-cols-3 .tvl-packages-loop-grid,
    .tvl-cols-4 .tvl-packages-loop-grid,
    .tvl-visas-grid.tvl-cols-2,
    .tvl-visas-grid.tvl-cols-3,
    .tvl-visas-grid.tvl-cols-4,
    .tvl-visa-showcase-grid .tvl-visa-showcase-track {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .tvl-packages-loop-grid,
    .tvl-visas-grid { gap: 18px; }

    .tvl-filters-form {
        margin-bottom: 20px;
        padding: 14px;
        border-radius: 10px;
    }

    .tvl-filters-grid,
    .tvl-visa-filters {
        display: grid;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 11px;
        align-items: stretch;
    }

    .tvl-filter-item,
    .tvl-filter-item.search-input-wrapper {
        width: 100%;
        min-width: 0;
        flex: none;
    }

    .tvl-input,
    .tvl-select,
    .tvl-visa-filters input,
    .tvl-visa-filters select {
        width: 100%;
        max-width: 100%;
        min-height: 46px;
        font-size: 16px; /* Prevent iOS form zoom. */
    }

    .tvl-filter-buttons {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 9px;
    }

    .tvl-filter-buttons .tvl-btn,
    .tvl-visa-filters .tvl-btn,
    .tvl-visa-reset {
        width: 100%;
        min-width: 0;
        margin: 0;
    }

    .tvl-card-item,
    .tvl-layout-list .tvl-card-item {
        width: 100%;
        min-width: 0;
        flex-direction: column;
    }

    .tvl-layout-list .tvl-card-image-box {
        width: 100%;
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .tvl-card-details { min-width: 0; padding: 17px; }
    .tvl-card-title { font-size: clamp(19px, 5.7vw, 23px); }
    .tvl-card-meta-row { gap: 9px 13px; }
    .tvl-card-footer { flex-wrap: wrap; gap: 12px; }
    .tvl-card-price-box { min-width: 0; }
    .tvl-card-cta-btn { flex: 0 1 auto; max-width: 100%; text-align: center; }

    .tvl-pagination {
        flex-wrap: wrap;
        gap: 7px;
        margin-top: 25px;
    }

    .tvl-visa-showcase-slider .tvl-visa-showcase-track {
        grid-auto-columns: min(86%, 330px) !important;
    }

    .tvl-visa-showcase-header { gap: 12px; }
    .tvl-visa-showcase-heading h2 { font-size: clamp(23px, 7vw, 30px); }
    .tvl-visa-showcase-stack .tvl-visa-showcase-card > a { grid-template-columns: 105px minmax(0, 1fr); }
    .tvl-visa-showcase-stack .tvl-visa-showcase-media { height: 118px; }
    .tvl-visa-showcase-stack .tvl-visa-showcase-flag { position: absolute; inset-inline-start: 68px; width: 70px; height: 70px; margin: 0; }
    .tvl-visa-showcase-stack .tvl-visa-showcase-card-body { padding: 13px 17px; }

    .tvl-visa-section,
    .tvl-visa-profile-panel,
    .tvl-visa-contact-section { padding: 18px; }

    .tvl-visa-hero { min-height: 0; }
    .tvl-visa-hero-overlay { min-height: 460px; padding: 38px 0; }
    .tvl-visa-summary > span { width: 100%; flex-basis: 100%; }
    .tvl-visa-profile-panel-header,
    .tvl-visa-card-footer { align-items: stretch; }

    .tvl-shortcode-package .tvl-ref-hero { border-radius: 13px; }
    .tvl-shortcode-package .tvl-related-packages-section { padding: 48px 14px !important; }
}

@media (max-width: 420px) {
    .tvl-filter-buttons { grid-template-columns: 1fr; }
    .tvl-card-footer { align-items: stretch; flex-direction: column; }
    .tvl-card-cta-btn { width: 100%; }
    .tvl-visa-showcase-slider .tvl-visa-showcase-track { grid-auto-columns: 91% !important; }
    .tvl-visa-showcase-controls { flex: 0 0 auto; }
}

/* Quick Destinations Filter (Pills) */
.tvl-quick-filter-destinations {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
    justify-content: center;
}

.tvl-quick-filter-destinations .tvl-pill {
    display: inline-block;
    padding: 8px 24px;
    border: 1px solid var(--tvl-custom-border-color, #e2e5e9);
    border-radius: 999px;
    background: #fff;
    color: var(--tvl-custom-text-dark, #1f2937);
    font-weight: 800;
    text-decoration: none;
    transition: all .2s ease;
    font-size: 15px;
    line-height: 1.4;
}

.tvl-quick-filter-destinations .tvl-pill:hover {
    border-color: var(--tvl-primary, #f04a24);
    color: var(--tvl-primary, #f04a24);
}

.tvl-quick-filter-destinations .tvl-pill.is-active {
    background: var(--tvl-primary, #f04a24) !important;
    border-color: var(--tvl-primary, #f04a24) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(240, 74, 36, 0.2);
}

/* Theme-proof quick country pills and compact, full-bleed visa showcase. */
.tvl-packages .tvl-quick-filter-destinations {
    display: flex !important;
    width: 100% !important;
    margin: 0 0 28px !important;
    padding: 0 !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px 26px !important;
    list-style: none !important;
}

.tvl-packages .tvl-quick-filter-destinations > .tvl-pill {
    display: inline-flex !important;
    min-width: 98px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 8px 22px !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #dedede !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #263044 !important;
    box-shadow: none !important;
    font: inherit !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.tvl-packages .tvl-quick-filter-destinations > .tvl-pill:hover,
.tvl-packages .tvl-quick-filter-destinations > .tvl-pill:focus-visible {
    border-color: #f04424 !important;
    color: #f04424 !important;
    transform: translateY(-1px);
}

.tvl-packages .tvl-quick-filter-destinations > .tvl-pill.is-active {
    border-color: #f04424 !important;
    background: #f04424 !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(240, 68, 36, .22) !important;
}

.tvl-visa-showcase.tvl-visa-showcase-slider {
    box-sizing: border-box !important;
    left: auto !important;
    width: 100vw !important;
    max-width: none !important;
    margin-inline: calc(50% - 50vw) !important;
    padding-block: clamp(34px, 5vw, 68px) !important;
    background: #f4f4f4;
}

.tvl-visa-showcase-slider .tvl-visa-showcase-track {
    align-items: start !important;
}

.tvl-visa-showcase-slider .tvl-visa-showcase-card {
    align-self: start !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.tvl-visa-showcase-slider .tvl-visa-showcase-card > a {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.tvl-visa-showcase-slider .tvl-visa-showcase-media {
    height: clamp(150px, 13vw, 192px) !important;
    margin: 0 !important;
    padding: 0 !important;
}

.tvl-visa-showcase-slider .tvl-visa-showcase-card-body {
    min-height: 112px !important;
    margin: 0 !important;
    padding: 20px 14px 22px !important;
    align-content: center !important;
}

@media (max-width: 767px) {
    .tvl-packages .tvl-quick-filter-destinations {
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
        gap: 9px !important;
        overflow-x: auto !important;
        padding: 2px 2px 10px !important;
        scrollbar-width: none;
    }

    .tvl-packages .tvl-quick-filter-destinations::-webkit-scrollbar { display: none; }
    .tvl-packages .tvl-quick-filter-destinations > .tvl-pill { min-width: 90px !important; }
    .tvl-visa-showcase.tvl-visa-showcase-slider { padding-block: 30px !important; }
}

/* 1.10.6: exact compact card geometry requested for shortcode sliders. */
html body .tvl-visa-showcase[data-layout="slider"] {
    position: relative !important;
    inset-inline: auto !important;
    left: 50% !important;
    right: auto !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-top: 0 !important;
    margin-right: -50vw !important;
    margin-bottom: 28px !important;
    margin-left: -50vw !important;
    padding: 38px 0 30px !important;
    overflow: hidden !important;
}

/* When the visa showcase is the first/only page block, remove the vertical
   spacing added by Gutenberg shortcode wrappers and common theme containers. */
.wp-block-shortcode:has(> .tvl-visa-showcase[data-layout="slider"]),
.wp-block-html:has(> .tvl-visa-showcase[data-layout="slider"]),
.entry-content:has(> .wp-block-shortcode:first-child > .tvl-visa-showcase[data-layout="slider"]),
.entry-content:has(> .wp-block-html:first-child > .tvl-visa-showcase[data-layout="slider"]) {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

html body .tvl-visa-showcase[data-layout="slider"] .tvl-visa-showcase-header {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 24px !important;
    padding: 0 18px !important;
}

html body .tvl-visa-showcase[data-layout="slider"] .tvl-visa-showcase-viewport {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    scroll-padding-inline: 0 !important;
}

html body .tvl-visa-showcase[data-layout="slider"] .tvl-visa-showcase-track {
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: start !important;
}

html body .tvl-visa-showcase[data-layout="slider"] article.tvl-visa-showcase-card {
    display: block !important;
    box-sizing: border-box !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    align-self: start !important;
}

html body .tvl-visa-showcase[data-layout="slider"] article.tvl-visa-showcase-card > a {
    position: relative !important;
    inset: auto !important;
    display: flex !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
}

html body .tvl-visa-showcase[data-layout="slider"] .tvl-visa-showcase-media {
    position: relative !important;
    inset: auto !important;
    display: grid !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: 182px !important;
    min-height: 182px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 182px !important;
}

html body .tvl-visa-showcase[data-layout="slider"] .tvl-visa-showcase-flag {
    flex: 0 0 auto !important;
}

html body .tvl-visa-showcase[data-layout="slider"] .tvl-visa-showcase-card-body {
    display: grid !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: auto !important;
    min-height: 86px !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 16px 12px 20px !important;
    flex: 0 0 auto !important;
    align-content: center !important;
}

html body .tvl-visa-showcase[data-layout="slider"] .tvl-visa-showcase-card-body h3 {
    margin: 0 !important;
    padding: 0 !important;
}

html body .tvl-visa-showcase[data-layout="slider"] .tvl-visa-showcase-dots {
    margin: 22px 0 0 !important;
    padding: 0 !important;
}

@media (max-width: 767px) {
    html body .tvl-visa-showcase[data-layout="slider"] {
        padding-block: 28px 24px !important;
    }

    html body .tvl-visa-showcase[data-layout="slider"] .tvl-visa-showcase-track {
        padding-inline: 0 !important;
    }
}

/* 1.10.7 fallback while JavaScript unwraps a shortcode inserted in a
   WordPress Preformatted block. The wrapper caused the reported card gaps. */
pre:has(> .tvl-visa-showcase) {
    box-sizing: border-box !important;
    width: 100vw !important;
    max-width: none !important;
	margin-inline: calc(50% - 50vw) !important;
	margin-block: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
    white-space: normal !important;
}

pre > .tvl-visa-showcase,
pre > .tvl-visa-showcase * {
    white-space: normal !important;
}

/* Full-width configurable landing page. */
/* The shortcode can be placed inside any theme page container. Break it out safely. */
.tvl-home{width:100vw!important;max-width:none!important;margin-right:calc(50% - 50vw)!important;margin-left:calc(50% - 50vw)!important}
.tvl-home-hero h1{color:var(--tvl-home-hero-title)!important}.tvl-home-hero p{color:var(--tvl-home-hero-subtitle)!important}.tvl-home-cta{background:var(--tvl-home-button-bg)!important;color:var(--tvl-home-button-text)!important}.tvl-home-section h2{color:var(--tvl-home-section-title)!important}
.tvl-homepage-template{margin:0!important;padding:0!important;width:100%!important;max-width:none!important}.tvl-homepage-template .tvl-home{width:100vw!important;max-width:none!important;margin:0!important}.tvl-home{font-family:inherit;color:#165d50;background:var(--tvl-home-bg);overflow:hidden}.tvl-home *{box-sizing:border-box}.tvl-home-nav{height:76px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(26px,7vw,100px);gap:30px}.tvl-home-brand{color:var(--tvl-home-primary);text-decoration:none;min-width:110px}.tvl-home-brand img{display:block;max-height:52px;max-width:150px;width:auto}.tvl-home-nav nav{display:flex;gap:clamp(20px,4vw,56px)}.tvl-home-nav nav a{color:var(--tvl-home-primary);font-weight:700;text-decoration:none;font-size:16px}.tvl-home-nav nav a:first-child{border-bottom:3px solid var(--tvl-home-accent);height:76px;display:flex;align-items:center}.tvl-home-hero{min-height:560px;background-color:#26665e;background-size:cover;background-position:center;display:flex;align-items:center;padding:60px clamp(50px,8vw,120px)}.tvl-home-hero-content{color:#fff;max-width:480px}.tvl-home-hero h1{font-size:clamp(46px,5.2vw,75px);line-height:1.08;margin:0 0 22px;font-weight:800}.tvl-home-dots,.tvl-home-pagination{display:flex;justify-content:center;gap:9px}.tvl-home-dots{justify-content:flex-start;margin:0 0 50px}.tvl-home-dots i,.tvl-home-pagination i{width:14px;height:14px;background:#fff;border-radius:50%;opacity:.9}.tvl-home-dots i:nth-child(1),.tvl-home-dots i:nth-child(2),.tvl-home-pagination i.active{background:var(--tvl-home-accent)}.tvl-home-hero p{font-size:25px;margin:0 0 18px}.tvl-home-cta{background:var(--tvl-home-accent);border-radius:25px;color:#fff;padding:10px 13px 10px 23px;font-size:18px;font-weight:800;text-decoration:none;display:inline-flex;gap:14px;align-items:center}.tvl-home-cta b,.tvl-home-card-body>b{background:#fff;color:var(--tvl-home-accent);width:26px;height:26px;border-radius:50%;display:grid;place-items:center}.tvl-home-section{padding:28px clamp(25px,5vw,90px) 44px;text-align:center}.tvl-home-section h2,.tvl-home-services h2{font-size:38px;line-height:1;margin:0 0 28px;color:var(--tvl-home-primary)}.tvl-home-cards,.tvl-home-destination-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;max-width:1100px;margin:auto}.tvl-home-card{background:#fff;border-radius:22px;overflow:hidden;text-align:right;text-decoration:none;color:var(--tvl-home-primary);position:relative;box-shadow:0 4px 13px #00000008}.tvl-home-card-image{height:190px;background:linear-gradient(135deg,#8ac8da,#f4b24e)}.tvl-home-card-image img{width:100%;height:100%;object-fit:cover}.tvl-home-card-meta{background:#f0f0ef;border-radius:8px;padding:7px 15px;display:inline-block;margin:-16px 18px 0;position:relative;font-weight:700}.tvl-home-card-body{padding:18px 22px 20px;position:relative}.tvl-home-card-body h3{font-size:20px;margin:0 0 15px}.tvl-home-card-body small{display:block;color:#9b9b9b}.tvl-home-card-body strong{font-size:29px}.tvl-home-card-body>b{position:absolute;left:22px;bottom:23px;background:var(--tvl-home-accent);color:#fff}.tvl-home-pagination{margin:28px auto 0}.tvl-home-pagination i{width:12px;height:12px}.tvl-home-services{padding:25px clamp(25px,7vw,110px) 35px;background:var(--tvl-home-primary);color:#fff;text-align:center}.tvl-home-services h2{color:#fff}.tvl-home-services>div{display:grid;grid-template-columns:repeat(4,1fr);max-width:1200px;margin:auto}.tvl-home-services article{padding:12px 25px;border-left:1px solid #ffffff66}.tvl-home-services article:first-child{border:0}.tvl-home-services em{font-style:normal;color:var(--tvl-home-accent);font-size:45px;font-weight:800;display:block;height:55px}.tvl-home-services h3{font-size:16px;margin:8px 0}.tvl-home-services p{margin:0;color:#e2e5e4}.tvl-home-destination{height:300px;border-radius:20px;overflow:hidden;position:relative;display:block;background:linear-gradient(135deg,#eec05e,#547fbe)}.tvl-home-destination img{width:100%;height:100%;object-fit:cover}.tvl-home-destination span{position:absolute;top:0;right:25%;left:25%;background:#fff;color:var(--tvl-home-primary);padding:7px;border-radius:0 0 10px 10px;font-size:24px;font-weight:800}.tvl-home-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;max-width:1050px}.tvl-home-admin-grid>section,.tvl-home-editor-card{border:1px solid #dcdcde;background:#fff;padding:18px;margin:15px 0}.tvl-home-field,.tvl-home-row label{display:flex;flex-direction:column;gap:6px;margin:0 0 12px;max-width:100%}.tvl-home-field input,.tvl-home-row input{width:100%}.tvl-home-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:10px 0}.tvl-home-editor-card{max-width:1050px}@media(max-width:720px){.tvl-home-nav{height:auto;padding:16px 22px;align-items:flex-start}.tvl-home-nav nav{gap:13px;flex-wrap:wrap}.tvl-home-nav nav a{font-size:13px}.tvl-home-nav nav a:first-child{height:auto;border:0}.tvl-home-hero{min-height:470px;padding:45px 30px}.tvl-home-cards,.tvl-home-destination-grid,.tvl-home-services>div,.tvl-home-admin-grid{grid-template-columns:1fr}.tvl-home-services article{border:0;border-bottom:1px solid #ffffff55}.tvl-home-card-image{height:220px}.tvl-home-destination{height:260px}}
