/* شريط البحث — كان مضمناً في search.blade.php (36KB لكل صفحة)؛ نُقل لملف مخبأ 2026-09-04 */

    .glass-search-wrapper {
        width: 100%;
        max-width: 1240px;
        margin: -112px auto 0;
        position: relative;
        z-index: 100;
        padding: 0 16px;
    }

    /* ── تنبيه أخطاء الخادم (422 بعد إعادة التوجيه) ── */
    .search-server-error {
        display: flex; align-items: center; gap: 8px;
        background: #fdecea; border: 1px solid #f5c6c2; color: #b3261e;
        border-radius: 14px; padding: 10px 16px; margin-bottom: 10px;
        font-size: 13.5px; font-weight: 600;
    }
    .search-server-error i { flex-shrink: 0; font-size: 15px; }

    .glass-search-bar {
        display: flex;
        align-items: center;
        background: #ffffff;
        border: 1px solid #ede4f5;
        border-radius: 66px;
        padding: 17px 20px;
        box-shadow: none;
        transition: box-shadow 0.3s ease;
    }

    .glass-search-bar:hover {
        box-shadow: none;
    }

    /* حسم: إزالة الحد الذهبي/البني القديم حول شريط البحث */
    .glass-search-bar { border-color: #ede4f5 !important; }

    .mobile-trigger-summary { display: none; }

    .glass-search-item {
        flex: 1;
        position: relative;
        padding: 16px 26px;
        border-radius: 50px;
        cursor: pointer;
        transition: background 0.25s ease;
        min-width: 0;
    }

    .glass-search-item:hover,
    .glass-search-item.active {
        background: rgba(115, 80, 150, 0.06);
    }

    .item-trigger {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    /* ── All icons: golden ── */
    .item-icon {
        font-size: 23px;
        color: #AC8147;
        flex-shrink: 0;
    }

    .item-content {
        display: flex;
        flex-direction: column;
        flex: 1;
        overflow: hidden;
        min-width: 0;
    }

    /* ── Labels: purple by default, golden when field is active ── */
    .item-label {
        font-size: 13px;
        font-weight: 700;
        color: #735096;
        margin-bottom: 3px;
        letter-spacing: 0.2px;
    }
    .glass-search-item.active .item-label { color: #AC8147; }

    .item-value {
        font-size: 17px;
        color: #2d1e4b;
        white-space: nowrap;
    }

    /* ── Typed text: golden + slightly smaller ── */
    .item-value-input {
        font-size: 15px;
        color: #AC8147;
        background: transparent;
        border: none;
        outline: none;
        width: 100%;
        padding: 0;
        font-weight: 600;
        touch-action: manipulation;
        white-space: nowrap;
    }
    .item-value-input::placeholder { color: #aaa1b2; font-weight: 400; font-size: 15px; }

    .item-value-dates {
        font-weight: 700;
        font-size: 15px;
        letter-spacing: 0.2px;
    }
    .item-value-dates .date-arrow {
        color: #AC8147;
        font-weight: 400;
        margin: 0 6px;
        font-size: 13px;
    }

    .item-chevron { font-size: 11px; color: #aaa1b2; flex-shrink: 0; }

    /* ── X button: plain simple ── */
    .clear-search-btn {
        font-size: 15px;
        color: #c0b8ca;
        cursor: pointer;
        flex-shrink: 0;
        padding: 2px 4px;
        transition: color .18s;
    }
    .clear-search-btn:hover { color: #AC8147; }

    .glass-divider {
        width: 1px;
        height: 36px;
        background: rgba(115, 80, 150, 0.15);
        flex-shrink: 0;
    }

    .glass-dropdown {
        position: absolute;
        top: calc(100% - 10px); /* مشبوكة تماماً بالحقل (نمط بوكنج) */
        left: 0;
        width: 100%;
        max-width: 100%; /* تطابق عرض الحقل تماماً — لا تمدد حسب أطول اسم */
        background: #fff;
        border: none; /* بلا حدود بنفسجية — الظل وحده يفصلها */
        border-radius: 0 0 18px 18px; /* الحواف العلوية مستقيمة لتبدو امتداداً للحقل */
        box-shadow: 0 14px 34px -10px rgba(30, 14, 40, 0.22);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
        z-index: 101;
        cursor: default;
        user-select: none;
        /* م5.1: الطبقة المخفية لا تلتقط النقر فوق زر البحث */
        pointer-events: none;
    }

    .glass-search-item.active .glass-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        /* م5.1: تعود قابلة للنقر عند فتحها فقط */
        pointer-events: auto;
    }

    #item-location .glass-dropdown {
        min-width: 340px;
        max-height: 420px;
        overflow-y: auto;
        padding-block-end: 12px; /* آخر عنصر لا يُقص عند حافة القائمة */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    #item-location .glass-dropdown::-webkit-scrollbar { display: none; }

    /* إخفاء شريط التمرير داخل قائمة الوجهات نهائياً (كان شريط الموقع العام البني 15px) */
    #item-location .glass-dropdown *,
    #item-location .glass-dropdown { scrollbar-width: none !important; -ms-overflow-style: none !important; }
    #item-location .glass-dropdown *::-webkit-scrollbar,
    #item-location .glass-dropdown::-webkit-scrollbar { width: 0 !important; height: 0 !important; display: none !important; background: transparent !important; }
    #item-location .glass-dropdown *::-webkit-scrollbar-thumb,
    #item-location .glass-dropdown::-webkit-scrollbar-thumb { background: transparent !important; }



    html[dir="rtl"] #item-location .glass-dropdown {
        left: auto;
        right: 0;
    }

    #item-dates .glass-dropdown {
        width: max-content;
        max-width: 96vw;
        right: 0;
        left: auto;
    }

    html[dir="rtl"] #item-dates .glass-dropdown {
        right: 0;
        left: auto;
    }

    /* قائمة النزلاء: عرض ثابت حتى تلتف حقول أعمار الأطفال رأسياً بدل التمدد أفقياً */
    #item-guests .glass-dropdown {
        width: 400px;
        max-width: 96vw;
    }
    html[dir="rtl"] #item-guests .glass-dropdown { right: 0; left: auto; }
    html[dir="ltr"] #item-guests .glass-dropdown { left: 0; right: auto; }

    .dropdown-body { padding: 18px 20px; }

    .dropdown-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 14px;
        padding-top: 14px;
        border-top: 1px solid #ede4f5;
        flex-wrap: wrap;
        gap: 10px;
    }

    .btn-apply {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        background: #735096;
        color: #fff;
        border: 1.5px solid #735096;
        border-radius: 100px;
        padding: 9px 22px;
        font-size: .82rem;
        font-weight: 700;
        cursor: pointer;
        box-shadow: 0 3px 10px rgba(115, 80, 150, .3);
        transition: background .2s, box-shadow .2s;
        white-space: nowrap;
    }
    .btn-apply:hover { background: #5a3a7a; box-shadow: 0 6px 20px rgba(115, 80, 150, .4); }

    .btn-clear {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        background: transparent;
        color: #735096;
        border: 1.5px solid #ede4f5;
        border-radius: 100px;
        padding: 9px 18px;
        font-size: .82rem;
        font-weight: 600;
        cursor: pointer;
        transition: background .2s, border-color .2s;
        white-space: nowrap;
    }
    .btn-clear:hover { background: #f5f0fb; border-color: #735096; }

    /* ── زر البحث: بنفسجي العلامة (طلب 2026-08-22) ── */
    .glass-submit-btn {
        background: linear-gradient(135deg, #735096 0%, #4d3567 100%);
        color: #fff;
        border: none;
        border-radius: 100px;
        padding: 14px 34px;
        font-size: 15px;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        /* الأيقونة يسار النص دائماً (عربي: row-reverse يضع أول عنصر يساراً؛ إنجليزي: row الافتراضي) */
        flex-direction: row;
        gap: 9px;
        cursor: pointer;
        box-shadow: 0 5px 16px rgba(115,80,150,0.32);
        flex-shrink: 0;
        white-space: nowrap;
        position: relative; overflow: hidden; isolation: isolate;
        transition: box-shadow 0.3s ease, transform 0.2s ease;
    }
    .glass-submit-btn i, .glass-submit-btn span { position: relative; z-index: 1; }
    .glass-submit-btn:hover { box-shadow: 0 8px 26px rgba(115,80,150,0.45); transform: translateY(-1px); }
    /* زر بحث الرئيسية ذهبي (البنفسجي أساس صفحة النتائج فقط — طلب 2026-08-22)؛
       القاعدة هنا لا في home.blade.php كي يكفي هذا الملف وحده على أي نسخة */
    .shero-panel .glass-submit-btn {
        background: linear-gradient(135deg, #c2985a 0%, #7f5e31 100%) !important;
        box-shadow: 0 5px 16px rgba(194,152,90,0.32) !important;
    }
    .shero-panel .glass-submit-btn:hover { box-shadow: 0 8px 26px rgba(194,152,90,0.45) !important; }

    /* إلغاء انميشن الموجة البيضاء عند الضغط على زر البحث */
    .glass-submit-btn::before,
    .mso-search-btn::before { display: none !important; }
    .mso-search-btn:active i, .mso-search-btn:active span,
    .mso-search-btn.mso-search-btn-pulse i,
    .mso-search-btn.mso-search-btn-pulse span { color: inherit !important; }

    .search-result-item .result-sub { display:block; font-size:12px; font-weight:600; color:#9184A0; margin-top:2px; }

    /* ── زر "بالقرب مني" ── */
    .near-me-btn {
        display: flex; align-items: center; gap: 10px;
        width: 100%; padding: 12px 14px; margin-bottom: 8px;
        background: #fff; border: none; border-radius: 12px;
        color: #735096; font-size: 13.5px; font-weight: 700; cursor: pointer;
        transition: background .15s;
    }
    .near-me-btn:hover { background: #f5f0fb; }
    .near-me-btn:disabled { opacity: .7; cursor: default; }
    .near-me-btn i { color: #AC8147; font-size: 16px; flex-shrink: 0; }

    /* ── عدد الليالي — مثل صفحة العقار: نص ذهبي بين قوسين ── */
    .dp-nights-badge {
        display: none; align-items: center;
        color: #735096;
        font-size: .9rem; font-weight: 800;
        white-space: nowrap; letter-spacing: .2px;
    }

    /* ── زر البحث الصوتي (المايك) ── */
    .voice-search-btn, .mso-voice-btn {
        color: #AC8147; cursor: pointer; flex-shrink: 0;
        padding: 4px 6px; font-size: 15px; transition: color .18s, transform .15s;
    }
    /* المايك في الديسك توب: مخفي حتى يُفتح حقل الوجهة (مشروط) */
    #voiceSearchBtn { display: none !important; }
    #item-location.voice-ok.active #voiceSearchBtn { display: inline-block !important; }
    /* Desktop: mic على اليسار */
    /* الميكروفون و✕ مجموعة واحدة في نهاية الحقل (كان ✕ وحيداً في الطرف) */
    .shero-panel .voice-search-btn { margin-inline-start: 10px !important; }
    /* البحث الصوتي ميزة جوال — يُخفى على الديسكتوب (الكيبورد أسرع) */
    @media (min-width: 992px) {
        #item-location.voice-ok.active #voiceSearchBtn,
        #voiceSearchBtn,
        .voice-search-btn { display: none !important; }
    }
    /* زر المسح ✕ أيضاً: ميزة جوال — الكيبورد يغني عنه بالديسكتوب */
    @media (min-width: 992px) {
        #clearSearchBtn, .clear-search-btn { display: none !important; }
    }
    .shero-panel #item-location .item-content { flex: 0 1 auto; }
    /* زر ✕ كان absolute في طرف الحقل — نعيده لتدفق الصف ليلتصق بالنص */
    .shero-panel #clearSearchBtn { position: static !important; inset: auto !important; margin-inline-start: 8px !important; align-self: center; }
    .shero-panel .clear-search-btn { margin-inline-start: 8px; font-size: 13px; opacity: .75; }
    .shero-panel .clear-search-btn:hover { opacity: 1; }
    .voice-search-btn:hover, .mso-voice-btn:hover { color: #735096; }
    .voice-search-btn.listening, .mso-voice-btn.listening {
        color: #e53935; animation: voicePulse 1s ease-in-out infinite;
    }
    @keyframes voicePulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.25); opacity: .65; } }

    /* ── أيقونة الوجهة الشائعة ── */
    .popular-item .result-icon i { color: #AC8147; font-size: 16px; }

    /* ── اقتراح "قرب الحرم" ── */
    .haram-suggest-item {
        background: linear-gradient(135deg, #fdf6ec 0%, #f7eede 100%);
        border: 1.5px solid #e7d3b0; border-radius: 12px; margin-bottom: 8px;
    }
    .haram-suggest-item .result-icon i { color: #AC8147; font-size: 17px; }
    .haram-suggest-item .result-name { color: #7a5a1e; font-weight: 700; }
    .haram-suggest-item .result-type-badge { background: #AC8147; color: #fff; }

    .search-loader { display: none; padding: 14px 0; }
    .spinner {
        width: 20px; height: 20px; margin: 0 auto;
        border: 2px solid rgba(115,80,150,0.15);
        border-top-color: #AC8147;
        border-radius: 50%;
        animation: spin 0.8s linear infinite;
    }
    @keyframes spin { to { transform: rotate(360deg); } }

    .search-results-section { padding: 6px 0; margin-bottom: 4px; display: none; }

    .section-title {
        font-size: 11px; font-weight: 700; color: #735096;
        text-transform: uppercase; padding: 4px 8px; margin: 0 0 4px;
        letter-spacing: 0.5px;
    }

    .search-result-item {
        padding: 10px 12px;
        cursor: pointer;
        display: flex;
        align-items: center;
        border-radius: 10px;
        transition: background-color 0.15s;
    }
    .search-results-items .search-result-item:last-child { border-bottom: none; }
    /* تمرير أنيق: خلفية شفافة خفيفة + شريط بنفسجي على جهة البداية بدل المستطيل الرمادي الممتد */
    /* هامش جانبي: خلفية التمرير لا تلامس حافة القائمة (كان يظهر الحد الذهبي كخط بني) */
    .search-result-item { position: relative; border-radius: 12px; margin-inline: 6px; }
    .search-result-item:hover,
    .search-result-item.highlighted { background-color: rgba(115,80,150,.055); }


    /* Popular items: slightly bolder name */
    .search-result-item.popular-item .result-name { color: #2d1e4b; }

    /* الفاصل الرمادي يظهر فوق حافة القائمة المنسدلة — يُخفى أثناء فتحها */
    #item-location.active + .glass-divider { opacity: 0 !important; }
    /* حقل الوجهة يصبح أبيض عند فتح القائمة ليتصل بها كسطح واحد (نمط بوكنج) */
    #item-location.active { background: transparent !important; }

    /* ── ضغط القائمة المنسدلة (نمط بوكنج المدمج) — يغلب النسخة الثانية في style.css ── */
    #item-location .glass-dropdown { padding-block: 6px 10px !important; }
    #item-location .near-me-btn { padding: 9px 12px !important; margin-bottom: 2px !important; }
    #item-location .search-results-section { padding: 2px 0 !important; margin-bottom: 0 !important; }
    #item-location .section-title { padding: 2px 10px !important; margin: 2px 0 !important; font-size: 10.5px !important; }
    #item-location .search-result-item { padding: 6px 10px !important; }
    #item-location .result-name { line-height: 1.25 !important; font-size: 13px !important; overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; }
    #item-location .result-sub { margin-top: 0 !important; font-size: 11.5px !important; line-height: 1.2 !important; }
    #item-location .result-type-badge { margin-top: 1px !important; }
    #item-location .result-icon { margin-inline-end: 10px !important; }


    /* Google result: left border accent */
    .google-result { border-inline-start: 3px solid #4285F4; padding-inline-start: 9px; }

    .result-content { flex: 1; font-size: 13px; min-width: 0; }
    .result-name {
        font-weight: 600;
        color: #2d1e4b;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
        line-height: 1.4;
    }
    .result-type-badge {
        display: inline-block;
        font-size: 10px;
        font-weight: 600;
        color: #AC8147;
        background: #fdf6ec;
        padding: 2px 8px;
        border-radius: 8px;
        margin-top: 3px;
    }
    .no-results-message { text-align: center; padding: 20px 10px; color: #aaa1b2; }
    .no-results-message i { font-size: 22px; margin-bottom: 6px; }
    .landmark-suggest-btn {
        display: inline-flex; align-items: center; gap: 8px;
        margin-top: 10px; padding: 10px 18px;
        background: linear-gradient(135deg, #735096 0%, #4e3266 100%);
        color: #fff; border: none; border-radius: 100px;
        font-size: 14px; font-weight: 600; cursor: pointer;
        transition: box-shadow .2s; white-space: nowrap; max-width: 100%;
    }
    .landmark-suggest-btn:hover { box-shadow: 0 4px 14px rgba(115,80,150,.4); }

    .date-fields-row {
        display: flex;
        align-items: stretch;
        gap: 12px;
        margin-bottom: 16px;
    }
    .date-field {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding: 14px 18px;
        background: #fff;
        border: 2px solid rgba(115,80,150,.18);
        border-radius: 16px;
        transition: border-color 0.2s;
    }
    .date-field.active-field { background: #fff; border-color: #C9A24A; box-shadow: none; }
    .date-field-label { font-size: 11px; font-weight: 700; color: #735096; margin-bottom: 2px; }
    .date-field-value { font-size: 14px; font-weight: 600; color: #2d1e4b; }
    .date-field-divider { display: none; }

    #heroFlatpickrContainer { display: flex; justify-content: center; width: 100%; }

    /* ══════════════════════════════════════════════
       Mobile calendar — simple vertical scroll
       ══════════════════════════════════════════════ */
    .m-calendar-scroll-container { padding: 0 2px; }

    .cal-month-block { margin-bottom: 22px; }

    /* No sticky — was causing duplicate month titles */
    .cal-month-title {
        font-size: 15px;
        font-weight: 700;
        color: #735096;
        text-align: center;
        padding: 8px 0 10px;
    }

    .cal-week-header {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        margin-bottom: 4px;
    }
    .cal-weekday-label {
        text-align: center;
        font-size: 11px;
        font-weight: 600;
        color: #aaa1b2;
        padding-bottom: 4px;
    }

    .cal-days-grid {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        grid-auto-rows: 42px;
        gap: 2px;
    }

    .cal-day-cell {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13.5px;
        font-weight: 500;
        color: #2d1e4b;
        border-radius: 50%;
        cursor: pointer;
        -webkit-user-select: none;
        user-select: none;
    }
    .cal-day-cell:active { background: #F3ECFA; }

    .cal-day-blank { cursor: default; }
    .cal-day-disabled { color: #d8d2de; cursor: not-allowed; pointer-events: none; }

    .cal-day-today {
        font-weight: 800;
        color: #735096;
        text-decoration: underline;
        text-underline-offset: 3px;
        text-decoration-color: #C9A24A;
    }
    .cal-day-checkin, .cal-day-checkout {
        background: linear-gradient(145deg,#7E58A6,#5E3E86) !important;
        color: #fff !important;
        font-weight: 800;
        border-radius: 50%;
        box-shadow: 0 8px 18px -8px rgba(94,62,134,.8);
        text-decoration: none !important;
    }
    .cal-day-inrange {
        background: #F1E7FB;
        border-radius: 0;
        color: #5B3A7C;
    }

    /* ══ Desktop flatpickr — ثيم فنديكوم البنفسجي (مطابق للموك-أب) ══ */
    .flatpickr-calendar.inline { box-shadow: none !important; border: none !important; }
    .flatpickr-calendar { font-family: 'Tajawal', sans-serif !important; }
    .flatpickr-months { margin-bottom: 8px; }
    /* إزالة حدود flatpickr الافتراضية (الخطوط أسفل/جانب الشبكة) — عام */
    #heroFlatpickrContainer .flatpickr-calendar,
    #heroFlatpickrContainer .flatpickr-innerContainer,
    #heroFlatpickrContainer .flatpickr-rContainer,
    #heroFlatpickrContainer .flatpickr-days,
    #heroFlatpickrContainer .flatpickr-weekdays,
    #heroFlatpickrContainer .flatpickr-weekdaycontainer,
    #heroFlatpickrContainer .dayContainer,
    .flatpickr-calendar.inline,
    .flatpickr-calendar.inline .flatpickr-days,
    .flatpickr-calendar.inline .dayContainer,
    .flatpickr-calendar.inline .flatpickr-rContainer,
    .flatpickr-calendar.inline .flatpickr-innerContainer {
        border: none !important; box-shadow: none !important; outline: none !important;
    }
    .flatpickr-current-month, .flatpickr-current-month .cur-month,
    .flatpickr-current-month .numInputWrapper span, .flatpickr-current-month input.cur-year {
        font-weight: 900 !important; color: #3A1450 !important; font-size: 17px !important;
    }
    .flatpickr-weekday { color: #A99BB5 !important; font-weight: 800 !important; font-size: 13px !important; }
    .flatpickr-prev-month svg, .flatpickr-next-month svg { fill: #735096 !important; }
    .flatpickr-prev-month:hover svg, .flatpickr-next-month:hover svg { fill: #5B3A7C !important; }

    .flatpickr-day {
        color: #2A1436 !important; font-weight: 700 !important; border: none !important;
        border-radius: 100px !important;
    }
    .flatpickr-day:hover { background: #F3ECFA !important; }
    .flatpickr-day.flatpickr-disabled, .flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay { color: #d8d2de !important; }

    /* شريط النطاق — بنفسجي فاتح */
    .flatpickr-day.inRange {
        background: #F1E7FB !important;
        border-color: #F1E7FB !important;
        border-radius: 0 !important;
        color: #5B3A7C !important;
        box-shadow: -2px 0 0 #F1E7FB, 2px 0 0 #F1E7FB !important;
    }
    .flatpickr-day.startRange, .flatpickr-day.endRange {
        width: 39px !important; height: 39px !important; line-height: 39px !important; margin: 0 !important;
    }
    /* نقاط النهاية — تدرج بنفسجي بظل */
    html[dir="rtl"] .flatpickr-day.startRange:not(.endRange),
    html[dir="rtl"] .flatpickr-day.startRange:not(.endRange):hover {
        background: linear-gradient(145deg,#7E58A6,#5E3E86) !important; border-color: #6b4b93 !important; color: #fff !important;
        box-shadow: 0 8px 18px -8px rgba(94,62,134,.8) !important; border-radius: 0 100px 100px 0 !important;
    }
    html[dir="rtl"] .flatpickr-day.endRange:not(.startRange),
    html[dir="rtl"] .flatpickr-day.endRange:not(.startRange):hover {
        background: linear-gradient(145deg,#7E58A6,#5E3E86) !important; border-color: #6b4b93 !important; color: #fff !important;
        box-shadow: 0 8px 18px -8px rgba(94,62,134,.8) !important; border-radius: 100px 0 0 100px !important;
    }
    html[dir="ltr"] .flatpickr-day.startRange:not(.endRange),
    html[dir="ltr"] .flatpickr-day.startRange:not(.endRange):hover {
        background: linear-gradient(145deg,#7E58A6,#5E3E86) !important; border-color: #6b4b93 !important; color: #fff !important;
        box-shadow: 0 8px 18px -8px rgba(94,62,134,.8) !important; border-radius: 100px 0 0 100px !important;
    }
    html[dir="ltr"] .flatpickr-day.endRange:not(.startRange),
    html[dir="ltr"] .flatpickr-day.endRange:not(.startRange):hover {
        background: linear-gradient(145deg,#7E58A6,#5E3E86) !important; border-color: #6b4b93 !important; color: #fff !important;
        box-shadow: 0 8px 18px -8px rgba(94,62,134,.8) !important; border-radius: 0 100px 100px 0 !important;
    }
    .flatpickr-day.startRange.endRange, .flatpickr-day.startRange.endRange:hover,
    .flatpickr-day.selected:not(.startRange):not(.endRange) {
        background: linear-gradient(145deg,#7E58A6,#5E3E86) !important; border-color: #6b4b93 !important; color: #fff !important;
        border-radius: 100px !important; box-shadow: 0 8px 18px -8px rgba(94,62,134,.8) !important;
    }
    /* اليوم الحالي — بنفسجي بخط ذهبي أسفله */
    .flatpickr-day.today {
        border: none !important; color: #735096 !important; background: transparent !important; font-weight: 900 !important;
        text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #C9A24A;
    }
    .flatpickr-day.today:hover { background: #F3ECFA !important; color: #735096 !important; }
    .flatpickr-day.today.inRange { background: #F1E7FB !important; color: #5B3A7C !important; border-color: #F1E7FB !important; }
    .flatpickr-day.today.startRange, .flatpickr-day.today.endRange {
        background: linear-gradient(145deg,#7E58A6,#5E3E86) !important; color: #fff !important; border-color: #6b4b93 !important;
    }

    /* الأسهم تبقى في موضعها الافتراضي (بلا إعادة تموضع) */

    /* ── فاصل رأسي رمادي في منتصف التقويمين + متنفس ── */
    .flatpickr-calendar.inline .dayContainer,
    .flatpickr-calendar.inline .flatpickr-weekdaycontainer { padding-inline: 16px; }
    .flatpickr-calendar.inline .flatpickr-days,
    .flatpickr-calendar.inline .flatpickr-weekdays { position: relative !important; overflow: visible !important; }
    .flatpickr-calendar.inline .flatpickr-days::after {
        content: ""; position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%);
        width: 1px; background: #d9d9df; pointer-events: none; z-index: 3;
    }
    .flatpickr-calendar.inline .flatpickr-weekdays::after {
        content: ""; position: absolute; top: 0; bottom: -6px; left: 50%; transform: translateX(-50%);
        width: 1px; background: #d9d9df; pointer-events: none; z-index: 3;
    }
    /* متنفس أكبر في خلايا الأيام */
    .flatpickr-calendar.inline .flatpickr-day { height: 42px !important; line-height: 42px !important; }

    /* ── Rooms & Guests ── */
    .rooms-occupancy-body #roomsOccupancyContainer { max-height: 280px; overflow-y: auto; }
    .ro-room-card {
        border: 1.5px solid #ede4f5;
        border-radius: 14px;
        padding: 14px 16px;
        margin-bottom: 12px;
    }
    .ro-room-card-header {
        display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px;
    }
    .ro-room-title { font-weight: 700; color: #735096; font-size: .92rem; }
    .ro-remove-room-btn {
        background: transparent; border: none; color: #c0392b; cursor: pointer;
        font-size: .85rem; padding: 4px 8px;
    }
    .ro-row {
        display: flex; align-items: center; justify-content: space-between;
        padding: 8px 0; border-bottom: 1px solid #f5f0fb;
    }
    .ro-row:last-child { border-bottom: none; }
    .ro-row-label strong { font-size: .88rem; color: #735096 !important; font-weight: 700; }
    .ro-row-label small { display: block; color: #735096 !important; font-size: .75rem; font-weight: 500; margin-top: 1px; }
    .ro-stepper { display: flex; align-items: center; gap: 16px; }
    .ro-minus, .ro-plus {
        width: 36px; height: 36px; border-radius: 50%;
        border: 1.5px solid #ede4f5; background: #fff; color: #735096;
        font-size: 1.15rem; font-weight: 600; line-height: 1; cursor: pointer;
        display: flex; align-items: center; justify-content: center;
        transition: background 0.15s ease, transform 0.1s ease;
        flex-shrink: 0;
    }
    .ro-minus:hover, .ro-plus:hover { background: #f5f0fb; border-color: #735096; }
    .ro-minus:active, .ro-plus:active { transform: scale(0.92); background: #ede4f5; }
    .ro-stepper span { min-width: 22px; text-align: center; font-weight: 700; font-size: 1rem; color: #2d1e4b; }
    .ro-room-card .ro-ages-row { display: grid; grid-template-columns: repeat(auto-fill, 84px); justify-content: start; gap: 8px; margin-top: 8px; }
    .ro-age-select {
        width: 100%; min-width: 0;
        border: 1.5px solid #ede4f5; border-radius: 8px; padding: 6px 10px;
        font-size: .82rem; color: #2d1e4b; background: #fff; cursor: pointer;
    }
    .ro-add-room-btn {
        display: inline-flex; align-items: center; gap: 6px;
        background: transparent; border: 1.5px dashed #AC8147; color: #AC8147;
        border-radius: 100px; padding: 9px 18px; font-size: .82rem; font-weight: 600; cursor: pointer;
    }
    .ro-add-room-btn:hover { background: #fdf6ec; }

    /* ── Tablet / iPad (769–1024px): ضغط الشريط الأفقي ليتسع بلا ازدحام ── */
    @media (min-width: 769px) and (max-width: 1024px) {
        .glass-search-wrapper { max-width: 100%; padding: 0 18px; }
        .glass-search-bar { padding: 10px 12px; border-radius: 50px; }
        .glass-search-item { padding: 11px 14px; }
        .item-trigger { gap: 10px; }
        .item-icon { font-size: 18px; }
        .item-label { font-size: 11px; }
        .item-value, .item-value-input, .item-value-dates { font-size: 13.5px; }
        .item-value-dates .date-arrow { margin: 0 4px; font-size: 12px; }
        .glass-divider { margin: 0 2px; }
        .glass-submit-btn { padding: 14px 22px !important; }
        .glass-submit-btn span { font-size: 14px; }
    }

    /* ── Mobile ── */
    .mobile-search-overlay { display: none; }

    @media (max-width: 768px) {
        .glass-search-wrapper { margin-top: -32px; padding: 0 22px; }
        .glass-search-bar {
            flex-direction: row;
            align-items: center;
            border-radius: 50px;
            padding: 11px 14px;
            gap: 11px;
            background: #ffffff;
            box-shadow: 0 16px 40px rgba(45, 30, 75, 0.16), 0 4px 12px rgba(45, 30, 75, 0.08);
            cursor: pointer;
        }
        .mts-icon-circle { width: 44px; height: 44px; }
        .mts-icon-circle i { font-size: 16px; }
        .mts-text { font-size: 16px; }
        .mts-sub { font-size: 12.5px; }
        .glass-divider { display: none; }
        .glass-search-bar .glass-search-item { display: none; }
        .glass-search-bar .glass-submit-btn { display: none; }

        .mobile-trigger-summary {
            display: flex;
            align-items: center;
            gap: 12px;
            flex: 1;
            min-width: 0;
            padding: 2px 4px;
        }
        .mts-icon-circle {
            width: 50px; height: 50px; border-radius: 50%;
            background: linear-gradient(145deg, #B0862F, #8A6520);
            display: flex; align-items: center; justify-content: center;
            flex-shrink: 0;
            box-shadow: 0 8px 20px -8px rgba(138,101,32,0.8);
            color: #fff;
        }
        /* (2026-09-06) بالعربية أيقونة البحث يسار النص لا يمينه (قاعدة الهوية: الأيقونة يسار النص) */
        html[dir="rtl"] .mts-icon-circle { order: 2; }
        html[dir="rtl"] .mts-text-stack { order: 1; }
        .mts-text-stack { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
        .mts-text { font-size: 16px; font-weight: 800; color: #2A1436; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; }
        .mts-sub  { font-size: 13px; color: #8A7C93; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.25; }

        .mobile-search-overlay {
            position: fixed;
            inset: 0;
            background: #fff;
            z-index: 9999;
            display: flex;
            flex-direction: column;
            transform: translateY(100%);
            transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .mobile-search-overlay.open { transform: translateY(0); }

        .mso-header {
            display: flex; align-items: center; gap: 14px;
            padding: 18px 16px; border-bottom: 1px solid #ede4f5; flex-shrink: 0;
        }
        .mso-close-btn {
            background: #f5f0fb; border: none; width: 38px; height: 38px;
            border-radius: 50%; color: #735096; font-size: 16px;
            display: flex; align-items: center; justify-content: center; flex-shrink: 0;
        }
        .mso-title { font-size: 16px; font-weight: 700; color: #2d1e4b; }

        .mso-body { flex: 1; min-height: 0; overflow-y: auto; padding: 20px 16px 24px; }

        /* Accordion steps */
        .mso-accordion-item {
            border: 1.5px solid #ede4f5;
            border-radius: 20px;
            margin-bottom: 12px;
            overflow: hidden;
            transition: border-color 0.25s ease;
        }
        .mso-accordion-item.expanded { border-color: #735096; }

        .mso-accordion-header {
            width: 100%;
            display: flex; align-items: center; justify-content: space-between;
            gap: 12px; padding: 16px; background: none; border: none;
            text-align: right; cursor: pointer;
        }
        .mso-accordion-header-text {
            display: flex; flex-direction: column; flex: 1; min-width: 0;
        }
        /* ── Accordion label: golden when expanded ── */
        .mso-accordion-title {
            font-size: 12px; font-weight: 700; color: #735096; margin-bottom: 3px;
        }
        .mso-accordion-item.expanded .mso-accordion-title { color: #AC8147; }
        .mso-accordion-summary {
            font-size: 15px; font-weight: 600; color: #2d1e4b;
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        }
        .mso-accordion-chevron {
            color: #aaa1b2; font-size: 13px; flex-shrink: 0; transition: transform 0.25s ease;
        }
        .mso-accordion-item.expanded .mso-accordion-chevron {
            transform: rotate(180deg); color: #AC8147;
        }

        .mso-accordion-content {
            max-height: 0; overflow: hidden;
            transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
            padding: 0 16px;
        }
        .mso-accordion-item.expanded .mso-accordion-content {
            max-height: 70vh; overflow-y: auto; padding: 0 16px 18px;
            scrollbar-width: none; /* Firefox */
        }
        .mso-accordion-item.expanded .mso-accordion-content::-webkit-scrollbar { display: none; }

        .mso-input-row {
            display: flex; align-items: center; gap: 12px; padding-top: 4px;
        }
        .mso-field-icon { color: #AC8147; font-size: 18px; flex-shrink: 0; }
        /* font-size: 16px prevents iOS auto-zoom */
        .mso-input {
            flex: 1; border: none; outline: none;
            font-size: 16px; font-weight: 600; color: #2d1e4b;
            background: transparent; min-width: 0; touch-action: manipulation;
        }
        .mso-input::placeholder { color: #aaa1b2; font-weight: 400; }

        /* ── Mobile X: plain simple ── */
        .mso-clear-btn {
            background: none; border: none; color: #c0b8ca;
            font-size: 15px; flex-shrink: 0; cursor: pointer;
            padding: 2px; transition: color .18s;
        }
        .mso-clear-btn:hover { color: #AC8147; }

        .mso-dropdown-results {
            display: none; margin-top: 12px;
        }
        .mso-dropdown-results.show { display: block; }

        .mso-add-room-btn { width: 100%; justify-content: center; margin-top: 6px; }

        /* Mobile rooms */
        .mso-accordion-content .ro-stepper { gap: 20px; }
        .mso-accordion-content .ro-minus,
        .mso-accordion-content .ro-plus { width: 42px; height: 42px; font-size: 1.3rem; }
        .mso-accordion-content .ro-stepper span { min-width: 26px; font-size: 1.05rem; }

        .mso-footer {
            /* عنصر flex عادي في أسفل النافذة (بدل position:fixed الذي يختل هدف اللمس
               داخل عنصر مُحول transform على الجوال → كان يمنع النقر على «ابحث الآن») */
            flex-shrink: 0;
            padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); background: #fff;
            border-top: 1px solid #ede4f5;
            box-shadow: 0 -8px 24px rgba(45, 30, 75, 0.08);
            z-index: 5;
        }
        .mso-search-btn {
            width: 100%;
            background: linear-gradient(135deg, #c2985a 0%, #7f5e31 100%);
            color: #fff; border: none; border-radius: 100px;
            padding: 16px; font-size: 16px; font-weight: 700;
            display: flex; align-items: center; justify-content: center; gap: 10px;
            box-shadow: 0 8px 24px rgba(194, 152, 90, 0.35);
            position: relative; overflow: hidden; isolation: isolate;
            transition: box-shadow 0.3s ease-in-out;
        }
        .mso-search-btn::before {
            content: ''; position: absolute;
            top: 50%; left: 50%; width: 0; height: 0;
            border-radius: 50%; background: #ffffff;
            transform: translate(-50%, -50%);
            transition: width 0.3s ease-in-out, height 0.3s ease-in-out;
            z-index: 0;
        }
        .mso-search-btn i, .mso-search-btn span {
            position: relative; z-index: 1; transition: color 0.3s ease-in-out;
        }
        .mso-search-btn:active::before,
        .mso-search-btn.mso-search-btn-pulse::before { width: 300%; height: 300%; }
        .mso-search-btn:active i, .mso-search-btn:active span,
        .mso-search-btn.mso-search-btn-pulse i,
        .mso-search-btn.mso-search-btn-pulse span { color: #AC8147; }
    }
    /* ══ إخفاء أشرطة التمرير ══ */

/* حاوية الغرف Desktop */
.rooms-occupancy-body #roomsOccupancyContainer { scrollbar-width:none; -ms-overflow-style:none; }
.rooms-occupancy-body #roomsOccupancyContainer::-webkit-scrollbar { display:none; }

/* جسم overlay الجوال */
.mso-body { scrollbar-width:none; -ms-overflow-style:none; }
.mso-body::-webkit-scrollbar { display:none; }

/* نتائج البحث الجوال */
.mso-dropdown-results { scrollbar-width:none; -ms-overflow-style:none; }
.mso-dropdown-results::-webkit-scrollbar { display:none; }
    /* (2026-09-04) كان Blade يبدل الاتجاه حسب اللغة داخل CSS المضمن؛ صار تجاوز RTL ثابتاً هنا */
    html[dir="rtl"] .glass-submit-btn { flex-direction: row-reverse; }

