/* Single Tour Template Styles */

/* Notification System Styles */
.roamease-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 4px;
    z-index: 9999;
    display: none;
    max-width: 350px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.roamease-notification.show {
    display: block;
    animation: slideIn 0.3s ease-out;
}

.roamease-notification.success {
    background-color: var(--re-success, #4CAF50);
    color: white;
}

.roamease-notification.error {
    background-color: var(--re-danger, #f44336);
    color: white;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Single Tour Layout (scoped, non-destructive to theme) */
.roamease-single-tour {
    width: 100%;
    max-width: var(--re-content-max, 1240px);
    margin: 0 auto;
   /* Padding moved to body‑scoped variant to avoid affecting similarly named elements elsewhere */
    box-sizing: border-box;
}

/* Scoped spacing: only apply inner horizontal padding when rendered on a single tour page */
body.single-tours .roamease-single-tour,
body.post-type-archive-tours .roamease-single-tour,
body.roamease-single-tours-fullwidth .roamease-single-tour {
    padding: 0 clamp(18px, 0vw, 60px);
}

/* Full-bleed wrapper for sections that intentionally span edge-to-edge (gallery, related tours) */
.roamease-full-width-sections {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
}
.roamease-full-width-sections > .tour-section {
    max-width: var(--re-content-max, 1240px);
    margin: 0 auto;
    padding: 0 clamp(16px, 3.5vw, 50px);
}

/* Responsive Professional Spacing */
/* Tablet spacing */
@media (max-width: 1024px) { body.single-tours .roamease-single-tour, body.post-type-archive-tours .roamease-single-tour, body.roamease-single-tours-fullwidth .roamease-single-tour { padding: 0 clamp(18px,4vw,40px); } }

/* Mobile spacing */
@media (max-width: 768px) { body.single-tours .roamease-single-tour, body.post-type-archive-tours .roamease-single-tour, body.roamease-single-tours-fullwidth .roamease-single-tour { padding: 0 clamp(16px,5vw,32px); } }

/* Small mobile spacing */
@media (max-width: 480px) { body.single-tours .roamease-single-tour, body.post-type-archive-tours .roamease-single-tour, body.roamease-single-tours-fullwidth .roamease-single-tour { padding: 0 18px; } }
/* Removed aggressive global overrides that forced theme containers full width.
   Footer & site containers now fall back to theme defaults. */

/* Utility: optional manual full-bleed (can be added to any element) */
.re-full-bleed { width:100vw; position:relative; left:50%; right:50%; margin-left:-50vw; margin-right:-50vw; }

/* Avoid horizontal scroll from full-bleed wrapper */
.roamease-full-width-sections { overflow-x: hidden; }

/* Ensure all tour sections have proper spacing but no width restrictions */
.tour-section {
    width: 100%;
    box-sizing: border-box;
}

/* Photo gallery & related tours live inside the full-bleed wrapper; their inner width is constrained above */
/* Removed stray '.' that caused CSS parse error */

/* Mobile Optimization for Gallery and Related Tours */
@media (max-width: 480px) {
    .roamease-full-width-sections > .tour-section { padding: 0 18px; }
    
    .gallery-slideshow, .gallery-slideshow .slideshow-container, .gallery-slider { width:100%; margin:0; }
    
    .gallery-slide img {
        width: 100%;
        border-radius: 8px; /* Slightly smaller border radius for mobile */
    }
    
    /* Gallery navigation arrows - better positioning for mobile */
    .gallery-nav {
        width: 35px;
        height: 35px;
        font-size: 18px;
        /* Ensure they're accessible but not too intrusive */
    }
    
    .related-tours-container, .related-tours-slideshow { width:100%; margin:0; position:relative; }
    
    /* Related tour cards - better width utilization */
    .related-tour-slide {
        width: 100%;
        max-width: none;
        margin: 0;
    }
    
    .related-tour-slide .tour-card {
        margin: 0 4px; /* Minimal side margin for visual separation */
        border-radius: 8px;
    }
    
    /* Related tours navigation - mobile optimized */
    .related-nav {
        width: 35px;
        height: 35px;
        font-size: 16px;
        /* Better positioning for mobile touch */
        top: 40%;
    }
    
    .related-nav.prev {
        left: 5px;
    }
    
    .related-nav.next {
        right: 5px;
    }
    
    /* Gallery indicators mobile optimization */
    .gallery-indicators {
        margin-top: 12px;
        justify-content: center;
    }
    
    .gallery-indicators .indicator {
        margin: 0 4px;
        width: 8px;
        height: 8px;
    }
    
    /* Section titles mobile spacing */
    .photo-gallery-section h2,
    .related-tours-section h2 {
        margin: 0 12px 20px 12px; /* Restore some margin for section titles */
        text-align: center;
    }
    
    /* Ensure content doesn't feel too cramped */
    .photo-gallery-section .tour-section,
    .related-tours-section .tour-section {
        padding: 0;
    }
    
    /* Tour card content mobile spacing */
    .related-tour-slide .tour-content {
        padding: 12px;
    }
    
    .related-tour-slide .tour-title {
        font-size: 16px;
        line-height: 1.3;
        margin-bottom: 8px;
    }
    
    .related-tour-slide .tour-meta {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .related-tour-slide .tour-excerpt {
        font-size: 13px;
        line-height: 1.4;
    }
    
    /* Mobile touch optimization */
    .gallery-slide {
        cursor: pointer; /* Indicate gallery images are tappable */
    }
    
    /* Ensure buttons are touch-friendly */
    .related-tour-slide .btn {
        min-height: 44px; /* iOS/Android recommended touch target */
        padding: 12px 20px;
        font-size: 14px;
    }
    
    /* Better visual separation on mobile */
    .photo-gallery-section {
        background: rgba(0,0,0,0.02);
        border-top: 1px solid rgba(0,0,0,0.05);
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .related-tours-section {
        background: #fafafa;
        border-top: 1px solid rgba(0,0,0,0.05);
    }
}

/* Additional mobile enhancement for very small screens */
@media (max-width: 360px) {
    .photo-gallery-section,
    .related-tours-section {
        padding: 15px 5px; /* Even tighter spacing for very small screens */
    }
    
    .gallery-nav,
    .related-nav {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .related-tour-slide .tour-card {
        margin: 0 2px;
    }
}

.tour-content-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin: 40px 0;
    width: 100%;
    box-sizing: border-box;
}

/* Ensure content areas scale properly with full-width */
.tour-overview-included {
    flex: 1;
    min-width: 0; /* Allow shrinking */
    max-width: none;
}

.inquiry-form-positioned {
    width: 100%;
    max-width: 460px;
    flex-shrink: 0;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    position: sticky;
    top: 20px;
}

/* Itinerary Styles - Clean Modern Design */
.tour-itinerary {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.itinerary-day {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.itinerary-day:hover {
    border-color: #d1d5db;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.itinerary-day .day-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    background: #ffffff;
    transition: background 0.2s ease;
}

.itinerary-day .day-header:hover {
    background: #fafafa;
}

.itinerary-day .day-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.itinerary-day .day-number {
    background: #d97706;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    min-width: 80px;
    text-align: center;
}

.itinerary-day .day-title {
    font-weight: 600;
    font-size: 16px;
    color: #1f2937;
}

.itinerary-day .toggle-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: transform 0.2s ease, color 0.2s ease;
}

.itinerary-day .toggle-icon:before {
    content: '›';
    font-size: 24px;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.itinerary-day.open .toggle-icon:before {
    transform: rotate(90deg);
}

.itinerary-day.open .toggle-icon {
    color: #d97706;
}

.itinerary-day .day-content {
    padding: 20px;
    background: #fafafa;
    border-top: 1px solid #e5e7eb;
}

.itinerary-day .day-description {
    color: #4b5563;
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 16px;
}

.itinerary-day .day-description p:last-child {
    margin-bottom: 0;
}

.itinerary-day .day-activities {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 16px;
}

.itinerary-day .day-activities h4 {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
}

.itinerary-day .day-activities p,
.itinerary-day .day-activities li {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
}

.itinerary-day .day-activities ul {
    margin: 0;
    padding-left: 20px;
    list-style: disc;
}

.itinerary-day .day-activities li + li {
    margin-top: 6px;
}

/* Meta Info Container (Accommodation + Meals) */
.itinerary-day .day-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    align-items: stretch;
}

.itinerary-day .day-meta-card {
    flex: 1 1 220px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    min-height: 110px;
    align-self: stretch;
    justify-content: flex-start;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.itinerary-day .day-meta-card .meta-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.35);
    align-self: flex-start;
}

.itinerary-day .day-meta-card .meta-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    justify-content: flex-start;
    align-items: flex-start;
}

.itinerary-day .day-meta-card .meta-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
}

.itinerary-day .day-meta-card .meta-value {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .itinerary-day .day-meta-card {
        min-height: unset;
    }
}

.tour-overview-hero-content {
    flex: 1;
    min-width: 350px;
    height: 500px;
    display: flex;
    flex-direction: column;
}

.inquiry-form-positioned {
    width: 100%;
    max-width: 460px;
    flex-shrink: 0;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    position: sticky;
    top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Slightly reduce image height on tablet to keep arrows on image area */
    .related-tours-section { --rt-img-h: 200px; }
    .tour-content-container {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        justify-content: center;
    }
    
    .tour-overview-included {
        max-width: 100%;
    }
    
    .inquiry-form-positioned {
        width: 100%;
        position: static;
        margin: 0 auto;
        max-width: 100%;
        padding: 0 15px;
    }
}

/* Tour Breadcrumb */
.tour-breadcrumb {
    padding: 14px 0;
    font-size: 14px;
    color: var(--re-text, #495057);
    border-bottom: 1px solid var(--re-border, #eef1f4);
    margin-bottom: 24px;
}

.breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-item:not(:last-child)::after {
    content: '›';
    color: rgba(var(--re-text-rgb, 72,84,96), 0.5);
    font-size: 16px;
}

/* Link colors moved to global pill styles in frontend.css to keep uniform */

.tour-breadcrumb .current {
    color: var(--re-text, #2c3e50);
    font-weight: 600;
}

@media (max-width: 768px) {
    .tour-breadcrumb {
        font-size: 13px;
        padding: 12px 0;
    }
    .breadcrumb-list {
        gap: 6px;
    }
}



/* Hero Section */
.tour-hero {
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
    align-items: stretch;
}

.hero-gallery {
    flex: 2;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.main-image {
    width: 100%;
    
    max-height: 720px;
    overflow: hidden;
    position: relative;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center top !important;
    display: block;
}

/* Responsive Heights */
@media (max-width: 1024px) {
    .main-image {
        height: clamp(360px, 55vh, 540px);
        max-height: 540px;
    }
}

@media (max-width: 768px) {
    .main-image {
        height: clamp(300px, 48vh, 420px);
        max-height: 420px;
    }
}

@media (max-width: 480px) {
    .main-image {
        height: clamp(240px, 42vh, 320px);
        max-height: 320px;
    }
}

.gallery-thumbnails {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
}

.thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid rgba(255,255,255,0.8);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    position: relative;
}

.thumbnail:hover {
    border-color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.thumbnail:active {
    transform: scale(0.98);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.more-images {
    background: rgba(0,0,0,0.7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
}

/* Favorite Button */
.btn-favorite {
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 25px;
    padding: 8px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-favorite:hover,
.btn-favorite.active {
    background: var(--re-danger, #e74c3c);
    color: white;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .tour-main-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .roamease-single-tour h1 {
        font-size: 1.9em;
        margin-bottom: 20px;
    }
    
    .tour-section h2 {
        font-size: 1.6em;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    
    /* .roamease-single-tour h3 {
        font-size: 1.3em;
        margin-top: 20px;
        margin-bottom: 12px;
    } */
}

@media (max-width: 480px) {
    .roamease-single-tour h1 {
        font-size: 1.7em;
    }
    
    .tour-section h2 {
        font-size: 1.5em;
    }
    
    /* .roamease-single-tour h3 {
        font-size: 1.2em;
    } */
}


    /* --------------------------------------------------
       Optional Full-Width Mode (Scoped & Non-Destructive)
       Activated by adding body class: .roamease-single-tours-fullwidth
       This avoids altering default max-width for themes that rely on it.
       Only affects single tour template when that body class is present.
    -------------------------------------------------- */
    body.roamease-single-tours-fullwidth .roamease-single-tour {
        max-width: 100%;
        width: 100%;
        /* User override: remove inner horizontal padding in fullwidth mode */
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    /* Re-introduce controlled gutters for readability on non full-bleed direct children */
    body.roamease-single-tours-fullwidth .roamease-single-tour { --re-fw-gutter: clamp(20px, 4vw, 70px); }
    /* Apply gutters ONLY to known content blocks (do not touch footer or unrelated wrappers) */
    body.roamease-single-tours-fullwidth .roamease-single-tour > .tour-header,
    body.roamease-single-tours-fullwidth .roamease-single-tour > .tour-hero,
    body.roamease-single-tours-fullwidth .roamease-single-tour > .tour-content-container,
    body.roamease-single-tours-fullwidth .roamease-single-tour > .includes-excludes-container,
    body.roamease-single-tours-fullwidth .roamease-single-tour > .quick-facts-panel,
    body.roamease-single-tours-fullwidth .roamease-single-tour > .tour-content, /* fallback if structure changes */
    body.roamease-single-tours-fullwidth .roamease-single-tour > .tour-overview-included {
        padding-left: var(--re-fw-gutter);
        padding-right: var(--re-fw-gutter);
        box-sizing: border-box;
    }
    /* Breadcrumb strip spacing (it sits before .tour-header in markup) */
    body.roamease-single-tours-fullwidth .roamease-single-tour > .roamease-enhanced-breadcrumbs,
    body.roamease-single-tours-fullwidth .roamease-single-tour > .re-breadcrumbs {
        padding-left: var(--re-fw-gutter);
        padding-right: var(--re-fw-gutter);
        box-sizing: border-box;
    }
    /* Allow opting out on any element by adding .roamease-no-gutter */
    body.roamease-single-tours-fullwidth .roamease-single-tour .roamease-no-gutter { padding-left:0 !important; padding-right:0 !important; }
    /* Ensure the gallery / related tours wrapper stays true full bleed */
    body.roamease-single-tours-fullwidth .roamease-single-tour > .roamease-full-width-sections { padding-left:0; padding-right:0; }
    /* Hero column image alignment fix: restore safe inset when hero participates in grid */
    body.roamease-single-tours-fullwidth .roamease-single-tour .tour-hero {
        position: relative;
    }
    body.roamease-single-tours-fullwidth .roamease-single-tour .tour-hero img {
        display:block;
        width:100%;
        height:auto;
        object-fit:cover;
        border-radius:12px;
    }
    /* Allow designated breakout sections to truly span viewport without inner re-constraining */
    body.roamease-single-tours-fullwidth .roamease-full-width-sections > .tour-section {
        max-width: 100%;
    }
    /* Optional: hero or gallery wrappers could be made edge-to-edge if they inherit .tour-hero */
    body.roamease-single-tours-fullwidth .tour-hero {
        width: 100%;
    }
    /* Prevent unexpected horizontal scroll from earlier 100vw technique if any */
    body.roamease-single-tours-fullwidth { overflow-x: hidden; }

    /* Footer alignment fix: ensure theme footer resumes its natural full width and isn't visually indented
       by the single tour content width logic. We only scope to body class so other pages remain unchanged. */
    body.roamease-single-tours-fullwidth footer,
    body.roamease-single-tours-fullwidth .site-footer,
    body.roamease-single-tours-fullwidth #colophon {
        max-width: 100% !important; /* override any inherited 1240px cap from nested containers */
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0;
        padding-right: 0;
    }
    /* If the footer itself contains an inner .container / .wrap that centers to 1240px, allow it to expand only
       when specifically inside our single tour full width context (non-destructive override). */
    body.roamease-single-tours-fullwidth footer .container,
    body.roamease-single-tours-fullwidth .site-footer .container,
    body.roamease-single-tours-fullwidth #colophon .container,
    body.roamease-single-tours-fullwidth footer .wrap,
    body.roamease-single-tours-fullwidth .site-footer .wrap,
    body.roamease-single-tours-fullwidth #colophon .wrap {
        max-width: 100% !important;
    }

    /* Guard: if theme adds horizontal padding inside footer containers, keep a modest responsive gutter */
    body.roamease-single-tours-fullwidth footer .container,
    body.roamease-single-tours-fullwidth .site-footer .container,
    body.roamease-single-tours-fullwidth #colophon .container {
        padding-left: clamp(16px, 3vw, 40px);
        padding-right: clamp(16px, 3vw, 40px);
        box-sizing: border-box;
    }

    /* Elementor footer (boxed sections) – convert boxed container to fluid on single tour pages only */
    body.roamease-single-tours-fullwidth .elementor-location-footer .elementor-section.elementor-section-boxed > .elementor-container,
    body.roamease-single-tours-fullwidth footer .elementor-section.elementor-section-boxed > .elementor-container,
    body.roamease-single-tours-fullwidth .site-footer .elementor-section.elementor-section-boxed > .elementor-container {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: clamp(16px, 3.5vw, 60px);
        padding-right: clamp(16px, 3.5vw, 60px);
    }

    /* If Elementor applies inline width limits via style attribute, ensure stretch still honored */
    body.roamease-single-tours-fullwidth .elementor-location-footer .elementor-section.elementor-section-boxed[data-element_type="section"] > .elementor-container {
        max-width: 100% !important;
    }

    /* Full-bleed footer background: stretch boxed Elementor footer sections edge-to-edge (single tour only) */
    body.roamease-single-tours-fullwidth .elementor-location-footer .elementor-section.elementor-section-boxed,
    body.roamease-single-tours-fullwidth footer .elementor-section.elementor-section-boxed,
    body.roamease-single-tours-fullwidth .site-footer .elementor-section.elementor-section-boxed {
        position: relative;
        /* Switch to logical full-bleed method: stretch using viewport + body offset guard */
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        /* If parent theme uses an internal constrained container, remove inherited padding */
        padding-left: 0;
        padding-right: 0;
    }
    /* Preserve readable content width via internal padding when we forced container full width earlier */
    body.roamease-single-tours-fullwidth .elementor-location-footer .elementor-section.elementor-section-boxed > .elementor-container,
    body.roamease-single-tours-fullwidth footer .elementor-section.elementor-section-boxed > .elementor-container {
        padding-left: clamp(28px,4vw,80px) !important;
        padding-right: clamp(28px,4vw,80px) !important;
        box-sizing: border-box;
    }

    /* If a parent theme wraps footer in a .container/.site-container still imposing margin auto + max-width, neutralize within scope */
    body.roamease-single-tours-fullwidth footer .container,
    body.roamease-single-tours-fullwidth .site-footer .container,
    body.roamease-single-tours-fullwidth #colophon .container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding-left: clamp(28px,4vw,80px) !important;
        padding-right: clamp(28px,4vw,80px) !important;
        box-sizing: border-box;
    }

    /* Ensure no unintended horizontal scroll due to earlier full-width child sections */
    body.roamease-single-tours-fullwidth .site-footer, 
    body.roamease-single-tours-fullwidth footer { overflow-x: clip; }
.tour-section {
    margin-bottom: 40px;
}

/* Professional Heading Styles */
.roamease-single-tour h1 {
    font-size: 2.2em;
    font-weight: 700;
    color: var(--re-heading, #1a252f);
    margin-bottom: 25px;
    text-align: left;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.tour-section h2 {
    font-size: 1.8em;
    font-weight: 600;
    color: var(--re-heading, #1a252f);
    margin-bottom: 25px;
    margin-top: 40px;
    text-align: left;
    padding-bottom: 12px;
    position: relative;
}

@media (max-width: 768px) {
    .tour-section h2 {
        text-align: center;
    }
}

.tour-section h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--re-accent, #ff7a18);
}

@media (max-width: 768px) {
    .tour-section h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Photo Gallery and Related Tours - Always Centered */
.photo-gallery-section h2,
.related-tours-section h2 {
    text-align: center !important;
}

.photo-gallery-section h2::after,
.related-tours-section h2::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
}

/* .roamease-single-tour h3 {
    font-size: 1.4em;
    font-weight: 600;
    color: #34495e;
    margin-bottom: 15px;
    margin-top: 25px;
    text-align: left;
} */

.tour-description {
    line-height: 1.6;
    color: var(--re-text, #555);
}

/* Fine-tune Tour Overview description sizing for readability */
.tour-section .tour-description { font-size: 0.95rem; }

.includes-excludes {
    display: block;
}

.includes,
.excludes {
    margin-bottom: 20px;
}

.includes h3,
.excludes h3 {
    margin-bottom: 15px;
    font-size: 1.2em;
}

.includes .content,
.excludes .content {
    color: var(--re-text, #555);
    line-height: 1.5;
}
.includes .content, .excludes .content { display: flex; flex-direction: column; gap: 10px; }
.include-item, .exclude-item { background: var(--re-surface, #f7fafc); border: 1px solid var(--re-border, #e9ecef); border-radius: 8px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.include-item .checkmark { background: rgba(var(--re-success-rgb, 33,167,91), 0.15); color: var(--re-success, #21a75b); border-radius: 999px; width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.exclude-item::before { content: '✖'; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; background: rgba(var(--re-danger-rgb, 230,74,25), 0.15); color: var(--re-danger, #e64a19); border-radius: 999px; font-weight: 700; margin-right: 10px; }
.includes-excludes-container { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 900px) { .includes-excludes-container { grid-template-columns: 1fr; } }

.tour-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.tour-info-card {
    background: var(--re-bg, #fff);
    border: 1px solid var(--re-border, #ddd);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tour-info-card h3 {
    margin-bottom: 20px;
    color: var(--re-heading, #333);
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--re-border, #eee);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item .label {
    font-weight: 600;
    color: var(--re-text, #666);
}

.info-item .value {
    color: var(--re-text, #333);
}

.sticky-booking-form {
    position: sticky;
    top: 20px;
}

.booking-card {
    background: var(--re-bg, #fff);
    border: 1px solid var(--re-border, #ddd);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.booking-card h3 {
    margin: 0 0 20px 0;
    color: var(--re-heading, #333);
}

@media (max-width: 768px) {
    .tour-hero {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-content {
        min-width: auto;
    }
    
    .tour-main-content {
        grid-template-columns: 1fr;
    }
    
    .includes-excludes {
        grid-template-columns: 1fr;
    }
    
    .booking-actions {
        flex-direction: column;
    }
    
    .sticky-booking-form {
        position: static;
    }
    
    .tour-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .related-tours-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Related Tours Styles */
.related-tours-section {
    margin: 50px 0;
    padding: 40px 0;
    border-top: 2px solid var(--re-border, #f0f0f0);
}

.related-tours-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--re-heading, #333);
    font-size: 2em;
}


/* Enhanced Price Card Styles */
.price-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    overflow: hidden;
    border: 1px solid #e1e1e1;
}

.price-header {
    background: var(--re-primary, #0073aa);
    color: white;
    padding: 25px;
    text-align: center;
}

.main-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-bottom: 15px;
}

.currency {
    font-size: 18px;
    font-weight: 500;
}

.amount {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
}

.per-person {
    font-size: 16px;
    opacity: 0.9;
}

.enquiry-price {
    text-align: center;
}

.enquiry-text {
    font-size: 24px;
    font-weight: 600;
    color: var(--re-accent, #ff6b35);
    background: white;
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
}

.price-features {
    padding: 20px 25px;
    background: var(--re-surface, #f8f9fa);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--re-text, #555);
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item i {
    color: var(--re-primary, #0073aa);
    font-size: 16px;
    width: 16px;
}

.booking-form {
    padding: 25px;
}

.booking-form h3 {
    margin: 0 0 20px 0;
    color: var(--re-heading, #333);
    text-align: center;
}

/* Breadcrumb Styles */
.tour-breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--re-text, #666);
}

.tour-breadcrumb a {
    color: var(--re-link, #0073aa);
    text-decoration: none;
    transition: color 0.3s ease;
}

.tour-breadcrumb a:hover {
    color: var(--re-link-hover, #005a87);
    text-decoration: underline;
}

.tour-breadcrumb .separator {
    margin: 0 8px;
    color: rgba(var(--re-text-rgb, 60,60,60), 0.6);
}

.tour-breadcrumb .current {
    color: var(--re-text, #333);
    font-weight: 500;
}

/* Tour Header Styles */
.tour-header {
    margin-bottom: 30px;
}

.tour-header .tour-title {
    font-size: 2.5em;
    margin: 0 0 15px 0;
    color: var(--re-heading, #333);
    line-height: 1.2;
}

.tour-header .tour-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.tour-header .meta-item {
    background: var(--re-surface, #f8f9fa);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    color: var(--re-text, #333);
    border: 1px solid var(--re-border, #e1e1e1);
}

.tour-header .btn-favorite {
    background: var(--re-accent, #ff6b35);
    width: auto;
    color: white;
    border: none;
    /* Match standard .btn-large sizing for uniformity */
    padding: 12px 24px;
    font-size: 16px;
    line-height: 1.4;
    border-radius: 20px; /* keep pill look as-is (style unchanged) */
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tour-header .btn-favorite:hover {
    background: var(--re-accent, #e55a2b);
    transform: translateY(-1px);
}

/* Hero Content */
.hero-content {
    flex: 1;
    min-width: 350px;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

/* Hero Price Card Styles */
.hero-price-card {
    background: var(--re-bg, #ffffff);
    width: 90%;
    max-height: 500px;
    color: var(--re-text, #333);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    border: 1px solid var(--re-border, #e0e0e0);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
}

.hero-price-card .main-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 12px;
}

.hero-price-card .currency {
    font-size: 18px;
    font-weight: 500;
    color: var(--re-text, #666);
}

.hero-price-card .amount {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    color: var(--re-accent, #ff6b35);
}

.hero-price-card .per-person {
    font-size: 14px;
    color: var(--re-text, #666);
}

.hero-price-card .child-price {
    text-align: center;
    font-size: 14px;
    color: var(--re-text, #666);
    margin-bottom: 10px;
}

.hero-price-card .enquiry-price {
    text-align: center;
    margin-bottom: 10px;
}

.hero-price-card .enquiry-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--re-accent, #ff6b35);
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
}

.hero-price-card .price-features {
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hero-price-card .feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    padding: 2px 0;
    color: var(--re-text, #555);
}

.hero-price-card .feature-item i {
    font-size: 14px;
    width: 14px;
    flex-shrink: 0;
    color: var(--re-success, #28a745);
}

.hero-price-card .booking-action .btn {
    width: 100%;
    background: var(--re-accent, #ff6b35);
    color: white;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-price-card .booking-action .btn:hover {
    background: var(--re-primary, #ff8c42);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--re-accent-rgb, 255,107,53), 0.3);
}

/* Inquire button should match Book Now CTA styling */
.inquiry-form-card .btn-inquiry {
    width: 100%;
    background: var(--re-accent, #ff6b35);
    color: #fff;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
}
.inquiry-form-card .btn-inquiry:hover {
    background: var(--re-primary, #ff8c42);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--re-accent-rgb, 255,107,53), 0.3);
}
.inquiry-form-card .btn-inquiry:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--re-accent-rgb, 255,122,24),0.25);
}

/* Tour Info Links */
.tour-info-card .value a {
    color: var(--re-link, #0073aa);
    text-decoration: none;
    transition: color 0.3s ease;
}

.tour-info-card .value a:hover {
    color: var(--re-link-hover, #005a87);
    text-decoration: underline;
}

/* Inquiry Form Styles */
.inquiry-form-card {
    background: #fff;
    width: 100%;
    border-radius: 15px; /* match .price-card */
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    padding: 28px 30px 24px;
    margin-top: 40px; /* create a little separation below price card when stacked or scrolled */
    border: 1px solid #e1e1e1;
    position: relative;
}

.inquiry-form-card h3 {
    margin: 0 0 18px 0;
    color: #111;
    text-align: center;
    font-size: 1.35em;
    font-weight: 600;
}

/* Align inquiry card width & internal typography rhythm with price card */
body.roamease-single-tours-fullwidth .inquiry-form-positioned { width:100%; }
body.roamease-single-tours-fullwidth .inquiry-form-positioned .inquiry-form-card p {
    font-size: 0.93rem;
    line-height: 1.5;
    color: #444;
    text-align: center;
    margin: 0 0 22px;
}

/* Unify button width with price card booking button */
body.roamease-single-tours-fullwidth .inquiry-form-card .form-actions .btn-inquiry {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    font-weight: 600;
    letter-spacing: .3px;
}

/* Optional: stick both cards the same visual top alignment inside a CSS grid column if using .tour-content-container flex/grid */
@media (min-width: 992px) {
  body.roamease-single-tours-fullwidth .tour-content-container { align-items: flex-start; }
  body.roamease-single-tours-fullwidth .price-card, 
  body.roamease-single-tours-fullwidth .inquiry-form-card { 
      max-width: 100%;
  }
}

/* Harmonize spacing below the inquiry card with following sections */
body.roamease-single-tours-fullwidth .inquiry-form-positioned { margin-bottom: 40px; }
/* Enforce 70/30 column layout only in fullwidth context */
body.roamease-single-tours-fullwidth .tour-content-container {
    display: grid;
    grid-template-columns: minmax(0, 70%) minmax(260px, 30%);
    align-items: flex-start;
    gap: 50px;
}
/* Ensure main content can shrink without overflow */
body.roamease-single-tours-fullwidth .tour-content-container .tour-overview-included { width:100%; }
/* Price & inquiry cards stack within the second column if both present */
body.roamease-single-tours-fullwidth .tour-content-container .inquiry-form-positioned,
body.roamease-single-tours-fullwidth .tour-content-container .hero-price-card,
body.roamease-single-tours-fullwidth .tour-content-container .price-card { width:100%; }
/* Space between stacked cards */
body.roamease-single-tours-fullwidth .tour-content-container .hero-price-card + .inquiry-form-positioned { margin-top: 30px; }
@media (max-width: 992px) {
    body.roamease-single-tours-fullwidth .tour-content-container { grid-template-columns: 1fr; }
    body.roamease-single-tours-fullwidth .tour-content-container .inquiry-form-positioned { position: static; top:auto; }
}

/* 50/50 layout for What's Included / What's Excluded section */
body.roamease-single-tours-fullwidth .includes-excludes-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 60px;
    align-items: start;
}
/* Ensure each column uses full available width inside its grid cell */
body.roamease-single-tours-fullwidth .includes-excludes-container > .tour_overview-included,
body.roamease-single-tours-fullwidth .includes-excludes-container > .inquiry-form-positioned { width:100%; max-width:none; }

/* Card styling consistency inside includes/excludes columns */
body.roamease-single-tours-fullwidth .includes-excludes-container .tour-section { margin:0; }

@media (max-width: 992px) {
    body.roamease-single-tours-fullwidth .includes-excludes-container { grid-template-columns: 1fr; gap:40px; }
}

.roamease-inquiry-form .form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.roamease-inquiry-form .form-group {
    flex: 1;
}

.roamease-inquiry-form .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--re-text, #333);
    font-size: 14px;
}

.roamease-inquiry-form .form-group input,
.roamease-inquiry-form .form-group select,
.roamease-inquiry-form .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--re-border, #ddd);
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.roamease-inquiry-form .form-group input:focus,
.roamease-inquiry-form .form-group select:focus,
.roamease-inquiry-form .form-group textarea:focus {
    outline: none;
    border-color: var(--re-accent, #ff6b35);
    box-shadow: 0 0 0 2px rgba(var(--re-accent-rgb, 255,107,53), 0.2);
}

.roamease-inquiry-form .form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.roamease-inquiry-form .form-actions {
    margin-top: 20px;
}

.roamease-inquiry-form .btn {
    width: 100%;
    background: var(--re-accent, #ff6b35);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.roamease-inquiry-form .btn:hover {
    background: var(--re-primary, #ff8c42);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--re-accent-rgb, 255,107,53), 0.3);
}

.roamease-inquiry-form .form-group input.error,
.roamease-inquiry-form .form-group textarea.error {
    border-color: #ff4444;
}

.roamease-inquiry-form.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Includes/Excludes Section Styling */
.includes-excludes-container {
    margin-bottom: 50px;
}

.includes-excludes-container .tour-overview-included,
.includes-excludes-container .inquiry-form-positioned {
    display: flex;
    flex-direction: column;
}

.includes-excludes-container .tour-section {
    background: var(--re-bg, #ffffff);
    border: 1px solid var(--re-border, #e8eef5);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.includes-excludes-container .tour-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--re-success, #28a745);
}

.includes-excludes-container .inquiry-form-positioned .tour-section::before {
    background: var(--re-danger, #dc3545);
}

.includes-excludes-container .tour-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06);
}

.includes-excludes-container .tour-section h2 {
    margin-bottom: 25px;
    font-size: 1.4em;
    font-weight: 700;
    color: var(--re-heading, #2c3e50);
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.includes-excludes-container .tour-section h2::before {
    content: '';
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Ensure Included/Excluded cards align perfectly and share equal height */
.includes-excludes-container {
    align-items: stretch; /* grid children stretch to equal heights */
    grid-auto-rows: 1fr;  /* enforce equal row height for auto rows */
}
.includes-excludes-container > .tour-overview-included,
.includes-excludes-container > .inquiry-form-positioned {
    /* neutralize sidebar card styles within this two-column section */
    width: auto;
    position: static;
    top: auto;
    background: transparent;
    padding: 0;
    box-shadow: none;
}
.includes-excludes-container .tour-section {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.includes .tour-section h2::before {
    background: var(--re-success, #28a745);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20,6 9,17 4,12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.excludes .tour-section h2::before {
    background: var(--re-danger, #dc3545);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.includes .content,
.excludes .content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.include-item,
.exclude-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    font-size: 15px;
    line-height: 1.6;
    color: #34495e;
    background: rgba(255,255,255,0.7);
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.2s ease;
    position: relative;
}

.include-item:hover {
    background: rgba(var(--re-success-rgb, 40,167,69), 0.05);
    transform: translateX(4px);
    border-color: rgba(var(--re-success-rgb, 40,167,69), 0.2);
    box-shadow: 0 2px 8px rgba(var(--re-success-rgb, 40,167,69), 0.1);
}

.exclude-item:hover {
    background: rgba(var(--re-danger-rgb, 220,53,69), 0.05);
    transform: translateX(4px);
    border-color: rgba(var(--re-danger-rgb, 220,53,69), 0.2);
    box-shadow: 0 2px 8px rgba(var(--re-danger-rgb, 220,53,69), 0.1);
}

.include-item:hover .checkmark {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(var(--re-success-rgb, 40,167,69), 0.4);
}

.exclude-item:hover::before {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(var(--re-danger-rgb, 220,53,69), 0.4);
}

.include-item .checkmark {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--re-success, #28a745);
    color: white;
    font-weight: bold;
    font-size: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(var(--re-success-rgb, 40,167,69), 0.3);
    position: relative;
}


.exclude-item::before {
    content: '✕';
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--re-danger, #dc3545);
    color: white;
    font-weight: 900;
    font-size: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(var(--re-danger-rgb, 220,53,69), 0.3);
}

/* Professional Photo Gallery Styling */
.tour-section {
    margin-bottom: 50px;
}

/* Duplicate .tour-section h2 removed - already defined above */


/* Hide the blue border for photo gallery section */
.tour-section.photo-gallery-section h2::after,
.photo-gallery-section h2::after {
    display: none !important;
}

/* Contain Photo Gallery inside page container (no full-bleed) */
.photo-gallery-section {
    position: static;
    left: auto;
    right: auto;
    margin-left: 0;
    margin-right: 0;
    width: auto;
    max-width: 100%;
    padding-inline: 0; /* container already provides side padding */
}

/* Keep Photo Gallery heading contained within page container with a soft brown background */
.photo-gallery-section h2 {
    width: 100%;
    margin: 0 0 16px 0; /* rely on parent container centering */
    padding: 12px 20px;
    background: rgba(var(--re-accent-rgb, 255,122,24), 0.08); /* soft accent tint */
    color: var(--re-heading, #7a4f2b);
    border-radius: 12px;
    border: none !important;
}

/* Ensure comfortable space between Photo Gallery and Related Tours */
.roamease-full-width-sections .photo-gallery-section { 
    margin-bottom: clamp(28px, 4vw, 56px); 
}
.roamease-full-width-sections .photo-gallery-section + .related-tours-section { 
    margin-top: clamp(28px, 4vw, 56px); 
}
/* Add a touch of breathing room under the gallery indicators themselves */
.photo-gallery-section .gallery-indicators { 
    margin-bottom: 8px; 
}

@media (max-width: 768px) {
    .roamease-full-width-sections .photo-gallery-section { margin-bottom: 24px; }
    .roamease-full-width-sections .photo-gallery-section + .related-tours-section { margin-top: 24px; }
}

.gallery-slideshow {
    /* Full-bleed gallery: remove inner container chrome */
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    position: relative;
    overflow: visible;
    border: none;
    /* default: desktop shows 3 slides with 20px gap */
    --g-cols: 3;
    --g-gap: 20px;
}

.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 0;
    overflow: hidden;
    background: transparent;
    box-shadow: none;
    /* side padding to prevent images/arrows touching the viewport edge */
    padding: 0 clamp(14px, 2.5vw, 28px);
}

.gallery-slider {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    gap: var(--g-gap, 20px); /* spacing between slides */
}

.gallery-slide {
    /* width computed from columns and gap to ensure 3/2/1 exact fit */
    flex: 0 0 calc((100% - (var(--g-cols, 3) - 1) * var(--g-gap, 20px)) / var(--g-cols, 3));
    min-width: calc((100% - (var(--g-cols, 3) - 1) * var(--g-gap, 20px)) / var(--g-cols, 3));
    position: relative;
    cursor: pointer;
    overflow: hidden;
    box-sizing: border-box;
    height: 420px; /* taller, wider feel */
    border-radius: 0;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ensure full cover */
    object-position: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    border: none;
    cursor: pointer;
    display: block;
}

/* Hover overlay for gallery images */
.gallery-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.gallery-slide::after {
    content: '+';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 48px;
    font-weight: 900;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3;
    pointer-events: none;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.gallery-slide:hover::before {
    opacity: 1;
}

.gallery-slide:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Desktop: 3 images per view */
@media (min-width: 1025px) {
    .gallery-slideshow { --g-cols: 3; --g-gap: 20px; }
    .gallery-slide { height: 420px; }
}

/* Tablet: 2 images per view */
@media (min-width: 769px) and (max-width: 1024px) {
    .gallery-slideshow { --g-cols: 2; --g-gap: 18px; }
    .gallery-slide { height: 360px; }
}

/* Mobile: 1 image per view (default) */
@media (max-width: 768px) {
    /* Hide hero image thumbnails on mobile to remove extra space */
    .hero-gallery .gallery-thumbnails { display: none !important; }
    .gallery-slideshow { --g-cols: 1; --g-gap: 14px; }
    .gallery-slide {
        height: 280px;
    }
}

.gallery-slide:hover img {
    transform: scale(1.03) translateY(-2px);
    border-radius: 12px;
    overflow: hidden;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--re-accent, #ff7a18);
    border: 2px solid #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%; /* circular arrows */
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 8px 20px rgba(var(--re-accent-rgb, 255,122,24),0.28);
    z-index: 10;
}

.gallery-nav:hover {
    filter: brightness(0.95);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 8px 20px rgba(var(--re-accent-rgb, 255,122,24),0.35);
}

.gallery-nav.prev { left: 24px; }
.gallery-nav.next { right: 24px; }

.gallery-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
    padding: 0 20px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.indicator.active {
    background: var(--re-accent, #ff6b35);
    transform: scale(1.2);
    box-shadow: 0 2px 8px rgba(var(--re-accent-rgb, 255,107,53), 0.4);
}

.indicator:hover {
    background: rgba(0,0,0,0.4);
    transform: scale(1.1);
}

/* Professional Lightbox Styling */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.95) 80%);
    z-index: 15000;
    display: none !important;
    align-items: center;
    justify-content: center;
    padding: 40px 30px; /* breathing room on very tall screens */
    box-sizing: border-box;
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

.lightbox-overlay.active {
    display: flex !important;
    opacity: 1;
    visibility: visible;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Lightbox inner context: shrink-to-fit so arrows can sit JUST outside image edges */
.lightbox-content {
    position: relative;
    display: inline-block;
    max-width: 92vw;
    max-height: 88vh;
    line-height: 0; /* remove inline whitespace */
}

.lightbox-image {
    display: block;
    max-width: 92vw;
    max-height: 78vh; /* leave room for counter below */
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,.55);
    background: #000; /* pure black behind images with transparency */
    animation: zoomIn .35s ease;
}

/* Close button sits on top-right corner of image, not viewport */
.lightbox-close {
    position: absolute;
    top: -18px; /* float slightly above corner */
    right: -18px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: #111;
    border: 2px solid rgba(0,0,0,.15);
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,.4);
    transition: background .25s, transform .25s;
    z-index: 2;
}
.lightbox-close:hover { background: #ff4d4d; color:#fff; transform: scale(1.07); }

/* Navigation buttons: vertically centered, hugging image edges */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(3px);
    border: 2px solid rgba(255,255,255,.85);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
    box-shadow: 0 4px 18px rgba(0,0,0,.55);
    transition: background .25s, transform .25s, border-color .25s;
    z-index: 2;
}
.lightbox-nav:hover { background: rgba(255,255,255,.92); color:#111; transform: translateY(-50%) scale(1.08); border-color: var(--re-accent,#ffb400); }
/* Arrows sit INSIDE image corners (12px inset) to prevent horizontal stretching illusion */
.lightbox-nav.prev { left: 12px; }
.lightbox-nav.next { right: 12px; }

/* Hide arrows if viewport too narrow so they don't overflow awkwardly */
@media (max-width: 640px) {
    .lightbox-nav { width: 48px; height: 48px; font-size: 26px; }
    .lightbox-nav.prev { left: 10px; }
    .lightbox-nav.next { right: 10px; }
}
@media (max-width: 520px) {
    .lightbox-nav { width: 42px; height: 42px; font-size: 22px; }
    .lightbox-nav.prev { left: 8px; }
    .lightbox-nav.next { right: 8px; }
    .lightbox-close { top: -12px; right: -12px; width:32px; height:32px; font-size:18px; }
}

/* Counter centered below image */
.lightbox-counter {
    position: absolute;
    left: 50%;
    bottom: -48px;
    transform: translateX(-50%);
    background: rgba(0,0,0,.75);
    color:#fff;
    padding: 8px 22px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .5px;
    border: 2px solid rgba(255,255,255,.25);
    box-shadow: 0 4px 14px rgba(0,0,0,.45);
    line-height: 1;
    z-index: 1;
}

@media (max-height: 620px) {
  .lightbox-image { max-height: 70vh; }
  .lightbox-counter { bottom: -40px; }
}

@keyframes zoomIn {
    from { transform: scale(.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Remove pseudo-elements; rely on real button text from HTML (‹ ›) */
.lightbox-nav.prev::before,
.lightbox-nav.next::before { content: none !important; }

/* Remove obsolete fixed counter variant (using the new below-image version) */

/* Lightbox Mobile Responsive */
/* (Removed legacy duplicate mobile lightbox rules) */

/* Mobile responsive for related tours */
@media (max-width: 768px) {
    .gallery-slideshow {
        padding: 20px;
        border-radius: 16px;
    }
    
    .gallery-slide img {
        height: 250px;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .gallery-nav.prev {
        left: 10px;
    }
    
    .gallery-nav.next {
        right: 10px;
    }
}

/* Includes/Excludes Mobile Layout */
@media (max-width: 768px) {
    .includes-excludes-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .includes-excludes-container .tour-overview-included,
    .includes-excludes-container .inquiry-form-positioned {
        width: 100%;
    }
    .tour-hero {
        flex-direction: column;
        gap: 20px;
        min-height: auto;
        max-height: none;
        margin-bottom: 30px;
    }
    
    /* Let the hero image dictate height on mobile (remove blank space) */
    .hero-gallery {
        height: auto;
        order: 1;
    }
    .main-image { height: auto; }
    .main-image img { height: auto; width: 100%; object-fit: cover; }
    
    .hero-content {
        height: auto;
        order: 2;
    }
    
    .hero-price-card {
        width: 100%;
        max-height: none;
        margin: 0;
    }
    
    .related-tours-grid {
        flex-direction: column;
        overflow-x: visible;
    }
    
    .related-tour-card {
        flex: none;
        min-width: auto;
    }
    
    .roamease-inquiry-form .form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-price-card .main-price {
        flex-direction: column;
        gap: 2px;
    }
    
    .hero-price-card .amount {
        font-size: 28px;
    }
}

/* Related Tours Section Styles */
.related-tours-section {
    margin-top: 30px;
    padding: 30px 0;
    /* Contained width: match page container */
    position: static;
    left: auto;
    right: auto;
    margin-left: 0;
    margin-right: 0;
    width: auto;
    max-width: 100%;
    background: transparent; /* remove grey strip for a cleaner, professional look */
    /* Control image height for arrow vertical alignment */
    --rt-img-h: 260px;
}

.related-tours-section h2 {
    text-align: center;
    font-size: 1.75em;
    color: var(--re-heading, #7a4f2b); /* warm brown */
    margin: 0 0 24px;
    font-weight: 800;
    position: relative;
}

/* Full-width rounded strip behind Related Tours title */
/* Title strip should follow the page container width, not full-bleed */
.related-tours-section .related-title-strip {
    position: relative;
    width: 100%;
    margin: 0 0 20px 0; /* rely on container for centering */
    background: rgba(var(--re-accent-rgb, 255,122,24), 0.08); /* light accent tint */
    border-radius: 12px; /* small rounded corners */
    padding: 12px 20px;
}

.related-tours-section .related-title-strip h2 {
    margin: 0;
}
/* (No extra closing brace here) */
/* Remove underline/border for Related Tours heading and keep center */
.related-tours-section h2 { border: none !important; }
.related-tours-section h2::after { display: none !important; }

/* Also remove base underline on Photo Gallery heading to avoid double line under background strip */
.photo-gallery-section h2::after { display: none !important; }

.related-tours-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0; /* container already provides side padding */
}

.related-tours-slideshow {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    padding: 0; /* arrows will sit within container gutters */
    border: none; /* ensure no dark/brown border */
}

.related-tours-slider {
    display: flex;
    gap: var(--rt-gap, 24px); /* visual breathing space between cards */
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.related-tour-slide {
    /* Exact 3/2/1 columns fit with gap included */
    flex: 0 0 calc((100% - (var(--rt-cols, 3) - 1) * var(--rt-gap, 24px)) / var(--rt-cols, 3));
    min-width: calc((100% - (var(--rt-cols, 3) - 1) * var(--rt-gap, 24px)) / var(--rt-cols, 3));
    box-sizing: border-box;
    display: flex;
}

/* Responsive slide widths */
/* Columns per breakpoint */
@media (min-width: 1025px) {
    .related-tours-slideshow { --rt-cols: 3; --rt-gap: 24px; }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .related-tours-slideshow { --rt-cols: 2; --rt-gap: 20px; }
}


/* Navigation Controls - Moved to Top */
.related-nav {
    position: absolute;
    top: calc(var(--rt-img-h) / 2); /* center over image, not description */
    transform: translateY(-50%);
    background: var(--re-accent, #ff7a18);
    border: 2px solid #fff; /* subtle ring for contrast */
    width: 44px;
    height: 44px;
    border-radius: 999px; /* perfect circle */
    cursor: pointer;
    font-size: 18px;
    color: #fff;
    box-shadow: 0 8px 20px rgba(var(--re-accent-rgb, 255,122,24),0.28);
    transition: all 0.2s ease;
    z-index: 5; /* above images */
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.related-nav:hover {
    filter: brightness(0.95);
    box-shadow: 0 8px 20px rgba(var(--re-accent-rgb, 255,122,24), 0.35);
}

.related-nav.prev { left: 12px; }
.related-nav.next { right: 12px; }

/* Tour Overview content readability */
.tour-description p { margin: 0 0 1em; }

/* Responsive Design */
@media (max-width: 768px) {
    .related-tours-slider {
        width: 100% !important;
        margin-left: 0 !important;
    }
    
    .related-tour-slide {
        flex: 0 0 100% !important;
    }
    
    .related-tours-section h2 {
        font-size: 1.6em;
    }
    
    .related-nav { width: 40px; height: 40px; font-size: 16px; }
    
    .related-nav.prev { left: 16px; }
    .related-nav.next { right: 16px; }
}

@media (max-width: 480px) {
    .related-tours-container {
        padding: 0 16px;
    }
    /* Reduce image height on mobile */
    .related-tours-section { --rt-img-h: 180px; }
    
    .related-tours-slider {
        width: 100% !important;
        margin-left: 0 !important;
    }
    
    .related-tour-slide {
        flex: 0 0 100% !important;
    }
    
    .related-nav { width: 36px; height: 36px; font-size: 16px; }
    
    .related-nav.prev { left: 12px; }
    .related-nav.next { right: 12px; }
    /* tighten space between image and title further on small screens */
    .related-tours-section .tour-content { padding-top: 8px; gap: 8px; }
    .related-tours-section .tour-title { margin-top: 2px; }
}

/* Card polish inside Related Tours */
.related-tours-section .tour-card {
    background: #fff;
    border: 1px solid #e8eef5;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.related-tours-section .tour-image img {
    width: 100%;
    height: var(--rt-img-h);
    object-fit: cover;
    display: block;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}
.related-tours-section .tour-content { padding: 12px 18px 14px; display: flex; flex-direction: column; gap: 10px; }
.related-tours-section .tour-title {
    margin: 4px 0 2px;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--re-heading, #2c3e50); /* neutral for titles */
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    text-align: left;
}
.related-tours-section .tour-title a { color: inherit; text-decoration: none; display: block; }
.related-tours-section .tour-meta { display: flex; gap: 10px; align-items: center; }
.related-tours-section .tour-meta .duration {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 600;
}
/* New: Tour Type pill (clickable) to replace difficulty in related cards */
.related-tours-section .tour-meta .tour-type {
    display: inline-block;
    background: rgba(var(--re-primary-rgb, 26,115,232), 0.08);
    color: var(--re-primary, #1a73e8);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1;
}
.related-tours-section .tour-meta .tour-type:hover { filter: brightness(0.95); text-decoration: none; }
.related-tours-section .tour-excerpt { color: var(--re-text, #637083); font-size: 0.95rem; }
.related-tours-section .destinations { display: flex; flex-wrap: wrap; gap: 8px; }
.related-tours-section .destination-tag { background: rgba(var(--re-primary-rgb, 26,115,232), 0.08); color: var(--re-primary, #1a73e8); border-radius: 999px; padding: 6px 10px; font-size: 12px; text-decoration: none; }
.related-tours-section .tour-actions { margin-top: auto; padding-top: 6px; }
.related-tours-section .tour-actions .view-tour {
    display: inline-block;
    width: 100%;
    background: var(--re-accent, #ff6b35);
    color: white;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 10px;
    border: none;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}
.related-tours-section .tour-actions .view-tour:hover {
    background: var(--re-primary, #ff8c42);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--re-accent-rgb, 255,107,53), 0.3);
}

/* Responsive Styles for Itinerary */
@media (max-width: 768px) {
    .itinerary-day .day-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .itinerary-day .day-number {
        min-width: auto;
    }
    
    .itinerary-day .day-meta-info {
        flex-direction: column;
        gap: 12px;
    }
}

/* Remove duplicate itinerary styles - already defined above */

/* Gallery Slideshow Styles */
.gallery-slideshow {
    margin-top: 20px;
}

.slideshow-container {
    position: relative;
    overflow: hidden;
    border-radius: 0; /* match full-bleed */
    box-shadow: none;
}

.gallery-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.gallery-slide {
    /* Ensure widths follow the 3/2/1 column calc with gaps */
    flex: 0 0 calc((100% - (var(--g-cols, 3) - 1) * var(--g-gap, 20px)) / var(--g-cols, 3)) !important;
    min-width: calc((100% - (var(--g-cols, 3) - 1) * var(--g-gap, 20px)) / var(--g-cols, 3)) !important;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--re-accent, #ff7a18);
    color: #fff;
    border: 2px solid #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.2s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(var(--re-accent-rgb, 255,122,24), 0.28);
}

.gallery-nav:hover {
    filter: brightness(0.95);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 8px 20px rgba(var(--re-accent-rgb, 255,122,24), 0.35);
}

.gallery-nav.prev { left: 16px; }
.gallery-nav.next { right: 16px; }

.gallery-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #e6e6e6;
    cursor: pointer;
    transition: all 0.2s ease;
}

.indicator.active,
.indicator:hover {
    background: var(--re-accent, #ff7a18);
    box-shadow: 0 4px 10px rgba(var(--re-accent-rgb, 255,122,24), 0.25);
}

@media (max-width: 768px) {
    .gallery-nav {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    .gallery-nav.prev { left: 8px; }
    .gallery-nav.next { right: 8px; }
}

@media (max-width: 480px) {
    .gallery-nav {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    .gallery-nav.prev { left: 6px; }
    .gallery-nav.next { right: 6px; }
}

/* Booking Modal Styles
.booking-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.booking-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.booking-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.booking-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #e9ecef;
    background: var(--re-primary, #667eea);
    color: white;
    border-radius: 16px 16px 0 0;
}

.booking-modal-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.booking-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.booking-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.booking-modal-body {
    padding: 30px;
} */

.tour-booking-summary {
    background: var(--re-surface, #f8f9fa);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    border-left: 4px solid var(--re-primary, #667eea);
}

.tour-booking-summary h4 {
    margin: 0 0 10px 0;
    color: var(--re-heading, #2c3e50);
    font-size: 18px;
    font-weight: 600;
}

.booking-price-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.price-adult,
.price-child {
    background: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 600;
    color: var(--re-primary, #667eea);
    border: 1px solid var(--re-border, #e9ecef);
}

/* .booking-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.booking-form .form-group {
    display: flex;
    flex-direction: column;
}

.booking-form .form-group.full-width {
    grid-column: 1 / -1;
}

.booking-form label {
    font-weight: 600;
    color: var(--re-heading, #2c3e50);
    margin-bottom: 8px;
    font-size: 14px;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.booking-form .form-group.error input,
.booking-form .form-group.error select,
.booking-form .form-group.error textarea {
    border-color: #e74c3c;
} */

.error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    font-weight: 500;
}

.booking-total {
    background: var(--re-bg, #f8f9fa);
    padding: 20px;
    border-radius: 12px;
    margin: 25px 0;
    border: 2px solid #e9ecef;
}

.total-calculation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.total-label {
    font-weight: 600;
    color: var(--re-heading, #2c3e50);
    font-size: 16px;
}

.total-amount {
    font-size: 20px;
    font-weight: 700;
    color: var(--re-primary, #667eea);
}

.total-note {
    margin: 0;
    font-size: 12px;
    color: #6c757d;
    font-style: italic;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

.booking-cancel {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.booking-cancel:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.booking-submit {
    background: var(--re-primary, #667eea);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-width: 180px;
}

.booking-submit:hover:not(:disabled) {
    background: var(--re-secondary, #5a6fd8);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(var(--re-primary-rgb, 102,126,234), 0.3);
}

.booking-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Modal Open Body Style */
body.modal-open {
    overflow: hidden;
}

/* Notification Styles */
.roamease-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 4px;
    z-index: 9999;
    display: none;
    max-width: 350px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.roamease-notification.show {
    display: block;
    animation: slideIn 0.3s ease-out;
}

.roamease-notification.success {
    background-color: var(--re-success, #4CAF50);
    color: white;
}

.roamease-notification.error {
    background-color: var(--re-danger, #f44336);
    color: white;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
/* =============================
   NEW: Two-Column Layout with Sticky Sidebar
   ============================= */

/* Two Column Layout Container */
.tour-two-column-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

/* Main Content Column (Left) */
.tour-main-content {
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.tour-main-content * {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

/* Booking Sidebar (Right) */
.tour-booking-sidebar {
    position: relative;
}

/* Sticky Behavior on Desktop */
@media (min-width: 1025px) {
    .tour-booking-sidebar {
        position: sticky;
        top: 100px;
    }
}

/* Booking/Inquiry Card */
.booking-inquiry-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.booking-inquiry-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Card Header */
.booking-inquiry-card .card-header {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 24px;
    border-bottom: 2px solid #e5e7eb;
    text-align: center;
}

.booking-inquiry-card .card-header h3 {
    margin: 0 0 8px 0;
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
}

.booking-inquiry-card .card-subtitle {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

/* Tab Navigation */
.booking-tabs {
    display: flex;
    border-bottom: 2px solid #e5e7eb;
    background: #f9fafb;
}

.booking-tabs .tab-button {
    flex: 1;
    padding: 16px 20px;
    background: transparent;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    border-bottom: 3px solid transparent;
}

.booking-tabs .tab-button:hover {
    background: rgba(251, 191, 36, 0.05);
    color: #d97706;
}

.booking-tabs .tab-button.active {
    color: #d97706;
    background: #ffffff;
    border-bottom-color: #fbbf24;
}

.booking-tabs .tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: #fbbf24;
}

/* Tab Content Wrapper */
.tab-content-wrapper {
    position: relative;
}

.tab-content-wrapper .tab-content {
    display: none;
    padding: 24px;
    animation: fadeIn 0.3s ease;
}

.tab-content-wrapper .tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Styles within Tabs */
.tab-content .roamease-booking-form,
.tab-content .roamease-inquiry-form {
    margin: 0;
}

.tab-content .roamease-booking-form h3,
.tab-content .roamease-inquiry-form h3 {
    display: none;
}

/* Responsive: Mobile/Tablet - Move Sidebar to Bottom */
@media (max-width: 1024px) {
    .tour-two-column-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .tour-booking-sidebar {
        order: 999;
        margin-top: 30px;
        position: relative !important;
        top: auto !important;
    }
    
    .booking-inquiry-card {
        margin: 0 auto;
        max-width: 600px;
    }
}

@media (max-width: 640px) {
    .booking-inquiry-card .card-header {
        padding: 20px 16px;
    }
    
    .booking-inquiry-card .card-header h3 {
        font-size: 20px;
    }
    
    .booking-tabs .tab-button {
        padding: 14px 12px;
        font-size: 14px;
    }
    
    .tab-content-wrapper .tab-content {
        padding: 20px 16px;
    }
}

/* Includes/Excludes Full Width Section */
.tour-includes-excludes-section {
    width: 100%;
    max-width: var(--re-content-max, 1240px);
    margin: 40px auto;
    padding: 0 clamp(18px, 4vw, 60px);
    box-sizing: border-box;
}

.includes-excludes-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .includes-excludes-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Tab Content Styling */
.booking-tab-content,
.inquiry-tab-content {
    text-align: center;
}

.booking-tab-content .main-price {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.booking-tab-content .main-price .amount {
    color: #2563eb;
}

.booking-tab-content .main-price .per-person {
    font-size: 16px;
    color: #6b7280;
    font-weight: 400;
}

.booking-tab-content .child-price {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 20px;
}

.booking-tab-content .enquiry-price {
    font-size: 24px;
    font-weight: 700;
    color: #d97706;
    margin-bottom: 20px;
    padding: 20px;
    background: #fef3c7;
    border-radius: 8px;
}

.booking-tab-content .price-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 24px 0;
    text-align: left;
}

.booking-tab-content .feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #374151;
}

.booking-tab-content .feature-item i {
    color: #10b981;
    font-size: 18px;
}

.booking-tab-content .booking-action {
    margin-top: 24px;
}

.inquiry-tab-content h3 {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
}

.inquiry-tab-content p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 20px;
}

.inquiry-tab-content .form-actions {
    margin-top: 20px;
}

@media (max-width: 640px) {
    .booking-tab-content .price-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .booking-tab-content .main-price {
        font-size: 28px;
    }
}
/* Tab Content Styling */
.booking-tab-content,
.inquiry-tab-content {
    text-align: center;
}

.booking-tab-content .main-price {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.booking-tab-content .main-price .amount {
    color: #2563eb;
}

.booking-tab-content .main-price .per-person {
    font-size: 16px;
    color: #6b7280;
    font-weight: 400;
}

.booking-tab-content .child-price {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 20px;
}

.booking-tab-content .enquiry-price {
    font-size: 24px;
    font-weight: 700;
    color: #d97706;
    margin-bottom: 20px;
    padding: 20px;
    background: #fef3c7;
    border-radius: 8px;
}

.booking-tab-content .price-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 24px 0;
    text-align: left;
}

.booking-tab-content .feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #374151;
}

.booking-tab-content .feature-item i {
    color: #10b981;
    font-size: 18px;
}

.booking-tab-content .booking-action {
    margin-top: 24px;
}

.inquiry-tab-content h3 {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
}

.inquiry-tab-content p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 20px;
}

.inquiry-tab-content .form-actions {
    margin-top: 20px;
}

@media (max-width: 640px) {
    .booking-tab-content .price-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .booking-tab-content .main-price {
        font-size: 28px;
    }
}
