/* ═══════════════════════════════════════════════════════════════ */
/* BOOKING COMPACT — الملف الكامل النهائي                          */
/* تصغير + عنصرين في السطر + Country Picker داخل حقل الهاتف        */
/* ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════ */
/* 1. VARIABLES                                                    */
/* ═══════════════════════════════════════════════════════════════ */
.booking,
.booking-form,
.booking-summary {
    --bs-font-base: 13.5px;
    --bs-font-sm: 12px;
    --bs-font-xs: 10.5px;
    --bs-font-lg: 16px;
    --bs-pad: 16px;
    --bs-gap: 10px;
    --bs-radius: 7px;
    --bs-border: 1px;
    --bs-error: #DC2626;
    --bs-error-bg: #FEF2F2;
}

/* ═══════════════════════════════════════════════════════════════ */
/* 2. HERO                                                         */
/* ═══════════════════════════════════════════════════════════════ */
.booking-hero {
    padding: 32px 0 28px !important;
}
.booking-hero__badge {
    padding: 4px 11px !important;
    font-size: 10px !important;
    margin-bottom: 10px !important;
    letter-spacing: .5px !important;
}
.booking-hero h1 {
    font-size: clamp(18px, 2.4vw, 24px) !important;
    margin-bottom: 6px !important;
}
.booking-hero p {
    font-size: 12.5px !important;
    max-width: 440px !important;
    line-height: 1.5 !important;
}

/* ═══════════════════════════════════════════════════════════════ */
/* 3. SECTION                                                      */
/* ═══════════════════════════════════════════════════════════════ */
.booking.section {
    padding: 28px 0 44px !important;
}

/* ═══════════════════════════════════════════════════════════════ */
/* 4. FORM CONTAINER                                               */
/* ═══════════════════════════════════════════════════════════════ */
.booking-form {
    padding: 20px !important;
    border-radius: 12px !important;
}
@media (max-width: 576px) {
    .booking-form { padding: 14px !important; }
}

/* ═══════════════════════════════════════════════════════════════ */
/* 5. FORM GROUPS                                                  */
/* ═══════════════════════════════════════════════════════════════ */
.booking-form__group {
    margin-bottom: 12px !important;
    min-width: 0;
}
.booking-form__group label {
    font-size: 11.5px !important;
    margin-bottom: 4px !important;
    gap: 4px !important;
}
.booking-form__group label .req {
    font-size: 12px !important;
    color: var(--bs-error) !important;
    font-style: normal !important;
}
.booking-form__group label .opt {
    font-size: 9.5px !important;
    color: var(--gray, #6b6b6b) !important;
    font-style: normal !important;
    font-weight: 400 !important;
    margin-left: auto !important;
    text-transform: uppercase !important;
    letter-spacing: .4px !important;
}

.booking-form__group input,
.booking-form__group select,
.booking-form__group textarea {
    padding: 8px 11px !important;
    font-size: 12.5px !important;
    border-radius: var(--bs-radius) !important;
    border-width: var(--bs-border) !important;
    line-height: 1.4 !important;
    width: 100% !important;
    font-family: inherit !important;
    transition: border-color .2s ease, box-shadow .2s ease !important;
}
.booking-form__group textarea {
    min-height: 68px !important;
    resize: vertical !important;
}
.booking-form__group select {
    padding-right: 30px !important;
    background-position: right 10px center !important;
    appearance: none !important;
    cursor: pointer !important;
}
.booking-form__group input:focus,
.booking-form__group select:focus,
.booking-form__group textarea:focus {
    outline: none !important;
    border-color: var(--primary, #c8a165) !important;
    box-shadow: 0 0 0 3px rgba(200,161,101,.1) !important;
}
.booking-form__group input.error,
.booking-form__group select.error,
.booking-form__group textarea.error {
    border-color: var(--bs-error) !important;
    background: var(--bs-error-bg) !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, .1) !important;
}

/* ═══════════════════════════════════════════════════════════════ */
/* 6. ROWS                                                         */
/* ═══════════════════════════════════════════════════════════════ */
.booking-form__row {
    gap: 10px !important;
}

/* ═══════════════════════════════════════════════════════════════ */
/* 7. DIVIDER                                                      */
/* ═══════════════════════════════════════════════════════════════ */
.booking-form__divider {
    margin: 16px 0 10px !important;
    font-size: 9.5px !important;
    gap: 8px !important;
    letter-spacing: .8px !important;
    display: flex !important;
    align-items: center !important;
    color: var(--gray, #6b6b6b) !important;
}
.booking-form__divider::before,
.booking-form__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border, #e5e0d8);
}

/* ═══════════════════════════════════════════════════════════════ */
/* 8. SELECTED TOUR PREVIEW                                        */
/* ═══════════════════════════════════════════════════════════════ */
.booking-form__tour {
    padding: 10px !important;
    gap: 10px !important;
    margin-bottom: 16px !important;
    border-radius: 9px !important;
    display: flex !important;
    align-items: center !important;
    background: var(--light, #f8f6f2) !important;
    border: 1px solid var(--border, #e5e0d8) !important;
}
.booking-form__tour-img {
    width: 52px !important;
    height: 52px !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    background: var(--sand-2, #EBE0CC) !important;
}
.booking-form__tour-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}
.booking-form__tour-info {
    flex: 1 !important;
    min-width: 0 !important;
}
.booking-form__tour-label {
    font-size: 9px !important;
    margin-bottom: 2px !important;
    letter-spacing: .5px !important;
    color: var(--primary, #c8a165) !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    display: block !important;
}
.booking-form__tour-info h3 {
    font-size: 12.5px !important;
    margin-bottom: 3px !important;
    color: var(--dark, #1a1a1a) !important;
    line-height: 1.3 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}
.booking-form__tour-meta {
    font-size: 10.5px !important;
    gap: 9px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    color: var(--gray, #6b6b6b) !important;
}
.booking-form__tour-meta i {
    font-size: 10px !important;
    color: var(--primary, #c8a165) !important;
    margin-right: 3px !important;
}

/* ═══════════════════════════════════════════════════════════════ */
/* 9. PHONE ROW — Country Picker + Phone Input                     */
/* ═══════════════════════════════════════════════════════════════ */
.booking-form__group--phone {
    display: grid !important;
    grid-template-columns: 140px 1fr !important;
    grid-template-rows: auto auto !important;
    column-gap: 6px !important;
    row-gap: 4px !important;
    margin-bottom: 12px !important;
}

/* العناوين */
.booking-form__group--phone .phone-label {
    font-size: 11.5px !important;
    font-weight: 600 !important;
    color: var(--dark, #1a1a1a) !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    line-height: 1.2 !important;
    min-height: 16px !important;
}
.booking-form__group--phone .phone-label:nth-of-type(1) {
    grid-column: 1 !important;
    grid-row: 1 !important;
}
.booking-form__group--phone .phone-label:nth-of-type(2) {
    grid-column: 2 !important;
    grid-row: 1 !important;
}

/* الصف: Country + Input */
.phone-row {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    display: grid !important;
    grid-template-columns: 140px 1fr !important;
    column-gap: 6px !important;
    align-items: stretch !important;
}
.phone-row .country-picker {
    position: relative !important;
    min-width: 0 !important;
    width: 100% !important;
}
.phone-row input[type="tel"] {
    width: 100% !important;
    min-width: 0 !important;
}

/* ═══════════════════════════════════════════════════════════════ */
/* 10. COUNTRY PICKER                                              */
/* ═══════════════════════════════════════════════════════════════ */
.country-picker {
    position: relative !important;
    width: 100% !important;
}

.country-picker__trigger {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 5px !important;
    padding: 8px 10px !important;
    min-height: 38px !important;
    background: #fff !important;
    border: 1px solid var(--border, #e5e0d8) !important;
    border-radius: var(--bs-radius) !important;
    font-family: inherit !important;
    font-size: 12.5px !important;
    color: var(--dark, #1a1a1a) !important;
    cursor: pointer !important;
    text-align: left !important;
    transition: border-color .2s ease, box-shadow .2s ease !important;
    line-height: 1.2 !important;
}
.country-picker__trigger:hover {
    border-color: #c9c9c9 !important;
}
.country-picker__trigger:focus-visible,
.country-picker__trigger.active {
    outline: none !important;
    border-color: var(--primary, #c8a165) !important;
    box-shadow: 0 0 0 3px rgba(200,161,101,.12) !important;
}

/* حالة الخطأ */
.country-picker__trigger.error {
    border-color: var(--bs-error) !important;
    background: var(--bs-error-bg) !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, .12) !important;
}
.country-picker__trigger.error .country-picker__arrow,
.country-picker__trigger.error .country-picker__selected,
.country-picker__trigger.error .country-picker__selected i.fa-globe {
    color: var(--bs-error) !important;
}

/* العنصر المختار */
.country-picker__selected {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    flex: 1 !important;
    min-width: 0 !important;
    font-size: 12.5px !important;
    color: var(--dark, #1a1a1a) !important;
}
.country-picker__selected.placeholder {
    color: #9a9a9a !important;
}
.country-picker__selected i.fa-globe {
    color: #9a9a9a !important;
    font-size: 12px !important;
}
.country-picker__flag {
    font-size: 15px !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
}
.country-picker__label {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

/* السهم */
.country-picker__arrow {
    font-size: 10px !important;
    color: #9a9a9a !important;
    flex-shrink: 0 !important;
    transition: transform .25s ease, color .2s ease !important;
}
.country-picker__trigger.active .country-picker__arrow {
    transform: rotate(180deg) !important;
    color: var(--primary, #c8a165) !important;
}

/* ═══════════════════════════════════════════════════════════════ */
/* 11. COUNTRY DROPDOWN                                            */
/* ═══════════════════════════════════════════════════════════════ */
.country-picker__dropdown {
    display: none !important;
    position: fixed !important;
    z-index: 99999 !important;
    background: #fff !important;
    border: 1px solid var(--border, #e5e0d8) !important;
    border-radius: 9px !important;
    box-shadow: 0 12px 32px rgba(0,0,0,.14) !important;
    max-height: 300px !important;
    overflow: hidden !important;
    animation: cpFadeIn .16s ease !important;
}
.country-picker__dropdown.active {
    display: block !important;
}

@keyframes cpFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* حقل البحث */
.country-picker__search-wrap {
    padding: 7px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    background: #fafafa !important;
    border-radius: 9px 9px 0 0 !important;
    position: relative !important;
}
.country-picker__search-wrap i {
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #9a9a9a !important;
    font-size: 12px !important;
    pointer-events: none !important;
}
.country-picker__search {
    width: 100% !important;
    padding: 7px 10px 7px 30px !important;
    border: 1px solid #e2e2e2 !important;
    border-radius: 6px !important;
    background: #fff !important;
    font-family: inherit !important;
    font-size: 12px !important;
    color: #2a2a2a !important;
    outline: none !important;
    transition: border-color .2s, box-shadow .2s !important;
}
.country-picker__search::placeholder {
    color: #b0b0b0 !important;
}
.country-picker__search:focus {
    border-color: var(--primary, #c8a165) !important;
    box-shadow: 0 0 0 3px rgba(200,161,101,.12) !important;
}

/* قائمة الدول */
.country-picker__list {
    list-style: none !important;
    margin: 0 !important;
    padding: 4px 0 !important;
    max-height: 230px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scrollbar-width: thin !important;
    scrollbar-color: #d0d0d0 transparent !important;
}
.country-picker__list::-webkit-scrollbar {
    width: 5px !important;
}
.country-picker__list::-webkit-scrollbar-thumb {
    background: #d0d0d0 !important;
    border-radius: 3px !important;
}

/* عنصر الدولة */
.country-picker__item {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 7px 12px !important;
    cursor: pointer !important;
    font-size: 12px !important;
    color: #2a2a2a !important;
    line-height: 1.2 !important;
    transition: background .15s !important;
    outline: none !important;
}
.country-picker__item:hover,
.country-picker__item:focus-visible {
    background: #fdf3ec !important;
}
.country-picker__item.selected {
    background: #fdf3ec !important;
    color: var(--primary, #c8a165) !important;
    font-weight: 600 !important;
}
.country-picker__item .country-picker__name {
    flex: 1 !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}
.country-picker__item .country-picker__dial {
    font-size: 11px !important;
    color: #9a9a9a !important;
    flex-shrink: 0 !important;
}

/* لا نتائج */
.country-picker__empty {
    display: none !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 22px 14px !important;
    text-align: center !important;
    color: #9a9a9a !important;
    font-size: 12px !important;
}
.country-picker__empty.active {
    display: flex !important;
}
.country-picker__empty i {
    font-size: 18px !important;
    color: #d0d0d0 !important;
}

/* رسالة الخطأ */
.booking-form__group--phone .field-error {
    grid-column: 1 / -1 !important;
    display: none !important;
    font-size: 11px !important;
    color: var(--bs-error) !important;
    font-weight: 500 !important;
    margin-top: 2px !important;
    line-height: 1.3 !important;
}
.booking-form__group--phone .field-error.active {
    display: block !important;
}

/* ═══════════════════════════════════════════════════════════════ */
/* 12. CONTACT METHOD BUTTONS                                      */
/* ═══════════════════════════════════════════════════════════════ */
.method-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    margin-top: 6px !important;
}
.method {
    padding: 8px 10px !important;
    gap: 9px !important;
    border-radius: var(--bs-radius) !important;
    border-width: 1px !important;
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
    font-family: inherit !important;
    text-align: left !important;
    transition: all .25s ease !important;
    background: #fff !important;
    border: 1px solid var(--border, #e5e0d8) !important;
    width: 100% !important;
    min-width: 0 !important;
}
.method:hover {
    border-color: var(--primary, #c8a165) !important;
    background: #fdfaf5 !important;
}
.method__icon {
    width: 30px !important;
    height: 30px !important;
    font-size: 12px !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    flex-shrink: 0 !important;
}
.method__icon--email { background: #3b7bbf !important; }
.method__icon--wa    { background: #25d366 !important; }
.method__icon--form  { background: var(--primary, #c8a165) !important; }

.method__info {
    flex: 1 !important;
    min-width: 0 !important;
}
.method__info strong {
    font-size: 12px !important;
    margin-bottom: 1px !important;
    display: block !important;
    color: var(--dark, #1a1a1a) !important;
    font-weight: 600 !important;
}
.method__info small {
    font-size: 10px !important;
    line-height: 1.25 !important;
    display: block !important;
    color: var(--gray, #6b6b6b) !important;
}
.method__arrow {
    font-size: 10px !important;
    color: #c9c9c9 !important;
    flex-shrink: 0 !important;
}

/* ✅ Send via Form — كامل العرض */
.method--full {
    grid-column: 1 / -1 !important;
}

/* ═══════════════════════════════════════════════════════════════ */
/* 13. FORM MESSAGE                                                */
/* ═══════════════════════════════════════════════════════════════ */
.form-msg {
    margin-top: 10px !important;
    padding: 8px 12px !important;
    font-size: 11.5px !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    display: none !important;
}
.form-msg.error {
    display: block !important;
    background: var(--bs-error-bg) !important;
    color: var(--bs-error) !important;
    border-left: 3px solid var(--bs-error) !important;
}
.form-msg.success {
    display: block !important;
    background: #e6f7f0 !important;
    color: #065F46 !important;
    border-left: 3px solid #22a06b !important;
}

/* ═══════════════════════════════════════════════════════════════ */
/* 14. SUMMARY SIDEBAR                                             */
/* ═══════════════════════════════════════════════════════════════ */
.booking-summary__box {
    padding: 16px !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 4px 20px rgba(0,0,0,.06) !important;
    border: 1px solid var(--border, #e5e0d8) !important;
}
.booking-summary__title {
    font-size: 14px !important;
    margin-bottom: 12px !important;
    padding-bottom: 9px !important;
    border-bottom: 1px solid var(--border, #e5e0d8) !important;
    color: var(--dark, #1a1a1a) !important;
}
.booking-summary__row {
    padding: 6px 0 !important;
    font-size: 11.5px !important;
    display: flex !important;
    justify-content: space-between !important;
    gap: 8px !important;
    border-bottom: 1px dashed var(--border, #e5e0d8) !important;
}
.booking-summary__row:last-child {
    border-bottom: none !important;
}
.booking-summary__row span {
    font-size: 11px !important;
    color: var(--gray, #6b6b6b) !important;
}
.booking-summary__row strong {
    font-size: 11.5px !important;
    color: var(--dark, #1a1a1a) !important;
    text-align: right !important;
    word-break: break-word !important;
}
.booking-summary__total {
    padding: 10px 0 !important;
    font-size: 13px !important;
    margin-top: 6px !important;
    border-top: 1.5px solid var(--dark, #1a1a1a) !important;
    border-bottom: 1.5px solid var(--dark, #1a1a1a) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-weight: 700 !important;
}
.booking-summary__total strong {
    font-size: 17px !important;
    color: var(--primary, #c8a165) !important;
}
.booking-summary__trust {
    margin: 12px 0 !important;
    gap: 6px !important;
    display: grid !important;
}
.booking-summary__trust-item {
    font-size: 11px !important;
    gap: 6px !important;
    display: flex !important;
    align-items: center !important;
    color: var(--gray, #6b6b6b) !important;
}
.booking-summary__trust-item i {
    font-size: 11px !important;
    color: #22a06b !important;
    width: 16px !important;
    text-align: center !important;
}
.booking-summary__contact {
    margin-top: 12px !important;
    padding-top: 12px !important;
    border-top: 1px solid var(--border, #e5e0d8) !important;
    text-align: center !important;
}
.booking-summary__contact p {
    font-size: 10px !important;
    margin-bottom: 8px !important;
    color: var(--gray, #6b6b6b) !important;
    text-transform: uppercase !important;
    letter-spacing: .5px !important;
}
.booking-summary__links {
    gap: 5px !important;
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
}
.booking-summary__links a {
    padding: 5px 10px !important;
    font-size: 10.5px !important;
    gap: 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    background: var(--light, #f8f6f2) !important;
    border-radius: 50px !important;
    color: var(--dark, #1a1a1a) !important;
    text-decoration: none !important;
    transition: all .2s ease !important;
    border: 1px solid transparent !important;
}
.booking-summary__links a:hover {
    background: var(--primary, #c8a165) !important;
    color: #fff !important;
}
.booking-summary__links a i {
    font-size: 11px !important;
}

/* ═══════════════════════════════════════════════════════════════ */
/* 15. SUCCESS STATE (flip)                                        */
/* ═══════════════════════════════════════════════════════════════ */
.success-flip {
    width: 56px !important;
    height: 56px !important;
    margin-bottom: 14px !important;
}
.success-flip__front,
.success-flip__back {
    font-size: 1.3rem !important;
}
.success-title {
    font-size: 15px !important;
    margin-bottom: 5px !important;
}
.success-msg {
    font-size: 11.5px !important;
    margin-bottom: 14px !important;
}
.success-details {
    padding: 10px 12px !important;
    margin-bottom: 14px !important;
}
.success-details__row {
    padding: 5px 0 !important;
    font-size: 11px !important;
}
.success-details__row strong {
    font-size: 11px !important;
}

/* ═══════════════════════════════════════════════════════════════ */
/* 16. TOUR SELECTOR (tour-booking.css)                            */
/* ═══════════════════════════════════════════════════════════════ */
.tour-selector {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
    gap: 10px !important;
    margin-bottom: 14px !important;
}
.tour-card__info { padding: 9px 11px 6px !important; }
.tour-card__info h3 {
    font-size: 12px !important;
    margin-bottom: 5px !important;
    min-height: 32px !important;
}
.tour-card__meta { font-size: 10px !important; gap: 9px !important; }
.tour-card__meta i { font-size: 9px !important; }
.tour-card__price {
    padding: 8px 11px !important;
    font-size: 14px !important;
}
.tour-card__price small { font-size: 9.5px !important; }
.tour-card__check {
    width: 22px !important;
    height: 22px !important;
    font-size: 10px !important;
    top: 8px !important;
    right: 8px !important;
}

/* ═══════════════════════════════════════════════════════════════ */
/* 17. BOOKING BOX (tour-booking.css)                              */
/* ═══════════════════════════════════════════════════════════════ */
.booking-box__front,
.booking-box__back {
    padding: 20px !important;
    border-radius: 12px !important;
}

/* ═══════════════════════════════════════════════════════════════ */
/* 18. BOOKING SUCCESS (tour-booking.css)                          */
/* ═══════════════════════════════════════════════════════════════ */
.booking-success { padding: 4px 2px !important; }
.booking-success__icon {
    width: 60px !important;
    height: 60px !important;
    margin-bottom: 14px !important;
}
.booking-success__icon .checkmark {
    width: 34px !important;
    height: 34px !important;
}
.booking-success__title {
    font-size: 17px !important;
    margin-bottom: 6px !important;
}
.booking-success__text {
    font-size: 11.5px !important;
    margin-bottom: 14px !important;
}
.booking-success__ref {
    padding: 6px 11px !important;
    font-size: 10.5px !important;
    margin-bottom: 14px !important;
}
.booking-success__ref strong { font-size: 11.5px !important; }
.booking-success__details {
    padding: 11px !important;
    margin-bottom: 14px !important;
    gap: 4px !important;
}
.booking-success__row {
    padding: 6px 2px !important;
    font-size: 11.5px !important;
    gap: 8px !important;
}
.booking-success__row i {
    width: 24px !important;
    height: 24px !important;
    font-size: 10.5px !important;
}
.booking-success__btn {
    padding: 10px 16px !important;
    font-size: 12px !important;
    min-height: 40px !important;
    border-radius: 8px !important;
}

/* ═══════════════════════════════════════════════════════════════ */
/* 19. RESPONSIVE — TABLET (≤ 992px)                               */
/* ═══════════════════════════════════════════════════════════════ */
@media (max-width: 992px) {
    .booking__wrap {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }
    .booking-summary {
        position: static !important;
    }
}

/* ═══════════════════════════════════════════════════════════════ */
/* 20. RESPONSIVE — MOBILE (≤ 640px)                               */
/* عنصرين في السطر + Country Picker داخل حقل الهاتف                */
/* ═══════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {

    /* ─── HERO ─── */
    .booking-hero { padding: 24px 0 20px !important; }
    .booking-hero h1 { font-size: 17px !important; }
    .booking-hero p { font-size: 12px !important; }
    .booking-hero__badge {
        padding: 3px 9px !important;
        font-size: 9px !important;
    }

    /* ─── SECTION ─── */
    .booking.section { padding: 20px 0 32px !important; }

    /* ─── FORM: شبكة عمودين ─── */
    .booking-form {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0 8px !important;
        padding: 12px !important;
    }

    /* العناصر التي تأخذ كامل العرض */
    .booking-form__tour,
    .booking-form__divider,
    .method-grid,
    .form-msg,
    .booking-form__group--full,
    .booking-form__group--phone {
        grid-column: 1 / -1 !important;
    }

    /* الحقول الفردية تأخذ عموداً واحداً */
    .booking-form > .booking-form__group:not(.booking-form__group--full):not(.booking-form__group--phone) {
        grid-column: span 1 !important;
        margin-bottom: 10px !important;
        min-width: 0 !important;
    }

    /* ─── ROWS: شبكة فرعية عمودين ─── */
    .booking-form__row {
        grid-column: 1 / -1 !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        margin-bottom: 10px !important;
    }
    .booking-form__row .booking-form__group {
        margin-bottom: 0 !important;
        min-width: 0 !important;
    }

    /* ─── PHONE ROW: Country + Phone ─── */
    .booking-form__group--phone {
        grid-template-columns: 110px 1fr !important;
        column-gap: 6px !important;
        row-gap: 3px !important;
        margin-bottom: 10px !important;
    }
    .booking-form__group--phone .phone-label {
        font-size: 10.5px !important;
        min-height: 14px !important;
    }
    .phone-row {
        grid-template-columns: 110px 1fr !important;
        column-gap: 6px !important;
    }
    .phone-row .country-picker__trigger {
        padding: 8px 8px !important;
        font-size: 11.5px !important;
        min-height: 38px !important;
    }
    .phone-row .country-picker__selected {
        font-size: 11.5px !important;
        gap: 4px !important;
    }
    .phone-row .country-picker__selected .country-picker__flag {
        font-size: 14px !important;
    }
    .phone-row input[type="tel"] {
        padding: 8px 10px !important;
        font-size: 12px !important;
    }

    /* ─── COUNTRY DROPDOWN: كامل العرض ─── */
    .country-picker__dropdown.active {
        left: 12px !important;
        right: 12px !important;
        width: auto !important;
        max-height: 280px !important;
    }
    .country-picker__list {
        max-height: 200px !important;
    }

    /* ─── CONTACT METHODS: 2 + 1 ─── */
    .method-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 6px !important;
        margin-top: 6px !important;
    }
    .method {
        padding: 8px 9px !important;
        gap: 7px !important;
        min-width: 0 !important;
    }
    .method__icon {
        width: 28px !important;
        height: 28px !important;
        font-size: 11px !important;
        flex-shrink: 0 !important;
    }
    .method__info { min-width: 0 !important; }
    .method__info strong { font-size: 11px !important; }
    .method__info small {
        font-size: 9px !important;
        line-height: 1.2 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    .method__arrow { display: none !important; }

    /* ✅ Send via Form: كامل العرض */
    .method--full { grid-column: 1 / -1 !important; }

    /* ─── SELECTED TOUR ─── */
    .booking-form__tour {
        flex-direction: row !important;
        text-align: left !important;
        padding: 8px !important;
    }
    .booking-form__tour-img {
        width: 46px !important;
        height: 46px !important;
    }
    .booking-form__tour-info h3 { font-size: 11.5px !important; }
    .booking-form__tour-meta { font-size: 10px !important; }

    /* ─── TOUR SELECTOR ─── */
    .tour-selector {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }
    .tour-card__info h3 { font-size: 11.5px !important; }
}

/* ═══════════════════════════════════════════════════════════════ */
/* 21. RESPONSIVE — SMALL (≤ 380px)                                */
/* ═══════════════════════════════════════════════════════════════ */
@media (max-width: 380px) {

    .booking-form { padding: 10px !important; }

    /* Phone Row: أضيق */
    .booking-form__group--phone {
        grid-template-columns: 95px 1fr !important;
    }
    .phone-row {
        grid-template-columns: 95px 1fr !important;
    }
    .booking-form__group--phone .phone-label {
        font-size: 10px !important;
    }
    .phone-row .country-picker__trigger {
        padding: 7px 6px !important;
        font-size: 11px !important;
        min-height: 36px !important;
    }
    .phone-row input[type="tel"] {
        padding: 7px 8px !important;
        font-size: 11.5px !important;
    }

    /* Contact methods: عمود واحد */
    .method-grid {
        grid-template-columns: 1fr !important;
    }
    .method {
        padding: 7px 9px !important;
    }
    .method__icon {
        width: 26px !important;
        height: 26px !important;
        font-size: 10px !important;
    }
    .method__info strong { font-size: 10.5px !important; }
    .method__info small { font-size: 8.5px !important; }

    /* Tour selector: عمود واحد */
    .tour-selector {
        grid-template-columns: 1fr !important;
    }

    /* Rows: عمود واحد */
    .booking-form__row {
        grid-template-columns: 1fr !important;
    }

    /* Country dropdown */
    .country-picker__dropdown.active {
        left: 8px !important;
        right: 8px !important;
    }
}

/* ═══════════════════════════════════════════════════════════════ */
/* 22. RTL SUPPORT                                                 */
/* ═══════════════════════════════════════════════════════════════ */
[dir="rtl"] .booking-form__group--phone .phone-label:nth-of-type(1) {
    grid-column: 2 !important;
}
[dir="rtl"] .booking-form__group--phone .phone-label:nth-of-type(2) {
    grid-column: 1 !important;
}
[dir="rtl"] .phone-row {
    grid-template-columns: 1fr 140px !important;
}
[dir="rtl"] .phone-row .country-picker {
    order: 2;
}
[dir="rtl"] .phone-row input[type="tel"] {
    order: 1;
}
[dir="rtl"] .country-picker__search-wrap i {
    left: auto !important;
    right: 16px !important;
}
[dir="rtl"] .country-picker__search {
    padding: 7px 30px 7px 10px !important;
}
[dir="rtl"] .country-picker__item {
    flex-direction: row-reverse !important;
}
[dir="rtl"] .booking-form__group label .opt {
    margin-left: 0 !important;
    margin-right: auto !important;
}

@media (max-width: 640px) {
    [dir="rtl"] .phone-row {
        grid-template-columns: 1fr 110px !important;
    }
}
@media (max-width: 380px) {
    [dir="rtl"] .phone-row {
        grid-template-columns: 1fr 95px !important;
    }
}

/* ═══════════════════════════════════════════════════════════════ */
/* 11. COUNTRY DROPDOWN — position: absolute (لا يحتاج JS)         */
/* ═══════════════════════════════════════════════════════════════ */
.country-picker__dropdown {
    display: none !important;
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 0 !important;
    right: auto !important;

    width: max-content !important;
    min-width: 100% !important;
    max-width: 320px !important;

    z-index: 1000 !important;
    background: #fff !important;
    border: 1px solid var(--border, #e5e0d8) !important;
    border-radius: 9px !important;
    box-shadow: 0 12px 32px rgba(0,0,0,.14) !important;
    max-height: 300px !important;
    overflow: hidden !important;
    animation: cpFadeIn .16s ease !important;
}
.country-picker__dropdown.active {
    display: block !important;
}

@keyframes cpFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* على الهاتف: كامل عرض الشاشة */
@media (max-width: 640px) {
    .country-picker__dropdown {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        max-height: 280px !important;
    }
    .country-picker__list {
        max-height: 200px !important;
    }
}


/* ═══════════════════════════════════════════════════════
   BOOKING FORM — ERROR STATES
   ═══════════════════════════════════════════════════════ */

.booking-form__group.has-error label > span:first-child {
  color: #e74c3c;
}

.booking-form__group.has-error input,
.booking-form__group.has-error select,
.booking-form__group.has-error textarea,
.booking-form__group.has-error .country-picker__trigger {
  border-color: #e74c3c !important;
  background-color: #fff5f5;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.12);
}

.input-error {
  border-color: #e74c3c !important;
  background-color: #fff5f5;
}

.country-picker.has-error .country-picker__trigger {
  border-color: #e74c3c !important;
  background-color: #fff5f5;
}

.field-error {
  display: none;
  color: #e74c3c;
  font-size: 12px;
  margin-top: 6px;
  font-weight: 500;
}

.country-picker.has-error + .field-error,
#countryError[style*="block"] {
  display: block;
}

/* ─── Form messages ─── */
.form-msg {
  display: none;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  margin-top: 16px;
  animation: slideDown 0.3s ease;
}

.form-msg--error {
  background: #fdecea;
  color: #c0392b;
  border-left: 4px solid #e74c3c;
}

.form-msg--success {
  background: #e8f8f0;
  color: #1e8449;
  border-left: 4px solid #27ae60;
}

.form-msg--info {
  background: #eaf4fd;
  color: #1f618d;
  border-left: 4px solid #3498db;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════
   LOADING SPINNER ON METHOD BUTTONS
   ═══════════════════════════════════════════════════════ */

.method.is-loading {
  pointer-events: none;
  opacity: 0.8;
  position: relative;
}

.method__spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(0,0,0,0.15);
  border-top-color: #c97b3c;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

.method--full .method__spinner {
  border-top-color: #c97b3c;
}

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

/* ═══════════════════════════════════════════════════════
   SUMMARY FLIP ANIMATION
   ═══════════════════════════════════════════════════════ */

.booking-summary__box {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.4s ease;
  transform-style: preserve-3d;
  perspective: 1200px;
}

.booking-summary__box--flipped {
  animation: flipIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes flipIn {
  0% {
    transform: rotateY(0deg) scale(1);
    opacity: 1;
  }
  50% {
    transform: rotateY(90deg) scale(0.96);
    opacity: 0.5;
  }
  100% {
    transform: rotateY(0deg) scale(1);
    opacity: 1;
  }
}

/* ═══════════════════════════════════════════════════════
   SUCCESS CARD
   ═══════════════════════════════════════════════════════ */

.booking-success {
  text-align: center;
  padding: 8px 4px;
  animation: fadeInUp 0.5s ease 0.3s both;
}

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

.booking-success__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 34px;
  box-shadow: 0 10px 30px rgba(39, 174, 96, 0.35);
  animation: popIn 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) 0.4s both;
}

@keyframes popIn {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}

.booking-success__title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 6px;
}

.booking-success__sub {
  font-size: 13px;
  color: #666;
  margin: 0 0 20px;
}

.booking-success__sub strong {
  color: #c97b3c;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.booking-success__list {
  background: #faf8f5;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  text-align: left;
}

.booking-success__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed #e8e3da;
  font-size: 13px;
}

.booking-success__row:last-child {
  border-bottom: none;
}

.booking-success__row span {
  color: #888;
  font-weight: 500;
}

.booking-success__row strong {
  color: #1a1a1a;
  font-weight: 700;
  text-align: right;
  max-width: 60%;
}

.booking-success__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.booking-success__btn {
  width: 100%;
  justify-content: center;
  font-size: 14px;
  padding: 12px 16px;
}

.booking-success__note {
  font-size: 12px;
  color: #888;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.booking-success__note i {
  color: #c97b3c;
}

.booking-success__note strong {
  color: #555;
}

/* ─── Mobile: scroll + bigger flip ─── */
@media (max-width: 768px) {
  .booking-summary__box--flipped {
    animation: flipInMobile 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }

  @keyframes flipInMobile {
    0% {
      transform: rotateX(0deg);
      opacity: 1;
    }
    50% {
      transform: rotateX(90deg);
      opacity: 0.4;
    }
    100% {
      transform: rotateX(0deg);
      opacity: 1;
    }
  }

  .booking-success__title {
    font-size: 19px;
  }
}
 

/* ═══════════════════════════════════════════════════════════════ */
/* TOUR COMBOBOX — عنصر موحّد للبحث والاختيار                     */
/* ═══════════════════════════════════════════════════════════════ */

.tour-combo {
    position: relative;
    width: 100%;
}

/* ═══ الحقل الرئيسي ═══ */
.tour-combo__input {
    width: 100%;
    padding: 10px 68px 10px 38px; /* يمين: 68px (سهم + مسح) — يسار: 38px (بحث) */
    border: 1px solid var(--border, #e5e0d8);
    border-radius: var(--bs-radius, 7px);
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: #1a1a1a;
    background: #fff;
    transition: border-color .2s, box-shadow .2s, background .2s;
    outline: none;
    cursor: text;
    line-height: 1.4;
    min-height: 40px;
}

.tour-combo__input::placeholder {
    color: #9a9a9a;
    font-weight: 400;
}

.tour-combo__input:hover {
    border-color: #d5cec2;
}

.tour-combo__input:focus {
    border-color: var(--primary, #c8a165);
    box-shadow: 0 0 0 3px rgba(200, 161, 101, .12);
    background: #fff;
}

.tour-combo__input:disabled {
    background: #f8f6f2;
    cursor: wait;
    color: #9a9a9a;
}

/* ═══ أيقونة البحث (يسار) ═══ */
.tour-combo__icon-left {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9a9a9a;
    font-size: 13px;
    pointer-events: none;
    z-index: 2;
    transition: color .2s;
}

.tour-combo.is-open .tour-combo__icon-left {
    color: var(--primary, #c8a165);
}

/* ═══ زر المسح (X) ═══ */
.tour-combo__clear {
    position: absolute;
    right: 34px;
    top: 50%;
    transform: translateY(-50%) scale(0.8);
    width: 22px;
    height: 22px;
    border: none;
    background: #e8e3da;
    color: #6b6b6b;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all .2s ease;
    z-index: 3;
    padding: 0;
}

.tour-combo.has-value .tour-combo__clear {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
}

.tour-combo__clear:hover {
    background: #d4cec2;
    color: #1a1a1a;
    transform: translateY(-50%) scale(1.1);
}

.tour-combo__clear:active {
    transform: translateY(-50%) scale(0.95);
}

/* ═══ زر السهم ═══ */
.tour-combo__arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border: none;
    background: transparent;
    color: #9a9a9a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: transform .25s ease, color .2s;
    z-index: 3;
    padding: 0;
}

.tour-combo__arrow:hover {
    color: var(--primary, #c8a165);
}

.tour-combo.is-open .tour-combo__arrow {
    transform: translateY(-50%) rotate(180deg);
    color: var(--primary, #c8a165);
}

/* ═══════════════════════════════════════════════════════════════ */
/* DROPDOWN LIST                                                   */
/* ═══════════════════════════════════════════════════════════════ */

.tour-combo__list {
    /* ⚠️ position و top/left/width يتم تعيينها ديناميكياً من JS */
    background: #fff;
    border: 1px solid var(--border, #e5e0d8);
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .22);
    overflow-y: auto;
    overflow-x: hidden;
    /* ⚠️ أعلى z-index ممكن — فوق الـ Footer وأي عنصر آخر */
    z-index: 2147483647;
    list-style: none;
    margin: 0;
    padding: 6px;
    display: none;
    scrollbar-width: thin;
    scrollbar-color: #d0d0d0 transparent;

    /* ⚠️ اجعل العنصر غير متأثر بأي stacking context */
    will-change: top, left, width;
    isolation: isolate;
}

.tour-combo__list.active {
    display: block;
    animation: comboFadeIn .18s ease;
}

.tour-combo__list::-webkit-scrollbar {
    width: 6px;
}

.tour-combo__list::-webkit-scrollbar-thumb {
    background: #d0d0d0;
    border-radius: 3px;
}

.tour-combo__list::-webkit-scrollbar-thumb:hover {
    background: var(--primary, #c8a165);
}

.tour-combo__list.active {
    display: block;
    animation: comboFadeIn .18s ease;
}

@keyframes comboFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════ */
/* ITEM                                                            */
/* ═══════════════════════════════════════════════════════════════ */

.tour-combo__item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background .15s, transform .1s;
    font-size: 13px;
    outline: none;
    position: relative;
}

.tour-combo__item:hover,
.tour-combo__item.active {
    background: #fdf3ec;
}

.tour-combo__item:active {
    transform: scale(.995);
}

/* ═══ صورة مصغّرة ═══ */
.tour-combo__thumb {
    width: 44px;
    height: 44px;
    border-radius: 7px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0ece5;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.tour-combo__thumb--placeholder {
    color: #c9c0b0;
    font-size: 16px;
}

/* ═══ معلومات ═══ */
.tour-combo__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.tour-combo__title {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 12.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.tour-combo__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 11px;
    color: #888;
    line-height: 1.3;
}

.tour-combo__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.tour-combo__meta-item i {
    font-size: 10px;
    color: var(--primary, #c8a165);
}

/* ═══ السعر ═══ */
.tour-combo__meta .tour-search__price {
    color: var(--primary, #c8a165);
    font-weight: 700;
    font-size: 11.5px;
    margin-left: auto;
}

.tour-combo__meta .tour-search__price--request {
    color: #888;
    font-style: italic;
    font-weight: 500;
}

.tour-combo__meta .tour-search__price-old {
    text-decoration: line-through;
    color: #b0b0b0;
    font-size: 10px;
    margin-right: 4px;
    font-weight: 500;
}

.tour-combo__meta .tour-search__price-new {
    color: var(--primary, #c8a165);
    font-weight: 700;
}

/* ═══ علامة الاختيار ═══ */
.tour-combo__check {
    color: var(--primary, #c8a165);
    font-size: 12px;
    opacity: 0;
    transition: opacity .15s;
    flex-shrink: 0;
}

.tour-combo__item:hover .tour-combo__check {
    opacity: .6;
}

.tour-combo__item.selected .tour-combo__check {
    opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════ */
/* EMPTY STATE                                                     */
/* ═══════════════════════════════════════════════════════════════ */

.tour-combo__empty {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 32px 16px;
    background: #fff;
    border: 1px solid var(--border, #e5e0d8);
    border-radius: 10px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .16);
    z-index: 9999;
    text-align: center;
    color: #9a9a9a;
    font-size: 12px;
    animation: comboFadeIn .18s ease;
}

.tour-combo__empty.active {
    display: flex;
}

.tour-combo__empty i {
    font-size: 22px;
    color: #d0d0d0;
    margin-bottom: 4px;
}

/* ═══════════════════════════════════════════════════════════════ */
/* RTL SUPPORT                                                     */
/* ═══════════════════════════════════════════════════════════════ */

[dir="rtl"] .tour-combo__input {
    padding: 10px 38px 10px 68px;
    text-align: right;
}

[dir="rtl"] .tour-combo__icon-left {
    left: auto;
    right: 14px;
}

[dir="rtl"] .tour-combo__clear {
    right: auto;
    left: 34px;
}

[dir="rtl"] .tour-combo__arrow {
    right: auto;
    left: 10px;
}

[dir="rtl"] .tour-combo__meta .tour-search__price {
    margin-left: 0;
    margin-right: auto;
}

[dir="rtl"] .tour-combo__title {
    text-align: right;
}

/* ═══════════════════════════════════════════════════════════════ */
/* RESPONSIVE                                                      */
/* ═══════════════════════════════════════════════════════════════ */

@media (max-width: 640px) {
    .tour-combo__input {
        font-size: 13px;
        padding: 10px 66px 10px 36px;
        min-height: 42px;
    }

    .tour-combo__icon-left {
        left: 12px;
        font-size: 12px;
    }

    .tour-combo__clear {
        right: 32px;
        width: 20px;
        height: 20px;
        font-size: 9px;
    }

    .tour-combo__arrow {
        right: 8px;
        font-size: 10px;
    }

    .tour-combo__list {
        max-height: 280px;
    }

    .tour-combo__thumb {
        width: 40px;
        height: 40px;
    }

    .tour-combo__title {
        font-size: 12px;
    }

    .tour-combo__meta {
        font-size: 10.5px;
        gap: 8px;
    }

    /* على الهاتف: عرض كامل الشاشة */
    .tour-combo__list,
    .tour-combo__empty {
        left: -12px;
        right: -12px;
        border-radius: 10px;
    }
}

@media (max-width: 380px) {
    .tour-combo__input {
        font-size: 12.5px;
        padding: 9px 62px 9px 34px;
    }

    .tour-combo__title {
        font-size: 11.5px;
    }

    .tour-combo__meta {
        font-size: 10px;
    }
}

/* ═══════════════════════════════════════════════════════════════ */
/* RTL + MOBILE                                                    */
/* ═══════════════════════════════════════════════════════════════ */

@media (max-width: 640px) {
    [dir="rtl"] .tour-combo__input {
        padding: 10px 36px 10px 66px;
    }

    [dir="rtl"] .tour-combo__icon-left {
        right: 12px;
        left: auto;
    }

    [dir="rtl"] .tour-combo__clear {
        left: 32px;
        right: auto;
    }

    [dir="rtl"] .tour-combo__arrow {
        left: 8px;
        right: auto;
    }
}

/* ═══════════════════════════════════════════════════════════════ */
/* 28. PROGRESSIVE REVEAL — إخفاء الأقسام                          */
/* ═══════════════════════════════════════════════════════════════ */

.is-hidden {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ═══════════════════════════════════════════════════════════════ */
/* 29. PRICE HIDING — إخفاء قسري لصفوف الأسعار                     */
/* ═══════════════════════════════════════════════════════════════ */

/* إخفاء عند وجود سمة [hidden] */
.booking-summary__row[hidden],
.booking-summary__total[hidden],
.booking-form__tour-meta span[hidden],
[data-price][hidden],
[data-price-row][hidden],
[data-total][hidden] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    border: none !important;
}

/* إخفاء عند display:none inline */
.booking-summary__row[style*="display: none"],
.booking-summary__total[style*="display: none"],
.booking-form__tour-meta span[style*="display: none"],
[data-price][style*="display: none"],
[data-price-row][style*="display: none"],
[data-total][style*="display: none"] {
    display: none !important;
}

/* ═══════════════════════════════════════════════════════════════ */
/* 30. ON REQUEST LABEL                                            */
/* ═══════════════════════════════════════════════════════════════ */

.on-request-label {
    color: #888 !important;
    font-style: italic;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.2px;
}

/* ═══════════════════════════════════════════════════════════════ */
/* 31. TOUR COMBO — PRICE (fallback إذا لم يُحمَّل tour-search)   */
/* ═══════════════════════════════════════════════════════════════ */

.tour-combo__price {
    color: var(--primary, #c8a165);
    font-weight: 700;
    font-size: 11.5px;
    margin-left: auto;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.tour-combo__price--request {
    color: #888;
    font-style: italic;
    font-weight: 500;
    font-size: 11px;
}

.tour-combo__price-old {
    text-decoration: line-through;
    color: #b0b0b0;
    font-size: 10px;
    font-weight: 500;
}

.tour-combo__price-new {
    color: var(--primary, #c8a165);
    font-weight: 700;
    font-size: 11.5px;
}

[dir="rtl"] .tour-combo__price {
    margin-left: 0;
    margin-right: auto;
}

/* ═══════════════════════════════════════════════════════════════ */
/* 32. TOUR COMBO — STATE WHEN HAS VALUE + OPEN                    */
/* ═══════════════════════════════════════════════════════════════ */

/* عندما يكون لديه قيمة، خفّف شفافية حقل الإدخال */
.tour-combo.has-value .tour-combo__input {
    font-weight: 600;
    color: #1a1a1a;
}

/* عند الفتح: أظهر الخلفية */
.tour-combo.is-open .tour-combo__input {
    background: #fff;
    border-color: var(--primary, #c8a165);
    box-shadow: 0 0 0 3px rgba(200, 161, 101, .12);
}

/* ═══════════════════════════════════════════════════════════════ */
/* 33. FIX — z-index Stacking                                      */
/* ═══════════════════════════════════════════════════════════════ */

/* حقل البحث داخل الـ combobox يجب أن يكون أسفل من القائمة */
.tour-combo {
    z-index: 1;
}

/* القائمة المنسدلة أعلى */
.tour-combo__list {
    z-index: 9998;
}

/* Country Picker أعلى قليلاً */
.country-picker__dropdown {
    z-index: 9999;
}

/* ═══════════════════════════════════════════════════════════════ */
/* 34. FIX — TOUR COMBO CLEAR BUTTON POSITION (Mobile)            */
/* ═══════════════════════════════════════════════════════════════ */

/* عند الفتح، أخفِ زر المسح لتجنب التداخل */
.tour-combo.is-open .tour-combo__clear {
    opacity: 0 !important;
    visibility: hidden !important;
}

/* عند عدم الفتح، أظهره إذا كان هناك قيمة */
.tour-combo:not(.is-open).has-value .tour-combo__clear {
    opacity: 1;
    visibility: visible;
}

/* ═══════════════════════════════════════════════════════════════ */
/* 35. FIX — SUCCESS ROW LAST CHILD                                */
/* ═══════════════════════════════════════════════════════════════ */

.booking-success__row:last-child {
    border-bottom: none !important;
}

/* ═══════════════════════════════════════════════════════════════ */
/* 36. FIX — TOUR COMBO ITEM — SELECTED STATE                      */
/* ═══════════════════════════════════════════════════════════════ */

.tour-combo__item.selected {
    background: #fdf3ec;
}

.tour-combo__item.selected .tour-combo__check {
    opacity: 1;
}

.tour-combo__item.selected .tour-combo__title {
    color: var(--primary, #c8a165);
    font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════════ */
/* 37. FIX — NO RESULTS STATE — TOUR COMBO                         */
/* ═══════════════════════════════════════════════════════════════ */

.tour-combo__empty.active {
    display: flex !important;
}

.tour-combo__empty i {
    font-size: 24px;
    color: #d0d0d0;
    margin-bottom: 4px;
}

.tour-combo__empty span {
    color: #9a9a9a;
    font-size: 12.5px;
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════ */
/* 38. FIX — VALIDATION ERROR — TOUR COMBO                         */
/* ═══════════════════════════════════════════════════════════════ */

.tour-combo.has-error .tour-combo__input {
    border-color: var(--bs-error, #DC2626) !important;
    background: var(--bs-error-bg, #FEF2F2) !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, .1) !important;
}

.tour-combo.has-error .tour-combo__icon-left {
    color: var(--bs-error, #DC2626);
}

/* ═══════════════════════════════════════════════════════════════ */
/* 39. FIX — SCROLLBAR GLOBAL                                      */
/* ═══════════════════════════════════════════════════════════════ */

.tour-combo__list,
.country-picker__list {
    scrollbar-width: thin;
    scrollbar-color: #d0d0d0 transparent;
}

.tour-combo__list::-webkit-scrollbar,
.country-picker__list::-webkit-scrollbar {
    width: 6px;
}

.tour-combo__list::-webkit-scrollbar-track,
.country-picker__list::-webkit-scrollbar-track {
    background: transparent;
}

.tour-combo__list::-webkit-scrollbar-thumb,
.country-picker__list::-webkit-scrollbar-thumb {
    background: #d0d0d0;
    border-radius: 3px;
}

.tour-combo__list::-webkit-scrollbar-thumb:hover,
.country-picker__list::-webkit-scrollbar-thumb:hover {
    background: var(--primary, #c8a165);
}

/* ═══════════════════════════════════════════════════════════════ */
/* 40. FIX — TOUR COMBO — HOVER/ACTIVE SHADOW                      */
/* ═══════════════════════════════════════════════════════════════ */

.tour-combo__item.active {
    background: #fdf3ec;
    box-shadow: inset 3px 0 0 var(--primary, #c8a165);
}

[dir="rtl"] .tour-combo__item.active {
    box-shadow: inset -3px 0 0 var(--primary, #c8a165);
}

/* ═══════════════════════════════════════════════════════════════ */
/* 41. FIX — RESPONSIVE — TOUR COMBO MOBILE WIDTH                  */
/* ═══════════════════════════════════════════════════════════════ */

@media (max-width: 640px) {
    /* القائمة تأخذ عرض الحقل بالضبط */
    .tour-combo__list,
    .tour-combo__empty {
        left: 0;
        right: 0;
        width: 100%;
    }
}

@media (max-width: 380px) {
    .tour-combo__clear {
        right: 30px;
        width: 18px;
        height: 18px;
        font-size: 8px;
    }

    .tour-combo__arrow {
        right: 7px;
        font-size: 9px;
    }
}

/* ═══════════════════════════════════════════════════════════════ */
/* 42. FIX — PRINT STYLES                                          */
/* ═══════════════════════════════════════════════════════════════ */

@media print {
    .tour-combo__list,
    .tour-combo__empty,
    .country-picker__dropdown {
        display: none !important;
    }
}

/* ═══════════════════════════════════════════════════════════════ */
/* 43. FIX — ACCESSIBILITY — FOCUS VISIBLE                         */
/* ═══════════════════════════════════════════════════════════════ */

.tour-combo__input:focus-visible {
    outline: 2px solid var(--primary, #c8a165);
    outline-offset: 2px;
}

.tour-combo__clear:focus-visible,
.tour-combo__arrow:focus-visible {
    outline: 2px solid var(--primary, #c8a165);
    outline-offset: 2px;
    border-radius: 50%;
}

.tour-combo__item:focus-visible {
    outline: 2px solid var(--primary, #c8a165);
    outline-offset: -2px;
    background: #fdf3ec;
}

/* ═══════════════════════════════════════════════════════════════ */
/* 44. FIX — REDUCED MOTION                                        */
/* ═══════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
    .tour-combo__list,
    .tour-combo__empty,
    .country-picker__dropdown,
    .booking-summary__box,
    .booking-success,
    .booking-success__icon {
        animation: none !important;
        transition: none !important;
    }
}

/* ═══════════════════════════════════════════════════════════════ */
/* 45. FIX — DARK MODE SUPPORT (Optional)                          */
/* ═══════════════════════════════════════════════════════════════ */

@media (prefers-color-scheme: dark) {
    /* يمكن تعطيلها إذا لم تكن مدعومة */
}

/* ═══════════════════════════════════════════════════════════════ */
/* 46. FIX — TOUR COMBO DISABLED                                   */
/* ═══════════════════════════════════════════════════════════════ */

.tour-combo__input:disabled {
    background: #f8f6f2;
    cursor: not-allowed;
    color: #9a9a9a;
    opacity: 0.8;
}

.tour-combo__input:disabled ~ .tour-combo__icon-left {
    opacity: 0.5;
}

.tour-combo__input:disabled ~ .tour-combo__arrow {
    opacity: 0.5;
    pointer-events: none;
}
/* ═══════════════════════════════════════════════════════════════ */
/* FIX — منع كسر position: fixed                                   */
/* ═══════════════════════════════════════════════════════════════ */

/* ⚠️ لا تضع transform على .booking-form أو أي أب */
.booking-form,
.booking__wrap,
.booking.section {
    /* لا transform — لأنه يكسر position: fixed */
    transform: none !important;
    /* لا perspective */
    perspective: none !important;
    /* لا filter */
    filter: none !important;
    /* لا will-change: transform */
    will-change: auto !important;
}

/* ⚠️ تأكد من عدم وجود overflow مخفي */
.booking-form {
    overflow: visible !important;
}

.booking__wrap {
    overflow: visible !important;
}