/* ═══════════════════════════════════════════════════════════
   الموقع العام — العلمين الجديدة
   منقول من ملف التصميم بمقاساته (عرض 1040px، خط 14px) مع خصائص
   منطقية (inline-start/end) ليعمل بالعربي والإنجليزي.
   Bootstrap محمَّل للقوائم المنسدلة وقائمة الموبايل فقط.
   البادئة nx- تفصلها عن أصناف Bootstrap وعن لوحة التحكم.
   ═══════════════════════════════════════════════════════════ */

:root {
    --nx-blue: #0f72d8;
    --nx-primary: #0b64d8;
    --nx-cyan: #0ea5b7;
    --nx-sea: #08799f;
    --nx-dark: #0e243b;
    --nx-ink: #1d2733;
    --nx-muted: #6f7c8b;
    --nx-line: #e6ebf1;
    --nx-soft: #f7f9fb;
    --nx-shadow: 0 12px 35px rgba(21, 48, 77, .12);
    --nx-topbar-h: 40px;

    /* ── نظام التصميم ──
       كان الملف بلا مقاييس: كل قياس رقمٌ مكتوب في موضعه، فاختلفت
       الاستدارات والظلال والمسافات بين قسم وآخر. هذه المقاييس
       مرجعٌ واحد يُشتق منه الباقي. */

    /* عرض المحتوى: كان 1040px منقولاً عن ملف التصميم، وهو ضيّق
       على شاشات اليوم فتبقى الأقسام محشورة في نصف الشاشة. */
    --nx-shell: 1240px;
    --nx-shell-narrow: 900px;

    /* سلّم الخطوط — الأساس 16px لا 14px */
    --nx-fs-xs: 13px;
    --nx-fs-sm: 15px;
    --nx-fs-base: 16px;
    --nx-fs-lg: 18px;
    --nx-fs-xl: 22px;
    --nx-fs-2xl: 28px;
    --nx-fs-3xl: 38px;
    --nx-fs-hero: 52px;

    /* إيقاع رأسي ثابت بين الأقسام */
    --nx-gap-xs: 8px;
    --nx-gap-sm: 14px;
    --nx-gap-md: 22px;
    --nx-gap-lg: 36px;
    --nx-section: 72px;

    /* استدارات وظلال موحّدة */
    --nx-r-sm: 8px;
    --nx-r-md: 12px;
    --nx-r-lg: 18px;
    --nx-r-pill: 999px;
    --nx-shadow-sm: 0 2px 10px rgba(21, 48, 77, .07);
    --nx-shadow-md: 0 10px 30px rgba(21, 48, 77, .10);
    --nx-shadow-lg: 0 18px 48px rgba(21, 48, 77, .16);
}

body {
    font-family: Alexandria, Helvetica, Arial, sans-serif;
    color: var(--nx-ink);
    background: #fff;
    font-size: var(--nx-fs-base);
    line-height: 1.65;

    /* الفوتر في الأسفل دائماً — حتى لو كان محتوى الصفحة قصيراً */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* عمود مرن: الصفحة التي تريد ملء الشاشة تطلب flex:1 من نفسها */
body > main { flex: 1 0 auto; display: flex; flex-direction: column; }
body > .nx-footer { margin-top: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.4; }

.nx-shell { width: min(var(--nx-shell), calc(100% - 48px)); margin-inline: auto; }
.nx-shell--narrow { width: min(var(--nx-shell-narrow), calc(100% - 48px)); }
.nx-flip { display: inline-block; }
[dir="ltr"] .nx-flip { transform: scaleX(-1); }

/* ── الشريط العلوي ── */
.nx-topbar { height: var(--nx-topbar-h); background: var(--nx-sea); color: #fff; font-size: 14px; position: relative; z-index: 60; }
.nx-topbar__inner { height: 100%; display: flex; justify-content: space-between; align-items: center; direction: ltr; }
.nx-topbar__contact,
.nx-topbar__settings { display: flex; align-items: center; gap: 10px; }
.nx-topbar a,
.nx-topbar a:hover { color: #fff; }
.nx-topbar__pill { border: 1px solid rgba(255, 255, 255, .35); padding: 4px 11px; border-radius: 16px; }

/* ــ عناصر الشريط العلوي ــ
   كانت نصّاً سائباً بلا إطار ولا حشو، فلا يُعرف أيّها زرٌّ يُضغط.
   صارت أقراصاً بنفس هيئة قرص «كن شريكًا» المجاور. */
.nx-topbar .nx-pref__btn,
.nx-topbar__lang { border: 1px solid rgba(255, 255, 255, .28); border-radius: 14px; padding: 3px 10px; line-height: 1.7; color: #fff; }
.nx-topbar .nx-pref__btn:hover,
.nx-topbar__lang:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.nx-pref__static { opacity: .82; }
.nx-caret { margin-inline-start: 5px; font-size: 12px; }

/* العملة والجنسية */
.nx-pref__btn { background: none; border: 0; color: inherit; font-size: inherit; padding: 0; }
.nx-pref__btn i { font-size: 11px; margin-inline-start: 2px; }
.nx-pref__menu { font-size: 15px; min-width: 8rem; }
.nx-pref__menu .dropdown-item.active,
.nx-pref__menu .dropdown-item:active { background: var(--nx-primary); color: #fff; }

/* ── الهيدر ── */
.nx-header { height: 78px; background: #fff; border-bottom: 1px solid var(--nx-line); position: sticky; top: 0; z-index: 50; }
/* الهيدر فوق صورة الواجهة: كان شفافاً بنصٍّ أبيض بلا أي تظليل،
   فيختفي الكلام على أي صورة فاتحة. تدريجٌ خفيف يضمن التباين
   دون أن يحجب الصورة. */
.nx-header--over { position: absolute; top: var(--nx-topbar-h); inset-inline: 0; border: 0; color: #fff;
    background: linear-gradient(to bottom, rgba(6, 26, 44, .58), rgba(6, 26, 44, .12) 70%, rgba(6, 26, 44, 0)); }
.nx-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.nx-brand { display: inline-flex; align-items: flex-end; gap: 4px; font-size: 24px; color: var(--nx-blue); font-weight: 800; line-height: 1; }
.nx-brand:hover { color: var(--nx-blue); }
.nx-brand strong { font-weight: 800; }
.nx-brand__wave { font-size: 19px; color: var(--nx-cyan); }
/* الشعار المرفوع — بارتفاع ثابت مهما كان مقاس الملف */
.nx-brand__logo { display: block; height: 46px; width: auto; max-width: 180px; object-fit: contain; }
.nx-brand--footer .nx-brand__logo { height: 30px; }
.nx-header--over .nx-brand,
.nx-header--over .nx-brand__wave { color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .45); }

/* القائمة أكبر قليلاً وأثقل — ١٣px كانت صغيرة على شريط بهذا العرض */
.nx-nav { display: flex !important; gap: 30px; font-weight: 700; font-size: 16px; }
.nx-nav a:hover { color: var(--nx-cyan); }
.nx-header--over .nx-nav > a { color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .45); }
.nx-nav__mobile { display: none; }
.nx-menu-btn { display: none; background: none; border: 0; font-size: 24px; color: inherit; }

/* ── الواجهة ── */
.nx-hero { height: 595px; position: relative; overflow: hidden; }
.nx-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 58%; filter: saturate(1.1); }
/* بلا صورة مرفوعة من الإعدادات: بحر وسماء بالتدرّج — لا صورة مستعارة */
.nx-hero__bg--empty {
    background:
        linear-gradient(180deg, #f3c9a0 0%, #9fc6d8 38%, #3fa9c4 62%, #0d7fa8 82%, #e9dcc3 100%);
}
.nx-hero__shade { position: absolute; inset: 0; background: linear-gradient(rgba(0, 86, 118, .12), rgba(0, 59, 84, .18)); }
.nx-hero__content { position: relative; z-index: 2; padding-top: 205px; color: #fff; text-align: center; }
.nx-hero h1 { font-size: 52px; margin: 0 0 95px; font-weight: 800; text-shadow: 0 2px 12px rgba(0, 0, 0, .14); }

.nx-hero__tabs { display: flex; justify-content: flex-start; gap: 28px; width: min(820px, 100%); margin: 0 auto 10px; padding-inline: 22px; }
.nx-hero__tabs button { background: none; border: 0; color: #fff; font-size: 15px; font-weight: 700; padding: 0; opacity: .8; }
.nx-hero__tabs button.is-active { opacity: 1; }

/* ── نموذج البحث ── */
.nx-search {
    width: min(820px, 100%);
    margin: auto;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, .18);
    color: var(--nx-ink);
    display: grid;
    grid-template-columns: 1.35fr 1.5fr 1fr 125px;
    min-height: 89px;
    align-items: center;
    padding: 13px 16px;
}
.nx-search__field { display: flex; flex-direction: column; text-align: start; padding: 0 18px; border-inline-end: 1px solid #edf0f3; position: relative; margin: 0; min-width: 0; }
.nx-search__field > span:first-child { font-size: 14px; color: #7c8795; margin-bottom: 7px; font-weight: 600; }
.nx-search input { border: 0; outline: none; min-width: 0; color: #303a45; background: transparent; padding: 0; }
.nx-search__dates { display: flex; align-items: center; gap: 5px; }
.nx-search__dates input { font-size: 14px; width: 115px; }
.nx-search__btn { border: 0; background: var(--nx-primary); color: #fff; border-radius: 8px; padding: 13px 20px; font-weight: 700; box-shadow: 0 5px 12px rgba(11, 100, 216, .2); margin-inline-start: 15px; white-space: nowrap; }
.nx-search__btn:hover { background: #0850b0; }

.nx-guests__toggle { background: none; border: 0; text-align: start; color: #303a45; padding: 0; white-space: nowrap; }
.nx-guests__toggle i { font-size: 12px; margin-inline-start: 2px; }
.nx-guests__pop { position: absolute; top: 58px; inset-inline-start: 0; width: 230px; background: #fff; border: 1px solid var(--nx-line); border-radius: 12px; box-shadow: var(--nx-shadow); padding: 12px; z-index: 20; }
.nx-guests__row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; }
.nx-guests__row button { border: 1px solid var(--nx-line); background: #fff; border-radius: 50%; width: 28px; height: 28px; line-height: 1; }
.nx-guests__row strong { margin: 0 10px; }

/* ── شريط الإعلان ── */
.nx-strip { padding: 12px 0 28px; }
.nx-strip__pill { background: var(--nx-primary); color: #fff; border-radius: 26px; padding: 10px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; box-shadow: 0 7px 18px rgba(11, 100, 216, .24); font-size: 15px; }
.nx-strip__pill a { background: #fff; color: #183b62; border-radius: 18px; padding: 8px 18px; font-weight: 700; white-space: nowrap; }

/* ── الأقسام ── */
.nx-section { padding: var(--nx-section) 0; }
.nx-section--pt0 { padding-top: 0; }
.nx-section--trips { min-height: 420px; }
.nx-section__title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.nx-section__title h2 { font-size: 24px; margin: 0; }
.nx-section__title a { color: #1976d2; font-size: 15px; }
.nx-center-title { text-align: center; margin-bottom: 28px; }
.nx-center-title h2 { font-size: 30px; margin: 0 0 8px; }
.nx-center-title p { color: #8b96a4; margin: 0; }

/* الوجهات */
.nx-destinations { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.nx-destination { height: 236px; position: relative; display: block; border-radius: 12px; overflow: hidden; box-shadow: 0 3px 12px rgba(22, 44, 66, .12); }
.nx-destination img { width: 100%; height: 100%; object-fit: cover; }
.nx-destination::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); }
.nx-destination__name { position: absolute; bottom: 14px; inset-inline-start: 14px; color: #fff; z-index: 2; font-weight: 800; font-size: 16px; }

/* بطاقات الشواطئ والرحلات */
.nx-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.nx-cards--trips { display: flex; flex-wrap: wrap; justify-content: flex-start; }
.nx-cards--trips .nx-card { width: 215px; }
.nx-cards--trips .nx-card__image { height: 300px; }
.nx-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 3px 13px rgba(29, 55, 79, .1); }
.nx-card__image { display: block; position: relative; height: 320px; overflow: hidden; color: #fff; }
.nx-card__image:hover { color: #fff; }
.nx-card__image img { width: 100%; height: 100%; object-fit: cover; }
.nx-card__badge { position: absolute; bottom: 98px; inset-inline-start: 12px; background: rgba(54, 54, 54, .65); color: #fff; font-size: 12px; padding: 4px 8px; border-radius: 10px; z-index: 3; }
.nx-card__overlay { position: absolute; inset: 45% 0 0; padding: 55px 12px 12px; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); text-align: start; display: flex; flex-direction: column; justify-content: flex-end; }
.nx-card__overlay small { font-size: 12px; }
.nx-card__title { font-size: 15px; font-weight: 700; margin: 5px 0 8px; line-height: 1.7; }
.nx-card__price strong { font-size: 15px; }
.nx-card__price small { font-size: 12px; }

/* بلا صورة — مساحة هادئة لا صورة مستعارة */
/* ــ البطاقة بلا صورة ــ
   كانت تدريجاً لونياً فارغاً، فيبدو الموقع ناقصاً قبل رفع الصور.
   الصورة الافتراضية هنا، والتدريجات صارت طبقة شفافة فوقها تُمزج
   بها — فلكل بطاقة صورة، ويكفي تبديل ملف واحد لتبديلها كلها:
   public/assets/site/img/card-default.jpg */
.nx-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(255, 255, 255, .55); font-size: 2.4rem;
    background: #0e243b url(../img/card-default.jpg) center / cover no-repeat; background-blend-mode: multiply; }
.nx-placeholder--0 { background-color: rgba(11, 100, 216, .42); }
.nx-placeholder--1 { background-color: rgba(19, 179, 154, .42); }
.nx-placeholder--2 { background-color: rgba(224, 97, 58, .42); }
.nx-placeholder--3 { background-color: rgba(91, 124, 245, .42); }
.nx-placeholder--dark { background-color: rgba(14, 36, 59, .45); color: rgba(255, 255, 255, .45); }

.nx-empty { text-align: center; color: var(--nx-muted); }
.nx-empty i { font-size: 2.5rem; color: #b6cddc; margin-bottom: .75rem; }

/* ── لماذا نحن ── */
.nx-why { padding: 60px 0; background: var(--nx-soft); }
.nx-why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.nx-why__grid > div { background: #fff; border: 1px solid var(--nx-line); border-radius: 12px; padding: 22px; text-align: start; box-shadow: 0 4px 12px rgba(31, 53, 74, .05); }
.nx-why__grid i { float: left; background: #eef5ff; color: #4c84e6; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-style: normal; }
[dir="ltr"] .nx-why__grid i { float: right; }
.nx-why__grid h3 { font-size: 16px; margin: 12px 0; }
.nx-why__grid p { font-size: 14px; color: #7c8795; line-height: 1.8; margin: 0; }

/* ── للملاك ── */
.nx-partner { position: relative; min-height: 520px; overflow: hidden; }
.nx-partner__bg { position: absolute; inset: 0; background: center / cover no-repeat; }
.nx-partner__bg--empty { background: linear-gradient(135deg, #0e243b 0%, #134a6e 60%, #0b7cc4 100%); }
.nx-partner__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 31, 48, .15), rgba(8, 27, 45, .45)); }
.nx-partner__layout { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 390px; gap: 90px; align-items: center; min-height: 520px; }
.nx-partner__copy { color: #fff; }
.nx-partner__copy h2 { font-size: 36px; margin: 0 0 15px; }
.nx-partner__copy p { font-size: 16px; line-height: 2; max-width: 470px; margin: 0; }

.nx-partner__card { background: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 16px 40px rgba(0, 0, 0, .25); color: var(--nx-ink); }
.nx-partner__tag { font-size: 13px; color: #8a96a4; }
.nx-partner__card h3 { font-size: 21px; margin: 8px 0; }
.nx-partner__card > p { font-size: 14px; color: #8a96a4; margin: 0; }
.nx-partner__types { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0; }
.nx-partner__types a { border: 1px solid var(--nx-line); background: #fff; border-radius: 9px; padding: 13px; font-weight: 700; text-align: center; }
.nx-partner__types a.is-selected,
.nx-partner__types a:hover { border-color: #2c6ff0; background: #f3f7ff; }
.nx-partner__types small { display: block; font-weight: 400; font-size: 12px; color: #8995a3; margin-top: 4px; }
.nx-partner__row { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #edf0f3; padding: 11px 0; }
.nx-partner__row i { color: #2c6ff0; font-size: 15px; }
.nx-partner__next { display: block; text-align: center; margin-top: 13px; background: var(--nx-primary); color: #fff; border-radius: 7px; padding: 10px; font-weight: 700; box-shadow: 0 5px 12px rgba(11, 100, 216, .2); }
.nx-partner__next:hover { background: #0850b0; color: #fff; }

/* القلب — كالتصميم */
.nx-heart { position: absolute; top: 10px; inset-inline-start: 10px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .8); background: rgba(255, 255, 255, .22); backdrop-filter: blur(5px); color: #fff; font-size: 22px; line-height: 26px; text-align: center; z-index: 3; cursor: pointer; }
.nx-heart.is-active { color: #ff4d6d; border-color: #ff4d6d; background: rgba(255, 255, 255, .85); }
.nx-heart--large.is-active { background: #fff; }

/* ── معالج الإدراج (كارت الرئيسية وصفحة كن شريكًا) ── */
.nx-range { display: block; font-size: 14px; }
.nx-range input { width: 100%; padding: 0; }
.nx-wizard__actions { display: flex; gap: 9px; margin-top: 13px; }
.nx-wizard__actions > * { flex: 1; border-radius: 7px; padding: 10px; border: 0; font-weight: 700; text-align: center; }
.nx-ghost { background: #f4f6f8; color: var(--nx-ink); }
.nx-primary,
.nx-primary:hover { background: var(--nx-primary); color: #fff; box-shadow: 0 5px 12px rgba(11, 100, 216, .2); }
.nx-wizard__step h3 { font-size: 21px; margin: 8px 0; }
.nx-apply__hint { font-size: 14px; color: #8a96a4; }

/* ── الأسئلة الشائعة ── */
.nx-faq { max-width: 850px; }
.nx-faq h2 { font-size: 26px; }
.nx-faq details { background: #fff; border: 1px solid var(--nx-line); padding: 16px 18px; margin: 8px 0; border-radius: 10px; }
.nx-faq summary { font-weight: 700; cursor: pointer; }
.nx-faq p { color: #6e7a89; line-height: 1.8; margin: 8px 0 0; }

/* ── صفحة كن شريكًا ── */
.nx-partner--landing,
.nx-partner--landing .nx-partner__layout { min-height: 620px; }
.nx-partner--landing .nx-partner__layout { padding-block: 40px; }
.nx-partner__copy h1 { font-size: 36px; margin: 0 0 15px; font-weight: 700; }
.nx-partner__types label { border: 1px solid var(--nx-line); background: #fff; border-radius: 9px; padding: 13px; font-weight: 700; text-align: center; cursor: pointer; margin: 0; }
.nx-partner__types label.is-selected { border-color: #2c6ff0; background: #f3f7ff; }
.nx-partner__types input { position: absolute; opacity: 0; pointer-events: none; }

.nx-apply input:not([type="radio"]):not([type="hidden"]),
.nx-apply select,
.nx-apply textarea { width: 100%; border: 1px solid var(--nx-line); border-radius: 8px; padding: 11px; margin: 6px 0; outline: none; background: #fff; font-size: 16px; }
.nx-apply textarea { resize: vertical; }
.nx-apply .is-invalid { border-color: #e35d5d !important; }
.nx-apply input:focus,
.nx-apply select:focus,
.nx-apply textarea:focus { border-color: #2c6ff0; }
.nx-apply__label { display: block; font-size: 14px; margin: 8px 0 0; color: var(--nx-muted); }
.nx-apply__two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nx-apply__section { font-size: 15px; font-weight: 700; margin-top: 12px; }
.nx-apply__counter button { width: 27px; height: 27px; border: 1px solid var(--nx-line); background: #fff; border-radius: 50%; line-height: 1; }
.nx-apply__trap { position: absolute !important; inset-inline-start: -9999px; width: 1px !important; height: 1px; }
.nx-apply__errors { color: #d33; font-size: 14px; margin: 8px 0 0; padding-inline-start: 18px; }
.nx-apply__done { text-align: center; padding: 20px 6px; }
.nx-apply__done i { font-size: 52px; color: #13a37f; }
.nx-apply__done p { font-size: 15px; color: var(--nx-muted); line-height: 1.9; }

.nx-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.nx-features > div { padding: 22px; border: 1px solid var(--nx-line); border-radius: 12px; }
.nx-features h3 { font-size: 16px; }
.nx-features p { font-size: 14px; color: #7d8997; line-height: 1.8; margin: 0; }

@media (max-width: 900px) { .nx-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
    .nx-features { grid-template-columns: 1fr; }
    .nx-partner__copy h1 { font-size: 28px; }
}

/* ── الفوتر ── */
/* ── الفوتر ──
   كان أبيض بخطٍّ ١٠px ورمادي باهت في خمسة أعمدة متزنقة، فالكلام
   لا يكاد يُقرأ. صار شريطاً غامقاً بلون البحر — نفس لون الشريط
   العلوي فيتأطّر الموقع أعلى وأسفل — وبخطٍّ بحجم يُقرأ فعلاً.
   المحتوى والروابط كما هي بحرفها. */
.nx-footer { background: var(--nx-sea); color: #fff; border-top: 0; padding-top: 46px; }
.nx-footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1.5fr; gap: 42px; padding-bottom: 38px; }
.nx-footer h4 { font-size: 16px; font-weight: 700; color: #fff; margin: 0 0 16px; }
.nx-footer__grid p,
.nx-footer__grid a { display: block; color: rgba(255, 255, 255, .76); font-size: 16px; line-height: 2.15; margin: 0; }
.nx-footer__grid a:hover { color: #fff; }
.nx-footer__socials { display: flex; gap: 14px; margin-top: 12px; }
.nx-footer__socials a { display: inline; color: rgba(255, 255, 255, .8); font-size: 18px; }
.nx-newsletter { display: flex; gap: 8px; margin-top: 4px; }
.nx-newsletter input { min-width: 0; flex: 1; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08); color: #fff; padding: 11px; border-radius: 7px; font-size: 16px; }
.nx-newsletter input::placeholder { color: rgba(255, 255, 255, .55); }
.nx-newsletter button { border: 0; background: var(--nx-cyan); color: #06263c; font-weight: 700; padding: 0 18px; border-radius: 7px; font-size: 16px; white-space: nowrap; }
.nx-footer__grid .nx-newsletter__ok { color: #13a37f; margin-top: 6px; }
.nx-footer__grid .nx-newsletter__error { color: #d33; margin-top: 6px; }

/* شريط واحد أسفل: الهوية ثم الحقوق ثم التفضيلات — كانت ثلاثة
   شرائط متراكمة بثلاثة خطوط فاصلة. */
.nx-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .16); padding: 20px 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.nx-footer__prefs { display: flex; gap: 8px; }
.nx-footer__prefs .nx-pref__btn { border: 1px solid rgba(255, 255, 255, .3); background: transparent; padding: 8px 14px; font-size: 15px; color: #fff; border-radius: 7px; }
.nx-brand--footer { color: #fff; }
.nx-brand--footer strong { color: #fff; }
.nx-brand--footer { font-size: 21px; }
.nx-copyright { margin: 0; padding: 0; border: 0; text-align: center; color: rgba(255, 255, 255, .68); font-size: 15px; }

/* ═══════════ الدخول والتسجيل ═══════════ */
/*
 * الصفحة كلها بارتفاع الشاشة (body مرن)، فاللوحة تملأ الفراغ الباقي
 * وحده. طلب ارتفاع 100vh هنا كان يدفع الفوتر تحت حدّ الشاشة.
 */
.nx-auth { flex: 1; min-height: 520px; display: grid; grid-template-columns: 480px 1fr; }
.nx-auth__panel { padding: 55px 70px; }
.nx-auth__brand { margin-bottom: 50px; }
.nx-auth__panel h1 { font-size: 34px; margin: 0 0 8px; }
.nx-auth__panel > p { color: #84909d; }
.nx-auth__panel label { display: block; font-size: 14px; margin-top: 10px; }
.nx-auth__panel input:not([type="checkbox"]) { width: 100%; border: 1px solid var(--nx-line); border-radius: 8px; padding: 11px; margin: 6px 0; outline: none; }
.nx-auth__panel input:focus { border-color: #2c6ff0; }
.nx-auth__panel .is-invalid { border-color: #e35d5d; }
.nx-auth__remember { display: flex; justify-content: space-between; font-size: 13px; margin: 12px 0; }
.nx-auth__remember label { display: flex; align-items: center; gap: 5px; margin: 0; }
.nx-auth__remember input { width: auto; }
.nx-auth__switch { text-align: center; font-size: 13px; margin-top: 14px; }
.nx-auth__switch a { color: #2878d6; }
.nx-auth__visual { background: url('../img/hero-default.jpg') center / cover; }
.nx-auth__visual--register { background-image: url('../img/partner-default.jpg'); }
.nx-auth .nx-check { margin-top: 12px; }

/* ═══════════ حجوزات الضيف ═══════════ */
.nx-bookings { display: grid; gap: 10px; }
.nx-booking-row { display: grid; grid-template-columns: 2fr 1.4fr 1fr auto; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--nx-line); border-radius: 11px; padding: 14px; font-size: 15px; }
.nx-booking-row:hover { box-shadow: var(--nx-shadow-sm, 0 3px 13px rgba(29, 55, 79, .08)); }
.nx-booking-row strong { display: block; }
.nx-booking-row small { color: var(--nx-muted); font-size: 13px; }

.nx-status { border-radius: 12px; padding: 5px 10px; font-size: 13px; font-weight: 700; white-space: nowrap; background: #eef2f6; color: #52606d; }
.nx-status--awaiting_approval, .nx-status--pending { background: #fff4e0; color: #a8690a; }
.nx-status--awaiting_payment { background: #e9f1ff; color: #1f5fc4; }
.nx-status--confirmed, .nx-status--checked_in, .nx-status--completed { background: #e4f7ef; color: #0f7a54; }
.nx-status--cancelled, .nx-status--expired { background: #fdeaea; color: #b53434; }

.nx-booking-card { background: #fff; border: 1px solid var(--nx-line); border-radius: 12px; padding: 20px; box-shadow: var(--nx-shadow); }
.nx-booking-card__head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid var(--nx-line); padding-bottom: 12px; }
.nx-booking-card__head small { display: block; color: var(--nx-muted); font-size: 14px; }
.nx-booking-card__ref { font-size: 14px; color: var(--nx-muted); }
.nx-booking-card__next { border-top: 1px solid var(--nx-line); margin-top: 12px; padding-top: 12px; }
.nx-booking-card__next p { margin: 0 0 4px; font-weight: 600; font-size: 16px; }
.nx-booking-card__next small { color: var(--nx-muted); font-size: 14px; }
.nx-booking-card__back { margin-top: 16px; font-size: 15px; }
.nx-booking-card__back a { color: var(--nx-primary); }
.nx-booking__confirm { margin-top: 10px; }
.nx-booking__login { display: block; text-align: center; margin-top: 10px; padding: 11px; border-radius: 8px; }
.nx-alert { border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; font-size: 15px; font-weight: 600; }
.nx-alert--ok { background: #e4f7ef; color: #0f7a54; }
.nx-alert--warn { background: #fff4e0; color: #a8690a; }

/* ── التذاكر الصادرة ── */
.nx-issued { background: #fff; border: 1px solid var(--nx-line); border-radius: 12px; padding: 18px; margin-top: 16px; }
.nx-issued h3 { font-size: 17px; margin: 0 0 8px; }
.nx-issued__list { list-style: none; padding: 0; margin: 0; }
.nx-issued__list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--nx-line); padding: 10px 0; font-size: 15px; }
.nx-issued__list li:first-child { border-top: 0; }
.nx-issued__list small { display: block; color: var(--nx-muted); font-size: 13px; }
.nx-issued__number { background: var(--nx-soft); border-radius: 6px; padding: 5px 9px; font-size: 15px; }
.nx-issued__note { font-size: 14px; color: var(--nx-muted); margin: 10px 0 0; }

/* ── الدفع بالتحويل ── */
.nx-transfer { background: #fff; border: 1px solid var(--nx-line); border-radius: 12px; padding: 18px; margin-top: 16px; }
.nx-transfer h3 { font-size: 17px; margin: 0 0 8px; }
.nx-transfer__amount { font-size: 15px; margin: 0 0 12px; }
.nx-transfer__amount strong { font-size: 19px; }
.nx-transfer__details { list-style: none; padding: 0; margin: 0 0 14px; font-size: 15px; }
.nx-transfer__details li { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--nx-line); padding: 9px 0; }
.nx-transfer__details li:first-child { border-top: 0; }
.nx-transfer__details span { color: var(--nx-muted); }
.nx-transfer__details code { background: var(--nx-soft); border-radius: 6px; padding: 4px 8px; color: var(--nx-ink); font-size: 15px; }
.nx-transfer__methods { display: flex; gap: 14px; font-size: 15px; margin-bottom: 8px; }
.nx-transfer__methods label { display: flex; align-items: center; gap: 5px; }
.nx-transfer__form label { display: block; font-size: 14px; color: var(--nx-muted); margin-top: 8px; }
.nx-transfer__form input[type="text"],
.nx-transfer__form input[name="reference"],
.nx-transfer__form input[type="file"] { width: 100%; border: 1px solid var(--nx-line); border-radius: 8px; padding: 10px; margin: 6px 0; font-size: 15px; }
.nx-transfer__note { font-size: 14px; color: var(--nx-muted); margin: 10px 0 0; }
.nx-transfer__missing { font-size: 15px; color: #a8690a; margin: 0; }

.nx-cancel { background: #fff; border: 1px solid var(--nx-line); border-radius: 12px; padding: 18px; margin-top: 16px; }
.nx-cancel h3 { font-size: 17px; margin: 0 0 8px; }
.nx-cancel__note { font-size: 14px; color: var(--nx-muted); margin: 8px 0 0; }
.nx-cancel input { width: 100%; border: 1px solid var(--nx-line); border-radius: 8px; padding: 10px; margin: 10px 0; font-size: 15px; }
.nx-cancel__button { width: 100%; border: 0; border-radius: 8px; padding: 11px; font-weight: 700; background: #fdeaea; color: #b53434; }
.nx-cancel__button:hover { background: #f8d7d7; }

@media (max-width: 900px) {
    .nx-auth { grid-template-columns: 1fr; }
    .nx-auth__visual { display: none; }
    .nx-booking-row { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 600px) {
    .nx-auth__panel { padding: 35px 22px; }
}

/* ═══════════ صفحة القائمة (الوحدات) ═══════════ */
.nx-page-top { background: #fff; border-bottom: 1px solid var(--nx-line); padding: 20px 0; }
.nx-listing-search { display: grid; grid-template-columns: 1.4fr 1fr 1fr 110px; gap: 8px; }
.nx-listing-search input { border: 1px solid var(--nx-line); border-radius: 8px; padding: 10px; min-width: 0; }
.nx-listing-search .nx-primary { flex: none; }

.nx-listing-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; padding: 30px 0 60px; }
.nx-filters { border-inline-end: 1px solid var(--nx-line); padding-inline-end: 22px; }
.nx-filters__head { display: flex; align-items: center; justify-content: space-between; }
.nx-filters__head h3 { font-size: 20px; margin: 0; }
.nx-filters__head a { color: #2b75d6; font-size: 13px; }
.nx-filters > form > label { display: block; font-size: 14px; }
.nx-filters input:not([type="checkbox"]):not([type="radio"]),
.nx-filters select { width: 100%; border: 1px solid var(--nx-line); border-radius: 8px; padding: 11px; margin: 6px 0; outline: none; }
.nx-filters__block { padding: 18px 0; border-top: 1px solid var(--nx-line); }
.nx-filters__block h4 { margin: 0 0 12px; font-size: 15px; }
.nx-filters__two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nx-check { display: flex; align-items: center; gap: 6px; font-size: 14px; margin: 6px 0; }
.nx-check input { width: auto; margin: 0; }
.nx-filters__apply { width: 100%; margin-top: 10px; }

.nx-results__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 12px; }
.nx-results__head > div { display: flex; align-items: center; gap: 15px; }
.nx-results__head h1 { font-size: 21px; margin: 0; }
.nx-results__head select { border: 1px solid var(--nx-line); border-radius: 8px; padding: 8px 10px; }
.nx-map-link { color: #2678dd; font-size: 14px; }

.nx-units-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.nx-unit-card { background: #fff; border: 1px solid var(--nx-line); border-radius: 11px; overflow: hidden; box-shadow: 0 3px 13px rgba(33, 55, 77, .06); }
.nx-unit-card__image { height: 190px; display: block; position: relative; }
.nx-unit-card__image img { width: 100%; height: 100%; object-fit: cover; }
.nx-unit-card__body { padding: 13px; }
.nx-unit-card__location { color: #1b83d5; font-size: 13px; margin: 0 0 5px; }
.nx-unit-card__body h3 { font-size: 15px; line-height: 1.6; margin: 0 0 6px; }
.nx-unit-card__compound { font-size: 13px; color: #7d8995; margin: 0; }
.nx-unit-card__meta { display: flex; gap: 10px; color: #6d7885; font-size: 12px; border-top: 1px solid #f0f2f5; padding-top: 9px; margin-top: 9px; }
.nx-unit-card__price { font-size: 13px; margin-top: 10px; }
.nx-unit-card__price strong { font-size: 16px; }

.nx-pagination { margin-top: 26px; }
.nx-pagination .pagination { justify-content: center; margin: 0; }
.nx-results .nx-empty { padding: 40px 0; }
.nx-results .nx-empty .nx-primary { display: inline-block; padding: 10px 18px; border-radius: 7px; margin-top: 12px; }

/* شارة الفعالية — برتقالية أعلى الكارت كما في التصميم */
.nx-orange-badge { position: absolute; top: 10px; inset-inline-start: 10px; background: #ff6a2c; color: #fff; font-size: 12px; padding: 4px 8px; border-radius: 10px; z-index: 3; }

/* ═══════════ الوجهات ═══════════ */
.nx-page-banner { background: #f3f7fb; padding: 55px 0; }
.nx-page-banner h1 { font-size: 38px; margin: 0; }
.nx-page-banner p { color: #718090; margin: 6px 0 0; }
.nx-destinations-full { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.nx-destination-wide { display: grid; grid-template-columns: 200px 1fr; background: #fff; border: 1px solid var(--nx-line); border-radius: 12px; overflow: hidden; }
.nx-destination-wide img,
.nx-destination-wide .nx-placeholder { width: 200px; height: 135px; object-fit: cover; }
.nx-destination-wide > div { padding: 24px; }
.nx-destination-wide h3 { margin: 0 0 8px; font-size: 18px; }
.nx-destination-wide p { margin: 0; color: var(--nx-muted); font-size: 15px; }

/* ═══════════ الخريطة ═══════════ */
.nx-map-split { display: grid; grid-template-columns: 45% 55%; height: calc(100vh - 120px); }
.nx-map-results { padding: 22px; overflow: auto; }
.nx-map-results h1 { font-size: 21px; margin: 0 0 14px; }
.nx-map-results__empty { color: var(--nx-muted); font-size: 15px; }
.nx-compact-list { display: grid; gap: 9px; }
.nx-compact-card { display: grid; grid-template-columns: 115px 1fr; border: 1px solid var(--nx-line); border-radius: 10px; overflow: hidden; background: #fff; }
.nx-compact-card:hover { border-color: var(--nx-primary); }
.nx-compact-card img,
.nx-compact-card > .nx-placeholder { width: 115px; height: 100px; object-fit: cover; }
.nx-compact-card > div { padding: 10px; }
.nx-compact-card h3 { font-size: 13px; margin: 0; line-height: 1.6; }
.nx-compact-card p { font-size: 12px; color: #7a8794; margin: 2px 0; }
.nx-compact-card strong { font-size: 14px; }

.nx-fake-map { position: relative; background: linear-gradient(135deg, #dfeaec, #eef4f4); overflow: hidden; }
.nx-fake-map::before,
.nx-fake-map::after { content: ''; position: absolute; background: #b9d2d7; opacity: .65; }
.nx-fake-map::before { width: 150%; height: 20px; top: 45%; left: -20%; transform: rotate(10deg); }
.nx-fake-map::after { width: 30px; height: 150%; left: 50%; top: -20%; transform: rotate(-8deg); }
.nx-fake-map > span { position: absolute; top: 15px; inset-inline-start: 15px; z-index: 2; color: #5b7580; font-weight: 700; }
.nx-fake-map i { position: absolute; width: 16px; height: 16px; border-radius: 50% 50% 50% 0; background: #0a70d8; transform: rotate(-45deg); z-index: 3; }
.nx-fake-map i b { transform: rotate(45deg); display: block; position: absolute; inset-inline-end: 18px; top: -2px; background: #fff; border-radius: 6px; padding: 3px 5px; color: #0a70d8; font-size: 11px; }
.nx-fullmap { height: 100%; }
.nx-fullmap i { width: 22px; height: 22px; }

@media (max-width: 900px) {
    .nx-map-split { grid-template-columns: 1fr; height: auto; }
    .nx-fullmap { height: 420px; }
}

/* ═══════════ صفحات المحتوى ═══════════ */
.nx-content-layout { display: grid; grid-template-columns: 1fr 240px; gap: 32px; align-items: start; }
.nx-content { max-width: 760px; }
.nx-content h2 { font-size: 20px; margin: 26px 0 8px; }
.nx-content h2:first-child { margin-top: 0; }
.nx-content p { color: #6f7b88; line-height: 2; margin: 0; }
.nx-content__updated { font-size: 13px; color: #98a2ad; margin-top: 30px !important; }
.nx-content__links { border: 1px solid var(--nx-line); border-radius: 12px; padding: 18px; }
.nx-content__links h3 { font-size: 16px; margin: 0 0 10px; }
.nx-content__links a { display: block; color: var(--nx-muted); font-size: 15px; padding: 5px 0; }
.nx-content__links a:hover { color: var(--nx-primary); }

@media (max-width: 900px) {
    .nx-content-layout { grid-template-columns: 1fr; }
}

/* ═══════════ التذاكر ═══════════ */
.nx-tickets h3 { font-size: 17px; margin: 0 0 10px; }
.nx-tickets__list { list-style: none; padding: 0; margin: 0; }
.nx-tickets__list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--nx-line); padding: 10px 0; font-size: 15px; }
.nx-tickets__list li:first-child { border-top: 0; }
.nx-tickets__list small { display: block; color: var(--nx-muted); font-size: 13px; }
.nx-tickets__price { font-weight: 700; white-space: nowrap; }
.nx-tickets__note { font-size: 13px; color: var(--nx-muted); margin: 10px 0 0; }
.nx-tickets__empty { font-size: 15px; color: var(--nx-muted); margin: 0; }
.nx-tickets__list li > div:first-child { min-width: 0; }
.nx-tickets__meta { color: #8a96a4; }
.nx-tickets__side { display: flex; align-items: center; gap: 8px; }
.nx-tickets__qty { width: 58px; border: 1px solid var(--nx-line); border-radius: 8px; padding: 6px; font-size: 14px; }
.nx-booking__submit[disabled] { opacity: .55; cursor: not-allowed; }
.nx-tickets select[disabled],
.nx-tickets input[disabled] { background: #f7f9fb; color: #8a96a4; }

@media (max-width: 600px) {
    .nx-destinations-full { grid-template-columns: 1fr; }
    .nx-destination-wide { grid-template-columns: 120px 1fr; }
    .nx-destination-wide img,
    .nx-destination-wide .nx-placeholder { width: 120px; height: 120px; }
    .nx-destination-wide > div { padding: 14px; }
    .nx-page-banner { padding: 35px 0; }
    .nx-page-banner h1 { font-size: 32px; }
}

/* ═══════════ صفحة التفاصيل ═══════════ */
.nx-breadcrumbs { padding: 20px 0; color: #7a8694; font-size: 13px; }
.nx-detail__hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; }
.nx-gallery__main { width: 100%; height: 470px; object-fit: cover; border-radius: 14px; display: block; }
.nx-gallery__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.nx-gallery__thumbs img { width: 100%; height: 90px; object-fit: cover; border-radius: 8px; }
.nx-detail__summary { padding: 20px; }
.nx-detail__topline { display: flex; justify-content: space-between; }
.nx-tag { background: #edf7ff; color: #2b76ca; border-radius: 12px; padding: 5px 10px; font-size: 13px; }
.nx-heart--large { position: static; background: #fff; color: #444; border-color: var(--nx-line); }
.nx-detail__summary h1 { font-size: 32px; line-height: 1.5; margin: 12px 0 6px; }
.nx-detail__location { color: #1b83d5; font-size: 15px; }
.nx-detail__summary > p { color: #6f7b88; line-height: 2; }
.nx-rating { color: #ffb300; }
.nx-rating strong { color: var(--nx-ink); }
.nx-rating small { color: var(--nx-muted); }
.nx-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 22px; }
.nx-facts span { background: var(--nx-soft); border-radius: 8px; padding: 12px; font-size: 14px; }

.nx-detail__content { display: grid; grid-template-columns: 1fr 330px; gap: 32px; padding: 35px 0 70px; }
.nx-detail__main h2 { font-size: 22px; margin-top: 28px; }
.nx-detail__main p { color: #6f7b88; line-height: 2; }
.nx-amenities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.nx-amenities span { border: 1px solid var(--nx-line); padding: 12px; border-radius: 8px; font-size: 14px; }

/* ── التقييمات ──
   ملف التصميم لا يحوي قسم تقييمات في أي صفحة تفاصيل — فيه سطر
   النجوم في الملخّص فقط. فبُني القسم بلغة الصفحة نفسها: نفس
   الإطار والاستدارة، ونجوم بلون التصميم (#ffb300). */
.nx-reviews { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.nx-review { background: #fff; border: 1px solid var(--nx-line); border-radius: 12px; padding: 14px; }
.nx-review__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.nx-review__head strong { font-size: 16px; }
.nx-review__stars { color: #ffb300; white-space: nowrap; }
.nx-review__date { display: block; color: var(--nx-muted); font-size: 13px; margin-top: 2px; }
.nx-review__body { margin: 8px 0 0; color: #6f7b88; font-size: 15px; line-height: 2; }
/* ردّ المالك — الحدّ على جهة البداية ليستقيم في العربية والإنجليزية */
.nx-review__reply { margin-top: 10px; padding-inline-start: 12px; border-inline-start: 2px solid var(--nx-line); }
.nx-review__reply strong { font-size: 14px; }
.nx-review__reply p { margin: 4px 0 0; color: #6f7b88; font-size: 15px; line-height: 1.9; }

/* نموذج التقييم — في صفحة الحجز بعد اكتمال الإقامة */
.nx-review-form { background: #fff; border: 1px solid var(--nx-line); border-radius: 12px; padding: 18px; margin-top: 16px; }
.nx-review-form h3 { font-size: 17px; margin: 0 0 10px; }
.nx-review-form label { display: block; font-size: 14px; margin-bottom: 10px; }
.nx-review-form select,
.nx-review-form textarea { width: 100%; border: 1px solid var(--nx-line); border-radius: 8px; padding: 8px; font-size: 15px; margin-top: 4px; }
.nx-review-form textarea { min-height: 90px; resize: vertical; }
.nx-review-form__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.nx-review-form__note { font-size: 13px; color: var(--nx-muted); margin: 8px 0 0; }

@media (max-width: 600px) {
    .nx-review-form__grid { grid-template-columns: 1fr; }
}

.nx-map { position: relative; background: linear-gradient(135deg, #dfeaec, #eef4f4); overflow: hidden; height: 300px; border-radius: 12px; }
.nx-map::before, .nx-map::after { content: ''; position: absolute; background: #b9d2d7; opacity: .65; }
.nx-map::before { width: 150%; height: 20px; top: 45%; left: -20%; transform: rotate(10deg); }
.nx-map::after { width: 30px; height: 150%; left: 50%; top: -20%; transform: rotate(-8deg); }
.nx-map > span { position: absolute; top: 15px; inset-inline-start: 15px; z-index: 2; color: #5b7580; font-weight: 700; }
.nx-map i { position: absolute; width: 16px; height: 16px; border-radius: 50% 50% 50% 0; background: #0a70d8; transform: rotate(-45deg); z-index: 3; }
.nx-map__link { position: absolute; bottom: 15px; inset-inline-start: 15px; z-index: 3; background: #fff; border-radius: 8px; padding: 8px 14px; font-size: 14px; font-weight: 700; color: var(--nx-primary); box-shadow: var(--nx-shadow); }

.nx-booking { position: sticky; top: 90px; height: max-content; border: 1px solid var(--nx-line); border-radius: 12px; padding: 18px; box-shadow: var(--nx-shadow); background: #fff; }
.nx-booking label { display: block; font-size: 13px; color: var(--nx-muted); }
.nx-booking input, .nx-booking select { width: 100%; border: 1px solid var(--nx-line); border-radius: 8px; padding: 11px; margin: 6px 0; outline: none; }
.nx-booking__price { font-size: 14px; margin-bottom: 12px; }
.nx-booking__price strong { font-size: 21px; }
.nx-booking__submit { width: 100%; margin-top: 8px; }
.nx-booking small { display: block; text-align: center; color: #8a96a3; margin-top: 8px; font-size: 13px; }
.nx-booking__error { color: #d33; font-size: 14px; margin: 12px 0 0; text-align: center; }
.nx-booking__breakdown { list-style: none; padding: 12px 0 0; margin: 0; font-size: 14px; }
.nx-booking__breakdown li { display: flex; justify-content: space-between; padding: 6px 0; color: var(--nx-muted); }
.nx-booking__total { border-top: 1px solid var(--nx-line); margin-top: 6px; padding-top: 10px !important; color: var(--nx-ink) !important; font-weight: 700; font-size: 16px; }
.nx-booking__deposit { font-size: 13px; }

@media (max-width: 900px) {
    .nx-listing-layout { grid-template-columns: 1fr; }
    .nx-filters { border: 0; padding: 0; }
    .nx-units-grid { grid-template-columns: repeat(2, 1fr); }
    .nx-detail__hero, .nx-detail__content { grid-template-columns: 1fr; }
    .nx-booking { position: static; }
}

@media (max-width: 600px) {
    .nx-listing-search { grid-template-columns: 1fr 1fr; }
    .nx-listing-search input:first-child { grid-column: 1 / -1; }
    .nx-units-grid { grid-template-columns: 1fr; }
    .nx-results__head { align-items: flex-start; flex-direction: column; }
    .nx-results__head > div { display: block; }
    .nx-gallery__main { height: 330px; }
    .nx-gallery__thumbs img { height: 70px; }
    .nx-detail__summary { padding: 5px; }
    .nx-detail__summary h1 { font-size: 24px; }
    .nx-detail__content { padding-top: 10px; }
    .nx-amenities { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════ الشاشات الصغيرة — نقاط كسر التصميم ═══════════ */
@media (max-width: 900px) {
    .nx-menu-btn { display: block; }
    .nx-nav:not(.show) { display: none !important; }
    .nx-nav {
        position: absolute;
        top: 100%;
        inset-inline: 16px;
        flex-direction: column;
        gap: 0;
        background: #fff;
        color: var(--nx-ink);
        border-radius: 12px;
        box-shadow: var(--nx-shadow);
        padding: 8px 16px;
        font-size: 16px;
    }
    .nx-header--over .nx-nav > a { color: var(--nx-ink); }
    .nx-nav a { padding: 10px 0; border-bottom: 1px solid #f0f2f5; }
    .nx-nav__mobile { display: flex; flex-direction: column; }
    .nx-nav__mobile a:last-child { border-bottom: 0; }
    .nx-nav__mobile a.is-active { color: var(--nx-primary); font-weight: 700; }
    .nx-header__inner { position: relative; }

    .nx-destinations,
    .nx-cards { grid-template-columns: repeat(2, 1fr); }
    .nx-partner__layout { grid-template-columns: 1fr; gap: 25px; padding: 50px 0; }
    .nx-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    .nx-shell { width: min(100% - 22px, 1040px); }
    .nx-topbar { display: none; }
    .nx-header,
    .nx-header--over { top: 0; height: 58px; }
    .nx-hero { height: auto; min-height: 610px; padding-bottom: 30px; }
    .nx-hero__content { padding-top: 135px; }
    .nx-hero h1 { font-size: 38px; margin-bottom: 55px; }
    .nx-hero__tabs { justify-content: center; }
    .nx-search { grid-template-columns: 1fr; gap: 5px; padding: 12px; }
    .nx-search__field { border: 0; border-bottom: 1px solid #edf0f3; padding: 10px; }
    .nx-search__dates input { width: auto; flex: 1 1 0; }
    .nx-search__btn { margin: 6px 0 0; }
    .nx-guests__pop { width: 100%; }
    .nx-strip__pill { font-size: 12px; }
    .nx-destinations { display: flex; overflow: auto; }
    .nx-destination { min-width: 190px; }
    .nx-cards { display: flex; overflow: auto; }
    .nx-card { min-width: 220px; }
    .nx-cards--trips { flex-wrap: nowrap; justify-content: center; }
    .nx-why__grid { grid-template-columns: 1fr; }
    .nx-partner__layout { padding: 30px 0; }
    .nx-partner__copy h2 { font-size: 28px; }
    .nx-partner__card { padding: 14px; }
    .nx-footer__grid { grid-template-columns: 1fr 1fr; }
    .nx-footer__grid > div:first-child,
    .nx-footer__grid > div:last-child { grid-column: 1 / -1; }
}
