/* AlYusrii — design tokens */
:root {
  --bg: #F8F4EC;
  --surface: #FFFFFF;
  --surface-2: #F3EDE2;
  --line: #EAE2D4;
  --ink: #2B1D14;
  --ink-2: #5B4B3F;
  --muted: #9A8B7C;
  --gold: #C9A35A;
  --gold-2: #E6CB8E;
  --gold-ink: #8A6A2E;
  --green: #0E5A43;
  --green-soft: #E3F1EA;
  --success: #1F8A5B;
  --danger: #C0473B;
  --dark: #2B1D14;
  --on-dark: #FFF8EC;
  --shadow: 0 6px 20px rgba(43, 29, 20, .08);
  --radius: 16px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --arabic: "Noto Naskh Arabic", "Geeza Pro", "Arial", sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}
:root[data-theme="dark"] {
  --bg: #17110C;
  --surface: #231A13;
  --surface-2: #2E231A;
  --line: #3A2D22;
  --ink: #F7EEDF;
  --ink-2: #D6C8B4;
  --muted: #9C8D7B;
  --gold-ink: #E2C27F;
  --green-soft: #173A2E;
  --dark: #0F0B08;
  --shadow: 0 6px 20px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); overscroll-behavior: none; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
[dir="rtl"] body, [dir="rtl"] button, [dir="rtl"] input { font-family: var(--arabic), var(--font); }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }

/* Device frame: full screen on phones, framed on desktop */
#device {
  /* phones: pinned to the four edges of the screen, nothing else visible */
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--bg);
}
@media (min-width: 600px) and (min-height: 700px) {
  body { display: grid; place-items: center; min-height: 100vh; background: #E9E1D3; }
  :root[data-theme="dark"] body { background: #0B0805; }
  #device {
    position: relative; inset: auto; margin: 0 auto;
    width: 402px; height: min(874px, 96vh);
    border-radius: 48px;
    border: 12px solid #1B130D;
    box-shadow: 0 30px 80px rgba(43, 29, 20, .35);
  }
}
#app { position: absolute; inset: 0; overflow: hidden; }

/* Screen */
.screen {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  background: var(--bg);
  animation: enter .28s ease;
}
@keyframes enter { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
[dir="rtl"] .screen { animation-name: enter-rtl; }
@keyframes enter-rtl { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .screen { animation: none; } }
.scroll {
  flex: 1; overflow-y: auto; overflow-x: hidden;
  padding: 0 18px 24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.scroll::-webkit-scrollbar { display: none; }
.pad-top { padding-top: calc(var(--safe-top) + 14px); }

/* Header */
.topbar {
  display: flex; align-items: center; gap: 10px;
  padding: calc(var(--safe-top) + 12px) 18px 10px;
  min-height: 60px;
}
.topbar h1 { flex: 1; margin: 0; font-size: 17px; font-weight: 600; text-align: center; }
.topbar.left h1 { text-align: start; font-size: 22px; }
.icon-btn {
  width: 38px; height: 38px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
}
.icon-btn.ghost { background: transparent; border-color: transparent; }
.icon-btn.glass { background: rgba(255,255,255,.88); border: 0; color: #2B1D14; }
.icon-btn.dark { background: var(--dark); color: var(--on-dark); border: 0; }
.icon-btn svg { width: 18px; height: 18px; }
[dir="rtl"] .flip svg { transform: scaleX(-1); }
.spacer { width: 38px; flex: none; }

/* Typography */
.serif { font-family: var(--serif); }
.gold { color: var(--gold-ink); }
.gold-i { font-family: var(--serif); font-style: italic; color: var(--gold-ink); font-weight: 500; }
[dir="rtl"] .gold-i { font-style: normal; font-family: var(--arabic); }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.xs { font-size: 11px; }
.eyebrow { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.section-title { display: flex; align-items: baseline; justify-content: space-between; margin: 20px 0 10px; }
.section-title h3 { margin: 0; font-size: 15px; font-weight: 600; }
.link { color: var(--gold-ink); font-size: 12px; font-weight: 600; }
h2.big { font-size: 26px; line-height: 1.15; margin: 6px 0 6px; font-weight: 600; }
.price { font-weight: 700; }
.price small { font-weight: 400; color: var(--muted); font-size: 11px; }

/* Buttons */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; height: 52px; border-radius: 14px;
  font-weight: 600; font-size: 15px;
  background: var(--dark); color: var(--on-dark);
  transition: transform .1s ease, opacity .2s;
}
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn.gold-btn { background: linear-gradient(100deg, #E8CC8D, #C9A35A 55%, #B78F45); color: #2B1D14; }
.btn.outline { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.btn.sm { height: 40px; font-size: 13px; border-radius: 12px; width: auto; padding: 0 16px; }
.btn svg { width: 18px; height: 18px; }
.pill-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  background: linear-gradient(100deg, #E8CC8D, #C9A35A); color: #2B1D14;
  font-size: 12px; font-weight: 600;
}
.pill-btn svg { width: 14px; height: 14px; }
.footer-bar {
  padding: 12px 18px calc(var(--safe-bottom) + 14px);
  background: var(--surface);
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 14px;
}
.footer-bar .grow { flex: 1; }

/* Cards & lists */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.card.pad { padding: 14px; }
.card.selected { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }
.row { display: flex; align-items: center; gap: 12px; }
.row.between { justify-content: space-between; }
.stack > * + * { margin-top: 10px; }
.divider { height: 1px; background: var(--line); margin: 10px 0; }
.list-row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px; width: 100%; text-align: start;
}
.list-row + .list-row { border-top: 1px solid var(--line); }
.list-row .grow { flex: 1; min-width: 0; }
.list-row .t { font-size: 14px; font-weight: 600; }
.list-row .s { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.list-row .chev { color: var(--muted); }
.list-row .chev svg { width: 16px; height: 16px; }
.ic-box {
  width: 38px; height: 38px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  background: var(--surface-2); color: var(--gold-ink);
}
.ic-box svg { width: 18px; height: 18px; }

/* Chips / segmented */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 4px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  font-size: 12px; font-weight: 500; color: var(--ink);
}
.chip.on { background: var(--dark); color: var(--on-dark); border-color: var(--dark); }
.seg { display: flex; background: var(--surface-2); border-radius: 12px; padding: 4px; gap: 4px; }
.seg button { flex: 1; height: 34px; border-radius: 9px; font-size: 13px; font-weight: 500; color: var(--muted); }
.seg button.on { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: 0 1px 4px rgba(0,0,0,.08); }

/* Inputs */
.field { display: block; }
.field label, .label { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 16px 0 8px; }
.input {
  display: flex; align-items: center; gap: 10px;
  height: 50px; padding: 0 14px;
  border-radius: 14px; border: 1px solid var(--line); background: var(--surface);
}
.input:focus-within { border-color: var(--gold); }
.input input, .input select { flex: 1; border: 0; outline: 0; background: transparent; font-size: 15px; min-width: 0; }
.input .pre { font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 6px; padding-inline-end: 10px; border-inline-end: 1px solid var(--line); }
.input svg { width: 18px; height: 18px; color: var(--muted); }
.otp { display: flex; gap: 10px; justify-content: center; margin: 18px 0; }
.otp input {
  width: 46px; height: 56px; text-align: center; font-size: 22px; font-weight: 600;
  border-radius: 14px; border: 1px solid var(--line); background: var(--surface); outline: 0;
}
.otp input:focus { border-color: var(--gold); }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; margin: 18px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Toggle */
.toggle { width: 46px; height: 28px; border-radius: 999px; background: var(--line); position: relative; flex: none; transition: background .2s; }
.toggle::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: inset-inline-start .2s; }
.toggle.on { background: var(--green); }
.toggle.on::after { inset-inline-start: 21px; }

/* Stepper */
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; background: var(--surface); }
.stepper button.plus { background: var(--dark); color: var(--on-dark); border: 0; }
.stepper button svg { width: 14px; height: 14px; }
.stepper b { min-width: 16px; text-align: center; }

/* Tab bar */
.tabbar {
  display: flex; justify-content: space-around;
  padding: 8px 6px calc(var(--safe-bottom) + 8px);
  background: var(--surface); border-top: 1px solid var(--line);
}
.tabbar button { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10px; color: var(--muted); width: 64px; }
.tabbar .ti { width: 46px; height: 30px; border-radius: 999px; display: grid; place-items: center; }
.tabbar svg { width: 19px; height: 19px; }
.tabbar button.on { color: var(--ink); font-weight: 600; }
.tabbar button.on .ti { background: var(--gold-2); color: #2B1D14; }
:root[data-theme="dark"] .tabbar button.on .ti { background: var(--gold); }

/* Launch */
.launch { color: #fff; justify-content: flex-end; }
.launch .bg { position: absolute; inset: 0; background-size: cover; background-position: center 45%; }
.launch .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,12,6,.05) 0%, rgba(20,12,6,.10) 35%, rgba(20,12,6,.60) 62%, rgba(20,12,6,.90) 100%); }
.launch .content { position: relative; padding: 0 28px calc(var(--safe-bottom) + 40px); text-align: center; }
.launch .brand { font-family: var(--serif); font-size: 44px; font-weight: 700; margin: 10px 0 0; letter-spacing: -.01em; }
.launch .ar { font-family: var(--arabic); color: var(--gold-2); font-size: 20px; }
.launch .tag { font-family: var(--serif); font-style: italic; opacity: .9; margin: 18px 0 30px; font-size: 16px; }
.launch .sub { font-size: 12.5px; margin-top: 16px; opacity: .85; }
.launch .sub button { color: var(--gold-2); font-weight: 600; }
.logo-mark { width: 70px; height: 70px; margin: 0 auto; }

/* Hero (top image) */
.hero-img { position: relative; height: 220px; background-size: cover; background-position: center; flex: none; }
.hero-img .bar { position: absolute; top: calc(var(--safe-top) + 12px); inset-inline: 16px; display: flex; justify-content: space-between; gap: 8px; }
.sheet-top { margin-top: -22px; position: relative; border-radius: 24px 24px 0 0; background: var(--bg); padding-top: 18px; }

/* Home */
.home-head { display: flex; align-items: center; justify-content: space-between; }
.brand-row { display: flex; align-items: center; gap: 6px; font-family: var(--serif); font-weight: 700; font-size: 17px; }
.brand-row svg { width: 22px; height: 22px; }
.banner {
  position: relative; border-radius: 20px; overflow: hidden; height: 168px;
  background-size: cover; background-position: center; color: #fff; padding: 16px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30,18,10,.92) 0%, rgba(30,18,10,.55) 55%, rgba(30,18,10,.1) 100%); }
[dir="rtl"] .banner::before { background: linear-gradient(270deg, rgba(30,18,10,.92) 0%, rgba(30,18,10,.55) 55%, rgba(30,18,10,.1) 100%); }
.banner > * { position: relative; }
.banner .eyebrow { color: var(--gold-2); }
.banner h3 { font-family: var(--serif); font-weight: 500; font-size: 21px; margin: 6px 0 0; line-height: 1.2; }
.prayer-strip {
  display: flex; align-items: center; gap: 10px;
  background: var(--dark); color: var(--on-dark);
  border-radius: 14px; padding: 12px 14px; margin-top: 12px; font-size: 12.5px; width: 100%;
}
.prayer-strip svg { width: 16px; height: 16px; color: var(--gold-2); }
.prayer-strip .grow { flex: 1; text-align: start; }
.prayer-strip b { font-size: 14px; }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.svc {
  text-align: start; border-radius: 16px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); position: relative;
  display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch;
}
.svc .im { height: 92px; background-size: cover; background-position: center; }
.svc .badge { position: absolute; top: 66px; inset-inline-end: 8px; width: 36px; height: 36px; border-radius: 50%; background: var(--dark); color: var(--on-dark); display: grid; place-items: center; border: 2px solid var(--surface); }
.svc .badge svg { width: 16px; height: 16px; }
.svc .tx { padding: 10px 12px 12px; }
.svc .t { font-size: 13.5px; font-weight: 600; }
.svc .s { font-size: 11px; color: var(--muted); margin-top: 2px; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.quick button { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; color: var(--ink-2); }
.quick .q { width: 52px; height: 52px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold-ink); }
.quick svg { width: 20px; height: 20px; }

/* Program list */
.prog { overflow: hidden; text-align: start; width: 100%; position: relative; }
.prog .im { height: 116px; background-size: cover; background-position: center; position: relative; }
.prog .tag { position: absolute; top: 10px; inset-inline-start: 10px; background: var(--gold); color: #2B1D14; font-size: 9.5px; font-weight: 700; padding: 3px 8px; border-radius: 6px; letter-spacing: .06em; }
.fav {
  position: absolute; top: 10px; inset-inline-end: 10px; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.92); display: grid; place-items: center; color: #2B1D14;
}
.fav svg { width: 16px; height: 16px; }
.fav.on { color: #fff; background: var(--gold); }
.fav.on svg { fill: currentColor; }
.bar .fav, .bar .icon-btn.fav { position: static; }
.icon-btn.fav.on { background: var(--gold); color: #fff; }
.prog .bd { padding: 12px 14px; }
.prog .t { font-weight: 600; font-size: 14px; }
.prog .s { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.meta { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--muted); margin-top: 10px; }
.meta span { display: inline-flex; align-items: center; gap: 4px; }
.meta svg { width: 13px; height: 13px; }
.meta .price { margin-inline-start: auto; color: var(--ink); font-size: 15px; }
.star { color: var(--gold-ink); font-size: 11.5px; font-weight: 600; white-space: nowrap; }

/* Feature tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 4px; display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 500; }
.tile svg { width: 18px; height: 18px; color: var(--gold-ink); }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: flex; gap: 12px; position: relative; padding-bottom: 16px; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: 8px; top: 20px; bottom: 0; width: 1.5px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--gold); background: var(--surface); flex: none; margin-top: 1px; }
.timeline li.first .dot { background: var(--gold); }
.timeline .t { font-weight: 600; font-size: 13px; }
.timeline .s { font-size: 12px; color: var(--muted); }

/* Hotel list */
.hotel { display: flex; gap: 12px; padding: 10px; text-align: start; width: 100%; position: relative; }
.hotel .im { width: 108px; height: 116px; border-radius: 12px; background-size: cover; background-position: center; flex: none; position: relative; }
.rate-badge { position: absolute; top: 6px; inset-inline-start: 6px; background: var(--gold-2); color: #2B1D14; font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 6px; }
.hotel .t { font-weight: 600; font-size: 13.5px; padding-inline-end: 22px; }
.hotel .s { font-size: 11px; color: var(--muted); display: flex; gap: 4px; align-items: center; margin-top: 3px; }
.hotel .s svg { width: 12px; height: 12px; flex: none; }
.hotel .ok { font-size: 11px; color: var(--success); margin-top: 3px; }
.hotel .price { margin-top: 6px; font-size: 15px; }
.hotel .heart { position: absolute; top: 10px; inset-inline-end: 10px; color: var(--muted); }
.hotel .heart svg { width: 16px; height: 16px; }
.hotel .heart.on { color: var(--gold); }
.hotel .heart.on svg { fill: currentColor; }

.gallery { position: absolute; bottom: 34px; inset-inline-start: 16px; display: flex; gap: 6px; }
.gallery button { width: 46px; height: 38px; border-radius: 8px; border: 2px solid rgba(255,255,255,.9); background-size: cover; background-position: center; }
.gallery .more { background: rgba(30,18,10,.75); color: #fff; font-size: 12px; font-weight: 600; }
.amen { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.amen div { display: flex; align-items: center; gap: 8px; font-size: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.amen svg { width: 15px; height: 15px; color: var(--gold-ink); }
.score { background: var(--green-soft); color: var(--success); padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 600; }

/* Room */
.room { display: flex; gap: 12px; padding: 10px; text-align: start; width: 100%; align-items: center; }
.room .im { width: 84px; height: 72px; border-radius: 10px; background-size: cover; background-position: center; flex: none; }
.radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); flex: none; margin-inline-start: auto; align-self: flex-start; }
.radio.on { border-color: var(--gold); background: var(--gold); box-shadow: inset 0 0 0 3px var(--surface); }
.sum-row { display: flex; justify-content: space-between; font-size: 12.5px; padding: 4px 0; color: var(--ink-2); }
.sum-row b { color: var(--ink); }
.sum-row.total { font-size: 15px; color: var(--ink); font-weight: 600; padding-top: 8px; }

/* Map */
.map { position: absolute; inset: 0; background: #EDE5D7; overflow: hidden; }
:root[data-theme="dark"] .map { background: #2A2119; }
.map svg.roads { position: absolute; inset: 0; width: 100%; height: 100%; }
.pin {
  position: absolute; transform: translate(-50%, -50%);
  background: var(--dark); color: var(--on-dark); font-size: 11px; font-weight: 700;
  padding: 6px 10px; border-radius: 999px; white-space: nowrap; box-shadow: var(--shadow);
}
.pin.on { background: var(--gold); color: #2B1D14; transform: translate(-50%, -50%) scale(1.12); }
.kaaba-pin { position: absolute; transform: translate(-50%, -50%); text-align: center; pointer-events: none; }
.kaaba-pin .k { width: 30px; height: 30px; background: #1d140d; border-radius: 4px; margin: 0 auto; box-shadow: 0 0 0 14px rgba(201,163,90,.15), 0 0 0 36px rgba(201,163,90,.1); transform: rotate(45deg); }
.kaaba-pin span { display: inline-block; margin-top: 16px; background: var(--surface); padding: 3px 8px; border-radius: 8px; font-size: 10px; font-weight: 600; box-shadow: var(--shadow); }
.map-top { position: absolute; top: calc(var(--safe-top) + 12px); inset-inline: 14px; z-index: 2; }
.map-card { position: absolute; bottom: calc(var(--safe-bottom) + 76px); inset-inline: 14px; z-index: 2; }
.map .tabbar { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; }

/* Flights */
.fl-hero { height: 200px; background-size: cover; background-position: center; position: relative; color: #fff; padding: calc(var(--safe-top) + 12px) 18px 0; flex: none; }
.fl-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,18,10,.75), rgba(30,18,10,.35)); }
.fl-hero > * { position: relative; }
.fl-hero h2 { font-family: var(--serif); font-weight: 500; font-style: italic; font-size: 22px; margin: 18px 0 0; line-height: 1.2; }
.fl-card { margin: -46px 16px 0; position: relative; z-index: 2; }
.route { display: flex; align-items: center; justify-content: space-between; margin: 12px 0; }
.route .code { font-size: 30px; font-weight: 700; letter-spacing: .02em; }
.route .city { font-size: 11px; color: var(--muted); }
.route .mid { flex: 1; display: flex; align-items: center; margin: 0 10px; }
.route .mid::before, .route .mid::after { content: ""; flex: 1; border-top: 1.5px dashed var(--line); }
.route .swap { width: 38px; height: 38px; border-radius: 50%; background: var(--dark); color: var(--on-dark); display: grid; place-items: center; }
.route .swap svg { width: 16px; height: 16px; }
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.box-btn { min-width: 0; overflow: hidden; display: flex; align-items: center; gap: 8px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-size: 12.5px; font-weight: 500; text-align: start; width: 100%; }
.box-btn svg { width: 15px; height: 15px; color: var(--gold-ink); flex: none; }
.box-btn input { border: 0; outline: 0; background: transparent; width: 100%; font-size: 12.5px; font-weight: 500; }
.flight-res { padding: 14px; }
.flight-res .times { display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 17px; }
.flight-res .line { flex: 1; margin: 0 10px; border-top: 1.5px dashed var(--line); position: relative; }
.flight-res .line span { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); background: var(--surface); padding: 0 6px; font-size: 10.5px; color: var(--muted); font-weight: 500; }

/* Transport */
.opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; width: 100%; text-align: start; }
.opt .ic-box { background: var(--surface-2); }
.opt.selected .ic-box { background: var(--dark); color: var(--gold-2); }
.opt .grow { flex: 1; }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: #FBF3E2; border: 1px solid #EED9AE; font-size: 11.5px; color: #5B4B3F; }
:root[data-theme="dark"] .notice { background: #2E2416; border-color: #4A3A22; color: var(--ink-2); }
.notice svg { width: 18px; height: 18px; color: var(--gold-ink); flex: none; }
.dark-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--dark); color: var(--on-dark); padding: 7px 12px; border-radius: 999px; font-size: 11.5px; }
.dark-pill svg { width: 13px; height: 13px; }

/* Driver */
.drv-map { position: relative; flex: 1; background: #EDE5D7; overflow: hidden; }
:root[data-theme="dark"] .drv-map { background: #2A2119; }
.drv-map > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.drv-panel { background: var(--surface); border-radius: 24px 24px 0 0; padding: 10px 18px calc(var(--safe-bottom) + 16px); box-shadow: 0 -8px 24px rgba(0,0,0,.08); position: relative; z-index: 2; }
.grab { width: 40px; height: 4px; border-radius: 4px; background: var(--line); margin: 0 auto 12px; }
.avatar { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, #E8CC8D, #C9A35A); color: #2B1D14; display: grid; place-items: center; font-weight: 700; font-size: 16px; flex: none; }
.avatar.lg { width: 60px; height: 60px; font-size: 20px; }
.plate { border: 2px solid var(--ink); border-radius: 8px; padding: 4px 10px; font-weight: 700; font-size: 14px; letter-spacing: .06em; }
.eta-pill { position: absolute; top: calc(var(--safe-top) + 14px); left: 50%; transform: translateX(-50%); background: var(--surface); padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; box-shadow: var(--shadow); display: flex; align-items: center; gap: 6px; z-index: 3; white-space: nowrap; }
.eta-pill svg { width: 13px; height: 13px; }

/* Journey / payment */
.journey-card { background: var(--dark); color: var(--on-dark); border-radius: 18px; padding: 16px; position: relative; overflow: hidden; }
.journey-card .eyebrow { color: var(--gold-2); }
.journey-card h3 { font-family: var(--serif); font-weight: 500; font-size: 20px; margin: 6px 0 4px; line-height: 1.25; }
.journey-card .arch { position: absolute; inset-inline-end: -10px; bottom: -10px; width: 110px; height: 120px; opacity: .25; color: var(--gold-2); }
.line-item { display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-size: 12.5px; }
.line-item + .line-item { border-top: 1px solid var(--line); }
.line-item svg { width: 15px; height: 15px; color: var(--gold-ink); flex: none; }
.line-item .grow { flex: 1; min-width: 0; }
.line-item .x { color: var(--muted); padding: 4px; }
.line-item .x svg { color: var(--muted); width: 14px; height: 14px; }
.promo { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 14px; }
.promo input { flex: 1; border: 0; outline: 0; background: transparent; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; min-width: 0; }
.green { color: var(--success); }
.pay-card { background: linear-gradient(135deg, #3A281B, #1E140D); color: #FFF8EC; border-radius: 18px; padding: 18px; height: 178px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.pay-card::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; border: 30px solid rgba(201,163,90,.12); inset-inline-end: -80px; top: -60px; }
.pay-card .num { font-size: 18px; letter-spacing: .18em; font-weight: 500; }
.pay-opt { display: flex; align-items: center; gap: 12px; padding: 14px; width: 100%; text-align: start; font-size: 13.5px; font-weight: 500; }
.pay-opt svg { width: 18px; height: 18px; color: var(--gold-ink); }

/* Confirmed */
.confirm { background: var(--dark); color: var(--on-dark); }
.confirm .top { padding: calc(var(--safe-top) + 40px) 24px 70px; text-align: center; }
.check { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, #E8CC8D, #C9A35A); color: #2B1D14; display: grid; place-items: center; margin: 0 auto 18px; animation: pop .5s cubic-bezier(.2,1.6,.4,1); }
.check svg { width: 32px; height: 32px; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.confirm h2 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin: 0; }
.ticket { background: var(--surface); color: var(--ink); border-radius: 20px; margin: -50px 18px 0; padding: 18px; position: relative; }
.qr { display: grid; place-items: center; margin: 14px 0; }
.qr svg, .qr img { width: 170px; height: 170px; }
.paid { background: var(--green-soft); color: var(--success); font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 6px; }

/* Bookings */
.next-card { background: var(--dark); color: var(--on-dark); border-radius: 18px; padding: 16px; }
.next-card .eyebrow { color: var(--gold-2); }
.progress { height: 6px; background: rgba(255,255,255,.15); border-radius: 6px; overflow: hidden; margin: 12px 0 6px; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, #E8CC8D, #C9A35A); border-radius: 6px; }
.status { font-size: 9.5px; font-weight: 700; padding: 3px 7px; border-radius: 6px; letter-spacing: .05em; }
.status.confirmed { background: var(--green-soft); color: var(--success); }
.status.ticketed { background: #E4EEFB; color: #2F6BC0; }
.status.pending { background: #FCEFD9; color: #B57A16; }
.bk { display: flex; gap: 12px; padding: 10px; width: 100%; text-align: start; align-items: center; }
.bk .im { width: 76px; height: 76px; border-radius: 12px; background-size: cover; background-position: center; flex: none; }
.bk .t { font-weight: 600; font-size: 13.5px; }
.empty { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty svg { width: 42px; height: 42px; color: var(--gold); margin-bottom: 10px; }

/* Guide */
.tawaf { text-align: center; padding: 18px; }
.ring { position: relative; width: 170px; height: 170px; margin: 12px auto 6px; }
.ring .kb { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; transform: translate(-50%, -50%); background: #1d140d; border-radius: 4px; }
.ring .kb::after { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 5px; background: var(--gold); }
.ring .d { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--line); transform: translate(-50%, -50%); transition: background .3s, transform .3s; }
.ring .d.on { background: var(--gold); }
.ring .d.cur { transform: translate(-50%, -50%) scale(1.35); box-shadow: 0 0 0 4px rgba(201,163,90,.25); }
.count { font-size: 40px; font-weight: 700; }
.count small { font-size: 18px; color: var(--muted); font-weight: 500; }
.rite { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; width: 100%; text-align: start; }
.rite .n { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-size: 11.5px; font-weight: 600; flex: none; }
.rite.done .n { background: var(--green); border-color: var(--green); color: #fff; }
.rite.cur .n { background: var(--gold); border-color: var(--gold); color: #2B1D14; }
.rite .n svg { width: 14px; height: 14px; }
.rite .t { font-weight: 600; font-size: 13.5px; }
.rite .s { font-size: 11.5px; color: var(--muted); }

/* Prayer */
.compass { position: relative; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, #FFF9EE, #F2E6CF); border: 1px solid var(--line); flex: none; }
:root[data-theme="dark"] .compass { background: radial-gradient(circle, #3A2D21, #2A2018); }
.compass .n { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); font-size: 10px; font-weight: 700; color: var(--muted); }
.compass .needle { position: absolute; left: 50%; top: 50%; width: 3px; height: 48px; background: var(--ink); border-radius: 3px; transform-origin: 50% 100%; transition: transform .6s ease; }
.compass .needle::after { content: ""; position: absolute; top: -8px; left: 50%; width: 14px; height: 14px; background: #1d140d; border: 2px solid var(--gold); border-radius: 2px; transform: translateX(-50%); }
.compass .hub { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); transform: translate(-50%, -50%); }
.next-prayer { background: var(--dark); color: var(--on-dark); border-radius: 18px; padding: 16px; display: flex; align-items: center; justify-content: space-between; }
.next-prayer .eyebrow { color: var(--gold-2); }
.next-prayer .nm { font-family: var(--serif); font-size: 20px; margin-top: 4px; }
.next-prayer .cd { font-size: 26px; font-weight: 700; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.pr { display: flex; align-items: center; gap: 12px; padding: 12px 14px; font-size: 13.5px; }
.pr + .pr { border-top: 1px solid var(--line); }
.pr .grow { flex: 1; font-weight: 500; }
.pr b { font-variant-numeric: tabular-nums; }
.pr svg { width: 16px; height: 16px; color: var(--gold-ink); }
.pr .bell { color: var(--muted); }
.pr .bell.on { color: var(--gold-ink); }
.pr.now { background: var(--dark); color: var(--on-dark); border-radius: 12px; }
.pr.now svg { color: var(--gold-2); }
.loc-pill { display: inline-flex; align-items: center; gap: 5px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 12px; font-weight: 500; }
.loc-pill svg { width: 13px; height: 13px; color: var(--gold-ink); }

/* Account */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stats div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 6px; text-align: center; }
.stats b { font-size: 20px; display: block; }
.stats span { font-size: 11px; color: var(--muted); }
.fav-strip { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.fav-strip::-webkit-scrollbar { display: none; }
.fav-strip button { flex: none; width: 104px; text-align: start; }
.fav-strip .im { height: 80px; border-radius: 12px; background-size: cover; background-position: center; }
.fav-strip span { font-size: 11.5px; font-weight: 600; display: block; margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.support { background: var(--dark); color: var(--on-dark); border-radius: 16px; padding: 14px; display: flex; align-items: center; gap: 12px; width: 100%; text-align: start; }
.support .ic-box { background: rgba(255,255,255,.08); color: var(--gold-2); }
.support .call { width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: #2B1D14; display: grid; place-items: center; margin-inline-start: auto; }
.support .call svg { width: 16px; height: 16px; }
.verified { color: var(--success); font-size: 11px; font-weight: 600; background: var(--green-soft); padding: 2px 8px; border-radius: 6px; display: inline-block; margin-top: 4px; }

/* Language */
.lang-opt { display: flex; align-items: center; gap: 12px; padding: 14px; width: 100%; text-align: start; font-weight: 500; }
.lang-opt .code { width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-size: 10px; font-weight: 700; color: var(--muted); }
.lang-opt.on .code { background: var(--dark); color: var(--on-dark); }
.lang-opt .ck { margin-inline-start: auto; color: var(--gold-ink); }
.lang-opt .ck svg { width: 18px; height: 18px; }
.lang-hero { height: 200px; background-size: cover; background-position: center top; position: relative; flex: none; }
.lang-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(248,244,236,.1), var(--bg)); }
.gold-dash { width: 28px; height: 3px; background: var(--gold); border-radius: 3px; margin-bottom: 10px; }

/* Theme seg */
.theme-seg button { display: flex; align-items: center; justify-content: center; gap: 5px; }
.theme-seg svg { width: 14px; height: 14px; }
.lang-chips { display: flex; gap: 6px; flex-wrap: wrap; }

/* Toast & sheet */
#toast {
  position: absolute; left: 50%; top: calc(var(--safe-top) + 14px); transform: translate(-50%, -20px);
  background: var(--dark); color: var(--on-dark); padding: 11px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 500; opacity: 0; pointer-events: none; transition: all .25s ease; z-index: 50;
  max-width: 88%; text-align: center; box-shadow: var(--shadow);
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#sheet-backdrop { position: absolute; inset: 0; background: rgba(20,12,6,.45); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 40; }
#sheet-backdrop.show { opacity: 1; pointer-events: auto; }
#sheet {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 41;
  background: var(--bg); border-radius: 24px 24px 0 0;
  padding: 10px 18px calc(var(--safe-bottom) + 18px);
  transform: translateY(105%); transition: transform .3s cubic-bezier(.2,.8,.2,1);
  max-height: 86%; overflow-y: auto;
}
#sheet.show { transform: none; }
#sheet h3 { margin: 6px 0 12px; font-size: 17px; }

/* Utilities */
.mt8 { margin-top: 8px; } .mt12 { margin-top: 12px; } .mt16 { margin-top: 16px; } .mt20 { margin-top: 20px; } .mt24 { margin-top: 24px; }
.center { text-align: center; }
.grow { flex: 1; }
.hidden { display: none !important; }
.nowrap { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.trust { display: flex; gap: 12px; align-items: center; background: var(--dark); color: var(--on-dark); border-radius: 16px; padding: 14px; font-size: 11.5px; }
.trust .ic-box { background: rgba(255,255,255,.08); color: var(--gold-2); }
.trust b { display: block; font-size: 12.5px; margin-bottom: 2px; }
.dua { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: 12px; }
.dua b { color: var(--gold-ink); }
.ar-text { font-family: var(--arabic); direction: rtl; text-align: right; font-size: 18px; line-height: 1.9; }
.badge-dot { position: relative; }
.badge-dot::after { content: ""; position: absolute; top: 7px; inset-inline-end: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); border: 2px solid var(--surface); }
.cart-fab { position: relative; }
.cart-fab .n { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--gold); color: #2B1D14; font-size: 10px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }

/* ===== Launch carousel ===== */
.launch .slides { position: absolute; inset: 0; overflow: hidden; }
.launch .slide { position: absolute; inset: 0; background-size: cover; background-position: center 45%; opacity: 0; transform: scale(1.06); transition: opacity 1.4s ease, transform 6s ease; }
.launch .slide.on { opacity: 1; transform: scale(1); }
.launch .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,12,6,.35) 0%, rgba(20,12,6,.05) 22%, rgba(20,12,6,.12) 40%, rgba(20,12,6,.65) 64%, rgba(20,12,6,.92) 100%); }
.launch .slide-cap { position: absolute; top: calc(var(--safe-top, 0px) + 22px); inset-inline: 0; display: flex; justify-content: center; }
.launch .slide-cap span { background: rgba(20,12,6,.45); border: 1px solid rgba(230,203,142,.45); color: #fff; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 7px 14px; border-radius: 20px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.launch .dots { display: flex; justify-content: center; gap: 7px; margin-top: 18px; }
.launch .dots i { width: 7px; height: 7px; border-radius: 4px; background: rgba(255,255,255,.4); transition: width .4s, background .4s; }
.launch .dots i.on { width: 22px; background: var(--gold-2); }

/* ===== Service tiles without photo ===== */
.svc .im.ph { display: grid; place-items: center; color: #fff; }
.tone-blue { background: linear-gradient(135deg, #2C5F8A, #173A57); }
.tone-green { background: linear-gradient(135deg, #2E7D5B, #17483A); }
.tone-gold { background: linear-gradient(135deg, #D9B46A, #9C7536); color: #fff; }
.tone-rose { background: linear-gradient(135deg, #B5543C, #7A3324); color: #fff; }
.tone-sand { background: linear-gradient(135deg, #A78B6D, #6E5641); color: #fff; }

/* ===== VIP ===== */
.vip-badge { display: inline-grid; place-items: center; flex: none; background: linear-gradient(135deg, #F1D58F, #B8893A); color: #2B1D14; font-weight: 800; font-size: 12px; letter-spacing: .08em; border-radius: 8px; padding: 5px 9px; }
.vip-badge.sm { font-size: 9.5px; padding: 3px 7px; border-radius: 6px; }
.vip-banner { width: 100%; display: flex; align-items: center; gap: 12px; text-align: start; padding: 14px 16px; border-radius: 18px; background: linear-gradient(120deg, #2B1D14 0%, #4A3221 60%, #6B4A2B 100%); color: #fff; border: 1px solid rgba(230,203,142,.35); }
.vip-banner b { display: block; font-size: 15px; color: var(--gold-2); }
.vip-banner .grow span { font-size: 12px; opacity: .8; }
.vip-hero { position: relative; height: 270px; background-size: cover; background-position: center 30%; color: #fff; flex: none; }
.vip-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,6,3,.35), rgba(10,6,3,.85)); }
.vip-hero .bar { position: absolute; top: calc(var(--safe-top, 0px) + 12px); inset-inline: 16px; display: flex; justify-content: space-between; z-index: 2; }
.vip-hero .tx { position: absolute; inset-inline: 20px; bottom: 34px; z-index: 2; }
.vip-hero h2 { font-family: var(--serif); font-weight: 600; font-size: 26px; margin: 10px 0 4px; }
.vip-hero p { margin: 0; font-size: 13px; opacity: .85; line-height: 1.5; }
.vip-card { overflow: hidden; padding: 0; }
.vip-card .im { height: 150px; background-size: cover; background-position: center; }
.vip-card .im.vip-ph { height: 96px; display: grid; place-items: center; color: var(--gold-2); background: linear-gradient(120deg, #1E140D, #4A3221); }
.vip-card .bd { padding: 14px 16px 16px; }
.vip-card .s { font-size: 12.5px; color: var(--muted, #8a7a6a); margin-top: 4px; line-height: 1.45; }

/* ===== Agency ===== */
.ag-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ag-stats div { background: var(--bg); border-radius: 12px; padding: 10px 6px; display: flex; flex-direction: column; }
.ag-stats b { font-size: 16px; }
.ag-stats span { font-size: 11px; opacity: .7; }

/* ===== Dining ===== */
.rest { display: flex; gap: 12px; padding: 14px; align-items: flex-start; }
.rest-ic { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; color: #fff; flex: none; }
.fine-tag { display: inline-block; margin-top: 6px; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-ink); background: rgba(201,163,90,.15); border-radius: 6px; padding: 3px 7px; }
.fl-hero[data-pos] { background-position: center 52%; }
