/* ==========================================================================
   وِكاد — ركن ضيافة القهوة
   Design tokens are lifted straight from the brand deck: deep olive ground,
   sand accent, elegant serif numerals beside a light Arabic sans.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700&family=Cormorant+Garamond:wght@300;400;500;600&display=swap');

:root {
  --green-900: #101710;
  --green-850: #141b12;
  --green-800: #1a2118;
  --green-700: #222a1f;
  --green-600: #2b3329;
  --green-500: #353c30;
  --green-400: #454c3e;

  --sand: #dec49e;
  --sand-bright: #ecd7b4;
  --sand-dim: rgba(222, 196, 158, 0.55);
  --sand-faint: rgba(222, 196, 158, 0.16);
  --sand-hair: rgba(222, 196, 158, 0.28);

  --cream: #ede6da;
  --mocha: #6b4a35;

  --font-ar: 'Tajawal', system-ui, sans-serif;
  --font-en: 'Cormorant Garamond', Georgia, serif;

  --page: min(1180px, 100% - 2.5rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: dark;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* Component classes set `display`, which would otherwise beat the hidden attribute. */
[hidden] { display: none !important; }

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

body {
  background: var(--green-850);
  color: var(--cream);
  font-family: var(--font-ar);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

::selection { background: var(--sand); color: var(--green-900); }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }

/* Latin numerals read better than Arabic-Indic for prices in this layout. */
.num { font-family: var(--font-en); font-variant-numeric: lining-nums; direction: ltr; unicode-bidi: isolate; }

/* Fine film grain keeps the large flat greens from banding. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

.page { width: var(--page); margin-inline: auto; }

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.stuck {
  background: rgba(16, 23, 16, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--sand-faint);
}
.nav-in {
  width: var(--page);
  margin-inline: auto;
  height: 76px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-mark { color: var(--sand); width: 92px; flex: none; display: block; }
.nav-mark svg { width: 100%; height: auto; }
.nav-links {
  display: flex;
  gap: 1.9rem;
  margin-inline-start: auto;
  font-size: 0.92rem;
  font-weight: 400;
}
.nav-links a { position: relative; opacity: 0.82; transition: opacity 0.3s, color 0.3s; }
.nav-links a::after {
  content: '';
  position: absolute;
  inset-block-end: -6px;
  inset-inline-start: 0;
  width: 0;
  height: 1px;
  background: var(--sand);
  transition: width 0.4s var(--ease-out);
}
.nav-links a:hover { opacity: 1; color: var(--sand); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  margin-inline-start: 1.4rem;
  padding: 0.6rem 1.35rem;
  border: 1px solid var(--sand-hair);
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--sand);
  transition: background 0.35s var(--ease), color 0.35s, border-color 0.35s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--sand); color: var(--green-900); border-color: var(--sand); }

.nav-burger { display: none; margin-inline-start: auto; background: none; border: 0; cursor: pointer; padding: 0.5rem; color: var(--sand); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-cta { margin-inline-start: 0.6rem; padding: 0.5rem 1rem; font-size: 0.8rem; }
  .nav-in { height: 64px; }
}

/* mobile sheet */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(16, 23, 16, 0.97);
  backdrop-filter: blur(10px);
  display: grid;
  place-content: center;
  gap: 1.6rem;
  text-align: center;
  font-size: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.sheet.open { opacity: 1; pointer-events: auto; }
.sheet a { transition: color 0.3s; }
.sheet a:hover { color: var(--sand); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  background: var(--green-900);
}
.hero-bg {
  position: absolute;
  inset: -10%;
  background: url('../img/texture-cover.jpg') center/cover no-repeat;
  opacity: 0.5;
  filter: saturate(0.85);
  transform: scale(1.06);
  animation: drift 26s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.14) translate3d(0, -2.2%, 0); }
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 40%, transparent 0%, rgba(16, 23, 16, 0.55) 55%, var(--green-900) 100%),
    linear-gradient(180deg, rgba(16, 23, 16, 0.6), transparent 30%, rgba(16, 23, 16, 0.9));
}

.hero-motif {
  position: absolute;
  inset-block-start: 50%;
  inset-inline: 0;
  width: min(78vw, 720px);
  margin-inline: auto;
  translate: 0 -58%;
  color: var(--sand);
  opacity: 0.07;
  animation: breathe 14s ease-in-out infinite alternate;
}
@keyframes breathe {
  from { opacity: 0.055; scale: 1; }
  to   { opacity: 0.1; scale: 1.06; }
}

.hero-in { position: relative; display: grid; justify-items: center; gap: 1.6rem; padding-block: 6rem; }

.hero-mark {
  width: min(62vw, 330px);
  color: var(--sand);
  opacity: 0;
  filter: drop-shadow(0 8px 40px rgba(0, 0, 0, 0.5));
  animation: markIn 1.5s var(--ease-out) 0.15s forwards;
}
@keyframes markIn {
  from { opacity: 0; transform: translateY(22px) scale(0.965); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}

.hero-rule {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sand-dim), transparent);
  animation: ruleIn 1.4s var(--ease-out) 0.85s forwards;
}
@keyframes ruleIn { to { width: min(58vw, 340px); } }

.hero-title {
  font-weight: 200;
  font-size: clamp(1.5rem, 4.6vw, 2.6rem);
  letter-spacing: 0.02em;
  color: var(--cream);
  opacity: 0;
  animation: fadeUp 1.1s var(--ease-out) 1s forwards;
}
.hero-sub {
  font-family: var(--font-en);
  font-size: clamp(0.95rem, 2.2vw, 1.25rem);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sand);
  opacity: 0;
  animation: fadeUp 1.1s var(--ease-out) 1.18s forwards;
}
.hero-lede {
  max-width: 34rem;
  font-size: clamp(0.95rem, 2vw, 1.06rem);
  color: rgba(237, 230, 218, 0.72);
  opacity: 0;
  animation: fadeUp 1.1s var(--ease-out) 1.36s forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-block-start: 0.7rem;
  opacity: 0;
  animation: fadeUp 1.1s var(--ease-out) 1.54s forwards;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  background: none;
  position: relative;
  overflow: hidden;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.25s var(--ease), background 0.35s var(--ease);
}
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn:not(:disabled):active { transform: translateY(1px) scale(0.99); }

.btn-solid { background: var(--sand); color: var(--green-900); }
.btn-solid:not(:disabled):hover { background: var(--sand-bright); }

.btn-ghost { border-color: var(--sand-hair); color: var(--sand); }
.btn-ghost:not(:disabled):hover { background: var(--sand-faint); border-color: var(--sand); }

.btn-wa { background: #25d366; color: #06301a; font-weight: 700; }
.btn-wa:not(:disabled):hover { background: #33e277; }
.btn-wa svg { width: 20px; height: 20px; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding-block: clamp(4.5rem, 10vw, 8rem); position: relative; }
.section--alt { background: var(--green-600); }
.section--deep { background: var(--green-900); }

.head { margin-block-end: clamp(2.5rem, 5vw, 4rem); }
.head--center { text-align: center; }
.head h2 {
  font-weight: 200;
  font-size: clamp(1.8rem, 5vw, 3rem);
  letter-spacing: 0.01em;
  line-height: 1.25;
  color: var(--sand);
}
.head .en {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(1rem, 2.4vw, 1.4rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(237, 230, 218, 0.5);
  margin-block-start: 0.4rem;
}
.head p {
  max-width: 40rem;
  margin-block-start: 1.2rem;
  color: rgba(237, 230, 218, 0.7);
}
.head--center p { margin-inline: auto; }

/* ---------- intro / about ---------- */
.about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about-figure {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}
.about-figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.about-figure:hover img { transform: scale(1.04); }
.about-figure::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px var(--sand-faint);
  pointer-events: none;
}
.about-text p { color: rgba(237, 230, 218, 0.78); }
.about-text p + p { margin-block-start: 1rem; }
.about-text .en-body {
  font-family: var(--font-en);
  font-size: 1.05rem;
  color: rgba(237, 230, 218, 0.55);
  direction: ltr;
  text-align: start;
}

.facts { display: flex; gap: 2.4rem; margin-block-start: 2.2rem; flex-wrap: wrap; }
.fact strong { display: block; font-family: var(--font-en); font-size: 2.1rem; color: var(--sand); font-weight: 400; }
.fact span { font-size: 0.85rem; color: rgba(237, 230, 218, 0.55); }

@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* ---------- menu chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-block-start: 1.6rem; }
.chip {
  border: 1px solid var(--sand-hair);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  color: var(--sand);
  white-space: nowrap;
  transition: background 0.3s, transform 0.3s var(--ease);
}
.chip:hover { background: var(--sand-faint); transform: translateY(-2px); }

/* ---------- package cards ---------- */
.pkgs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.1rem;
}
.pkg {
  position: relative;
  border: 1px solid var(--sand-hair);
  padding: 2rem 1.4rem 1.7rem;
  text-align: center;
  overflow: hidden;
  transition: border-color 0.45s var(--ease), transform 0.45s var(--ease), background 0.45s var(--ease);
}
.pkg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(100% 70% at 50% 0%, rgba(222, 196, 158, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.pkg:hover { transform: translateY(-6px); border-color: var(--sand); }
.pkg:hover::before { opacity: 1; }
.pkg > * { position: relative; }

.pkg-label { font-size: 0.8rem; color: rgba(237, 230, 218, 0.55); letter-spacing: 0.04em; }
.pkg-label .en { display: block; font-family: var(--font-en); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.7rem; opacity: 0.75; }
.pkg-cups { font-family: var(--font-en); font-size: 3.4rem; line-height: 1; color: var(--cream); font-weight: 300; margin-block: 0.5rem 0.2rem; }
.pkg-cups-unit { font-size: 0.85rem; color: rgba(237, 230, 218, 0.5); }
.pkg-rule { height: 1px; background: var(--sand-faint); margin-block: 1.2rem; }
.pkg-price { display: flex; align-items: center; justify-content: center; gap: 0.4rem; color: var(--sand); }
.pkg-price .amount { font-family: var(--font-en); font-size: 2rem; font-weight: 400; }
.pkg-price .sar { width: 0.95em; height: 0.95em; color: var(--sand); }

/* ---------- flask + extras rows ---------- */
.rows { display: grid; gap: 0.9rem; max-width: 46rem; }
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  border: 1px solid var(--sand-faint);
  padding: 1.15rem 1.5rem;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.row:hover { border-color: var(--sand-hair); background: rgba(222, 196, 158, 0.04); }
.row-name { font-size: 1.02rem; }
.row-name .en { display: block; font-family: var(--font-en); font-size: 0.88rem; color: rgba(237, 230, 218, 0.5); letter-spacing: 0.06em; }
.row-note { font-size: 0.82rem; color: rgba(237, 230, 218, 0.5); margin-block-start: 0.2rem; }
.row-price { display: flex; align-items: center; gap: 0.35rem; color: var(--sand); font-family: var(--font-en); font-size: 1.5rem; white-space: nowrap; }
.row-price .sar { width: 0.85em; height: 0.85em; }

/* ---------- showcase strip ---------- */
.strip { position: relative; height: clamp(300px, 52vw, 560px); overflow: hidden; }
.strip img { width: 100%; height: 100%; object-fit: cover; }
.strip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 23, 16, 0.55), transparent 35%, rgba(16, 23, 16, 0.55));
}
.strip-cap {
  position: absolute;
  inset-block-end: clamp(1.5rem, 4vw, 3rem);
  inset-inline: 0;
  margin-inline: auto;
  width: fit-content;
  text-align: center;
  color: var(--cream);
  font-size: clamp(1.1rem, 3vw, 1.7rem);
  font-weight: 200;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   Booking wizard
   ========================================================================== */
.wizard {
  border: 1px solid var(--sand-faint);
  background: linear-gradient(180deg, rgba(53, 60, 48, 0.42), rgba(43, 51, 41, 0.22));
  backdrop-filter: blur(2px);
}

/* progress rail */
.steps {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  border-bottom: 1px solid var(--sand-faint);
}
.step {
  position: relative;
  padding: 1.1rem 0.6rem 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(237, 230, 218, 0.4);
  transition: color 0.4s var(--ease);
}
.step + .step::before {
  content: '';
  position: absolute;
  inset-block: 1.1rem;
  inset-inline-start: 0;
  width: 1px;
  background: var(--sand-faint);
}
.step i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-inline: auto;
  margin-block-end: 0.45rem;
  border: 1px solid var(--sand-faint);
  border-radius: 50%;
  font-family: var(--font-en);
  font-style: normal;
  font-size: 0.85rem;
  transition: all 0.45s var(--ease);
}
.step.active { color: var(--sand); }
.step.active i { border-color: var(--sand); background: var(--sand); color: var(--green-900); }
.step.done { color: rgba(222, 196, 158, 0.75); }
.step.done i { border-color: var(--sand-hair); color: var(--sand); }
.step-label { display: block; }
@media (max-width: 720px) {
  .step-label { display: none; }
  .step { padding: 0.9rem 0.3rem; }
  .step i { margin-block-end: 0; }
}

/* panes */
.panes { padding: clamp(1.6rem, 4vw, 3rem); }
.pane { display: none; }
.pane.on { display: block; animation: paneIn 0.55s var(--ease-out); }
@keyframes paneIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.pane-title { font-size: 1.35rem; font-weight: 300; color: var(--sand); margin-block-end: 0.3rem; }
.pane-title .en { display: block; font-family: var(--font-en); font-size: 0.95rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(237, 230, 218, 0.45); }
.pane-hint { font-size: 0.9rem; color: rgba(237, 230, 218, 0.55); margin-block-end: 1.8rem; }

/* selectable option cards */
.opts { display: grid; gap: 0.9rem; }
.opts--2 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.opts--pkg { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }

.opt {
  position: relative;
  display: block;
  cursor: pointer;
  border: 1px solid var(--sand-faint);
  padding: 1.5rem 1.2rem;
  text-align: center;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease), transform 0.3s var(--ease);
}
.opt:hover { border-color: var(--sand-hair); transform: translateY(-3px); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt-check {
  position: absolute;
  inset-block-start: 0.7rem;
  inset-inline-end: 0.7rem;
  width: 18px;
  height: 18px;
  border: 1px solid var(--sand-hair);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: all 0.3s var(--ease);
}
.opt-check::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-900);
  transform: scale(0);
  transition: transform 0.3s var(--ease-out);
}
.opt:has(input:checked) { border-color: var(--sand); background: rgba(222, 196, 158, 0.07); }
.opt:has(input:checked) .opt-check { background: var(--sand); border-color: var(--sand); }
.opt:has(input:checked) .opt-check::after { transform: scale(1); }
.opt:has(input:focus-visible) { outline: 2px solid var(--sand); outline-offset: 3px; }

/* The span is inline by default, so a width alone would not contain the SVG. */
.opt-icon {
  display: block;
  width: 58px;
  height: 52px;
  margin-inline: auto;
  margin-block-end: 0.9rem;
  color: var(--sand);
  opacity: 0.85;
}
.opt-icon svg { width: 100%; height: 100%; }
.opt-name { font-size: 1.05rem; color: var(--cream); }
.opt-name .en { display: block; font-family: var(--font-en); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(237, 230, 218, 0.45); margin-block-start: 0.15rem; }
.opt-big { font-family: var(--font-en); font-size: 2.6rem; line-height: 1; color: var(--cream); font-weight: 300; }
.opt-meta { font-size: 0.8rem; color: rgba(237, 230, 218, 0.5); margin-block-start: 0.35rem; }
.opt-price { display: flex; align-items: center; justify-content: center; gap: 0.3rem; color: var(--sand); font-family: var(--font-en); font-size: 1.25rem; margin-block-start: 0.7rem; }
.opt-price .sar { width: 0.85em; height: 0.85em; }
.opt-desc { font-size: 0.85rem; color: rgba(237, 230, 218, 0.55); margin-block-start: 0.6rem; line-height: 1.55; }

/* form fields */
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem 1.2rem; }
.f { display: block; }
.f > span { display: block; font-size: 0.85rem; color: rgba(237, 230, 218, 0.62); margin-block-end: 0.45rem; }
.f > span em { font-style: normal; color: rgba(237, 230, 218, 0.35); font-size: 0.8rem; }
.f input, .f select, .f textarea {
  width: 100%;
  background: rgba(16, 23, 16, 0.45);
  border: 1px solid var(--sand-faint);
  border-radius: 2px;
  padding: 0.78rem 0.95rem;
  font-size: 0.95rem;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.f textarea { min-height: 6.5rem; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus {
  outline: none;
  border-color: var(--sand);
  background: rgba(16, 23, 16, 0.65);
  box-shadow: 0 0 0 3px rgba(222, 196, 158, 0.12);
}
.f input::placeholder, .f textarea::placeholder { color: rgba(237, 230, 218, 0.28); }
.f select option { background: var(--green-700); color: var(--cream); }
.f input[type='date'], .f input[type='time'] { color-scheme: dark; }

/* stepper for day count */
.stepper { display: flex; align-items: stretch; border: 1px solid var(--sand-faint); border-radius: 2px; overflow: hidden; width: fit-content; }
.stepper button {
  width: 48px;
  background: rgba(16, 23, 16, 0.4);
  border: 0;
  color: var(--sand);
  font-size: 1.3rem;
  cursor: pointer;
  transition: background 0.3s;
}
.stepper button:hover { background: var(--sand-faint); }
.stepper input {
  width: 84px;
  border: 0;
  border-inline: 1px solid var(--sand-faint);
  background: rgba(16, 23, 16, 0.45);
  text-align: center;
  font-family: var(--font-en);
  font-size: 1.3rem;
  padding-block: 0.6rem;
  -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; }

/* add-on toggles */
.addons { display: grid; gap: 0.7rem; margin-block-start: 1.6rem; }
.addon {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border: 1px solid var(--sand-faint);
  padding: 0.95rem 1.15rem;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
}
.addon:hover { border-color: var(--sand-hair); }
.addon:has(input:checked) { border-color: var(--sand); background: rgba(222, 196, 158, 0.06); }
.addon input { position: absolute; opacity: 0; pointer-events: none; }
.addon .box {
  width: 19px;
  height: 19px;
  flex: none;
  border: 1px solid var(--sand-hair);
  display: grid;
  place-items: center;
  transition: all 0.3s var(--ease);
}
.addon .box::after {
  content: '';
  width: 10px;
  height: 6px;
  border: 2px solid var(--green-900);
  border-block-start: 0;
  border-inline-end: 0;
  rotate: -45deg;
  translate: 0 -1px;
  transform: scale(0);
  transition: transform 0.25s var(--ease-out);
}
.addon:has(input:checked) .box { background: var(--sand); border-color: var(--sand); }
.addon:has(input:checked) .box::after { transform: scale(1); }
.addon-name { flex: 1; font-size: 0.95rem; }
.addon-name .en { display: block; font-family: var(--font-en); font-size: 0.8rem; color: rgba(237, 230, 218, 0.45); letter-spacing: 0.08em; }
.addon-price { color: var(--sand); font-family: var(--font-en); font-size: 1.05rem; display: flex; align-items: center; gap: 0.3rem; white-space: nowrap; }
.addon-price .sar { width: 0.85em; height: 0.85em; }

/* review */
.review { display: grid; gap: 0.1rem; border: 1px solid var(--sand-faint); }
.review-row { display: flex; justify-content: space-between; gap: 1.2rem; padding: 0.85rem 1.2rem; font-size: 0.93rem; }
.review-row + .review-row { border-block-start: 1px solid var(--sand-faint); }
.review-row dt { color: rgba(237, 230, 218, 0.55); }
.review-row dd { color: var(--cream); text-align: end; }
.review-row--sum { background: rgba(222, 196, 158, 0.07); font-size: 1.15rem; }
.review-row--sum dt { color: var(--sand); }
.review-row--sum dd { color: var(--sand); font-family: var(--font-en); font-size: 1.5rem; display: flex; align-items: center; gap: 0.35rem; }
.review-row--sum .sar { width: 0.8em; height: 0.8em; }
.review-note { font-size: 0.82rem; color: rgba(237, 230, 218, 0.45); margin-block-start: 0.9rem; line-height: 1.6; }

/* running total bar */
.total-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-block-start: 1px solid var(--sand-faint);
  padding: 1.1rem clamp(1.6rem, 4vw, 3rem);
  background: rgba(16, 23, 16, 0.35);
}
.total-bar .label { font-size: 0.85rem; color: rgba(237, 230, 218, 0.55); }
.total-bar .value { display: flex; align-items: center; gap: 0.35rem; color: var(--sand); font-family: var(--font-en); font-size: 1.75rem; }
.total-bar .value .sar { width: 0.8em; height: 0.8em; }
.wiz-actions { display: flex; gap: 0.7rem; margin-inline-start: auto; }
@media (max-width: 560px) {
  .wiz-actions { width: 100%; }
  .wiz-actions .btn { flex: 1; padding-inline: 1rem; }
}

.err { color: #e8a29a; font-size: 0.85rem; margin-block-start: 0.6rem; min-height: 1.2em; }

/* ==========================================================================
   Contact + footer
   ========================================================================== */
.contact-card {
  border: 1px solid var(--sand-hair);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-card .motif-bg {
  position: absolute;
  inset-block-start: 50%;
  inset-inline: 0;
  margin-inline: auto;
  translate: 0 -55%;
  width: 420px;
  color: var(--sand);
  opacity: 0.05;
}
.contact-card > * { position: relative; }
.contact-phone {
  font-family: var(--font-en);
  font-size: clamp(2rem, 7vw, 3.4rem);
  color: var(--sand);
  letter-spacing: 0.06em;
  display: inline-block;
  margin-block: 0.6rem 1.4rem;
  transition: opacity 0.3s;
}
.contact-phone:hover { opacity: 0.8; }

.foot {
  border-block-start: 1px solid var(--sand-faint);
  padding-block: 2.4rem;
  background: var(--green-900);
}
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.foot-mark { width: 84px; color: var(--sand); opacity: 0.8; }
.foot p { font-size: 0.82rem; color: rgba(237, 230, 218, 0.4); }

/* floating WhatsApp */
.fab {
  position: fixed;
  inset-block-end: 1.5rem;
  inset-inline-end: 1.5rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #06301a;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.45);
  transform: scale(0);
  transition: transform 0.45s var(--ease-out), background 0.3s;
}
.fab.show { transform: scale(1); }
.fab:hover { background: #33e277; }
.fab svg { width: 28px; height: 28px; }

/* ==========================================================================
   Dessert menu (landing page)
   ========================================================================== */
.sweets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0.7rem;
}
.sweet {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  border: 1px solid var(--sand-faint);
  padding: 0.95rem 1.15rem;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease), transform 0.35s var(--ease);
}
.sweet:hover { border-color: var(--sand-hair); background: rgba(222, 196, 158, 0.05); transform: translateY(-3px); }
.sweet-name { font-size: 0.98rem; }
.sweet-name .en {
  display: block;
  font-family: var(--font-en);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: rgba(237, 230, 218, 0.45);
}
.sweet-price {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  color: var(--sand);
  font-family: var(--font-en);
  font-size: 1.15rem;
  white-space: nowrap;
}
.sweet-price .sar { width: 0.82em; height: 0.82em; }

/* ==========================================================================
   Quantity rows inside the wizard
   ========================================================================== */
.sub-head {
  font-size: 1rem;
  font-weight: 400;
  color: var(--sand);
  margin-block: 1.8rem 0.9rem;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.sub-head:first-of-type { margin-block-start: 0; }
.sub-head .en {
  font-family: var(--font-en);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(237, 230, 218, 0.4);
}
.sub-note { font-size: 0.78rem; color: rgba(237, 230, 218, 0.4); margin-inline-start: auto; }

.qlist { display: grid; gap: 0.55rem; }

.qrow {
  display: grid;
  grid-template-columns: 1fr auto 6.5rem;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--sand-faint);
  padding: 0.75rem 1rem;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.qrow.on { border-color: var(--sand); background: rgba(222, 196, 158, 0.06); }
.qrow-main { display: flex; align-items: baseline; gap: 0.8rem; flex-wrap: wrap; min-width: 0; }
.qrow-name { font-size: 0.96rem; }
.qrow-name .en {
  display: block;
  font-family: var(--font-en);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: rgba(237, 230, 218, 0.42);
}
.qrow-price {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: rgba(222, 196, 158, 0.85);
  font-family: var(--font-en);
  font-size: 0.98rem;
  white-space: nowrap;
}
.qrow-price .sar { width: 0.8em; height: 0.8em; }
.qrow-per { font-family: var(--font-ar); font-size: 0.72rem; opacity: 0.55; }
.qrow-total {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  font-family: var(--font-en);
  font-size: 1.1rem;
  color: var(--sand);
  white-space: nowrap;
}
.qrow-total .sar { width: 0.8em; height: 0.8em; }

.stepper--sm button { width: 38px; font-size: 1.1rem; }
.stepper--sm input { width: 62px; font-size: 1.02rem; padding-block: 0.42rem; }

@media (max-width: 620px) {
  .qrow { grid-template-columns: 1fr auto; row-gap: 0.7rem; }
  .qrow-main { grid-column: 1 / -1; }
  .qrow-total { justify-content: flex-start; }
}

/* ==========================================================================
   Map picker
   ========================================================================== */
.map-block { margin-block-start: 1.8rem; }
.map-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-block-end: 0.7rem;
  font-size: 0.88rem;
  color: rgba(237, 230, 218, 0.62);
}
.map-head em { font-style: normal; color: rgba(237, 230, 218, 0.35); }
.btn-xs { padding: 0.42rem 0.85rem; font-size: 0.8rem; gap: 0.4rem; }

#map {
  height: 320px;
  border: 1px solid var(--sand-faint);
  border-radius: 2px;
  background: var(--green-700);
  z-index: 1;
}
/* Tone the OSM tiles down so the map sits inside the brand palette. */
#map .leaflet-tile-pane { filter: saturate(0.55) brightness(0.78) contrast(1.05); }
#map .leaflet-control-attribution {
  background: rgba(16, 23, 16, 0.75);
  color: rgba(237, 230, 218, 0.5);
  font-size: 0.65rem;
}
#map .leaflet-control-attribution a { color: rgba(222, 196, 158, 0.7); }
#map .leaflet-bar a {
  background: var(--green-700);
  color: var(--sand);
  border-color: var(--sand-faint);
}
#map .leaflet-bar a:hover { background: var(--green-500); }

.map-hint { font-size: 0.8rem; color: rgba(237, 230, 218, 0.45); margin-block-start: 0.6rem; }
.map-readout { font-size: 0.85rem; color: rgba(237, 230, 218, 0.6); margin-block-start: 0.3rem; }
.map-readout .ok { color: #9fd8a9; font-weight: 500; }
.map-readout a { color: var(--sand); text-decoration: underline; text-underline-offset: 3px; margin-inline-start: 0.5rem; }

/* ==========================================================================
   Confirmation panel
   ========================================================================== */
.btn-confirm { padding-inline: 2.4rem; }

.done {
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.6rem, 4vw, 3rem);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 0.8rem;
  animation: paneIn 0.6s var(--ease-out);
}
.done-mark { width: 62px; color: var(--sand); }
.done-mark svg { width: 100%; height: auto; }
.done h3 { font-size: 1.6rem; font-weight: 300; color: var(--sand); }
.done-ref { font-size: 0.95rem; color: rgba(237, 230, 218, 0.7); }
.done-ref strong { color: var(--sand); letter-spacing: 0.08em; font-weight: 500; }
.done-body { max-width: 30rem; font-size: 0.92rem; color: rgba(237, 230, 218, 0.6); line-height: 1.75; }
.done-fallback { font-size: 0.85rem; }
.done-fallback a { color: var(--sand); text-decoration: underline; text-underline-offset: 3px; }
.done .btn { margin-block-start: 0.8rem; }

/* ---------- grouped dessert menu ---------- */
.sweet-groups { display: grid; gap: clamp(2.2rem, 5vw, 3.2rem); }

.sweet-group-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin-block-end: 1.1rem;
  padding-block-end: 0.8rem;
  border-block-end: 1px solid var(--sand-faint);
}
.sweet-group-head h3 {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--sand);
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  flex-wrap: wrap;
}
.sweet-group-head .en {
  font-family: var(--font-en);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(237, 230, 218, 0.4);
}
.sweet-group-note {
  margin-inline-start: auto;
  font-size: 0.82rem;
  color: rgba(237, 230, 218, 0.5);
  border: 1px solid var(--sand-faint);
  border-radius: 999px;
  padding: 0.22rem 0.85rem;
}

.sub-head--inner { margin-block: 1.6rem 0.8rem; }
.sub-head--inner:first-child { margin-block-start: 0; }

/* ---------- "included free" notice ---------- */
.included {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  flex-wrap: wrap;
  border: 1px solid rgba(159, 216, 169, 0.3);
  background: rgba(159, 216, 169, 0.07);
  padding: 0.85rem 1.1rem;
  margin-block-end: 0.8rem;
  font-size: 0.9rem;
}
.inc-badge {
  flex: none;
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(159, 216, 169, 0.18);
  color: #a9dfb3;
}
.inc-text { flex: 1; min-width: 12rem; color: rgba(237, 230, 218, 0.8); line-height: 1.7; }
.inc-text strong { color: #a9dfb3; font-family: var(--font-en); font-size: 1.05rem; }
.inc-text em {
  display: block;
  font-style: normal;
  font-size: 0.8rem;
  color: rgba(237, 230, 218, 0.45);
  margin-block-start: 0.15rem;
}
