﻿
body {
    overflow-x: hidden;
}

a:hover {
    color: #6f6f6f;
    /*text-decoration: underline;*/
}

/* Nav */
.breadcrumb ul > li:after {
    content: "\f105";
    font-family: Font Awesome\ 5 Free;
    font-weight: 900;
    padding: 0 6px 0 9px;
    display: inline-block;
    vertical-align: middle;
    font-size: 8px;
    opacity: .6;
}

/*.blue-link {
    color: #006EDB;
}

.blue-link:hover {
    color: #006EDB;
    text-decoration: underline;
}*/

a.blue-link:link, a.blue-link:visited {
    color: #006EDB;
    text-decoration: none;
}

a.blue-link:hover, a.blue-link:focus {
    color: #006EDB;
    text-decoration: underline;
}

/* Navigation spacing fix - reduce margin between nav items */
header nav .navbar-nav > li > a {
    margin: 0 10px !important; /* Override the default 20px margin */
    border: 1px solid red;
}

/* Responsive breakpoints for smaller screens */
@media (max-width: 1200px) {
    header nav .navbar-nav > li > a {
        margin: 0 6px !important;
    }
}

@media (max-width: 1024px) {
    header nav .navbar-nav > li > a {
        margin: 0 4px !important;
        font-size: 11px !important;
    }
}

@media (max-width: 768px) {
    header nav .navbar-nav > li > a {
        margin: 0 3px !important;
        font-size: 10px !important;
    }
}

/* Completely reset header-searchbar spacing */
.header-searchbar {
    border-left: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
    border: none !important;
}

/* Also target any potential parent spacing */
.col-auto.pe-0:last-child {
    padding-left: 0 !important;
}

/* ===================================
  Navigation page
====================================== */
.header-with-topbar .navbar-top, .header-with-topbar .navbar-fixed-top {
    top: 34px;
    background: #000;
    box-shadow: 0 0 35px rgba(0,0,0,0.1);
}

/* ===================================
  ISLAND/SEARCH DROPDOWN
====================================== */
.island-dropdown-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 15px;
    z-index: 100;
}

    /* Add a hover bridge using a pseudo-element */
    .island-dropdown-container::after {
        content: "";
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        height: 8px;
        top: 100%;
        z-index: 150;
    }

.island-dropdown-selected {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(80,80,80,0.06);
    height: 38px;
    min-width: 165px;
    font-size: 15px;
    font-weight: normal;
    color: #222;
    padding: 0;
    padding-left: 14px;
    padding-right: 10px;
    cursor: pointer;
    user-select: none;
    position: relative;
}

    .island-dropdown-selected .fa-search {
        color: #757575;
        margin-right: 8px;
        font-size: 15px;
    }

    .island-dropdown-selected .chevron {
        margin-left: auto;
        color: #757575;
        font-size: 13px;
        padding-left: 8px;
        padding-right: 6px;
    }

.island-dropdown-label {
    flex: 1;
    text-align: left;
}

.island-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 165px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(80,80,80,0.08);
    margin-top: 5px;
    padding: 8px 0;
    list-style: none;
    z-index: 200;
}

.island-dropdown-item {
    padding: 10px 18px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    transition: background 0.15s;
    font-weight: normal;
}

    .island-dropdown-item .fa-map-marker-alt {
        color: #757575;
        margin-right: 8px;
        font-size: 15px;
    }

    .island-dropdown-item:hover,
    .island-dropdown-item.selected {
        background: #f3f4f6;
    }

.island-dropdown-container:hover .island-dropdown-menu,
.island-dropdown-container:focus-within .island-dropdown-menu,
.island-dropdown-menu:hover {
    display: block;
}

/* ===================================
  LOCATION DROPDOWN - BASE STYLES
====================================== */
.fa-location-dot {
    font-size: 14px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.location-dropdown {
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

    .location-dropdown:hover .location-menu {
        display: block;
        opacity: 1;
        visibility: visible;
    }

.location-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 6px;
    padding: 8px 40px 8px 12px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 170px;
    transition: background 0.2s ease;
    position: relative;
}

    .location-toggle:hover {
        background: rgba(255, 255, 255, 0.2);
    }

.location-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: white;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    min-width: 170px;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    list-style: none;
    margin: 0;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

    .location-menu.show {
        display: block;
    }

.location-item {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333;
    text-decoration: none;
    transition: background 0.2s ease;
}

    .location-item:hover {
        background: #f5f5f5;
    }

.location-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 4px;
}

.location-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .location-arrow::after {
        content: '';
        width: 7px;
        height: 7px;
        border-style: solid;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
        margin-top: -3px;
    }

.location-toggle[aria-expanded="true"] .location-arrow::after {
    transform: rotate(-135deg);
    margin-top: 4px;
}

.location-menu.show {
    display: none;
}

/* ===================================
  QUESTION DROPDOWN - BASE STYLES
====================================== */
/*.header-searchbar {
    display: flex;
    align-items: center;
    height: 100%;
}

    .header-searchbar a {
        display: flex;
        align-items: center;
        height: 100%;
        padding: 0 0px;
    }

.fa-question-circle {
    font-size: 18px;
}*/

.header-searchbar {
    display: flex;
    align-items: center;
    height: 100%;
}

    .header-searchbar a {
        display: flex;
        align-items: center;
        height: 100%;
        padding: 0 0px;
    }

.fa-question-circle {
    font-size: 18px;
}

/* Search icon size */
.header-searchbar .fa-search {
    font-size: 16px;
}

/* Accessibility icon size */
.fa-universal-access {
    font-size: 18px;
}

/* Mobile - bigger icons */
@media (max-width: 991px) {
    .header-searchbar .fa-search {
        font-size: 22px;
    }

    .fa-universal-access {
        font-size: 22px !important;
    }
}

@media (max-width: 767px) {
    .header-searchbar .fa-search {
        font-size: 20px;
    }

    .fa-universal-access {
        font-size: 20px !important;
    }
}


.question-dropdown {
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

    .question-dropdown:hover .question-menu {
        display: block;
        opacity: 1;
        visibility: visible;
    }

.question-toggle {
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    transition: color 0.2s ease;
}

.question-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    list-style: none;
    margin: 0;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

    .question-menu.show {
        display: block;
    }

.question-item {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333;
    text-decoration: none;
    transition: background 0.2s ease;
}

    .question-item:hover {
        background: #f5f5f5;
    }

.question-text {
    font-size: 14px;
    white-space: nowrap;
    margin: 10px 10px
}

/* ===================================
  BLACK HEADER STYLES (header-dark)
====================================== */
.header-dark .fa-location-dot {
    color: white;
}

.header-dark .location-toggle {
    color: white;
}

.header-dark .location-arrow::after {
    border-color: white;
}

.header-dark .fa-question-circle {
    color: white;
}

.header-dark .question-toggle {
    color: white;
}

    .header-dark .question-toggle:hover {
        color: rgba(255, 255, 255, 0.7);
    }

/* ===================================
  WHITE HEADER STYLES (header-light)
====================================== */
.header-light .fa-location-dot {
    color: #333;
}

.header-light .location-toggle {
    color: #333;
    background: #fff;
    border: 1px solid #e0e0e0;
    /*min-width: 185px;*/
}

    .header-light .location-toggle:hover {
        background: rgba(0, 0, 0, 0.1);
    }

.header-light .location-arrow::after {
    border-color: #333;
}

.header-light .fa-question-circle {
    color: #333;
}

.header-light .question-toggle {
    color: #333;
}

    .header-light .question-toggle:hover {
        color: #666;
    }

.header-light .location-menu {
    /*min-width: 185px;*/
}

/* ===================================
  DROPDOWN STYLE 1
====================================== */
.dropdown-style-1 .btn {
    color: #777;
    font-size: 11px;
    line-height: normal;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    font-weight: normal
}

    .dropdown-style-1 .btn.dropdown-toggle::after {
        vertical-align: middle;
        border-top: .4em solid;
        border-right: .4em solid transparent;
        border-bottom: 0;
        border-left: .4em solid transparent;
        margin-left: 0;
    }

    .dropdown-style-1 .btn:hover, .custom-dropdown btn:focus {
        color: var(--base-color);
    }

.dropdown-style-1 .dropdown-menu {
    margin-top: 2px;
    min-width: 130px;
    border-radius: 0;
    border: none;
    z-index: 444;
    right: 0;
    left: auto !important;
    padding: 5px 0;
    transition-timing-function: ease-in-out;
    -ms-transition-timing-function: ease-in-out;
    -moz-transition-timing-function: ease-in-out;
    -webkit-transition-timing-function: ease-in-out;
    -o-transition-timing-function: ease-in-out;
    transition-duration: 0s;
    -ms-transition-duration: 0s;
    -moz-transition-duration: 0s;
    -webkit-transition-duration: 0s;
    -o-transition-duration: 0s;
}

    .dropdown-style-1 .dropdown-menu > li > a {
        padding: 6px 15px;
        font-size: 12px;
        display: block;
        line-height: normal;
    }

        .dropdown-style-1 .dropdown-menu > li > a:hover,
        .dropdown-style-1 .dropdown-menu > li > a:focus {
            background: #ededed
        }

/* ===================================
  RESPONSIVE STYLES
====================================== */

/* Island dropdown mobile */
@media (max-width: 991px) {
    .island-dropdown-container {
        position: absolute;
        top: calc(100% + 50px);
        left: 0;
        right: 0;
        padding: 10px 15px;
        margin-left: 0;
        z-index: 998;
        width: 100%;
        box-sizing: border-box;
    }

    /* Black header mobile */
    .header-dark .island-dropdown-container {
        background: #000;
    }

    /* White header mobile */
    .header-light .island-dropdown-container {
        background: #fff;
        border-top: 1px solid #e0e0e0;
    }

    .island-dropdown-selected {
        width: 100%;
        min-width: 0;
    }

    .island-dropdown-menu {
        width: 100%;
        min-width: 0;
        left: 0;
        right: 0;
        margin: 0 15px;
        max-width: calc(100% - 30px);
        top: calc(100% - 5px);
        transition: top 0.3s ease, opacity 0.2s ease, visibility 0.2s ease;
    }
}

/* Location dropdown mobile */
@media (max-width: 991px) {
    .location-dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 10px 15px;
        z-index: 999;
    }

    /* Black header mobile */
    .header-dark .location-dropdown {
        background: #000;
    }

    /* White header mobile */
    .header-light .location-dropdown {
        background: #fff;
        border-top: 1px solid #e0e0e0;
    }

    .location-toggle {
        width: 100%;
        max-width: none;
        justify-content: flex-start;
        padding: 12px 40px 12px 15px;
    }

    .location-menu {
        width: 100%;
        left: 0;
        right: 0;
        margin: 0 15px;
        max-width: calc(100% - 30px);
        top: calc(100% - 5px);
        transition: top 0.3s ease, opacity 0.2s ease, visibility 0.2s ease;
    }

    .fa-location-dot {
        font-size: 16px;
    }

    .location-text {
        font-size: 14px;
    }

    .location-arrow {
        right: 15px;
    }

    .navbar-default {
        position: relative;
        z-index: 1000;
    }

    .header-searchbar {
        padding-left: 10px;
        padding-right: 10px;
    }

    .question-dropdown {
        position: static;
        margin-left: 10px;
    }

    .question-menu {
        width: 100%;
        left: 0;
        right: auto;
        top: 100%;
    }
}

/* Navbar mobile adjustments */
@media (max-width: 991px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1001;
        margin-bottom: 60px;
    }

    /* Black header mobile navbar */
    .header-dark .navbar-collapse {
        background-color: #000;
    }

    /* White header mobile navbar */
    .header-light .navbar-collapse {
        background-color: #fff;
        border-top: 1px solid #e0e0e0;
    }

    .navbar-nav {
        margin: 0;
        padding: 10px 0;
    }

        .navbar-nav > li > a {
            padding: 10px 15px;
        }
}

@media (max-width: 768px) {
    .location-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 8px 32px 8px 12px;
        gap: 4px;
    }

    .location-menu {
        width: 100%;
    }

    .location-arrow {
        right: 10px;
    }

    .fa-location-dot {
        font-size: 13px;
    }

    .location-text {
        margin: 0 3px;
    }
}

@media (max-width: 480px) {
    .location-toggle {
        min-width: 160px;
        padding: 8px 28px 8px 10px;
        gap: 3px;
    }

    .location-arrow {
        right: 8px;
    }

    .fa-location-dot {
        font-size: 12px;
    }

    .location-text {
        margin: 0 2px;
    }
}


/* ===================================
  Tour Detail page
====================================== */
.product-gallery-container {
    /* Desktop sticky */
    position: sticky;
    top: 2rem;
    z-index: 2;
    background: #fff;
    /* ...other styles... */
}

/* Disable sticky on tablet and mobile */
@media (max-width: 1200px) {
    .product-gallery-container {
        position: static !important;
        top: auto !important;
        z-index: auto !important;
        background: none;
    }
}


.product-flex-container {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    width: 90%;
    margin: 0 auto;
    padding: 0 1vw;
    box-sizing: border-box;
    border: 0px solid red;
}

/* On tablet and mobile: make it 100% width */
@media (max-width: 1200px) {
    .product-flex-container {
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
        border: 0px solid green;
    }
}

/* Make the gallery wider and details narrower */
.product-gallery-container {
    flex: 1 1 63%;
    max-width: 63%;
    min-width: 320px;
    box-sizing: border-box;
    border: 0px solid yellow;
}

.product-details {
    flex: 1 1 37%;
    max-width: 37%;
    min-width: 220px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 12px;
    /*padding: 24px;*/
    padding: 0 24px 24px 24px;
    /*box-shadow: 0 2px 12px rgba(0,0,0,0.04);*/
    box-shadow: none !important;
    border: 0px solid orange;
}

.main-image-wrapper {
    position: relative;
    margin-bottom: 8px;
    border: 0px solid blue;
}

.main-image {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    background: #eee;
    transition: max-height 0.3s;
}

.arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 26px;
    color: #666;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    opacity: 0.55;
    transition: background 0.2s, color 0.2s, opacity 0.2s;
    padding: 0;
    margin: 0 8px;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

    .arrow-btn:active,
    .arrow-btn:hover:not(:disabled) {
        background: #f5f5f5;
        opacity: 1;
    }

    .arrow-btn:disabled {
        opacity: 0.3;
        cursor: default;
    }

    .arrow-btn svg {
        display: block;
        width: 24px;
        height: 24px;
        pointer-events: none;
    }

.arrow-left {
    left: 10px;
}

.arrow-right {
    right: 10px;
}

.thumbnails-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-bottom: 10px;
}

    .thumbnails-viewport::-webkit-scrollbar {
        display: none;
    }

.thumbnails-track {
    display: flex;
    gap: 8px;
    padding-bottom: 4px;
}

.thumbnail {
    flex: 0 0 calc(25% - 6px); /* 4 items: 8px gap * 3 / 4 = 6px deduction */
    height: 140px;
    border-radius: 10px;
    cursor: pointer;
    /*border: 3px solid transparent;*/
    object-fit: cover;
    /*transition: border-color 0.2s, transform 0.2s;*/
    background: #eee;
}

    .thumbnail.active {
        border-color: transparent !important;
        box-shadow: none !important;
        /*transform: scale(1.04);*/
    }

/* Tablet and Mobile adjustments: keep 4 thumbnails per row, make them big */
@media (max-width: 900px) {
    .product-flex-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .product-gallery-container,
    .product-details {
        max-width: 100%;
        width: 100%;
        min-width: 0;
    }

    .main-image {
        max-height: 400px;
    }

    .thumbnail {
        flex-basis: calc(25% - 6px);
        height: 110px;
    }

    .arrow-btn {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }

    .product-details {
        padding: 10px;
    }
}

@media (max-width: 600px) {
    .product-gallery-container {
        padding: 0;
    }

    .main-image {
        max-height: 320px;
    }

    .thumbnail {
        flex-basis: calc(25% - 6px);
        height: 80px;
    }

    .arrow-btn {
        width: 28px;
        height: 28px;
        font-size: 15px;
    }

    .product-details {
        padding: 8px;
    }
}



.video-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff5858 0%, #f09819 100%);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    font-size: 30px;
}

.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.8);
}

.video-modal-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #000;
    padding: 0;
    border-radius: 8px;
    max-width: 90vw;
    width: 640px;
}

.video-modal-close {
    position: absolute;
    top: 8px;
    right: 16px;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    z-index: 10;
    font-family: Arial, sans-serif;
}

@media (max-width: 700px) {
    .video-modal-content {
        width: 98vw;
    }
}


.popover-trigger {
    position: relative;
    cursor: pointer;
    outline: none;
    font-size: 20px;
    display: inline-block;
}

/* DESKTOP: Popover on the RIGHT side */
.popover-box {
    display: none;
    position: absolute;
    left: 100%; /* Position to the right of the icon */
    top: 50%; /* Center vertically */
    transform: translateY(-50%);
    margin-left: 12px;
    min-width: 275px;
    background: #f7f7f7;
    /*color: #222;*/
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    padding: 10px 10px;
    font-size: 14px;
    z-index: 100;
    /*white-space: normal;*/
    /*text-align: left;*/
    pointer-events: none;
    font-weight: normal;
    line-height: normal;
}

    /* Arrow pointing left (from popover to icon) - DESKTOP */
    .popover-box::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        transform: translate(-100%, -50%);
        border-width: 7px;
        border-style: solid;
        border-color: transparent #fff transparent transparent;
        filter: drop-shadow(-1px 0 1px #e0e0e0);
    }

/* Show popover on hover or focus */
.popover-trigger:hover .popover-box,
.popover-trigger:focus .popover-box {
    display: block;
    pointer-events: auto;
}

/* MOBILE: Popover on the BOTTOM */
@media only screen and (max-width: 768px) {
    .popover-box {
        left: 50% !important;
        top: 100% !important;
        bottom: auto !important;
        transform: translateX(-50%) !important;
        margin-left: 0 !important;
        margin-top: 12px;
        min-width: 220px;
    }
        /* Arrow pointing up (from popover to icon) - MOBILE */
        .popover-box::before {
            top: -14px !important;
            left: 50% !important;
            transform: translateX(-50%) rotate(90deg) !important;
            border-width: 7px;
            border-style: solid;
            border-color: transparent transparent #fff transparent !important;
            filter: drop-shadow(0 1px 1px #e0e0e0) !important;
        }
}


.cta-section {
    border: 0px solid #e0e0e0;
    border-radius: 8px;
    padding: 5px 8px 5px 8px;
    background-color: #f7f7f7;
    /*background-color:#fff;*/
    /*margin-top: 20px;*/
}

.lowest-price-badge-popover {
    display: inline-flex;
    align-items: center;
    background: #f7f7f7;
    border-radius: 8px;
    padding: 5px 10px 5px 10px;
    position: relative;
    cursor: pointer;
    outline: none;
    /*box-shadow: 0 2px 8px rgba(0,0,0,0.03);*/
    letter-spacing: -0.5px;
    border: 1px solid #e0e0e0;
    /*font-weight:600;*/
    margin: 0 auto;
}
    /* Add hover effect for background color */
    .lowest-price-badge-popover:hover {
        background: #dedede; /* Changes to light gray on hover */
        color: #777;
    }

    .lowest-price-badge-popover i {
        margin-right: 10px;
    }

/* DESKTOP: Popover on the RIGHT side */
.popover-content {
    display: none;
    position: absolute;
    left: 100%; /* Position to the right of the badge */
    top: 50%; /* Center vertically */
    transform: translateY(-50%);
    margin-left: 12px; /* Add some spacing from the badge */
    min-width: 275px;
    background: #f7f7f7;
    /*color: #333;*/
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    padding: 14px 18px;
    /*font-size: 15px;*/
    z-index: 100;
    white-space: normal;
    text-align: left;
    pointer-events: none;
}

    /* Arrow pointing left (from popover to badge) - DESKTOP */
    .popover-content::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        transform: translate(-100%, -50%);
        border-width: 7px;
        border-style: solid;
        border-color: transparent #fff transparent transparent;
        filter: drop-shadow(-1px 0 1px #e0e0e0);
    }

.lowest-price-badge-popover:hover .popover-content,
.lowest-price-badge-popover:focus .popover-content {
    display: block;
    pointer-events: auto;
}

.lowest-price-badge-popover:focus {
    box-shadow: 0 0 0 1px #e0e0e0;
}

/* MOBILE: Popover on TOP */
@media only screen and (max-width: 768px) {
    .lowest-price-badge-popover .popover-content {
        left: 50% !important;
        top: auto !important;
        bottom: 100% !important; /* Position above the badge */
        transform: translateX(-30%) !important;
        margin-left: 0 !important;
        margin-bottom: 12px; /* Add spacing above the badge */
        min-width: 275px;
    }

        /* Arrow pointing down (from popover to badge) - MOBILE */
        .lowest-price-badge-popover .popover-content::before {
            top: 100% !important;
            left: 50% !important;
            transform: translateX(-30%) !important;
            border-color: #fff transparent transparent transparent !important;
            filter: drop-shadow(0 1px 1px #e0e0e0) !important;
        }
}


.btn.btn-cta {
    background: #232323;
    border-color: #232323;
    color: #fff;
    text-transform: none;
}

    .btn.btn-cta:hover, .btn.btn-white:focus {
        background: #000;
    }




.sticky-cta-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: -100px;
    z-index: 10000;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.10);
    border-top: 1px solid #e0e0e0;
    transition: bottom 0.3s cubic-bezier(0.4,0,0.2,1);
    padding: 0;
}

.sticky-cta-bar.visible {
    bottom: 0;
}

.sticky-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    min-height: 70px;
    padding: 0 48px;
    width: 100%;
}

.sticky-cta-price {
    font-size: 18px;
    font-weight: 400;
    color: #222;
    display: flex;
    align-items: center;
    flex: 1 1 0;
    justify-content: flex-start;
}

.sticky-price-value {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin-left: 6px;
}

.sticky-cta-btn {
    min-width: 220px;
    font-size: 16px;
    font-weight: 600;
    margin-left: auto;
    padding: 16px 32px;
    /* Ensures button is vertically centered */
    align-self: center;
}

@media (max-width: 991px) {
    .sticky-cta-content {
        max-width: 100%;
        padding: 0 16px;
    }

    .sticky-cta-btn {
        min-width: 160px;
        padding: 14px 18px;
    }
}

@media (max-width: 700px) {
    .sticky-cta-content {
        flex-direction: column;
        justify-content: center;
        align-items: stretch;
        min-height: 56px;
        padding: 12px 8px;
    }

    .sticky-cta-price {
        display: none;
    }

    .sticky-cta-btn {
        width: 100%;
        margin: 0;
        padding: 18px 0;
        font-size: 18px;
    }
}


/* ==========================================================================
   Tour Hero Buttons Layout & Responsive Design
   ========================================================================== */
/* Base button container styling */
.tour-hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

    .tour-hero-buttons .btn {
        margin-bottom: 0px; /* space between button & icons */
    }

    .tour-hero-buttons .guarantees {
        text-align: center;
        font-size: 13px;
        line-height: normal;
    }

        .tour-hero-buttons .guarantees div {
            margin: 4px 0;
        }

        .tour-hero-buttons .guarantees i {
            font-size: 12px;
            margin-right: 6px;
        }

/* Responsive layout overrides */
/* Force column layout on all screen sizes */
.tour-hero-bottom-section .tour-hero-buttons {
    display: flex !important;
    flex-direction: column !important;
}

/* Desktop - align to the right */
@media (min-width: 992px) {
    .tour-hero-bottom-section .tour-hero-buttons {
        align-items: flex-end !important;
    }
}

/* Tablet: center the CTA and keep it on one line */
@media (min-width: 576px) and (max-width: 991.98px) {
    .tour-hero-bottom-container {
        display: grid;
        grid-template-columns: 1fr; /* stack price and button on tablets too */
        row-gap: 12px;
    }

    .tour-hero-buttons {
        display: flex !important;
        justify-content: center !important;
        align-items: center;
        padding: 0 16px;
    }

        .tour-hero-buttons .btn {
            white-space: nowrap !important; /* one line only */
            font-size: 0.9rem; /* slightly larger than phone */
            padding: 14px 22px;
            width: auto !important; /* shrink to content */
            max-width: 100%;
            display: inline-flex;
            justify-content: center;
            margin: 0 auto;
        }
}



/* Mobile: center the CTA and keep it on one line */
@media (max-width: 575px) {
    .tour-hero-bottom-container {
        display: grid;
        grid-template-columns: 1fr; /* stack price and button */
        row-gap: 12px;
    }

    .tour-hero-buttons {
        display: flex !important; /* force flex in case overridden */
        justify-content: center !important;
        align-items: center;
        padding: 0 12px;
    }

        .tour-hero-buttons .btn {
            white-space: nowrap !important; /* one line only */
            font-size: 0.80rem; /* smaller to fit */
            padding: 12px 20px; /* enough hit area */
            width: auto !important; /* do not stretch full width */
            max-width: 100%; /* still safe inside container */
            display: inline-flex; /* shrink to content */
            justify-content: center;
            margin: 0 auto; /* extra safety for centering */
        }
}



/* ===================================
  Detail page red badge on top of title
====================================== */
.option-badge.red-sunset-badge {
    display: inline-block;
    background: #af0d1d;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 4px;
}


/* ===================================
  Tour Detail page - New Layout
====================================== */
.tour-hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    max-height: 700px;
    overflow: hidden;
}

.tour-hero-section .swiper-container {
    height: 100%;
    width: 100%;
}

.tour-hero-section .swiper-slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.tour-hero-content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 40%, transparent 100%);
    z-index: 10;
    padding: 60px 40px 40px 40px;
    pointer-events: none;
}

.tour-hero-content-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    pointer-events: auto;
}

.tour-hero-text-wrapper {
    flex: 1;
    text-align: left;
    max-width: 600px;
}

.tour-hero-pricing {
    color: #ffffff;
    font-size: 1rem;
    margin: 0;
    opacity: 0.85;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

.tour-hero-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
    align-items: center;
}

/* Tablet styles */
@media (max-width: 1024px) {
    .tour-hero-section {
        height: 80vh;
        min-height: 450px;
        max-height: 700px;
    }

    .tour-hero-content-overlay {
        padding: 50px 30px 35px 30px;
    }

    .tour-hero-buttons {
        gap: 0.875rem;
    }
}

/* Mobile landscape and large mobile */
@media (max-width: 768px) {
    .tour-hero-section {
        height: 55vh;
        min-height: 330px;
        max-height: 490px;
    }

    .tour-hero-content-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .tour-hero-content-overlay {
        padding: 30px 20px 20px 20px;
    }

    .tour-hero-pricing {
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
    }

    .tour-hero-buttons {
        width: auto;
        justify-content: flex-start;
        gap: 0.75rem;
        /* Keep buttons side by side */
        flex-direction: row;
    }

}

/* Mobile portrait */
@media (max-width: 480px) {
    .tour-hero-section {
        height: 50vh;
        min-height: 310px;
        max-height: 420px;
    }

    .tour-hero-content-overlay {
        padding: 25px 16px 15px 16px;
    }

    .tour-hero-pricing {
        font-size: 0.75rem;
    }

    .tour-hero-buttons {
        /* Keep buttons side by side even on small mobile */
        flex-direction: row;
        gap: 0.625rem;
        width: auto;
    }
}

/* Small mobile - only stack if absolutely necessary */
@media (max-width: 375px) {
    .tour-hero-section {
        height: 45vh; /* Added specific height for small mobile */
        min-height: 280px; /* Reduced min-height */
        max-height: 360px; /* Added max-height */
    }

    .tour-hero-pricing {
        font-size: 0.6875rem;
    }

    .tour-hero-content-overlay {
        padding: 20px 12px 12px 12px; /* Further reduced padding */
    }
}

/* Very small screens - final fallback */
@media (max-width: 320px) {
    .tour-hero-section {
        height: 40vh; /* Even shorter for very small screens */
        min-height: 250px; /* Reduced min-height */
        max-height: 320px; /* Added max-height */
    }

    .tour-hero-content-overlay {
        padding: 18px 12px 10px 12px; /* Further reduced padding */
    }

    .tour-hero-section {
        min-height: 300px;
    }

    .tour-hero-content-overlay {
        padding: 25px 12px 15px 12px;
    }

    .tour-hero-buttons {
        gap: 0.5rem;
    }
}

/* High resolution displays */
@media (min-width: 1400px) {
    .tour-hero-pricing {
        font-size: 1.125rem;
    }
}

/* Height-based responsive adjustments - updated for mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .tour-hero-section {
        height: 90vh; /* Reduced from 100vh */
        min-height: 340px; /* Reduced from 400px */
    }

    .tour-hero-content-overlay {
        padding: 20px 40px 15px 40px; /* Reduced padding */
    }

    .tour-hero-buttons {
        flex-direction: row;
        gap: 0.75rem;
    }
}


/* New bottom section outside slider */
.tour-hero-bottom-section {
    background: #ffffff;
    padding: 20px 30px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
    border: 0px solid red;
}

.tour-hero-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Update pricing styles for outside section */
.tour-hero-bottom-section .tour-hero-pricing {
    color: #333333;
    font-size: 1.1rem;
    margin: 0;
    opacity: 1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-shadow: none;
    font-weight: 500;
}

/* Update button styles for outside section */
.tour-hero-bottom-section .tour-hero-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
    align-items: center;
}

.tour-hero-bottom-section .btn-buy {
    background: #333333;
    color: #ffffff;
    font-weight: 600;
}

    .tour-hero-bottom-section .btn-buy:hover {
        background: #555555;
        color: #ffffff;
        text-decoration: none;
        transform: translateY(-1px);
    }

/* Tablet styles for bottom section */
@media (max-width: 1024px) {
    .tour-hero-bottom-section {
        padding: 25px 30px;
    }

        .tour-hero-bottom-section .tour-hero-pricing {
            font-size: 1rem;
        }

        .tour-hero-bottom-section .tour-hero-buttons {
            gap: 0.875rem;
        }
}

/* Mobile landscape and large mobile */
@media (max-width: 768px) {
    .tour-hero-bottom-section {
        padding: 20px;
    }

    .tour-hero-bottom-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .tour-hero-bottom-section .tour-hero-pricing {
        font-size: 0.95rem;
        margin-bottom: 0;
    }

    .tour-hero-bottom-section .tour-hero-buttons {
        width: auto;
        justify-content: flex-start;
        gap: 0.75rem;
        /* Keep buttons side by side */
        flex-direction: row;
    }

}

/* Mobile portrait */
@media (max-width: 480px) {
    .tour-hero-bottom-section {
        padding: 18px 16px;
    }

        .tour-hero-bottom-section .tour-hero-pricing {
            font-size: 0.875rem;
        }

        .tour-hero-bottom-section .tour-hero-buttons {
            /* Keep buttons side by side even on small mobile */
            flex-direction: row;
            gap: 0.625rem;
            width: auto;
        }
}

/* Small mobile */
@media (max-width: 375px) {
    .tour-hero-bottom-section .tour-hero-pricing {
        font-size: 0.8rem;
    }
}

/* Very small screens */
@media (max-width: 320px) {
    .tour-hero-bottom-section {
        padding: 15px 12px;
    }

        .tour-hero-bottom-section .tour-hero-buttons {
            gap: 0.5rem;
        }
}

/* High resolution displays */
@media (min-width: 1400px) {
    .tour-hero-bottom-section .tour-hero-pricing {
        font-size: 1.2rem;
    }
}


/* Hide pagination dots on tablet and mobile */
@media screen and (max-width: 1024px) {
    .tour-swiper-pagination

{
    display: none !important;
}

}

/* SEO hidden images for alt text */
.tour-seo-hidden-image {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
}

/* TOUR DETAIL HIGHLIGHTS - Override feature-box-5 styles */
.tour-detail-highlights .feature-box-5, .tour-detail-highlights .feature-box-5a {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 4px 4px 8px 4px;
    position: relative;
    border: 0px solid red;
}

    /* Icon styles */
    .tour-detail-highlights .feature-box-5 i, .tour-detail-highlights .feature-box-5a i {
        object-fit: contain;
        position: static; /* removes absolute positioning */
        margin: 0;
        border: 0;
        padding-top: 5px;
        border: 0px solid blue;
    }

    /* Content styles */
    .tour-detail-highlights .feature-box-5 .feature-content,
    .tour-detail-highlights .feature-box-5a .feature-content {
        flex: 1 1 0%;
        border: 0px solid green;
    }

        .tour-detail-highlights .feature-box-5 .feature-content p,
        .tour-detail-highlights .feature-box-5a .feature-content p {
            border: 0px solid yellow;
        }

/* --- Responsive adjustments --- */
/* Tablet: tighter spacing and smaller icons */
@media (max-width: 991px) {
    .tour-detail-highlights .feature-box-5, .tour-detail-highlights .feature-box-5a {
        gap: 10px;
        padding: 14px 8px;
        min-height: 54px;
        margin-bottom: 10px; /* less space between boxes */
        border: 0px solid red
    }

        .tour-detail-highlights .feature-box-5 i, .tour-detail-highlights .feature-box-5a i {
            width: 38px;
            height: 38px;
            min-width: 38px;
            border: 0px solid blue;
        }

        .tour-detail-highlights .feature-box-5 .feature-content p,
        .tour-detail-highlights .feature-box-5a .feature-content p {
            font-size: 0.96rem;
            border: 0px solid green;
        }
}

/* Mobile: stack vertically and minimal space */
@media (max-width: 575px) {
    .tour-detail-highlights .feature-box-5, .tour-detail-highlights .feature-box-5a {
        /* REMOVE or DO NOT USE flex-direction: column */
        align-items: flex-start;
        gap: 8px;
        padding: 10px 5px;
        min-height: 0;
        margin-bottom: 8px;
        text-align: left;
        border: 0px solid red
    }

        .tour-detail-highlights .feature-box-5 i, .tour-detail-highlights .feature-box-5a i {
            width: 32px;
            height: 32px;
            min-width: 32px;
            margin-bottom: 0; /* No stacking, so no margin needed */
            border: 0px solid blue;
        }

        .tour-detail-highlights .feature-box-5 .feature-content p,
        .tour-detail-highlights .feature-box-5a .feature-content p {
            font-size: 0.95rem;
            border: 0px solid green;
        }
}

/* ===================================
  Question Mark Dropdown - Hover behavior styling (stays open on hover) 
====================================== */
.dropdown-style-1 .dropdown-menu {
    display: none !important;
    margin-top: 5px;
    min-width: 150px;
    border-radius: 0;
    border: none;
    z-index: 1001;
    right: 0;
    left: auto !important;
    padding: 8px 0;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: absolute;
    top: 100%;
}

/* Show when .show class added */
.dropdown-style-1 .dropdown-menu.show {
    display: block !important;
}

/* Button styling */
.dropdown-style-1 .btn {
    color: #000 !important;
    font-size: 18px;
    line-height: 15px;
    padding: 0 8px;
    margin: 0;
    background: transparent;
    border: none;
    font-weight: normal;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

    .dropdown-style-1 .btn:hover,
    .dropdown-style-1 .btn:focus {
        color: #000 !important;
    }

    /* Remove Bootstrap arrow */
    .dropdown-style-1 .btn.dropdown-toggle:after {
        display: none;
    }

/* Menu item styling */
.dropdown-style-1 .dropdown-menu li {
    list-style: none;
    padding: 0;
}

    .dropdown-style-1 .dropdown-menu li a {
        padding: 8px 15px;
        font-size: 12px;
        display: flex;
        align-items: center;
        line-height: normal;
        color: #000 !important;
        background: #fff;
        text-decoration: none;
        white-space: nowrap;
    }

        .dropdown-style-1 .dropdown-menu li a:hover,
        .dropdown-style-1 .dropdown-menu li a:focus {
            background: #f5f5f5 !important;
            color: #000 !important;
        }

/* Mobile z-index */
@media (max-width: 991px) {
    .dropdown-style-1 {
        z-index: 1050 !important;
    }

        .dropdown-style-1 .dropdown-menu {
            z-index: 1051 !important;
        }
}

/* ===================================
 GOOGLE SEARCH
====================================== */
/* Keep Google branding visible */
.gsc-result-info {
    display: none !important;
}

.gsc-adblock {
    display: none !important;
}

/* Make search box wider with proper padding */
.gsc-search-box {
    width: 100% !important;
    max-width: 100% !important;
}

.gsc-input-box {
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    padding: 10px 15px !important;
    display: flex !important;
    align-items: center !important;
    height: 50px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    gap: 10px !important;
}

.gsc-input {
    flex: 1 1 auto !important;
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
}

    .gsc-input input.gsc-input {
        flex: 1 !important;
        min-width: 600px !important; /* Increase from 200px */
        width: 100% !important; /* Add this */
        font-size: 16px !important;
        padding: 8px !important;
        border: none !important;
    }

.gsc-branding {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    display: flex !important;
    align-items: center !important;
    font-size: 12px !important;
}

/* Borderless button */
.gsc-search-button-v2,
.gsc-search-button button {
    border: none !important;
    border-radius: 6px !important;
    background-color: black !important;
    color: white !important;
    cursor: pointer !important;
    height: 50px !important;
    padding: 0 20px !important;
    min-width: 60px !important;
    flex-shrink: 0 !important;
}

    .gsc-search-button-v2:hover,
    .gsc-search-button button:hover {
        background-color: black !important;
    }

/* Tablet */
@media (max-width: 768px) {
    .gsc-input-box {
        height: 55px !important;
        padding: 12px !important;
    }

    .gsc-input input.gsc-input {
        min-width: 350px !important;
    }

    .gsc-search-button-v2,
    .gsc-search-button button {
        height: 55px !important;
        padding: 0 25px !important;
    }
}

/* Mobile - hide Google branding */
@media (max-width: 480px) {
    .gsc-input-box {
        height: 50px !important;
        padding: 8px !important;
    }

    .gsc-input input.gsc-input {
        min-width: 200px !important;
        font-size: 14px !important;
    }

    .gsc-branding {
        display: none !important;
    }

    .gsc-search-button-v2,
    .gsc-search-button button {
        height: 50px !important;
        padding: 0 18px !important;
    }
}

/* ===================================
 ACCESSIBILITY WIDGET
====================================== */
/* Accessibility Widget */
#accessibilityWidget {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 0px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

#accessibilityWidget:hover {
    opacity: 0.8;
}


/* ===================================
 PAGE TITLE SECTION WITH BOTTOM-CENTERED
    TITNE AND SUBTITLE 
====================================== */
.page-title-section {
    width: 100%;
    min-height: 450px;
    background-size: cover;
    background-position: center top;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.bottom-gradient {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.0) 100%);
    z-index: 1;
    pointer-events: none;
}

.bottom-title-wrapper {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    text-align: center;
    padding: 48px 0 36px 0;
}

.subtitle {
    display: block;
    color: rgba(255,255,255,0.6);
    font-size: 18px;
    margin-bottom: 8px;
    font-family: 'Montserrat', 'Arial', sans-serif;
    letter-spacing: 1px;
}

.page-title {
    color: #fff;
    font-size: 48px;
    font-family: 'Montserrat', 'Arial', sans-serif;
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.5px;
}

@media (max-width: 768px) {
    .page-title-section {
        min-height: 250px;
    }

    .bottom-title-wrapper {
        padding: 24px 0 18px 0;
    }

    .page-title {
        font-size: 28px;
    }

    .subtitle {
        font-size: 14px;
    }
}
