/* TravelPro — Frontend CSS — Blue Design System */
@import url('fonts.css');

/* ── Color tokens for this stylesheet ──────────────────────────────
   The brand-color tokens (--tp-blue, --tp-blue-dk, --tp-blue-lt, etc.)
   are defined ONCE in frontend.css (loaded as a dependency) and may be
   overridden at runtime by the inline style block injected by
   FrontendAssets::enqueue() based on the admin's color-picker settings.

   This file used to redeclare those tokens in its own :root block,
   which silently overrode the admin's choices. That declaration has
   been removed. Tokens unique to the tour page (--tp-primary,
   --tp-primary-rgb, --tp-radius, --tp-btn-*) are still declared below.
   ───────────────────────────────────────────────────────────────── */
:root {
    --dest-color:        var(--tp-primary);

    /* ── Brand / Primary colour system ─────────────────────────────
       These three primary tokens default to the same blue as --tp-blue
       but exist as a separate group so themes can rebrand without
       touching the rest of the palette.
    ─────────────────────────────────────────────────────────────── */
    --tp-primary:        var(--tp-blue);
    --tp-primary-dk:     var(--tp-blue-dark);
    --tp-primary-lt:     var(--tp-blue-light);
    --tp-primary-rgb:    0, 100, 210;     /* used for rgba() calls */

    /* CTA button typography — override without !important fights */
    --tp-btn-font-size:   15px;
    --tp-btn-font-weight: 700;

    /* Tour-page-only tokens */
    --tp-radius:    12px;
    --tp-shadow:    0 1px 4px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.04);
}
*,::before,::after { box-sizing: border-box; }
.tp-tour-page {
    font-family: var(--tp-font);
    color: var(--tp-ink);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════════
   TravelPro — Global button reset
   Prevents WordPress themes / Elementor from injecting pink/purple
   hover colours or zeroing out font-size on plugin buttons.

   IMPORTANT: No !important here — we use specificity + explicit
   property declarations instead. This keeps the cascade predictable
   and lets child-theme overrides work without fighting !important.
══════════════════════════════════════════════════════════════════ */
.tp-pax-btn, .tp-bb-cta, .tp-card-btn, .tp-coupon-apply, .tp-pay-btn,
.tp-sf-btn, .tp-hs-btn, .tp-hs-nav-btn, .tp-lb-close, .tp-lb-prev,
.tp-lb-next, .tp-gallery-count, .tp-bb-back, .tp-filter-reset {
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none;
    outline: none;
    /* Explicitly declare font properties so theme rules can never
       zero them out (e.g. `button { font-size: 0 }` resets).
       Each component overrides these with its own specific values. */
    font-size: revert;
    line-height: normal;
    text-rendering: auto;
}

/* ── HERO ────────────────────────────────────────────────────────── */
.tp-tour-hero { border-radius: var(--tp-radius); overflow: hidden; margin-bottom: 24px; height: 440px; position: relative; background: var(--tp-border); }
.tp-hero-gallery, .tp-hero-single { height: 100%; }
.tp-hero-gallery img, .tp-hero-single img { width: 100%; height: 100%; object-fit: cover; }
.tp-gallery-count { position: absolute; bottom: 16px; right: 16px; background: rgba(0,0,0,.65); color: #fff; border: none; border-radius: 8px; padding: 8px 14px; font-size: 13px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px; font-family: var(--tp-font); }
.swiper-button-next, .swiper-button-prev { color: #fff !important; }
.swiper-button-next::after, .swiper-button-prev::after { font-size: 18px !important; }
.swiper-pagination-bullet-active { background: #fff !important; }

/* ── LAYOUT ──────────────────────────────────────────────────────── */
.tp-tour-layout { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 28px; align-items: start; }

/* ── HEADER ──────────────────────────────────────────────────────── */
.tp-tour-breadcrumb { font-size: 12px; color: var(--tp-muted); margin-bottom: 12px; }
.tp-tour-breadcrumb a { color: var(--tp-muted); text-decoration: none; }
.tp-tour-breadcrumb a:hover { color: var(--tp-blue); }
.tp-tour-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }

.tp-badge-pill {
    display: inline-flex; align-items: center;
    padding: 4px 12px; border-radius: 20px;
    font-size: 11px; font-weight: 700; letter-spacing: .3px;
    background: var(--tp-blue-lt); color: var(--tp-blue);
    border: 1px solid var(--tp-blue-mid);
}
.tp-badge-code { background: var(--tp-bg); color: var(--tp-muted); padding: 4px 10px; border-radius: 6px; font-size: 11px; font-family: monospace; border: 1px solid var(--tp-border); }

.tp-tour-title { font-size: 26px; font-weight: 800; line-height: 1.25; color: var(--tp-ink); margin: 0 0 14px; }

.tp-tour-meta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 20px; }
.tp-meta-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--tp-text); }
.tp-meta-item i { color: var(--tp-blue); font-size: 12px; }

/* Stars — blue tinted */
.tp-stars { letter-spacing: -1px; }
.tp-star { position: relative; color: var(--tp-border); }
.tp-star::before { content: '★'; position: absolute; color: var(--tp-blue); overflow: hidden; width: var(--fill, 0%); }
.tp-rating-val { font-weight: 700; color: var(--tp-ink); }
.tp-rating-count { color: var(--tp-muted); font-size: 12px; }

/* ── QUICK INFO ──────────────────────────────────────────────────── */
.tp-quick-info { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 10px; margin-bottom: 24px; }
.tp-quick-info-item { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--tp-white); border: 1px solid var(--tp-border); border-radius: 10px; }
.tp-qi-icon { width: 36px; height: 36px; border-radius: 9px; background: var(--tp-blue-lt); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--tp-blue); font-size: 15px; }
.tp-qi-body { display: flex; flex-direction: column; min-width: 0; }
.tp-qi-label { font-size: 10px; color: var(--tp-muted); text-transform: uppercase; letter-spacing: .4px; font-weight: 700; }
.tp-qi-value { font-size: 12.5px; font-weight: 600; color: var(--tp-ink); }

/* ── TABS ────────────────────────────────────────────────────────── */
.tp-content-tabs { display: flex; border-bottom: 2px solid var(--tp-border); margin-bottom: 24px; overflow-x: auto; gap: 0; }
.tp-tab-btn { display: flex; align-items: center; gap: 6px; padding: 11px 16px; border: none; background: none; font-size: 13px; font-weight: 600; color: var(--tp-muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; white-space: nowrap; text-decoration: none; transition: color .12s; font-family: var(--tp-font); }
.tp-tab-btn i { font-size: 11px; }
.tp-tab-btn:hover { color: var(--tp-blue); }
.tp-tab-btn.active { color: var(--tp-blue); border-bottom-color: var(--tp-blue); }

/* ── SECTIONS ────────────────────────────────────────────────────── */
.tp-section { margin-bottom: 36px; padding-top: 8px; }
.tp-section-title { font-size: 18px; font-weight: 800; color: var(--tp-ink); margin: 0 0 16px; display: flex; align-items: center; gap: 8px; }
.tp-section-title i { width: 32px; height: 32px; border-radius: 8px; background: var(--tp-blue-lt); color: var(--tp-blue); display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.tp-sub-title { font-size: 15px; font-weight: 700; color: var(--tp-ink); margin: 0 0 12px; }
.tp-prose { font-size: 14px; line-height: 1.8; color: var(--tp-text); }
.tp-prose p { margin: 0 0 12px; }
.tp-muted-note { font-size: 13px; color: var(--tp-muted); margin-bottom: 16px; }

/* ── HIGHLIGHTS ──────────────────────────────────────────────────── */
.tp-highlights-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 8px; }
.tp-highlight-item { display: flex; align-items: flex-start; gap: 8px; padding: 10px 14px; background: var(--tp-blue-lt); border-radius: 9px; border: 1px solid var(--tp-blue-mid); font-size: 13px; font-weight: 500; color: var(--tp-ink); }
.tp-highlight-item i { color: var(--tp-blue); flex-shrink: 0; margin-top: 2px; }

/* ── ITINERARY ───────────────────────────────────────────────────── */
.tp-itinerary-list { display: flex; flex-direction: column; }
.tp-itin-item { display: grid; grid-template-columns: 36px 1fr; gap: 0; }
.tp-itin-marker { display: flex; flex-direction: column; align-items: center; }
.tp-itin-dot { width: 30px; height: 30px; border-radius: 50%; background: var(--tp-blue); color: #fff; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; z-index: 1; margin-top: 14px; }
.tp-itin-line { width: 2px; background: var(--tp-border); flex: 1; margin: 4px 0 0; }
.tp-itin-item:last-child .tp-itin-line { display: none; }
.tp-itin-body { padding: 8px 0 20px 14px; }
.tp-itin-header { display: flex; justify-content: space-between; align-items: flex-start; cursor: pointer; padding: 12px 16px; background: var(--tp-white); border: 1px solid var(--tp-border); border-radius: 10px; transition: all .12s; }
.tp-itin-header:hover { border-color: var(--tp-blue); background: var(--tp-blue-lt); }
.tp-itin-item.open .tp-itin-header { border-radius: 10px 10px 0 0; border-bottom-color: transparent; background: var(--tp-blue-lt); border-color: var(--tp-blue); }
.tp-itin-day { font-size: 10px; font-weight: 700; color: var(--tp-blue); text-transform: uppercase; letter-spacing: .4px; display: block; margin-bottom: 3px; }
.tp-itin-header h3 { font-size: 14px; font-weight: 700; color: var(--tp-ink); margin: 0; }
.tp-itin-chevron { color: var(--tp-muted); transition: transform .2s; font-size: 11px; flex-shrink: 0; }
.tp-itin-item.open .tp-itin-chevron { transform: rotate(180deg); color: var(--tp-blue); }
.tp-itin-content { display: none; padding: 16px; background: var(--tp-white); border: 1px solid var(--tp-blue); border-top: none; border-radius: 0 0 10px 10px; font-size: 13px; line-height: 1.75; color: var(--tp-text); }
.tp-itin-item.open .tp-itin-content { display: block; }
.tp-itin-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--tp-border); }
.tp-itin-meta span { display: flex; align-items: center; gap: 5px; font-size: 12px; background: var(--tp-bg); padding: 3px 10px; border-radius: 6px; color: var(--tp-text); }
.tp-itin-meta i { color: var(--tp-blue); font-size: 10px; }

/* ── INCLUDES/EXCLUDES ───────────────────────────────────────────── */
.tp-inc-exc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tp-inc-col h3, .tp-exc-col h3 { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 6px; margin: 0 0 14px; color: var(--tp-ink); }
.tp-inc-col h3 i { color: var(--tp-blue); }
.tp-exc-col h3 i { color: var(--tp-muted); }
.tp-inc-col h4, .tp-exc-col h4 { font-size: 11px; font-weight: 700; color: var(--tp-muted); text-transform: uppercase; letter-spacing: .4px; margin: 12px 0 6px; }
.tp-inc-item, .tp-exc-item { display: flex; align-items: flex-start; gap: 8px; padding: 7px 0; font-size: 13px; color: var(--tp-text); border-bottom: 1px solid var(--tp-border); }
.tp-inc-item:last-child, .tp-exc-item:last-child { border-bottom: none; }
.tp-inc-item i { color: var(--tp-blue); flex-shrink: 0; margin-top: 2px; }
.tp-exc-item i { color: var(--tp-muted); flex-shrink: 0; margin-top: 2px; }

/* ── FAQ ─────────────────────────────────────────────────────────── */
.tp-faq-list { display: flex; flex-direction: column; gap: 8px; }
.tp-faq-item { border: 1px solid var(--tp-border); border-radius: 10px; overflow: hidden; }
.tp-faq-q { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 14px 16px; background: var(--tp-white); border: none; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--tp-ink); text-align: left; gap: 12px; font-family: var(--tp-font); }
.tp-faq-q:hover { background: var(--tp-bg); }
.tp-faq-item.open .tp-faq-q { background: var(--tp-blue-lt); color: var(--tp-blue); }
.tp-faq-q i { font-size: 11px; flex-shrink: 0; transition: transform .2s; color: var(--tp-muted); }
.tp-faq-item.open .tp-faq-q i { transform: rotate(180deg); color: var(--tp-blue); }
.tp-faq-a { display: none; padding: 0 16px 16px; font-size: 13px; line-height: 1.75; color: var(--tp-text); }
.tp-faq-item.open .tp-faq-a { display: block; }

/* ── EXTRAS ──────────────────────────────────────────────────────── */
.tp-extras-grid { display: flex; flex-direction: column; gap: 8px; }
.tp-extra-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--tp-border); border-radius: 10px; cursor: pointer; transition: all .12s; }
.tp-extra-card:hover { border-color: var(--tp-blue); background: var(--tp-blue-lt); }
.tp-extra-card:has(input:checked) { border-color: var(--tp-blue); background: var(--tp-blue-lt); }
.tp-extra-card input { width: 18px; height: 18px; accent-color: var(--tp-blue); flex-shrink: 0; }
.tp-extra-body { flex: 1; }
.tp-extra-name { font-size: 14px; font-weight: 600; color: var(--tp-ink); }
.tp-extra-desc { font-size: 12px; color: var(--tp-muted); margin-top: 2px; }
.tp-extra-price { text-align: right; font-weight: 700; color: var(--tp-blue); font-size: 14px; white-space: nowrap; }
.tp-extra-price small { display: block; font-size: 11px; font-weight: 400; color: var(--tp-muted); }

/* ── PACKAGES ────────────────────────────────────────────────────── */
.tp-packages-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: 14px; }
.tp-pkg-card { padding: 18px; border: 1.5px solid var(--tp-border); border-radius: 12px; }
.tp-pkg-card h3 { font-size: 14px; font-weight: 700; margin: 0 0 8px; color: var(--tp-ink); }
.tp-pkg-card p { font-size: 13px; color: var(--tp-muted); margin: 0 0 12px; }
.tp-pkg-prices div { display: flex; justify-content: space-between; font-size: 13px; padding: 5px 0; border-top: 1px solid var(--tp-border); }
.tp-pkg-prices strong { color: var(--tp-blue); font-weight: 700; }

/* ── MAP ─────────────────────────────────────────────────────────── */
.tp-map-embed { border-radius: 12px; overflow: hidden; }
.tp-map-embed iframe { width: 100%; height: 340px; border: none; }
.tp-video-wrap { border-radius: 12px; overflow: hidden; }
.tp-video-wrap iframe { width: 100%; aspect-ratio: 16/9; border: none; }

/* ── BUTTONS ─────────────────────────────────────────────────────── */
.tp-btn-outline { display: inline-flex; align-items: center; gap: 7px; padding: 10px 20px; border: 1.5px solid var(--tp-blue); color: var(--tp-blue); border-radius: 9px; text-decoration: none; font-weight: 600; font-size: 13px; transition: all .12s; font-family: var(--tp-font); }
.tp-btn-outline:hover { background: var(--tp-blue); color: #fff; }
.tp-login-prompt { text-align: center; padding: 40px 20px; }
.tp-login-prompt a { display: inline-flex; align-items: center; gap: 7px; background: var(--tp-blue); color: #fff; padding: 12px 24px; border-radius: 9px; text-decoration: none; font-weight: 700; margin-top: 12px; }

/* ── LIGHTBOX ────────────────────────────────────────────────────── */
.tp-lightbox { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; }
.tp-lightbox-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.92); }
.tp-lightbox-content { position: relative; z-index: 1; max-width: 90vw; max-height: 90vh; display: flex; align-items: center; gap: 14px; }
.tp-lightbox-content img { max-width: 80vw; max-height: 85vh; object-fit: contain; border-radius: 8px; }
.tp-lb-close { position: fixed; top: 20px; right: 20px; background: rgba(255,255,255,.15); border: none; color: #fff; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.tp-lb-prev, .tp-lb-next { background: rgba(255,255,255,.15); border: none; color: #fff; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 15px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tp-lb-counter { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 13px; background: rgba(0,0,0,.6); padding: 6px 14px; border-radius: 20px; }

/* ── BOOKING BOX ─────────────────────────────────────────────────── */
.tp-booking-box {
    background: var(--tp-white);
    border: 1px solid var(--tp-border);
    border-radius: 14px;
    box-shadow: var(--tp-shadow);
    /* overflow:hidden removed — it was clipping the T&C checkbox and
       any content that slightly overflows (e.g. focus rings, dropdowns).
       Border-radius is preserved via child clipping below. */
}
/* Clip only the header so it respects border-radius at top */
.tp-bb-header {
    border-radius: 13px 13px 0 0;
}
/* Clip the CTA button at the bottom so it fills to rounded corners */
.tp-booking-box > form > .tp-bb-step:last-child .tp-bb-cta:last-of-type,
.tp-bb-cta:last-child {
    border-radius: 0 0 13px 13px;
}
.tp-booking-sticky { position: sticky; top: 80px; }
.tp-bb-from { font-size: 11px; opacity: .8; text-transform: uppercase; letter-spacing: .4px; display: block; margin-bottom: 4px; }
.tp-bb-price { font-size: 24px; font-weight: 900; }
.tp-bb-per { font-size: 13px; opacity: .75; }
.tp-bb-rating { display: flex; align-items: center; gap: 5px; font-size: 13px; margin-top: 6px; opacity: .9; }
.tp-bb-form { padding: 0; }
.tp-bb-section { padding: 16px 18px; border-bottom: 1px solid var(--tp-border); }
.tp-bb-label { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--tp-muted); text-transform: uppercase; letter-spacing: .4px; margin-bottom: 10px; }
.tp-bb-label i { font-size: 10px; color: var(--tp-blue); }

/* Departure list */
.tp-departure-list { display: flex; flex-direction: column; gap: 6px; max-height: 260px; overflow-y: auto; padding-right: 2px; }

/* Hide the native radio — we draw our own indicator */
.tp-dep-row input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }

.tp-dep-row {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border: 1.5px solid var(--tp-border);
    border-radius: 10px; cursor: pointer;
    transition: border-color .15s, background .15s, box-shadow .15s;
    background: var(--tp-white); position: relative;
}

/* Custom radio circle — sits at left */
.tp-dep-row::before {
    content: '';
    width: 16px; height: 16px; border-radius: 50%;
    border: 2px solid var(--tp-border);
    flex-shrink: 0; display: block;
    transition: border-color .15s, background .15s, box-shadow .15s;
}

/* Selected state — filled circle + card highlight */
.tp-dep-row:has(input:checked) {
    border-color: var(--tp-primary);
    background: var(--tp-primary-lt);
    box-shadow: 0 0 0 3px rgba(var(--tp-primary-rgb), .10);
}
.tp-dep-row:has(input:checked)::before {
    border-color: var(--tp-primary);
    background: var(--tp-primary);
    box-shadow: inset 0 0 0 3px var(--tp-white);
}

/* Hover (unselected, not full) */
.tp-dep-row:hover:not(.tp-dep-full) {
    border-color: var(--tp-primary);
    background: var(--tp-primary-lt);
}
.tp-dep-row:hover:not(.tp-dep-full)::before { border-color: var(--tp-primary); }

/* Full / disabled row */
.tp-dep-full { opacity: .45; cursor: not-allowed; }
.tp-dep-full::before { border-color: var(--tp-border) !important; background: transparent !important; box-shadow: none !important; }
.tp-dep-info { flex: 1; min-width: 0; }
.tp-dep-date { font-size: 13px; font-weight: 700; color: var(--tp-ink); transition: color .12s; }
.tp-dep-row:has(input:checked) .tp-dep-date { color: var(--tp-primary); }
.tp-dep-ret { font-size: 11px; color: var(--tp-muted); }
.tp-dep-right { text-align: right; }
.tp-dep-price { font-size: 13px; font-weight: 700; color: var(--tp-blue); }
.tp-dep-status { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 10px; }
.tp-dep-open-badge { background: var(--tp-blue-lt); color: var(--tp-blue); }
.tp-dep-limited-badge { background: var(--tp-amber-lt); color: var(--tp-amber); }
.tp-dep-full-badge { background: var(--tp-red-lt); color: var(--tp-red); }
.tp-bb-no-departure { text-align: center; padding: 20px; color: var(--tp-muted); }
.tp-bb-no-departure i { font-size: 28px; margin-bottom: 8px; display: block; opacity: .3; }

/* Pax */
.tp-pax-row { display: flex; gap: 12px; }
.tp-pax-item { flex: 1; }
.tp-pax-label { font-size: 12px; color: var(--tp-muted); font-weight: 600; display: block; margin-bottom: 6px; }
.tp-pax-ctrl { display: flex; align-items: center; border: 1.5px solid var(--tp-border); border-radius: 9px; overflow: hidden; }
.tp-pax-btn { width: 36px; height: 36px; border: none; background: var(--tp-bg); color: var(--tp-ink); font-size: 18px; cursor: pointer; font-weight: 700; flex-shrink: 0; font-family: var(--tp-font); -webkit-appearance: none; appearance: none; outline: none; box-shadow: none; border-radius: 0; }
.tp-pax-btn:focus { outline: none; box-shadow: none; }
.tp-booking-box .tp-pax-btn:hover,
.tp-booking-box .tp-pax-btn:focus,
.tp-booking-box .tp-pax-btn:active { background: var(--tp-blue); color: #fff; outline: none; box-shadow: none; }
.tp-pax-ctrl input { width: 100%; height: 36px; border: none; text-align: center; font-size: 15px; font-weight: 700; color: var(--tp-ink); background: transparent; font-family: var(--tp-font); }
.tp-pax-ctrl input::-webkit-inner-spin-button { display: none; }

/* Coupon */
.tp-bb-coupon { padding: 12px 18px; }
.tp-coupon-row { display: flex; gap: 6px; }
.tp-coupon-row input { flex: 1; padding: 8px 12px; border: 1.5px solid var(--tp-border); border-radius: 8px; font-size: 13px; outline: none; font-family: monospace; letter-spacing: .05em; }
.tp-coupon-row input:focus { border-color: var(--tp-blue); }
.tp-coupon-apply { padding: 8px 14px; background: var(--tp-blue); color: #fff; border: none; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; font-family: var(--tp-font); }
.tp-coupon-msg { font-size: 12px; margin-top: 5px; min-height: 16px; }

/* Breakdown */
.tp-bb-breakdown { padding: 12px 18px; background: var(--tp-bg); border-top: 1px solid var(--tp-border); }
.tp-breakdown-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--tp-text); padding: 4px 0; }
.tp-breakdown-total { display: flex; justify-content: space-between; font-size: 15px; font-weight: 800; color: var(--tp-ink); padding: 10px 0 4px; border-top: 1.5px solid var(--tp-border); margin-top: 6px; }
.tp-breakdown-deposit { font-size: 12px; color: var(--tp-blue); display: flex; align-items: center; gap: 5px; padding-top: 4px; }

/* CTA */
.tp-bb-cta { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 15px; background: var(--tp-primary); color: #fff; border: none; font-size: var(--tp-btn-font-size, 15px); font-weight: var(--tp-btn-font-weight, 700); line-height: 1.2; cursor: pointer; transition: background .12s; font-family: var(--tp-font); text-rendering: auto; }
.tp-bb-cta:hover { background: var(--tp-primary-dk); }
.tp-bb-cta:disabled { opacity: .6; cursor: not-allowed; }
.tp-bb-confirm { background: var(--tp-blue-dk); }
.tp-bb-trust { display: flex; justify-content: space-around; padding: 10px 18px 14px; flex-wrap: wrap; gap: 6px; }
.tp-bb-trust span { font-size: 11px; color: var(--tp-muted); display: flex; align-items: center; gap: 4px; }
.tp-bb-trust i { color: var(--tp-blue); font-size: 10px; }

/* Step 2 */
.tp-bb-back { display: flex; align-items: center; gap: 6px; background: none; border: none; color: var(--tp-blue); font-size: 13px; font-weight: 600; cursor: pointer; padding: 14px 18px 8px; width: 100%; font-family: var(--tp-font); }
.tp-bb-step-title { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px; padding: 0 18px 12px; border-bottom: 1px solid var(--tp-border); margin: 0 0 12px; color: var(--tp-ink); }
.tp-bb-step-title i { color: var(--tp-blue); }
.tp-bb-summary { padding: 0 18px 12px; }
.tp-bb-summary-inner { background: var(--tp-blue-lt); border-radius: 10px; padding: 12px 14px; font-size: 13px; display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--tp-blue-mid); }
.tp-bb-summary-inner div { display: flex; align-items: center; gap: 8px; color: var(--tp-text); }
.tp-bb-summary-inner i { color: var(--tp-blue); width: 14px; }
.tp-bb-summary .tp-summ-total { font-weight: 700; color: var(--tp-blue); }
.tp-bb-field { padding: 0 18px 12px; display: flex; flex-direction: column; gap: 4px; }
.tp-bb-field label { font-size: 11px; font-weight: 700; color: var(--tp-muted); text-transform: uppercase; letter-spacing: .3px; }
.tp-req { color: var(--tp-red); }
.tp-bb-field input, .tp-bb-field textarea, .tp-bb-field select { width: 100%; padding: 10px 12px; border: 1.5px solid var(--tp-border); border-radius: 9px; font-size: 14px; font-family: var(--tp-font); color: var(--tp-ink); outline: none; transition: border-color .12s; }
.tp-bb-field input:focus, .tp-bb-field textarea:focus { border-color: var(--tp-blue); box-shadow: 0 0 0 3px rgba(0,100,210,.1); }
/* T&C checkbox */
.tp-bb-tnc { display: flex; align-items: flex-start; gap: 10px; padding: 0 18px 16px; font-size: 13px; cursor: pointer; color: var(--tp-text); line-height: 1.5; }
.tp-bb-tnc input[type="checkbox"] {
    /* Explicit size prevents collapse when inside flex — the #1 cause of
       invisible checkboxes in this widget */
    width: 16px; height: 16px; min-width: 16px; min-height: 16px;
    flex-shrink: 0; margin-top: 2px;
    accent-color: var(--tp-primary);
    cursor: pointer;
}
.tp-bb-tnc a { color: var(--tp-blue); text-decoration: underline; }

/* ── Booking Box: Payment Method Selector ── */
.tp-bb-payment-method { padding: 0 18px 4px; }
.tp-bb-payment-method .tp-bb-label { margin-bottom: 12px; }
.tp-bb-payment-method .tp-bb-label i { font-size: 12px; }
.tp-bb-gw-list { display: flex; flex-direction: column; gap: 8px; }
.tp-bb-gw-option {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 14px; border-radius: 11px;
    border: 1.5px solid var(--tp-border);
    cursor: pointer; transition: border-color .15s, background .15s;
    background: var(--tp-white);
}
.tp-bb-gw-option input[type="radio"] { display: none; }
.tp-bb-gw-option:hover { border-color: var(--tp-blue); background: var(--tp-blue-lt); }
.tp-bb-gw-option.selected {
    border-color: var(--tp-blue);
    background: var(--tp-blue-lt);
}
.tp-bb-gw-radio {
    width: 16px; height: 16px; border-radius: 50%;
    border: 2px solid var(--tp-border); flex-shrink: 0;
    transition: border-color .15s, background .15s;
    position: relative;
}
.tp-bb-gw-option.selected .tp-bb-gw-radio {
    border-color: var(--tp-blue);
    background: var(--tp-blue);
    box-shadow: inset 0 0 0 3px var(--tp-white);
}
.tp-bb-gw-icon {
    width: 32px; height: 32px; border-radius: 8px;
    background: var(--tp-surface); flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
}
.tp-bb-gw-info { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.tp-bb-gw-name { font-size: 13px; font-weight: 600; color: var(--tp-ink); line-height: 1.2; }
.tp-bb-gw-desc { font-size: 11px; color: var(--tp-muted); line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-bb-gw-note {
    margin-top: 10px; padding: 10px 12px;
    background: #f0fdf4; border: 1px solid #bbf7d0;
    border-radius: 9px; font-size: 12px; color: var(--tp-green-dark);
    display: flex; align-items: flex-start; gap: 7px; line-height: 1.5;
}
.tp-bb-msg { margin: 0 18px 12px; padding: 12px 14px; border-radius: 9px; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.tp-bb-error { background: var(--tp-red-lt); color: #991b1b; border: 1px solid #fecaca; }
.tp-bb-timer { margin: 0 18px 12px; padding: 10px 14px; background: var(--tp-blue-lt); color: var(--tp-blue); border-radius: 9px; font-size: 13px; display: flex; align-items: center; gap: 6px; border: 1px solid var(--tp-blue-mid); }

/* Step 3 */
.tp-bb-success { padding: 28px 22px; text-align: center; }
.tp-bb-success > i:first-child { font-size: 44px; color: var(--tp-blue); display: block; width: 100%; text-align: center; margin-bottom: 12px; }
.tp-bb-success > i:first-child::before { display: inline-block; }
.tp-bb-success h3 { font-size: 17px; font-weight: 800; margin: 0 0 8px; }
.tp-bb-success p { font-size: 13px; color: var(--tp-muted); margin: 0 0 6px; }
.tp-bb-success-btns { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.tp-booking-box .tp-bb-pay-btn { background: var(--tp-primary); border-radius: 9px; padding: 12px 18px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; }

/* ── TOUR LISTING ────────────────────────────────────────────────── */
.tp-tour-listing { width: 100%; }
.tp-listing-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; padding: 14px 16px; background: var(--tp-white); border: 1px solid var(--tp-border); border-radius: 12px; margin-bottom: 20px; box-shadow: var(--tp-shadow); }
.tp-filter-group { display: flex; flex-direction: column; gap: 4px; }
.tp-filter-group label { font-size: 11px; font-weight: 700; color: var(--tp-muted); text-transform: uppercase; letter-spacing: .4px; display: flex; align-items: center; gap: 4px; }
.tp-filter-group label i { color: var(--tp-blue); font-size: 10px; }
.tp-filter-group select { padding: 8px 12px; border: 1.5px solid var(--tp-border); border-radius: 8px; font-size: 13px; color: var(--tp-ink); outline: none; min-width: 140px; font-family: var(--tp-font); }
.tp-filter-group select:focus { border-color: var(--tp-blue); }
.tp-filter-reset { padding: 8px 14px; background: var(--tp-bg); border: 1.5px solid var(--tp-border); border-radius: 8px; font-size: 12px; font-weight: 600; cursor: pointer; color: var(--tp-muted); display: flex; align-items: center; gap: 5px; align-self: flex-end; font-family: var(--tp-font); }
.tp-filter-reset:hover { border-color: var(--tp-blue); color: var(--tp-blue); }
.tp-filter-count { align-self: flex-end; font-size: 12px; color: var(--tp-muted); margin-left: auto; }

.tp-tour-grid { display: grid; gap: 18px; }
.tp-cols-2 { grid-template-columns: repeat(2,1fr); }
.tp-cols-3 { grid-template-columns: repeat(3,1fr); }
.tp-cols-4 { grid-template-columns: repeat(4,1fr); }
@media(max-width:1100px){ .tp-cols-4 { grid-template-columns: repeat(3,1fr); } }
@media(max-width:900px) { .tp-cols-3,.tp-cols-4 { grid-template-columns: repeat(2,1fr); } }
@media(max-width:560px) { .tp-cols-2,.tp-cols-3,.tp-cols-4 { grid-template-columns: 1fr; } }

.tp-tour-card { background: var(--tp-white); border: 1px solid var(--tp-border); border-radius: var(--tp-radius); overflow: hidden; box-shadow: var(--tp-shadow); transition: transform .15s, box-shadow .15s; }
.tp-tour-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,100,210,.1); }
.tp-card-img { position: relative; aspect-ratio: 3/2; overflow: hidden; background: var(--tp-border); }
.tp-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.tp-tour-card:hover .tp-card-img img { transform: scale(1.04); }
.tp-card-badge { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 20px; font-size: 10px; font-weight: 700; background: var(--tp-blue); color: #fff; }
.tp-card-pax { position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,.65); color: #fff; padding: 3px 8px; border-radius: 20px; font-size: 11px; display: flex; align-items: center; gap: 4px; }
.tp-card-body { padding: 14px 16px; }
.tp-card-dest { font-size: 11px; color: var(--tp-blue); font-weight: 700; display: flex; align-items: center; gap: 4px; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .3px; }
.tp-card-dest i { font-size: 9px; }
.tp-card-title { font-size: 14px; font-weight: 700; line-height: 1.35; margin: 0 0 8px; }
.tp-card-title a { color: var(--tp-ink); text-decoration: none; }
.tp-card-title a:hover { color: var(--tp-blue); }
.tp-card-meta { display: flex; gap: 10px; font-size: 12px; color: var(--tp-muted); margin-bottom: 12px; flex-wrap: wrap; }
.tp-card-meta span { display: flex; align-items: center; gap: 4px; }
.tp-card-meta i { font-size: 10px; color: var(--tp-blue); }
.tp-card-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--tp-border); }
.tp-price-from { font-size: 10px; color: var(--tp-muted); }
.tp-card-price strong { font-size: 16px; font-weight: 800; color: var(--tp-blue); display: block; }
.tp-price-unit { font-size: 10px; color: var(--tp-muted); }
.tp-card-btn { display: flex; align-items: center; gap: 5px; padding: 8px 14px; background: var(--tp-blue); color: #fff; border-radius: 8px; text-decoration: none; font-size: 12px; font-weight: 700; transition: background .12s; }
.tp-card-btn:hover { background: var(--tp-blue-dk); color: #fff; }
.tp-listing-empty { grid-column: 1/-1; text-align: center; padding: 60px 20px; color: var(--tp-muted); }
.tp-listing-empty i { font-size: 36px; display: block; margin-bottom: 12px; opacity: .25; }
.tp-listing-loading { text-align: center; padding: 40px; color: var(--tp-muted); }

/* ── PAYMENT ─────────────────────────────────────────────────────── */
.tp-payment-page { max-width: 1100px; margin: 0 auto; padding: 20px 16px; font-family: var(--tp-font); }
.tp-hold-timer { display:flex; align-items:center; gap:8px; background:var(--tp-blue-lt); border:1px solid var(--tp-blue-mid); border-radius:10px; padding:12px 16px; margin-bottom:20px; font-size:13px; font-weight:600; color:var(--tp-blue); }
.tp-payment-layout { display:grid; grid-template-columns:1fr 1.4fr; gap:24px; }
@media(max-width:768px){ .tp-payment-layout { grid-template-columns:1fr; } }
.tp-pay-detail-row { display:flex; justify-content:space-between; align-items:center; padding:10px 0; border-bottom:1px solid var(--tp-border); font-size:13px; }
.tp-pay-detail-row span { color:var(--tp-muted); }
.tp-pay-total-row { display:flex; justify-content:space-between; align-items:center; padding:14px 0 0; margin-top:8px; border-top:2px solid var(--tp-border); }
.tp-pay-total-amount { font-size:20px; font-weight:900; color:var(--tp-blue); }
.tp-gateway-list { display:flex; flex-direction:column; gap:10px; }
.tp-gateway-option { display:flex; align-items:center; gap:12px; padding:14px 16px; border:2px solid var(--tp-border); border-radius:12px; cursor:pointer; transition:all .12s; }
.tp-gateway-option:hover,.tp-gateway-option.selected { border-color:var(--tp-blue); background:var(--tp-blue-lt); }
.tp-gateway-option input { display:none; }
.tp-gw-radio { width:20px; height:20px; border-radius:50%; border:2px solid var(--tp-border); flex-shrink:0; position:relative; transition:all .12s; }
.tp-gateway-option.selected .tp-gw-radio { border-color:var(--tp-blue); }
.tp-gateway-option.selected .tp-gw-radio::after { content:''; position:absolute; top:3px; left:3px; width:10px; height:10px; border-radius:50%; background:var(--tp-blue); }
.tp-gw-name { font-size:14px; font-weight:700; color:var(--tp-ink); display:flex; align-items:center; gap:7px; }
.tp-gw-name i { color:var(--tp-blue); }
.tp-gw-desc { font-size:12px; color:var(--tp-muted); margin-top:3px; }
.tp-pay-btn { width:100%; padding:15px; background:var(--tp-blue); color:#fff; border:none; border-radius:12px; font-size:15px; font-weight:800; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:8px; transition:background .15s; font-family:var(--tp-font); }
.tp-pay-btn:hover { background:var(--tp-blue-dk); }
.tp-pay-btn:disabled { opacity:.6; cursor:not-allowed; }
.tp-pay-btn-amount { font-size:14px; opacity:.9; }
.tp-pay-secure { text-align:center; font-size:11px; color:var(--tp-muted); margin-top:10px; display:flex; align-items:center; justify-content:center; gap:5px; }
.tp-pay-secure i { color:var(--tp-blue); }
.tp-manual-detail { margin-top:18px; padding:18px; background:var(--tp-blue-lt); border-radius:12px; border:1px solid var(--tp-blue-mid); }
.tp-manual-detail h3 { font-size:14px; font-weight:700; display:flex; align-items:center; gap:6px; margin:0 0 12px; color:var(--tp-ink); }
.tp-bank-row { display:flex; align-items:center; justify-content:space-between; padding:12px 14px; background:#fff; border-radius:9px; border:1px solid var(--tp-border); margin-bottom:8px; }
.tp-bank-name { font-weight:800; font-size:13px; color:var(--tp-blue); }
.tp-bank-acc { text-align:right; }
.tp-bank-acc strong { font-size:16px; font-weight:900; display:block; color:var(--tp-ink); }
.tp-bank-acc span { font-size:11px; color:var(--tp-muted); }
.tp-transfer-amount { font-size:15px; font-weight:700; text-align:center; padding:12px; background:#fff; border-radius:9px; margin:12px 0 8px; color:var(--tp-blue); border:1px solid var(--tp-blue-mid); }
.tp-transfer-note { font-size:12px; color:var(--tp-muted); text-align:center; margin-bottom:14px; }
.tp-btn-wa { display:flex; align-items:center; justify-content:center; gap:8px; background:var(--tp-whatsapp); color:#fff; padding:12px; border-radius:9px; font-weight:700; font-size:14px; text-decoration:none; }
.tp-payment-success { text-align:center; padding:48px 24px; max-width:560px; margin:0 auto; }
.tp-ps-icon { font-size:60px; color:var(--tp-blue); margin-bottom:16px; }
.tp-payment-success h2 { font-size:24px; font-weight:900; margin:0 0 8px; }
.tp-ps-ref { font-size:14px; color:var(--tp-muted); margin-bottom:24px; }
.tp-ps-details { background:var(--tp-blue-lt); border-radius:12px; padding:20px; margin-bottom:20px; text-align:left; border:1px solid var(--tp-blue-mid); }
.tp-ps-details div { display:flex; justify-content:space-between; font-size:13px; padding:8px 0; border-bottom:1px solid var(--tp-border); }
.tp-ps-details div:last-child { border-bottom:none; }
.tp-ps-details span { color:var(--tp-muted); }
.tp-ps-note { font-size:13px; color:var(--tp-muted); margin-bottom:24px; }
.tp-payment-error { padding:24px; background:var(--tp-red-lt); border-radius:12px; color:#991b1b; display:flex; align-items:center; gap:10px; font-weight:600; }

/* ── RESPONSIVE ──────────────────────────────────────────────────── */
@media(max-width:960px){
    .tp-tour-layout { grid-template-columns: minmax(0,1fr); }
    .tp-booking-sidebar { order: -1; }
}
@media(max-width:768px){
    .tp-tour-hero { height: 260px; }
    .tp-tour-title { font-size: 20px; }
    .tp-inc-exc-grid { grid-template-columns: 1fr; }
    .tp-quick-info { grid-template-columns: repeat(2,1fr); }
}

/* ── HERO SLIDER ─────────────────────────────────────────────────── */
.tp-hero-slider-wrap { position:relative; overflow:hidden; }
.tp-hero-slide { height:90vh; min-height:500px; background-size:cover; background-position:center; display:flex; align-items:stretch; position:relative; }
.tp-hs-overlay { position:absolute; inset:0; }
.tp-hs-inner { position:relative; z-index:1; display:flex; align-items:center; width:100%; max-width:1200px; margin:0 auto; }
.tp-hs-content { max-width:640px; padding:48px 0; }
.tp-hs-badge { display:inline-flex; align-items:center; gap:7px; background:var(--tp-primary); color:#fff; padding:7px 16px; border-radius:20px; font-size:12px; font-weight:700; letter-spacing:.3px; margin-bottom:18px; }
.tp-hs-badge i { font-size:11px; }
.tp-hs-title { font-size:clamp(28px,4vw,52px); font-weight:900; color:#fff; line-height:1.15; margin:0 0 12px; font-family:var(--tp-font); }
.tp-hs-subtitle { font-size:14px; color:rgba(255,255,255,.8); margin:0 0 12px; font-weight:600; letter-spacing:.5px; display:flex; align-items:center; gap:6px; }
.tp-hs-subtitle::before { content:''; width:28px; height:2px; background:rgba(255,255,255,.5); flex-shrink:0; }
.tp-hs-desc { font-size:15px; color:rgba(255,255,255,.75); line-height:1.7; margin:0 0 24px; max-width:520px; }
.tp-hs-price-box { margin-bottom:24px; display:flex; align-items:baseline; gap:6px; }
.tp-hs-price-label { font-size:12px; color:rgba(255,255,255,.7); }
.tp-hs-price { font-size:28px; font-weight:900; color:#fff; }
.tp-hs-price-sub { font-size:13px; color:rgba(255,255,255,.6); }
.tp-hs-btns { display:flex; gap:12px; flex-wrap:wrap; }
.tp-hs-btn { display:inline-flex; align-items:center; gap:8px; padding:13px 24px; border-radius:9px; font-size:14px; font-weight:700; text-decoration:none; cursor:pointer; border:2px solid transparent; transition:all .2s; font-family:var(--tp-font); }
.tp-hs-btn i { font-size:13px; }
.tp-hs-btn-primary { background:var(--tp-primary); color:#fff; border-color:var(--tp-primary); }
.tp-hs-btn-primary:hover { background:var(--tp-primary-dk); border-color:var(--tp-primary-dk); color:#fff; transform:translateY(-2px); }
.tp-hs-btn-outline { background:transparent; color:rgba(255,255,255,.9); border-color:rgba(255,255,255,.7); }
.tp-hs-btn-outline:hover { background:rgba(255,255,255,.15); color:#fff; border-color:#fff; }
.tp-hs-btn-ghost { background:transparent; color:#fff; border:none; text-decoration:underline; }
/* Nav */
.tp-hs-nav-btn { position:absolute; top:50%; transform:translateY(-50%); z-index:10; width:48px; height:48px; border-radius:50%; background:rgba(255,255,255,.15); border:none; color:#fff; font-size:16px; cursor:pointer; display:flex; align-items:center; justify-content:center; backdrop-filter:blur(8px); transition:all .15s; }
.tp-hs-nav-btn:hover { background:rgba(var(--tp-primary-rgb),.9); transform:translateY(-50%) scale(1.05); }
.tp-hs-prev { left:24px; }
.tp-hs-next { right:24px; }
/* Dots */
.tp-hs-dots { position:absolute; bottom:28px; left:50%; transform:translateX(-50%); z-index:10; display:flex; gap:8px; }
.tp-hs-dot { width:8px; height:8px; border-radius:4px; background:rgba(255,255,255,.4); border:none; cursor:pointer; transition:all .3s; padding:0; }
.tp-hs-dot.active { background:#fff; width:24px; }
/* Counter */
.tp-hs-counter { position:absolute; bottom:28px; right:28px; z-index:10; font-size:12px; font-weight:700; color:rgba(255,255,255,.7); }
/* Progress */
.tp-hs-progress { position:absolute; bottom:0; left:0; right:0; height:3px; background:rgba(255,255,255,.2); z-index:10; }
.tp-hs-progress-fill { height:100%; background:var(--tp-primary); width:0%; transition:width .1s linear; }
@media(max-width:768px){
    .tp-hs-inner { padding:0 20px; }
    .tp-hero-slide { height:80vh; min-height:420px; }
    .tp-hs-nav-btn { display:none; }
}

/* ── B2B PARTNER SLIDER ──────────────────────────────────────────── */
.tp-b2b-section { padding:48px 0; }
.tp-b2b-header { text-align:center; margin-bottom:32px; }
.tp-b2b-title { font-size:22px; font-weight:800; color:var(--tp-ink); margin:0 0 6px; font-family:var(--tp-font); }
.tp-b2b-subtitle { font-size:14px; color:var(--tp-muted); margin:0; }
.tp-b2b-slider { overflow:hidden; }
.tp-partner-logo { display:flex; align-items:center; justify-content:center; padding:20px 28px; background:#fff; border:1px solid var(--tp-border); border-radius:12px; transition:all .2s; text-decoration:none; }
.tp-partner-logo img { height:44px; max-height:44px; width:auto; object-fit:contain; filter:grayscale(100%); opacity:.65; transition:all .2s; }
.tp-partner-logo:hover { border-color:var(--tp-primary); box-shadow:0 4px 16px rgba(var(--tp-primary-rgb),.1); transform:translateY(-2px); }
.tp-partner-logo:hover img { filter:none; opacity:1; }

/* ── SEARCH FILTER WIDGET ────────────────────────────────────────── */
.tp-search-filter { font-family:var(--tp-font); }
.tp-sf-hero { padding:60px 0 40px; }
.tp-sf-hero-text { text-align:center; margin-bottom:28px; }
.tp-sf-hero-title { font-size:clamp(24px,4vw,48px); font-weight:900; color:var(--tp-ink); margin:0 0 10px; font-family:var(--tp-font); }
.tp-sf-hero-sub { font-size:16px; color:var(--tp-muted); margin:0; }
.tp-search-bar { background:#fff; border:1px solid var(--tp-border); border-radius:16px; box-shadow:0 4px 24px rgba(0,0,0,.08); overflow:hidden; }
.tp-sf-tabs { display:flex; padding:0 6px; border-bottom:1px solid var(--tp-border); overflow-x:auto; gap:0; }
.tp-sf-tab { display:flex; align-items:center; gap:7px; padding:14px 18px; background:none; border:none; border-bottom:2px solid transparent; margin-bottom:-1px; font-size:13px; font-weight:600; color:var(--tp-grey-500); cursor:pointer; white-space:nowrap; transition:all .15s; font-family:var(--tp-font); }
.tp-sf-tab i { font-size:12px; color:#94a3b8; }
.tp-sf-tab:hover { color:var(--tp-primary); }
.tp-sf-tab:hover i { color:var(--tp-primary); }
.tp-sf-tab.active { color:var(--tp-primary); border-bottom-color:var(--tp-primary); }
.tp-sf-tab.active i { color:var(--tp-primary); }
.tp-sf-fields { display:flex; align-items:stretch; }
.tp-sf-field { flex:1; padding:16px 20px; display:flex; flex-direction:column; gap:6px; border-right:1px solid var(--tp-border); min-width:0; }
.tp-sf-field:last-child { border-right:none; }
.tp-sf-field label { font-size:10px; font-weight:800; color:var(--tp-grey-500); text-transform:uppercase; letter-spacing:.6px; display:flex; align-items:center; gap:5px; white-space:nowrap; }
.tp-sf-field label i { font-size:10px; color:var(--tp-primary); }
.tp-sf-field select, .tp-sf-field input[type="date"] { border:none; background:transparent; font-size:14px; font-weight:600; color:var(--tp-grey-800); outline:none; padding:0; font-family:var(--tp-font); width:100%; }
.tp-sf-field select:focus, .tp-sf-field input:focus { outline:none; }
.tp-price-slider-wrap { display:flex; flex-direction:column; gap:4px; }
.tp-price-range { -webkit-appearance:none; width:100%; height:4px; background:var(--tp-border); border-radius:2px; outline:none; }
.tp-price-range::-webkit-slider-thumb { -webkit-appearance:none; width:18px; height:18px; border-radius:50%; background:var(--tp-primary); cursor:pointer; box-shadow:0 1px 4px rgba(0,0,0,.2); }
.tp-price-range::-moz-range-thumb { width:18px; height:18px; border-radius:50%; background:var(--tp-primary); cursor:pointer; border:none; }
.tp-price-range + o { font-size:13px; font-weight:600; color:#334155; }
.tp-sf-submit { flex:0 0 auto; padding:12px; display:flex; align-items:center; }
.tp-sf-btn { white-space:nowrap; background:var(--tp-primary); color:#fff; border:none; border-radius:10px; padding:12px 22px; font-size:14px; font-weight:700; cursor:pointer; display:flex; align-items:center; gap:8px; font-family:var(--tp-font); transition:all .15s; width:100%; justify-content:center; }
.tp-sf-btn:hover { background:var(--tp-primary-dk); transform:translateY(-1px); }
.tp-sf-btn i { font-size:13px; }
@media(max-width:768px){
    .tp-sf-fields { flex-direction:column; }
    .tp-sf-field { border-right:none; border-bottom:1px solid var(--tp-border); }
    .tp-sf-field:last-child { border-bottom:none; }
}

/* ─────────────────────────────────────────────────────────────────
   DESTINATION CARDS WIDGET
───────────────────────────────────────────────────────────────── */
.tp-dest-widget { font-family: var(--tp-font); }
.tp-dest-section-header { text-align: center; margin-bottom: 36px; }
.tp-dest-heading { font-size: 28px; font-weight: 800; color: var(--tp-ink); margin: 0 0 8px; line-height: 1.2; }
.tp-dest-subheading { font-size: 15px; color: var(--tp-muted); margin: 0; }
.tp-dest-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }

/* Overlay style */
.tp-dest-style-overlay .tp-dest-card { text-decoration: none; display: block; border-radius: 14px; overflow: hidden; position: relative; transition: transform .2s, box-shadow .2s; box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.tp-dest-style-overlay .tp-dest-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.14); }
.tp-dest-style-overlay .tp-dest-img { position: relative; aspect-ratio: 3/2; overflow: hidden; }
.tp-dest-style-overlay .tp-dest-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tp-dest-style-overlay .tp-dest-card:hover .tp-dest-img img { transform: scale(1.07); }
.tp-dest-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.1) 55%, transparent 100%); }
.tp-dest-body { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 14px 16px; }
.tp-dest-top { display: flex; justify-content: flex-end; }
.tp-dest-bottom { display: flex; align-items: flex-end; justify-content: space-between; }
.tp-dest-count { display: inline-flex; align-items: center; gap: 5px; background: rgba(255,255,255,.2); backdrop-filter: blur(6px); color: #fff; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.tp-dest-count i { font-size: 10px; }
.tp-dest-name { font-size: 18px; font-weight: 800; color: #fff; margin: 0; text-shadow: 0 1px 4px rgba(0,0,0,.3); }
.tp-dest-arrow { color: rgba(255,255,255,.7); font-size: 14px; transition: transform .2s; }
.tp-dest-card:hover .tp-dest-arrow { transform: translateX(4px); color: #fff; }

/* Below style */
.tp-dest-style-below .tp-dest-card { text-decoration: none; display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--tp-border); background: var(--tp-white); transition: transform .2s, box-shadow .2s; }
.tp-dest-style-below .tp-dest-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,100,210,.1); border-color: var(--tp-blue); }
.tp-dest-style-below .tp-dest-img { aspect-ratio: 3/2; overflow: hidden; }
.tp-dest-style-below .tp-dest-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tp-dest-style-below .tp-dest-card:hover .tp-dest-img img { transform: scale(1.05); }
.tp-dest-below-body { padding: 14px 16px; }
.tp-dest-name-below { font-size: 15px; font-weight: 700; color: var(--tp-ink); margin: 0 0 4px; }
.tp-dest-count-below { font-size: 12px; color: var(--tp-blue); display: flex; align-items: center; gap: 4px; font-weight: 600; }
.tp-dest-count-below i { font-size: 10px; }

/* Minimal style */
.tp-dest-style-minimal .tp-dest-card { text-decoration: none; display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; transition: all .2s; }
.tp-dest-style-minimal .tp-dest-img { aspect-ratio: 1/1; overflow: hidden; }
.tp-dest-style-minimal .tp-dest-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.tp-dest-style-minimal .tp-dest-card:hover .tp-dest-img img { transform: scale(1.06); }
.tp-dest-minimal-body { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; background: var(--tp-white); border: 1px solid var(--tp-border); border-top: none; }
.tp-dest-name-minimal { font-size: 13px; font-weight: 700; color: var(--tp-ink); }
.tp-dest-count-minimal { font-size: 12px; color: var(--tp-blue); font-weight: 700; background: var(--tp-blue-lt); padding: 2px 8px; border-radius: 12px; }

/* ─────────────────────────────────────────────────────────────────
   GLOBAL BUTTON RESET — Prevent WordPress/Elementor pink hover
───────────────────────────────────────────────────────────────── */
.tp-sf-tab,
.tp-sf-tab:hover,
.tp-sf-tab:focus,
.tp-sf-tab:active,
.tp-sf-btn,
.tp-sf-btn:hover,
.tp-sf-btn:focus,
.tp-hs-btn,
.tp-hs-btn:hover,
.tp-hs-btn:focus,
.tp-hs-nav-btn,
.tp-hs-nav-btn:hover,
.tp-hs-nav-btn:focus {
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    box-shadow: none;
}
/* Neutralize WP admin-bar / theme button color bleed.
   Using attribute-level specificity ([class]) instead of !important
   so child-theme overrides on :root variables still work cleanly. */
.tp-sf-tab[class] { background-color: transparent; }
.tp-sf-tab[class]:hover { background-color: transparent; border-bottom-color: var(--tp-primary); color: var(--tp-primary); }
.tp-sf-tab[class]:hover i { color: var(--tp-primary); }
.tp-sf-tab[class].active { border-bottom-color: var(--tp-primary); color: var(--tp-primary); }

/* ─────────────────────────────────────────────────────────────────
   COMPREHENSIVE RESPONSIVE — All breakpoints
───────────────────────────────────────────────────────────────── */

/* Tablet (≤1024px) */
@media (max-width: 1024px) {
    /* Tour layout */
    .tp-tour-layout { grid-template-columns: minmax(0,1fr); }
    .tp-booking-sidebar { order: -1; }
    /* Booking box — disable sticky on tablet, show as inline card */
    .tp-booking-sticky { position: static; top: auto; }
    .tp-booking-box { border-radius: 12px; }
    /* Quick info */
    .tp-quick-info { grid-template-columns: repeat(3,1fr); }
    /* Inc/Exc */
    .tp-inc-exc-grid { grid-template-columns: 1fr; gap: 16px; }
    /* Destination grid */
    .tp-dest-grid { grid-template-columns: repeat(2,1fr); }
    /* Tour grid */
    .tp-cols-4 { grid-template-columns: repeat(3,1fr); }
    /* Hero slider */
    .tp-hero-slide { height: 70vh; }
    .tp-hs-inner { padding: 0 40px; }
    .tp-hs-title { font-size: 32px; }
}

/* Tablet small (≤768px) */
@media (max-width: 768px) {
    /* Tour page */
    .tp-tour-hero { height: 260px; border-radius: 10px; }
    .tp-tour-title { font-size: 20px; }
    .tp-tour-meta-row { gap: 10px; }
    .tp-quick-info { grid-template-columns: repeat(2,1fr); }
    .tp-inc-exc-grid { grid-template-columns: 1fr; }
    .tp-packages-grid { grid-template-columns: 1fr; }
    /* Tour grid */
    .tp-cols-3, .tp-cols-4 { grid-template-columns: repeat(2,1fr); }
    /* Search bar */
    .tp-sf-fields { flex-direction: column; }
    .tp-sf-field { border-right: none !important; border-bottom: 1px solid var(--tp-border); }
    .tp-sf-field:last-child { border-bottom: none; }
    .tp-sf-tabs { gap: 0; }
    .tp-sf-tab { padding: 10px 12px; font-size: 12px; }
    /* Destination cards */
    .tp-dest-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
    .tp-dest-name { font-size: 15px; }
    /* Hero slider */
    .tp-hero-slide { height: 75vh; min-height: 380px; }
    .tp-hs-inner { padding: 0 20px; }
    .tp-hs-title { font-size: 24px; }
    .tp-hs-subtitle { font-size: 13px; }
    .tp-hs-desc { font-size: 13px; display: none; }
    .tp-hs-btns { gap: 8px; }
    .tp-hs-btn { padding: 10px 18px; font-size: 13px; }
    .tp-hs-nav-btn { width: 38px; height: 38px; font-size: 13px; }
    .tp-hs-prev { left: 12px; }
    .tp-hs-next { right: 12px; }
    .tp-hs-price { font-size: 22px; }
    .tp-hs-counter { display: none; }
    /* B2B */
    .tp-b2b-title { font-size: 18px; }
    /* Payment */
    .tp-payment-layout { grid-template-columns: 1fr; }
    /* Reports */
    .tp-report-grid { grid-template-columns: 1fr; }
    /* Dashboard */
    .tp-dashboard-columns { grid-template-columns: 1fr; }

    /* ── Booking box — mobile bottom-sheet style ──────────────────── */
    .tp-booking-box {
        /* On mobile the box is inline (sidebar stacked above content),
           remove sticky and give it full breathing room */
        position: static;
        border-radius: 12px;
        margin-bottom: 24px;
    }
    .tp-bb-header { padding: 16px 16px; border-radius: 11px 11px 0 0; }
    .tp-bb-price { font-size: 20px; }
    .tp-bb-section { padding: 14px 16px; }
    .tp-bb-label { font-size: 10px; }
    .tp-departure-list { max-height: 200px; }
    .tp-dep-row { padding: 9px 10px; font-size: 13px; }
    .tp-pax-row { gap: 10px; }
    .tp-pax-item { flex: 1; min-width: 0; }
    .tp-bb-coupon { padding: 10px 16px; }
    .tp-bb-breakdown { padding: 10px 16px; }
    .tp-bb-breakdown-row,
    .tp-breakdown-row { font-size: 12px; }
    .tp-breakdown-total { font-size: 14px; }
    .tp-bb-cta { padding: 14px; font-size: var(--tp-btn-font-size, 14px); }
    .tp-bb-trust { padding: 8px 16px 12px; gap: 4px; }
    .tp-bb-trust span { font-size: 10px; }
    /* Step 2 */
    .tp-bb-back { padding: 12px 16px 6px; font-size: 12px; }
    .tp-bb-step-title { font-size: 13px; padding: 0 16px 10px; }
    .tp-bb-summary { padding: 0 16px 10px; }
    .tp-bb-summary-inner { font-size: 12px; padding: 10px 12px; }
    .tp-bb-field { padding: 0 16px 10px; }
    .tp-bb-field input,
    .tp-bb-field textarea,
    .tp-bb-field select { font-size: 14px; padding: 9px 11px; }
    .tp-bb-tnc { padding: 0 16px 14px; font-size: 12px; }
    .tp-bb-msg { margin: 0 16px 10px; font-size: 12px; }
    .tp-bb-timer { margin: 0 16px 10px; font-size: 12px; }
    /* Payment gateway list */
    .tp-bb-gw-option { padding: 9px 12px; gap: 8px; }
    .tp-bb-gw-icon { width: 28px; height: 28px; font-size: 14px; }
    .tp-bb-gw-name { font-size: 12px; }
    .tp-bb-gw-desc { font-size: 10px; }
    /* Step 3 success */
    .tp-bb-success { padding: 20px 16px; }
    .tp-bb-success h3 { font-size: 15px; }
    .tp-bb-success p { font-size: 12px; }
}

/* Mobile (≤560px) */
@media (max-width: 560px) {
    /* Tour grid */
    .tp-cols-2, .tp-cols-3, .tp-cols-4 { grid-template-columns: 1fr; }
    /* Destination */
    .tp-dest-grid { grid-template-columns: 1fr; }
    /* Tour */
    .tp-tour-hero { height: 200px; }
    .tp-tour-title { font-size: 18px; }
    .tp-quick-info { grid-template-columns: 1fr 1fr; }
    .tp-section-title { font-size: 16px; }
    /* Booking box */
    .tp-pax-row { gap: 8px; }
    .tp-bb-header { padding: 14px 14px; }
    .tp-bb-price { font-size: 18px; }
    .tp-bb-section { padding: 12px 14px; }
    .tp-departure-list { max-height: 180px; }
    .tp-dep-row { padding: 8px 10px; gap: 8px; }
    .tp-dep-row::before { width: 14px; height: 14px; }
    .tp-dep-date { font-size: 12px; }
    .tp-dep-price { font-size: 12px; }
    .tp-bb-coupon { padding: 10px 14px; }
    .tp-bb-breakdown { padding: 10px 14px; }
    .tp-bb-field { padding: 0 14px 10px; }
    .tp-bb-tnc { padding: 0 14px 14px; font-size: 12px; }
    .tp-bb-tnc input[type="checkbox"] { width: 15px; height: 15px; min-width: 15px; }
    .tp-bb-msg { margin: 0 14px 10px; }
    .tp-bb-timer { margin: 0 14px 10px; }
    .tp-bb-trust { padding: 8px 14px 12px; }
    .tp-bb-back { padding: 10px 14px 6px; }
    .tp-bb-step-title { padding: 0 14px 10px; }
    .tp-bb-summary { padding: 0 14px 10px; }
    /* Search tabs */
    .tp-sf-tab { padding: 10px 10px; font-size: 11px; gap: 4px; }
    .tp-sf-tab i { display: none; }
    /* Destination */
    .tp-dest-heading { font-size: 22px; }
    /* Hero */
    .tp-hero-slide { height: 65vh; min-height: 320px; }
    .tp-hs-title { font-size: 20px; }
    .tp-hs-badge { font-size: 11px; padding: 5px 12px; }
    .tp-hs-btns { flex-direction: column; }
    .tp-hs-btn { justify-content: center; }
    .tp-hs-dots { bottom: 16px; }
    .tp-hs-progress { height: 2px; }
    /* Itin */
    .tp-itin-item { grid-template-columns: 28px 1fr; }
    .tp-itin-dot { width: 26px; height: 26px; font-size: 10px; }
    /* Pricing rules */
    .tp-rule-item > div[style*="grid-template-columns:1fr 1fr 1fr 1fr"] {
        grid-template-columns: 1fr 1fr !important;
    }
    /* Stat cards */
    .tp-stats-grid { grid-template-columns: repeat(2,1fr); }
    /* Admin tables */
    .tp-table { font-size: 12px; }
    .tp-table thead th, .tp-table tbody td { padding: 8px 10px; }
}

/* Extra small (≤400px) */
@media (max-width: 400px) {
    .tp-quick-info { grid-template-columns: 1fr; }
    .tp-dest-grid { grid-template-columns: 1fr; }
    .tp-stats-grid { grid-template-columns: 1fr; }
    .tp-sf-tab span { display: none; }
    /* Booking box — ultra compact */
    .tp-bb-header { padding: 12px 12px; }
    .tp-bb-price { font-size: 17px; }
    .tp-bb-section { padding: 10px 12px; }
    .tp-bb-field { padding: 0 12px 9px; }
    .tp-bb-tnc { padding: 0 12px 12px; }
    .tp-bb-msg { margin: 0 12px 9px; }
    .tp-bb-timer { margin: 0 12px 9px; }
    .tp-bb-back { padding: 10px 12px 6px; }
    .tp-bb-step-title { padding: 0 12px 9px; }
    .tp-bb-summary { padding: 0 12px 9px; }
    .tp-bb-trust { display: none; } /* hide trust badges on very small screens */
    .tp-pax-row { flex-direction: column; gap: 8px; }
}


/* ── WhatsApp Booking Gateway ───────────────────────────────── */
.tp-wa-booking-detail { text-align:center; padding:24px 20px; }
.tp-wa-booking-icon { margin-bottom:4px; }
.tp-btn-wa-lg {
    display:inline-flex; align-items:center; justify-content:center;
    gap:10px; background:var(--tp-whatsapp); color:#fff !important;
    padding:14px 28px; border-radius:12px; font-weight:700;
    font-size:15px; text-decoration:none !important;
    box-shadow:0 4px 14px rgba(37,211,102,.35);
    transition:background .2s, transform .15s;
    width:100%; max-width:320px;
}
.tp-btn-wa-lg:hover { background:#1ebe5d; transform:translateY(-1px); }
.tp-btn-wa-lg i { font-size:18px; }

/* 2.3.0: prevent grid blow-out on narrow screens */
.tp-tour-layout > * { min-width: 0; }
.tp-content-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.tp-content-tabs::-webkit-scrollbar { display: none; }
