/* Scoped under .timi-hub so it never clashes with WordPress theme styles */
.timi-hub {
    --timi-primary: #0c5e8a;
    --timi-mint: #3AD29F;
    --timi-accent: #F5A623;
    --timi-ink: #0f172a;
    --timi-muted: #475569;
    --timi-bg: #f8fafc;
    --timi-border: #e2e8f0;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--timi-ink);
    background: var(--timi-bg);
    line-height: 1.5;
    box-sizing: border-box;
}
.timi-hub *, .timi-hub *::before, .timi-hub *::after { box-sizing: border-box; }

.timi-alert-banner {
    max-width: 1180px;
    margin: 16px auto;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 15px;
}
.timi-hub-has-booking-notice .timi-alert-banner { margin-top: clamp(84px, 9vh, 120px); scroll-margin-top: 150px; position: relative; z-index: 2; }
.timi-hub .timi-alert-success { background: #dcfce7 !important; border: 2px solid #16a34a !important; color: #14532d !important; opacity: 1 !important; }
.timi-hub .timi-alert-success strong { color: #14532d !important; }
.timi-alert-warn { background: #fffbeb; border: 1px solid #fcd34d; color: #92400e; }

/* HERO */
.timi-hero {
    background-size: cover;
    background-position: center 42%;
    padding: 72px 20px 52px;
    text-align: center;
    color: #ffffff;
}
.timi-hero-inner { max-width: 1120px; margin: 0 auto; }
.timi-hero-kicker {
    display: block;
    font-family: 'Great Vibes', cursive;
    font-size: clamp(34px, 5vw, 54px);
    font-weight: 400;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
    margin-bottom: 4px;
}
.timi-hero-title {
    margin: 0 0 10px;
    font-size: clamp(26px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #ffffff !important;
    text-shadow: 0 3px 16px rgba(0,0,0,0.35);
}
.timi-hero-sub {
    margin: 0 auto 30px;
    max-width: 640px;
    font-size: 16px;
    color: rgba(255,255,255,0.95);
    text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

/* SEARCH BAR */
.timi-search-wrap { max-width: 1020px; margin: 0 auto; text-align: left; }
.timi-hero-tabs { display: inline-flex; gap: 4px; }
.timi-htab {
    border: none;
    background: rgba(12, 94, 138, 0.72);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px 8px 0 0;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease;
    backdrop-filter: blur(6px);
}
.timi-htab:hover { background: rgba(12, 94, 138, 0.92); }
.timi-htab.active { background: var(--timi-mint); color: #ffffff; }

.timi-search-bar {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)) auto;
    gap: 12px;
    align-items: center;
    background: rgba(14, 102, 146, 0.84);
    backdrop-filter: blur(10px);
    padding: 14px 16px;
    border-radius: 0 12px 12px 12px;
    box-shadow: 0 16px 40px rgba(8, 38, 61, 0.28);
}
.timi-sfield { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.timi-sfield label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.85); }
.timi-sfield input, .timi-sfield select {
    width: 100%;
    height: 42px;
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 8px;
    padding: 0 12px;
    background: rgba(255,255,255,0.96);
    color: var(--timi-ink);
    font-size: 14px;
    outline: none;
}
.timi-search-btn {
    height: 52px;
    padding: 0 28px;
    border: none;
    border-radius: 8px;
    background: var(--timi-accent);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: transform .15s ease, filter .15s ease;
}
.timi-search-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }

/* CONTAINER & FILTERS */
.timi-container { max-width: 1220px; margin: 0 auto; padding: 32px 20px; }
.timi-island-nav { display: flex; align-items: center; gap: 7px; min-width: 0; margin: -8px 0 14px; overflow-x: auto; scrollbar-width: none; }
.timi-island-nav::-webkit-scrollbar { display: none; width: 0; height: 0; }
.timi-island-nav[hidden] { display: none !important; }
.timi-island-nav-label { flex: 0 0 auto; margin-right: 2px; color: var(--timi-muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.timi-island-pill { flex: 0 0 auto; min-height: 34px; padding: 6px 13px; border: 1px solid var(--timi-border); border-radius: 999px; background: #ffffff; color: #334155; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.timi-island-pill:hover, .timi-island-pill.active { border-color: var(--timi-primary); background: var(--timi-primary); color: #ffffff; }
.timi-island-pill:focus-visible { outline: 3px solid rgba(58, 210, 159, .55); outline-offset: 2px; }
.timi-cat-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    margin-bottom: 20px;
}
.timi-cat-strip {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 2px;
    margin: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overscroll-behavior-x: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}
.timi-cat-strip::-webkit-scrollbar { display: none; width: 0; height: 0; }
.timi-cat-arrow {
    display: inline-flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #dbe5ed;
    border-radius: 50%;
    background: #ffffff;
    color: var(--timi-primary);
    box-shadow: 0 3px 10px rgba(15, 23, 42, .08);
    cursor: pointer;
    transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.timi-cat-arrow[hidden] { display: none !important; }
.timi-cat-arrow svg { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.timi-cat-arrow:hover:not(:disabled) { background: var(--timi-primary); border-color: var(--timi-primary); color: #ffffff; box-shadow: 0 5px 14px rgba(12, 94, 138, .2); }
.timi-cat-arrow:disabled { opacity: .38; cursor: default; box-shadow: none; }
.timi-cat-arrow:focus-visible, .timi-cat-strip:focus-visible, .timi-cat-pill:focus-visible { outline: 3px solid rgba(58, 210, 159, .55); outline-offset: 3px; }
.timi-cat-pill {
    flex: 0 0 auto;
    border: 1px solid var(--timi-border);
    background: #ffffff;
    color: var(--timi-ink);
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
    scroll-snap-align: start;
}
.timi-cat-pill:hover { border-color: var(--timi-primary); color: var(--timi-primary); }
.timi-cat-pill.active { background: var(--timi-primary); border-color: var(--timi-primary); color: #ffffff; }
.timi-active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: -4px 0 14px; }
.timi-active-filters[hidden] { display: none; }
.timi-filter-chip, .timi-clear-filters { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; border-radius: 999px; cursor: pointer; font: inherit; font-size: 12px; line-height: 1.2; }
.timi-filter-chip { padding: 5px 9px 5px 11px; border: 1px solid #cfe4ee; background: #edf7fb; color: #155e83; }
.timi-filter-chip span:last-child { font-size: 16px; line-height: 12px; color: #64748b; }
.timi-filter-chip:hover { background: #dff0f7; }
.timi-clear-filters { padding: 5px 9px; border: 0; background: transparent; color: var(--timi-primary); font-weight: 700; }
.timi-clear-filters:hover { text-decoration: underline; }
.timi-share-cat-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; margin-left: auto; padding: 5px 12px; border: 1px solid #cbd5e1; border-radius: 999px; background: #fff; color: var(--timi-primary); cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; line-height: 1.2; transition: all .15s; }
.timi-share-cat-btn:hover { border-color: var(--timi-primary); background: #f0f9ff; }
.timi-share-cat-btn.copied { border-color: #16a34a; background: #f0fdf4; color: #15803d; }

.timi-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}
.timi-result-count { font-size: 15px; font-weight: 600; color: var(--timi-muted); }
.timi-toolbar-right { display: flex; align-items: center; gap: 10px; }
.timi-fav-btn {
    border: 1px solid var(--timi-border);
    background: #ffffff;
    color: var(--timi-ink);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
#timi-sort {
    height: 38px;
    border: 1px solid var(--timi-border);
    border-radius: 8px;
    padding: 0 12px;
    background: #ffffff;
    font-size: 13px;
    font-weight: 600;
    color: var(--timi-ink);
}

/* UNIFORM CARDS */
.timi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 24px;
}
.timi-load-status { min-height: 0; padding: 0; text-align: center; color: #64748b; font-weight: 600; }
.timi-load-status:not(:empty) { padding: 18px 12px 6px; }
.timi-load-more-btn { border: 0; border-radius: 10px; padding: 12px 22px; background: var(--timi-primary); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.timi-load-sentinel { height: 1px; width: 100%; }
.timi-card {
    background: #ffffff;
    border: 1px solid var(--timi-border);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    transition: transform .2s ease, box-shadow .2s ease;
}
.timi-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1); }
.timi-card-media { position: relative; height: 210px; background: #e2e8f0; overflow: hidden; }
.timi-card-image-open { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; text-decoration: none !important; cursor: pointer; z-index: 0; }
.timi-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.timi-card:hover .timi-card-media img { transform: scale(1.04); }

.timi-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #0c5e8a;
    color: #ffffff;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    border: 1px solid rgba(15,23,42,0.08);
    box-shadow: 0 3px 10px rgba(15,23,42,0.2);
    z-index: 1;
}
.timi-card-badge--best-seller { background: #ffe08a; color: #30260b; }
.timi-card-badge--top-rated { background: #dbeafe; color: #173c78; }
.timi-card-badge--small-group { background: #dcfce7; color: #14532d; }
.timi-card-badge--free-pickup { background: #ede9fe; color: #5b21b6; }
.timi-card-badge--custom { background: #0c5e8a; color: #ffffff; }
.timi-card-top-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
}
.timi-card-top-actions .timi-heart, .timi-share-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.92);
    cursor: pointer;
    color: var(--timi-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.timi-card-top-actions .timi-heart {
    font-size: 16px;
}
.timi-share-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.timi-share-btn:hover, .timi-card-top-actions .timi-heart:hover { transform: translateY(-1px); background: #ffffff; }
.timi-share-btn.copied { color: #166534; background: #dcfce7; }
.timi-card-top-actions .timi-heart.saved { background: #fee2e2; }

.timi-card-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.timi-card-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; font-size: 12px; color: var(--timi-muted); margin-bottom: 6px; font-weight: 600; }
.timi-card-island { display: inline-flex; align-items: center; padding: 2px 7px; border-radius: 999px; background: #fff7ed; color: #9a3412; font-size: 11px; font-weight: 800; }
.timi-operator-rating { max-width: 100%; text-align: left; font-size: 11px; font-weight: 500; }
.timi-card-title { margin: 0 0 8px; font-size: 18px; font-weight: 800; color: var(--timi-ink); line-height: 1.3; }
.timi-card-title-open { display: inline; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; line-height: inherit; text-align: left; text-decoration: none !important; cursor: pointer; }
.timi-card-title-open:hover { color: var(--timi-primary); }
.timi-card-title-open:focus-visible, .timi-card-image-open:focus-visible { outline: 3px solid rgba(58, 210, 159, .8); outline-offset: -3px; }
.timi-card .timi-card-summary {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3;
    max-height: 4.65em;
    overflow: hidden !important;
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--timi-muted);
    flex: 1;
}
.timi-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.timi-tag { background: #f1f5f9; color: #334155; padding: 4px 9px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.timi-tag-format { background: #e7f3fb; color: #155e83; }
.timi-tag-more { background: #e2e8f0; color: #475569; }

.timi-card-foot {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}
.timi-price small { display: block; font-size: 11px; color: var(--timi-muted); text-transform: uppercase; font-weight: 700; }
.timi-price strong { font-size: 22px; font-weight: 800; color: var(--timi-primary); }
.timi-price .timi-price-code { margin-top: 2px; font-size: 10px; color: #64748b; text-transform: none; letter-spacing: .02em; }
.timi-price .timi-price-unit { text-transform: none; font-size: 10px; }
.timi-price .timi-price-note { margin-top: 3px; color: #15803d; text-transform: none; font-size: 10px; font-weight: 800; }
.timi-cta-btn {
    border: none;
    background: var(--timi-primary);
    color: #ffffff;
    padding: 11px 18px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease;
}
.timi-cta-btn:hover { filter: brightness(1.1); }
.timi-gyg-card-link { display: inline-flex; align-items: center; justify-content: center; text-align: center; text-decoration: none !important; }

/* EMPTY */
.timi-empty { text-align: center; padding: 48px 20px; background: #fff; border-radius: 14px; border: 1px solid var(--timi-border); }
.timi-btn-reset { margin-top: 12px; background: var(--timi-primary); color: #fff; border: none; padding: 10px 20px; border-radius: 8px; font-weight: 700; cursor: pointer; }

/* TRUST & FAQ */
.timi-trust-sec { background: #ffffff; border-top: 1px solid var(--timi-border); border-bottom: 1px solid var(--timi-border); padding: 16px 0; }
.timi-sec-head { text-align: center; margin-bottom: 28px; }
.timi-sec-head h2 { margin: 0 0 6px; font-size: 28px; font-weight: 800; color: var(--timi-ink); }
.timi-sec-head p { margin: 0; color: var(--timi-muted); }
.timi-steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.timi-step { background: var(--timi-bg); padding: 24px; border-radius: 12px; border: 1px solid var(--timi-border); text-align: center; }
.timi-step-ico { font-size: 32px; margin-bottom: 10px; }
.timi-step h3 { margin: 0 0 8px; font-size: 17px; font-weight: 800; }
.timi-step p { margin: 0; font-size: 14px; color: var(--timi-muted); }

.timi-faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.timi-faq-item { background: #ffffff; border: 1px solid var(--timi-border); border-radius: 10px; padding: 16px 20px; }
.timi-faq-item summary { font-weight: 700; font-size: 15px; cursor: pointer; color: var(--timi-ink); }
.timi-faq-item p { margin: 10px 0 0; font-size: 14px; color: var(--timi-muted); }

/* =========================================================
   MODAL — HERO GALLERY BANNER + OVERLAY + SMART CHECKOUT
   ========================================================= */
.timi-modal-backdrop, .timi-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.64);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9500;
    padding: 16px;
}
.timi-modal-backdrop.open, .timi-drawer-backdrop.open { display: flex; }
.timi-modal-dialog {
    background: #ffffff;
    width: 100%;
    max-width: 790px;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 18px;
    padding: 0;
    position: relative;
    box-shadow: 0 28px 70px rgba(0,0,0,0.34);
}
#timi-modal-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.timi-modal-actionbar { display: none; }
.timi-modal-dialog.timi-checkout-active .timi-modal-actionbar { display: none !important; }
body.timi-booking-modal-open #trp-floater-ls,
body.timi-booking-modal-open .trp-floater-ls,
body.timi-booking-modal-open .trp-language-switcher-container,
body.timi-booking-modal-open .joinchat,
body.timi-booking-modal-open #ht-ctc-chat,
body.timi-booking-modal-open .ht-ctc-chat,
body.timi-booking-modal-open .chaty-widget,
body.timi-booking-modal-open #chaty-widget,
body.timi-booking-modal-open .whatsapp-widget,
body.timi-booking-modal-open #whatsapp-widget,
body.timi-booking-modal-open .whatsapp-chat,
body.timi-booking-modal-open .wp-social-chat,
body.timi-booking-modal-open iframe[src*="wa.me"],
body.timi-booking-modal-open iframe[src*="whatsapp"],
body.timi-booking-modal-open .timi-modal-floating-widget-hidden {
    display: none !important;
}
.timi-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.94);
    color: var(--timi-ink);
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
    z-index: 20;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}
.timi-modal-close:hover { background: #ffffff; transform: scale(1.06); }

/* Top Hero Banner with Gallery Slider & Overlaid White Title */
.timi-m-hero {
    position: relative;
    width: 100%;
    height: 255px;
    background: #0f172a;
    overflow: hidden;
    user-select: none;
}
.timi-m-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity .25s ease;
}
.timi-m-hero-grad {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.12) 0%, rgba(15, 23, 42, 0.28) 45%, rgba(15, 23, 42, 0.84) 100%);
    pointer-events: none;
}
.timi-m-hero-info {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 18px;
    z-index: 5;
    color: #ffffff;
}
.timi-m-hero-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.timi-m-cat-tag {
    background: rgba(255, 255, 255, 0.92);
    color: var(--timi-ink);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
}
.timi-m-rate-tag {
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(4px);
    color: #fbbf24;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
}
.timi-m-rate-tag span { color: #ffffff; font-weight: 600; }
.timi-m-rate-tag { max-width: 100%; }
.timi-m-hero-title {
    margin: 0 0 6px;
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 800;
    color: #ffffff !important;
    line-height: 1.22;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}
.timi-m-hero-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
}

/* Gallery Navigation Controls on Banner */
.timi-gal-arrow {
    position: absolute;
    top: 44%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.88);
    color: var(--timi-ink);
    font-size: 20px;
    font-weight: 800;
    cursor: pointer;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.24);
    transition: background .15s ease, transform .15s ease;
}
.timi-gal-arrow:hover { background: #ffffff; transform: translateY(-50%) scale(1.06); }
.timi-gal-prev { left: 14px; }
.timi-gal-next { right: 14px; }

.timi-gal-counter {
    position: absolute;
    top: 15px;
    left: 16px;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    z-index: 15;
}
.timi-gal-dots {
    position: absolute;
    right: 20px;
    bottom: 18px;
    display: flex;
    gap: 5px;
    z-index: 15;
}
.timi-gal-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}
.timi-gal-dot.active { background: #ffffff; transform: scale(1.2); }

/* Modal Inner Body */
.timi-m-content {
    padding: 20px 26px 26px;
}
.timi-m-description {
    margin: 0 0 18px;
    color: #475569;
    font-size: 15px;
    line-height: 1.7;
    white-space: pre-line;
}

/* 2-Column Checkmark Highlights Grid */
.timi-m-checks-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 18px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}
.timi-m-check-item {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}
.timi-m-detail-section { margin: 0 0 18px; }
.timi-m-detail-section h3 { margin: 0 0 8px; color: #0f172a; font-size: 15px; font-weight: 800; }
.timi-collapsible-detail { padding: 12px 14px; border: 1px solid #e2e8f0; border-radius: 10px; background: #f8fafc; }
.timi-collapsible-detail summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #0f172a; font-size: 15px; font-weight: 800; cursor: pointer; list-style: none; }
.timi-collapsible-detail summary::-webkit-details-marker { display: none; }
.timi-collapsible-detail summary::after { content: '+'; color: var(--timi-primary); font-size: 20px; line-height: 1; }
.timi-collapsible-detail[open] summary { margin-bottom: 8px; }
.timi-collapsible-detail[open] summary::after { content: '−'; }
.timi-m-detail-list { margin: 0; padding-left: 20px; color: #475569; font-size: 14px; line-height: 1.65; }
.timi-m-detail-list li { margin: 2px 0; }
.timi-places-visited .timi-m-detail-list li::marker { color: var(--timi-primary); font-weight: 800; }
.timi-tour-languages { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; margin: 0 0 16px; padding: 10px 12px; border: 1px solid #dbeafe; border-radius: 9px; background: #f8fbff; color: #334155; font-size: 13px; }
.timi-tour-languages strong { color: #0f172a; font-weight: 800; }
.timi-tour-formats { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; margin: 0 0 16px; padding: 10px 12px; border: 1px solid #dbeafe; border-radius: 9px; background: #f8fbff; color: #334155; font-size: 13px; }
.timi-tour-formats strong { color: #0f172a; font-weight: 800; }
.timi-tour-island { display: inline-flex; align-items: center; margin: 0 0 14px; padding: 6px 10px; border-radius: 999px; background: #fff7ed; color: #9a3412; font-size: 13px; font-weight: 800; }
.timi-m-excluded-list li::marker { color: #94a3b8; }
.timi-m-bring-list li::marker { color: var(--timi-primary); }
.timi-m-check-ico {
    color: var(--timi-primary);
    font-weight: 800;
    flex-shrink: 0;
}

.timi-m-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 16px;
}
.timi-m-pill.instant { background: #ecfdf5; color: #047857; }
.timi-m-pill.deposit { background: #ecfdf5; color: #047857; }

/* Date + Guest Steppers Grid (adapts to Adults-Only, 2 tiers, or 3 tiers) */
.timi-date-row {
    margin-bottom: 12px;
}
.timi-guests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}
.timi-age-sub {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--timi-muted);
    margin-top: 1px;
}
.timi-date-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 44px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--timi-ink);
    cursor: pointer;
    width: 100%;
    text-align: left;
}
.timi-date-trigger:hover { border-color: var(--timi-primary); }

/* Smart Calendar Popover */
.timi-cal-popover {
    position: relative;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}
.timi-cal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.timi-cal-head strong { font-size: 15px; font-weight: 800; color: var(--timi-ink); }
.timi-cal-nav {
    width: 30px;
    height: 30px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    font-weight: 800;
    cursor: pointer;
}
.timi-cal-nav:hover { background: #e2e8f0; }
.timi-cal-weekdays, .timi-cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
}
.timi-cal-weekdays span {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    padding-bottom: 4px;
}
.timi-cal-day {
    height: 36px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #f0f9ff;
    color: #0c5e8a;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all .12s ease;
}
.timi-cal-day:hover:not(:disabled) {
    background: #bae6fd;
    border-color: #0c5e8a;
}
.timi-cal-day.selected {
    background: var(--timi-primary) !important;
    color: #ffffff !important;
}
.timi-cal-day:disabled {
    background: #f8fafc;
    color: #cbd5e1;
    cursor: not-allowed;
    text-decoration: line-through;
    font-weight: 500;
}
.timi-cal-day.empty {
    background: transparent;
    cursor: default;
}
.timi-cal-day { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; padding: 1px 2px; }
.timi-cal-day small { font-size: 8px; line-height: 1.1; font-weight: 700; white-space: nowrap; }
.timi-cal-day.sold-out:disabled { background: #fee2e2 !important; color: #991b1b !important; border-color: #fecaca; text-decoration: none; }
.timi-availability-status { min-height: 0; margin: -7px 0 13px; color: #047857; font-size: 12px; font-weight: 700; }
.timi-availability-status:empty { display: none; }
.timi-availability-status.unavailable { color: #b91c1c; }
.timi-cal-legend {
    display: flex;
    gap: 14px;
    font-size: 11px;
    color: #64748b;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}
.timi-leg-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    margin-right: 4px;
    vertical-align: middle;
}

/* Departure Time Slot Pills */
.timi-times-wrap {
    margin-bottom: 16px;
}
.timi-times-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--timi-ink);
    margin-bottom: 6px;
}
.timi-times-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.timi-time-pill {
    padding: 8px 16px;
    border-radius: 9px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: var(--timi-ink);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all .15s ease;
}
.timi-time-pill:hover { border-color: var(--timi-primary); }
.timi-time-pill:disabled { opacity: .48; cursor: not-allowed; background: #f8fafc; }
.timi-time-pill.active {
    background: var(--timi-primary);
    border-color: var(--timi-primary);
    color: #ffffff;
}
.timi-time-single-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #0c5e8a;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
}

.timi-stepper-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 44px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    padding: 0 6px;
}
.timi-step-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: #f1f5f9;
    color: var(--timi-ink);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease;
}
.timi-step-btn:hover { background: #e2e8f0; }
.timi-step-val {
    font-size: 15px;
    font-weight: 800;
    color: var(--timi-ink);
    min-width: 28px;
    text-align: center;
}

/* 3 Stacked Price Breakdown Cards */
.timi-price-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}
.timi-pcard {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border-radius: 12px;
}
.timi-pcard.total {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}
.timi-pcard.deposit {
    background: #ecfdf5;
    border: 1px solid #86efac;
}
.timi-pcard.balance {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}
.timi-pcard-left strong { display: block; font-size: 14px; font-weight: 800; color: var(--timi-ink); }
.timi-pcard.deposit .timi-pcard-left strong { color: #065f46; }
.timi-pcard.balance .timi-pcard-left strong { color: #1e40af; }
.timi-pcard-left small { display: block; font-size: 12px; color: var(--timi-muted); margin-top: 2px; }
.timi-pay-badges {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-top: 6px;
}
.timi-pay-badge {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
}
.timi-pcard-amt {
    font-size: 20px;
    font-weight: 800;
    white-space: nowrap;
}
.timi-pcard.total .timi-pcard-amt { color: var(--timi-ink); }
.timi-pcard.deposit .timi-pcard-amt { color: #16a34a; font-size: 23px; }
.timi-pcard.balance .timi-pcard-amt { color: #0c5e8a; }

/* STRIPE CUSTOMER FIELDS IN MODAL */
.timi-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.timi-fgroup { display: flex; flex-direction: column; gap: 4px; }
.timi-fgroup.full { grid-column: 1 / -1; }
.timi-fgroup label { font-size: 12px; font-weight: 700; color: var(--timi-ink); }
.timi-fgroup input, .timi-fgroup textarea, .timi-fgroup select {
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
    width: 100%;
    height: 44px;
}
.timi-fgroup textarea { height: auto; }
.timi-language-select { margin: 0 0 14px; }
.timi-participant-details {
    margin: 4px 0 16px;
    padding: 14px;
    border: 1px solid #dbe4ee;
    border-radius: 12px;
    background: #f8fafc;
}
.timi-participant-details > h3 { margin: 0 0 4px; font-size: 15px; color: var(--timi-ink); }
.timi-participant-details > p { margin: 0 0 12px; font-size: 12px; color: var(--timi-muted); }
.timi-participant-card { min-width: 0; margin: 0 0 10px; padding: 12px; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; }
.timi-participant-card:last-child { margin-bottom: 0; }
.timi-participant-card legend { padding: 0 5px; font-size: 13px; font-weight: 800; color: var(--timi-ink); }
.timi-participant-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.timi-participant-grid .timi-fgroup { min-width: 0; }
.timi-participant-grid .timi-fgroup input { box-sizing: border-box; }

.timi-pay-btn {
    width: 100%;
    border: none;
    background: #16a34a;
    color: #ffffff;
    padding: 15px;
    border-radius: 11px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.25);
}
.timi-pay-btn:hover { filter: brightness(1.05); }
.timi-pay-btn:disabled { opacity: 0.65; cursor: not-allowed; }
.timi-m-error { color: #dc2626; font-size: 13px; font-weight: 700; margin-top: 8px; }
.timi-embedded-checkout-wrap { margin-top: 18px; padding: 18px; border: 1px solid #dbe4ee; border-radius: 14px; background: #fff; }
.timi-embedded-checkout-wrap[hidden] { display: none !important; }
.timi-embedded-checkout-wrap h3 { margin: 0 0 4px; color: var(--timi-ink); font-size: 19px; line-height: 1.35; }
.timi-embedded-checkout-date { margin: 0 0 14px; color: var(--timi-muted); font-size: 13px; }
.timi-embedded-price-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 12px; border: 1px solid #e2e8f0; border-radius: 9px; margin: 0 0 8px; color: var(--timi-ink); font-size: 13px; }
.timi-embedded-price-row strong { white-space: nowrap; font-size: 16px; }
.timi-embedded-price-row.total { background: #f8fafc; }
.timi-embedded-price-row.deposit { border-color: #86efac; background: #ecfdf5; color: #065f46; }
.timi-embedded-price-row.balance { border-color: #bfdbfe; background: #eff6ff; color: #1e40af; }
#timi-stripe-checkout { min-height: 300px; margin-top: 16px; }
.timi-embedded-checkout-status { margin: 12px 0 0; padding: 12px 14px; border: 1px solid #86efac; border-radius: 10px; background: #ecfdf5; color: #065f46; font-size: 14px; font-weight: 700; }
.timi-embedded-checkout-retry { margin-top: 10px; padding: 9px 14px; border: 1px solid #cbd5e1; border-radius: 9px; background: #f8fafc; color: var(--timi-ink); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.timi-embedded-checkout-retry[hidden] { display: none !important; }
.timi-modal-action-price { display: flex; flex-direction: column; min-width: 76px; }
.timi-modal-action-price small { color: var(--timi-muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.timi-modal-action-price strong { color: var(--timi-primary); font-size: 19px; line-height: 1.2; }
.timi-modal-action-price em { color: #15803d; font-size: 10px; font-style: normal; font-weight: 800; }
.timi-modal-action-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; border: 0; border-radius: 9px; background: var(--timi-primary); color: #fff !important; font: inherit; font-size: 14px; font-weight: 800; text-align: center; text-decoration: none !important; cursor: pointer; }
.timi-modal-action-btn:hover { filter: brightness(1.08); }
.timi-gyg-price-note { margin: 10px 0 16px; color: var(--timi-muted); font-size: 14px; line-height: 1.6; }
.timi-gyg-ticket-btn { background: var(--timi-primary); box-shadow: 0 8px 20px rgba(12, 94, 138, 0.18); }

/* BOKUN WIDGET CONTAINER */
.timi-bokun-frame-wrap {
    min-height: 460px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
}
.timi-bokun-frame-wrap .bokunWidget iframe {
    width: 100% !important;
    min-height: 540px;
    border: 0 !important;
    display: block;
}

/* DRAWER */
.timi-drawer-backdrop { justify-content: flex-end; padding: 0; }
.timi-drawer { background: #fff; width: 100%; max-width: 390px; height: 100%; padding: 22px; overflow-y: auto; position: relative; }
.timi-drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.timi-fav-item { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #f1f5f9; }
.timi-fav-item img { width: 64px; height: 52px; object-fit: cover; border-radius: 8px; }
.timi-season-price-label { margin-top: 5px; color: #6d28d9; font-size: 12px; font-weight: 700; }

@media (max-width: 1100px) and (min-width: 381px) {
    .timi-search-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .timi-search-bar .timi-sfield:first-child,
    .timi-search-bar .timi-search-btn { grid-column: 1 / -1; }
    .timi-search-bar .timi-search-btn { width: 100%; }
}

@media (max-width: 860px) {
    .timi-search-bar { border-radius: 0 10px 10px 10px; }
    .timi-guests-grid { grid-template-columns: 1fr; }
    .timi-form-grid { grid-template-columns: 1fr; }
    .timi-participant-grid { grid-template-columns: 1fr; }
    .timi-m-checks-grid { grid-template-columns: 1fr; }
    .timi-m-hero { height: 215px; }
    .timi-m-hero-info { left: 16px; right: 16px; bottom: 14px; }
    .timi-m-content { padding: 16px 18px 22px; }
    .timi-island-nav { max-width: 100%; margin: -5px 0 12px; padding: 0 1px 2px; }
    .timi-cat-nav { gap: 7px; }
    .timi-cat-arrow { flex-basis: 34px; width: 34px; height: 34px; }
    .timi-cat-arrow svg { width: 16px; height: 16px; }
    .timi-modal-backdrop { padding: 8px; }
    .timi-modal-dialog { max-height: 94dvh; border-radius: 16px; }
    .timi-modal-actionbar { position: relative; z-index: 18; display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 14px calc(9px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #dbe4ee; background: rgba(255,255,255,.97); box-shadow: 0 -7px 20px rgba(15,23,42,.08); }
    .timi-embedded-checkout-wrap { padding: 12px; }
    .timi-embedded-price-row { align-items: flex-start; font-size: 12px; }
    .timi-embedded-price-row strong { font-size: 15px; }
    .timi-modal-action-btn { flex: 1 1 auto; }
}

@media (max-width: 640px) {
    .timi-hero { padding: 48px 16px 34px; }
    .timi-hero-sub { margin-bottom: 18px; }
    .timi-toolbar-right { flex-wrap: wrap; justify-content: flex-end; }
}

@media (max-width: 380px) {
    .timi-search-bar { grid-template-columns: minmax(0, 1fr); }
    .timi-search-bar .timi-sfield,
    .timi-search-bar .timi-search-btn { grid-column: 1 / -1; }
    .timi-search-bar .timi-search-btn { width: 100%; }
}
