/* ==========================================================================
   BOOKING HUB 2 CHẾ ĐỘ - PHU QUY TRAVEL
   Thiết kế chuẩn Mobile-First, Tinh tế, Hiện đại & Tối ưu chuyển đổi
   ========================================================================== */

/* Flatpickr Calendar phải hiển thị trên Modal (Modal có z-index: 10000) với nền đặc rõ nét */
.flatpickr-calendar {
    z-index: 99999 !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 12px !important;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.2) !important;
}

/* 1. Modal Container & Dialog */
.booking-hub-modal .modal-dialog {
    max-width: 96%;
    width: 96%;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 576px) {
    .booking-hub-modal .modal-dialog {
        max-width: 540px;
        width: 100%;
    }
}

@media (min-width: 768px) {
    .booking-hub-modal .modal-dialog {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .booking-hub-modal .modal-dialog {
        max-width: 1040px;
        width: 95%;
    }
    .booking-hub-modal .modal-content {
        height: 92vh;
        max-height: 92vh;
        display: flex;
        flex-direction: column;
    }
    .booking-hub-modal .modal-body {
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        min-height: 0;
        overflow: hidden;
    }
    .booking-hub-modal #hubFormContainer {
        flex: 1 1 auto;
        min-height: 0;
        max-height: none;
        overflow-y: auto;
        overscroll-behavior: contain;
        scroll-padding-bottom: 24px;
    }

    .booking-hub-modal #hubSuccessContainer {
        flex: 1 1 auto;
        min-height: 0;
        max-height: 100%;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-gutter: stable;
        -webkit-overflow-scrolling: touch;
    }
}

@media (min-width: 1200px) {
    .booking-hub-modal .modal-dialog {
        max-width: 1140px;
    }
}

@media (max-width: 767.98px) {
    .booking-hub-modal .modal-dialog {
        width: 100% !important;
        max-width: 100% !important;
        height: 100dvh !important;
        min-height: 100dvh !important;
        margin: 0 !important;
    }
    .booking-hub-modal .modal-content {
        height: 100% !important;
        min-height: 0 !important;
        max-height: 100% !important;
        margin: 0 !important;
        border-radius: 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }
    .booking-hub-modal .modal-body {
        display: flex !important;
        flex: 1 1 auto !important;
        flex-direction: column !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }
    .booking-hub-modal #hubFormContainer {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .booking-hub-modal #hubSuccessContainer {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        max-height: 100% !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

.booking-hub-modal .modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
    overflow: hidden;
    background: #ffffff;
}

/* 2. Header & Tab Navigation */
.booking-hub-header {
    background: var(--pq-action, #0369a1);
    padding: 16px 20px 12px 20px;
    color: #ffffff;
    position: relative;
}

.booking-hub-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 2px;
    letter-spacing: -0.2px;
}

.booking-hub-subtitle {
    font-size: 0.78rem;
    opacity: 0.95;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Chặn màu xanh mặc định #0d6efd của Bootstrap lọt vào Modal Booking Hub */
.booking-hub-modal .text-primary {
    color: var(--pq-action, #0369a1) !important;
}
.booking-hub-modal .form-check-input:checked {
    background-color: var(--pq-action, #0369a1);
    border-color: var(--pq-action, #0369a1);
}
.booking-hub-modal input[type="checkbox"],
.booking-hub-modal input[type="radio"] {
    accent-color: var(--pq-action, #0369a1);
}

/* 3. Steps & Cards trong Tab 2 (Trọn Chuyến Đi) */
.hub-step-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 14px;
    position: relative;
    transition: border-color 0.2s;
}

.hub-step-box:focus-within {
    border-color: #38bdf8;
}

.hub-step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.hub-step-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hub-step-title i {
    color: #475569;
    font-size: 1rem;
}

.hub-step-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    background: #e2e8f0;
    color: #475569;
}

/* Chips / Pills Selectors (Gu phòng, Giá, v.v) */
.hub-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hub-chip-item {
    cursor: pointer;
    user-select: none;
}

.hub-chip-item input[type="radio"],
.hub-chip-item input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.hub-chip-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    transition: all 0.2s;
    cursor: pointer;
}

.hub-chip-item input:checked + .hub-chip-label {
    background: #f0f9ff;
    border-color: var(--pq-action, #0369a1);
    color: var(--pq-action, #0369a1);
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(3, 105, 161, 0.14);
}

/* Service Options Item Row */
.hub-option-row {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    transition: border-color 0.2s, background 0.2s;
}

.hub-option-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex: 0 0 auto;
}

.hub-option-value {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    min-width: 0;
}

.hub-option-promo-desktop {
    margin-top: 4px;
}

.hub-option-promo-mobile {
    display: none;
}

.hub-tour-stepper {
    height: 32px;
}

.hub-tour-stepper input {
    width: 36px !important;
    min-width: 36px !important;
    text-align: center;
}

.hub-option-row:hover {
    border-color: #94a3b8;
}

.hub-option-row.is-selected {
    border-color: #0284c7;
    background: #f0f9ff;
}

/* Smart Badges in Booking Hub
    Scope chặt để service_option_detail.css (load sau trên trang chi tiết) không ghi đè. */
#bookingHubModal .hub-option-promo .smart-badge-overlay,
#bookingHubModal .smart-badge-overlay.is-inline {
    position: static;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    pointer-events: auto;
}

#bookingHubModal .smart-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 6px;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    pointer-events: auto;
    text-shadow: none;
    box-shadow: none;
    animation: none;
    transform: none;
}

#bookingHubModal .smart-badge.badge-percent,
#bookingHubModal .smart-badge.badge-gift,
#bookingHubModal .smart-badge.badge-weekday {
    background: var(--bs-danger-bg-subtle, #fce8e6);
    color: var(--bs-danger-text-emphasis, #b02a37);
    border-color: var(--bs-danger-border-subtle, #f1aeb5);
    box-shadow: none;
    text-shadow: none;
    animation: none;
}

#bookingHubModal .smart-badge.promo-more {
    background: #fff;
    color: #dc3545;
    border-color: var(--bs-danger-border-subtle, #f1aeb5);
    padding: 1px 6px;
    font-size: 0.65rem;
    justify-content: center;
    font-weight: 800;
    min-width: 24px;
    box-shadow: none;
    text-shadow: none;
    animation: none;
}

.hub-multi-option-section {
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.hub-multi-option-section:has(.hub-multi-option-switch:checked) {
    border-color: #cbd5e1;
    background: #f8fafc;
    box-shadow: none;
}

.hub-multi-option-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 38px;
    margin: 0;
    padding: 0;
}

.hub-multi-option-label {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    flex: 1 1 auto;
    margin: 0;
    cursor: pointer;
}

.hub-multi-option-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    border-radius: 50%;
    font-size: .86rem;
}

.hub-multi-option-icon.is-bike {
    color: #b45309;
    background: #fef3c7;
}

.hub-multi-option-icon.is-tour {
    color: #0369a1;
    background: #e0f2fe;
}

.hub-multi-option-copy {
    display: block;
    min-width: 0;
    color: #0f172a;
}

.hub-multi-option-copy strong,
.hub-multi-option-copy small {
    display: block;
}

.hub-multi-option-copy strong {
    font-size: .88rem;
    line-height: 1.3;
}

.hub-multi-option-copy small {
    margin-top: 2px;
    color: #64748b;
    font-size: .73rem;
    font-weight: 400;
    line-height: 1.35;
}

.hub-multi-option-switch {
    width: 2.5em !important;
    height: 1.3em !important;
    min-width: 2.5em;
    flex: 0 0 auto;
    margin: 0 !important;
    cursor: pointer;
}

.hub-multi-option-list {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
}

.hub-multi-option-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
    padding: 8px 0 0;
    border-top: 1px solid #e2e8f0;
    color: var(--pq-muted, #526575);
    font-size: .75rem;
    font-weight: 500;
}
.hub-multi-option-summary strong,
.hub-multi-option-total strong {
    font-variant-numeric: tabular-nums;
}

.hub-multi-option-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    font-size: .75rem;
    font-weight: 500;
}

.hub-multi-option-total strong {
    white-space: nowrap;
    font-size: .78rem;
}

.hub-tour-age-guidance {
    margin: 7px 0 0;
    color: #475569;
    font-size: .75rem;
    line-height: 1.45;
}

.hub-promo-guidance {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 7px;
}

.hub-promo-guidance-item {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    padding: 7px 9px;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    background: #eff6ff;
    color: #334155;
    font-size: .71rem;
    line-height: 1.4;
}

.hub-promo-guidance-item > i {
    flex: 0 0 auto;
    margin-top: 2px;
}

.hub-promo-guidance-item.is-applied {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.hub-promo-guidance-item.is-tip {
    border-color: #fde68a;
    background: #fffbeb;
    color: #92400e;
}

.hub-multi-choice-title,
.hub-multi-choice-example { display: block; }
.hub-multi-choice-title { color: #075985; font-size: .82rem; font-weight: 800; }
.hub-multi-choice-example { color: #64748b; font-size: .69rem; margin-top: 2px; }

.hub-smart-hint {
    padding: 6px 8px;
    border-radius: 8px;
    background: #fffbeb;
    border: 1px dashed #fbbf24;
    color: #92400e;
    font-size: .72rem;
}

.hub-option-info {
    flex: 1;
    min-width: 0;
}

.hub-option-name {
    font-size: 0.86rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
}

.hub-option-price {
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--pq-brand, #003eaf);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.hub-option-unit {
    font-size: 0.72rem;
    font-weight: 400;
    color: #64748b;
}

/* Quantity Stepper Unified (Chuẩn thiết kế Segmented Pill đồng nhất) */
.hub-stepper {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    height: 32px;
    padding: 0;
    box-sizing: border-box;
}

.hub-stepper.w-100 {
    display: flex;
    width: 100%;
}

.hub-stepper button {
    width: 32px;
    min-width: 32px;
    max-width: 32px;
    height: 100%;
    background: #f1f5f9;
    border: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: 0.82rem;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    padding: 0;
    flex-shrink: 0;
}

.hub-stepper button.btn-minus {
    border-right: 1px solid #cbd5e1;
}

.hub-stepper button.btn-plus {
    border-left: 1px solid #cbd5e1;
}

.hub-stepper button:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.hub-stepper button:active {
    background: #cbd5e1;
}

.hub-stepper input[type="number"],
.hub-stepper input {
    height: 100%;
    border: none;
    border-radius: 0;
    background: #f1f5f9;
    text-align: center;
    font-weight: 800;
    font-size: 16px;
    color: var(--pq-action, #0369a1);
    font-variant-numeric: tabular-nums;
    outline: none;
    padding: 0 4px;
    margin: 0;
    box-shadow: none;
    -moz-appearance: textfield;
    appearance: textfield;
}

.hub-stepper.w-100 input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
}

.hub-stepper:not(.w-100) input {
    width: 38px;
    min-width: 38px;
}

.hub-stepper input:focus {
    background: #ffffff;
}

.hub-stepper input::-webkit-outer-spin-button,
.hub-stepper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Bootstrap build in this project omits several responsive column widths. */
.booking-hub-modal .hub-party-row > .col-4 {
    width: 33.333333% !important;
    max-width: 33.333333% !important;
}

@media (min-width: 768px) {
    .booking-hub-modal .hub-boat-select-row > .col-md-7 {
        width: 58.333333% !important;
        max-width: 58.333333% !important;
    }

    .booking-hub-modal .hub-boat-select-row > .col-md-5 {
        width: 41.666667% !important;
        max-width: 41.666667% !important;
    }
}

/* Chuẩn hóa form controls & selects trong Booking Hub (Desktop & chung) */
#bookingHubModal .form-control:not(textarea),
#bookingHubModal .form-select {
    height: 38px;
    min-height: 38px;
    font-size: 14px;
    line-height: 1.5;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    box-sizing: border-box;
}

#bookingHubModal .form-select {
    height: 40px;
    min-height: 40px;
    padding-right: 32px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Main motorbike controls: select and quantity stepper share one control height. */
#bookingHubModal #hubSingleBikeMode #hubMainBikeSelect,
#bookingHubModal #hubSingleBikeMode .hub-bike-main-stepper {
    height: 40px;
    min-height: 40px;
}

#bookingHubModal #hubSingleBikeMode .hub-bike-control-col {
    min-width: 0;
}

#bookingHubModal #hubSingleBikeMode .row > .col-7 {
    width: 58.333333% !important;
    max-width: 58.333333% !important;
    flex: 0 0 58.333333% !important;
}

#bookingHubModal #hubSingleBikeMode .row > .col-5 {
    width: 41.666667% !important;
    max-width: 41.666667% !important;
    flex: 0 0 41.666667% !important;
}

@media (max-width: 767.98px) {
    .booking-hub-modal .row > .col-6 {
        width: 50% !important;
        max-width: 50% !important;
        flex: 0 0 50% !important;
    }
}

@media (min-width: 768px) {
    .booking-hub-modal .row > .col-md-3 {
        width: 25% !important;
        flex: 0 0 auto;
    }

    .booking-hub-modal .row > .col-md-6 {
        width: 50% !important;
        flex: 0 0 auto;
    }
}

#bookingHubModal #hubMainTourDate,
#bookingHubModal #hubMainTourSession {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Quota Box & Tour Multi-Tier Items */
#hubTourQuotaBox {
    transition: all 0.25s ease;
}

#hubTourQuotaBox.quota-zero {
    color: #475569 !important;
}

#hubTourQuotaBox.quota-pending {
    color: #b45309 !important;
}

#hubTourQuotaBox.quota-complete {
    color: #047857 !important;
}

#hubTourQuotaBox.quota-exceeded {
    color: #b91c1c !important;
}

.hub-option-row.has-qty {
    border-color: #0284c7 !important;
    background: #f0f9ff !important;
}

.hub-option-child-badge {
    font-size: 0.72rem;
    font-weight: 600;
    color: #0369a1;
    background: #e0f2fe;
    border-radius: 6px;
    padding: 2px 6px;
    display: none;
    align-items: center;
    gap: 3px;
}

.booking-hub-modal.hub-has-young-guests .hub-option-child-badge {
    display: inline-flex;
}

.hub-field-feedback {
    min-height: 16px;
    line-height: 1.25;
}

.hub-field-feedback.is-valid { color: #15803d; }
.hub-field-feedback.is-invalid { color: #dc2626; }

.hub-date-availability {
    color: #b45309;
    font-weight: 600;
    line-height: 1.35;
}

.hub-date-availability:not([hidden]) + * {
    margin-top: 2px;
}

.hub-boat-alert,
.hub-whole-house-note {
    padding: 8px 10px;
    border-radius: 9px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
}

.hub-boat-price-detail {
    padding: 8px 10px;
    border-radius: 10px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    color: #334155;
    font-size: 0.76rem;
    font-variant-numeric: tabular-nums;
}

.hub-boat-detail-head,
.hub-boat-price-rows,
.hub-tour-price-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.hub-boat-price-rows {
    margin-top: 5px;
    color: #475569;
}

.hub-tour-selected-card {
    padding: 8px 10px;
    border: 1px solid #bae6fd;
    border-radius: 10px;
    background: #f0f9ff;
}

.hub-tour-price-line {
    justify-content: flex-start;
    color: #475569;
    font-size: 0.75rem;
    margin-top: 3px;
    font-variant-numeric: tabular-nums;
}

.booking-hub-modal .hub-advanced-options {
    display: none;
}

#hubMultiBikeList,
#hubTourList {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .04);
}

.hub-multi-option-list .hub-option-row {
    margin: 0 !important;
    padding: 10px 12px;
    border: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #ffffff;
    transition: background 0.15s ease;
}

.hub-multi-option-list .hub-option-row:last-child {
    border-bottom: none !important;
}

.hub-multi-option-list .hub-option-row.has-qty {
    background: #f0f9ff !important;
    box-shadow: inset 3px 0 0 #0284c7 !important;
}

.hub-multi-option-list .hub-option-row:hover {
    background: #f8fafc;
}

.hub-multi-option-list .hub-option-row.has-qty:hover {
    background: #f0f9ff;
}

#hubMultiBikeList .hub-option-info,
#hubTourList .hub-option-info {
    min-width: 0;
    flex: 1 1 auto;
}

#hubMultiBikeList .hub-option-name,
#hubTourList .hub-option-name {
    color: #1e293b;
    font-size: .84rem;
    font-weight: 700;
    line-height: 1.35;
}

/* Accommodation rental choice: explicit request, not a room reservation. */
.hub-acc-mode { border: 0; margin: 0; padding: 0; min-width: 0; }
.hub-acc-mode-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hub-acc-mode-options label {
    display: flex; align-items: center; gap: 8px; min-width: 0;
    padding: 9px 10px; margin: 0; border: 1px solid #cbd5e1; border-radius: 10px;
    color: #334155; background: #fff; font-size: .8rem; font-weight: 700; cursor: pointer;
}
.hub-acc-mode-options label:has(input:checked) { border-color: #0284c7; background: #f0f9ff; color: #075985; }
.hub-acc-mode-options input { accent-color: #0284c7; flex: 0 0 auto; }
@media (max-width: 390px) { .hub-acc-mode-options label { font-size: .73rem; padding: 8px 6px; } }

/* Accommodation Status Callout */
.hub-room-callout {
    background: #fffbeb;
    border: 1.5px dashed #f59e0b;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 0.78rem;
    color: #92400e;
    margin-top: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

/* Success View Service Items */
.booking-hub-modal #hubNavTabsWrapper[hidden],
.booking-hub-modal #btnHubViewTicket[hidden] { display: none !important; }
.hub-success-view {
    padding: 20px;
    background: #f8fafc;
}

.hub-success-hero {
    max-width: 900px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 auto 16px;
    text-align: left;
}

.hub-success-check {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    border-radius: 50%;
    background: #ecfdf5;
    color: #047857;
    font-size: 1.2rem;
}

.hub-success-hero h4 { margin: 0; color: #0f172a; font-size: 1.2rem; font-weight: 800; }
.hub-success-hero p { margin: 4px 0 7px; color: #475569; font-size: .82rem; line-height: 1.45; }
.hub-success-no-payment { display: inline-flex; align-items: center; gap: 5px; color: #047857; font-size: .73rem; font-weight: 700; }

.hub-success-layout {
    max-width: 900px;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .85fr);
    gap: 16px;
    margin: 0 auto;
    text-align: left;
}

.hub-success-main,
.hub-success-aside { min-width: 0; }
.hub-success-aside { display: flex; flex-direction: column; gap: 12px; }
.hub-success-panel { padding: 14px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; box-shadow: 0 2px 8px rgba(15, 23, 42, .04); }
.hub-success-main .hub-success-panel + .hub-success-panel { margin-top: 12px; }
.hub-success-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.hub-success-panel-head strong { color: #0f172a; font-size: .86rem; }
.hub-success-panel-head > span { color: #64748b; font-size: .69rem; }
.hub-status-pill { padding: 3px 8px; border-radius: 999px; background: #fffbeb; color: #92400e !important; font-weight: 700; }

.hub-success-timeline { position: relative; }
.hub-timeline-item { display: flex; align-items: flex-start; gap: 9px; position: relative; padding: 0 0 13px; }
.hub-timeline-item:last-child { padding-bottom: 0; }
.hub-timeline-item:not(:last-child)::after { content: ''; position: absolute; left: 11px; top: 23px; bottom: 1px; width: 1px; background: #e2e8f0; }
.hub-timeline-item > span { width: 23px; height: 23px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 23px; border: 1px solid #cbd5e1; border-radius: 50%; background: #fff; color: #64748b; font-size: .65rem; font-weight: 800; }
.hub-timeline-item.is-done > span { border-color: #a7f3d0; background: #ecfdf5; color: #047857; }
.hub-timeline-item.is-active > span { border-color: #fde68a; background: #fffbeb; color: #92400e; }
.hub-timeline-item strong,
.hub-timeline-item small { display: block; }
.hub-timeline-item strong { color: #334155; font-size: .77rem; }
.hub-timeline-item small { margin-top: 2px; color: #64748b; font-size: .68rem; line-height: 1.35; }

.hub-success-item {
    padding: 8px 10px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.hub-success-services { display: flex; flex-direction: column; gap: 9px; }

.hub-success-item {
    padding: 8px 10px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.hub-success-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.hub-success-item-name {
    color: #0f172a;
    font-weight: 700;
    font-size: 0.8rem;
}

.hub-success-item-name em { display: block; margin: 2px 0 0 19px; color: #92400e; font-size: .65rem; font-style: normal; font-weight: 650; }

.hub-success-item-val {
    font-size: 0.78rem;
    font-weight: 700;
    color: #0f3d5e;
    font-variant-numeric: tabular-nums;
}

.hub-success-item-detail {
    color: #64748b;
    font-size: 0.72rem;
    line-height: 1.35;
    margin-top: 2px;
}

/* Rich Service Cards (New Professional Architecture) */
.hub-success-card {
    padding: 12px 14px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.hub-success-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
}

.hub-success-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.hub-success-card-identity {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.hub-success-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    font-size: 0.95rem;
}

.hub-success-card.is-boat .hub-success-card-icon { background: #eff6ff; color: #0284c7; }
.hub-success-card.is-bike .hub-success-card-icon { background: #fff7ed; color: #ea580c; }
.hub-success-card.is-acc .hub-success-card-icon { background: #f0fdfa; color: #0d9488; }
.hub-success-card.is-tour .hub-success-card-icon { background: #f0fdf4; color: #16a34a; }

.hub-success-card-title-group {
    min-width: 0;
}

.hub-success-card-cat {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.hub-success-card.is-boat .hub-success-card-cat { color: #0284c7; }
.hub-success-card.is-bike .hub-success-card-cat { color: #ea580c; }
.hub-success-card.is-acc .hub-success-card-cat { color: #0d9488; }
.hub-success-card.is-tour .hub-success-card-cat { color: #16a34a; }

.hub-success-card-title {
    color: #0f172a;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.35;
}

.hub-success-card-price-badge {
    text-align: right;
    flex-shrink: 0;
}

.hub-success-card-price {
    font-size: 0.85rem;
    font-weight: 800;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}

.hub-success-card-price.is-pending {
    color: #0d9488;
    font-size: 0.74rem;
    font-weight: 700;
}

.hub-success-card-status {
    display: inline-block;
    font-size: 0.67rem;
    padding: 2px 7px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-weight: 600;
    margin-top: 2px;
}

.hub-success-card-status.is-checking {
    background: #eff6ff;
    color: #1d4ed8;
}

.hub-success-card-status.is-ready {
    background: #ecfdf5;
    color: #047857;
}

.hub-success-card-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 6px;
    border-top: 1px dashed #f1f5f9;
}

.hub-success-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.72rem;
    line-height: 1.3;
}

.hub-success-chip i {
    color: #64748b;
    font-size: 0.68rem;
}

@media (max-width: 575px) {
    .hub-success-card-top {
        flex-wrap: wrap;
        gap: 6px;
    }
    .hub-success-card-price-badge {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-left: 46px;
        margin-top: -2px;
    }
}

.hub-success-code-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid #e2e8f0; }
.hub-success-code-row span,
.hub-success-code-row strong { display: block; }
.hub-success-code-row span { color: #64748b; font-size: .67rem; font-weight: 800; text-transform: uppercase; }
.hub-success-code-row strong { margin-top: 2px; color: #0369a1; font-size: 1rem; letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.hub-success-code-row button { padding: 5px 8px; border: 1px solid #bae6fd; border-radius: 999px; background: #fff; color: #0369a1; font-size: .68rem; font-weight: 700; }
.hub-success-customer { display: flex; flex-direction: column; gap: 7px; padding-top: 10px; }
.hub-success-customer > span { display: flex; align-items: flex-start; gap: 7px; color: #64748b; font-size: .72rem; }
.hub-success-customer i { width: 14px; margin-top: 2px; color: #64748b; text-align: center; }
.hub-success-customer strong { color: #334155; }

.hub-success-finance > div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 5px 0; color: #64748b; font-size: .72rem; }
.hub-success-finance strong { color: #334155; font-variant-numeric: tabular-nums; }
.hub-success-finance > div:first-child strong { color: #0f3d5e; font-size: 1.2rem; }
.hub-success-finance .is-pay-now { margin-top: 3px; padding-top: 8px; border-top: 1px dashed #cbd5e1; }
.hub-success-finance .is-pay-now strong { color: #047857; }
.hub-success-finance small { display: block; margin-top: 5px; color: #64748b; font-size: .67rem; line-height: 1.4; }

.hub-success-actions { display: flex; flex-direction: column; gap: 8px; text-align: center; }
.hub-success-zalo,
.hub-success-ticket { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; border-radius: 10px; font-size: .78rem; font-weight: 800; text-decoration: none; }
.hub-success-zalo { background: #0068ff; color: #fff; box-shadow: 0 4px 12px rgba(0, 104, 255, .2); }
.hub-success-zalo:hover { color: #fff; background: #005ae0; }
.hub-success-ticket { border: 1px solid #cbd5e1; background: #fff; color: #475569; }
.hub-success-actions small { color: #64748b; font-size: .65rem; }
.hub-success-close { border: 0; background: transparent; color: #64748b; font-size: .72rem; }

@media (max-width: 767.98px) {
    .hub-success-view { padding: 12px 10px calc(20px + env(safe-area-inset-bottom, 0px)); }
    .hub-success-hero { gap: 9px; margin-bottom: 12px; }
    .hub-success-check { width: 38px; height: 38px; flex-basis: 38px; font-size: 1rem; }
    .hub-success-hero h4 { font-size: 1rem; }
    .hub-success-hero p { font-size: .75rem; }
    .hub-success-layout { display: flex; flex-direction: column; gap: 10px; }
    .hub-success-aside { display: contents; }
    .hub-success-request-card { order: 1; }
    .hub-success-finance { order: 2; }
    .hub-success-main { display: contents; }
    .hub-success-services-card { order: 3; }
    .hub-success-timeline-card { order: 4; margin-top: 0; }
    .hub-success-actions { order: 5; padding-top: 2px; }
    .hub-success-panel { padding: 11px; border-radius: 10px; }
    .hub-success-item-head { align-items: flex-start; }
    .hub-success-item-val { max-width: 42%; text-align: right; }
}

.hub-room-callout i {
    font-size: 1rem;
    color: #d97706;
    margin-top: 2px;
}

/* Live boat trip and seat selection */
.hub-boat-picker {
    padding: 10px;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    background: #f8fafc;
}

.hub-boat-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}

.hub-boat-option:has(input:checked) {
    border-color: #0284c7;
    background: #eff6ff;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.12);
}

.hub-boat-option span,
.hub-boat-option small {
    display: block;
}

.hub-boat-option small {
    margin-top: 2px;
    color: #64748b;
}

.hub-boat-option.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.hub-empty-state {
    padding: 10px;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    color: #64748b;
    font-size: 0.78rem;
    text-align: center;
}

/* 2-Column Desktop Grid & Sticky Sidebar */
.hub-planner-grid {
    display: block;
}

@media (min-width: 992px) {
    .hub-planner-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 370px;
        gap: 24px;
        align-items: start;
    }
}

.hub-planner-sidebar {
    position: sticky;
    top: 16px;
    z-index: 5;
}

.hub-sidebar-quote-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px 18px 16px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

.hub-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.hub-sidebar-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
}

.hub-sidebar-eyebrow,
.hub-total-heading {
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hub-duration-badge {
    padding: 5px 9px;
    border: 1px solid #bae6fd;
    border-radius: 999px;
    background: #f0f9ff;
    color: #075985;
    font-size: 0.72rem;
    font-weight: 800;
}

.hub-sidebar-breakdown {
    padding: 2px 0;
    display: flex;
    flex-direction: column;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.hub-breakdown-item {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr) auto;
    align-items: flex-start;
    gap: 9px;
    font-size: 0.84rem;
    padding: 11px 0;
    border-bottom: 1px solid #f1f5f9;
}

.hub-breakdown-item:last-child {
    border-bottom: 0;
}

.hub-service-state {
    color: #94a3b8;
    font-size: 0.78rem;
    line-height: 1.35rem;
    text-align: center;
}

.hub-breakdown-item.is-priced .hub-service-state { color: #047857; }
.hub-breakdown-item.is-quote .hub-service-state,
.hub-breakdown-item.is-incomplete .hub-service-state { color: #b45309; }
.hub-service-state.is-promo { color: #047857; }

.hub-breakdown-name {
    color: #0f172a;
    font-weight: 650;
    line-height: 1.3;
}

.hub-breakdown-desc {
    margin-top: 2px;
    color: #64748b;
    font-size: 0.72rem;
    line-height: 1.3;
}

.hub-breakdown-label {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
}

.hub-breakdown-label .extra-small {
    font-size: 0.73rem;
    line-height: 1.25;
}

.hub-breakdown-val {
    font-weight: 700;
    color: #1e293b;
    text-align: right;
    white-space: nowrap;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
    line-height: 1.35rem;
}

.hub-breakdown-item.is-unselected .hub-breakdown-val { color: #94a3b8; }
.hub-breakdown-item.is-quote .hub-breakdown-val,
.hub-breakdown-item.is-incomplete .hub-breakdown-val { color: #92400e; }

.hub-promo-breakdown {
    grid-template-columns: 18px minmax(0, 1fr) auto;
}

.hub-sidebar-total-block {
    padding: 16px 0;
}

.hub-sidebar-total {
    margin-top: 3px;
    color: #0f3d5e;
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
}

.hub-total-context {
    margin-top: 5px;
    color: #64748b;
    font-size: 0.72rem;
    line-height: 1.4;
}

.hub-quote-totals {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed #cbd5e1;
}

.hub-quote-totals > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #64748b;
    font-size: 0.73rem;
}

.hub-quote-totals strong {
    color: #334155;
    font-variant-numeric: tabular-nums;
}

.hub-quote-totals .is-discount strong { color: #047857; }

.hub-quote-services {
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.hub-quote-service {
    border-bottom: 1px solid #f1f5f9;
}

.hub-quote-service:last-child { border-bottom: 0; }

.hub-quote-service-toggle {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 0;
    border: 0;
    background: transparent;
    text-align: left;
}

.hub-quote-service-main {
    display: flex;
    gap: 8px;
    min-width: 0;
}

.hub-quote-service-main > i {
    width: 16px;
    margin-top: 2px;
    color: #b45309;
    text-align: center;
}

.hub-quote-service.is-priced .hub-quote-service-main > i { color: #047857; }
.hub-quote-service.is-quote .hub-quote-service-main > i { color: #b45309; }
.hub-quote-service-main strong,
.hub-quote-service-main small { display: block; }
.hub-quote-service-main strong { color: #0f172a; font-size: .82rem; }
.hub-quote-service-main small { margin-top: 2px; color: #64748b; font-size: .7rem; }

.hub-quote-service-price {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #334155;
    white-space: nowrap;
    font-size: .78rem;
    font-variant-numeric: tabular-nums;
}

.hub-quote-service.is-quote .hub-quote-service-price { color: #92400e; }
.hub-quote-service-price i { color: #94a3b8; font-size: .62rem; transition: transform .18s ease; }
.hub-quote-service-toggle[aria-expanded="true"] .hub-quote-service-price i { transform: rotate(180deg); }

.hub-quote-service-details {
    padding: 0 0 10px 24px;
}

.hub-quote-direction {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px 8px;
    margin: 8px 0 3px;
    padding: 8px 10px;
    border-left: 3px solid #0284c7;
    border-radius: 5px;
    background: #eff6ff;
    color: #0c4a6e;
    font-size: .76rem;
}

.hub-quote-direction.is-inbound { border-left-color: #0d9488; background: #f0fdfa; color: #115e59; }
.hub-quote-direction.is-incomplete {
    border-left-color: #f59e0b;
    background: #fffbeb;
    color: #92400e;
}
.hub-quote-direction.is-incomplete > strong {
    color: #b45309;
    font-size: .72rem;
    font-weight: 600;
}
.hub-quote-service.is-incomplete .hub-quote-service-main > i {
    color: #f59e0b;
}
.hub-quote-service.is-incomplete .hub-quote-service-main small {
    color: #b45309;
    font-weight: 600;
}
.hub-quote-service.is-incomplete .hub-quote-service-price {
    color: #92400e;
}
.hub-quote-direction > span { font-weight: 700; }
.hub-quote-direction > small { grid-column: 1 / -1; grid-row: 2; min-width: 0; overflow-wrap: anywhere; }
.hub-quote-direction > strong { grid-column: 2; grid-row: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }

.hub-quote-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    padding: 4px 0;
    border-top: 1px dashed #f1f5f9;
    color: #64748b;
    font-size: .69rem;
    line-height: 1.35;
}

.hub-quote-line > span { min-width: 0; overflow-wrap: anywhere; }
.hub-quote-line strong { color: #334155; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hub-quote-line.is-note strong { color: #92400e; }
.hub-quote-empty { padding: 5px 0; color: #94a3b8; font-size: .7rem; }

@media (max-width: 575px) {
    .hub-quote-service-details { padding-left: 12px; }
    .hub-quote-line { grid-template-columns: minmax(0, 1fr) auto; }
    .hub-quote-line > span:nth-child(2) { grid-column: 1; grid-row: 2; }
    .hub-quote-line > strong { grid-column: 2; grid-row: 1 / 3; align-self: center; }
}

.hub-sidebar-reassurance {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-top: 12px;
    color: #475569;
    font-size: 0.73rem;
    line-height: 1.45;
}

.hub-sidebar-reassurance i {
    margin-top: 2px;
    color: #047857;
}

.hub-sidebar-help-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
    color: #0369a1;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
}

.hub-sidebar-help-link:hover {
    color: #075985;
    text-decoration: underline;
}

.extra-small {
    font-size: 0.74rem;
}

/* Mobile Sticky Action Dock */
.hub-mobile-action-dock {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1.5px solid #cbd5e1;
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom, 0px)) 12px;
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.12);
    z-index: 1060;
}

@media (max-width: 991.98px) {
    .hub-planner-content {
        padding-bottom: 85px;
    }
}

.hub-mobile-dock-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.hub-mobile-info-col {
    flex: 1 1 52%;
    min-width: 0;
    padding: 2px 0;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    user-select: none;
}

.hub-mobile-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.hub-mobile-price {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f3d5e;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.hub-per-person-estimate {
    margin-top: 3px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #047857;
    font-variant-numeric: tabular-nums;
}

.hub-mobile-per-person {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: #047857;
    line-height: 1.25;
    font-variant-numeric: tabular-nums;
}

.hub-drawer-per-person {
    margin-left: 4px;
    font-size: 0.74rem;
    font-weight: 700;
    color: #047857;
    font-variant-numeric: tabular-nums;
}

.hub-mobile-sub {
    display: block;
    max-width: 100%;
    font-size: 0.72rem;
    color: #64748b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hub-mobile-action-col {
    flex-grow: 1;
}

.hub-mobile-submit-btn {
    width: 100%;
    min-height: 48px;
    background: var(--pq-action, #0369a1);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 11px 16px;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(3, 105, 161, 0.24);
    transition: background-color 0.15s, transform 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
}

.hub-mobile-submit-btn:hover:not(:disabled) {
    background: var(--pq-action-hover, #075985);
    color: #ffffff;
}

.hub-mobile-submit-btn:active {
    transform: scale(0.98);
}

.hub-mobile-breakdown-drawer {
    font-size: 0.8rem;
}

.hub-quote-sheet-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1070;
    background: rgba(15, 23, 42, .38);
    opacity: 0;
    transition: opacity .2s ease;
}

.hub-quote-sheet-backdrop.is-open { opacity: 1; }

.hub-mobile-quote-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1075;
    display: flex;
    flex-direction: column;
    max-height: 84dvh;
    background: #fff;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -16px 45px rgba(15, 23, 42, .22);
    transform: translateY(105%);
    visibility: hidden;
    transition: transform .22s ease, visibility .22s ease;
}

.hub-mobile-quote-sheet.is-open { transform: translateY(0); visibility: visible; }
.hub-sheet-header { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 8px; row-gap: 4px; padding: 16px 12px 8px; border-bottom: 1px solid #e2e8f0; }
.hub-sheet-header::before { content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 38px; height: 4px; border-radius: 999px; background: #cbd5e1; }
.hub-sheet-heading { display: flex; align-items: center; gap: 4px; min-width: 0; }
.hub-sheet-heading-text { min-width: 0; }
.hub-sheet-handle {
    display: grid; place-items: center; flex: 0 0 44px;
    width: 44px; height: 44px; padding: 0;
    border: 0; border-radius: 10px; background: transparent;
    color: #334155; cursor: pointer;
}
.hub-sheet-handle svg { display: block; }
.hub-sheet-handle:focus-visible { outline: 2px solid var(--pq-action, #0369a1); outline-offset: -2px; }
.hub-sheet-handle:hover { background: #f1f5f9; }
.hub-sheet-header strong,
.hub-sheet-header span { display: block; }
.hub-sheet-header strong { color: #0f172a; font-size: 1rem; }
.hub-sheet-header span { margin-top: 2px; color: #64748b; font-size: .71rem; }
.hub-sheet-header .hub-sheet-trip-summary { color: #334155; font-size: .78rem; font-weight: 750; }
.hub-sheet-header .hub-sheet-header-total { min-width: 0; text-align: right; }
.hub-sheet-header-total span { font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.hub-sheet-header-total strong { color: #0f3d5e; font-size: 1.12rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hub-sheet-discount { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; padding-top: 5px; border-top: 1px dashed #e2e8f0; }
.hub-sheet-discount[hidden] { display: none; }
.hub-sheet-header .hub-sheet-discount > span { font-size: .68rem; font-weight: 500; text-transform: none; letter-spacing: 0; }
.hub-sheet-discount > span > span { display: inline; color: #334155; font-weight: 700; font-variant-numeric: tabular-nums; }
.hub-sheet-header .hub-sheet-discount > span:last-child, .hub-sheet-discount > span:last-child > span { color: #047857; }
.hub-sheet-context { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 8px; }
.hub-sheet-header .hub-sheet-context small { color: #64748b; font-size: .68rem; line-height: 1.35; }
.hub-sheet-scroll { min-height: 0; overflow-y: auto; padding: 12px 14px 18px; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.hub-mobile-quote-sheet .hub-quote-services { margin-top: 0; }
.hub-price-trust { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; color: #64748b; font-size: .7rem; }
.hub-price-trust i { width: 16px; color: #047857; }
.hub-sheet-action { flex: 0 0 auto; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #e2e8f0; background: #fff; }
.hub-quote-sheet-open .hub-mobile-action-dock { visibility: hidden; }

@media (max-width: 991.98px) {
    .hub-mobile-quote-sheet .hub-quote-line {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
        gap: 4px 6px;
    }
    .hub-mobile-quote-sheet .hub-quote-line > span:nth-child(2) { grid-column: 2; grid-row: 1; text-align: right; }
    .hub-mobile-quote-sheet .hub-quote-line > strong { grid-column: 3; grid-row: 1; align-self: start; text-align: right; }
}

@media (max-width: 575px) {
    .hub-mobile-quote-sheet .hub-quote-line {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
        column-gap: 4px;
        font-size: .66rem;
    }
    .hub-mobile-quote-sheet .hub-quote-line > span:nth-child(2) { grid-column: 2; grid-row: 1; }
    .hub-mobile-quote-sheet .hub-quote-line > strong { grid-column: 3; grid-row: 1; align-self: start; }
}

.hub-mobile-chevron {
    margin-left: 3px;
    color: #0369a1;
    font-size: 0.62rem;
    transition: transform 0.18s ease;
}

.hub-mobile-info-col[aria-expanded="true"] .hub-mobile-chevron {
    transform: rotate(180deg);
}

.hub-mobile-drawer-inner {
    margin-top: 9px;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
}

.hub-mobile-drawer-head,
.hub-mobile-drawer-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.hub-mobile-drawer-head strong { color: #0f172a; }
.hub-mobile-drawer-head span { color: #64748b; font-size: 0.7rem; }
.hub-mobile-service-list { margin-top: 7px; }

.hub-mobile-service-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}

.hub-mobile-service-row > span {
    display: flex;
    gap: 8px;
    min-width: 0;
}

.hub-mobile-service-row i { margin-top: 3px; color: #b45309; }
.hub-mobile-service-row.is-priced i { color: #047857; }
.hub-mobile-service-row strong,
.hub-mobile-service-row small { display: block; }
.hub-mobile-service-row strong { color: #0f172a; font-size: 0.78rem; }
.hub-mobile-service-row small { margin-top: 1px; color: #64748b; font-size: 0.69rem; }
.hub-mobile-service-row b { color: #1e293b; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hub-mobile-service-row.is-quote b,
.hub-mobile-service-row.is-incomplete b { color: #92400e; }

.hub-mobile-empty {
    padding: 12px 0;
    color: #64748b;
    text-align: center;
}

.hub-mobile-drawer-total {
    padding-top: 10px;
    color: #475569;
}

.hub-mobile-drawer-total strong {
    color: #0f3d5e;
    font-size: 1rem;
    font-variant-numeric: tabular-nums;
}

.hub-mobile-drawer-note {
    margin-top: 3px;
    color: #64748b;
    font-size: 0.69rem;
    text-align: right;
}

@media (prefers-reduced-motion: reduce) {
    .hub-mobile-chevron,
    .hub-mobile-submit-btn,
    .hub-submit-btn { transition: none !important; }
}

/* Sticky Bottom Summary Bar */
.hub-bottom-summary {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding: 12px 18px;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
    position: sticky;
    bottom: 0;
    z-index: 10;
}

.hub-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.hub-total-label {
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 600;
}

.hub-total-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: #e11d48;
}

.hub-submit-btn {
    width: 100%;
    background: var(--pq-action, #0369a1);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.98rem;
    padding: 13px;
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 14px rgba(3, 105, 161, 0.28);
    transition: background-color 0.15s, transform 0.15s, box-shadow 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

.hub-submit-btn:hover:not(:disabled) {
    background: var(--pq-action-hover, #075985);
    box-shadow: 0 6px 18px rgba(3, 105, 161, 0.36);
    color: #ffffff;
}

.hub-submit-btn:active {
    transform: scale(0.98);
}

/* ==========================================================================
   QUY CHUẨN GIAO DIỆN MOBILE CHO BOOKING HUB (MOBILE LAYOUT STANDARDS)
   Áp dụng cho: #bookingHubModalLabel, Dịch Vụ Trọn Gói, Steppers & Inputs
   ========================================================================== */
@media (max-width: 767.98px) {
    .hub-multi-option-section {
        padding: 10px !important;
        border-radius: 12px !important;
        background: #f8fafc !important;
    }

    .hub-multi-option-header {
        gap: 8px;
    }

    .hub-multi-option-icon {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }

    .hub-multi-option-copy strong {
        font-size: .82rem;
    }

    .hub-multi-option-copy small {
        font-size: .69rem;
    }

    .hub-multi-option-list {
        padding-top: 10px !important;
        margin-top: 8px !important;
    }

    #hubMultiBikeList,
    #hubTourList {
        gap: 0 !important;
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 1px 3px rgba(15, 23, 42, .04);
    }

    #hubMultiBikeList .hub-option-row,
    #hubTourList .hub-option-row {
        min-height: 0;
        margin: 0 !important;
        padding: 8px 10px !important;
        border: 0 !important;
        border-bottom: 1px solid #f1f5f9 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: #fff !important;
    }

    #hubMultiBikeList .hub-option-row:last-child,
    #hubTourList .hub-option-row:last-child {
        border-bottom: 0 !important;
    }

    #hubMultiBikeList .hub-option-row.has-qty,
    #hubTourList .hub-option-row.has-qty {
        background: #f0f9ff !important;
        box-shadow: inset 3px 0 0 #0284c7 !important;
    }

    #hubMultiBikeList .hub-option-row,
    #hubTourList .hub-option-row {
        display: block;
    }

    #hubMultiBikeList .hub-option-main,
    #hubTourList .hub-option-main {
        width: 100%;
        margin-bottom: 5px;
    }

    #hubMultiBikeList .hub-option-actions,
    #hubTourList .hub-option-actions {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    #hubMultiBikeList .hub-option-value,
    #hubTourList .hub-option-value {
        align-items: flex-start;
        flex: 1 1 auto;
    }

    .hub-option-promo-desktop {
        display: none;
    }

    .hub-option-promo-mobile {
        display: flex;
        align-items: center;
        min-height: 14px;
        margin-bottom: 3px;
        line-height: 1;
    }

    .hub-option-promo-mobile .smart-badge-overlay {
        line-height: 1;
    }

    .hub-option-promo-mobile:empty {
        display: none;
        margin: 0;
    }

    #hubMultiBikeList .hub-option-name {
        font-size: .81rem;
    }

    #hubMultiBikeList .hub-option-price,
    #hubTourList .hub-option-price {
        font-size: .92rem;
    }

    #bookingHubModal #hubMultiBikeList .smart-badge,
    #bookingHubModal #hubTourList .smart-badge {
        padding: 1px 4px;
        font-size: .62rem;
        line-height: 1;
    }

    #bookingHubModal #hubMultiBikeList .smart-badge.promo-more,
    #bookingHubModal #hubTourList .smart-badge.promo-more {
        padding: 1px 6px;
        font-size: .62rem;
    }

    #hubMultiBikeList .hub-stepper,
    #hubTourList .hub-stepper {
        height: 36px !important;
    }

    #hubMultiBikeList .hub-stepper button,
    #hubTourList .hub-stepper button {
        width: 30px !important;
        min-width: 30px !important;
        max-width: 30px !important;
    }

    #hubMultiBikeList .hub-stepper input,
    #hubTourList .hub-stepper input {
        width: 36px !important;
        min-width: 36px !important;
        height: 36px !important;
    }

    .hub-multi-option-summary {
        padding: 8px 0 0;
        font-size: .74rem;
    }

    /* 1. Header & Title */
    .booking-hub-header {
        padding: 9px 12px !important;
    }
    .booking-hub-title {
        font-size: 0.98rem !important;
        line-height: 1.25 !important;
        margin-bottom: 1px !important;
        letter-spacing: -0.2px !important;
    }
    .booking-hub-subtitle {
        font-size: 0.75rem !important;
        line-height: 1.3 !important;
    }

    /* 2. Tabs Switcher (Đặt Nhanh & Dịch Vụ Trọn Gói) */
    #hubNavTabsWrapper {
        padding: 4px 8px !important;
        background: #f8fafc !important;
    }
    #bookingHubNavTabs {
        display: flex !important;
        flex-wrap: nowrap !important;
        border: 1px solid #e2e8f0 !important;
        background: #ffffff !important;
        border-radius: 12px !important;
        padding: 3px !important;
        gap: 3px !important;
    }
    #bookingHubNavTabs .nav-item {
        flex: 1 1 50% !important;
        min-width: 0 !important;
    }
    #bookingHubNavTabs .nav-link {
        width: 100% !important;
        padding: 5px 6px !important;
        font-size: 0.78rem !important;
        font-weight: 700 !important;
        border-radius: 9px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        white-space: nowrap !important;
        border: none !important;
    }
    #bookingHubNavTabs .nav-link.active {
        background: var(--pq-action, #0369a1) !important;
        color: #ffffff !important;
        box-shadow: 0 2px 6px rgba(3, 105, 161, 0.25) !important;
    }

    /* 3. Lề Mép Thân Modal & Step Boxes (Anti-Padding Compounding) */
    .booking-hub-modal .modal-body {
        padding: 0 !important;
    }
    #bookingHubTabContent {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    #pane-custom-trip {
        padding: 6px 8px !important;
    }
    .hub-step-box {
        padding: 9px 8px !important;
        margin-bottom: 8px !important;
        border-radius: 10px !important;
    }
    .hub-step-header {
        margin-bottom: 6px !important;
    }
    .hub-step-title {
        font-size: 0.84rem !important;
        font-weight: 700 !important;
    }

    /* 4. Form Controls & Inputs */
    #bookingHubModal .form-control:not(textarea),
    #bookingHubModal .form-select {
        height: 40px !important;
        min-height: 40px !important;
        min-width: 0 !important;
        max-width: 100% !important;
        font-size: 16px !important;
        padding: 5px 8px !important;
        border-radius: 8px !important;
        border: 1px solid #cbd5e1 !important;
    }

    #bookingHubModal .form-select {
        -webkit-appearance: none !important;
        appearance: none !important;
        background-repeat: no-repeat !important;
        padding-right: 2.1rem !important;
        background-position: right 0.65rem center !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    #bookingHubModal #hubMainTourSelect {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    #bookingHubModal #hubMainTourSelect option {
        max-width: 100% !important;
        white-space: normal !important;
    }
    #bookingHubModal #hubMainTourDate,
    #bookingHubModal #hubMainTourSession {
        height: 40px !important;
        min-height: 40px !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        font-size: 16px !important;
        padding: 5px 8px !important;
        border-radius: 8px !important;
        border: 1px solid #cbd5e1 !important;
        box-sizing: border-box !important;
    }
    #bookingHubModal #hubMainTourSession {
        -webkit-appearance: none !important;
        appearance: none !important;
        background-repeat: no-repeat !important;
        padding-right: 2.1rem !important;
        background-position: right 0.65rem center !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    #bookingHubModal textarea.form-control {
        font-size: 16px !important;
        padding: 6px 8px !important;
        border-radius: 8px !important;
        border: 1px solid #cbd5e1 !important;
    }
    #bookingHubModal .form-label {
        font-size: 0.82rem !important;
        margin-bottom: 4px !important;
        font-weight: 700 !important;
    }
    #bookingHubModal .row.g-2 {
        --bs-gutter-y: 0.45rem !important;
        --bs-gutter-x: 0.45rem !important;
    }

    #bookingHubModal .hub-stepper {
        height: 36px !important;
    }

    #bookingHubModal #hubSingleBikeMode #hubMainBikeSelect,
    #bookingHubModal #hubSingleBikeMode .hub-bike-main-stepper {
        height: 40px !important;
        min-height: 40px !important;
    }

    #bookingHubModal .hub-stepper button {
        width: 32px !important;
        min-width: 32px !important;
        max-width: 32px !important;
    }

    /* 5. Chips Gu Phòng & Giá */
    .hub-chip-group {
        gap: 6px !important;
    }
    .hub-chip-label {
        padding: 5px 8px !important;
        font-size: 0.76rem !important;
        border-radius: 8px !important;
    }

    /* 6. Callout Phòng & Bottom Summary */
    .hub-room-callout {
        padding: 8px 10px !important;
        font-size: 0.74rem !important;
        border-radius: 10px !important;
    }
    .hub-bottom-summary {
        padding: 10px 12px !important;
    }
    .hub-total-label {
        font-size: 0.78rem !important;
    }
    .hub-total-price {
        font-size: 1.18rem !important;
    }
    .hub-submit-btn {
        padding: 11px 14px !important;
        font-size: 0.92rem !important;
        border-radius: 10px !important;
    }
}

/* Readable controls and visible keyboard focus in the booking form. */
.booking-hub-modal .hub-chip-label { min-height: 44px; }
.booking-hub-modal #bookingHubNavTabs { display: flex; }
.booking-hub-modal #bookingHubNavTabs .nav-link.active { background: var(--pq-action, #0369a1); }
.booking-hub-modal .hub-chip-item input:focus-visible + .hub-chip-label,
.booking-hub-modal button:focus-visible,
.booking-hub-modal input:focus-visible { outline: 2px solid var(--pq-action, #0369a1); outline-offset: 2px; }
.booking-hub-modal .hub-stepper { flex-shrink: 0; }
.booking-hub-modal .hub-option-name { overflow-wrap: anywhere; }
.booking-hub-modal .hub-submit-btn:disabled,
.booking-hub-modal .hub-mobile-submit-btn:disabled { opacity: .65; cursor: wait; }
.booking-hub-modal .hub-summary-row { gap: 12px; flex-wrap: wrap; }
.booking-hub-modal .hub-bottom-summary { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
