:root {
  /* calm and simple: warm cream ground, deep burgundy for titles and actions, champagne for details */
  --bg: #F5EFE6; --card: #FBF8F3; --field: #FFFFFF; --ink: #2B211C; --ink2: #5E5047; --mute: #85766B; --rule: #E5DACB;
  --wine: #5A1A26; --wine-d: #431019; --gold: #B08D5E; --gold-2: #EBDFCB; --on-wine: #F8F1E7;
  --acc: #5A1A26; --acc-d: #431019; --tint: #F4E5E2; --ok: #4F6B4A; --okbg: #E7EFE3; --warnbg: #F7EDDC; --warn: #7A4E10; --taupe: #A8916C;
  --r: 20px; --r-sm: 14px;
  --font: 'IBM Plex Sans Arabic', 'Jost', system-ui, sans-serif; --latin: 'Jost', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --tabh: 64px; --toph: 62px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 var(--font); overflow-x: clip; }
html[lang=en] body { font-family: var(--latin); }
::selection { background: var(--wine); color: var(--on-wine); }
a { color: var(--wine); text-underline-offset: 3px; }
img, video { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
input, select, textarea { caret-color: var(--wine); }
.latin { font-family: var(--latin); }
.latin, .price b, .bar .sum b { font-variant-numeric: lining-nums tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(245,239,230,.96); border-bottom: 1px solid var(--rule); padding-top: env(safe-area-inset-top); }
.top-in { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; gap: 14px; padding: 10px 20px; min-height: var(--toph); }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 30px; width: auto; }
.nav { display: none; gap: 6px; flex: 1; justify-content: center; }
.nav a { color: var(--ink2); text-decoration: none; padding: 8px 16px; border-radius: 999px; font-size: 15px; }
.nav a.on { background: var(--card); color: var(--wine); box-shadow: inset 0 0 0 1px var(--rule); }
@media (hover: hover) and (pointer: fine) { .nav a:not(.on):hover { color: var(--wine); } }
.top-actions { display: flex; gap: 8px; margin-inline-start: auto; align-items: center; }
.pill { height: 40px; min-width: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--rule); background: var(--card); display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; color: var(--ink); cursor: pointer; font-size: 14px; position: relative; transition: transform 140ms var(--ease-out); }
.pill:active { transform: scale(0.95); }
.badge { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--wine); color: var(--on-wine); font: 500 11px/19px var(--latin); text-align: center; }
.icon { width: 20px; height: 20px; flex: none; }
@media (min-width: 900px) { .nav { display: flex; } }

/* layout */
main { max-width: 1120px; margin: 0 auto; padding: 0 0 calc(var(--tabh) + 28px); min-height: 70vh; }
@media (min-width: 900px) { main { padding-bottom: 64px; } }
.wrap { padding: 0 20px; }
.narrow { max-width: 600px; margin: 0 auto; }
.sec { padding: 28px 20px; }
h1, h2, h3 { color: var(--wine); font-weight: 500; text-wrap: balance; }
h1 { font-size: 28px; line-height: 1.35; margin: 0 0 6px; }
h2 { font-size: 21px; line-height: 1.4; margin: 0 0 4px; }
h3 { font-size: 16px; margin: 0 0 10px; }
.sub { color: var(--mute); margin: 0 0 16px; font-size: 14px; max-width: 60ch; text-wrap: pretty; }
.muted { color: var(--mute); }
.small { font-size: 13px; }
.card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); }
.pad { padding: 18px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.page-head { padding: 24px 20px 8px; }
.back { background: none; border: 0; color: var(--mute); padding: 16px 20px 0; cursor: pointer; font-size: 15px; }
@media (min-width: 900px) { .page-head { padding: 40px 20px 12px; } h1 { font-size: 34px; } h2 { font-size: 24px; } }

/* buttons: pills */
.btn { min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--wine); background: var(--wine); color: var(--on-wine); font-weight: 500; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; text-decoration: none; cursor: pointer; transition: transform 140ms var(--ease-out), background-color 180ms ease; }
.btn:hover { color: var(--on-wine); background: var(--wine-d); }
.btn:active { transform: scale(0.97); }
.btn.acc { background: var(--wine); border-color: var(--wine); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn.ghost:hover { background: var(--card); color: var(--ink); }
.btn.light { background: var(--on-wine); color: var(--wine); border-color: var(--on-wine); }
.btn.light:hover { background: #fff; color: var(--wine); }
.btn.sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.link { background: none; border: 0; color: var(--wine); cursor: pointer; padding: 6px 0; font-size: 14px; }

/* hero: one photograph, the title set on it */
.hero { position: relative; height: 66svh; min-height: 440px; max-height: 620px; overflow: hidden; background: var(--wine-d); }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,8,12,0) 38%, rgba(30,8,12,.88) 100%); }
.hero .txt { position: absolute; bottom: 26px; inset-inline: 22px; z-index: 2; color: var(--on-wine); }
.hero h1 { color: var(--on-wine); font-size: 30px; line-height: 1.35; margin: 0 0 6px; }
.hero p { margin: 0 0 16px; color: #EADFCF; font-size: 15px; }
@media (min-width: 900px) { .hero { margin: 24px 20px 0; border-radius: 28px; height: 560px; } .hero .txt { bottom: 44px; inset-inline: 48px; max-width: 560px; } .hero h1 { font-size: 42px; } }

/* service rows (horizontal cards) */
.svc-list { display: grid; gap: 12px; }
.svc { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: 12px; text-decoration: none; color: var(--ink); transition: transform 140ms var(--ease-out), border-color 180ms ease; }
.svc:active { transform: scale(0.985); }
@media (hover: hover) and (pointer: fine) { .svc:hover { border-color: var(--gold); } }
.svc .t { flex: 1; min-width: 0; padding-inline-start: 6px; }
.svc .t b { display: block; color: var(--wine); font-weight: 500; font-size: 18px; line-height: 1.4; }
.svc .t span { display: block; color: var(--mute); font-size: 13px; line-height: 1.55; margin-top: 2px; }
.svc .t em { display: inline-block; font-style: normal; color: var(--gold); font-size: 12px; margin-top: 6px; }
.svc img, .svc .noph { width: 96px; height: 96px; border-radius: var(--r-sm); object-fit: cover; flex: none; background: var(--gold-2); }
.svc .noph { display: grid; place-items: center; color: var(--wine); }
@media (min-width: 900px) { .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .svc img, .svc .noph { width: 120px; height: 120px; } }

/* about + contact */
.about-box { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: 20px; color: var(--ink2); }
.about-box p { margin: 0 0 10px; font-size: 15px; }
.about-box p:last-child { margin: 0; }
.soc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.soc a { display: flex; flex-direction: column; align-items: center; gap: 4px; background: var(--card); border: 1px solid var(--rule); border-radius: 16px; padding: 14px 6px; color: var(--ink); text-decoration: none; font-size: 14px; text-align: center; transition: transform 140ms var(--ease-out); }
.soc a:active { transform: scale(0.97); }
.soc a small { color: var(--mute); font-size: 12px; direction: ltr; }
.soc a svg { width: 24px; height: 24px; color: var(--wine); }

/* category pills */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 20px 14px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--rule); background: var(--card); cursor: pointer; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; color: var(--ink); transition: transform 140ms var(--ease-out); }
.chip:active { transform: scale(0.96); }
.chip.on { background: var(--wine); color: var(--on-wine); border-color: var(--wine); }
.chip[disabled] { opacity: .35; cursor: not-allowed; }
.cat-tabs { position: sticky; top: calc(var(--toph) + env(safe-area-inset-top)); z-index: 12; background: var(--bg); padding-top: 10px; }

/* package cards: one size for all */
.pkgs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 0 20px; }
@media (min-width: 640px) { .pkgs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .pkgs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.pcard { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform 140ms var(--ease-out), border-color 180ms ease; }
.pcard:active { transform: scale(0.99); }
@media (hover: hover) and (pointer: fine) { .pcard:hover { border-color: var(--gold); } }
.pcard .ph { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--gold-2); }
.pcard .pimg { width: 100%; height: 100%; object-fit: cover; }
.pcard .ph .noph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--wine); font-size: 18px; padding: 16px; text-align: center; }
.pcard .body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; }
.pcard .line1 { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pcard .name { color: var(--wine); font-size: 18px; font-weight: 500; line-height: 1.4; }
.pcard .price { color: var(--ink2); font-size: 13px; white-space: nowrap; }
.pcard .price b { color: var(--wine); font: 500 18px var(--latin); }
.pcard .desc { color: var(--mute); font-size: 13px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard .acts { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 12px; }
.pcard .acts .more { color: var(--ink2); font-size: 14px; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.pcard .cat { display: none; }

/* lists */
.list a.item, .list .item { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 10px 16px; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.list .item:last-child { border-bottom: 0; }
.list .item b { font-weight: 500; }
.chev { color: var(--gold); font-size: 20px; }

/* package page */
.pkg-top { position: relative; padding: 14px 20px 0; }
.pkg-gal { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior-x: contain; border-radius: var(--r); }
.pkg-gal::-webkit-scrollbar { display: none; }
.pkg-gal .pkg-hero { scroll-snap-align: start; }
.pkg-hero { width: 100%; aspect-ratio: 4 / 3; max-height: 460px; object-fit: cover; border-radius: var(--r); background: var(--gold-2); }
.pkg-vid { background: #1c1210; }
.pkg-top .count { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); background: rgba(43,33,28,.55); color: #fff; font: 400 12px/1 var(--latin); padding: 6px 10px; border-radius: 999px; }
.pkg-top .fav-ov { position: absolute; top: 26px; inset-inline-end: 32px; z-index: 2; }
.pkg-head { padding: 16px 20px 4px; }
.pkg-head .cat-l { color: var(--mute); font-size: 13px; }
.pkg-title { margin: 2px 0 0; }
.pkg-from { color: var(--ink2); font-size: 14px; } .pkg-from b { color: var(--wine); font: 500 20px var(--latin); }
@media (min-width: 900px) {
  .pkg-gal { grid-auto-columns: calc(50% - 5px); }
  .pkg-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
}
.box { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: 16px; margin: 12px 20px 0; }
.box h3 { margin-bottom: 10px; }
details.box > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 500; color: var(--wine); min-height: 28px; }
details.box > summary::-webkit-details-marker { display: none; }
details.box > summary::after { content: ''; width: 9px; height: 9px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(45deg); transition: transform 200ms var(--ease-out); margin-top: -4px; flex: none; }
details.box[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
details.box > summary small { color: var(--mute); font-weight: 400; font-size: 13px; margin-inline-start: auto; }
details.box[open] > summary { margin-bottom: 10px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; margin-top: 12px; }
.fact { background: var(--bg); border-radius: 12px; padding: 10px 12px; }
.fact small { display: block; color: var(--mute); font-size: 12px; }
.fact b { font-weight: 500; font-size: 15px; }
.inc { margin: 0; padding-inline-start: 20px; color: var(--ink2); }
.inc li { margin: 5px 0; }
.inc li::marker { color: var(--gold); }
.opt { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 0; border-bottom: 1px solid var(--rule); cursor: pointer; }
.opt:last-child { border-bottom: 0; }
.opt input[type=checkbox] { width: 22px; height: 22px; accent-color: var(--wine); flex: none; }
.opt .nm { flex: 1; }
.opt .pr { color: var(--wine); font-size: 14px; white-space: nowrap; font-family: var(--latin); }
.ctr { display: flex; align-items: center; gap: 12px; min-height: 62px; border-bottom: 1px solid var(--rule); }
.ctr:last-child { border-bottom: 0; }
.ctr .lbl { flex: 1; }
.ctr .lbl small { display: block; color: var(--mute); font-size: 13px; }
.ctr button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule); background: var(--field); color: var(--wine); font-size: 20px; cursor: pointer; display: grid; place-items: center; transition: transform 140ms var(--ease-out); }
.ctr button:active { transform: scale(0.9); }
.ctr button[disabled] { opacity: .35; }
.ctr .n { min-width: 24px; text-align: center; font: 500 17px var(--latin); }
.note { font-size: 13px; color: var(--mute); margin: 8px 0 0; }
.banner { border-radius: 14px; padding: 12px 14px; font-size: 14px; }
.banner.info { background: var(--card); border: 1px solid var(--rule); }
.banner.warn { background: var(--tint); color: var(--wine); }
.banner.ok { background: var(--okbg); color: var(--ok); }
.banner.soft { background: var(--card); color: var(--ink2); border: 1px dashed var(--rule); }

/* forms */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 14px; color: var(--ink2); }
.field .req { color: var(--wine); }
.inp, select.inp, textarea.inp { min-height: 52px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--rule); background: var(--field); width: 100%; font-size: 16px; }
.inp:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,141,94,.2); }
textarea.inp { padding: 12px 14px; resize: vertical; }
.inp.err { border-color: var(--wine); background: #FFF7F6; }
.tel { display: flex; border: 1px solid var(--rule); border-radius: 14px; background: var(--field); overflow: hidden; direction: ltr; }
.tel:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,141,94,.2); }
.tel span { padding: 0 12px; display: flex; align-items: center; background: var(--bg); border-inline-end: 1px solid var(--rule); font-family: var(--latin); color: var(--mute); }
.tel .inp { border: 0; border-radius: 0; font-family: var(--latin); letter-spacing: .04em; box-shadow: none; }
.tel.err { border-color: var(--wine); }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--wine); margin-top: 2px; flex: none; }
.err-txt { color: var(--wine); font-size: 13px; }

/* booking steps: where am I */
.steps-bar { padding: 16px 20px 0; }
.steps-bar .segs { display: flex; gap: 6px; }
.steps-bar .segs i { flex: 1; height: 3px; border-radius: 2px; background: var(--gold-2); }
.steps-bar .segs i.on { background: var(--wine); }
.steps-bar p { margin: 6px 0 0; color: var(--mute); font-size: 13px; }
.form-card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: 18px; margin: 14px 20px 0; }
.form-card h2 { font-size: 18px; margin: 0 0 12px; }
@media (min-width: 900px) { .form-card { max-width: 640px; margin: 16px auto 0; } .steps-bar { max-width: 680px; margin: 0 auto; } }

/* totals */
.lines { display: flex; flex-direction: column; }
.line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.line:last-child { border-bottom: 0; }
.line .v { font-family: var(--latin); white-space: nowrap; }
.line.total { font-weight: 500; font-size: 17px; color: var(--wine); }
.paybox { background: var(--tint); border-radius: var(--r); padding: 16px 18px; }
.paybox .now { display: flex; justify-content: space-between; align-items: baseline; color: var(--wine); font-weight: 500; }
.paybox .now b { font: 500 26px var(--latin); }
.methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.method { min-height: 52px; border-radius: 14px; border: 1px solid var(--rule); background: var(--field); cursor: pointer; font: 500 14px var(--latin); transition: transform 140ms var(--ease-out); }
.method:active { transform: scale(0.97); }
.method.on { border: 2px solid var(--wine); color: var(--wine); }

/* the action bar */
.bar { position: fixed; inset-inline: 0; bottom: calc(var(--tabh) + env(safe-area-inset-bottom)); z-index: 15; background: rgba(251,248,243,.97); border-top: 1px solid var(--rule); padding: 10px 20px; }
.bar-in { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.bar .sum { flex: 1; min-width: 0; }
.bar .sum small { display: block; color: var(--mute); font-size: 12px; }
.bar .sum b { font: 500 22px var(--latin); color: var(--wine); }
.bar .bar-back { min-height: 52px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--rule); background: transparent; color: var(--ink); cursor: pointer; font-size: 15px; }
@media (min-width: 900px) { .bar { bottom: 0; } }
.has-bar main { padding-bottom: calc(var(--tabh) + 110px); }

/* tab bar (phones) */
.tabs { position: fixed; inset-inline: 0; bottom: 0; z-index: 16; background: rgba(251,248,243,.98); border-top: 1px solid var(--rule); display: grid; grid-template-columns: repeat(4, 1fr); padding-bottom: env(safe-area-inset-bottom); }
.tabs a { height: var(--tabh); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; color: var(--mute); text-decoration: none; -webkit-user-select: none; user-select: none; }
.tabs a.on { color: var(--wine); font-weight: 500; }
@media (min-width: 900px) { .tabs { display: none; } }

/* tracking */
.status { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; white-space: nowrap; flex-shrink: 0; border-radius: 999px; font-size: 13px; background: var(--warnbg); color: var(--warn); }
.status.paid, .status.closed, .status.completed { background: var(--okbg); color: var(--ok); }
.status.cancelled, .status.expired { background: #EDE5D9; color: var(--mute); }
.tl { list-style: none; margin: 0; padding: 0; }
.tl li { display: flex; gap: 14px; min-height: 58px; }
.tl .dot { display: flex; flex-direction: column; align-items: center; }
.tl .dot span:first-child { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--rule); background: var(--bg); display: grid; place-items: center; color: #fff; font-size: 12px; }
.tl .dot span:last-child { flex: 1; width: 2px; background: var(--rule); }
.tl li:last-child .dot span:last-child { display: none; }
.tl li.done .dot span:first-child { background: var(--wine); border-color: var(--wine); }
.tl li.done .dot span:last-child { background: var(--wine); }
.tl li.cur .dot span:first-child { border-color: var(--wine); background: var(--tint); }
.tl li.cur .t { color: var(--wine); font-weight: 500; }
.tl .t { font-size: 15px; }
.tl .s { font-size: 13px; color: var(--mute); }

/* gallery */
.gal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0 20px; }
.gal img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; background: var(--gold-2); cursor: zoom-in; }
@media (min-width: 900px) { .gal { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(20,12,10,.94); display: none; place-items: center; padding: 20px; }
.lightbox.open { display: grid; }
.lightbox img { max-width: 100%; max-height: 86svh; object-fit: contain; border-radius: 12px; }
.lightbox button { position: absolute; top: calc(env(safe-area-inset-top) + 12px); inset-inline-end: 14px; width: 46px; height: 46px; background: none; border: 0; color: #fff; font: 300 30px/1 var(--latin); cursor: pointer; }

/* faq */
details.qa { border-bottom: 1px solid var(--rule); }
details.qa summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 500; display: flex; justify-content: space-between; gap: 12px; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: '+'; font: 300 22px/1 var(--latin); color: var(--gold); flex: none; }
details.qa[open] summary::after { content: '−'; }
details.qa p { margin: 0 0 16px; color: var(--ink2); }

/* footer */
footer.foot { border-top: 1px solid var(--rule); padding: 26px 20px calc(var(--tabh) + 36px); color: var(--mute); font-size: 13px; text-align: center; }
footer.foot .in { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 12px; }
footer.foot .foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
footer.foot a { color: var(--ink2); text-decoration: none; }
footer.foot a:hover { color: var(--wine); }
footer.foot .foot-mark img { height: 28px; width: auto; opacity: .85; }
@media (min-width: 900px) { footer.foot { padding-bottom: 32px; } }

.demo-strip { background: var(--warnbg); color: var(--warn); font-size: 12px; text-align: center; padding: 5px 16px; }
.toast { position: fixed; inset-inline: 16px; bottom: calc(var(--tabh) + 86px); z-index: 35; max-width: 420px; margin: 0 auto; background: var(--ink); color: var(--on-wine); border-radius: 14px; padding: 12px 16px; font-size: 14px; box-shadow: 0 10px 26px rgba(43,33,28,.25); }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--rule); border-top-color: var(--wine); animation: spin 0.7s linear infinite; margin: 50px auto; }
@keyframes spin { to { transform: rotate(360deg); } }

.desk-only { display: none !important; }
@media (min-width: 900px) { .desk-only { display: inline-flex !important; } }

/* ---------- admin ---------- */
.adm { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; }
.adm-side { background: #1D1813; color: #EFE7DC; padding: 20px 14px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.adm-brand { font: 300 22px var(--latin); letter-spacing: .3em; color: #FFFDF9; text-decoration: none; padding: 0 10px; }
.adm-nav { display: flex; flex-direction: column; gap: 2px; }
.adm-nav a { display: flex; align-items: center; justify-content: space-between; min-height: 42px; padding: 0 12px; border-radius: 10px; color: #EFE7DC; text-decoration: none; font-size: 15px; }
.adm-nav a.on, .adm-nav a:hover { background: #3A3027; color: #FFFDF9; }
.adm-badge { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--acc); color: #fff; font: 500 12px/22px var(--latin); text-align: center; }
.adm-user { margin-top: auto; color: #B9A48A; word-break: break-all; }
.adm-user a, .adm-user .alink { color: #EFE7DC; font-size: 13px; }
.adm-main { margin: 0; max-width: none; width: 100%; padding: 24px clamp(14px, 3vw, 36px) 60px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.adm-main h2 { font-size: 18px; }
.adm-main h3 { margin-top: 12px; }
.adm-head { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.adm-head h1 { font-size: 26px; margin: 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.kpi { background: var(--card); border: 1px solid var(--rule); border-radius: 14px; padding: 14px 16px; color: var(--mute); }
.kpi b { display: block; color: var(--ink); font: 500 26px var(--latin); margin: 2px 0; }
.kpi.warn { background: var(--tint); border-color: #E8CDCD; color: var(--acc); }
.kpi.warn b { color: var(--acc); }
.grid2c { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; align-items: start; }
.apill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 12px; font-size: 12px; white-space: nowrap; font-weight: 400; background: #EFEAE2; color: #5A4F44; }
.apill.st-wait { background: var(--warnbg); color: var(--warn); }
.apill.st-dep { background: #E9EEF7; color: #2C4A7A; }
.apill.st-ok, .apill.st-done { background: var(--okbg); color: var(--ok); }
.apill.st-late { background: var(--tint); color: var(--acc); }
.apill.st-off { background: #EFEAE2; color: var(--mute); }
.alist { display: flex; flex-direction: column; }
.arow { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; flex-wrap: wrap; }
.arow:last-child { border-bottom: 0; }
.arow-main { flex: 1; min-width: 220px; color: var(--ink); text-decoration: none; }
.arow-end { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
a.arow:hover { background: #FBF8F3; }
.btn.sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 19px; }
.alink { background: none; border: 0; color: var(--acc); cursor: pointer; font-size: 14px; padding: 4px 0; }
.alink[disabled] { opacity: .3; }
.warn-t { color: var(--acc); }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; margin-top: 12px; text-align: center; }
.cal-h { font-size: 12px; color: var(--mute); }
.cal-d { min-height: 44px; border: 1px solid var(--rule); background: var(--card); border-radius: 10px; cursor: pointer; font: 14px var(--latin); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; }
.cal-d small { font-size: 10px; color: var(--acc); }
.cal-d.busy { background: var(--tint); border-color: #E8CDCD; color: var(--acc); }
.cal-d.blk { background: var(--ink); color: #FFFDF9; }
.cal-d.today { outline: 2px solid var(--taupe); }
.cal-d.sel { outline: 2px solid var(--acc); }
.cal-key { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.key { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-inline-start: 8px; }
.key.busy { background: var(--tint); border: 1px solid #E8CDCD; }
.key.blk { background: var(--ink); }
.bar-row { margin-bottom: 10px; }
.track { height: 8px; border-radius: 4px; background: #EFEAE2; margin-top: 4px; }
.track div { height: 8px; border-radius: 4px; background: var(--acc); }
.scroll { overflow-x: auto; }
.atable { border-collapse: collapse; width: 100%; font-size: 14px; }
.atable th { text-align: start; font-weight: 500; color: var(--mute); padding: 6px; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.atable td { padding: 6px; border-bottom: 1px solid var(--rule); }
.atable .inp { min-height: 42px; padding: 0 8px; }
.thumb { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: none; }
.thumb.ph { background: linear-gradient(160deg, var(--tint), var(--bg)); border: 1px solid var(--rule); display: inline-block; }
.thumb.lg { width: 120px; height: 90px; }
.edit-box { border: 1px dashed var(--rule); border-radius: 12px; padding: 12px; margin-top: 10px; }
.addon-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; border-bottom: 1px solid var(--rule); padding-bottom: 8px; margin-bottom: 8px; }
.addon-row .field { flex: 1; min-width: 120px; margin-bottom: 6px; }
.agal { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.agal-i img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.adm-login { max-width: 420px; margin: 60px auto; }
.adm .chips { padding-inline: 0; }
.adm .card h2 { margin-bottom: 12px; }
@media (max-width: 899px) {
  .adm { grid-template-columns: minmax(0, 1fr); }
  .adm-side { position: static; height: auto; padding: 12px; gap: 8px; }
  .adm-nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 4px; }
  .adm-nav a { flex: none; min-height: 38px; font-size: 14px; background: #2A231D; }
  .adm-user { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
  .adm-user .row { margin-top: 0 !important; }
  .adm-head h1 { font-size: 22px; }
}

/* occasion picker (booking only), favourites, cart lines, ops */
.occ-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.occ { min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--rule); background: var(--card); color: var(--ink); font-size: 14px; cursor: pointer; }
.occ.on { background: var(--wine); border-color: var(--wine); color: var(--on-wine); }
.occ-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--card); border: 1px solid var(--rule); color: var(--ink2); border-radius: 14px; padding: 10px 14px; font-size: 14px; }
.linkish { background: none; border: 0; padding: 0; color: var(--wine); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14px; }
.fav { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(43,33,28,.06); background: rgba(251,248,243,.95); color: var(--wine); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: transform 140ms var(--ease-out); }
.fav:active { transform: scale(0.9); }
.fav .icon { width: 19px; height: 19px; }
.fav.big { position: static; width: 44px; height: 44px; border-color: var(--rule); }
.cart-line { display: flex; gap: 12px; align-items: flex-start; }
.cart-ph { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; flex: none; background: var(--gold-2); }
.cart-txt { flex: 1; min-width: 0; }
.cart-txt > .between { flex-direction: column; align-items: flex-start !important; gap: 2px; }
.cart-name { color: var(--wine); font-weight: 500; }
.cart-txt > .between > b.latin { color: var(--wine); font-size: 17px; }
.crew-chk { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--rule); border-radius: 10px; padding: 6px 10px; cursor: pointer; background: var(--card); }
.crew-chk:has(input:checked) { border-color: var(--wine); background: var(--tint); }
.ops-live { border: 1px solid var(--rule); border-radius: var(--r); padding: 14px 16px; background: var(--card); margin-bottom: 16px; }
.ops-live ol { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.ops-live li { text-align: center; font-size: 12px; color: var(--mute); }
.ops-live li i { display: block; height: 5px; border-radius: 3px; background: var(--gold-2); margin-bottom: 6px; }
.ops-live li.done { color: var(--ink); }
.ops-live li.done i { background: var(--wine); }
.ops-live li.cur { font-weight: 600; color: var(--wine); }
.gal-edit { display: flex; flex-wrap: wrap; gap: 10px; }
.gal-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.opt-img { display: block; width: 88px; height: 112px; object-fit: cover; border-radius: 10px; margin-top: 8px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 1ms !important; } .spinner { animation-duration: 2s !important; } }
.pkg-page { max-width: 680px; margin: 0 auto; }
#opts { scroll-margin-top: calc(var(--toph) + 16px); }
.form-card h2 + .two, .form-card h2 + .field { margin-top: 0; }
.form-card h2:not(:first-child) { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rule); }
.box .row .chip { min-height: 42px; }
.box .two .field { margin-bottom: 0; }
.wrap > .banner + .note { margin-top: 10px; }
.pcard .ph { overflow: hidden; }
.pcard .pimg { position: absolute; inset: 0; }
.bar .sum b { white-space: nowrap; }
.bar .btn { padding: 0 20px; }
.bar .bar-back { padding: 0 14px; min-height: 48px; }
@media (max-width: 380px) { .bar .sum small { display: none; } .bar .sum b { font-size: 19px; } }
/* app download + footer contacts (as on Divvan) */
.soc a svg { width: 26px; height: 26px; color: var(--wine); }
.soc a span { font-size: 15px; }
.app-get { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 24px; }
.store { display: inline-flex; align-items: center; gap: 10px; height: 60px; padding: 0 20px; border-radius: 12px; background: #000; color: #fff; text-decoration: none; font: 500 22px/1 -apple-system, 'SF Pro Display', var(--latin); letter-spacing: -0.01em; }
.store span { display: flex; flex-direction: column; gap: 3px; text-align: start; }
.store small { font: 400 11px/1 var(--font); letter-spacing: 0; }
.store.soon { opacity: .9; }
.app-icon { width: 62px; height: 62px; border-radius: 14px; background: #fff; box-shadow: 0 4px 14px rgba(43,33,28,.14); object-fit: cover; }
.app-cap { text-align: center; color: var(--mute); font-size: 14px; margin: 10px 0 0; }
footer.foot { font-size: 14px; }
footer.foot .foot-soc { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; }
footer.foot .foot-soc a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink2); }
footer.foot .foot-soc .icon { width: 18px; height: 18px; color: var(--ink2); }
footer.foot .foot-links a { text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 4px; }
footer.foot .foot-links.small a { text-decoration: none; color: var(--mute); }
/* the footer already clears the tab bar, so main no longer needs its own bottom gap */
main { padding-bottom: 12px; }
@media (min-width: 900px) { main { padding-bottom: 24px; } }
.has-bar main { padding-bottom: 12px; }
.has-bar footer.foot { padding-bottom: calc(var(--tabh) + 110px); }
@media (min-width: 900px) { .has-bar footer.foot { padding-bottom: 110px; } }
/* footer links stacked, as on Divvan */
footer.foot .foot-links.main { flex-direction: column; gap: 10px; }
/* service cards: photo on the start side (right in Arabic, left in English), text beside it */
.svc img, .svc .noph { order: -1; }
/* registered-company tiles, as on Divvan */
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.trust > div { display: grid; place-items: center; align-content: center; gap: 6px; min-height: 92px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: 14px; text-align: center; }
.tr-logo img { height: 34px; width: auto; }
.tr-reg span { color: var(--wine); font-size: 18px; line-height: 1; }
.tr-reg small { color: var(--ink2); font-size: 14px; }
.mail-line { text-align: center; color: var(--mute); font-size: 14px; margin: 14px 0 0; }
.mail-line a { color: var(--ink2); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 4px; }
