@import url("https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700;800&family=IBM+Plex+Sans+Arabic:wght@500;600;700&display=swap");

:root,
[data-brand="tours"] {
  --bg: #06111f;
  --bg2: #0c223a;
  --surface: rgba(16, 36, 58, 0.72);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f4f8fc;
  --muted: #9db0c5;
  --accent: #1683ff;
  --accent2: #e0b35a;
  --highlight: #8ec8ff;
  --ok: #5eb3ff;
  --danger: #e2556e;
  --tab: rgba(6, 18, 34, 0.94);
  --radius: 20px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --font: "Sora", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --scroll-size: 7px;
  --scroll-track: rgba(255, 255, 255, 0.05);
  --scroll-thumb: rgba(26, 149, 255, 0.55);
  --scroll-thumb-hover: rgba(142, 196, 255, 0.92);
  --scroll-thumb-ring: rgba(4, 18, 31, 0.95);
}

[data-brand="express"] {
  --bg: #041421;
  --bg2: #0a2742;
  --accent: #1a95ff;
  --accent2: #e0b35a;
  --highlight: #8ec8ff;
  --tab: rgba(4, 20, 33, 0.94);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-tap-highlight-color: transparent;
}
body {
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(22, 131, 255, 0.22), transparent 55%),
    radial-gradient(700px 380px at 0% 20%, rgba(224, 179, 90, 0.12), transparent 50%),
    linear-gradient(180deg, #071525 0%, var(--bg) 40%, #050e18 100%);
}
[dir="rtl"] body {
  font-family: "IBM Plex Sans Arabic", "Sora", system-ui, sans-serif;
  letter-spacing: 0;
  text-align: right;
}

#app {
  width: min(480px, 100%);
  height: 100%;
  max-height: 100vh;
  max-height: 100dvh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-bottom: calc(78px + var(--safe-b));
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-thumb) var(--scroll-track);
  border-inline-end: 1px solid rgba(255, 255, 255, 0.04);
  border-inline-start: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow:
    inset -1px 0 0 rgba(255, 255, 255, 0.03),
    inset 1px 0 0 rgba(255, 255, 255, 0.03);
}
#app::-webkit-scrollbar {
  width: var(--scroll-size);
}
#app::-webkit-scrollbar-track {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.06));
  border-radius: 999px;
  margin: 8px 0;
}
#app::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--scroll-thumb-hover), var(--scroll-thumb));
  border-radius: 999px;
  border: 2px solid var(--scroll-thumb-ring);
  min-height: 56px;
}
#app::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #5ce0d0, #3db8ff);
}
#app::-webkit-scrollbar-corner {
  background: transparent;
}

/* Styled vertical scroll areas inside the app */
.chat-panel__msgs,
.panel,
.form-scroll {
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-thumb) transparent;
}
.chat-panel__msgs::-webkit-scrollbar,
.panel::-webkit-scrollbar,
.form-scroll::-webkit-scrollbar {
  width: 5px;
}
.chat-panel__msgs::-webkit-scrollbar-thumb,
.panel::-webkit-scrollbar-thumb,
.form-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(58, 214, 196, 0.75), rgba(26, 149, 255, 0.8));
  border-radius: 999px;
}

/* Hide horizontal chip / rail scrollbars */
.filters,
.rail,
.dest-row,
.chat-panel__quick {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.filters::-webkit-scrollbar,
.rail::-webkit-scrollbar,
.dest-row::-webkit-scrollbar,
.chat-panel__quick::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

button, .chip, .btn { border: 0; font: inherit; cursor: pointer; }
a { color: inherit; }

.app-top {
  position: sticky; top: 0; z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 16px 10px;
  background: rgba(6, 17, 31, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
}
.app-top__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}
.app-top.is-solid { border-bottom-color: var(--line); }
.app-brand { min-width: 0; }
.app-brand strong {
  display: block;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.app-brand small { color: var(--muted); font-size: 0.7rem; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 14px;
  background: rgba(255,255,255,0.07); color: var(--text);
  display: grid; place-items: center;
}
.icon-btn:active { transform: scale(0.96); }
.lang-btn {
  min-width: 40px;
  padding: 0 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.lang-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 16px 10px;
  justify-content: center;
}
.lang-bar__btn {
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.88);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.lang-bar__btn.is-on {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.lang-bar__btn:active { transform: scale(0.97); }
.app-top .lang-bar {
  padding: 0;
  justify-content: flex-start;
  width: 100%;
}
.app-top .lang-bar__btn {
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: var(--text);
}
.app-top .lang-bar__btn.is-on {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.screen {
  flex: 1;
  padding: 0 0 28px;
  animation: rise 0.38s cubic-bezier(.2,.8,.2,1);
}
.screen--pad { padding: 14px 16px 28px; }
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* —— Gateway hero —— */
.gateway {
  position: relative;
  min-height: min(72vh, 520px);
  margin-bottom: 8px;
  overflow: visible;
  z-index: 2;
}
.gateway--compact {
  min-height: 0;
  margin-bottom: 0;
}
.screen--pad > .gateway--inner:first-child {
  margin: -14px -16px 16px;
  width: auto;
}
.gateway--compact .gateway__content--compact {
  min-height: 0;
  padding: 52px 16px 16px;
  justify-content: flex-end;
}
.gateway__page-title {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(1.2rem, 4.5vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.42);
}
.gateway--compact .gateway__types {
  margin-bottom: 10px;
}
.gateway--compact .hero-search {
  margin-bottom: 0;
}
.gateway__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.gateway__media {
  position: absolute; inset: 0;
  background: #0a1a2e center/cover no-repeat;
  transform: scale(1.04);
  animation: zoomSoft 8s ease-in-out infinite alternate;
  z-index: 0;
  pointer-events: none;
  clip-path: inset(0);
}
.gateway__video + .gateway__media { opacity: 0; }
@keyframes zoomSoft {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}
.gateway__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 12, 22, 0.25) 0%, rgba(4, 12, 22, 0.55) 45%, rgba(4, 12, 22, 0.96) 100%),
    linear-gradient(90deg, rgba(4, 12, 22, 0.45), transparent 60%);
  pointer-events: none;
}
.gateway__content {
  position: relative;
  z-index: 3;
  min-height: min(72vh, 520px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 18px 22px;
  overflow: visible;
}
.gateway__content--center {
  align-items: center;
  text-align: center;
  justify-content: center;
  padding-top: 70px;
}
.gateway__kicker {
  margin: 0 0 8px;
  color: var(--accent2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.gateway__brand {
  font-size: clamp(2rem, 8vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 10px;
  text-shadow: 0 10px 30px rgba(0,0,0,0.45);
}
.gateway__lead {
  margin: 0 0 18px;
  max-width: 32ch;
  color: rgba(243, 247, 252, 0.9);
  font-size: 1.02rem;
  line-height: 1.5;
}
.gateway__content--center .back-pill { margin-top: 12px; }

.gateway__types {
  width: min(100%, 560px);
  margin: 0 auto 14px;
}
.section-head--hero {
  justify-content: center;
  margin: 0 0 8px;
}
.section-head--hero h2 {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.dest-row--hero {
  margin-bottom: 0;
  padding-bottom: 0;
}
.dest-row--hero .dest-chip {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
}
.dest-row--hero .dest-chip span {
  color: rgba(255, 255, 255, 0.72);
}
.dest-row--hero .dest-chip.is-on {
  background: rgba(255, 255, 255, 0.26);
  border-color: rgba(255, 255, 255, 0.58);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

/* Website-like search banner */
.hero-search {
  width: min(100%, 560px);
  margin: 0 auto 4px;
  text-align: start;
  position: relative;
  z-index: 12;
}
.hero-search--page {
  width: 100%;
  margin: 0 0 14px;
}
.hero-search__tabs {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 12px;
}
.hero-search--page .hero-search__tabs { justify-content: flex-start; }
.hero-search__tab {
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.72);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0 0 6px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}
.hero-search__tab.is-on {
  color: #fff;
  border-bottom-color: #fff;
}
.hero-search--page .hero-search__tab { color: var(--muted); }
.hero-search--page .hero-search__tab.is-on {
  color: var(--text);
  border-bottom-color: var(--accent2, #1683ff);
}
.hero-search__bar {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 4px;
  align-items: stretch;
  padding: 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}
.hero-search__bar--short {
  grid-template-columns: 1fr auto;
}
.hero-search--page .hero-search__bar {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
  border: 1px solid var(--line);
}
.hero-search__field {
  position: relative;
  min-width: 0;
  padding: 8px 12px;
  text-align: start;
}
.hero-search__field + .hero-search__field {
  border-inline-start: 1px solid #e6edf5;
}
.hero-search__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1a3a5c;
  margin-bottom: 2px;
}
.hero-search__input,
.hero-search__value {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #16324f;
  font: inherit;
  font-size: 0.9rem;
  padding: 0;
  text-align: start;
  cursor: text;
}
.hero-search__value {
  cursor: pointer;
  color: #5a738c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-search__input::placeholder { color: #8aa0b5; }
.hero-search__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  padding: 14px 18px;
  background: linear-gradient(145deg, #1a95ff, #0a4f9c);
  color: #fff;
  font-weight: 800;
  font-size: 0.86rem;
  cursor: pointer;
  white-space: nowrap;
  align-self: center;
}
.hero-search__menu,
.hero-search__places {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-start: 0;
  z-index: 60;
  min-width: 180px;
  padding: 8px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(8, 28, 52, 0.22);
  border: 1px solid #e6edf5;
}
.hero-search__places[hidden],
.hero-search__menu[hidden] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.hero-search__places {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  width: min(320px, 78vw);
  padding: 10px;
}
.hero-search__place {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  background: #f4f8fc;
  padding: 8px;
  text-align: start;
  cursor: pointer;
  color: #16324f;
}
.hero-search__place img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}
.hero-search__place span { display: grid; gap: 1px; min-width: 0; }
.hero-search__place strong { font-size: 0.82rem; }
.hero-search__place small { color: #7a93ab; font-size: 0.68rem; }
.hero-search__place:hover { background: rgba(22, 131, 255, 0.12); }
.hero-search__opt {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: start;
  padding: 10px 12px;
  border-radius: 10px;
  color: #16324f;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.hero-search__opt.is-on,
.hero-search__opt:hover {
  background: rgba(22, 131, 255, 0.1);
  color: #0a4f9c;
}
.hero-search__counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 6px;
  color: #16324f;
  font-weight: 700;
}
.hero-search__counter + .hero-search__counter {
  border-top: 1px solid #e6edf5;
}
.hero-search__counter div {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-search__counter button {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid #c9d7e8;
  background: #fff;
  color: #0a4f9c;
  font-size: 1.05rem;
  cursor: pointer;
}
.hero-search__counter em {
  font-style: normal;
  min-width: 1.2em;
  text-align: center;
}
[dir="rtl"] .hero-search,
[dir="rtl"] .hero-search__field,
[dir="rtl"] .hero-search__label,
[dir="rtl"] .hero-search__input,
[dir="rtl"] .hero-search__value,
[dir="rtl"] .hero-search__opt {
  text-align: right;
}
@media (max-width: 640px) {
  .hero-search__bar {
    grid-template-columns: 1fr;
    border-radius: 22px;
    padding: 10px;
  }
  .hero-search__field + .hero-search__field {
    border-inline-start: 0;
    border-top: 1px solid #e6edf5;
  }
  .hero-search__btn { width: 100%; }
}
.gateway__search {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
  color: #fff;
  text-align: start;
  box-shadow: var(--shadow);
}
.gateway__search span { color: rgba(255,255,255,0.72); font-weight: 600; font-size: 0.92rem; }
.gateway__search:active { transform: scale(0.985); }

.home-body { padding: 8px 16px 0; }

.quick-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 4px 0 18px;
}
.quick {
  display: grid; gap: 6px; place-items: center;
  padding: 12px 6px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.68rem;
  font-weight: 700;
}
.quick svg { width: 22px; height: 22px; color: var(--accent2); }
.quick:active { transform: scale(0.97); }

.section-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 10px;
  margin: 6px 0 12px;
}
.section-head h2 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.section-sub {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}
.linkish {
  color: var(--accent2);
  background: none;
  font-weight: 700;
  font-size: 0.86rem;
  flex: 0 0 auto;
  margin-top: 2px;
}

.duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}
.duo-card {
  position: relative;
  display: block;
  min-height: 220px;
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transform: translateZ(0);
  transition: transform 0.18s ease;
}
.duo-card:active { transform: scale(0.98); }
.duo-card__media {
  position: absolute; inset: 0;
  background: #0a1a2e center/cover no-repeat;
}
.duo-card__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(3,10,18,0.15) 20%, rgba(3,10,18,0.92) 100%);
}
.duo-card--seller .duo-card__shade {
  background: linear-gradient(180deg, rgba(224,179,90,0.18) 0%, rgba(3,10,18,0.9) 70%);
}
.duo-card--premium .duo-card__shade {
  background: linear-gradient(180deg, rgba(22,131,255,0.22) 0%, rgba(3,10,18,0.92) 70%);
}
.duo-card__body {
  position: relative; z-index: 1;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
}
.duo-card__tag {
  align-self: flex-start;
  margin-bottom: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18);
}
.duo-card--seller .duo-card__tag {
  background: rgba(224,179,90,0.22);
  color: #f3d69a;
  border-color: rgba(224,179,90,0.4);
}
.duo-card--premium .duo-card__tag {
  background: rgba(22,131,255,0.24);
  color: #cfe6ff;
  border-color: rgba(22,131,255,0.45);
}
.duo-card h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.duo-card__meta {
  display: flex; gap: 8px; flex-wrap: wrap;
  color: rgba(255,255,255,0.72);
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.duo-card__meta .stars {
  color: #f5c518;
  background: transparent;
  padding: 0;
  text-shadow: 0 0 12px rgba(245, 197, 24, 0.35);
}
.duo-card__price {
  color: var(--highlight);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.duo-card__cta {
  display: inline-flex;
  align-self: flex-start;
  padding: 7px 11px;
  border-radius: 12px;
  background: rgba(255,255,255,0.12);
  font-size: 0.72rem;
  font-weight: 800;
}
.duo-card--empty {
  min-height: 220px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: var(--surface);
}

.dest-row {
  display: flex; gap: 10px; overflow: auto;
  padding-bottom: 6px; margin-bottom: 18px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.dest-row--home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: visible;
}
.dest-row::-webkit-scrollbar { display: none; width: 0; height: 0; }
.dest-chip {
  flex: 0 0 auto;
  min-width: 112px;
  padding: 14px 14px 12px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(22,131,255,0.22), transparent 55%),
    var(--surface);
  text-align: start;
  color: var(--text);
}
.dest-row--home .dest-chip {
  min-width: 0;
  width: 100%;
}
.dest-chip strong { display: block; font-size: 0.92rem; margin-bottom: 2px; }
.dest-chip span { color: var(--muted); font-size: 0.72rem; font-weight: 600; }
.dest-chip.is-on { border-color: rgba(22,131,255,0.55); box-shadow: 0 0 0 1px rgba(22,131,255,0.25) inset; }

.rail {
  display: flex; gap: 12px; overflow: auto;
  padding: 2px 2px 14px;
  margin: 0 -4px 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.rail::-webkit-scrollbar { display: none; width: 0; height: 0; }
.rail-card {
  flex: 0 0 78%;
  max-width: 280px;
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  min-height: 210px;
  box-shadow: var(--shadow);
  transform: translateZ(0);
  transition: transform 0.18s ease;
}
.rail-card:active { transform: scale(0.985); }
.rail-card__media {
  position: absolute; inset: 0;
  background: #0a1a2e center/cover no-repeat;
}
.rail-card__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(3,10,18,0.92) 100%);
}
.rail-card__body {
  position: relative; z-index: 1;
  min-height: 210px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 14px;
}
.rail-card__meta { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.rail-card h3 { margin: 0 0 6px; font-size: 1.12rem; letter-spacing: -0.02em; }
.rail-card .price { font-size: 0.95rem; }

.filters { display: flex; gap: 8px; overflow: auto; padding: 0 0 10px; margin: 0 0 8px; }
.chip {
  flex: 0 0 auto; padding: 9px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.06); color: var(--muted); font-weight: 700; font-size: 0.84rem;
  border: 1px solid transparent;
}
.chip.is-on {
  background: rgba(22,131,255,0.2);
  color: #fff;
  border-color: rgba(22,131,255,0.45);
}

.search-wrap { padding: 0 0 10px; }
.search {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.28);
  color: var(--text);
  padding: 14px 16px;
  font: inherit;
  outline: none;
}
.search:focus { border-color: rgba(22,131,255,0.65); }

.pkg-list { display: grid; gap: 14px; }
.pkg-card {
  display: block; text-decoration: none; color: inherit;
  border-radius: 22px; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(0,0,0,0.22);
  transition: transform 0.18s ease;
}
.pkg-card:active { transform: scale(0.985); }
.pkg-card__media {
  height: 176px;
  background: #0a1a2e center/cover no-repeat;
  position: relative;
}
.pkg-card__media.is-empty {
  background: linear-gradient(135deg, #123048, #1a4060);
}
.pkg-card__badge {
  position: absolute; left: 12px; bottom: 12px;
  padding: 7px 10px; border-radius: 12px;
  background: rgba(4,12,22,0.72);
  backdrop-filter: blur(8px);
  font-weight: 800; font-size: 0.86rem; color: #9af0cf;
}
.pkg-card__body { padding: 13px 14px 14px; }
.pkg-card__meta { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 8px; }
.pill {
  font-size: 0.7rem; font-weight: 700;
  padding: 5px 9px; border-radius: 999px;
  background: rgba(255,255,255,0.08); color: var(--muted);
}
.stars,
.pill.stars {
  color: #f5c518;
  letter-spacing: 0.06em;
  text-shadow: 0 0 10px rgba(245, 197, 24, 0.28);
  background: rgba(245, 197, 24, 0.12);
}
.pkg-card h3 { margin: 0 0 6px; font-size: 1.08rem; letter-spacing: -0.02em; }
.pkg-card p {
  margin: 0 0 12px; color: var(--muted); font-size: 0.86rem; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pkg-card__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { color: var(--highlight); font-weight: 800; }
.btn {
  border-radius: 14px; padding: 12px 14px; font-weight: 750;
  background: linear-gradient(145deg, var(--accent), #0a4f9c); color: #fff;
}
.btn.ghost { background: rgba(255,255,255,0.09); }
.btn.block { width: 100%; }
.btn:disabled { opacity: 0.6; }
.btn.soft { background: rgba(22,131,255,0.16); color: #d7ebff; }

/* —— Detail —— */
.detail {
  padding-bottom: 88px;
}
.detail-hero {
  position: relative;
  height: min(48vh, 340px);
  margin-bottom: 0;
}
.detail-hero__media {
  position: absolute; inset: 0;
  background: #0a1a2e center/cover no-repeat;
}
.detail-hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,12,22,0.15), rgba(4,12,22,0.2) 40%, rgba(6,17,31,1) 100%);
}
.detail-hero__top {
  position: absolute; top: 12px; left: 12px; right: 12px; z-index: 2;
  display: flex; justify-content: space-between; gap: 8px;
}
.back-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px;
  background: rgba(4,12,22,0.55);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff; font-weight: 700; font-size: 0.86rem;
}
.detail-body { padding: 0 16px 20px; margin-top: -28px; position: relative; z-index: 2; }
.detail-head { text-align: center; margin-bottom: 14px; }
.detail-title {
  margin: 0 0 10px;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.detail-summary {
  margin: 0 auto 4px;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 42ch;
  display: grid;
  gap: 12px;
}
.detail-summary p {
  margin: 0;
  line-height: 1.9;
  text-align: justify;
  text-justify: inter-word;
}
.hl-row--center { justify-content: center; }
.pkg-card__meta { justify-content: center; }
.solo-price { text-align: center; }

.route-track { display: grid; gap: 10px; }
.route-lead { margin: 0 0 4px; line-height: 1.5; }
.route-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
  position: relative;
}
.route-list::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent2), rgba(22,131,255,0.35));
}
[dir="rtl"] .route-list::before { left: auto; right: 17px; }
.route-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  position: relative;
}
.route-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--accent), #0a4f9c);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(6,17,31,0.9);
}
.route-list strong { display: block; font-size: 0.95rem; }
.route-list small { color: var(--muted); font-size: 0.72rem; font-weight: 700; }
.detail-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.stat {
  padding: 12px 10px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: center;
}
.stat strong { display: block; font-size: 0.95rem; margin-bottom: 2px; }
.stat span { color: var(--muted); font-size: 0.7rem; font-weight: 700; }

/* Segmented tabs */
.tabs-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin: 0 0 16px;
  padding: 4px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line);
}
.tabs-bar--4 { grid-template-columns: repeat(4, 1fr); }
.tabs-bar--5 { grid-template-columns: repeat(5, 1fr); }
.tabs-bar--5 button { font-size: 0.64rem; padding: 10px 2px; }
.tabs-bar button {
  min-height: 44px;
  padding: 10px 4px;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font-weight: 750;
  font-size: 0.72rem;
  letter-spacing: -0.01em;
  border: 0;
  white-space: nowrap;
}
.tabs-bar button.is-on {
  background: rgba(22, 131, 255, 0.22);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}
.panel {
  display: none;
  animation: rise 0.28s ease;
  min-height: 180px;
}
.panel.is-on { display: block; }
.panel[data-panel-body="route"] { min-height: 0; }
.panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 10px;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}
.panel-title:first-child { margin-top: 0; }
.panel-title--in { color: var(--highlight); }
.panel-title--out { color: #ffb0bf; }

.overview-block {
  display: grid;
  gap: 16px;
  padding: 16px 16px 12px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.overview-p {
  margin: 0;
  color: #d5e2ef;
  font-size: 0.96rem;
  line-height: 1.9;
  text-align: justify;
  text-justify: inter-word;
}
.overview-p + .overview-p {
  padding-top: 2px;
}

.itin-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 12px;
}
.itin-head strong { font-size: 1rem; }
.itin-head span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.day-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.day-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px 16px 16px 14px;
  border-radius: 16px;
  background: rgba(16, 36, 58, 0.55);
  border: 1px solid var(--line);
  position: relative;
}
.day-card:nth-child(even) {
  background: rgba(16, 36, 58, 0.72);
}
.day-card__rail {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 100%;
}
.day-card:not(:last-child) .day-card__rail::after {
  content: "";
  position: absolute;
  top: 58px;
  bottom: -24px;
  left: 50%;
  width: 0;
  transform: translateX(-50%);
  border-left: 2px dotted rgba(157, 176, 197, 0.45);
  pointer-events: none;
}
[dir="rtl"] .day-card:not(:last-child) .day-card__rail::after {
  left: auto;
  right: 50%;
  transform: translateX(50%);
}
.day-card__num {
  width: 52px;
  min-height: 52px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, #0f2a4a, #1a4f8c);
  border: 0;
  box-shadow: 0 8px 18px rgba(15, 42, 74, 0.28);
  position: relative;
  z-index: 1;
}
.day-card__num strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}
.day-card__num small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.58rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
}
.day-card__body { min-width: 0; }
.day-card__title {
  margin: 0 0 10px;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.45;
  color: #7ec4ff;
  overflow-wrap: anywhere;
}
.day-card__text {
  display: grid;
  gap: 12px;
}
.day-card__text p {
  margin: 0;
  color: #c8d6e4;
  font-size: 0.94rem;
  line-height: 1.9;
  overflow-wrap: anywhere;
  text-align: justify;
  text-justify: inter-word;
}

.ix-list {
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.ix-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: #d7e4f2;
  font-size: 0.9rem;
  line-height: 1.7;
}
.ix-item--in { border-color: rgba(26, 149, 255, 0.32); background: rgba(26, 149, 255, 0.08); }
.ix-item--out { border-color: rgba(226,85,110,0.28); background: rgba(226,85,110,0.08); }
.ix-item--star { border-color: rgba(224,179,90,0.3); background: rgba(224,179,90,0.08); }
.ix-ico {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.ix-ico svg { width: 15px; height: 15px; }
.ix-ico--in { background: rgba(26, 149, 255, 0.2); color: var(--highlight); }
.ix-ico--out { background: rgba(226,85,110,0.2); color: #ff9eb0; }
.ix-ico--star { background: rgba(224,179,90,0.2); color: #efc56d; }
.ix-ico--hotel { background: rgba(22,131,255,0.18); color: #8ec4ff; }
.ix-item--hotel { border-color: rgba(22,131,255,0.28); background: rgba(22,131,255,0.08); }

.hl-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}
.hl-pill {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(224,179,90,0.14);
  border: 1px solid rgba(224,179,90,0.32);
  color: #f0d49a;
  font-size: 0.76rem;
  font-weight: 750;
}
.pill--accent {
  background: rgba(22,131,255,0.18);
  color: #cfe6ff;
}
.old-price { color: #8a9bb0; font-weight: 600; }
.solo-price {
  margin: -6px 0 14px;
  color: var(--muted);
  font-size: 0.86rem;
}
.solo-price strong { color: #d7e8ff; }

.gallery-row {
  display: flex;
  gap: 8px;
  overflow: auto;
  margin: 0 0 16px;
  padding-bottom: 2px;
}
.gallery-thumb {
  width: 86px;
  height: 64px;
  border-radius: 12px;
  border: 2px solid transparent;
  background: #0a1a2e center/cover no-repeat;
  flex: 0 0 auto;
  padding: 0;
}
.gallery-thumb.is-on { border-color: var(--accent2); }

/* legacy aliases */
.seg { display: none; }
.timeline, .check-list { margin: 0; padding: 0; list-style: none; }

.sticky-cta {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(72px + var(--safe-b));
  width: min(448px, calc(100% - 24px));
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 8px;
  padding: 10px;
  background: rgba(6, 17, 31, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 20px;
  z-index: 35;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.sticky-cta--nashmi {
  grid-template-columns: 1fr;
  gap: 10px;
}
.sticky-cta__book.adviser-pkg-book {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 0;
}
.adviser-pkg-book {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff !important;
  background: linear-gradient(135deg, #0362c1, #194172);
  box-shadow: 0 10px 24px rgba(25, 65, 114, 0.28);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}
.adviser-pkg-book:active {
  transform: translateY(-1px);
  filter: brightness(1.06);
}
.sticky-cta .price-box {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 0 4px 4px;
  font-size: 0.82rem; color: var(--muted);
}
.sticky-cta .price-box strong { color: var(--highlight); font-size: 1.05rem; }

.form { display: grid; gap: 10px; }
.form label { display: grid; gap: 6px; color: #d5e3f2; font-size: 0.88rem; }
.form input, .form select, .form textarea {
  width: 100%; border-radius: 14px; border: 1px solid var(--line);
  background: rgba(0,0,0,0.24); color: var(--text); padding: 12px 13px; font: inherit;
}
.err {
  display: none; padding: 11px 12px; border-radius: 14px;
  background: rgba(226,85,110,0.14); border: 1px solid rgba(226,85,110,0.4);
  color: #ffb3c0; font-size: 0.9rem;
}
.err.show { display: block; }
.ok {
  padding: 12px; border-radius: 14px; margin-bottom: 12px;
  background: rgba(26, 149, 255, 0.16); border: 1px solid rgba(26, 149, 255, 0.38); color: #b8dcff;
}

.booking-item, .account-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  margin-bottom: 10px;
}

.auth-choice__lead {
  margin: 0 0 8px;
  line-height: 1.65;
  text-align: justify;
  text-justify: inter-word;
}
.auth-choice__hint { margin: 0 0 8px; font-size: 0.86rem; }
.auth-page-lead {
  margin: 0 0 12px;
  line-height: 1.65;
  text-align: justify;
  text-justify: inter-word;
}
.guest-lead { margin: 0 0 10px; line-height: 1.55; }
.guest-card { margin-bottom: 10px; }
.guest-card strong { display: block; margin-bottom: 4px; }

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 0 0 14px;
}
.auth-tab {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  border-radius: 12px;
  padding: 10px 8px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}
.auth-tab.is-on {
  color: #fff;
  border-color: rgba(22, 131, 255, 0.45);
  background: rgba(22, 131, 255, 0.18);
}
.auth-panel { display: none; }
.auth-panel.is-on { display: block; }

.muted { color: var(--muted); font-size: 0.88rem; }
.list-ul { margin: 8px 0 0; padding: 0 0 0 18px; color: var(--muted); }
[dir="rtl"] .list-ul { padding: 0 18px 0 0; }

.tabs {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: 0; width: min(480px, 100%);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px; padding: 8px 8px calc(8px + var(--safe-b));
  background: var(--tab);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(18px);
  z-index: 50;
}
.tab {
  background: transparent; color: var(--muted);
  padding: 8px 2px; border-radius: 14px;
  display: grid; gap: 3px; place-items: center;
  font-size: 0.66rem; font-weight: 700;
}
.tab svg { width: 22px; height: 22px; }
.tab.is-on { color: #fff; background: rgba(22,131,255,0.18); }

.entry-gate {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(4,18,31,0.72), rgba(4,18,31,0.94)),
    url("../img/jordan/banner-petra.jpg") center/cover no-repeat;
}
.entry-gate__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(14px + var(--safe-t)) 16px 10px;
}
.entry-gate__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.entry-gate__brand img { border-radius: 14px; flex-shrink: 0; }
.entry-gate__brand strong {
  display: block;
  font-size: 1.05rem;
  color: #fff;
}
.entry-gate__brand span {
  display: block;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.72);
  margin-top: 2px;
}
.entry-gate__main {
  flex: 1;
  display: grid;
  align-content: center;
  padding: 10px 16px calc(24px + var(--safe-b));
}
.entry-gate__card {
  width: min(440px, 100%);
  margin: 0 auto;
  padding: 22px 18px 18px;
}
.entry-gate__title {
  margin: 0 0 8px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.entry-gate__lead {
  margin: 0 0 16px;
  font-size: 0.9rem;
  line-height: 1.45;
}
.entry-gate__skip {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.entry-gate__google {
  display: flex;
  justify-content: center;
  min-height: 44px;
  margin-bottom: 4px;
}
.entry-gate__google-wrap {
  position: relative;
  width: 100%;
}
.entry-gate__google-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.011;
  overflow: hidden;
  cursor: pointer;
  z-index: 2;
}
.entry-gate__google-overlay > div,
.entry-gate__google-overlay iframe {
  width: 100% !important;
  min-height: 44px !important;
}
.auth-choice .entry-gate__google {
  margin-top: 8px;
}
.account-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}
.account-avatar {
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--line);
}
.account-provider {
  margin-top: 4px;
  font-size: 0.78rem;
}
.entry-gate__google-hint {
  margin: 0 0 12px;
  font-size: 0.82rem;
  line-height: 1.4;
}
.entry-gate__or {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
  color: var(--muted);
  font-size: 0.82rem;
}
.entry-gate__or::before,
.entry-gate__or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.entry-gate__email {
  margin-top: 16px;
}
.entry-gate__email summary {
  cursor: pointer;
  color: var(--accent2);
  font-size: 0.88rem;
  font-weight: 650;
  list-style: none;
}
.entry-gate__email summary::-webkit-details-marker { display: none; }
.entry-gate__email[open] summary { margin-bottom: 12px; }
.btn-google-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: #1f1f1f;
  font-weight: 650;
  font-size: 0.95rem;
}
.btn-google-fallback svg { flex-shrink: 0; }

.splash {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; text-align: center;
  background: #04121f;
  overflow: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
.splash.is-hide { opacity: 0; visibility: hidden; pointer-events: none; }
.splash__video,
.splash__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  background: center/cover no-repeat;
}
.splash__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,18,31,0.35), rgba(4,18,31,0.82));
}
.splash__content { position: relative; z-index: 2; padding: 20px; }
.splash strong { display: block; font-size: 1.7rem; margin-top: 12px; letter-spacing: -0.03em; color: #fff; }
.splash span { color: rgba(255,255,255,0.78); }

.chat-fab {
  position: fixed;
  right: max(14px, calc(50% - 226px));
  bottom: calc(86px + var(--safe-b));
  z-index: 55;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px 8px 8px;
  border-radius: 999px;
  background: linear-gradient(145deg, #1a95ff, #0a4f9c);
  color: #fff;
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
  font-weight: 750;
  font-size: 0.82rem;
}
[dir="rtl"] .chat-fab {
  right: auto;
  left: max(14px, calc(50% - 226px));
}
.chat-fab img {
  width: 36px; height: 36px; border-radius: 50%;
  object-fit: cover; background: #fff;
}
.chat-fab em { font-style: normal; }
.chat-fab.is-hide { display: none; }

.chat-panel {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(78px + var(--safe-b));
  width: min(420px, calc(100% - 20px));
  max-height: min(62vh, 520px);
  z-index: 60;
  display: flex; flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(6, 17, 31, 0.96);
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  backdrop-filter: blur(16px);
}
.chat-panel[hidden] { display: none !important; }
.chat-panel__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 12px 12px 10px;
  border-bottom: 1px solid var(--line);
}
.chat-panel__who { display: flex; align-items: center; gap: 10px; }
.chat-panel__who img {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
}
.chat-panel__who strong { display: block; font-size: 0.95rem; }
.chat-panel__who small { color: var(--accent2); font-size: 0.72rem; font-weight: 700; }
.chat-panel__msgs {
  flex: 1; overflow: auto; padding: 12px;
  display: grid; gap: 8px; align-content: start;
  min-height: 160px;
}
.chat-bubble {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 14px 14px 14px 4px;
  background: rgba(255,255,255,0.08);
  color: #e7f0fa;
  font-size: 0.88rem;
  line-height: 1.45;
}
.chat-bubble--me {
  justify-self: end;
  border-radius: 14px 14px 4px 14px;
  background: rgba(22,131,255,0.28);
}
.chat-panel__quick {
  display: flex; gap: 6px; overflow: auto;
  padding: 0 12px 10px;
}
.chat-panel__quick button {
  flex: 0 0 auto;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  color: #d7e8ff;
  font-size: 0.76rem;
  font-weight: 750;
  border: 1px solid var(--line);
}
.chat-panel__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 10px 12px calc(10px + var(--safe-b));
  border-top: 1px solid var(--line);
}
.chat-panel__form input {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.25);
  color: var(--text);
  padding: 11px 12px;
  font: inherit;
}

.hidden { display: none !important; }

/* ——— Arabic / RTL polish ——— */
[dir="rtl"] #app,
[dir="rtl"] .screen,
[dir="rtl"] .home-body,
[dir="rtl"] .detail-body,
[dir="rtl"] .account-card,
[dir="rtl"] .booking-item,
[dir="rtl"] .form,
[dir="rtl"] .panel,
[dir="rtl"] .overview-block,
[dir="rtl"] .search,
[dir="rtl"] .chat-panel {
  text-align: right;
}

[dir="rtl"] .app-brand,
[dir="rtl"] .app-brand strong,
[dir="rtl"] .app-brand small,
[dir="rtl"] .section-head,
[dir="rtl"] .section-sub,
[dir="rtl"] .pkg-card__body,
[dir="rtl"] .pkg-card h3,
[dir="rtl"] .pkg-card p,
[dir="rtl"] .day-card__body,
[dir="rtl"] .day-card__title,
[dir="rtl"] .day-card__text,
[dir="rtl"] .ix-item,
[dir="rtl"] .route-list,
[dir="rtl"] .itin-head,
[dir="rtl"] .panel-title,
[dir="rtl"] .muted,
[dir="rtl"] .form label,
[dir="rtl"] .chat-panel__who,
[dir="rtl"] .chat-bubble {
  text-align: right;
}

[dir="rtl"] .overview-p,
[dir="rtl"] .detail-summary,
[dir="rtl"] .detail-summary p,
[dir="rtl"] .day-card__text p {
  text-align: justify;
  text-justify: inter-word;
}

[dir="rtl"] .gateway__content--center {
  text-align: center;
}
[dir="rtl"] .gateway__content--center .gateway__lead,
[dir="rtl"] .gateway__content--center .gateway__brand,
[dir="rtl"] .gateway__content--center .gateway__kicker {
  text-align: center;
}
[dir="rtl"] .section-head--hero,
[dir="rtl"] .dest-row--hero .dest-chip {
  text-align: right;
}

[dir="rtl"] .detail-head {
  text-align: right;
}
[dir="rtl"] .detail-summary {
  margin-left: 0;
  margin-right: 0;
  margin-inline: 0;
  max-width: none;
}
[dir="rtl"] .hl-row--center,
[dir="rtl"] .pkg-card__meta {
  justify-content: flex-start;
}
[dir="rtl"] .solo-price {
  text-align: right;
}

[dir="rtl"] .section-head {
  flex-direction: row;
}
[dir="rtl"] .dest-chip,
[dir="rtl"] .duo-card__body,
[dir="rtl"] .rail-card__body {
  text-align: right;
}
[dir="rtl"] .duo-card__tag,
[dir="rtl"] .duo-card__cta {
  align-self: flex-start;
}

[dir="rtl"] .ix-item {
  grid-template-columns: 1fr 28px;
}
[dir="rtl"] .ix-item .ix-ico { order: 2; }
[dir="rtl"] .ix-item span:last-child { order: 1; text-align: right; }

[dir="rtl"] .route-list li {
  grid-template-columns: 1fr 36px;
}
[dir="rtl"] .route-num { order: 2; }
[dir="rtl"] .route-list li > div { order: 1; text-align: right; }

[dir="rtl"] .panel-title {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

[dir="rtl"] .sticky-cta .price-box {
  flex-direction: row-reverse;
}
[dir="rtl"] .chat-bubble {
  border-radius: 14px 14px 4px 14px;
}
[dir="rtl"] .chat-bubble--me {
  justify-self: start;
  border-radius: 14px 14px 14px 4px;
}
[dir="rtl"] .chat-panel__form {
  grid-template-columns: auto 1fr;
}
[dir="rtl"] .chat-panel__form .btn { order: -1; }
[dir="rtl"] .chat-panel__who {
  flex-direction: row-reverse;
}
[dir="rtl"] .chat-panel__head {
  flex-direction: row-reverse;
}

[dir="rtl"] .tabs .tab span,
[dir="rtl"] .quick span,
[dir="rtl"] .chip,
[dir="rtl"] .btn {
  letter-spacing: 0;
}

[dir="rtl"] .search,
[dir="rtl"] .form input,
[dir="rtl"] .form select,
[dir="rtl"] .form textarea,
[dir="rtl"] .chat-panel__form input {
  text-align: right;
  direction: rtl;
}

[dir="rtl"] .list-ul {
  padding: 0 18px 0 0;
}
[dir="rtl"] .overview-block {
  text-align: right;
}
[dir="rtl"] .stat {
  text-align: center;
}

[dir="rtl"] .pkg-card__row {
  flex-direction: row-reverse;
}
[dir="rtl"] .pkg-card__badge {
  left: auto;
  right: 12px;
}

/* ——— Route map (Leaflet) ——— */
.ae-route {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}
.ae-route__map-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #d7e6f2;
  border: 1px solid var(--line);
  min-height: 280px;
  height: 280px;
}
.ae-route__map {
  width: 100%;
  height: 100%;
  min-height: 280px;
  z-index: 1;
}
.ae-route__map .leaflet-container {
  width: 100%;
  height: 100%;
  font-family: inherit;
}
.ae-route__map .leaflet-control-attribution {
  font-size: 9px;
  background: rgba(255, 255, 255, 0.82) !important;
}
.ae-route__map .leaflet-control-zoom a {
  width: 32px !important;
  height: 32px !important;
  line-height: 32px !important;
  border-radius: 10px !important;
  color: #1f4d7a !important;
  border: 0 !important;
  box-shadow: 0 4px 12px rgba(22, 50, 79, 0.18);
}
.ae-route__legend {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 16px rgba(22, 50, 79, 0.14);
  font-size: 11px;
  font-weight: 700;
  color: #4a5d6b;
}
.ae-route__legend-dot {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.ae-route__legend-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1f4d7a;
}
.ae-route__legend-dot--start::before { background: #1a8f6a; }
.ae-route__legend-dot--end::before { background: #c44848; }
.ae-route__legend-line {
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1a8f6a, #1f4d7a, #c44848);
}
.ae-route__legend-veh {
  width: 18px;
  height: 12px;
  border-radius: 3px;
  background: linear-gradient(145deg, #3a7aad, #1f4d7a);
  box-shadow: 0 2px 5px rgba(31, 77, 122, 0.28);
}
.ae-route__stops {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.ae-route__stops::-webkit-scrollbar { display: none; }
.ae-route__stop {
  flex: 0 0 auto;
  min-width: 168px;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: start;
  border: 1px solid var(--line);
  background: rgba(16, 36, 58, 0.72);
  border-radius: 14px;
  padding: 10px 12px;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}
.ae-route__stop.is-active {
  border-color: rgba(22, 131, 255, 0.55);
  background: rgba(22, 131, 255, 0.14);
}
.ae-route__stop-num {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.82rem;
  color: #fff;
  background: linear-gradient(145deg, var(--accent), #0a4f9c);
}
.ae-route__stop.is-active .ae-route__stop-num {
  background: linear-gradient(145deg, #3d9cf0, #1683ff);
}
.ae-route__stop-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.ae-route__stop-text strong {
  color: var(--text);
  font-size: 0.86rem;
  line-height: 1.25;
}
.ae-route__stop-text em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.72rem;
}
.ae-route__marker {
  background: transparent !important;
  border: 0 !important;
}
.ae-route__pin {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  background: linear-gradient(145deg, #3a7aad, #1f4d7a);
  border: 3px solid #fff;
  box-shadow: 0 6px 14px rgba(31, 77, 122, 0.28);
}
.ae-route__pin--start { background: linear-gradient(145deg, #2bb88a, #1a8f6a); }
.ae-route__pin--end { background: linear-gradient(145deg, #e06a6a, #c44848); }
.ae-route__pin--air { background: linear-gradient(145deg, #5a8fbf, #2f5f8f); font-size: 0.78rem; }
.ae-route__popup strong {
  display: block;
  color: #1f4d7a;
  font-size: 0.88rem;
}
.ae-route__popup span {
  color: #6b7f92;
  font-size: 0.75rem;
}
.ae-route__veh-marker {
  background: transparent !important;
  border: 0 !important;
}
.ae-route__veh {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  transform-origin: 50% 50%;
  will-change: transform;
}
.ae-route__veh--car {
  background: linear-gradient(145deg, #3d8bc4, #1f4d7a);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.95), 0 8px 18px rgba(31, 77, 122, 0.38);
}
.ae-route__veh--plane {
  background: linear-gradient(145deg, #6aa3d4, #2f5f8f);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.95), 0 8px 18px rgba(47, 95, 143, 0.38);
}
.ae-route__veh-svg {
  width: 24px;
  height: 24px;
  display: block;
}

[dir="rtl"] .ae-route__stop { text-align: right; }
[dir="rtl"] .ae-route__legend { left: auto; right: 10px; }

.nashmi-launch { margin-top: 12px; }
.nashmi-launch .adviser-pkg-book { width: 100%; margin-top: 12px; }

.nashmi-home {
  margin-top: 14px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  display: grid;
  gap: 12px;
  text-align: start;
}
.nashmi-home__row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nashmi-home__avatar {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.nashmi-home__copy strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 4px;
}
.nashmi-home__copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  line-height: 1.45;
}
.nashmi-home__btn {
  width: 100%;
  margin: 0;
}

/* User Guide (visitor-facing) */
.app-guide-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 18px;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(6, 24, 43, 0.95), rgba(15, 42, 74, 0.92));
  border: 1px solid rgba(201, 162, 39, 0.25);
}
.app-guide-promo strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.app-guide-promo .muted {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.4;
}
.app-guide-head {
  align-items: flex-start;
}
.app-guide-lead {
  margin: 0 0 16px;
  color: var(--muted, #8ea0b5);
  font-size: 0.85rem;
  line-height: 1.5;
}
.app-guide-section {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
}
.app-guide-section__head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.app-guide-section__num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(201, 162, 39, 0.2);
  color: #f2d58a;
  font-weight: 700;
  font-size: 0.78rem;
}
.app-guide-section h3 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  color: #fff;
}
.app-guide-screen {
  margin: 0;
  font-size: 0.72rem;
}
.app-guide-dur {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 600;
  color: #f2d58a;
  background: rgba(201, 162, 39, 0.12);
  padding: 4px 8px;
  border-radius: 999px;
}
.app-guide-desc {
  margin: 0 0 12px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}
.app-guide-video {
  margin: 0 0 12px;
}
.app-guide-video__wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #0a1628;
  border: 1px solid rgba(255, 255, 255, 0.1);
  aspect-ratio: 16 / 9;
}
.app-guide-video__el {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #0a1628;
}
.app-guide-video__overlay {
  display: none;
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(15, 42, 74, 0.65);
  color: #fff;
  pointer-events: none;
}
.app-guide-video.is-missing .app-guide-video__overlay {
  display: flex;
}
.app-guide-video__overlay-icon {
  font-size: 1.6rem;
  opacity: 0.85;
}
.app-guide-video__overlay-text {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
}
.app-guide-video__label {
  margin: 6px 0 0;
  font-size: 0.72rem;
  font-weight: 600;
}
.app-guide-video__status {
  margin: 2px 0 0;
  font-size: 0.68rem;
}
.app-guide-video__status:empty {
  display: none;
}
.app-guide-video__status.is-ready {
  color: #7dcea0;
}
.app-guide-video__status.is-missing {
  color: #f2d58a;
}
.app-guide-video:not(.is-missing) .app-guide-video__status.is-missing {
  display: none;
}
.app-guide-screenshot {
  margin: 0 0 12px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.app-guide-screenshot img {
  display: block;
  width: 100%;
  height: auto;
}
.app-guide-screenshot.is-placeholder {
  position: relative;
  min-height: 140px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.08));
}
.app-guide-screenshot.is-placeholder img {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.app-guide-screenshot.is-placeholder::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}
.app-guide-audio audio {
  width: 100%;
  margin-bottom: 8px;
}
.app-guide-audio__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.app-guide-audio__tts.is-speaking {
  background: rgba(201, 162, 39, 0.35);
  color: #fff;
}
.app-guide-audio__status.is-ready {
  color: #7dcea0;
}
.app-guide-audio__status.is-missing {
  color: #f2d58a;
}

