/* ==========================================================================
   يسر جولدن ترافل — Design System
   Palette: "أفق ذهبي" — بترول منتصف الليل × ذهب مشع × مرجان حي × فيروز البحر
   Internal pages language: "المرصد الذهبي / Golden Meridian"
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&family=Newsreader:ital,wght@0,300;0,400;1,300;1,400;1,500&family=Tajawal:wght@400;500;700;800&display=swap');

:root {
  /* Ink — deep petrol (not flat black) */
  --ink:        #071a1f;
  --ink-2:      #2c4148;
  --ink-3:      #5e737a;
  --ink-4:      #84959b;

  /* Surfaces */
  --bg:         #f7fafa;
  --bg-soft:    #eef4f5;
  --bg-warm:    #fff6e8;
  --line:       #dce6e8;
  --line-2:     #c5d2d5;
  --line-3:     #9aadb3;

  /* Urgency — hot coral (خطف نظر) */
  --red:        #ff2e63;
  --red-dark:   #d4164a;
  --red-light:  #ff6b93;
  --red-soft:   #ffe0e9;

  /* Luxe — molten gold */
  --gold:       #f0b429;
  --gold-deep:  #c4890a;
  --sand:       #fff1c9;
  --sand-warm:  #ffe8a3;
  --cocoa:      #071a1f;
  --cocoa-2:    #143038;

  /* Spark — Red Sea teal (بدل البنفسجي المكرر) */
  --purple:     #00c8b8;
  --purple-soft:#d8faf6;
  --green:      #00a88a;
  --green-soft: #c8f5ea;
  --orange:     #ff8a1f;
  --blue:       #1a9fff;

  /* Type */
  --sans: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --display: 'Tajawal', 'IBM Plex Sans Arabic', 'Segoe UI', sans-serif;
  --serif: 'Newsreader', 'IBM Plex Sans Arabic', Georgia, serif;

  /* Internal pages — paper & petrol surfaces */
  --paper:      #faf8f4;
  --paper-2:    #f4f1ea;
  --paper-line: #e6e0d4;
  --petrol:     #04141a;
  --petrol-2:   #0b262d;
  --petrol-3:   #103440;
  --gold-line:  rgba(240, 180, 41, .34);
  --gold-faint: rgba(240, 180, 41, .12);

  /* Metrics */
  --container: 1290px;
  --gutter: 24px;
  --radius: 4px;
  --radius-lg: 8px;
  --radius-md: 14px;
  --radius-xl: 20px;
  --radius-pill: 999px;

  --shadow-card: 0 1px 3px rgba(7, 26, 31, .07), 0 1px 2px rgba(7, 26, 31, .04);
  --shadow-pop:  0 12px 32px rgba(7, 26, 31, .14);
  --shadow-nav:  0 1px 0 rgba(7, 26, 31, .08);
  --shadow-glow: 0 0 0 1px rgba(240, 180, 41, .35), 0 8px 28px rgba(240, 180, 41, .18);
  --shadow-plate: 0 1px 2px rgba(7, 26, 31, .05), 0 12px 28px -18px rgba(7, 26, 31, .22);
  --shadow-lift:  0 2px 4px rgba(7, 26, 31, .06), 0 26px 50px -22px rgba(7, 26, 31, .34);
  --shadow-dark:  0 26px 60px -26px rgba(4, 20, 26, .6);

  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, .84, .32, 1);
}

html[lang="en"] { --display: 'Newsreader', 'Tajawal', Georgia, serif; }

/* ============================ Reset ============================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
  background:
    radial-gradient(1100px 520px at 100% -8%, rgba(0, 200, 184, .11), transparent 55%),
    radial-gradient(900px 480px at -5% 0%, rgba(240, 180, 41, .10), transparent 50%),
    radial-gradient(700px 400px at 50% 120%, rgba(255, 46, 99, .05), transparent 55%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Skip link — keyboard / screen-reader entry */
.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  inset-block-start: 12px;
  z-index: 10050;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
#main:focus { outline: none; }

/* ============================ Type ============================ */
h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.015em;
}
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 { line-height: 1.35; letter-spacing: 0; }

/* Accent word inside a heading: italic serif in EN, gold display weight in AR */
em, .em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--gold-deep);
}
html[lang="ar"] em, html[lang="ar"] .em {
  font-family: var(--display);
  font-style: normal;
  font-weight: 500;
  color: var(--gold-deep);
}
.section-title em { color: var(--gold-deep); }

.section-title {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 4px;
}
.section-sub { color: var(--ink-3); font-size: 15px; }

/* Small-caps kicker with a gold meridian hairline — the internal-page signature */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.kicker::before {
  content: '';
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: .75;
  transform-origin: inline-start;
}
.kicker--light { color: var(--gold); }
html[lang="ar"] .kicker { letter-spacing: .14em; font-size: 12px; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

/* ============================ Layout ============================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: 48px; }
.section--tight { padding-block: 32px; }
.section--soft { background: var(--bg-soft); }
.section--warm { background: var(--bg-warm); }

/* ============================ Buttons ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding-inline: 22px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover {
  background: #0f333c;
  box-shadow: 0 6px 20px rgba(0, 200, 184, .25);
}

.btn--red { background: var(--red); color: #fff; }
.btn--red:hover {
  background: var(--red-dark);
  box-shadow: 0 6px 20px rgba(255, 46, 99, .35);
}

.btn--ghost { border: 1px solid var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }

.btn--line { border: 1px solid var(--line-2); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); }

.btn--gold {
  background: linear-gradient(135deg, #f0b429 0%, #ff8a1f 100%);
  color: #071a1f;
  font-weight: 700;
}
.btn--gold:hover {
  background: linear-gradient(135deg, #ffc44a 0%, #ff9a3d 100%);
  box-shadow: var(--shadow-glow);
}

.btn--sm { height: 36px; padding-inline: 16px; font-size: 14px; }
.btn--block { width: 100%; }

.link-all {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.link-all:hover { color: var(--red); }

/* ============================ Header ============================ */
.utility-bar {
  background: linear-gradient(90deg, #071a1f 0%, #0f333c 50%, #071a1f 100%);
  color: #fff;
  font-size: 13px;
}
.utility-bar .container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  height: 36px;
}
.utility-bar a { display: inline-flex; align-items: center; gap: 6px; }
.utility-bar a:hover { text-decoration: underline; }
.utility-bar .u-sep { color: rgba(255,255,255,.35); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 250, 250, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-nav);
}

.header-main {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
  flex-shrink: 0;
}
.brand__mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: block;
}
.brand__text { display: flex; flex-direction: column; }
.brand__ar {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.02em;
}
.brand__en {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .28em;
  color: var(--gold-deep);
  margin-top: 4px;
}

.locale-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding-inline: 10px 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.locale-btn:hover { border-color: var(--ink-3); background: var(--bg-soft); }
.locale-btn__flag {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(15,12,8,.12);
}
.locale-btn__code { font-variant-numeric: tabular-nums; }
.locale-btn__chev { opacity: .55; }

.flag {
  width: 22px; height: 15px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(15,12,8,.1);
}

.search-pill {
  flex: 1;
  max-width: 560px;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding-inline: 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-pill);
  color: var(--ink-3);
  font-size: 14px;
  transition: box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.search-pill:hover { border-color: var(--ink-3); box-shadow: var(--shadow-card); }

.header-actions { display: flex; align-items: center; gap: 14px; margin-inline-start: auto; }
.header-actions > * { flex-shrink: 0; }

/* ============================ Locale modal ============================ */
.locale-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(4, 20, 26, .52);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s var(--ease), visibility .22s var(--ease);
}
.locale-overlay.is-open { opacity: 1; visibility: visible; }

.locale-modal {
  width: min(560px, 100%);
  max-height: min(780px, 90vh);
  background: var(--paper);
  border: 1px solid rgba(240, 180, 41, .18);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lift), 0 0 0 1px rgba(7, 26, 31, .04);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(14px) scale(.985);
  transition: transform .24s var(--ease-out);
}
.locale-overlay.is-open .locale-modal { transform: translateY(0) scale(1); }

.locale-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 14px;
  border-bottom: 1px solid var(--paper-line);
}
.locale-modal__head h2 {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--petrol);
  margin: 0;
  line-height: 1.3;
}

.locale-close {
  width: 44px;
  height: 44px;
  margin-inline-start: auto;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink-2);
  transition: background .15s var(--ease), color .15s var(--ease);
}
.locale-close:hover {
  background: var(--bg-soft);
  color: var(--ink);
}
.locale-close:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.locale-tabs {
  margin: 16px 24px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 3px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.locale-tab {
  min-height: 44px;
  height: auto;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
  text-align: center;
  line-height: 1.25;
  transition: background .15s var(--ease), color .15s var(--ease), box-shadow .15s var(--ease);
}
.locale-tab:hover { color: var(--ink-2); }
.locale-tab.is-active {
  background: #fff;
  color: var(--petrol);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(7, 26, 31, .06), inset 0 -2px 0 0 var(--gold);
}
.locale-tab:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.locale-modal__body {
  padding: 20px 24px 28px;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

.locale-section + .locale-section { margin-top: 28px; }
.locale-section h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  margin: 0 0 12px;
  line-height: 1.4;
}

.locale-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

.locale-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  text-align: start;
  font-size: 14px;
  color: var(--ink-2);
  background: transparent;
  transition: background .15s var(--ease), border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.locale-option:hover {
  background: rgba(7, 26, 31, .035);
  border-color: var(--line);
}
.locale-option.is-active {
  background: linear-gradient(135deg, var(--gold-faint), rgba(216, 250, 246, .35));
  color: var(--petrol);
  font-weight: 600;
  border-color: var(--gold-line);
  box-shadow: inset 0 0 0 1px rgba(240, 180, 41, .2);
}
.locale-option:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
.locale-option__flag {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(7, 26, 31, .1);
}
.locale-option__label { line-height: 1.35; }

/* Language list — full modal width (EN + AR) */
.lang-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: none;
}
.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  text-align: start;
  transition: border-color .15s var(--ease), background .15s var(--ease), box-shadow .15s var(--ease);
}
.lang-option:hover {
  border-color: var(--line-2);
  background: var(--bg-soft);
}
.lang-option.is-active {
  border-color: var(--gold-line);
  background: linear-gradient(135deg, var(--gold-faint) 0%, rgba(238, 244, 245, .9) 100%);
  box-shadow: inset 0 0 0 1px rgba(240, 180, 41, .28);
}
.lang-option:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
.lang-option > span:first-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.lang-option strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--petrol);
  line-height: 1.3;
}
.lang-option > span:first-child > span {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-3);
  line-height: 1.3;
}
.lang-check {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: transparent;
  transition: background .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}
.lang-option.is-active .lang-check {
  background: linear-gradient(145deg, var(--gold) 0%, var(--gold-deep) 100%);
  border-color: var(--gold-deep);
  color: var(--petrol);
  box-shadow: 0 1px 3px rgba(196, 137, 10, .35);
}

@media (max-width: 640px) {
  .locale-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .locale-modal {
    width: 100%;
    max-width: none;
    max-height: min(92vh, 100%);
    border-radius: 16px 16px 0 0;
    border-inline: none;
    border-bottom: none;
    transform: translateY(24px);
  }
  .locale-overlay.is-open .locale-modal { transform: translateY(0); }
  .locale-modal__head {
    padding: 18px 16px 12px;
    padding-top: max(18px, env(safe-area-inset-top));
  }
  .locale-tabs { margin: 12px 16px 0; }
  .locale-modal__body {
    padding: 16px 16px max(28px, env(safe-area-inset-bottom));
  }
  .locale-grid { grid-template-columns: 1fr; gap: 6px; }
  .locale-option { min-height: 48px; }
  .lang-option { min-height: 52px; padding: 14px 14px; }
  .brand__en { display: none; }
  .brand__mark { width: 40px; height: 40px; }
}

.header-link { font-size: 14px; font-weight: 500; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.header-link:hover { text-decoration: underline; }

/* Primary category nav */
.header-nav { border-top: 1px solid var(--line); }
.header-nav .container { display: flex; align-items: center; gap: 28px; height: 50px; }

.nav-list { display: flex; align-items: center; gap: 28px; flex-wrap: nowrap; }
.nav-list li { flex: 0 0 auto; }
.nav-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav-list a:hover { border-bottom-color: var(--line-3); }
.nav-list a.is-active { border-bottom-color: var(--ink); font-weight: 600; }
.nav-list svg { width: 18px; height: 18px; }

.nav-vip {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-3);
}
.nav-vip strong {
  color: var(--purple);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.burger { display: none; }

/* ============================ Promo strip ============================ */
.promo-strip {
  background: linear-gradient(90deg, #d8faf6 0%, #fff1c9 48%, #ffe0e9 100%);
  border-bottom: 1px solid var(--line);
}
.promo-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 56px;
  padding-block: 10px;
  text-align: center;
  flex-wrap: wrap;
}
.promo-strip__title { font-size: 17px; font-weight: 600; color: var(--ink); }
.promo-strip__title em { color: var(--purple); }
.promo-strip__text { font-size: 14px; color: var(--ink-2); }
.promo-strip .link-all { color: var(--purple); }

/* ============================ Offer card ============================ */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  min-width: 0;
  box-shadow: var(--shadow-plate);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(240, 180, 41, .4);
}
a.card { color: inherit; }

.card__media { position: relative; aspect-ratio: 3 / 2; background: var(--paper-2); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.card:hover .card__media img { transform: scale(1.05); }

.card__save {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-end: 12px;
  z-index: 2;
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.95);
  color: var(--ink);
  box-shadow: var(--shadow-card);
}
.card__save:hover { background: #fff; }
.card__save.is-saved { color: var(--red); }
.card__save.is-saved svg { fill: currentColor; }

.card__flag {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 56px);
  height: 28px;
  padding-inline: 12px;
  border-radius: var(--radius-pill);
  background: rgba(212, 22, 74, .92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card__flag--gold { background: var(--gold-deep); }
.card__flag--purple { background: var(--purple); }
.card__flag--cocoa { background: var(--cocoa); color: var(--sand); }

.card__dots {
  position: absolute;
  inset-block-end: 10px;
  inset-inline: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
  pointer-events: none;
}
.card__dots i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
}
.card__dots i.is-on { background: #fff; }

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
  padding: 16px 16px 18px;
}

.card__route {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.4;
}

.card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.card__brand { font-size: 12px; font-weight: 600; color: var(--ink); }
.card__tier {
  font-size: 11px;
  font-weight: 600;
  color: var(--gold-deep);
}

.rating { display: inline-flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.rating__score {
  display: grid;
  place-items: center;
  min-width: 32px;
  height: 22px;
  padding-inline: 6px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.rating__label { font-size: 12px; font-weight: 500; color: var(--ink-2); }

.card__title {
  font-family: var(--display);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4.2em;
}

.card__note {
  font-size: 12px;
  font-weight: 500;
  color: var(--red);
}

.card__price {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--paper-line);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.card__duration { font-size: 12px; color: var(--ink-3); }

.price-row { display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; }
.price-now {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  letter-spacing: -.01em;
}
.price-cur { font-size: 13px; font-weight: 600; color: var(--ink); }
.price-unit { font-size: 12px; color: var(--ink-3); }

.price-member {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-3);
}
.price-member b { color: var(--ink-2); font-weight: 600; }

.badge-plus {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding-inline: 6px;
  border-radius: 2px;
  background: linear-gradient(135deg, #071a1f, #143038);
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(240, 180, 41, .35);
}

.price-value {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-3);
}
.price-value s { text-decoration-thickness: 1px; }

.badge-off {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding-inline: 7px;
  border-radius: 2px;
  background: var(--red-soft);
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.card__room { font-size: 12px; color: var(--ink-3); margin-top: 2px; }

/* Gold hairline that draws under the CTA on hover — motion #3 */
.card__cta {
  align-self: flex-start;
  margin-top: 12px;
  position: relative;
  padding-bottom: 3px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.card__cta::after {
  content: '';
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 1px;
  background: var(--gold-deep);
  transform: scaleX(.34);
  transform-origin: inline-start;
  transition: transform .45s var(--ease-out);
}
.card:hover .card__cta { color: var(--gold-deep); }
.card:hover .card__cta::after,
.card__cta:hover::after { transform: scaleX(1); }

/* ============================ Carousel ============================ */
.carousel {
  position: relative;
  width: 100%;
}
.carousel__track {
  display: flex;
  gap: 20px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-block: 4px 8px;
  -webkit-overflow-scrolling: touch;
}
.carousel__track::-webkit-scrollbar { display: none; }

/* Desktop: exactly 4 cards visible — % of definite track width */
.carousel__track > * {
  flex: 0 0 calc((100% - 60px) / 4);
  width: calc((100% - 60px) / 4);
  max-width: calc((100% - 60px) / 4);
  scroll-snap-align: start;
  min-width: 0;
}
.carousel__track--3 > * {
  flex-basis: calc((100% - 40px) / 3);
  width: calc((100% - 40px) / 3);
  max-width: calc((100% - 40px) / 3);
}
.carousel__track--wide > * {
  flex-basis: calc((100% - 20px) / 2);
  width: calc((100% - 20px) / 2);
  max-width: calc((100% - 20px) / 2);
}

.carousel__nav {
  position: absolute;
  inset-block-start: 42%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-pop);
  z-index: 5;
  border: 1px solid var(--line);
  transition: background .18s var(--ease), opacity .18s var(--ease);
}
.carousel__nav:hover { background: var(--bg-soft); }
.carousel__nav[disabled] { opacity: 0; pointer-events: none; }
.carousel__nav--prev { inset-inline-start: -10px; }
.carousel__nav--next { inset-inline-end: -10px; }
[dir="rtl"] .carousel__nav svg { transform: scaleX(-1); }

/* ============================ Search widget ============================ */
.search-widget {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.tabs {
  display: flex;
  gap: 4px;
  padding: 6px 6px 0;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }

.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding-inline: 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.tab svg { width: 20px; height: 20px; }
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }

.search-body { padding: 20px; }
.search-hint { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.search-hint svg { width: 18px; height: 18px; color: var(--purple); }

.search-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.2fr auto;
  gap: 12px;
  align-items: end;
}

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field__label { font-size: 12px; font-weight: 600; color: var(--ink); }
.field__control {
  height: 48px;
  padding-inline: 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: #fff;
  font-size: 15px;
  width: 100%;
  transition: border-color .18s var(--ease);
}
.field__control::placeholder { color: var(--ink-4); }
.field__control:focus { border-color: var(--ink); outline: none; }
select.field__control { appearance: none; background-image: none; cursor: pointer; }

.field--icon { position: relative; }
.field--icon .field__control { padding-inline-start: 42px; }
.field--icon svg {
  position: absolute;
  inset-inline-start: 14px;
  inset-block-end: 15px;
  width: 18px; height: 18px;
  color: var(--ink-3);
  pointer-events: none;
}

/* ============================ Benefit list ============================ */
.benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 40px;
}
.benefit { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; }
.benefit svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--gold-deep); margin-top: 1px; }

.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}

/* ============================ Feature / value props ============================ */
.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.value { text-align: center; }
.value__icon {
  width: 52px; height: 52px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--sand), var(--purple-soft));
  color: var(--gold-deep);
  box-shadow: inset 0 0 0 1px rgba(240, 180, 41, .25);
}
.value__icon svg { width: 26px; height: 26px; }
.value h3 { font-size: 18px; margin-bottom: 8px; }
.value p { font-size: 14px; color: var(--ink-3); }

/* ============================ Destination tiles ============================ */
.carousel__track .tile { min-width: 0; }
.tile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,12,8,.72) 0%, rgba(15,12,8,.15) 45%, transparent 70%);
}
.tile__label {
  position: absolute;
  inset-block-end: 16px;
  inset-inline: 16px;
  z-index: 2;
  color: #fff;
}
.tile__label strong { display: block; font-size: 19px; font-weight: 600; }
.tile__label span { font-size: 13px; opacity: .9; }

/* ============================ Support band ============================ */
.support-band {
  background:
    radial-gradient(800px 280px at 0% 50%, rgba(0, 200, 184, .28), transparent 60%),
    radial-gradient(600px 240px at 100% 50%, rgba(240, 180, 41, .22), transparent 55%),
    linear-gradient(135deg, #071a1f 0%, #0f333c 100%);
  color: #fff;
}
.support-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 40px;
  flex-wrap: wrap;
}
.support-band h2 { color: #fff; font-size: 26px; }
.support-band p { color: rgba(255,255,255,.72); font-size: 15px; margin-top: 6px; }
.support-band .btn--ghost { border-color: #fff; color: #fff; }
.support-band .btn--ghost:hover { background: #fff; color: var(--cocoa); }

.trust { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.trust__item { display: flex; flex-direction: column; }
.trust__num { font-size: 24px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.trust__cap { font-size: 12px; color: rgba(255,255,255,.6); }

/* ============================ Membership (Gold Plus) ============================ */
.lux-band {
  background:
    radial-gradient(500px 220px at 100% 0%, rgba(240, 180, 41, .28), transparent 55%),
    radial-gradient(420px 200px at 0% 100%, rgba(0, 200, 184, .2), transparent 50%),
    linear-gradient(145deg, #071a1f 0%, #143038 100%);
  color: var(--sand);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-pop);
}
.lux-band h2 { color: #fff; }
.lux-band h2 em { color: var(--gold); }
.lux-band p { color: rgba(255, 241, 201, .78); margin-top: 10px; }
.lux-band .btn {
  margin-top: 20px;
  background: linear-gradient(135deg, #f0b429 0%, #ff8a1f 100%);
  color: #071a1f;
  font-weight: 700;
}
.lux-band .btn:hover { filter: brightness(1.06); box-shadow: var(--shadow-glow); }

.lux-locked {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.lux-locked__item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.lux-locked__item img { width: 100%; height: 100%; object-fit: cover; filter: blur(3px) brightness(.65); }
.lux-locked__item span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--sand);
}

/* ============================ Category cards ============================ */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cat {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #fff;
}
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cat:hover img { transform: scale(1.05); }
.cat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,12,8,.8), rgba(15,12,8,.1)); }
.cat > * { position: relative; z-index: 2; }
.cat h3 { color: #fff; font-size: 20px; }
.cat p { font-size: 13px; color: rgba(255,255,255,.8); margin: 6px 0 12px; }
.cat span { font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ============================ Articles ============================ */
.article__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; margin-bottom: 12px; }
.article__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.article:hover img { transform: scale(1.04); }
.article__kicker { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-deep); }
.article__title { font-size: 17px; font-weight: 600; color: var(--ink); margin-top: 6px; line-height: 1.35; }

/* ============================ Link columns ============================ */
.link-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px 24px; }
.link-grid a { font-size: 14px; }
.link-grid a strong { display: block; color: var(--ink); font-weight: 500; }
.link-grid a span { font-size: 12px; color: var(--ink-3); }
.link-grid a:hover strong { text-decoration: underline; }

/* ============================ Footer ============================ */
.site-footer {
  position: relative;
  z-index: 45;
  background: var(--ink);
  color: rgba(255, 255, 255, .78);
  padding-block: 56px 32px;
  font-size: 14px;
  border-top: 1px solid rgba(240, 180, 41, .28);
  box-shadow: 0 -28px 56px -28px rgba(4, 20, 26, .35);
  isolation: isolate;
}
body[data-page="offer"] .site-footer {
  /* Clear paper→ink handoff so long offer scrolls never crush the footer */
  margin-top: 8px;
  box-shadow:
    0 -1px 0 rgba(240, 180, 41, .22),
    0 -32px 64px -24px rgba(4, 20, 26, .4);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 40px; }
.site-footer h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 14px; letter-spacing: .02em; }
.site-footer li + li { margin-top: 9px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand { margin-bottom: 4px; }
.site-footer .brand__ar { color: #fff; }
.site-footer .brand__en { color: var(--gold); }
.site-footer .brand__mark {
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(198,188,146,.35);
}

.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  color: #fff;
}
.footer-social a:hover { background: #fff; color: var(--ink); }

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  flex-wrap: wrap;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255,255,255,.58);
}
.footer-bottom__copy,
.footer-bottom__meta {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  line-height: 1.4;
}
.footer-bottom__meta {
  gap: 10px;
  flex-wrap: wrap;
}
.footer-bottom__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  flex-shrink: 0;
}

/* ==========================================================================
   INTERNAL PAGES — "المرصد الذهبي / Golden Meridian"
   Dark editorial masthead → paper reading surface → gold hairline accents
   ========================================================================== */

/* ---------------- Shell ---------------- */
body[data-shell="internal"] {
  background:
    radial-gradient(1100px 520px at 100% 6%, rgba(0, 200, 184, .07), transparent 58%),
    radial-gradient(820px 460px at 0% 14%, rgba(240, 180, 41, .08), transparent 55%),
    linear-gradient(180deg, #faf8f4 0%, #f7f7f4 46%, #f4f7f7 100%);
}

.shell { padding-block: 56px 76px; }
.shell--tight { padding-block: 36px 60px; }
.measure { max-width: 68ch; }

/* ---------------- Masthead ---------------- */
.masthead {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(150deg, #04141a 0%, #0b262d 52%, #061c23 100%);
  color: #fff;
}
.masthead::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(660px 300px at 88% -25%, rgba(240, 180, 41, .24), transparent 62%),
    radial-gradient(520px 320px at 2% 125%, rgba(0, 200, 184, .16), transparent 60%);
}
.masthead::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 44px);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .95), transparent 76%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .95), transparent 76%);
  pointer-events: none;
}

.masthead .breadcrumb { color: rgba(255, 241, 201, .48); padding-top: 26px; margin-bottom: 0; }
.masthead .breadcrumb a { color: rgba(255, 241, 201, .7); }
.masthead .breadcrumb a:hover { color: var(--gold); }

.masthead__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 44px;
  align-items: end;
  padding-block: 30px 40px;
}
.masthead--figure .masthead__body { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }

.masthead__title {
  font-size: clamp(30px, 4.4vw, 52px);
  color: #fff;
  margin-top: 20px;
  max-width: 24ch;
  text-wrap: balance;
  text-shadow: 0 2px 16px rgba(4, 20, 26, .45);
}
.masthead__title em { color: var(--gold); }
.masthead__lede {
  margin-top: 16px;
  max-width: 56ch;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(224, 238, 238, .7);
}
.masthead__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.masthead .btn--ghost { border-color: rgba(255, 241, 201, .5); color: #fff1c9; }
.masthead .btn--ghost:hover { background: #fff1c9; color: var(--petrol); border-color: #fff1c9; }

.masthead__figure {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(240, 180, 41, .24);
  box-shadow: var(--shadow-dark);
}
.masthead__figure img { width: 100%; height: 100%; object-fit: cover; }

/* Meridian rail — page facts on a gold hairline instead of badge/pill clutter */
.meridian {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--gold-line);
}
.meridian__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 18px 32px;
}
.meridian__item:first-child { padding-inline-start: 0; }
.meridian__item + .meridian__item::before {
  content: '';
  position: absolute;
  inset-block: 18px;
  inset-inline-start: 0;
  width: 1px;
  background: rgba(255, 255, 255, .13);
}
.meridian__k {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(240, 180, 41, .82);
}
html[lang="ar"] .meridian__k { letter-spacing: .1em; font-size: 12px; }
.meridian__v {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.meridian__v--text {
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(226, 240, 240, .82);
}

/* Ultra lux / membership variant — more gold in the atmosphere */
.masthead--lux::before {
  background:
    radial-gradient(700px 340px at 82% -20%, rgba(240, 180, 41, .34), transparent 62%),
    radial-gradient(480px 300px at 6% 118%, rgba(196, 137, 10, .24), transparent 60%);
}
.masthead--lux { background: linear-gradient(150deg, #04141a 0%, #12313a 48%, #04141a 100%); }

/* ---------------- Listing frame ---------------- */
.breadcrumb { display: flex; gap: 8px; font-size: 13px; color: var(--ink-3); margin-bottom: 10px; }
.breadcrumb a:hover { text-decoration: underline; }
.page-head { border-bottom: 1px solid var(--line); padding-block: 28px; }

.listing { display: grid; grid-template-columns: 258px minmax(0, 1fr); gap: 48px; align-items: start; }

/* Filter rail — hairlines, no boxes */
.filters { position: sticky; top: 132px; }
.frail__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
}
.frail__clear {
  font-size: 13px;
  color: var(--ink-3);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.frail__clear:hover { color: var(--gold-deep); }
.frail__foot { display: none; }

.filter-group { border-top: 1px solid var(--paper-line); padding-block: 20px; }
.filter-group h4 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}
html[lang="ar"] .filter-group h4 { letter-spacing: .08em; font-size: 12.5px; }

.check {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  cursor: pointer;
  padding: 7px 8px;
  margin-inline: -8px;
  border-radius: 8px;
  transition: background .16s var(--ease);
}
.check:hover { background: rgba(240, 180, 41, .08); }
.check input {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  transition: background .18s var(--ease), border-color .18s var(--ease);
}
.check:hover input { border-color: var(--gold-deep); }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0b429' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 13l4 4L19 7'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 13px;
}
.check input:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.check span { color: var(--ink-2); }
.check .count {
  margin-inline-start: auto;
  color: var(--ink-4);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

/* Results toolbar */
.tools,
.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--paper-line);
}
.results-count {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.tools__group { display: flex; align-items: center; gap: 10px; }
.tools__label { font-size: 13px; color: var(--ink-4); }

.select-quiet {
  appearance: none;
  -webkit-appearance: none;
  height: 42px;
  padding-inline: 16px 40px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-pill);
  background-color: #fff;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235e737a' stroke-width='2' stroke-linecap='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-size: 15px;
  background-position: right 15px center;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
[dir="rtl"] .select-quiet { background-position: left 15px center; }
.select-quiet:hover { border-color: var(--gold-deep); }
.select-quiet:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--gold-faint); }

.filter-trigger {
  display: none;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding-inline: 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.filter-trigger:hover { background: var(--ink); color: #fff; }
.filter-scrim {
  position: fixed;
  inset: 0;
  z-index: 79;
  background: rgba(4, 20, 26, .5);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s var(--ease);
}
.filter-scrim.is-open { opacity: 1; visibility: visible; }

.results-stack { display: flex; flex-direction: column; gap: 20px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

/* Wide "offer plate" used on listing pages — framed image, hairline price column */
.row-card {
  position: relative;
  display: grid;
  grid-template-columns: 304px minmax(0, 1fr) 262px;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-plate);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s var(--ease);
}
.row-card::after {
  content: '';
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
  transition: width .5s var(--ease-out);
  z-index: 3;
}
.row-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(240, 180, 41, .4);
}
.row-card:hover::after { width: 100%; }

.row-card__media {
  position: relative;
  margin: 10px;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper-2);
}
.row-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.row-card:hover .row-card__media img { transform: scale(1.05); }

.row-card__body { padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; }
.row-card__side {
  position: relative;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, #fffdf7 0%, #fff 60%);
}
.row-card__side::before {
  content: '';
  position: absolute;
  inset-block: 22px;
  inset-inline-start: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--paper-line) 18%, var(--paper-line) 82%, transparent);
}
.row-card__side .btn { margin-top: 18px; }
.row-card .card__title { font-size: 19px; }
.row-card .card__price { border-top: 0; padding-top: 0; }

.inclusions { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; }
.inclusions li { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--ink-2); }
.inclusions svg { width: 15px; height: 15px; color: var(--gold-deep); flex-shrink: 0; margin-top: 3px; }

/* ============================ Offer detail ============================ */
.offer-head { padding-block: 34px 26px; }
.offer-head__route { font-size: 13px; color: var(--ink-3); margin-top: 18px; }
.offer-head__title {
  font-size: clamp(26px, 3.6vw, 44px);
  max-width: 30ch;
  margin-top: 10px;
}
.offer-head__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.offer-head__note {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--red-dark);
}
.offer-head__note:empty { display: none; }
.offer-head__note::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

.gallery-wrap { position: relative; }
.gallery {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  height: 486px;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.gallery > a { overflow: hidden; background: var(--paper-2); }
.gallery > a:first-child { grid-row: span 2; }

/* The mosaic adapts to how many photos an offer actually has */
.gallery--1 { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
.gallery--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); }
.gallery--2 > a:first-child { grid-row: auto; }
.gallery--3 { grid-template-columns: 1.6fr 1fr; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.gallery a:hover img { transform: scale(1.05); }
.gallery__more {
  position: absolute;
  inset-block-end: 18px;
  inset-inline-end: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding-inline: 18px;
  border-radius: var(--radius-pill);
  background: rgba(4, 20, 26, .78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(240, 180, 41, .45);
  color: #fff1c9;
  font-size: 13px;
  font-weight: 600;
}
.gallery__more:hover { background: var(--petrol); }

.offer-layout { display: grid; grid-template-columns: minmax(0, 1fr) 384px; gap: 56px; align-items: start; }

/* Dark booking panel — the single focal CTA of the page */
.booking-box {
  position: sticky;
  top: 132px;
  padding: 26px;
  border: 1px solid rgba(240, 180, 41, .3);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(360px 180px at 100% 0%, rgba(240, 180, 41, .18), transparent 62%),
    linear-gradient(165deg, #0b262d 0%, #04141a 100%);
  box-shadow: var(--shadow-dark);
  color: rgba(255, 241, 201, .82);
}
.booking-box__k {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(240, 180, 41, .85);
  margin-bottom: 14px;
  display: block;
}
html[lang="ar"] .booking-box__k { letter-spacing: .08em; font-size: 12.5px; }
.booking-box .card__price { border-top: 0; padding-top: 0; }
.booking-box .card__duration,
.booking-box .price-unit,
.booking-box .price-member,
.booking-box .price-value,
.booking-box .card__room { color: rgba(226, 240, 240, .6); }
.booking-box .price-now { font-size: 34px; color: #fff; font-family: var(--display); }
.booking-box .price-cur { color: var(--gold); font-size: 15px; }
.booking-box .price-member b { color: #fff1c9; }
.booking-box .price-value s { color: rgba(226, 240, 240, .5); }
.booking-box .badge-plus { background: rgba(240, 180, 41, .14); color: var(--gold); }
.booking-box .badge-off { background: rgba(255, 46, 99, .16); color: #ff8fae; }
.booking-box .btn--line { border-color: rgba(255, 241, 201, .38); color: #fff1c9; }
.booking-box .btn--line:hover { border-color: var(--gold); background: rgba(240, 180, 41, .1); }
.booking-box__note { font-size: 12px; line-height: 1.7; text-align: center; color: rgba(226, 240, 240, .58); margin-top: 16px; }
.booking-box__trust {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 241, 201, .16);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 241, 201, .78);
}

/* Mobile sticky booking bar — slides up after hero; hides near footer */
.offer-bar {
  display: none;
  position: fixed;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 70;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(4, 20, 26, .98), var(--petrol));
  border-top: 2px solid var(--gold);
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
  transition:
    transform .32s var(--ease-out),
    opacity .28s var(--ease);
  box-shadow: 0 -12px 36px rgba(4, 20, 26, .45);
}
.offer-bar.is-visible {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}
body.is-near-footer .offer-bar {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.offer-bar__price { display: flex; flex-direction: column; gap: 2px; line-height: 1.2; }
.offer-bar__k { font-size: 11px; color: rgba(240, 180, 41, .85); }
.offer-bar__v { font-family: var(--display); font-size: 20px; font-weight: 700; color: #fff; }

/* Editorial prose */
.prose { font-size: 15.5px; }
.prose h3 {
  font-size: 21px;
  margin: 40px 0 16px;
  padding-top: 22px;
  border-top: 1px solid var(--paper-line);
  position: relative;
}
.prose h3::before {
  content: '';
  position: absolute;
  inset-block-start: -1px;
  inset-inline-start: 0;
  width: 46px;
  height: 2px;
  background: var(--gold);
}
.prose > h3:first-child { margin-top: 0; }
.prose p { margin-bottom: 14px; line-height: 1.85; color: var(--ink-2); }
.prose ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 26px; }
.prose ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.prose ul svg { width: 16px; height: 16px; color: var(--gold-deep); flex-shrink: 0; margin-top: 4px; }

.itinerary { margin-top: 4px; }
.itinerary-day {
  position: relative;
  border-inline-start: 1px solid var(--paper-line);
  padding: 0 0 26px 0;
  padding-inline-start: 26px;
}
.itinerary-day:last-child { border-inline-start-color: transparent; padding-bottom: 0; }
.itinerary-day::before {
  content: '';
  position: absolute;
  inset-block-start: 5px;
  inset-inline-start: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--gold-line);
}
.itinerary-day h4 { font-size: 17px; margin-bottom: 8px; }
.itinerary-day p { font-size: 14.5px; color: var(--ink-3); line-height: 1.8; }

/* ---- Premium offer detail (od-*) — Yusr Golden editorial tour page ---- */
.od {
  padding-block: 18px 72px;
  interpolate-size: allow-keywords;
  background:
    radial-gradient(900px 420px at 0% 0%, rgba(240, 180, 41, .07), transparent 55%),
    linear-gradient(180deg, var(--paper) 0%, var(--bg) 42%, var(--bg) 100%);
}
.od-crumb { margin-bottom: 18px; }

/* Editorial gallery — hero + mosaic (not a dumb grid) */
.od-gallery { position: relative; margin-bottom: 28px; }
.od-gallery__stage {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 10px;
  min-height: 460px;
  height: clamp(380px, 50vw, 540px);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--petrol-2);
}
.od-gallery__hero,
.od-gallery__tile {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  overflow: hidden;
  cursor: pointer;
  background: var(--petrol-3);
}
.od-gallery__hero { min-height: 0; }
.od-gallery__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(4, 20, 26, .28));
  pointer-events: none;
  opacity: .7;
  transition: opacity .35s var(--ease);
}
.od-gallery__mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1.15fr .85fr;
  gap: 10px;
  min-height: 0;
}
.od-gallery__tile--1 { grid-column: 1 / -1; }
.od-gallery__tile--2 { grid-row: 2; }
.od-gallery__tile--3 { grid-row: 2; }
.od-gallery__tile--4 { display: none; }
.od-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease-out), filter .4s var(--ease), opacity .35s var(--ease);
}
.od-gallery__hero:hover img,
.od-gallery__tile:hover img { transform: scale(1.045); filter: saturate(1.06); }
.od-gallery__hero:hover .od-gallery__veil { opacity: 1; }
.od-gallery [data-photo-tag].is-map-sync {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
  z-index: 2;
}
.od-gallery [data-photo-tag].is-map-sync img { filter: saturate(1.12) brightness(1.04); }
.od-gallery__overflow {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(4, 20, 26, .55);
  color: #fff1c9;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .04em;
  backdrop-filter: blur(2px);
}
.od-gallery__more {
  position: absolute;
  inset-block-end: 16px;
  inset-inline-end: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding-inline: 16px;
  border-radius: var(--radius-pill);
  background: rgba(4, 20, 26, .84);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(240, 180, 41, .42);
  color: #fff1c9;
  font-size: 13px;
  font-weight: 600;
}
.od-gallery__more:hover { background: var(--petrol); color: #fff; }
.od-gallery__count {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding-inline: 7px;
  border-radius: var(--radius-pill);
  background: rgba(240, 180, 41, .22);
  color: #fff1c9;
  font-size: 12px;
  font-weight: 700;
}

/* Legacy gallery fallback */
.od-gallery__grid {
  display: grid;
  grid-template-columns: 1.75fr 1fr;
  gap: 10px;
  min-height: 460px;
  height: clamp(360px, 48vw, 520px);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.od-gallery__main,
.od-gallery__stack a {
  display: block;
  overflow: hidden;
  background: var(--petrol-2);
  position: relative;
}
.od-gallery__stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  min-height: 0;
}

/* Lightbox */
body.od-lb-open { overflow: hidden; }
.od-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s var(--ease);
}
.od-lightbox.is-open { opacity: 1; pointer-events: auto; }
.od-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 20, 26, .88);
  backdrop-filter: blur(8px);
}
.od-lightbox__frame {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100vw - 32px));
  max-height: min(88vh, 820px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
}
.od-lightbox__figure {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  max-height: min(88vh, 820px);
}
.od-lightbox__figure img {
  width: 100%;
  max-height: min(78vh, 740px);
  object-fit: contain;
  background: #0b262d;
}
.od-lightbox__figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(4, 20, 26, .92);
  color: #e8f0f2;
  font-size: 13px;
}
.od-lightbox__cap { color: var(--sand); }
.od-lightbox__close,
.od-lightbox__nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, .14);
}
.od-lightbox__close {
  position: absolute;
  inset-block-start: -52px;
  inset-inline-end: 0;
  font-size: 32px;
}
.od-lightbox__nav:hover,
.od-lightbox__close:hover { background: rgba(240, 180, 41, .25); }

/* ---- Route map ---- */
.od-map {
  margin: 8px 0 28px;
  padding: 18px 18px 14px;
  border-radius: var(--radius-md);
  background:
    radial-gradient(520px 240px at 90% 10%, rgba(0, 200, 184, .10), transparent 60%),
    linear-gradient(160deg, #f4fbfa 0%, #faf7f0 100%);
  border: 1px solid rgba(16, 52, 64, .08);
  box-shadow: var(--shadow-plate);
}
.od-map[hidden] { display: none !important; }
.od-map__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.od-map__eyebrow {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
html[lang="ar"] .od-map__eyebrow { letter-spacing: .04em; text-transform: none; }
.od-map__title { margin: 0; font-size: 22px; }
.od-map__stage {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(16, 52, 64, .06);
}
.od-map__svg { width: 100%; height: auto; display: block; background: transparent; }
.od-map__region {
  fill: var(--ink-3);
  font-size: 13px;
  font-family: var(--sans);
  font-weight: 600;
  opacity: .7;
}
.od-map__region--sl { font-size: 14px; fill: var(--petrol-3); }

.od-map__route {
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke .25s var(--ease), opacity .25s var(--ease);
}
.od-map.is-drawn .od-map__route {
  animation: odMapDraw .95s var(--ease-out) forwards;
  animation-delay: calc(var(--route-i, 0) * 70ms);
}
.od-map__route--drive {
  stroke: var(--petrol-3);
  stroke-width: 2.4;
  stroke-dasharray: 7 6;
}
.od-map.is-drawn .od-map__route--drive {
  stroke-dasharray: 7 6;
  animation: odMapDriveIn .9s var(--ease-out) forwards;
  animation-delay: calc(var(--route-i, 0) * 70ms);
}
.od-map__route--train {
  stroke: url(#odMapTrainHatch);
  stroke: #143038;
  stroke-width: 3.2;
  stroke-dasharray: 2 5;
}
.od-map__route--fly {
  stroke: var(--gold-deep);
  stroke-width: 2.6;
  stroke-dasharray: none;
  filter: drop-shadow(0 0 4px rgba(240, 180, 41, .35));
}

@keyframes odMapDraw {
  to { stroke-dashoffset: 0; }
}
@keyframes odMapDriveIn {
  from { stroke-dashoffset: 80; opacity: .2; }
  to { stroke-dashoffset: 0; opacity: 1; }
}

.od-map__stop { cursor: pointer; outline: none; }
.od-map__pulse {
  fill: rgba(240, 180, 41, .22);
  opacity: 0;
  transform-origin: center;
}
.od-map.is-drawn .od-map__stop--start .od-map__pulse,
.od-map.is-drawn .od-map__stop--end .od-map__pulse {
  animation: odMapPulse 2.4s var(--ease) infinite;
}
.od-map__pin {
  fill: #1a6b68;
  stroke: #fff;
  stroke-width: 2.5;
  transition: fill .2s var(--ease), r .2s var(--ease);
}
.od-map__stop--start .od-map__pin { fill: var(--gold-deep); }
.od-map__stop--end .od-map__pin { fill: var(--petrol); stroke: var(--gold); }
.od-map__stop--sight .od-map__pin { fill: #5e8f8a; }
.od-map__pin-n {
  fill: #fff;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--sans);
  pointer-events: none;
}
.od-map__label { opacity: 0; pointer-events: none; transition: opacity .2s var(--ease); }
.od-map__label-bg {
  fill: rgba(4, 20, 26, .92);
  stroke: rgba(240, 180, 41, .35);
  stroke-width: 1;
}
.od-map__label-title {
  fill: #fff1c9;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--sans);
}
.od-map__label-sub {
  fill: #b8c9ce;
  font-size: 9px;
  font-family: var(--sans);
}
.od-map__stop:hover .od-map__label,
.od-map__stop:focus .od-map__label,
.od-map__stop.is-active .od-map__label { opacity: 1; }
.od-map__stop:hover .od-map__pin,
.od-map__stop:focus .od-map__pin,
.od-map__stop.is-active .od-map__pin {
  fill: var(--gold);
  stroke: var(--petrol);
}

@keyframes odMapPulse {
  0%, 100% { opacity: .35; r: 16; }
  50% { opacity: .08; r: 24; }
}

.od-map__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(16, 52, 64, .06);
}
.od-map__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-2);
  font-weight: 600;
}
.od-map__swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(7, 26, 31, .12);
}
.od-map__swatch--start { background: var(--gold-deep); }
.od-map__swatch--night { background: #1a6b68; }
.od-map__swatch--sight { background: #5e8f8a; }
.od-map__line {
  width: 22px;
  height: 0;
  border-top: 2.5px solid var(--petrol-3);
}
.od-map__line--fly { border-top-color: var(--gold-deep); border-top-style: solid; }
.od-map__line--drive { border-top-style: dashed; }
.od-map__line--train {
  border-top: 0;
  height: 3px;
  background: repeating-linear-gradient(90deg, #143038 0 3px, transparent 3px 7px);
}
.od-map__hint {
  margin: 10px 2px 0;
  font-size: 12.5px;
  color: var(--ink-4);
}

.od-map__panel {
  position: absolute;
  inset-block-end: 12px;
  inset-inline-start: 12px;
  width: min(300px, calc(100% - 24px));
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0;
  background: rgba(250, 248, 244, .96);
  border: 1px solid var(--gold-line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  z-index: 4;
  transform: translateY(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s var(--ease), transform .28s var(--ease-out);
}
.od-map__panel.is-open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.od-map__panel[hidden] { display: none !important; }
.od-map__panel-media {
  background: var(--petrol-2);
  min-height: 100%;
}
.od-map__panel-media img { width: 100%; height: 100%; object-fit: cover; min-height: 110px; }
.od-map__panel-body { padding: 12px 14px 14px; }
.od-map__panel-kicker {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-deep);
}
.od-map__panel-body h3 {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.3;
}
.od-map__panel-body p {
  margin: 0 0 10px;
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.55;
}
.od-map__panel-close {
  position: absolute;
  inset-block-start: 6px;
  inset-inline-end: 6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(4, 20, 26, .55);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  z-index: 2;
}
.btn--sm { height: 36px; padding-inline: 14px; font-size: 13px; }

body.od-map-fs { overflow: hidden; }
.od-map__stage.is-expanded {
  position: fixed;
  inset: 0;
  z-index: 180;
  border-radius: 0;
  background: #eef7f6;
  display: grid;
  place-items: center;
  padding: 16px;
  padding-top: max(16px, env(safe-area-inset-top));
}
.od-map__stage.is-expanded .od-map__svg {
  width: min(960px, 100%);
  max-height: calc(100vh - 48px);
}
.od-map__stage.is-expanded .od-map__panel {
  inset-block-end: max(20px, env(safe-area-inset-bottom));
}

@media (prefers-reduced-motion: reduce) {
  .od-map.is-drawn .od-map__route,
  .od-map.is-drawn .od-map__route--drive,
  .od-map.is-drawn .od-map__pulse {
    animation: none !important;
  }
  .od-map.is-drawn .od-map__route { stroke-dashoffset: 0; opacity: 1; }
  .od-gallery img,
  .od-map__panel,
  .yg-chev,
  .od-day__anim,
  .accordion-panel,
  .offer-bar,
  .whatsapp-fab,
  .od-tabs {
    transition: none !important;
  }
}

.od-hero { margin-bottom: 8px; max-width: 54rem; }
.od-hero__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 12px;
}
.od-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--red-dark);
}
.od-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px var(--red-soft);
}
.od-bookby {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  padding: 6px 12px;
  border-radius: var(--radius);
  background: var(--bg-warm);
  border: 1px solid rgba(240, 180, 41, .28);
}
.od-hero__route {
  font-size: 13.5px;
  color: var(--ink-3);
  margin: 0 0 8px;
}
.od-hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1.22;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0 0 16px;
  max-width: 22ch;
}
html[lang="ar"] .od-hero__title {
  font-family: var(--display);
  font-weight: 800;
  max-width: 28ch;
  letter-spacing: 0;
}
.od-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  font-size: 14px;
  color: var(--ink-2);
}
.od-hero__op strong { color: var(--ink); font-weight: 700; }
.od-pill {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding-inline: 10px;
  border-radius: var(--radius);
  border: 1px solid var(--paper-line);
  background: #fff;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.od-score { display: inline-flex; align-items: baseline; gap: 8px; }
.od-score__n {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  color: var(--petrol);
  line-height: 1;
}
.od-score__l { font-size: 13.5px; color: var(--ink-3); }

.od-tabs {
  position: sticky;
  top: 72px;
  z-index: 40;
  margin: 22px 0 0;
  background: transparent;
  transition:
    box-shadow .28s var(--ease),
    background .28s var(--ease),
    border-color .28s var(--ease);
}
.od-tabs.is-stuck {
  background: rgba(250, 248, 244, .96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 1px 0 rgba(240, 180, 41, .28),
    0 10px 28px -16px rgba(4, 20, 26, .28);
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  border-bottom: 1px solid rgba(7, 26, 31, .06);
}
/* Release sticky chrome before it covers the site footer */
body.is-near-footer .od-tabs {
  position: relative;
  top: auto;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 0;
}
.od-tabs__track {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--paper-line);
}
.od-tabs__track::-webkit-scrollbar { display: none; }
.od-tabs__link {
  flex: 0 0 auto;
  padding: 14px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-3);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.od-tabs__link:hover { color: var(--ink); }
.od-tabs__link.is-active {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

.od-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 48px;
  /* Stretch so sticky booking can travel the full main column, then release */
  align-items: stretch;
  margin-top: 28px;
}
.od-aside,
.od-main { min-width: 0; }
.od-aside {
  position: relative;
  display: flex;
  flex-direction: column;
}
.od-aside .booking-box {
  width: 100%;
  align-self: flex-start;
}

.od-section {
  padding-block: 8px 40px;
  scroll-margin-top: 140px;
}
.od-section + .od-section {
  border-top: 1px solid var(--paper-line);
  padding-top: 36px;
}
.od-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}
.od-h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--ink);
  margin: 0 0 18px;
  letter-spacing: -.01em;
}
html[lang="ar"] .od-h2 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0;
}
.od-h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 28px 0 14px;
  color: var(--ink);
}

.od-stops { margin-bottom: 22px; }
.od-stops__label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}
html[lang="ar"] .od-stops__label { letter-spacing: .04em; text-transform: none; }
.od-stops ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.od-stops li {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--paper-line);
}
.od-about p {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink-2);
  margin: 0 0 14px;
  max-width: 68ch;
}
.od-upgrade {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-inline-start: 3px solid var(--gold);
  background: var(--bg-warm);
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-2);
}

.od-incl {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.od-incl li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-2);
}
.od-incl svg {
  width: 16px;
  height: 16px;
  color: var(--gold-deep);
  flex-shrink: 0;
  margin-top: 4px;
}
.od-link-btn {
  appearance: none;
  border: 0;
  background: none;
  color: var(--petrol-3);
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  padding: 10px 0 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(240, 180, 41, .55);
}
.od-link-btn:hover { color: var(--gold-deep); }

.od-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 8px;
}
.od-benefit {
  padding: 18px 16px;
  border-top: 2px solid var(--gold);
  background: #fff;
  border-inline: 1px solid var(--paper-line);
  border-block-end: 1px solid var(--paper-line);
}
.od-benefit h4 { font-size: 15px; margin: 0 0 8px; color: var(--ink); }
.od-benefit p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-3);
}

.od-itinerary {
  display: flex;
  flex-direction: column;
  border-inline-start: 1px solid var(--paper-line);
  margin-inline-start: 8px;
}
.od-day {
  position: relative;
  border: 0;
  padding: 0 0 8px;
  padding-inline-start: 22px;
}
.od-day::before {
  content: '';
  position: absolute;
  inset-block-start: 22px;
  inset-inline-start: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--gold-line);
  transition: background .25s var(--ease), box-shadow .25s var(--ease);
}
.od-day.is-open::before {
  background: var(--petrol);
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px rgba(240, 180, 41, .55);
}
.od-day__summary {
  width: 100%;
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 6px 12px;
  align-items: center;
  min-height: 52px;
  padding: 14px 8px 14px 4px;
  border-radius: var(--radius);
  text-align: start;
  transition: background .2s var(--ease);
}
.od-day__summary:hover { background: rgba(240, 180, 41, .06); }
.od-day__summary:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 2px;
}
.od-day__num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
html[lang="ar"] .od-day__num { letter-spacing: 0; text-transform: none; }
.od-day__nights { font-size: 12px; color: var(--ink-4); }
.od-day__title {
  grid-column: 1 / 4;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  font-family: var(--display);
  line-height: 1.35;
}
.od-day.is-open > .od-day__summary .od-day__title { color: var(--petrol); }
.od-day__summary .yg-chev {
  grid-column: 4;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--gold-deep);
  transition: transform .34s var(--ease-out);
  flex-shrink: 0;
}
html[dir="rtl"] .od-day__summary .yg-chev { transform: scaleX(1); }
.od-day.is-open > .od-day__summary .yg-chev { transform: rotate(180deg); }

.od-day__anim {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s var(--ease-out);
}
.od-day.is-open > .od-day__anim { grid-template-rows: 1fr; }
.od-day__body {
  overflow: hidden;
  min-height: 0;
  padding: 0 4px;
  max-width: 68ch;
}
.od-day.is-open > .od-day__anim > .od-day__body { padding-bottom: 18px; }
.od-day__body > p {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-2);
}
.od-day__meta { font-size: 13.5px !important; color: var(--ink-3) !important; }
.od-day__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin: 14px 0 8px;
}
html[lang="ar"] .od-day__label { letter-spacing: 0; text-transform: none; }
.od-day__sigs ul,
.od-day__extras ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.od-day__sigs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--petrol-3);
}
.od-day__sigs li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple);
}
.od-day__extras li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13.5px;
  color: var(--ink-2);
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
}
.od-day__extras b { color: var(--ink); white-space: nowrap; }

.od-highlights { display: grid; gap: 18px; }
.od-highlight {
  padding: 20px 0 4px;
  border-top: 1px solid var(--paper-line);
}
.od-highlight:first-child { border-top: 0; padding-top: 0; }
.od-highlight h4 { margin: 0 0 8px; font-size: 17px; }
.od-highlight p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-2);
  max-width: 68ch;
}

.od-deposit-note {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0 0 18px;
}
.od-departs { display: grid; gap: 16px; }
.od-depart {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-plate);
}
.od-depart__dates {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.od-depart__arrow { color: var(--ink-4); font-weight: 400; }
html[dir="rtl"] .od-depart__arrow { transform: scaleX(-1); }
.od-depart__flags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  grid-column: 1 / -1;
  order: -1;
}
.od-flag {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  color: var(--ink-2);
}
.od-flag--ok { background: var(--green-soft); color: #0a6b58; }
.od-flag--warn { background: var(--red-soft); color: var(--red-dark); }
.od-depart__pkg {
  display: block;
  font-size: 12px;
  color: var(--ink-4);
  margin-bottom: 4px;
}
.od-depart__row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.od-depart__from { font-size: 12px; color: var(--ink-3); }
.od-depart__row strong {
  font-family: var(--display);
  font-size: 22px;
  color: var(--ink);
}
.od-depart__member {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--ink-3);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.od-depart__value {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--ink-3);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.od-depart__room { margin-top: 4px; font-size: 12.5px; color: var(--ink-4); }
.od-depart .btn { white-space: nowrap; }

.od-know-list {
  margin: 0;
  padding-inline-start: 1.15em;
  display: grid;
  gap: 10px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-2);
}

.od-reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.od-review {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-md);
}
.od-review__head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.od-review__score {
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  color: var(--petrol);
}
.od-review__head strong { display: block; font-size: 14px; }
.od-review__date { font-size: 12px; color: var(--ink-4); }
.od-review p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
}

.od-summary.booking-box { top: 148px; z-index: 35; }
body.is-near-footer .od-summary.booking-box,
body.is-near-footer .booking-box {
  position: relative;
  top: auto;
}
.od-summary__earn {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--sand);
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 241, 201, .16);
}
.od-summary__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(240, 180, 41, .85);
  margin: 0 0 12px;
}
html[lang="ar"] .od-summary__label { letter-spacing: .06em; font-size: 12px; }
.od-facts {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
}
.od-facts li {
  padding: 10px 11px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 241, 201, .1);
}
.od-facts__k {
  display: block;
  font-size: 10.5px;
  color: rgba(226, 240, 240, .5);
  margin-bottom: 3px;
}
.od-facts__v {
  font-size: 13px;
  font-weight: 600;
  color: #fff1c9;
  line-height: 1.35;
}
.od-summary__deposit {
  font-size: 13px;
  margin: 0 0 14px;
  color: rgba(255, 241, 201, .78);
}
.od-summary__price { margin-bottom: 16px; }
.od-summary .btn--block + .btn--block { margin-top: 10px; }

.od-related {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--paper-line);
}
.od-related__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

/* ==========================================================================
   INTERNAL — Editorial primitives (about · contact · gold plus · car hire)
   ========================================================================== */
.ed + .ed { margin-top: 76px; }
.ed__head { max-width: 62ch; margin-bottom: 34px; }
.ed__title { font-size: clamp(24px, 2.9vw, 36px); margin-top: 16px; text-wrap: balance; }
.ed__lede {
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.9;
  color: var(--ink-3);
}
.ed-quote {
  font-family: var(--display);
  font-size: clamp(20px, 2.3vw, 29px);
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
  max-width: 30ch;
}
.ed-quote em { display: block; }

.ed-split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 64px;
  align-items: center;
}
.ed-split--text { align-items: start; }
.ed-body p { line-height: 1.9; color: var(--ink-2); margin-bottom: 14px; }
.ed-body p:last-child { margin-bottom: 0; }

/* Image with an offset gold frame — quiet luxury, no glass gimmicks */
.ed-figure { position: relative; }
.ed-figure img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
}
.ed-figure::after {
  content: '';
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-md);
}
[dir="rtl"] .ed-figure::after { inset: 18px 18px -18px -18px; }
.ed-figure--tall img { aspect-ratio: 4 / 5; max-height: 540px; }

/* Numbered process — replaces stat-strip clutter */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; }
.step { position: relative; padding-top: 26px; border-top: 1px solid var(--paper-line); }
.step::before {
  content: '';
  position: absolute;
  inset-block-start: -1px;
  inset-inline-start: 0;
  width: 40px;
  height: 2px;
  background: var(--gold);
}
.step__n {
  display: block;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold-deep);
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 19px; margin: 14px 0 8px; }
.step p { font-size: 14.5px; line-height: 1.8; color: var(--ink-3); }
.step__icon { color: var(--gold-deep); margin-bottom: 14px; }
.step__icon svg { width: 26px; height: 26px; }

/* Figures rail (about) — hairline separated, no boxes */
.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.figures__item { position: relative; padding: 4px 34px; }
.figures__item:first-child { padding-inline-start: 0; }
.figures__item + .figures__item::before {
  content: '';
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 1px;
  background: var(--paper-line);
}
.figures__v {
  font-family: var(--display);
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.figures__l { display: block; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--gold-deep); }
.figures__c { display: block; margin-top: 4px; font-size: 13.5px; color: var(--ink-3); line-height: 1.7; }

/* Paper & petrol panels */
.panel {
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-plate);
  padding: 32px;
}
.panel--dark {
  background:
    radial-gradient(420px 200px at 100% 0%, rgba(240, 180, 41, .16), transparent 60%),
    linear-gradient(165deg, #0b262d, #04141a);
  border-color: rgba(240, 180, 41, .28);
  box-shadow: var(--shadow-dark);
  color: rgba(226, 240, 240, .74);
}
.panel--dark h3, .panel--dark h2 { color: #fff; }
.panel--dark a { color: #fff1c9; }
.panel--dark a:hover { color: var(--gold); }

/* Label/value rows (contact) */
.drow { display: grid; gap: 4px; padding-block: 16px; border-top: 1px solid rgba(255, 241, 201, .16); }
.drow:first-of-type { border-top: 0; padding-top: 0; }
.drow__k { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(240, 180, 41, .82); }
html[lang="ar"] .drow__k { letter-spacing: .06em; font-size: 12.5px; }
.drow__v { font-size: 15px; color: #fff; word-break: break-word; }

/* Forms on paper */
.form-panel { padding: 34px; }
.form-grid { display: grid; gap: 18px; }
.field__label { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--ink); }
.field__control:focus { border-color: var(--ink); box-shadow: 0 0 0 3px var(--gold-faint); }
.form-note { font-size: 12.5px; color: var(--ink-4); line-height: 1.7; }

/* Membership plans */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-plate);
}
.plan--feature {
  border-color: rgba(240, 180, 41, .55);
  background: linear-gradient(180deg, #fffdf6, #fff 55%);
  box-shadow: 0 0 0 1px rgba(240, 180, 41, .18), var(--shadow-lift);
}
.plan__k { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
html[lang="ar"] .plan__k { letter-spacing: .06em; font-size: 12.5px; }
.plan h3 { font-size: 22px; margin-top: 10px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 22px; padding-bottom: 22px; border-bottom: 1px solid var(--paper-line); }
.plan .inclusions { grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0 0 26px; }
.plan .inclusions li { font-size: 14.5px; }
.plan .btn { margin-top: auto; }

/* Car hire fleet */
.inquiry { padding: 22px 24px; border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--paper-line); box-shadow: var(--shadow-plate); }
.fleet { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.fleet-item { display: flex; flex-direction: column; }
.fleet-item__media { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16 / 11; background: var(--paper-2); }
.fleet-item__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.fleet-item:hover .fleet-item__media img { transform: scale(1.05); }
.fleet-item h3 { font-size: 20px; margin-top: 20px; }
.fleet-item p { font-size: 14.5px; color: var(--ink-3); line-height: 1.75; margin-top: 8px; }
.fleet-item__foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--paper-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.link-gold {
  position: relative;
  padding-bottom: 3px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-deep);
  white-space: nowrap;
}
.link-gold::after {
  content: '';
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(.3);
  transform-origin: inline-start;
  transition: transform .45s var(--ease-out);
}
.link-gold:hover::after { transform: scaleX(1); }

/* FAQ list */
.faq { border-top: 1px solid var(--paper-line); }
.faq .accordion-item { border-bottom: 1px solid var(--paper-line); }

/* ---------------- Motion: reveal on scroll ---------------- */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  will-change: opacity, transform;
}
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-reveal [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
  .card, .row-card, .card__media img, .row-card__media img, .fleet-item__media img { transition: none !important; }
}

/* ============================ Misc ============================ */
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding-inline: 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-pill);
  font-size: 14px;
  color: var(--ink-2);
  cursor: pointer;
}
.pill:hover { border-color: var(--ink); }
.pill.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.accordion-item { border-bottom: 1px solid var(--paper-line); }
.accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding-block: 18px;
  text-align: start;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  transition: color .18s var(--ease);
}
.accordion-btn:hover { color: var(--gold-deep); }
.accordion-btn .yg-chev,
.accordion-btn svg {
  flex-shrink: 0;
  color: var(--gold-deep);
  transition: transform .34s var(--ease-out);
}
.accordion-item.is-open .accordion-btn .yg-chev,
.accordion-item.is-open .accordion-btn svg { transform: rotate(180deg); }
.accordion-panel {
  display: none;
  padding-bottom: 20px;
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.85;
  max-width: 68ch;
}
.accordion-item.is-open .accordion-panel { display: block; }

/* Smooth Yusr Golden accordion (offer / FAQ with inner wrap) */
.accordion-panel:has(.accordion-panel__inner) {
  display: grid;
  grid-template-rows: 0fr;
  padding-bottom: 0;
  transition: grid-template-rows .4s var(--ease-out);
}
.accordion-item.is-open .accordion-panel:has(.accordion-panel__inner) {
  display: grid;
  grid-template-rows: 1fr;
}
.accordion-panel__inner {
  overflow: hidden;
  min-height: 0;
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.85;
  max-width: 68ch;
}
.accordion-item.is-open .accordion-panel__inner { padding-bottom: 20px; }

.yg-chev { display: block; }

.whatsapp-fab {
  position: fixed;
  inset-block-end: 24px;
  inset-inline-end: 24px;
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #fff;
  box-shadow: var(--shadow-pop);
  z-index: 50;
  transition: transform .28s var(--ease-out), opacity .28s var(--ease);
}
.whatsapp-fab:hover { transform: scale(1.06); }
body.is-near-footer .whatsapp-fab {
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(.92);
}

/* ============================ Language blocks ============================ */
html[lang="ar"] [data-lang="en"] { display: none !important; }
html[lang="en"] [data-lang="ar"] { display: none !important; }

/* ============================ Legal pages ============================ */
.legal-layout {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
  padding-block: 56px 76px;
}
.legal-nav {
  position: sticky;
  top: 132px;
  display: flex;
  flex-direction: column;
  border-inline-start: 1px solid var(--paper-line);
}
.legal-nav__k { padding: 0 16px 14px; }
.legal-nav a {
  padding: 10px 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-3);
  border-inline-start: 2px solid transparent;
  margin-inline-start: -1px;
  transition: color .15s var(--ease), border-color .15s var(--ease);
}
.legal-nav a:hover { color: var(--ink); }
.legal-nav a.is-active {
  color: var(--ink);
  font-weight: 600;
  border-inline-start-color: var(--gold);
}
.legal-body { max-width: 76ch; }
.legal-body h1 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 24px; }
.legal-section {
  padding-block: 34px 38px;
  border-bottom: 1px solid var(--paper-line);
  scroll-margin-top: 120px;
}
.legal-section:first-of-type { padding-top: 0; }
.legal-section:last-child { border-bottom: 0; }
.legal-section h2 {
  position: relative;
  font-size: 24px;
  margin-bottom: 18px;
  padding-top: 18px;
}
.legal-section h2::before {
  content: '';
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 40px;
  height: 2px;
  background: var(--gold);
}
.legal-section h3 { font-size: 17px; margin: 24px 0 10px; color: var(--ink); }
.legal-section p { margin-bottom: 13px; line-height: 1.9; color: var(--ink-2); font-size: 15px; }
.legal-section ul { padding-inline-start: 20px; list-style: disc; display: flex; flex-direction: column; gap: 9px; margin-bottom: 14px; }
.legal-section li { color: var(--ink-2); font-size: 15px; line-height: 1.8; }
.legal-section li::marker { color: var(--gold-deep); }
.legal-section a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.legal-updated { font-size: 13px; color: var(--ink-4); margin-bottom: 28px; }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .legal-nav {
    position: static;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    border: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .legal-nav::-webkit-scrollbar { display: none; }
  .legal-nav a { white-space: nowrap; border-inline-start: 0; border-bottom: 2px solid transparent; }
  .legal-nav a.is-active { border-bottom-color: var(--gold); }
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ============================ Responsive ============================ */
@media (max-width: 1200px) {
  .carousel__track > * {
    flex-basis: calc((100% - 40px) / 3);
    width: calc((100% - 40px) / 3);
    max-width: calc((100% - 40px) / 3);
  }
  .carousel__track--3 > * {
    flex-basis: calc((100% - 20px) / 2);
    width: calc((100% - 20px) / 2);
    max-width: calc((100% - 20px) / 2);
  }
  .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .link-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .offer-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .od-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .od-summary.booking-box,
  .booking-box { position: static; }
  .od-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .od-reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .od-benefits__grid { grid-template-columns: 1fr; }
  .od-depart { grid-template-columns: 1fr; }
  .listing { grid-template-columns: 232px minmax(0, 1fr); gap: 36px; }
  .ed-split { gap: 44px; }
  .search-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-grid .btn { grid-column: span 2; }
}

@media (max-width: 900px) {
  .carousel__track > *,
  .carousel__track--3 > *,
  .carousel__track--wide > * {
    flex-basis: calc((100% - 16px) / 2);
    width: calc((100% - 16px) / 2);
    max-width: calc((100% - 16px) / 2);
  }
  .carousel__track { gap: 16px; }
  .listing { grid-template-columns: minmax(0, 1fr); gap: 0; }

  /* Filters become a bottom sheet on tablet & phone */
  .filter-trigger { display: inline-flex; }
  .filters {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 80;
    max-height: 84vh;
    overflow-y: auto;
    padding: 22px var(--gutter);
    background: var(--paper);
    border-top: 1px solid var(--gold-line);
    border-start-start-radius: 22px;
    border-start-end-radius: 22px;
    box-shadow: 0 -22px 60px rgba(4, 20, 26, .34);
    transform: translateY(101%);
    visibility: hidden;
    transition: transform .38s var(--ease-out), visibility .38s var(--ease-out);
  }
  .filters.is-open { transform: none; visibility: visible; }
  .frail__foot {
    display: flex;
    position: sticky;
    inset-block-end: 0;
    margin-top: 20px;
    padding-block: 14px calc(6px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--paper-line);
    background: var(--paper);
  }
  .frail__foot .btn { width: 100%; }

  .row-card { grid-template-columns: 224px minmax(0, 1fr); }
  .row-card__side { grid-column: span 2; padding-top: 0; background: #fff; }
  .row-card__side::before { inset-block: 0 auto; inset-inline: 22px; width: auto; height: 1px; background: var(--paper-line); }
  .row-card__side .card__price { border-top: 0; }
  .masthead__body, .masthead--figure .masthead__body { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .masthead__figure { aspect-ratio: 16 / 10; }
  .ed-split, .ed-split--text { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .ed + .ed { margin-top: 56px; }
  .ed-figure::after, [dir="rtl"] .ed-figure::after { inset: 14px -14px -14px 14px; }
  [dir="rtl"] .ed-figure::after { inset: 14px 14px -14px -14px; }
  .steps, .fleet { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .prose ul { grid-template-columns: minmax(0, 1fr); }
  .figures__item { padding: 4px 22px; }
  .split, .lux-band { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .value-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .gallery { grid-template-columns: 1fr 1fr; height: auto; }
  .gallery > a:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }
  .gallery > a:not(:first-child) { aspect-ratio: 4 / 3; }
  .gallery > a:nth-child(n+4) { display: none; }
  .od-gallery__grid {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }
  .od-gallery__main { aspect-ratio: 16 / 10; }
  .od-gallery__stack {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }
  .od-gallery__stack a { aspect-ratio: 4 / 3; }
  .od-gallery__stage {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }
  .od-gallery__hero { aspect-ratio: 16 / 10; min-height: 220px; }
  .od-gallery__mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .od-gallery__tile--1,
  .od-gallery__tile--2,
  .od-gallery__tile--3 {
    grid-column: auto;
    aspect-ratio: 16 / 10;
  }
  .od-gallery__tile--4 { display: none; }
  .od-map { padding: 14px 12px 10px; margin-bottom: 22px; }
  .od-map__head { flex-wrap: wrap; align-items: flex-start; }
  .od-map__panel {
    grid-template-columns: 72px 1fr;
    inset-inline: 8px;
    width: auto;
  }
  .od-map__legend { gap: 8px 12px; }
  .od-lightbox__frame { grid-template-columns: 1fr; gap: 10px; }
  .od-lightbox__nav { display: none; }
  .od-lightbox__close { inset-block-start: 12px; inset-inline-end: 12px; position: fixed; }
  .od-tabs { top: 60px; }
  .od-related__grid { grid-template-columns: minmax(0, 1fr); }
  .od-reviews { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 768px) {
  :root { --gutter: 16px; }

  .utility-bar { display: none; }
  .header-main { height: 60px; gap: 8px; min-width: 0; }
  .search-pill { display: none; }
  .brand { min-width: 0; max-width: min(46vw, 180px); }
  .brand__ar {
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .header-actions { gap: 8px; flex-shrink: 0; }
  .locale-btn { height: 36px; padding-inline: 8px 10px; gap: 6px; }
  .locale-btn__chev { display: none; }
  .auth-trigger { font-size: 13px; gap: 4px; max-width: 42vw; }
  .auth-chip { height: 36px; padding-inline: 4px 10px; font-size: 13px; max-width: 42vw; }
  .auth-chip__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 22vw;
  }
  .header-link--desktop { display: none; }
  .nav-vip { display: none; }
  .header-nav .container {
    gap: 0;
    height: 48px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }
  .header-nav .container::-webkit-scrollbar { display: none; }
  .nav-list {
    gap: 18px;
    flex-wrap: nowrap;
    padding-inline-end: 12px;
  }
  .nav-list li { scroll-snap-align: start; }
  .nav-list a {
    height: 48px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
  }
  .nav-list svg { flex-shrink: 0; }

  /* Mobile: ~1.15 cards peek — swipeable */
  .carousel__track > *,
  .carousel__track--3 > *,
  .carousel__track--wide > * {
    flex-basis: 82%;
    width: 82%;
    max-width: 82%;
  }
  .carousel__nav { display: none; }

  .card__title { font-size: 15px; min-height: 0; -webkit-line-clamp: 2; }
  .price-now { font-size: 20px; }
  .card__flag { font-size: 10px; max-width: calc(100% - 48px); }

  .grid-3, .grid-4, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .row-card { grid-template-columns: minmax(0, 1fr); }
  .row-card__media { aspect-ratio: 16 / 10; }
  .row-card__body { padding: 18px; }
  .row-card__side { grid-column: auto; padding: 0 18px 20px; }
  .row-card__side::before { inset-inline: 18px; }
  .inclusions { grid-template-columns: minmax(0, 1fr); gap: 8px; }

  /* Internal pages — phone */
  .shell { padding-block: 34px 52px; }
  .shell--tight { padding-block: 24px 40px; }
  .masthead .breadcrumb { padding-top: 18px; }
  .masthead__body { padding-block: 22px 28px; }
  .masthead__title { margin-top: 16px; max-width: none; }
  .masthead__lede { font-size: 15px; margin-top: 12px; }
  .meridian__item { padding: 14px 18px; flex: 1 1 42%; }
  .meridian__v { font-size: 18px; }
  .tools, .results-bar { margin-bottom: 20px; }
  .results-stack { gap: 16px; }
  .steps, .fleet, .figures { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .figures__item { padding: 0; }
  .figures__item + .figures__item { padding-top: 22px; margin-top: 22px; border-top: 1px solid var(--paper-line); }
  .figures__item + .figures__item::before { display: none; }
  .panel, .form-panel, .plan { padding: 24px; border-radius: var(--radius-md); }
  .offer-head { padding-block: 22px 20px; }
  .prose h3 { font-size: 19px; margin-top: 32px; }
  .booking-box { padding: 22px; border-radius: var(--radius-md); }
  body[data-page="offer"] { padding-bottom: 0; }
  body[data-page="offer"].has-offer-bar {
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
  }
  .offer-bar { display: flex; }
  .offer-bar + .whatsapp-fab, body[data-page="offer"] .whatsapp-fab { display: none; }
  .od { padding-block: 12px 96px; }
  .od-hero__title { max-width: none; }
  .od-section { scroll-margin-top: 120px; }
  .od-day__summary {
    grid-template-columns: 1fr auto;
    gap: 4px 10px;
  }
  .od-day__title { grid-column: 1; font-size: 16px; }
  .od-day__num,
  .od-day__nights { grid-column: 1; }
  .od-day__summary .yg-chev {
    grid-column: 2;
    grid-row: 1 / span 3;
  }
  .od-day { scroll-margin-top: 130px; }
  .legal-layout { padding-block: 26px 48px; }
  .benefits { grid-template-columns: minmax(0, 1fr); }
  .cat-grid { grid-template-columns: minmax(0, 1fr); }
  .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .lux-locked { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-grid { grid-template-columns: minmax(0, 1fr); }
  .search-grid .btn { grid-column: auto; }
  .section { padding-block: 28px; }
  .section--tight { padding-block: 20px; }
  .lux-band { padding: 24px; }
  .support-band .container { padding-block: 28px; }
  .whatsapp-fab { inset-block-end: 16px; inset-inline-end: 16px; width: 50px; height: 50px; }
}

@media (max-width: 420px) {
  .carousel__track > *,
  .carousel__track--3 > *,
  .carousel__track--wide > * {
    flex-basis: 88%;
    width: 88%;
    max-width: 88%;
  }
}

/* ==========================================================================
   Car hire — ch-* scoped (Yusr Golden multi-supplier booking)
   ========================================================================== */
.ch-hero {
  position: relative;
  isolation: isolate;
  color: #fff1c9;
  padding-block: 18px 42px;
  overflow: hidden;
  min-height: min(72vh, 760px);
}
.ch-hero__bg,
.ch-hero__veil { position: absolute; inset: 0; }
.ch-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}
.ch-hero__veil {
  background:
    linear-gradient(180deg, rgba(4, 20, 26, .72) 0%, rgba(4, 20, 26, .55) 42%, rgba(4, 20, 26, .88) 100%),
    radial-gradient(120% 80% at 80% 10%, rgba(240, 180, 41, .22), transparent 55%);
}
.ch-hero__inner { position: relative; z-index: 1; }
.ch-hero__crumbs { color: rgba(255, 241, 201, .55); }
.ch-hero__crumbs a { color: rgba(255, 241, 201, .78); }
.ch-hero__copy { max-width: 44rem; padding-block: 18px 22px; }
.ch-hero__title {
  font-family: var(--display);
  font-size: clamp(1.85rem, 4.4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-top: 10px;
  text-shadow: 0 2px 18px rgba(4, 20, 26, .5), 0 1px 3px rgba(4, 20, 26, .55);
}
.ch-hero__title em { color: var(--gold); font-style: normal; }
.ch-hero__lede {
  margin-top: 12px;
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.7;
  color: rgba(255, 241, 201, .78);
  max-width: 46ch;
}

.ch-search {
  margin-top: 8px;
  padding: 18px;
  border-radius: var(--radius-xl);
  background: rgba(255, 252, 246, .96);
  border: 1px solid rgba(255, 241, 201, .28);
  box-shadow: var(--shadow-lift);
  color: var(--ink);
  backdrop-filter: blur(10px);
}
.ch-search__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(11.25rem, 1.1fr) minmax(0, .72fr) minmax(11.25rem, 1.1fr) minmax(0, .72fr) minmax(0, 1.05fr) auto;
  gap: 12px;
  align-items: end;
}
.ch-field { min-width: 0; }
.ch-field--wide { grid-column: span 1; }
.ch-date-field { min-width: 11.25rem; }
.ch-control-icon { position: relative; }
.ch-control-icon > svg {
  position: absolute;
  inset-inline-start: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  stroke: var(--ink-3);
  fill: none;
  pointer-events: none;
  z-index: 1;
}
.ch-control-icon .field__control {
  padding-inline-start: 40px;
  min-height: 48px;
}
/* One calendar affordance: keep custom SVG, hide native picker icon */
.ch-control-icon input[type="date"] {
  position: relative;
  padding-inline-end: 12px;
  font-variant-numeric: tabular-nums;
  min-width: 0;
  width: 100%;
}
.ch-control-icon input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  cursor: pointer;
}
.ch-control-icon input[type="date"]::-webkit-datetime-edit,
.ch-control-icon input[type="date"]::-webkit-datetime-edit-fields-wrapper {
  padding: 0;
}
.ch-control-icon input[type="date"]::-webkit-datetime-edit-text,
.ch-control-icon input[type="date"]::-webkit-datetime-edit-month-field,
.ch-control-icon input[type="date"]::-webkit-datetime-edit-day-field,
.ch-control-icon input[type="date"]::-webkit-datetime-edit-year-field {
  padding: 0 1px;
}
.ch-search .field__control,
.ch-search select.field__control {
  border-color: var(--paper-line);
  background: #fff;
  font-size: 15px;
}
.ch-search__actions { display: flex; align-items: end; }
.ch-search__btn {
  min-height: 48px;
  min-width: 148px;
  width: 100%;
  padding-inline: 22px;
  white-space: nowrap;
}
.ch-search__extra {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--paper-line);
}
.ch-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 14px;
  color: var(--ink-2);
  cursor: pointer;
}
.ch-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold-deep);
}
.ch-dropoff { flex: 1 1 220px; max-width: 360px; }
.ch-duration-picks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-inline-start: auto;
  font-size: 13px;
  color: var(--ink-3);
}
.ch-duration-picks button {
  min-height: 40px;
  padding-inline: 14px;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
}
.ch-duration-picks button:hover {
  border-color: var(--gold-deep);
  color: var(--gold-deep);
}

.ch-age-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.ch-age-chips label {
  position: relative;
  cursor: pointer;
}
.ch-age-chips input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.ch-age-chips span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  transition: .18s var(--ease);
}
.ch-age-chips input:checked + span {
  background: var(--petrol);
  border-color: var(--petrol);
  color: #fff1c9;
}
.ch-age-chips input:focus-visible + span {
  box-shadow: 0 0 0 3px var(--gold-faint);
}

/* Location dropdown — desktop popover / mobile sheet */
.ch-location { position: relative; }
.ch-location-menu {
  position: absolute;
  inset-inline: 0;
  top: calc(100% + 8px);
  z-index: 40;
  max-height: min(62vh, 420px);
  overflow: auto;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--paper-line);
  box-shadow: var(--shadow-pop);
}
.ch-location-menu__sheet { padding: 10px; }
.ch-location-menu__top {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 8px 14px;
  border-bottom: 1px solid var(--paper-line);
  margin-bottom: 8px;
}
.ch-location-menu__close {
  min-height: 44px;
  padding-inline: 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--paper-line);
  background: var(--bg-soft);
  font-weight: 600;
}
.ch-location-group + .ch-location-group { margin-top: 12px; }
.ch-location-group__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-4);
  padding: 6px 8px;
}
html[lang="ar"] .ch-location-group__title { letter-spacing: .02em; }
.ch-location-item {
  width: 100%;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 64px;
  padding: 8px;
  border-radius: var(--radius);
  text-align: start;
}
.ch-location-item:hover,
.ch-location-item:focus-visible {
  background: var(--bg-warm);
}
.ch-location-item img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--paper-2);
}
.ch-location-item__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ch-location-item__text strong {
  font-size: 14.5px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ch-location-item__text em {
  font-style: normal;
  font-size: 12.5px;
  color: var(--ink-3);
}
.ch-location-item__icon { color: var(--gold-deep); }
.ch-location-empty {
  padding: 18px 10px;
  color: var(--ink-3);
  font-size: 14px;
}

.ch-recent {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}
.ch-recent__label {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 241, 201, .7);
}
.ch-recent__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ch-recent__chip {
  min-height: 40px;
  padding-inline: 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 241, 201, .28);
  background: rgba(4, 20, 26, .35);
  color: #fff1c9;
  font-size: 12.5px;
  max-width: min(100%, 280px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ch-band { padding-block: 56px; }
.ch-band__head { max-width: 46rem; margin-bottom: 28px; }
.ch-band__title {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  margin-top: 10px;
}
.ch-band__lede {
  margin-top: 10px;
  color: var(--ink-3);
  line-height: 1.7;
  font-size: 15px;
}
.ch-supplier-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ch-supplier-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 0;
  max-width: 100%;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--paper-line);
  background: #fff;
  box-shadow: var(--shadow-plate);
}
.ch-supplier-pill__logo,
.ch-supplier-logo {
  display: block;
  height: 32px;
  width: auto;
  max-width: min(140px, 42vw);
  object-fit: contain;
  object-position: center;
}
.ch-supplier-pill__logo--text,
.ch-supplier-logo--text,
.ch-loading__logo--text,
.ch-card__supplier-logo--text {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--petrol);
  letter-spacing: .02em;
  white-space: nowrap;
}

.ch-why { background: linear-gradient(180deg, var(--paper) 0%, var(--bg) 100%); }
.ch-why__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.ch-why__item {
  padding: 22px;
  border-radius: var(--radius-xl);
  background: #fff;
  border: 1px solid var(--paper-line);
  box-shadow: var(--shadow-plate);
}
.ch-why__mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--sand);
  color: var(--gold-deep);
  font-weight: 800;
  margin-bottom: 14px;
}
.ch-why__item h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.ch-why__item p {
  color: var(--ink-3);
  line-height: 1.75;
  font-size: 14.5px;
}

.ch-results {
  padding-block: 24px 64px;
  background: var(--bg);
}
.ch-sticky {
  position: sticky;
  top: 0;
  z-index: 25;
  background: rgba(250, 248, 244, .92);
  border-bottom: 1px solid var(--paper-line);
  backdrop-filter: blur(12px);
  margin-bottom: 18px;
}
.ch-sticky__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding-block: 10px;
}
.ch-sticky__inner .btn--sm {
  min-height: 44px;
  height: 44px;
  flex: 0 0 auto;
}
.ch-results-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  min-width: 0;
}
.ch-filters-open {
  display: none;
  flex: 0 0 auto;
  min-height: 44px;
  padding-inline: 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--paper-line);
  background: #fff;
  font-weight: 700;
  color: var(--ink);
}
.ch-cats {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  padding-block: 4px 8px;
  margin-inline: -2px;
  padding-inline: 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex: 1;
  min-width: 0;
}
.ch-cats::-webkit-scrollbar { display: none; }
.ch-cat {
  flex: 0 0 auto;
  scroll-snap-align: start;
  min-width: 118px;
  min-height: 64px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--paper-line);
  background: #fff;
  text-align: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.ch-cat__name { font-size: 14px; font-weight: 700; color: var(--ink); }
.ch-cat__price { font-size: 12px; color: var(--ink-3); }
.ch-cat.is-active {
  border-color: var(--petrol);
  background: var(--petrol);
  box-shadow: var(--shadow-plate);
}
.ch-cat.is-active .ch-cat__name,
.ch-cat.is-active .ch-cat__price { color: #fff1c9; }

.ch-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.ch-filters {
  position: sticky;
  top: 80px;
  padding: 18px;
  border-radius: var(--radius-xl);
  background: #fff;
  border: 1px solid var(--paper-line);
  box-shadow: var(--shadow-plate);
}
.ch-filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.ch-filters__head h2 { font-size: 17px; }
.ch-filters__head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ch-filters-close,
.ch-filters__foot { display: none; }
.ch-filter-group {
  padding-block: 14px;
  border-top: 1px solid var(--paper-line);
}
.ch-filter-group h3 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}
.ch-filter-group .ch-check {
  width: 100%;
  min-height: 44px;
}
.ch-range input[type="range"] {
  width: 100%;
  accent-color: var(--gold-deep);
  min-height: 28px;
}
.ch-range__meta {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-3);
}
.ch-filters-backdrop {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(4, 20, 26, .48);
}

.ch-results__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 16px;
}
.ch-results__meta #ch-count {
  font-size: 16px;
  font-weight: 700;
}
.ch-results__hint {
  font-size: 13px;
  color: var(--ink-3);
}
.ch-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ch-card {
  display: grid;
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #fff;
  border: 1px solid var(--paper-line);
  box-shadow: var(--shadow-plate);
}
.ch-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef1f4;
  aspect-ratio: 16 / 10;
  min-height: 180px;
  overflow: hidden;
}
.ch-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  padding: 10px 12px;
}
.ch-card__badge {
  position: absolute;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: rgba(7, 26, 31, .82);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.ch-card__badge--ok { background: rgba(0, 168, 138, .92); }
.ch-card__body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.ch-card__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}
.ch-card__top h3 {
  font-size: 18px;
  line-height: 1.3;
}
.ch-card__top h3 span {
  display: inline-block;
  margin-inline-start: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
}
.ch-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-3);
}
.ch-card__specs span::after {
  content: '·';
  margin-inline-start: 8px;
  color: var(--ink-4);
}
.ch-card__specs span:last-child::after { content: none; }
.ch-card__supplier {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  max-width: min(148px, 46vw);
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--paper-line);
  background: #fff;
}
.ch-card__supplier-logo {
  display: block;
  height: 28px;
  width: auto;
  max-width: 128px;
  object-fit: contain;
}
.ch-card__incl {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ch-card__incl li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-2);
}
.ch-card__incl svg { color: var(--green); flex-shrink: 0; }
.ch-card__pickup {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.5;
}
.ch-card__foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--paper-line);
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}
.ch-card__day {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.ch-card__day strong {
  font-size: 22px;
  color: var(--ink);
}
.ch-card__day span,
.ch-card__total {
  font-size: 13px;
  color: var(--ink-3);
}
.ch-card__points {
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold-deep);
}
.ch-card__cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: min(100%, 180px);
}
.ch-card__cta .btn {
  min-height: 44px;
  justify-content: center;
}
.ch-card__mail {
  font-size: 12px;
  text-align: center;
  color: var(--ink-3);
  word-break: break-all;
}
.ch-empty {
  padding: 28px 18px;
  text-align: center;
  color: var(--ink-3);
  border: 1px dashed var(--paper-line);
  border-radius: var(--radius-md);
  background: #fff;
}

/* Loading overlay */
.ch-loading {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(4, 20, 26, .72);
  backdrop-filter: blur(8px);
}
.ch-loading[hidden] { display: none !important; }
.ch-loading__panel {
  width: min(100%, 520px);
  padding: 28px 22px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #0b262d, #04141a);
  border: 1px solid rgba(240, 180, 41, .28);
  color: #fff1c9;
  text-align: center;
  box-shadow: var(--shadow-dark);
}
.ch-loading__title {
  font-family: var(--display);
  font-size: clamp(1.05rem, 3.4vw, 1.35rem);
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 22px;
}
.ch-loading__suppliers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  text-align: start;
}
.ch-loading__item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 241, 201, .14);
  animation: chPulse 1.4s ease-in-out infinite;
  animation-delay: calc(var(--ch-i, 0) * 120ms);
}
.ch-loading__logo {
  display: block;
  height: 30px;
  width: auto;
  max-width: min(140px, 58vw);
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .25));
}
.ch-loading__spin {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 241, 201, .25);
  border-top-color: var(--gold);
  animation: chSpin .8s linear infinite;
  flex-shrink: 0;
}
.ch-loading__more {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255, 241, 201, .65);
}
@keyframes chSpin { to { transform: rotate(360deg); } }
@keyframes chPulse {
  0%, 100% { opacity: .72; }
  50% { opacity: 1; }
}

body.ch-loading-open,
body.ch-filters-open,
body.ch-loc-open { overflow: hidden; }

.ch-faq .measure { max-width: 760px; }

@media (max-width: 1180px) {
  .ch-search__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ch-field--wide,
  .ch-age-field,
  .ch-search__actions { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .ch-layout { grid-template-columns: minmax(0, 1fr); }
  .ch-filters-open { display: inline-flex; align-items: center; }
  .ch-filters {
    position: fixed;
    inset-block: 0;
    inset-inline-start: 0;
    width: min(100%, 380px);
    max-width: 100%;
    z-index: 60;
    top: 0;
    border-radius: 0;
    transform: translateX(-105%);
    transition: transform .28s var(--ease-out);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 96px;
  }
  [dir="rtl"] .ch-filters { transform: translateX(105%); }
  .ch-filters.is-open { transform: translateX(0); }
  .ch-filters-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
    padding-inline: 12px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--paper-line);
    background: var(--bg-soft);
    font-weight: 600;
  }
  .ch-filters__foot {
    display: block;
    position: sticky;
    bottom: 0;
    margin-top: 12px;
    padding-top: 12px;
    background: linear-gradient(180deg, transparent, #fff 28%);
  }
  .ch-filters-apply {
    width: 100%;
    min-height: 48px;
  }
  .ch-why__grid { grid-template-columns: minmax(0, 1fr); }
  .ch-card {
    grid-template-columns: minmax(0, 1fr);
  }
  .ch-card__media {
    aspect-ratio: 16 / 10;
    min-height: 160px;
  }
  .ch-card__media img {
    padding: 8px 10px;
    object-fit: contain;
  }
}

@media (max-width: 760px) {
  .ch-hero {
    min-height: 0;
    padding-block: 12px 28px;
  }
  .ch-hero__copy { padding-block: 10px 14px; }
  .ch-search { padding: 14px; border-radius: var(--radius-md); min-width: 0; max-width: 100%; overflow: hidden; }
  .ch-search__grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ch-field,
  .ch-date-field,
  .ch-control-icon { min-width: 0; max-width: 100%; }
  .ch-search .field__control,
  .ch-control-icon input[type="date"] {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .ch-field--wide,
  .ch-age-field,
  .ch-search__actions { grid-column: auto; }
  .ch-search__extra { flex-direction: column; align-items: stretch; }
  .ch-duration-picks {
    margin-inline-start: 0;
    width: 100%;
  }
  .ch-duration-picks button { flex: 1 1 auto; }
  .ch-dropoff { max-width: none; }

  .ch-location-menu {
    position: fixed;
    inset: 0;
    top: 0;
    max-height: none;
    border-radius: 0;
    z-index: 70;
    border: 0;
  }
  .ch-location-menu__top { display: flex; }
  .ch-location-menu__sheet {
    min-height: 100%;
    padding: 14px 14px 28px;
    background: #fff;
  }
  .ch-location-item { min-height: 68px; }

  .ch-band { padding-block: 40px; }
  .ch-supplier-row { gap: 8px; }
  .ch-supplier-pill { min-height: 44px; padding: 5px 8px; }
  .ch-supplier-pill__logo,
  .ch-supplier-logo { height: 28px; max-width: min(120px, 40vw); }
  .ch-card__supplier-logo { height: 26px; max-width: 110px; }
  .ch-loading__logo { height: 28px; }
  .ch-sticky__inner { gap: 8px; min-height: 58px; }
  .ch-sticky__summary { font-size: 13px; }
  .ch-results-toolbar { align-items: stretch; }
  .ch-card__body { padding: 14px; }
  .ch-card__foot { flex-direction: column; align-items: stretch; }
  .ch-card__cta { min-width: 0; width: 100%; }
  .ch-loading__suppliers { grid-template-columns: minmax(0, 1fr); }
  .ch-loading__panel { padding: 22px 16px; }
}

@media (max-width: 420px) {
  .ch-cat { min-width: 108px; min-height: 60px; }
  .ch-age-chips span { font-size: 13px; }
  .ch-card__top { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .ch-loading__item,
  .ch-loading__spin,
  .ch-filters { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   Hotels page (ht-* / hxh / hxs) — Yusr Golden luxury booking UX
   Mobile-first; does not touch ch-* or od-*
   ========================================================================== */

body[data-page="hotels"] { overflow-x: hidden; }
body.ht-panel-open { overflow: hidden; }

/* ---- Hero full-bleed ---- */
.hxh {
  position: relative;
  min-height: clamp(320px, 52vw, 520px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
}
.hxh__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hxh__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hxh::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(4,20,26,.45) 0%, rgba(4,20,26,.62) 42%, rgba(4,20,26,.92) 100%),
    radial-gradient(600px 280px at 80% 10%, rgba(240,180,41,.22), transparent 60%);
}
.hxh__inner {
  position: relative;
  z-index: 2;
  padding-block: 36px 48px;
  max-width: 920px;
}
.hxh__crumbs { color: rgba(255,255,255,.72); margin-bottom: 14px; }
.hxh__crumbs a { color: rgba(255,255,255,.86); }
.hxh__title {
  font-family: var(--display);
  font-size: clamp(28px, 5.2vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin: 8px 0 12px;
  letter-spacing: -.02em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(4, 20, 26, .55), 0 1px 3px rgba(4, 20, 26, .6);
}
.hxh__lede {
  font-size: clamp(14px, 1.8vw, 17px);
  color: rgba(255,255,255,.9);
  max-width: 46ch;
  line-height: 1.65;
  text-shadow: 0 1px 10px rgba(4, 20, 26, .5);
}
.hxh__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 22px;
}
.hx-stat { display: flex; flex-direction: column; gap: 2px; }
.hx-stat__v {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  color: var(--gold);
}
.hx-stat__k { font-size: 12px; color: rgba(255,255,255,.65); }

/* ---- Search wrap ---- */
.hxs-wrap {
  position: relative;
  z-index: 40;
  margin-top: -36px;
  padding-bottom: 8px;
}
.ht-search {
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lift);
  padding: 16px 18px 18px;
}
.ht-search__hint {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}
.ht-search__hint svg { color: var(--gold-deep); flex-shrink: 0; }
.ht-search__hint em { color: var(--gold-deep); font-style: normal; }

.ht-search__bar {
  display: grid;
  grid-template-columns: minmax(0,1.5fr) minmax(0,.85fr) minmax(0,.85fr) minmax(0,.95fr) auto;
  gap: 10px;
  align-items: end;
}
.ht-field { position: relative; min-width: 0; }
.ht-field[data-panel="checkout"] .ht-field__btn {
  /* Check-out: text only — calendar icon lives on check-in to avoid double icons */
  padding-inline-start: 14px;
}
.ht-intents {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.ht-intent {
  border: 1px solid var(--line-2);
  background: var(--bg);
  color: var(--ink-2);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  transition: border-color .15s var(--ease), background .15s var(--ease), color .15s var(--ease);
}
.ht-intent:hover { border-color: var(--gold); color: var(--ink); }
.ht-intent.is-on {
  border-color: var(--gold-deep);
  background: var(--gold-faint);
  color: var(--gold-deep);
}
.ht-field__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
html[lang="ar"] .ht-field__label { letter-spacing: .04em; }
.ht-field__btn {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--bg);
  text-align: start;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.ht-field__btn svg { flex-shrink: 0; color: var(--ink-3); }
.ht-field__value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ht-field.is-open .ht-field__btn,
.ht-field__btn:focus-visible {
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px var(--gold-faint);
  outline: none;
}
.ht-search__submit {
  min-height: 52px;
  padding-inline: 28px;
  white-space: nowrap;
}

.ht-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(4,20,26,.45);
}

/* ---- Popovers / panels ---- */
.ht-pop {
  position: absolute;
  inset-block-start: calc(100% + 8px);
  inset-inline: 0;
  z-index: 80;
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: 14px;
  box-shadow: var(--shadow-dark);
  padding: 14px;
  max-height: min(72vh, 560px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.ht-pop--dest { min-width: min(100vw - 32px, 520px); width: max(100%, 420px); }
.ht-pop--dates { min-width: min(100vw - 32px, 640px); width: max(100%, 520px); }
.ht-pop--guests { min-width: min(100vw - 32px, 360px); }
.ht-field[data-panel="checkin"] .ht-pop--dates,
.ht-field[data-panel="checkout"] .ht-pop--dates,
.ht-field[data-panel="dates"] .ht-pop--dates { inset-inline-end: auto; }
[dir="rtl"] .ht-field[data-panel="checkin"] .ht-pop--dates,
[dir="rtl"] .ht-field[data-panel="checkout"] .ht-pop--dates,
[dir="rtl"] .ht-field[data-panel="dates"] .ht-pop--dates { inset-inline-start: auto; inset-inline-end: 0; }

.ht-pop__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.ht-pop__head strong { font-size: 16px; }
.ht-pop__x {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--ink-2);
}
.ht-pop__x:hover { background: var(--bg-soft); }
.ht-pop__foot {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--paper-line);
}
.ht-pop__foot .btn { min-height: 44px; }

.ht-dest-input {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.ht-dest-input svg { position: absolute; inset-inline-start: 12px; color: var(--ink-3); pointer-events: none; }
.ht-dest-input input {
  width: 100%;
  min-height: 48px;
  padding-inline: 42px 12px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  font-size: 15px;
}
.ht-dest-input input:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px var(--gold-faint); }
.ht-dest-clear {
  position: absolute;
  inset-inline-end: 8px;
  font-size: 12px;
  color: var(--ink-3);
  text-decoration: underline;
  min-height: 44px;
  padding-inline: 8px;
}

.ht-dest-sec { margin-bottom: 18px; }
.ht-dest-sec h4 {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 10px;
}
.ht-dest-sec h4 svg { color: var(--gold-deep); }
.ht-suggest { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.ht-suggest button {
  width: 100%;
  display: flex; align-items: flex-start; gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  text-align: start;
  font-size: 14px;
  color: var(--ink);
}
.ht-suggest button:hover { background: rgba(240,180,41,.1); }
.ht-suggest svg { flex-shrink: 0; margin-top: 2px; color: var(--gold-deep); }

.ht-places {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.ht-place {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: start;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  min-width: 0;
}
.ht-place img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  background: var(--paper-2);
}
.ht-place:hover img { box-shadow: 0 0 0 2px var(--gold); }
.ht-dest-empty { font-size: 13px; color: var(--ink-3); padding: 8px; }

/* Date modes */
.ht-date-modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}
.ht-mode {
  min-height: 44px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-2);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  padding-inline: 8px;
}
.ht-mode.is-on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.ht-date-note { font-size: 13px; color: var(--ink-3); margin-bottom: 10px; }
.ht-chips-row { display: flex; flex-wrap: wrap; gap: 8px; }
.ht-chip {
  min-height: 40px;
  padding-inline: 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-2);
  font-size: 13px;
  color: var(--ink-2);
}
.ht-chip.is-on { background: var(--sand); border-color: var(--gold); color: var(--ink); font-weight: 600; }

.ht-cal-nav {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 6px;
  align-items: start;
}
.ht-cal-nav > button {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  margin-top: 28px;
}
.ht-cal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ht-month__title {
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
}
.ht-month__dow,
.ht-month__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
}
.ht-month__dow span { font-size: 11px; color: var(--ink-4); padding: 4px 0; }
.ht-day {
  aspect-ratio: 1;
  min-height: 36px;
  border-radius: 50%;
  font-size: 13px;
  color: var(--ink);
}
.ht-day:not(.is-empty):not(:disabled):hover { background: var(--sand); }
.ht-day.is-empty { visibility: hidden; }
.ht-day.is-past { color: var(--ink-4); opacity: .45; }
.ht-day.is-in,
.ht-day.is-out { background: var(--ink); color: #fff; font-weight: 700; }
.ht-day.is-range { background: rgba(240,180,41,.22); border-radius: 0; }
.ht-cal-summary {
  display: flex; flex-wrap: wrap; gap: 10px 16px;
  margin-top: 12px; font-size: 13px; color: var(--ink-2);
}

.ht-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--paper-line);
}
.ht-stepper strong { display: block; font-size: 15px; }
.ht-stepper span { font-size: 12px; color: var(--ink-3); }
.ht-stepper__ctrl {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.ht-stepper__ctrl button {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  font-size: 20px;
  line-height: 1;
}
.ht-stepper__ctrl button:hover { border-color: var(--gold-deep); }
.ht-stepper__ctrl span { min-width: 1.5ch; text-align: center; font-weight: 700; }

/* Sticky search */
.hxs-sticky {
  position: sticky;
  top: 0;
  z-index: 55;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--paper-line);
  box-shadow: var(--shadow-nav);
}
.hxs-sticky__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding-block: 8px;
}
.hxs-sticky__summary {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-align: start;
  font-size: 14px;
  color: var(--ink);
}
.hxs-sticky__text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hxs-sticky__btn { flex-shrink: 0; min-height: 44px; }

/* Discovery sections */
.hx-cats {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}
.ht-cat {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3/4;
  text-align: start;
  color: #fff;
}
.ht-cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.ht-cat:hover img { transform: scale(1.05); }
.ht-cat::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4,20,26,.78), transparent 55%);
}
.ht-cat span {
  position: absolute;
  inset-inline: 10px;
  inset-block-end: 12px;
  z-index: 1;
  font-size: 13px;
  font-weight: 700;
}

.hx-trend {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.ht-trend {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/11;
  color: #fff;
  text-align: start;
}
.ht-trend img { width: 100%; height: 100%; object-fit: cover; }
.ht-trend::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4,20,26,.75), transparent 50%);
}
.ht-trend span {
  position: absolute;
  inset-inline: 12px;
  inset-block-end: 12px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ht-trend strong { font-size: 15px; }
.ht-trend small { font-size: 12px; opacity: .8; }

/* Ribbon */
.hx-ribbon {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 14px;
  margin-bottom: 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.hx-ribbon::-webkit-scrollbar { display: none; }
.ht-ribbon__item {
  flex: 0 0 auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 76px;
  min-height: 72px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
}
.ht-ribbon__ico {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--ink);
}
.ht-ribbon__item.is-on {
  border-color: var(--gold);
  background: rgba(240,180,41,.08);
  color: var(--ink);
}
.ht-ribbon__item.is-on .ht-ribbon__ico { background: var(--ink); color: var(--gold); }

/* Listing extras */
.hx-listing { margin-top: 8px; }
.hx-mapcard {
  display: block;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--paper-line);
  margin-bottom: 16px;
  text-align: start;
}
.hx-mapcard__canvas {
  display: block;
  height: 110px;
  background:
    linear-gradient(135deg, #d8ebe8, #c5d9e8 40%, #e8dfc8),
    radial-gradient(circle at 30% 40%, rgba(0,168,138,.25), transparent 50%);
  position: relative;
}
.hx-mapcard__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
}
.ht-pin {
  position: absolute;
  width: 10px; height: 10px;
  margin: -5px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}

.check--switch { font-weight: 600; }

/* Result cards */
.ht-results {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ht-card {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr) minmax(200px, 250px);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-plate);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.ht-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}
.ht-card.is-compared { outline: 2px solid var(--gold); }
.ht-card__media {
  position: relative;
  margin: 10px;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--paper-2);
}
.ht-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.ht-card:hover .ht-card__media img { transform: scale(1.04); }
.ht-card__off {
  position: absolute;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
}
.ht-card__photos {
  position: absolute;
  inset-block-end: 10px;
  inset-inline-end: 10px;
  background: rgba(4,20,26,.72);
  color: #fff;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
}
.ht-card__body { padding: 18px 16px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ht-card__route { font-size: 12px; color: var(--ink-3); }
.ht-card__meta { display: flex; flex-wrap: wrap; gap: 4px; align-items: baseline; font-size: 13px; }
.ht-card__brand { font-weight: 700; color: var(--ink); }
.ht-card__tier { color: var(--ink-3); }
.ht-card__title {
  font-size: 17px;
  line-height: 1.35;
  margin: 4px 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ht-card__title a:hover { color: var(--gold-deep); }
.ht-card__incl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
  margin-top: 6px;
}
.ht-card__incl li {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: 12.5px; color: var(--ink-2);
}
.ht-card__incl svg { flex-shrink: 0; color: var(--gold-deep); margin-top: 2px; }
.ht-card__cmp {
  margin-top: 10px;
  align-self: flex-start;
  min-height: 40px;
  padding-inline: 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-2);
  font-size: 13px;
}
.ht-card__side {
  position: relative;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  background: linear-gradient(180deg, #fffdf7 0%, #fff 55%);
}
.ht-card__side::before {
  content: '';
  position: absolute;
  inset-block: 18px;
  inset-inline-start: 0;
  width: 1px;
  background: var(--paper-line);
}
.ht-score {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.ht-score__n {
  display: grid; place-items: center;
  min-width: 42px; height: 42px;
  padding-inline: 8px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--gold);
  font-weight: 800;
  font-size: 16px;
}
.ht-score__l { font-size: 12px; color: var(--ink-2); line-height: 1.3; }
.ht-score__l small { color: var(--ink-4); }
.ht-card__side .card__price { border-top: 0; padding-top: 0; }
.ht-card__side .btn { min-height: 44px; }

.hx-empty {
  text-align: center;
  padding: 40px 16px;
  color: var(--ink-3);
  font-size: 15px;
}

/* Why + cross */
.hx-why {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.hx-why__item { padding-top: 8px; border-top: 2px solid var(--gold); }
.hx-why__n {
  display: block;
  font-family: var(--serif);
  font-size: 13px;
  color: var(--gold-deep);
  margin-bottom: 8px;
}
.hx-why__item h3 { font-size: 17px; margin-bottom: 8px; }
.hx-why__item p { font-size: 14px; color: var(--ink-3); line-height: 1.65; }

.hx-cross {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.hx-cross__card {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--paper-line);
  min-height: 180px;
}
.hx-cross__card img { width: 100%; height: 100%; object-fit: cover; min-height: 180px; }
.hx-cross__card > div { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.hx-cross__card h3 { font-size: 18px; }
.hx-cross__card p { font-size: 13px; color: var(--ink-3); }

/* Map FAB */
.hx-mapfab {
  position: fixed;
  inset-block-end: calc(24px + env(safe-area-inset-bottom));
  inset-inline-start: 50%;
  transform: translateX(-50%);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding-inline: 20px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow-dark);
}
[dir="rtl"] .hx-mapfab { transform: translateX(50%); }
.hx-mapfab:hover { background: var(--petrol-2); }

/* Compare tray + modals */
.ht-tray {
  position: fixed;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 65;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid var(--paper-line);
  box-shadow: 0 -8px 30px rgba(0,0,0,.12);
}
.ht-tray__list { display: flex; gap: 10px; flex: 1; overflow-x: auto; }
.ht-tray__item {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 12px; white-space: nowrap;
}
.ht-tray__item img { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; }

.ht-modal {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(4,20,26,.55);
  display: grid; place-items: center;
  padding: 16px;
}
.ht-modal__panel {
  width: min(960px, 100%);
  max-height: min(90vh, 800px);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow-dark);
}
.ht-modal__panel--map { width: min(720px, 100%); }
.ht-mapbig {
  height: min(48vh, 360px);
  border-radius: 12px;
  margin: 12px 0 16px;
  position: relative;
  background:
    linear-gradient(135deg, #d8ebe8, #c5d9e8 40%, #e8dfc8),
    radial-gradient(circle at 30% 40%, rgba(0,168,138,.25), transparent 50%);
}
.ht-compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.ht-compare-col img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; margin-bottom: 10px;
}
.ht-compare-col h4 { font-size: 16px; margin-bottom: 4px; }
.ht-compare-col p { font-size: 13px; color: var(--ink-3); margin-bottom: 8px; }
.ht-compare-col ul { font-size: 12px; color: var(--ink-2); margin: 8px 0 12px; display: flex; flex-direction: column; gap: 4px; }

/* ============================ Hotels responsive ============================ */
@media (max-width: 1100px) {
  .hx-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hx-trend { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hx-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ht-card { grid-template-columns: 240px minmax(0, 1fr); }
  .ht-card__side {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    background: #fff;
  }
  .ht-card__side::before {
    inset-block: 0 auto;
    inset-inline: 18px;
    width: auto; height: 1px;
  }
  .ht-card__side .btn { width: auto; min-width: 140px; }
  .ht-cal-grid { grid-template-columns: 1fr; }
  .ht-pop--dates { width: min(100vw - 24px, 420px); }
}

@media (max-width: 900px) {
  .hxs-wrap { margin-top: -28px; padding-inline: 0; }
  .ht-search__bar {
    grid-template-columns: 1fr;
  }
  .ht-search__submit { width: 100%; }
  .ht-pop {
    position: fixed;
    inset: auto 0 0 0;
    width: 100% !important;
    min-width: 0 !important;
    max-height: min(88vh, 720px);
    border-radius: 18px 18px 0 0;
    z-index: 85;
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
  }
  .ht-field[data-panel="checkin"] .ht-pop--dates,
  .ht-field[data-panel="checkout"] .ht-pop--dates,
  .ht-field[data-panel="dates"] .ht-pop--dates,
  [dir="rtl"] .ht-field[data-panel="checkin"] .ht-pop--dates,
  [dir="rtl"] .ht-field[data-panel="checkout"] .ht-pop--dates,
  [dir="rtl"] .ht-field[data-panel="dates"] .ht-pop--dates {
    inset-inline: 0;
  }
  .ht-places { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hx-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hx-trend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hx-cross { grid-template-columns: 1fr; }
  .hx-cross__card { grid-template-columns: 38% 1fr; }
  .hx-mapfab { inset-inline-end: 16px; inset-inline-start: auto; transform: none; }
  [dir="rtl"] .hx-mapfab { inset-inline-start: 16px; inset-inline-end: auto; transform: none; }
}

@media (max-width: 640px) {
  .hxh { min-height: 360px; }
  .hxh__inner { padding-block: 28px 56px; }
  .hxh__stats { gap: 14px 20px; }
  .hx-stat__v { font-size: 18px; }
  .ht-search { padding: 14px; border-radius: 12px; }
  .ht-places { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ht-cal-nav { grid-template-columns: 40px 1fr 40px; }
  .ht-day { min-height: 40px; }
  .hx-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ht-cat { aspect-ratio: 1; }
  .hx-why { grid-template-columns: 1fr; gap: 20px; }
  .hx-cross__card { grid-template-columns: 1fr; }
  .hx-cross__card img { min-height: 160px; aspect-ratio: 16/10; }
  .ht-card {
    grid-template-columns: 1fr;
  }
  .ht-card__media {
    margin: 0;
    border-radius: 0;
    aspect-ratio: 16/10;
  }
  .ht-card__body { padding: 14px 14px 6px; }
  .ht-card__incl { grid-template-columns: 1fr; }
  .ht-card__side {
    padding: 12px 14px 16px;
    flex-direction: column;
    align-items: stretch;
  }
  .ht-card__side::before { display: none; }
  .ht-card__side .btn { width: 100%; }
  .ht-card__title { font-size: 16px; -webkit-line-clamp: 3; }
  .hxs-sticky__btn { display: none; }
  .ht-tray { flex-direction: column; align-items: stretch; }
  .ht-tray .btn { width: 100%; }
  .ht-date-modes { grid-template-columns: 1fr; }
  .ht-mode { min-height: 48px; }
}

@media (max-width: 430px) {
  .hxh__title { font-size: 26px; }
  .ht-ribbon__item { min-width: 68px; }
  .ht-field__btn { min-height: 48px; }
  .ht-search__submit { min-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .ht-card, .ht-cat img, .ht-card__media img { transition: none !important; }
}

/* ==========================================================================
   Smart auth — header state, modal & login page (scoped auth-*)
   ========================================================================== */
.auth-trigger {
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

/* Logged-in chip + dropdown */
.auth-menu { position: relative; }
.auth-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding-inline: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-pill);
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.auth-chip:hover { border-color: var(--ink-3); box-shadow: var(--shadow-card); }
.auth-chip__avatar {
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #1c1400;
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}
.auth-chip__avatar--lg { width: 40px; height: 40px; font-size: 18px; }
.auth-chip__name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.auth-chip__chev { opacity: .55; }

.auth-dropdown {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 10px);
  width: 260px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-pop);
  padding: 8px;
  z-index: 120;
}
.auth-dropdown__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}
.auth-dropdown__id { display: flex; flex-direction: column; overflow: hidden; }
.auth-dropdown__id strong { font-size: 14px; }
.auth-dropdown__id span {
  font-size: 12px;
  color: var(--ink-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.auth-dropdown__item {
  display: block;
  width: 100%;
  text-align: start;
  padding: 10px 12px;
  border: 0;
  border-radius: var(--radius-lg);
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.auth-dropdown__item:hover { background: var(--bg-soft); }
.auth-dropdown__item--danger { color: var(--red-dark); }

/* Overlay + modal */
.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: rgba(4, 20, 26, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s var(--ease), visibility .2s var(--ease);
}
.auth-overlay[hidden] { display: none !important; }
.auth-overlay.is-open { opacity: 1; visibility: visible; }
.auth-modal {
  position: relative;
  width: min(440px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-dark);
  transform: translateY(14px) scale(.98);
  transition: transform .24s var(--ease-out);
}
.auth-overlay.is-open .auth-modal { transform: translateY(0) scale(1); }
.auth-close {
  position: absolute;
  inset-inline-end: 14px;
  top: 14px;
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--ink);
  cursor: pointer;
  z-index: 20;
  pointer-events: auto;
}
.auth-close:hover { background: var(--line); }
.auth-modal__body { padding: 8px; }

/* Card (shared by modal & page) */
.auth-card {
  position: relative;
  padding: 30px 28px 26px;
}
.auth-card__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.auth-card__mark { border-radius: 10px; }
.auth-card__brandtext { display: flex; flex-direction: column; line-height: 1.25; }
.auth-card__brandtext b { font-family: var(--display); font-size: 18px; color: var(--ink); }
.auth-card__brandtext span { font-size: 11px; letter-spacing: .08em; color: var(--ink-3); }

.auth-panel { animation: authFade .28s var(--ease-out); }
@keyframes authFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.auth-title { font-family: var(--display); font-size: 24px; font-weight: 800; color: var(--ink); margin: 0 0 6px; }
.auth-sub { font-size: 14px; color: var(--ink-3); margin: 0 0 20px; line-height: 1.6; }
.auth-sub b { color: var(--ink); }

.auth-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 50px;
  padding-inline: 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-pill);
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #1f1f1f;
  transition: background .16s var(--ease), border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.auth-google:hover { background: #f7f9fb; border-color: var(--ink-3); box-shadow: var(--shadow-card); }
.auth-google:active { background: #eef2f4; }
.auth-google__g { display: inline-flex; width: 18px; height: 18px; }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
  color: var(--ink-4);
  font-size: 13px;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.auth-field { display: block; margin-bottom: 14px; }
.auth-field__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 7px;
}
.auth-input {
  width: 100%;
  min-height: 50px;
  padding-inline: 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-md);
  background: var(--bg);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease), background .16s var(--ease);
}
.auth-input:focus {
  outline: none;
  background: #fff;
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px var(--gold-faint);
}
.auth-input::placeholder { color: var(--ink-4); }

.auth-error { font-size: 13px; color: var(--red-dark); margin: -4px 0 12px; }

.auth-submit {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #1c1400;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  transition: filter .16s var(--ease), transform .12s var(--ease);
}
.auth-submit:hover { filter: brightness(1.05); }
.auth-submit:active { transform: translateY(1px); }

.auth-link {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 6px;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  text-align: center;
}
.auth-link:hover { color: var(--gold-deep); text-decoration: underline; }
.auth-link:disabled { color: var(--green); cursor: default; text-decoration: none; }

.auth-trust {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-3);
}
.auth-trust svg { flex: none; margin-top: 2px; color: var(--gold-deep); }

.auth-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  padding: 4px 8px;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.auth-back:hover { background: var(--line); }

.auth-mail-badge {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--gold-deep);
}

.auth-otp {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 14px;
  direction: ltr;
}
.auth-otp__cell {
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 48px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-md);
  background: var(--bg);
  text-align: center;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease), background .16s var(--ease);
}
.auth-otp__cell:focus {
  outline: none;
  background: #fff;
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px var(--gold-faint);
}
.auth-demo {
  font-size: 12.5px;
  color: var(--ink-4);
  text-align: center;
  margin: 4px 0 0;
}

.auth-loading {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(2px);
  border-radius: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  z-index: 3;
  pointer-events: none;
}
.auth-loading:not([hidden]) { display: flex; }
.auth-loading[hidden] { display: none !important; }
.auth-card.is-loading .auth-loading:not([hidden]) { display: flex; }
.auth-spinner {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 3px solid var(--line);
  border-top-color: var(--gold-deep);
  animation: authSpin .7s linear infinite;
}
@keyframes authSpin { to { transform: rotate(360deg); } }

/* Dedicated login page */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(240,180,41,.14), transparent 60%),
    var(--petrol);
}
.auth-page__inner { width: min(440px, 100%); }
.auth-page__card {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-dark);
  overflow: hidden;
  position: relative;
}
.auth-page__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
}
.auth-page__back:hover { color: #fff; }

/* Mobile full-screen sheet */
@media (max-width: 560px) {
  .auth-overlay { padding: 0; align-items: stretch; }
  .auth-modal {
    width: 100%;
    max-height: 100vh;
    min-height: 100vh;
    border-radius: 0;
    transform: translateY(100%);
  }
  .auth-overlay.is-open .auth-modal { transform: translateY(0); }
  .auth-card { padding: 26px 22px calc(26px + env(safe-area-inset-bottom)); }
  .auth-chip__name { display: none; }
}

/* ==========================================================================
   Tours landing (tr-*) — المرصد الذهبي / LE /sa/tours structure
   Scoped; reuses masthead, section, card tokens. Do not restyle global chrome.
   ========================================================================== */

.tr-hero .tr-search { margin-top: 8px; }

.tr-search {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 14px;
  background: rgba(255, 248, 232, .1);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
}

.tr-search__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255, 241, 201, .72);
  margin-bottom: 6px;
}

.tr-search__input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 241, 201, .28);
  background: rgba(4, 20, 26, .55);
  color: #fff1c9;
  font: inherit;
  font-size: 15px;
}

.tr-search__input::placeholder { color: rgba(255, 241, 201, .45); }
.tr-search__input option { color: var(--ink); background: #fff; }

.tr-search__btn {
  min-height: 48px;
  padding-inline: 22px;
  white-space: nowrap;
}

.tr-else {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 28px;
  padding: 28px 0 4px;
  border-block: 1px solid var(--paper-line);
}

.tr-else__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tr-trend {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tr-dest {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 16 / 11;
  color: #fff;
  box-shadow: var(--shadow-plate);
  outline: 1px solid rgba(7, 26, 31, .06);
  outline-offset: -1px;
}

.tr-dest img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease-out);
}

.tr-dest:hover img { transform: scale(1.04); }

.tr-dest::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 20, 26, .78) 0%, transparent 58%);
}

.tr-dest__label {
  position: absolute;
  inset-inline: 14px;
  inset-block-end: 14px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tr-dest__label strong {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 800;
}

.tr-dest__label em {
  font-style: normal;
  font-size: 13px;
  color: rgba(255, 241, 201, .86);
}

.tr-ways {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.tr-way {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 3 / 4;
  color: #fff;
  box-shadow: var(--shadow-plate);
}

.tr-way img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease-out);
}

.tr-way:hover img { transform: scale(1.05); }

.tr-way::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 20, 26, .82) 0%, transparent 52%);
}

.tr-way__body {
  position: absolute;
  inset-inline: 12px;
  inset-block-end: 14px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tr-way__body strong {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 800;
}

.tr-way__body em {
  font-style: normal;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 241, 201, .82);
}

.tr-way__body .link-all {
  margin-top: 6px;
  color: var(--gold);
  font-size: 13px;
}

.tr-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  margin-bottom: 18px;
  scrollbar-width: thin;
}

.tr-chip {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--paper-line);
  background: #fff;
  color: var(--ink-2);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}

.tr-chip:hover { border-color: var(--ink-3); }

.tr-chip.is-active {
  background: var(--petrol);
  border-color: var(--petrol);
  color: #fff1c9;
}

.tr-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tr-grid .card {
  background: #fff;
  border: 1px solid var(--paper-line);
  box-shadow: var(--shadow-plate);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.tr-grid .card__media {
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: 0;
}

.tr-grid .card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tr-empty {
  grid-column: 1 / -1;
  padding: 28px 8px;
  color: var(--ink-3);
  text-align: center;
}

.tr-band {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--gold-line);
}

.tr-band__copy { max-width: 640px; }
.tr-band__copy .link-all { margin-top: 10px; display: inline-flex; }

.tr-cross {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tr-cross__card {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--paper-line);
  box-shadow: var(--shadow-plate);
  color: inherit;
  text-decoration: none;
}

.tr-cross__card img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
}

.tr-cross__card > div {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tr-cross__card h3 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}

.tr-cross__card p {
  margin: 0;
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .tr-ways { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .tr-search {
    grid-template-columns: 1fr;
  }
  .tr-search__btn { width: 100%; }
  .tr-trend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tr-cross { grid-template-columns: 1fr; }
  .tr-cross__card { grid-template-columns: 1fr; }
  .tr-cross__card img { min-height: 160px; aspect-ratio: 16 / 10; }
}

@media (max-width: 640px) {
  .tr-ways { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tr-way { aspect-ratio: 1; }
  .tr-grid { grid-template-columns: 1fr; gap: 14px; }
  .tr-dest__label strong { font-size: 16px; }
  .tr-else { padding-block: 22px; }
  .tr-else__actions { width: 100%; }
  .tr-else__actions .btn { flex: 1; min-height: 44px; justify-content: center; }
}

@media (max-width: 390px) {
  .tr-search { padding: 12px; }
  .tr-chip { min-height: 38px; padding-inline: 12px; font-size: 12px; }
  .tr-trend { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .tr-dest img, .tr-way img { transition: none !important; }
}

/* ============================ App Mode shell ============================ */
/* Shared elegant oxblood «دم الغزال» pill (entry + exit) — text only, no phone icon */
.yg-app-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: #fff;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .01em;
  cursor: pointer;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(40, 0, 10, .28);
  background:
    linear-gradient(180deg, rgba(255,255,255,.16) 0%, transparent 48%),
    linear-gradient(145deg, #8a2231 0%, #7b1e2b 48%, #6e1622 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.2) inset,
    0 -1px 0 rgba(40, 8, 14, .35) inset,
    0 8px 18px -8px rgba(90, 18, 30, .55);
}
.yg-app-pill:hover { filter: brightness(1.06); }
.yg-app-pill:active { transform: translateY(1px); filter: brightness(.97); }
.yg-app-pill__icon { display: none !important; }

/* Compact floating entry CTA — same language as Browser Mode pill */
.yg-app-cta {
  position: fixed;
  z-index: 90;
  inset-inline-start: 12px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: none;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .28s var(--ease), transform .28s var(--ease-out);
  pointer-events: none;
}
.yg-app-cta.is-visible {
  display: inline-flex;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
body.is-near-footer .yg-app-cta { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }

.yg-app-cta__btn.yg-app-pill {
  pointer-events: auto;
  max-width: min(78vw, 280px);
}
.yg-app-cta__btn .yg-app-pill__label {
  overflow: hidden;
  text-overflow: ellipsis;
}
.yg-app-cta__dismiss {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(7, 26, 31, .55);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(7,26,31,.2);
}
.yg-app-cta__dismiss:hover { background: rgba(7, 26, 31, .72); }

/* Mode-switch toast — centered digital card with countdown line */
.yg-mode-toast {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  pointer-events: none;
}
.yg-mode-toast__card {
  position: relative;
  pointer-events: auto;
  width: min(88vw, 340px);
  padding: 22px 20px 0;
  border-radius: 18px;
  border: 1px solid var(--gold-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .05) 0%, transparent 55%),
    linear-gradient(160deg, var(--petrol-2) 0%, var(--petrol) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .08) inset,
    0 24px 60px -18px rgba(4, 20, 26, .75);
  text-align: center;
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px) scale(.96);
  transition: opacity .3s var(--ease), transform .3s var(--ease-out);
}
.yg-mode-toast.is-visible .yg-mode-toast__card {
  opacity: 1;
  transform: none;
}
.yg-mode-toast__close {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .75);
  cursor: pointer;
}
.yg-mode-toast__close:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.yg-mode-toast__logo { display: block; margin: 0 auto 10px; }
.yg-mode-toast__msg {
  margin: 0 0 14px;
  color: #eef4f5;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}
.yg-mode-toast__btn.yg-app-pill {
  margin-bottom: 18px;
  max-width: 100%;
}
.yg-mode-toast__track {
  height: 3px;
  margin: 0 -20px;
  background: rgba(255, 255, 255, .1);
  overflow: hidden;
}
.yg-mode-toast__bar {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  transform: scaleX(1);
  /* anchored left so the visible edge travels right-to-left as it counts down */
  transform-origin: left center;
  transition-property: transform;
  transition-timing-function: linear;
}
.yg-mode-toast.is-counting .yg-mode-toast__bar { transform: scaleX(0); }
@media (prefers-reduced-motion: reduce) {
  .yg-mode-toast__card { transition: opacity .2s ease; transform: none; }
  .yg-mode-toast__bar { transition-duration: 0s !important; opacity: .4; }
}

.yg-app-header-enter.yg-app-pill { max-width: 42vw; }
.yg-app-header-enter .yg-app-pill__label {
  overflow: hidden;
  text-overflow: ellipsis;
}
html.is-app-mode .yg-app-header-enter,
html.is-app-mode .yg-app-cta {
  display: none !important;
}

.yg-app-topbar__exit.yg-app-pill {
  flex-shrink: 0;
  min-height: 40px;
  padding: 0 12px;
  font-size: 11px;
}
.yg-app-more__exit.yg-app-pill {
  width: 100%;
  justify-content: center;
  border-color: rgba(255,255,255,.28) !important;
  color: #fff !important;
}

.yg-app-chrome { display: none; }
html.is-app-mode .yg-app-chrome { display: block; }

.yg-app-topbar {
  position: sticky;
  top: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: calc(56px + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) 16px 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(240, 180, 41, .12), transparent 34%),
    rgba(4, 20, 26, .94);
  color: #fff;
  border-bottom: 1px solid rgba(240, 180, 41, .24);
  box-shadow: 0 10px 30px -24px rgba(4, 20, 26, .9);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
}
.yg-app-topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}
.yg-app-topbar__logo {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  border-radius: 9px;
}
.yg-app-monogram {
  display: none;
}
.yg-app-topbar__title {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.yg-app-topbar__title span {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--gold);
  margin-top: 2px;
}

/* Floating luxury dock — petrol glass + gold hairline + oxblood active */
.yg-app-tabbar {
  position: fixed !important;
  left: 12px !important;
  right: 12px !important;
  /* --yg-app-dock-lift tracks browser chrome height (set from visualViewport) */
  bottom: calc(var(--yg-app-dock-lift, 0px) + 18px + env(safe-area-inset-bottom, 0px)) !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  transform: none !important;
  filter: none !important;
  z-index: 9999 !important;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 2px;
  height: 64px;
  min-height: 64px;
  padding: 6px 6px;
  box-sizing: border-box;
  overflow: visible !important;
  border-radius: 22px;
  background:
    radial-gradient(120% 90% at 50% -20%, rgba(240, 180, 41, .14), transparent 55%),
    linear-gradient(180deg, rgba(20, 48, 56, .96) 0%, rgba(4, 20, 26, .98) 100%);
  border: 1px solid rgba(240, 180, 41, .34);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .08) inset,
    0 18px 40px -18px rgba(4, 20, 26, .75),
    0 0 0 1px rgba(4, 20, 26, .35);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}
.yg-app-tabbar::before {
  content: '';
  position: absolute;
  inset-inline: 18%;
  top: 0;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(240, 180, 41, .7), transparent);
  pointer-events: none;
}
.yg-app-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  height: 52px;
  padding: 6px 4px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: rgba(247, 250, 250, .55);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  font-family: var(--sans);
  overflow: visible;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.yg-app-tab svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.65;
  transition: color .2s var(--ease), filter .2s var(--ease), transform .2s var(--ease);
}
.yg-app-tab:hover {
  color: rgba(247, 250, 250, .82);
  background: rgba(255, 255, 255, .04);
}
.yg-app-tab.is-active {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255,255,255,.12) 0%, transparent 55%),
    linear-gradient(145deg, #8a2231 0%, #7b1e2b 50%, #6e1622 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.16) inset,
    0 8px 18px -10px rgba(90, 18, 30, .7);
}
.yg-app-tab.is-active::after { display: none; }
.yg-app-tab.is-active svg {
  color: var(--gold);
  stroke: currentColor;
  transform: translateY(-0.5px);
  filter: drop-shadow(0 0 6px rgba(240, 180, 41, .35));
}

.yg-app-more {
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(4, 20, 26, .66);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s var(--ease), visibility .22s var(--ease);
}
.yg-app-more.is-open { opacity: 1; visibility: visible; }
.yg-app-more__sheet {
  width: min(420px, 100%);
  background:
    radial-gradient(circle at 90% 0%, rgba(240,180,41,.12), transparent 35%),
    var(--paper);
  border: 1px solid rgba(196, 137, 10, .24);
  border-radius: 24px 24px 18px 18px;
  padding: 10px 16px calc(18px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -24px 64px -28px rgba(4,20,26,.8);
  transform: translateY(24px);
  transition: transform .28s var(--ease-out);
}
.yg-app-more.is-open .yg-app-more__sheet { transform: translateY(0); }
.yg-app-more__head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-top: 18px;
}
.yg-app-more__head::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 50%;
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
  transform: translateX(-50%);
  opacity: .62;
}
.yg-app-more__head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}
.yg-app-more__close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--ink-2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.yg-app-more__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.yg-app-more__list a,
.yg-app-more__list button:not(.yg-app-pill) {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--paper-line);
  background: rgba(255,255,255,.58);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  font-family: var(--sans);
  text-align: start;
}

html.is-app-mode,
html.is-app-mode body {
  transform: none !important;
  filter: none !important;
  perspective: none !important;
}
html.is-app-mode .utility-bar,
html.is-app-mode .promo-strip,
html.is-app-mode .header-nav,
html.is-app-mode .header-actions,
html.is-app-mode .search-pill,
html.is-app-mode .site-footer,
html.is-app-mode .footer-bottom,
html.is-app-mode .footer-grid {
  display: none !important;
}
html.is-app-mode #site-header .site-header {
  display: none !important;
}
html.is-app-mode body {
  padding-bottom: calc(var(--yg-app-dock-lift, 0px) + 104px + env(safe-area-inset-bottom, 0px)) !important;
  overflow-x: hidden;
}
html.is-app-mode .whatsapp-fab {
  inset-block-end: calc(var(--yg-app-dock-lift, 0px) + 100px + env(safe-area-inset-bottom, 0px)) !important;
  z-index: 90;
}
html.is-app-mode .hx-mapfab,
html.is-app-mode .ch-sticky,
html.is-app-mode .offer-bar,
html.is-app-mode .ht-tray {
  inset-block-end: calc(var(--yg-app-dock-lift, 0px) + 100px + env(safe-area-inset-bottom, 0px)) !important;
}
html.is-app-mode .container { --gutter: 14px; }
html.is-app-mode body.is-near-footer .whatsapp-fab {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

/* Modals must sit above the app chrome (tabs 9999, chip 10000, sheet 10050) */
html.is-app-mode .locale-overlay,
html.is-app-mode .auth-overlay {
  z-index: 10100 !important;
}

@keyframes yg-app-gold-breathe {
  0%, 100% { opacity: .55; transform: scaleX(.76); }
  50% { opacity: 1; transform: scaleX(1); }
}

@media (min-width: 901px) {
  html.is-app-mode body {
    max-width: 430px;
    margin-inline: auto;
    min-height: 100dvh;
    box-shadow: 0 0 0 1px rgba(7, 26, 31, .08), 0 24px 80px rgba(4, 20, 26, .18);
  }
  html.is-app-mode .yg-app-topbar {
    max-width: 430px;
    margin-inline: auto;
  }
  .yg-app-cta {
    inset-inline-start: max(12px, calc(50% - 215px + 12px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .yg-app-cta,
  .yg-app-more,
  .yg-app-more__sheet,
  .yg-app-pill { transition: none; }
  .yg-app-tab.is-active::after { animation: none; }
}

/* Production form / panel overflow guard */
.form-panel, .panel, .search-widget, .ed-split {
  max-width: 100%;
  min-width: 0;
}
.form-panel .field__control,
.form-panel select,
.form-panel textarea {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
@media (max-width: 480px) {
  .grid-2 { grid-template-columns: 1fr !important; }
  .footer-bottom { flex-wrap: wrap; row-gap: 6px; }
  .footer-bottom__meta { flex-wrap: wrap; }
}

/* ============================ Cookie consent ============================ */
.yg-cookie {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 10040;
  display: flex;
  justify-content: center;
  padding: 0 14px calc(14px + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .3s ease, transform .3s ease;
}
.yg-cookie.is-visible { opacity: 1; transform: translateY(0); }
.yg-cookie__card {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 720px;
  width: 100%;
  padding: 14px 18px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(7,26,31,.97), rgba(10,36,42,.97));
  color: #eef4f4;
  border: 1px solid rgba(240,180,41,.35);
  box-shadow: 0 18px 48px rgba(4,16,20,.45);
  backdrop-filter: blur(10px);
}
.yg-cookie__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  color: #f0b429;
  background: rgba(240,180,41,.12);
}
.yg-cookie__body { flex: 1 1 auto; min-width: 0; }
.yg-cookie__title { display: block; font-size: 13.5px; margin-bottom: 2px; color: #fff; }
.yg-cookie__text { margin: 0; font-size: 12.5px; line-height: 1.55; color: rgba(238,244,244,.78); }
.yg-cookie__text a { color: #f0b429; text-decoration: underline; text-underline-offset: 2px; }
.yg-cookie__actions { display: flex; flex-direction: column; gap: 8px; flex: 0 0 auto; }
.yg-cookie__btn {
  min-height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}
.yg-cookie__btn--accept {
  color: #fff;
  background: linear-gradient(180deg, #8A2231, #6E1622);
  box-shadow: 0 6px 16px rgba(110,22,34,.4);
}
.yg-cookie__btn--accept:hover { filter: brightness(1.08); }
.yg-cookie__btn--essential {
  color: rgba(238,244,244,.85);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
}
.yg-cookie__btn--essential:hover { background: rgba(255,255,255,.14); }

@media (max-width: 640px) {
  .yg-cookie__card { flex-wrap: wrap; padding: 14px; }
  .yg-cookie__icon { width: 34px; height: 34px; }
  .yg-cookie__body { flex-basis: calc(100% - 48px); }
  .yg-cookie__actions { flex-direction: row; width: 100%; }
  .yg-cookie__btn { flex: 1 1 auto; }
}

/* Keep the banner above the app-mode floating tab bar */
html.is-app-mode .yg-cookie {
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}