/**
 * Trip Booking Pro - Single Trip Detail Page
 */

body.tbp-trip-detail-view .site-content > .ast-container {
    display: block;
    max-width: 100%;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

body.tbp-trip-detail-view #primary {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    float: none;
}

/* Sticky sidebar requires visible overflow on ancestors */
body.tbp-trip-detail-view .site-content,
body.tbp-trip-detail-view .site-content > .ast-container,
body.tbp-trip-detail-view #primary,
body.tbp-trip-detail-view .tbp-detail-page,
body.tbp-trip-detail-view .tbp-detail-container {
    overflow: visible;
}

.tbp-detail-page {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #1a1a1a;
    background: #ECF0F1;
    width: 100%;
    margin: 0 auto;
    padding: 40px 0 80px;
    box-sizing: border-box;
}

.tbp-detail-container {
    max-width: 1180px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.tbp-detail-hero {
    text-align: center;
    margin-bottom: 5em;
}

.tbp-detail-title {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: #000000;
}

.tbp-detail-gallery {
    --tbp-gallery-height: clamp(400px, 36vw, 500px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    height: var(--tbp-gallery-height);
    margin-bottom: 24px;
    align-items: stretch;
}

.tbp-detail-gallery--solo {
    grid-template-columns: 1fr;
    position: relative;
}

.tbp-detail-gallery--solo .tbp-detail-gallery-main {
    height: 100%;
}

.tbp-detail-gallery-main,
.tbp-detail-gallery-thumb {
    border-radius: 14px;
    overflow: hidden;
    background: #ececec;
    min-height: 0;
    height: 100%;
}

.tbp-detail-gallery-main {
    position: relative;
}

.tbp-detail-gallery-main img,
.tbp-detail-gallery-thumb img,
.tbp-detail-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tbp-detail-gallery-thumbs {
    display: grid;
    gap: 12px;
    position: relative;
    height: 100%;
    min-height: 0;
}

/* 4 thumbnails — 2×2 grid */
.tbp-detail-gallery-thumbs--count-4 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

/* 3 thumbnails — two on top, one full-width below */
.tbp-detail-gallery-thumbs--count-3 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.tbp-detail-gallery-thumbs--count-3 .tbp-detail-gallery-thumb:nth-child(3) {
    grid-column: 1 / -1;
}

/* 2 thumbnails — stacked vertically, fill right column */
.tbp-detail-gallery-thumbs--count-2 {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
}

/* 1 thumbnail — full right column */
.tbp-detail-gallery-thumbs--count-1 {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}

.tbp-detail-gallery-thumb {
    min-height: 0;
}

.tbp-detail-gallery-see-more {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border: 0;
    border-radius: 6px;
    background: #ffffff;
    color: #000000;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1;
    cursor: pointer;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
}

.tbp-detail-gallery-see-more:hover,
.tbp-detail-gallery-see-more:focus,
.tbp-detail-gallery-see-more:focus-visible,
.tbp-detail-gallery-see-more:active {
    background: #ffffff;
    color: #000000;
    box-shadow: none;
    transform: none;
    outline: none;
}

.tbp-detail-gallery-see-more-arrow {
    display: block;
    width: 28px;
    height: auto;
    flex-shrink: 0;
}

/* Lightbox */
.tbp-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    box-sizing: border-box;
}

.tbp-gallery-lightbox.is-open {
    display: flex;
}

body.tbp-gallery-lightbox-open {
    overflow: hidden;
}

.tbp-gallery-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 22, 0.58);
    backdrop-filter: blur(4px);
}

.tbp-gallery-lightbox-frame {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 100%;
}

.tbp-gallery-lightbox-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: 100%;
}

.tbp-gallery-lightbox-stage {
    position: relative;
    flex: 0 1 auto;
    width: 85vw;
    max-width: 85vw;
    height: min(72vh, calc(85vw * 1.15));
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    background: #111111;
}

.tbp-gallery-lightbox-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

/* Reset theme button styles — frosted circular controls */
#tbp-gallery-lightbox .tbp-gallery-lightbox-close,
#tbp-gallery-lightbox .tbp-gallery-lightbox-nav {
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    font-family: inherit;
    font-size: 0;
    line-height: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

#tbp-gallery-lightbox .tbp-gallery-lightbox-close:hover,
#tbp-gallery-lightbox .tbp-gallery-lightbox-nav:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.22) !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
    color: #ffffff !important;
    transform: scale(1.05);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
}

#tbp-gallery-lightbox .tbp-gallery-lightbox-close:focus-visible,
#tbp-gallery-lightbox .tbp-gallery-lightbox-nav:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.75);
    outline-offset: 3px;
}

#tbp-gallery-lightbox .tbp-gallery-lightbox-nav:disabled {
    opacity: 0.28;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

#tbp-gallery-lightbox .tbp-gallery-lightbox-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    display: block;
    pointer-events: none;
}

#tbp-gallery-lightbox .tbp-gallery-lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 4;
}

#tbp-gallery-lightbox .tbp-gallery-lightbox-nav {
    position: static;
    transform: none;
    z-index: 3;
    flex-shrink: 0;
}

#tbp-gallery-lightbox .tbp-gallery-lightbox-nav:hover:not(:disabled) {
    transform: scale(1.05);
}

.tbp-gallery-lightbox-counter {
    position: static;
    margin: 0;
    padding: 8px 16px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.tbp-detail-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.tbp-detail-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 6px;
    background: #e3e3e3;
    color: #1a1a1a;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.2s ease, color 0.2s ease;
}

body.tbp-trip-detail-view .tbp-detail-nav-link.is-active {
    background: #000000;
    color: #ffffff;
    text-decoration: none;
}

body.tbp-trip-detail-view .tbp-detail-nav-link:not(.is-active):hover {
    background: #cccccc;
    color: #1a1a1a;
    text-decoration: none;
}

body.tbp-trip-detail-view .tbp-detail-nav-link:focus-visible {
    outline: 2px solid #000000;
    outline-offset: 2px;
}

.tbp-detail-anchor-section {
    scroll-margin-top: 120px;
}

.tbp-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
    gap: 40px 100px;
    align-items: start;
    overflow: visible;
}

.tbp-detail-main {
    min-width: 0;
    overflow: visible;
}

.tbp-detail-section {
    margin-bottom: 36px;
}

.tbp-detail-section h2 {
    margin: 0 0 16px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: #000000;
}

.tbp-detail-rich-text {
    font-size: 0.96rem;
    line-height: 1.75;
    color: #333333;
}

.tbp-detail-rich-text p {
    margin: 0 0 16px;
}

.tbp-detail-experience-section h2 {
    margin-bottom: 20px;
}

.tbp-detail-experience-list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 80%;
}

.tbp-detail-sidebar-list {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    width: 100%;
}

.tbp-detail-experience-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #1a1a1a;
    font-size: 14px;
    line-height: 1.3;
}

.tbp-detail-experience-item:last-child {
    border-bottom: none;
}

.tbp-detail-experience-main {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1 1 auto;
}

.tbp-detail-experience-icon,
.tbp-detail-icon {
    width: 14px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: center;
    flex-shrink: 0;
}

.tbp-detail-experience-icon {
    width: 14px;
    aspect-ratio: 1 / 1;
}

.tbp-detail-experience-label {
    color: #1a1a1a;
    font-weight: 400;
}

.tbp-detail-experience-value {
    flex-shrink: 0;
    text-align: right;
    color: #000000;
    font-weight: 700;
}

.tbp-detail-sidebar-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 12px;
    line-height: 1.35;
}

.tbp-detail-sidebar-item-main {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.tbp-detail-sidebar-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
    flex-shrink: 0;
}

.tbp-detail-sidebar-label {
    color: #666666;
    font-weight: 400;
}

.tbp-detail-sidebar-value {
    display: block;
    text-align: right;
    color: #111111;
    font-weight: 600;
}

.tbp-detail-banner-image {
    border-radius: 16px;
    overflow: hidden;
    margin: 10px 0 36px;
    min-height: 260px;
}

.tbp-detail-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
    z-index: 5;
    width: 100%;
    max-width: 340px;
    justify-self: end;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: transparent;
}

body.admin-bar.tbp-trip-detail-view .tbp-detail-sidebar {
    top: 132px;
}

.tbp-detail-booking-card {
    background: #D9D9D9;
    border-radius: 18px;
    padding: 24px;
}

.tbp-detail-date-badge {
    display: inline-block;
    background: #000000;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    margin-bottom: 18px;
}

.tbp-detail-price-block {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35em;
    margin-bottom: 18px;
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    color: #000000;
}

.tbp-detail-price-label,
.tbp-detail-price-value,
.tbp-detail-price-sub {
    display: inline;
    margin: 0;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
}

.tbp-detail-guide-note {
    background: #ffffff;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 16px 0;
}

.tbp-detail-sidebar-policies {
    list-style: none;
    margin: 0;
    padding: 16px 0;
    border-top: 1px solid black;
    margin-top: 14px;
}

.tbp-detail-sidebar-policy {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    font-size: 11px;
    line-height: 1;
    color: #1a1a1a;
}

.tbp-detail-sidebar-policy:last-child {
    margin-bottom: 0;
}

.tbp-detail-policy-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
    flex-shrink: 0;
}

.tbp-detail-book-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin: 16px 0 28px 0;
    padding: 14px 40px;
    border: none;
    border-radius: 10px;
    background: #D75327;
    color: #ffffff;
    text-decoration: none;
    font-weight: 300;
    font-size: 1rem;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.tbp-detail-book-btn:focus,
.tbp-detail-book-btn:active,
.tbp-detail-book-btn:focus-visible,
.tbp-detail-book-btn:visited {
    background: #D75327;
    color: #ffffff;
    text-decoration: none;
}

.tbp-detail-book-btn:hover,
.tbp-detail-book-btn:focus:hover,
.tbp-detail-book-btn:visited:hover {
    background: #000000;
    border: none;
    color: #ffffff;
    text-decoration: none;
}

.tbp-detail-book-btn-label {
    flex: 1 1 auto;
    min-width: 0;
    color: #ffffff;
    white-space: nowrap;
}

.tbp-detail-book-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    line-height: 0;
}

.tbp-detail-book-btn-icon img {
    display: block;
    width: 70px;
    height: auto;
}

.tbp-detail-sidebar-footer {
    margin-top: 0;
}

.tbp-detail-sidebar-footer-divider {
    border-top: 1px solid #1a1a1a;
    margin: 18px 0 16px;
}

.tbp-detail-sidebar-footer-text {
    margin: 28px 0 28px 0;
    text-align: center;
    font-size: 0.82rem;
    line-height: 1.45;
    font-weight: 500;
    color: #1a1a1a;
}

.tbp-detail-sidebar-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.tbp-detail-sidebar-actions--single {
    grid-template-columns: 1fr;
}

.tbp-detail-sidebar-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

button.tbp-detail-sidebar-action {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
}

.tbp-detail-sidebar-action--enquiry {
    background: #000000;
    border: 1px solid #000000;
    color: #ffffff;
}

.tbp-detail-sidebar-action--enquiry:hover,
.tbp-detail-sidebar-action--enquiry:focus-visible {
    background: transparent;
    border-color: #000000;
    color: #000000;
}

.tbp-detail-sidebar-action--call {
    background: transparent;
    border: 1px solid #000000;
    color: #000000;
}

.tbp-detail-sidebar-action--call:hover,
.tbp-detail-sidebar-action--call:focus-visible {
    background: #000000;
    border-color: #000000;
    color: #ffffff;
}

.tbp-detail-events-banner {
    display: grid;
    grid-template-columns: 38% minmax(0, 1fr);
    margin-top: 24px;
    align-items: stretch;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    background: black;
    box-shadow: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tbp-detail-events-banner:hover,
.tbp-detail-events-banner:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.tbp-detail-events-banner-media {
    display: block;
    min-height: 108px;
    overflow: hidden;
    border-radius: 6px;
}

.tbp-detail-events-banner-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 108px;
    object-fit: cover;
}

.tbp-detail-events-banner-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 16px 18px;
    color: #ffffff;
    background: #1a1a1a;
    border-radius: 6px;
}

.tbp-detail-events-banner-title {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.tbp-detail-events-banner-title-line {
    display: block;
}

.tbp-detail-events-banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1;
    color: rgba(255, 255, 255, 0.92);
}

.tbp-detail-events-banner-arrow {
    display: block;
    width: 36px;
    height: auto;
    flex-shrink: 0;
}

.tbp-detail-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
}

.tbp-detail-section-head h2 {
    margin: 0;
}

.tbp-detail-section-divider {
    height: 1px;
    background: #dddddd;
    margin-bottom: 20px;
}

.tbp-detail-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 50px;
    padding: 12px 18px;
    border: 1px solid #000000;
    border-radius: 10px;
    background: #000000;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tbp-detail-download-btn:hover {
    background: transparent;
    border-color: #000000;
    color: #000000;
}

.tbp-detail-download-btn-label {
    flex-shrink: 0;
}

.tbp-detail-download-btn-icon {
    display: block;
    width: 16px;
    height: auto;
    flex-shrink: 0;
}

.tbp-detail-brochure {
    margin: 64px 0;
    padding: 32px 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible;
}

.tbp-detail-brochure-inner {
    position: relative;
    display: block;
    background: #D9D9D9;
    border-radius: 20px;
    padding: 16px 40px 16px 280px;
    overflow: visible;
    max-width: 100%;
    box-sizing: border-box;
}

.tbp-detail-brochure-image {
    position: absolute;
    left: -6px;
    top: 50%;
    z-index: 3;
    display: block;
    width: 250px;
    margin: 0;
    pointer-events: none;
    transform: translateY(-50%);
}

.tbp-detail-brochure-image img {
    display: block;
    width: 250px;
    max-width: none;
    height: auto;
    transform-origin: center center;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.22));
}

.tbp-detail-brochure-content h2 {
    margin: 0 0 6px;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.6rem, 3vw, 1.2rem);
    color: #000000;
}

.tbp-detail-brochure-content {
    min-width: 0;
}

.tbp-detail-brochure-content p {
    margin: 0 0 12px;
    color: #333333;
    line-height: 1.6;
    max-width: 100%;
}

.tbp-detail-brochure-message {
    margin: 0 0 12px;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #1a1a1a;
}

.tbp-detail-brochure-message.is-error {
    color: #b42318;
}

.tbp-detail-brochure-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #111111;
}

.tbp-detail-brochure-form input[type="email"] {
    width: 100%;
    max-width: 420px;
    padding: 14px 16px;
    border: none;
    border-radius: 10px;
    background: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 16px;
    box-sizing: border-box;
}

.tbp-detail-brochure-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60%;
    max-width: 415px;
    padding: 14px 0;
    border: 1px solid #000000;
    border-radius: 10px;
    background: #000000;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tbp-detail-brochure-btn:hover,
.tbp-detail-brochure-btn:focus-visible {
    background: transparent;
    border-color: #000000;
    color: #000000;
}

.tbp-detail-more-trips {
    margin-top: 56px;
    width: 100%;
    clear: both;
}

.tbp-detail-more-trips h2 {
    margin: 0 0 24px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    color: #FE7D21;
    text-align: left;
}

.tbp-detail-more-carousel {
    width: 100%;
    position: relative;
}

/* More Trips — drag infinite carousel (no arrows) */
.tbp-detail-more-carousel .tbp-cards-scroll-viewport {
    container-type: inline-size;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    user-select: none;
    -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
}

.tbp-detail-more-carousel .tbp-cards-scroll-viewport::-webkit-scrollbar {
    display: none;
}

.tbp-detail-more-carousel .tbp-cards-scroll-viewport.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}

.tbp-detail-more-carousel .tbp-detail-more-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 24px;
    width: max-content;
    margin-bottom: 0;
}

.tbp-detail-more-carousel .tbp-card {
    flex: 0 0 calc((100cqw - 24px) / 2);
    width: calc((100cqw - 24px) / 2);
    max-width: none;
    background-color: #d9d9d9;
    border-radius: 20px;
    cursor: default;
}

.tbp-detail-more-carousel .tbp-card:hover {
    transform: none;
    box-shadow: none;
}

.tbp-detail-more-carousel .tbp-card-body {
    min-height: 550px;
}

.tbp-detail-more-carousel .tbp-card-info {
    padding: 20px 18px 18px;
}

.tbp-detail-more-carousel .tbp-card-title {
    font-size: clamp(1.45rem, 2.1vw, 1.85rem);
    margin-bottom: 14px;
}

.tbp-detail-more-carousel .tbp-card-desc {
    font-size: 12px;
    line-height: 1.35;
    margin-bottom: 20px;
}

.tbp-detail-more-carousel .tbp-card-price-badge {
    background-color: #FE7D21;
    border-radius: 8px;
    padding: 9px 16px;
    margin-bottom: 24px;
}

.tbp-detail-more-carousel .tbp-card-meta {
    gap: 12px;
}

.tbp-detail-more-carousel .tbp-card-meta-item {
    font-size: 12px;
}

.tbp-detail-more-carousel .tbp-card-btn {
    margin-top: auto;
    padding: 15px 18px;
    border-radius: 10px;
}

.tbp-detail-more-carousel .tbp-card-image,
.tbp-detail-more-carousel .tbp-card-image img,
.tbp-detail-more-carousel .tbp-card-title,
.tbp-detail-more-carousel .tbp-card-desc,
.tbp-detail-more-carousel .tbp-card-meta,
.tbp-detail-more-carousel .tbp-card-price-badge {
    cursor: default;
    pointer-events: none;
}

.tbp-detail-more-carousel .tbp-card-header-row,
.tbp-detail-more-carousel .tbp-wishlist-heart,
.tbp-detail-more-carousel .tbp-card-btn {
    pointer-events: auto;
}

.tbp-detail-more-carousel .tbp-card-btn {
    cursor: pointer;
}

.tbp-detail-more-carousel .tbp-card-image {
    flex: 0 0 48%;
    max-width: 48%;
}

.tbp-detail-more-carousel.is-static .tbp-detail-more-track {
    width: 100%;
}

.tbp-detail-more-carousel.is-static .tbp-card {
    flex: 0 0 calc((100cqw - 24px) / 2);
    width: calc((100cqw - 24px) / 2);
}

.tbp-detail-more-carousel.is-static .tbp-card:only-child {
    flex: 0 0 calc((100cqw - 24px) / 2);
    width: calc((100cqw - 24px) / 2);
}

/* Send Enquiry modal */
.tbp-enquiry-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.tbp-enquiry-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.tbp-enquiry-modal-open {
    overflow: hidden;
}

.tbp-enquiry-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 22, 0.58);
    backdrop-filter: blur(4px);
}

.tbp-enquiry-modal-panel {
    position: relative;
    z-index: 2;
    width: min(920px, 92vw);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    padding: 48px 56px 40px;
    border-radius: 14px;
    background: #f3f3f3;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.tbp-enquiry-modal-close {
    position: absolute;
    top: 18px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    background: transparent;
    color: #1a1a1a;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease;
}

.tbp-enquiry-modal-close:hover,
.tbp-enquiry-modal-close:focus-visible {
    color: #000000;
    outline: none;
}

.tbp-enquiry-modal-header {
    text-align: center;
    margin-bottom: 28px;
}

.tbp-enquiry-modal-header h2 {
    margin: 0 0 12px;
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 700;
    line-height: 1.2;
    color: #000000;
}

.tbp-enquiry-modal-header p {
    margin: 0 auto;
    max-width: 620px;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #1a1a1a;
}

.tbp-enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tbp-enquiry-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.tbp-enquiry-form-row--full {
    grid-template-columns: 1fr;
}

.tbp-enquiry-field {
    min-width: 0;
}

/* Astra/Elementor input[type] rules beat .class — scope with #ids */
#tbp-enquiry-modal #tbp-enquiry-form .tbp-enquiry-input,
#tbp-enquiry-modal #tbp-enquiry-form input.tbp-enquiry-input,
#tbp-enquiry-modal #tbp-enquiry-form textarea.tbp-enquiry-input {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border: 1px solid #000000 !important;
    border-radius: 6px !important;
    background: transparent !important;
    background-color: transparent !important;
    color: #000000 !important;
    font-family: inherit;
    font-size: 0.92rem;
    line-height: 1.4;
    box-sizing: border-box;
    box-shadow: none !important;
    -webkit-appearance: none;
    appearance: none;
}

#tbp-enquiry-modal #tbp-enquiry-form .tbp-enquiry-input::placeholder,
#tbp-enquiry-modal #tbp-enquiry-form input.tbp-enquiry-input::placeholder,
#tbp-enquiry-modal #tbp-enquiry-form textarea.tbp-enquiry-input::placeholder,
#tbp-enquiry-modal #tbp-enquiry-form .tbp-enquiry-input::-webkit-input-placeholder,
#tbp-enquiry-modal #tbp-enquiry-form .tbp-enquiry-input::-moz-placeholder,
#tbp-enquiry-modal #tbp-enquiry-form .tbp-enquiry-input:-ms-input-placeholder {
    color: #000000 !important;
    opacity: 1 !important;
}

#tbp-enquiry-modal #tbp-enquiry-form .tbp-enquiry-input:focus,
#tbp-enquiry-modal #tbp-enquiry-form input.tbp-enquiry-input:focus,
#tbp-enquiry-modal #tbp-enquiry-form textarea.tbp-enquiry-input:focus {
    outline: none;
    border-color: #000000 !important;
    background: transparent !important;
    background-color: transparent !important;
    color: #000000 !important;
    box-shadow: none !important;
}

#tbp-enquiry-modal #tbp-enquiry-form input.tbp-enquiry-input:-webkit-autofill,
#tbp-enquiry-modal #tbp-enquiry-form input.tbp-enquiry-input:-webkit-autofill:hover,
#tbp-enquiry-modal #tbp-enquiry-form input.tbp-enquiry-input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #f3f3f3 inset !important;
    -webkit-text-fill-color: #000000 !important;
    caret-color: #000000;
    border: 1px solid #000000 !important;
}

.tbp-enquiry-textarea {
    min-height: 140px;
    resize: vertical;
}

#tbp-enquiry-modal #tbp-enquiry-form .tbp-enquiry-phone-wrap {
    display: flex;
    align-items: stretch;
    min-height: 48px;
    border: 1px solid #000000 !important;
    border-radius: 6px !important;
    background: transparent !important;
    background-color: transparent !important;
    overflow: hidden;
    box-shadow: none !important;
}

#tbp-enquiry-modal #tbp-enquiry-form .tbp-enquiry-phone-wrap:focus-within {
    border-color: #000000 !important;
    background: transparent !important;
    background-color: transparent !important;
}

#tbp-enquiry-modal #tbp-enquiry-form .tbp-enquiry-phone-prefix {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding: 0 12px;
    border-right: 1px solid #000000 !important;
    background: transparent !important;
    font-size: 0.88rem;
    font-weight: 600;
    color: #000000 !important;
    white-space: nowrap;
}

.tbp-enquiry-phone-flag {
    font-size: 1rem;
    line-height: 1;
}

#tbp-enquiry-modal #tbp-enquiry-form .tbp-enquiry-input--phone {
    min-height: 0;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    color: #000000 !important;
}

#tbp-enquiry-modal #tbp-enquiry-form .tbp-enquiry-input--phone::placeholder,
#tbp-enquiry-modal #tbp-enquiry-form .tbp-enquiry-input--phone::-webkit-input-placeholder,
#tbp-enquiry-modal #tbp-enquiry-form .tbp-enquiry-input--phone::-moz-placeholder,
#tbp-enquiry-modal #tbp-enquiry-form .tbp-enquiry-input--phone:-ms-input-placeholder {
    color: #000000 !important;
    opacity: 1 !important;
}

#tbp-enquiry-modal #tbp-enquiry-form .tbp-enquiry-input--phone:focus {
    background: transparent !important;
    background-color: transparent !important;
    color: #000000 !important;
    border: none !important;
    box-shadow: none !important;
}

.tbp-enquiry-form-message {
    margin: 0;
    text-align: center;
    font-size: 0.86rem;
    line-height: 1.45;
    color: #1a1a1a;
}

.tbp-enquiry-form-message.is-error {
    color: #b42318;
}

.tbp-enquiry-form-message.is-success {
    color: #067647;
}

.tbp-enquiry-submit {
    display: block;
    width: 100%;
    max-width: 360px;
    margin: 8px auto 0;
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid #000000;
    border-radius: 8px;
    background: #000000;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.tbp-enquiry-submit:hover,
.tbp-enquiry-submit:focus-visible {
    background: transparent;
    border-color: #000000;
    color: #000000;
    outline: none;
}

.tbp-enquiry-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .tbp-detail-more-carousel .tbp-card,
    .tbp-detail-more-carousel.is-static .tbp-card,
    .tbp-detail-more-carousel.is-static .tbp-card:only-child {
        flex: 0 0 calc(100cqw - 32px);
        width: calc(100cqw - 32px);
    }

    .tbp-detail-more-carousel .tbp-card-body {
        min-height: 0;
    }
}

@media (max-width: 960px) {
    .tbp-detail-layout {
        grid-template-columns: 1fr;
    }

    .tbp-detail-sidebar {
        position: static;
        top: auto;
        max-width: none;
        justify-self: stretch;
    }

    .tbp-detail-sidebar .tbp-detail-booking-card {
        margin-bottom: 0;
    }

    .tbp-detail-gallery,
    .tbp-detail-gallery--solo {
        --tbp-gallery-height: auto;
        grid-template-columns: 1fr;
        height: auto;
    }

    .tbp-detail-gallery-main {
        height: clamp(260px, 58vw, 360px);
        min-height: 0;
    }

    .tbp-detail-gallery-thumbs {
        height: clamp(220px, 50vw, 320px);
        min-height: 0;
    }

    .tbp-detail-gallery-thumbs--count-2 {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
    }

    .tbp-detail-gallery-thumbs--count-1 {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }

    .tbp-detail-gallery-thumbs--count-3 {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }

    .tbp-detail-gallery-thumbs--count-3 .tbp-detail-gallery-thumb:nth-child(3) {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .tbp-gallery-lightbox {
        padding: 24px 16px;
    }

    .tbp-gallery-lightbox-controls {
        gap: 12px;
    }

    .tbp-gallery-lightbox-stage {
        width: 85vw;
        max-width: 85vw;
        height: min(68vh, calc(85vw * 1.2));
    }

    #tbp-gallery-lightbox .tbp-gallery-lightbox-close,
    #tbp-gallery-lightbox .tbp-gallery-lightbox-nav {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }

    #tbp-gallery-lightbox .tbp-gallery-lightbox-icon {
        width: 20px;
        height: 20px;
    }

    #tbp-gallery-lightbox .tbp-gallery-lightbox-close {
        top: 10px;
        right: 10px;
    }

    .tbp-detail-brochure {
        padding: 20px 0;
    }

    .tbp-detail-brochure-inner {
        text-align: center;
        padding: 200px 24px 28px;
    }

    .tbp-detail-brochure-image {
        position: absolute;
        left: 50%;
        top: -18px;
        width: 200px;
        transform: translateX(-50%);
    }

    .tbp-detail-brochure-image img {
        width: 200px;
        transform: rotate(-6deg);
    }

    form#tbp-brochure-form {
        width: 100%;
        margin: 0 auto;
    }

    .tbp-detail-brochure-form input[type="email"],
    .tbp-detail-brochure-btn {
        max-width: 100%;
    }

    .tbp-detail-section-head {
        flex-direction: row;
        align-items: center;
    }

    .tbp-enquiry-modal-panel {
        width: min(920px, 94vw);
        padding: 40px 24px 28px;
    }

    .tbp-enquiry-form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {

    .tbp-detail-nav-link{
        font-size: 10px;
        padding: 8px;
    }

    .tbp-detail-experience-list {
        width: 100%;
    }

    .tbp-detail-section-head {
        flex-direction: row;
        align-items: center;
    }

    .tbp-detail-download-btn {
        width: 50%;
        justify-content: space-between;
        gap: 14px;
        padding: 10px 14px;
        font-size: 12px;
        border-radius: 8px;
    }

    .tbp-detail-download-btn-icon {
        width: 12px;
        height: auto;
    }

    .tbp-detail-brochure {
        margin: 36px 0;
        padding: 12px 0;
    }

    .tbp-detail-brochure-inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding: 24px 18px;
        text-align: left;
        overflow: hidden;
    }

    .tbp-detail-brochure-image {
        position: relative;
        left: auto;
        top: auto;
        width: auto;
        margin: 0 auto 4px;
        transform: none;
        pointer-events: none;
    }

    .tbp-detail-brochure-image img {
        width: 100%;
        margin: 0 auto;
        transform: rotate(-6deg);
    }

    .tbp-detail-brochure-content {
        width: 100%;
    }

    .tbp-detail-brochure-content h2 {
        margin-bottom: 10px;
        font-size: 1.35rem;
        text-align: center;
    }

    .tbp-detail-brochure-content p {
        margin-bottom: 18px;
        font-size: 0.88rem;
        line-height: 1.55;
        text-align: center;
    }

    form#tbp-brochure-form {
        width: 100%;
        margin: 0;
    }

    .tbp-detail-brochure-form label {
        margin-bottom: 6px;
    }

    .tbp-detail-brochure-form input[type="email"] {
        max-width: none;
        width: 100%;
        padding: 12px 14px;
        font-size: 0.9rem;
        margin-bottom: 12px;
        border-radius: 8px;
    }

    .tbp-detail-brochure-btn {
        width: 70%;
        max-width: none;
        padding: 13px 16px;
        font-size: 0.82rem;
        border-radius: 8px;
    }

    .tbp-enquiry-modal {
        padding: 16px;
    }

    .tbp-enquiry-modal-panel {
        padding: 36px 18px 24px;
    }

    .tbp-enquiry-submit {
        max-width: none;
    }
}
