.togo-tour-details-booking-area {
    margin-bottom: 40px;
}

.togo-tour-details-booking-area .loading {
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #EEE;
    background: #fff;
    box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    color: #FD4621;
    flex-direction: column;
    gap: 20px;
}

.togo-tour-details-booking-area .loader {
    width: 50px;
    height: 50px;
    animation: loader-rotate 2s linear infinite;
}

.togo-tour-details-booking-area .loader .ring {
    stroke: currentColor;
    opacity: 0.25;
}

.togo-tour-details-booking-area .loader .ball {
    fill: currentColor;
    transform-origin: 50% 50%;
    animation: loader-orbit 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes loader-rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes loader-orbit {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(180deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.togo-tour-details-booking-area .loading .title {
    font-size: 24px;
    color: #111111;
    font-weight: 500;
    line-height: 1.2;
    font-family: 'Outfit', sans-serif;

}

.togo-tour-details-booking-area .results {
    border: .0625rem solid rgb(253, 70, 33);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    padding: 24px;
    width: 100%;
}

/* Guest Dropdown Panel */
.guests-dropdown-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 100;
    border: 1px solid #f0f0f0;
}

.guests-dropdown-header {
    font-size: 14px;
    color: #666666;
    margin-bottom: 16px;
    font-family: 'Outfit', sans-serif;
}

.guests-dropdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.guests-dropdown-label {
    display: flex;
    flex-direction: column;
}

.guests-dropdown-label .title {
    font-size: 16px;
    font-weight: 600;
    color: #111111;
    font-family: 'Outfit', sans-serif;
}

.guests-dropdown-label .subtitle {
    font-size: 13px;
    color: #888888;
    margin-top: 2px;
}

.guests-dropdown-selector {
    display: flex;
    align-items: center;
    gap: 16px;
}

.guests-dropdown-selector .btn-less,
.guests-dropdown-selector .btn-plus {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #cccccc;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111111;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.guests-dropdown-selector .btn-less:hover:not(:disabled),
.guests-dropdown-selector .btn-plus:hover:not(:disabled) {
    border-color: #FD4621;
    color: #FD4621;
}

.guests-dropdown-selector .btn-less:disabled,
.guests-dropdown-selector .btn-plus:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.guests-dropdown-selector .quantity {
    font-size: 16px;
    font-weight: 600;
    color: #111111;
    min-width: 16px;
    text-align: center;
    font-family: 'Outfit', sans-serif;
}

.guests-dropdown-divider {
    height: 1px;
    background-color: #eeeeee;
    margin: 4px 0;
}

.guests-dropdown-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}

.guests-dropdown-footer .btn-apply {
    background-color: #FD4621;
    color: #ffffff;
    border: none;
    border-radius: 24px;
    padding: 10px 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-family: 'Outfit', sans-serif;
}

.guests-dropdown-footer .btn-apply:hover {
    background-color: #e03510;
}

.cursor-pointer {
    cursor: pointer;
}

/* Premium Route Selection Card */
.route-selection-card {
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    display: flex;
    width: 100%;
    margin-bottom: 24px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    font-family: 'Outfit', sans-serif;
    text-align: left;
}

@media (max-width: 768px) {
    .route-selection-card {
        flex-direction: column;
    }
}

.route-selection-card .card-main-info {
    flex: 1;
    padding: 24px;
}

.route-selection-card .card-header-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.route-selection-card .step-indicator-icon {
    width: 24px;
    height: 24px;
    border: 2px solid #FD4621;
    border-radius: 50%;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.route-selection-card .step-indicator-icon::after {
    content: '';
    width: 10px;
    height: 10px;
    background-color: #FD4621;
    border-radius: 50%;
}

.route-selection-card .card-title {
    font-size: 20px;
    font-weight: 600;
    color: #111111;
    margin-bottom: 0;
}

.route-selection-card .route-subtitle {
    font-size: 15px;
    color: #666666;
    margin-bottom: 20px;
    margin-left: 36px;
}

.route-selection-card .time-selector-label {
    font-size: 14px;
    font-weight: 500;
    color: #888888;
    margin-bottom: 8px;
    margin-left: 36px;
}

.route-selection-card .time-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-left: 36px;
    margin-bottom: 20px;
}

.route-selection-card .time-pill {
    padding: 8px 20px;
    border-radius: 24px;
    border: 1px solid #111111;
    background-color: transparent;
    color: #111111;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.route-selection-card .time-pill:hover {
    border-color: #FD4621;
    color: #FD4621;
}

.route-selection-card .time-pill.active {
    background-color: #FD4621;
    border-color: #FD4621;
    color: #ffffff;
}

.route-selection-card .option-selector-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-left: 36px;
}

.route-selection-card .option-pill {
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid #eaeaea;
    background-color: #f9f9f9;
    color: #666666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.route-selection-card .option-pill:hover {
    border-color: #ccc;
}

.route-selection-card .option-pill.active {
    background-color: #fff4f2;
    border-color: #FD4621;
    color: #FD4621;
    font-weight: 500;
}

.route-selection-card .card-sidebar {
    width: 260px;
    padding: 24px;
    border-left: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fafafa;
}

@media (max-width: 768px) {
    .route-selection-card .card-sidebar {
        width: 100%;
        border-left: none;
        border-top: 1px solid #eaeaea;
    }
}

.route-selection-card .price-row {
    text-align: right;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .route-selection-card .price-row {
        text-align: left;
    }
}

.route-selection-card .price-amount {
    font-size: 24px;
    font-weight: 600;
    color: #111111;
    margin-bottom: 4px;
}

.route-selection-card .price-breakdown {
    font-size: 13px;
    color: #777777;
    line-height: 1.5;
}

.route-selection-card .btn-select-route {
    background-color: #FD4621;
    color: #ffffff;
    border: none;
    border-radius: 24px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-align: center;
    box-shadow: 0 4px 10px rgba(253, 70, 33, 0.2);
}

.route-selection-card .btn-select-route:hover {
    background-color: #e03510;
}

/* Premium Passenger Cards */
.passenger-card {
    background-color: #ffffff;
    border: 1px solid #eaeaea !important;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    font-family: 'Outfit', sans-serif;
    margin-bottom: 20px;
    padding: 24px;
}

.passenger-card h4 {
    color: #111111;
    font-size: 18px;
    font-weight: 600;
}

.passenger-card .form-label {
    font-weight: 500;
    color: #444444;
    font-size: 14px;
    margin-bottom: 6px;
}

.contact .form-control,
.passenger-card .form-control {
    border-radius: 8px;
    border: 1px solid #dcdcdc;
    padding: 8px 12px;
    font-size: 14px;
    height: 42px !important;
    line-height: 1.5 !important;
    transition: all 0.2s ease;
    background-color: #ffffff;
}

.passenger-card .form-select {
    border-radius: 8px;
    border: 1px solid #dcdcdc;
    padding: 8px 36px 8px 12px;
    font-size: 14px;
    height: 42px !important;
    line-height: 1.5 !important;
    transition: all 0.2s ease;
    background-color: #ffffff;
    background-position: right 12px center;
}

.contact .form-control:focus,
.passenger-card .form-control:focus,
.passenger-card .form-select:focus {
    border-color: #FD4621;
    box-shadow: 0 0 0 3px rgba(253, 70, 33, 0.15);
    outline: none;
}

/* Booking Navigation Footer */
.booking-navigation {
    border-top: 1px solid #eaeaea;
    padding-top: 24px;
    margin-top: 24px;
}

.btn-booking-nav {
    border-radius: 24px;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s ease;
    border: none;
}

.btn-booking-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.booking-navigation .btn-secondary {
    background-color: #f5f5f5;
    border: 1px solid #eaeaea !important;
    color: #666666;
}

.booking-navigation .btn-secondary:hover:not(:disabled) {
    background-color: #e8e8e8;
    color: #111111;
}

.booking-navigation .btn-primary {
    background-color: #FD4621;
    border: 1px solid #FD4621 !important;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(253, 70, 33, 0.2);
}

.booking-navigation .btn-primary:hover:not(:disabled) {
    background-color: #e03510;
    border-color: #e03510 !important;
}

/* SweetAlert overrides */
.swal2-timer-progress-bar {
    background: #FD4621 !important;
}

.swal2-html-container {
    padding-bottom: 24px !important;
}

/* Checkbox/Switch styling */
.form-check-input:checked {
    background-color: #FD4621 !important;
    border-color: #FD4621 !important;
}

.form-check-input:focus {
    border-color: #FD4621 !important;
    box-shadow: 0 0 0 0.25rem rgba(253, 70, 33, 0.25) !important;
}

.form-switch .form-check-input:focus:not(:checked) {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e") !important;
}

.togo-breadcrumb-list ul li.dev {
    display: flex;
    align-items: center;
    margin: 0 5px;
}

.togo-breadcrumb-list ul li.dev span {
    font-size: 14px;
}

#ferry-checkout-app .togo-checkout-summary-option .material-symbols-rounded,
#ferry-checkout-app .togo-checkout-summary-option svg.material-symbols-rounded {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

#ferry-checkout-app .togo-checkout-summary-option span {
    display: flex;
    align-items: center;
    gap: 5px;
}

#ferry-checkout-app .togo-checkout-summary-option .material-symbols-rounded.return,
#ferry-checkout-app .togo-checkout-summary-option svg.material-symbols-rounded.return {
    transform: rotate(180deg);
}

#ferry-checkout-app .togo-btn-primary {
    display: flex;
    align-items: flex-end;
    gap: 3px;
}

#ferry-checkout-app .togo-btn-primary .material-symbols-rounded,
#ferry-checkout-app .togo-btn-primary svg.material-symbols-rounded {
    font-size: 21px;
    width: 21px;
    height: 21px;
}

/* Mobile Image Gallery Slider */
@media (max-width: 991px) {
    .togo-tour-details-gallery {
        margin-bottom: 25px !important;
    }

    .togo-tour-details-gallery>.row {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        margin-left: -15px !important;
        margin-right: -15px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        padding-bottom: 10px !important;
        scrollbar-width: none !important;
        /* Firefox */
    }

    .togo-tour-details-gallery>.row::-webkit-scrollbar {
        display: none !important;
        /* Safari/Chrome */
    }

    .togo-tour-details-gallery>.row>.col-lg-7,
    .togo-tour-details-gallery>.row>.col-lg-5,
    .togo-tour-details-gallery>.row>.col-lg-5>.row,
    .togo-tour-details-gallery>.row>.col-lg-5>.row>.col-lg-6 {
        display: contents !important;
    }

    .togo-tour-details-gallery .togo-tour-details-gallery-thumb {
        flex: 0 0 85% !important;
        width: 85% !important;
        max-width: 85% !important;
        margin-right: 12px !important;
        margin-bottom: 0 !important;
        scroll-snap-align: center !important;
        position: relative !important;
        height: 280px !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    }

    .togo-tour-details-gallery .togo-tour-details-gallery-thumb a {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
    }

    .togo-tour-details-gallery .togo-tour-details-gallery-thumb img {
        height: 100% !important;
        width: 100% !important;
        object-fit: cover !important;
        border-radius: 12px !important;
    }

    .togo-tour-details-gallery .togo-tour-details-gallery-video {
        bottom: 15px !important;
        right: 15px !important;
        top: auto !important;
        left: auto !important;
    }

    .togo-tour-details-gallery .togo-tour-details-gallery-btn {
        bottom: 15px !important;
        right: 15px !important;
        top: auto !important;
        left: auto !important;
    }
}

/* Mobile Sticky Booking Bar Styles */
@media (max-width: 991px) {
    body {
        padding-bottom: 95px !important;
    }

    .mobile-sticky-booking-bar {
        position: fixed;
        bottom: 10px;
        left: 10px !important;
        right: 10px !important;
        width: calc(100vw - 20px) !important;
        max-width: calc(100vw - 20px) !important;
        box-sizing: border-box !important;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
        z-index: 1040;
        padding: 12px 18px;
        animation: slideUpSticky 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .sticky-bar-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
    }

    .sticky-bar-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        cursor: pointer;
        min-width: 0;
    }

    .sticky-bar-trip-type {
        margin-bottom: 4px;
        display: inline-flex;
    }

    .sticky-bar-trip-type .trip-badge {
        font-size: 10px;
        text-transform: uppercase;
        font-weight: 700;
        color: #FD4621;
        letter-spacing: 0.3px;
        font-family: 'Outfit', sans-serif;
        display: flex;
        align-items: center;
        cursor: pointer;
        background: rgba(253, 70, 33, 0.08);
        padding: 1px 8px;
        border-radius: 20px;
        transition: background 0.2s ease;
    }

    .sticky-bar-trip-type .trip-badge:hover {
        background: rgba(253, 70, 33, 0.15);
    }

    .sticky-bar-details {
        display: flex;
        align-items: center;
        gap: 6px;
        color: #111111;
        font-family: 'Outfit', sans-serif;
        font-weight: 600;
        font-size: 13px;
    }

    .sticky-bar-details .detail-date {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        color: #111111;
    }

    .sticky-bar-details .detail-dot {
        color: #888888;
        font-weight: 400;
    }

    .sticky-bar-details .detail-pax {
        color: #555555;
        white-space: nowrap;
    }

    .sticky-bar-action {
        flex-shrink: 0;
    }

    .sticky-bar-action .sticky-book-btn {
        background-color: #FD4621 !important;
        color: #ffffff !important;
        border: none !important;
        border-radius: 14px !important;
        padding: 12px 24px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        font-family: 'Outfit', sans-serif !important;
        cursor: pointer !important;
        box-shadow: 0 4px 12px rgba(253, 70, 33, 0.25) !important;
        transition: background-color 0.2s ease, transform 0.1s ease !important;
        line-height: 1.2 !important;
    }

    .sticky-bar-action .sticky-book-btn:active {
        transform: scale(0.97) !important;
        background-color: #e03510 !important;
    }

    @keyframes slideUpSticky {
        from {
            transform: translateY(100%) scale(0.95);
            opacity: 0;
        }

        to {
            transform: translateY(0) scale(1);
            opacity: 1;
        }
    }
}

/* Sidebar Layout styles for Route Selection Cards */
.togo-tour-details-booking-wrapper .route-selection-card {
    flex-direction: column !important;
}

.togo-tour-details-booking-wrapper .route-selection-card .card-sidebar {
    width: 100% !important;
    border-left: none !important;
    border-top: 1px solid #eaeaea !important;
}

.togo-tour-details-booking-wrapper .route-selection-card .price-row {
    text-align: left !important;
}

/* Ensure margins on columns align nicely inside the results card in the sidebar */
.togo-tour-details-booking-wrapper .togo-tour-details-booking-area .results {
    padding: 16px !important;
}

.togo-tour-details-booking-wrapper .route-selection-card .card-main-info {
    padding: 16px !important;
}

.togo-tour-details-booking-wrapper .route-selection-card .card-sidebar {
    padding: 16px !important;
}

.togo-tour-details-booking-wrapper .route-selection-card .route-subtitle {
    margin-left: 0 !important;
    margin-top: 8px !important;
}

.togo-tour-details-booking-wrapper .route-selection-card .time-selector-label {
    margin-left: 0 !important;
}

.togo-tour-details-booking-wrapper .route-selection-card .time-pills-row {
    margin-left: 0 !important;
}

.togo-tour-details-booking-wrapper .route-selection-card .option-selector-row {
    margin-left: 0 !important;
}

/* Mobile Breadcrumbs Styles */
@media (max-width: 991px) {
    .togo-breadcrumb-ptb {
        padding-top: 85px !important;
        padding-bottom: 10px !important;
    }

    .togo-tour-details-top-title {
        font-size: 32px;
    }
}