.cbl-tour-detail {
    color: #333;
}

.cbl-tour-detail__hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .cbl-tour-detail__hero {
        grid-template-columns: 1.1fr 1fr;
        gap: 2.5rem;
        align-items: start;
    }
}

.cbl-tour-detail__gallery {
    border-radius: 12px;
    overflow: hidden;
}

.cbl-tour-detail__gallery-main {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #f3f4f6;
}

.cbl-tour-detail__gallery-main > a {
    display: block;
    width: 100%;
    height: 100%;
}

.cbl-tour-detail__gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cbl-tour-detail__gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 40px 14px;
    background: transparent;
    backdrop-filter: none;
    pointer-events: none;
}

.cbl-tour-detail__gallery-overlay .slide-tour-thumbs {
    position: relative;
    pointer-events: auto;
    max-width: 360px;
    margin: 0 auto;
}

.cbl-tour-detail__gallery-overlay .slide-tour-thumbs .item {
    display: flex;
    justify-content: center;
}
.slide-tour-thumbs .owl-nav {
    display: none;
}

.cbl-tour-detail__gallery-overlay .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    margin: 0;
    pointer-events: none;
}

.cbl-tour-detail__gallery-overlay .owl-prev,
.cbl-tour-detail__gallery-overlay .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    margin: 0 !important;
    padding: 0 !important;
    background: rgba(0, 0, 0, 0.35) !important;
    color: #fff !important;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    pointer-events: auto;
    transition: background 0.2s;
}

.cbl-tour-detail__gallery-overlay .owl-prev:hover,
.cbl-tour-detail__gallery-overlay .owl-next:hover {
    background: rgba(0, 0, 0, 0.5) !important;
}

.cbl-tour-detail__gallery-overlay .owl-prev {
    left: -34px;
}

.cbl-tour-detail__gallery-overlay .owl-next {
    right: -34px;
}

.cbl-tour-detail__gallery-thumb {
    width: 112px;
    height: 72px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
    flex-shrink: 0;
    margin: 0;
}

.cbl-tour-detail__gallery-thumb.is-active,
.cbl-tour-detail__gallery-thumb:hover {
    border-color: #fff;
}

.cbl-tour-detail__gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cbl-tour-detail__title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.35;
    color: #1a1a1a;
}

@media (min-width: 768px) {
    .cbl-tour-detail__title {
        font-size: 24px;
    }
}

.cbl-tour-detail__meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.5rem;
    margin-top: 1.25rem;
}

.cbl-tour-detail__meta-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #555;
}

.cbl-tour-detail__meta-item i {
    color: var(--cbl-primary, #e46624);
    margin-top: 2px;
    width: 16px;
    text-align: center;
}

.cbl-tour-detail__meta-label {
    color: #888;
    font-size: 0.75rem;
    display: block;
}

.cbl-tour-detail__price-from {
    margin-top: 1.25rem;
    font-size: 0.95rem;
}

.cbl-tour-detail__price-from strong {
    color: #e53935;
    font-size: 1.25rem;
    font-weight: 700;
}

.cbl-tour-detail__highlights {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.cbl-tour-detail__highlights li {
    display: flex;
    gap: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0.35rem;
    color: #555;
}

.cbl-tour-detail__highlights li::before {
    content: "•";
    color: var(--cbl-primary, #e46624);
    font-weight: bold;
}

.cbl-tour-detail__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 2.5rem;
}

@media (min-width: 1024px) {
    .cbl-tour-detail__layout {
        grid-template-columns: 1fr 380px;
        gap: 2rem;
        align-items: start;
    }
}

.cbl-tour-detail__section {
    margin-bottom: 2.5rem;
}

.cbl-tour-detail__section-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.cbl-tour-detail__overview {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #555;
}

.cbl-tour-detail__overview.is-collapsed {
    max-height: 120px;
    overflow: hidden;
    position: relative;
}

.cbl-tour-detail__overview.is-collapsed::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 48px;
    background: linear-gradient(transparent, #fff);
}

.cbl-tour-detail__read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--cbl-primary, #e46624);
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.5rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.cbl-tour-detail__section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cbl-tour-detail__expand-all {
    color: #333;
    cursor: pointer;
    background: none;
    border: none;
    font-weight: 400;
    text-decoration: underline;
}

/* ---- Itinerary timeline ---- */
.cbl-itinerary__timeline {
    position: relative;
}

.cbl-itinerary__timeline::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 20px;
    bottom: 20px;
    border-left: 2px dashed #c5c5c5;
    z-index: 0;
}

.cbl-itinerary__day {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 0 14px;
    position: relative;
    border-bottom: 1px solid #e8e8e8;
}

.cbl-itinerary__day:last-child {
    border-bottom: none;
}

.cbl-itinerary__marker {
    position: relative;
    z-index: 1;
    padding-top: 14px;
    display: flex;
    justify-content: center;
}

.cbl-itinerary__icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #fff;
}

.cbl-itinerary__icon--start,
.cbl-itinerary__icon--end {
    background: var(--cbl-primary, #e46624);
    color: #fff;
    font-size: 13px;
}

.cbl-itinerary__icon--middle {
    width: 14px;
    height: 14px;
    background: #fff;
    border: 2px solid var(--cbl-primary, #e46624);
    box-sizing: border-box;
}

.cbl-itinerary__day--middle .cbl-itinerary__marker {
    padding-top: 18px;
}

.cbl-itinerary__content {
    min-width: 0;
}

.cbl-itinerary__header {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 14px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.cbl-itinerary__title {
    font-weight: 700;
    font-size: 0.9rem;
    color: #1a1a1a;
    line-height: 1.45;
    flex: 1;
}

.cbl-itinerary__header .chevron {
    color: #999;
    font-size: 12px;
    margin-top: 4px;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.cbl-itinerary__day.is-open .cbl-itinerary__header .chevron {
    transform: rotate(180deg);
}

.cbl-itinerary__body {
    display: none;
    padding: 0 0 16px 0;
}

.cbl-itinerary__day.is-open .cbl-itinerary__body {
    display: block;
}

.cbl-itinerary__text {
    font-size: 0.875rem;
    line-height: 1.7;
    color: #666;
}

.cbl-itinerary__text p {
    margin-bottom: 0.65rem;
}

.cbl-itinerary__text strong,
.cbl-itinerary__text b {
    color: #333;
    font-weight: 700;
}

.cbl-itinerary__text ul {
    list-style: none;
    padding-left: 0;
    margin: 0.5rem 0;
}

.cbl-itinerary__text ul li {
    position: relative;
    padding-left: 0;
    margin-bottom: 0.35rem;
    color: #666;
}

/* Includes/Excludes */
.cbl-tour-detail__section--bordered {
    padding-top: 1.5rem;
    border-top: 1px solid #e8e8e8;
}

.cbl-tour-detail__includes-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cbl-tour-detail__includes-block h4 {
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 0.65rem;
    color: #1a1a1a;
}


.cbl-tour-detail__policy-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    background: none;
    border: none;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95rem;
    color: #1a1a1a;
    text-align: left;
}

.cbl-tour-detail__policy-body {
    display: none;
    padding-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.65;
    color: #555;
}

.cbl-tour-detail__policy.is-open .cbl-tour-detail__policy-body {
    display: block;
}

.cbl-tour-detail__policy .chevron {
    transition: transform 0.2s;
    color: #999;
}

.cbl-tour-detail__policy.is-open .chevron {
    transform: rotate(180deg);
}

/* Booking sidebar */
.cbl-tour-booking {
    background: #fff;
    border-radius: 12px;
    box-shadow: none;
    padding: 1.25rem;
    position: sticky;
    top: calc(var(--cbl-header-h, 130px) + 16px);
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.cbl-tour-booking__price-header {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

.cbl-tour-booking__price-header del {
    color: #aaa;
    margin-right: 0.35rem;
    font-size: 0.85rem;
}

.cbl-tour-booking__price-header strong {
    color: var(--cbl-primary, #e46624);
    font-size: 1.35rem;
    font-weight: 700;
}

.cbl-tour-booking__input-wrap {
    position: relative;
    margin-bottom: 0.75rem;
}

.cbl-tour-booking__input-wrap > i {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 14px;
    pointer-events: none;
}

.cbl-tour-booking__input {
    width: 100%;
    padding: 0.7rem 0.85rem 0.7rem 2.35rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 0.875rem;
    background: #fff;
    outline: none;
    color: #333;
}

.cbl-tour-booking__input:focus {
    border-color: var(--cbl-primary, #e46624);
}

.cbl-tour-booking__box {
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.cbl-tour-booking__box-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #eee;
    background: #fafafa;
}

.cbl-tour-booking__box-title i {
    color: #888;
    font-size: 13px;
}

.cbl-tour-booking__packages {
    display: flex;
    flex-direction: column;
}

.cbl-tour-booking__package {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem 0.85rem;
    cursor: pointer;
    font-size: 0.875rem;
    border-bottom: 1px solid #eee;
    margin: 0;
}

.cbl-tour-booking__package:last-child {
    border-bottom: none;
}

.cbl-tour-booking__package-left {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex: 1;
    min-width: 0;
}

.cbl-tour-booking__package input[type="radio"] {
    accent-color: var(--cbl-primary, #e46624);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin: 0;
}

.cbl-tour-booking__package-price {
    color: #333;
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.cbl-tour-booking__guest-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0.85rem;
    border-bottom: 1px solid #eee;
}

.cbl-tour-booking__guest-row:last-child {
    border-bottom: none;
}

.cbl-tour-booking__guest-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
}

.cbl-tour-booking__guest-label i {
    color: #888;
    font-size: 14px;
    width: 16px;
    text-align: center;
}

.cbl-tour-booking__guest-label small {
    font-weight: 400;
    color: #888;
}

.cbl-tour-booking__counter {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.cbl-tour-booking__counter-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    background: #555 !important;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 0;
    transition: background 0.2s;
}

.cbl-tour-booking__counter-btn:hover {
    background: #333;
}

.cbl-tour-booking__counter-value {
    min-width: 20px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    color: #333;
}

.cbl-tour-booking__summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin: 0.75rem 0 1rem;
    overflow: hidden;
    min-height: 72px;
}

.cbl-tour-booking__summary-left {
    padding: 0.75rem 0.85rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
    border-right: 1px solid #e0e0e0;
}

.cbl-tour-booking__summary-line {
    font-size: 0.8rem;
    color: var(--cbl-primary, #e46624);
    line-height: 1.4;
}

.cbl-tour-booking__summary-right {
    padding: 0.75rem 0.85rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.cbl-tour-booking__summary-right strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--cbl-primary, #e46624);
    line-height: 1.3;
}

.cbl-tour-booking__submit {
    display: block;
    width: 100%;
    padding: 0.9rem 1rem;
    background: linear-gradient(180deg, #f07830 0%, #e46624 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    text-align: center;
    transition: opacity 0.2s;
    text-decoration: none;
}

.cbl-tour-booking__submit:hover {
    opacity: 0.92;
    color: #fff;
}

.cbl-tour-detail__related {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.cbl-tour-detail__related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .cbl-tour-detail__related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cbl-tour-detail__related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Booking page */
.cbl-booking-page {
    background: #f8f8f8;
    min-height: 60vh;
}

.cbl-booking-page__title {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: #3d8b37;
    letter-spacing: 0.08em;
    margin-bottom: 2rem;
}

.cbl-booking-page__card {
    max-width: 820px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .cbl-booking-page__card {
        padding: 2rem 2.25rem;
    }
}

.cbl-booking-page__tour {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .cbl-booking-page__tour {
        flex-direction: row;
        align-items: flex-start;
        gap: 1.25rem;
    }
}

.cbl-booking-page__tour-image {
    width: 100%;
    max-width: 180px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.cbl-booking-page__tour-image img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.cbl-booking-page__tour-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
    color: #1a1a1a;
    margin-bottom: 0.85rem;
}

.cbl-booking-page__tour-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem;
}

.cbl-booking-page__car-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.cbl-booking-page__car-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #444;
}

.cbl-booking-page__car-list-item i {
    flex-shrink: 0;
    width: 16px;
    margin-top: 3px;
    color: #888;
    text-align: center;
}

.cbl-booking-page__meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #444;
}

.cbl-booking-page__meta-item i {
    color: #888;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.cbl-booking-page__divider {
    border: none;
    border-top: 1px solid #e8e8e8;
    margin: 0;
}

.cbl-booking-page__section-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.cbl-booking-page__requests {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    background: #fff;
}

.cbl-booking-page__request-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1rem;
    align-items: start;
    padding: 0.65rem 0;
    font-size: 0.9rem;
}

.cbl-booking-page__request-row:last-child {
    border-bottom: none;
}

.cbl-booking-page__request-row--package {
    align-items: start;
}

.cbl-booking-page__request-row--pax {
    align-items: start;
}

.cbl-booking-page__request-row--total {
    align-items: center;
    padding-top: 1rem;
    margin-top: 0.25rem;
    border-bottom: none;
}

.cbl-booking-page__request-label {
    font-weight: 600;
    color: #333;
}

.cbl-booking-page__request-value {
    color: #333;
    font-size: 0.9rem;
}

.cbl-booking-page__pax-display {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.cbl-booking-page__request-row--pax .cbl-booking-page__pax-line {
    padding-left: 0;
}

.cbl-booking-page__request-control .cbl-booking-page__input {
    max-width: 220px;
}

.cbl-booking-page__package-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cbl-booking-page__package-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: #444;
}

.cbl-booking-page__package-option input {
    accent-color: #e46624;
}

.cbl-booking-page__pax-controls {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cbl-booking-page__pax-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.875rem;
}

.cbl-booking-page__pax-item small {
    color: #888;
}

.cbl-booking-page__pax-lines {
    padding: 0.5rem 0 0.25rem 120px;
}

.cbl-booking-page__pax-line {
    font-size: 0.875rem;
    color: #e46624;
    line-height: 1.6;
}

.cbl-booking-page__total-price {
    font-weight: 700;
    color: #e46624;
}

.cbl-booking-page__field-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.4rem;
}

.cbl-booking-page__input,
.cbl-booking-page__textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #333;
    background: #fff;
    outline: none;
}

.cbl-booking-page__input:focus,
.cbl-booking-page__textarea:focus {
    border-color: #e46624;
}

.cbl-booking-page__textarea {
    resize: vertical;
    min-height: 120px;
}

.cbl-booking-page__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 280px;
    padding: 0.95rem 2.5rem;
    background: linear-gradient(180deg, #f07830 0%, #e46624 100%) !important;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.2s;
}

.cbl-booking-page__submit-spinner {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cbl-booking-page__submit.is-loading {
    opacity: 0.88;
    cursor: not-allowed;
    pointer-events: none;
}

.cbl-booking-page__submit.is-loading .cbl-booking-page__submit-label {
    display: none;
}

.cbl-booking-page__submit.is-loading .cbl-booking-page__submit-spinner {
    display: inline-flex;
}

.cbl-booking-page__submit:disabled {
    opacity: 0.88;
    cursor: not-allowed;
}

.cbl-booking-page__submit:hover {
    opacity: 0.92;
}

.cbl-booking-page__submit-wrap {
    text-align: center;
}

.cbl-booking-page__submit.is-loading:hover,
.cbl-booking-page__submit:disabled:hover {
    opacity: 0.88;
}

.cbl-booking-page .lds-show {
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cbl-booking-page .lds-ring {
    width: 80px;
    height: 80px;
    position: relative;
}

.cbl-booking-page .lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid #fff;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #fff transparent transparent transparent;
}

.cbl-booking-page .lds-ring div:nth-child(1) { animation-delay: -0.45s; }
.cbl-booking-page .lds-ring div:nth-child(2) { animation-delay: -0.3s; }
.cbl-booking-page .lds-ring div:nth-child(3) { animation-delay: -0.15s; }

@keyframes lds-ring {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 639px) {
    .cbl-booking-page__title {
        margin-bottom: 1.25rem;
        letter-spacing: 0.06em;
    }

    .cbl-booking-page__card {
        padding: 1rem;
        border-radius: 10px;
        border-color: #ebebeb;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    }

    .cbl-booking-page__tour-image {
        max-width: 100%;
    }

    .cbl-booking-page__tour-image img {
        height: 140px;
        border-radius: 8px;
    }

    .cbl-booking-page__tour-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .cbl-booking-page__tour-meta {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .cbl-booking-page__meta-item {
        align-items: flex-start;
        font-size: 0.8125rem;
        line-height: 1.45;
    }

    .cbl-booking-page__meta-item i {
        margin-top: 2px;
    }

    .cbl-booking-page__car-list {
        gap: 0.5rem;
    }

    .cbl-booking-page__car-list-item {
        font-size: 0.8125rem;
        line-height: 1.45;
    }

    .cbl-booking-page__section-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .cbl-booking-page__requests {
        padding: 0.75rem 1rem;
        background: #fafafa;
    }

    .cbl-booking-page__request-row {
        grid-template-columns: 1fr;
        gap: 0.25rem;
        padding: 0.75rem 0;
        border-bottom: 1px solid #ececec;
    }

    .cbl-booking-page__requests--inline {
        padding: 0.5rem 0.75rem;
    }

    .cbl-booking-page__requests--inline .cbl-booking-page__request-row {
        grid-template-columns: minmax(90px, 38%) 1fr;
        gap: 0.35rem 0.65rem;
        align-items: center;
        padding: 0.45rem 0;
    }

    .cbl-booking-page__requests--inline .cbl-booking-page__request-label {
        font-size: 0.75rem;
        text-transform: none;
        letter-spacing: 0;
        color: #666;
        line-height: 1.3;
    }

    .cbl-booking-page__requests--inline .cbl-booking-page__request-value {
        font-size: 0.875rem;
        text-align: right;
        line-height: 1.35;
    }

    .cbl-booking-page__requests--inline .cbl-booking-page__request-row--total {
        margin-top: 0.15rem;
        padding: 0.6rem 0.5rem;
    }

    .cbl-booking-page__requests--inline .cbl-booking-page__total-price {
        font-size: 1.125rem;
    }

    .cbl-booking-page__request-row:last-child {
        border-bottom: none;
    }

    .cbl-booking-page__request-label {
        font-size: 0.75rem;
        font-weight: 600;
        color: #888;
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }

    .cbl-booking-page__request-value {
        font-size: 0.9375rem;
        line-height: 1.45;
        word-break: break-word;
    }

    .cbl-booking-page__request-row--pax {
        padding-bottom: 0.75rem;
    }

    .cbl-booking-page__pax-line {
        font-size: 0.875rem;
    }

    .cbl-booking-page__request-row--total {
        flex-direction: row;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        margin-top: 0.25rem;
        padding: 0.85rem 0.75rem;
        background: #fff;
        border: 1px solid #e8e8e8;
        border-radius: 8px;
        border-bottom: none;
    }

    .cbl-booking-page__request-row--total .cbl-booking-page__request-label {
        font-size: 0.875rem;
        text-transform: none;
        color: #333;
    }

    .cbl-booking-page__total-price {
        font-size: 1.25rem;
        white-space: nowrap;
    }

    .cbl-booking-page__pax-lines {
        padding-left: 0;
    }

    .cbl-booking-page__input,
    .cbl-booking-page__textarea {
        font-size: 16px;
        padding: 0.75rem 0.85rem;
    }

    .cbl-booking-page__textarea {
        min-height: 100px;
    }

    .cbl-booking-page__submit-wrap {
        position: sticky;
        bottom: 0;
        z-index: 20;
        margin: 0 -1rem -1rem;
        padding: 0.75rem 1rem 1rem;
        background: linear-gradient(to top, #fff 75%, rgba(255, 255, 255, 0));
    }

    .cbl-booking-page__submit {
        width: 100%;
        min-width: 0;
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
        border-radius: 50px;
        box-shadow: 0 4px 14px rgba(228, 102, 36, 0.35);
    }
}

/* Booking success modal */
body.cbl-booking-success-open {
    overflow: hidden;
}

.cbl-booking-success {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.cbl-booking-success.hidden {
    display: none;
}

.cbl-booking-success__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.cbl-booking-success__dialog {
    position: relative;
    width: 100%;
    max-width: 520px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    padding: 48px 40px 56px;
    text-align: center;
    animation: cblBookingSuccessIn 0.35s ease;
}

@keyframes cblBookingSuccessIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.cbl-booking-success__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: #9ca3af;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: color 0.2s, background 0.2s;
}

.cbl-booking-success__close:hover {
    color: #4b5563;
    background: #f3f4f6;
}

.cbl-booking-success__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.cbl-booking-success__logo {
    max-width: 200px;
    width: 100%;
    height: auto;
    display: block;
}

.cbl-booking-success__title {
    margin: 0;
    font-size: clamp(1.35rem, 3.5vw, 1.65rem);
    font-weight: 700;
    line-height: 1.45;
    color: #2d6b28;
    letter-spacing: 0.01em;
}

@media (max-width: 480px) {
    .cbl-booking-success__dialog {
        padding: 40px 24px 44px;
    }

    .cbl-booking-success__logo {
        max-width: 160px;
    }
}

/* Datepicker — tour detail booking sidebar */
.cbl-tour-detail .ui-datepicker-header {
    background: #3d8b37;
}

.cbl-tour-detail .ui-datepicker-calendar .ui-state-active {
    background: #3d8b37;
}

/* ── Mobile: reorder booking after Includes/Excludes ── */
@media (max-width: 1023px) {
    .cbl-tour-detail__layout {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }

    .cbl-tour-detail__content-flow {
        display: contents;
    }

    .cbl-tour-detail__order-1 { order: 1; }
    .cbl-tour-detail__order-2 { order: 2; }
    .cbl-tour-detail__order-3 { order: 3; }
    .cbl-tour-detail__order-4 { order: 4; }
    .cbl-tour-detail__order-5 { order: 5; }

    .cbl-tour-detail__hero {
        gap: 1.25rem;
    }

    .cbl-tour-detail__gallery-main {
        aspect-ratio: 16 / 11;
        border-radius: 8px;
    }

    .cbl-tour-detail__gallery-overlay {
        padding: 0 28px 10px;
    }

    .cbl-tour-detail__gallery-thumb {
        width: 88px;
        height: 58px;
    }

    .cbl-tour-detail__gallery-overlay .owl-prev {
        left: -24px;
    }

    .cbl-tour-detail__gallery-overlay .owl-next {
        right: -24px;
    }

    .cbl-tour-detail__meta-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .cbl-tour-detail__price-from strong {
        font-size: 1.125rem;
    }

    .cbl-tour-detail__section {
        margin-bottom: 1.5rem;
    }

    .cbl-tour-detail__section-title {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }

    .cbl-tour-detail__section-header {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .cbl-itinerary__title {
        font-size: 0.85rem;
    }

    .cbl-tour-booking {
        position: static;
        top: auto;
        padding: 1rem;
        border-radius: 10px;
        box-shadow: rgba(100, 100, 111, 0.15) 0px 4px 16px 0px;
    }

    .cbl-tour-booking__package {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .cbl-tour-booking__package-price {
        white-space: normal;
        text-align: right;
        font-size: 0.75rem;
    }

    .cbl-tour-booking__summary {
        grid-template-columns: 1fr;
    }

    .cbl-tour-booking__summary-left {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        padding: 0.65rem 0.75rem;
    }

    .cbl-tour-booking__summary-right {
        padding: 0.65rem 0.75rem;
        align-items: stretch;
    }

    .cbl-tour-booking__submit {
        padding: 0.85rem 1rem;
        font-size: 0.875rem;
    }

    .cbl-tour-detail__policy-toggle span {
        flex: 1;
        padding-right: 0.5rem;
        line-height: 1.35;
    }

    .cbl-tour-detail__related {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
}

@media (min-width: 640px) and (max-width: 1023px) {
    .cbl-tour-detail__meta-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .cbl-tour-detail__content-flow {
        display: block;
        min-width: 0;
    }
}

/* Car detail — quick info panel */
.cbl-car-detail__info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cbl-car-detail__title {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
    line-height: 1.35;
    color: #1a1a1a;
    margin: 0 0 1.25rem;
}

.cbl-car-detail__list {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.cbl-car-detail__list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #333;
}

.cbl-car-detail__list-item i {
    flex-shrink: 0;
    width: 18px;
    margin-top: 3px;
    font-size: 1rem;
    color: #1a1a1a;
    text-align: center;
}

.cbl-car-detail__price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.cbl-car-detail__price-label {
    font-size: 1rem;
    color: #888;
}

.cbl-car-detail__price-value {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: #e46624;
    line-height: 1;
}

.cbl-car-detail__divider {
    border: none;
    border-top: 1px solid #e5e5e5;
    margin: 0 0 1.25rem;
}

.cbl-car-detail__footer {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cbl-car-detail__note {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #444;
    margin: 0;
}

.cbl-car-detail__note p {
    margin: 0 0 0.5rem;
}

.cbl-car-detail__note p:last-child {
    margin-bottom: 0;
}

.cbl-car-detail__hotline {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #444;
    margin: 0;
}

.cbl-car-detail__hotline a {
    color: #1a1a1a;
    font-weight: 600;
    text-decoration: none;
}

.cbl-car-detail__hotline a:hover {
    color: #e46624;
}

/* Car booking sidebar */
.cbl-car-booking .cbl-tour-booking__price-header strong {
    font-size: 1.35rem;
}

.cbl-car-booking__select-wrap,
.cbl-car-booking__quantity-wrap {
    display: block;
}

.cbl-car-booking__select,
.cbl-car-booking__qty-input {
    display: block;
    width: 100%;
    min-height: 42px;
    line-height: 1.4;
}

.cbl-car-booking__select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2rem;
    cursor: pointer;
    color: #333;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 12px;
}

.cbl-car-booking__select:invalid {
    color: #888;
}

.cbl-car-booking__select option {
    color: #333;
    font-style: normal;
}

.cbl-car-booking__select option[disabled] {
    color: #888;
    font-style: italic;
}

.cbl-car-booking__qty-input::placeholder {
    color: #888;
}

.cbl-car-booking__quantity-wrap input[type="number"] {
    -moz-appearance: textfield;
}

.cbl-car-booking__quantity-wrap input[type="number"]::-webkit-outer-spin-button,
.cbl-car-booking__quantity-wrap input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cbl-car-booking .cbl-tour-booking__submit {
    border: none;
    width: 100%;
    text-align: center;
    cursor: pointer;
}
