/* The Darbaar — black and gold, after the printed menu. */
:root {
  --bg: #0b0907;
  --bg-2: #14100b;
  --panel: #19140e;
  --line: rgba(226, 184, 94, .28);
  --gold: #e2b85e;
  --gold-hi: #f6dc8c;
  --gold-lo: #a8762a;
  --text: #f3ead8;
  --muted: #b7a88c;
  --red: #e57a6a;
  --green: #8fcf8a;
  --gold-grad: linear-gradient(180deg, #f6dc8c 0%, #e2b85e 45%, #b8862f 100%);
  --radius: 14px;
  --head: 'Cinzel', 'Times New Roman', serif;
  --body: 'Cormorant Garamond', Georgia, serif;
  --urdu: 'Noto Nastaliq Urdu', serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 500 19px/1.55 var(--body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  /* Cormorant's default old-style figures make prices and IBANs hard to read. */
  font-variant-numeric: lining-nums;
}
a { color: var(--gold); }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.center { text-align: center; }
[lang="ur"] { font-family: var(--urdu); direction: rtl; }

/* ---- header ---- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 18px;
  padding: 10px max(16px, env(safe-area-inset-left));
  background: rgba(11, 9, 7, .9); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: baseline; gap: 6px; text-decoration: none; }
.brand-the {
  font: 700 26px/1 var(--head); letter-spacing: .02em;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-ur {
  /* Nastaliq needs tall lines or its descenders are cut off. */
  font: 700 26px/2 var(--urdu); margin: -14px 0 -10px;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font: 600 13px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; }
.nav a:hover { color: var(--gold-hi); }
.cart-btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--gold);
  background: transparent; color: var(--gold-hi); font: 600 13px/1 var(--head); letter-spacing: .1em; text-transform: uppercase;
}
.cart-btn svg { width: 18px; height: 18px; }
.cart-btn b { min-width: 22px; padding: 3px 6px; border-radius: 999px; background: var(--gold-grad); color: #1a1208; font: 700 12px/1 var(--head); }
.cart-btn:hover { background: rgba(226, 184, 94, .1); }

/* ---- ornaments ---- */
.flourish { height: 24px; max-width: 260px; margin: 6px auto 28px; background: url(assets/flourish.svg) center/contain no-repeat; }
.corner { position: absolute; width: min(26vw, 190px); aspect-ratio: 1; background: url(assets/corner.svg) center/contain no-repeat; opacity: .95; pointer-events: none; }
.corner.tl { top: 16px; left: 16px; }
.corner.tr { top: 16px; right: 16px; transform: scaleX(-1); }

/* ---- hero ---- */
.hero {
  position: relative; min-height: min(92vh, 820px);
  display: grid; place-items: center; text-align: center; overflow: hidden;
  padding: 90px 16px 70px;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(226, 184, 94, .14), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}
.arch { display: none;
  position: absolute; left: 50%; bottom: -4%; transform: translateX(-50%);
  width: min(560px, 92vw); aspect-ratio: 2 / 3;
  background: url(assets/arch.svg) center bottom/contain no-repeat; opacity: .32; pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 4px; font: 600 14px/1 var(--head); letter-spacing: .4em; text-transform: uppercase; color: var(--muted); }
.hero-logo { margin: 0; display: flex; align-items: baseline; justify-content: center; gap: 14px; line-height: 1.1; }
.hero-logo .brand-the { font-size: clamp(54px, 13vw, 116px); }
.hero-logo .brand-ur { font-size: clamp(58px, 14vw, 124px); line-height: 1.5; }
.tagline { margin: -6px 0 0; font-size: clamp(20px, 4.4vw, 30px); color: var(--gold); }
.tagline-en { margin: 4px 0 0; font: 500 14px/1.4 var(--head); letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.hero .flourish { margin: 22px auto 26px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-modes { margin-top: 22px; font: 500 13px/1 var(--head); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  padding: 14px 28px; border-radius: 999px; text-decoration: none; border: 1px solid var(--gold);
  font: 700 14px/1 var(--head); letter-spacing: .14em; text-transform: uppercase;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn.gold { background: var(--gold-grad); color: #1a1208; border-color: transparent; box-shadow: 0 6px 24px rgba(226, 184, 94, .25); }
.btn.gold:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(226, 184, 94, .35); }
.btn.ghost { background: transparent; color: var(--gold-hi); }
.btn.ghost:hover { background: rgba(226, 184, 94, .1); }
.btn.small { padding: 10px 18px; font-size: 12px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---- sections ---- */
.section { position: relative; max-width: 1080px; margin: 0 auto; padding: 84px 16px 40px; }
.title {
  margin: 0; text-align: center; font: 700 clamp(28px, 5vw, 40px)/1.2 var(--head); letter-spacing: .08em; text-transform: uppercase;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.banner { max-width: 720px; margin: 0 auto 24px; padding: 12px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); text-align: center; }
.banner.closed { border-color: rgba(229, 122, 106, .5); }

/* ---- menu ---- */
.cat-tabs {
  position: sticky; top: 61px; z-index: 10; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  padding: 10px 2px; margin: 0 -2px 18px; background: var(--bg);
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tabs a {
  flex: none; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap;
  color: var(--muted); text-decoration: none; font: 600 12px/1 var(--head); letter-spacing: .12em; text-transform: uppercase;
}
.cat-tabs a.active, .cat-tabs a:hover { color: #1a1208; background: var(--gold-grad); border-color: transparent; }
.menu-cat { margin-bottom: 40px; }
.menu-cat h3 {
  margin: 0 0 4px; text-align: center; font: 600 22px/1.3 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--gold);
}
.menu-cat .flourish { margin: 4px auto 18px; max-width: 180px; height: 18px; }
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 12px 32px; }
.item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.item-main { flex: 1; min-width: 0; }
.item-name { font: 600 16px/1.3 var(--head); letter-spacing: .04em; text-transform: uppercase; color: var(--text); }
.item-ur { display: block; font-size: 15px; line-height: 1.9; color: var(--muted); text-align: left; }
.item-deal { font-size: 15px; color: var(--muted); }
.item-price { font: 600 16px/1 var(--head); color: var(--gold-hi); white-space: nowrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--gold); border-radius: 999px; overflow: hidden; flex: none; }
.qty button {
  width: 34px; height: 34px; border: 0; background: transparent; color: var(--gold-hi); font: 700 20px/1 var(--body); cursor: pointer;
}
.qty button:hover { background: rgba(226, 184, 94, .14); }
.qty span { min-width: 22px; text-align: center; font: 700 15px/1 var(--head); }
.add-btn {
  flex: none; height: 34px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--gold); cursor: pointer;
  background: transparent; color: var(--gold-hi); font: 700 12px/1 var(--head); letter-spacing: .12em; text-transform: uppercase;
}
.add-btn:hover { background: var(--gold-grad); color: #1a1208; }
.menu-error { text-align: center; }

/* ---- about / visit ---- */
.about-text { max-width: 720px; margin: 0 auto; text-align: center; font-size: 21px; }
.about-text p { margin: 0 0 16px; }
.visit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.visit-card { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.visit-card h3 { margin: 0 0 6px; font: 600 15px/1.3 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.visit-card h3:not(:first-child) { margin-top: 20px; }
.visit-card p { margin: 0 0 10px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 10px; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; color: var(--gold-hi); }
.map-wrap { margin-top: 18px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.map-wrap iframe { display: block; width: 100%; height: 340px; border: 0; filter: grayscale(.4) contrast(1.05); }

.footer { margin-top: 60px; padding: 36px 16px 48px; text-align: center; border-top: 1px solid var(--line); }
.footer .brand { justify-content: center; }
.small-print { font-size: 14px; }

/* ---- drawer / checkout ---- */
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .6); }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 50; width: min(460px, 100%);
  display: flex; flex-direction: column; background: var(--bg-2); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform .25s ease;
}
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font: 700 20px/1 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.icon-x { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--text); font-size: 24px; line-height: 1; cursor: pointer; }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 20px 28px; }
.cart-line { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.cart-line .item-main { font: 600 14px/1.3 var(--head); text-transform: uppercase; letter-spacing: .03em; }
.cart-line .item-main small { display: block; font: 500 15px/1.3 var(--body); text-transform: none; color: var(--muted); }
.sum-line { display: flex; justify-content: space-between; padding: 6px 0; }
.sum-line.total { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); font: 700 18px/1 var(--head); color: var(--gold-hi); }
.steps { display: flex; gap: 6px; margin: 0 0 18px; }
.steps span { flex: 1; height: 3px; border-radius: 3px; background: var(--line); }
.steps span.on { background: var(--gold); }
.step-title { margin: 0 0 14px; font: 700 15px/1.3 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.choice button {
  padding: 14px 10px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); color: var(--text); cursor: pointer;
  font: 600 14px/1.3 var(--head); letter-spacing: .06em; text-transform: uppercase;
}
.choice button small { display: block; margin-top: 4px; font: 500 14px/1.3 var(--body); text-transform: none; letter-spacing: 0; color: var(--muted); }
.choice button.on { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); background: rgba(226, 184, 94, .08); }
.choice button:disabled { opacity: .4; cursor: not-allowed; }
.field { margin-bottom: 14px; }
.field label { display: block; margin-bottom: 6px; font: 600 12px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text);
  font: 500 18px/1.4 var(--body);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(226, 184, 94, .18); }
.field .hint { margin-top: 5px; font-size: 15px; color: var(--muted); }
.otp-input { letter-spacing: .5em; text-align: center; font: 700 26px/1 var(--head) !important; }
.err { min-height: 22px; margin: 4px 0 10px; color: var(--red); font-size: 16px; }
.bank-box { white-space: pre-line; padding: 12px 14px; margin-bottom: 14px; border: 1px dashed var(--gold); border-radius: 10px; background: rgba(226, 184, 94, .06); }
.row-btns { display: flex; gap: 10px; }
.row-btns .btn { flex: 1; }
.linkish { background: none; border: 0; padding: 0; color: var(--gold); font: inherit; text-decoration: underline; cursor: pointer; }
.status-card { text-align: center; padding: 10px 0; }
.status-card .code { font: 700 30px/1.2 var(--head); letter-spacing: .1em; color: var(--gold-hi); }
.status-pill { display: inline-block; margin: 12px 0; padding: 8px 16px; border-radius: 999px; font: 700 13px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; }
.status-pill.pending { background: rgba(226, 184, 94, .14); color: var(--gold-hi); }
.status-pill.accepted { background: rgba(143, 207, 138, .15); color: var(--green); }
.status-pill.rejected { background: rgba(229, 122, 106, .15); color: var(--red); }
.empty { padding: 30px 0; text-align: center; color: var(--muted); }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translateX(-50%); max-width: calc(100% - 32px);
  padding: 12px 20px; border-radius: 999px; background: var(--gold-grad); color: #1a1208; font: 700 13px/1.3 var(--head); letter-spacing: .06em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
}

@media (max-width: 720px) {
  body { font-size: 18px; }
  .nav { display: none; }
  .cart-btn { margin-left: auto; }
  .topbar { padding: 10px 16px; }
  .brand-the, .brand-ur { font-size: 22px; }
  .corner { width: 110px; }
  .corner.tl { top: 8px; left: 8px; } .corner.tr { top: 8px; right: 8px; }
  .items { grid-template-columns: 1fr; }
  .section { padding-top: 64px; }
  .cat-tabs { top: 57px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .drawer { transition: none; } }
.mt { margin-top: 16px; }

/* ---- dishes with sizes (Half / Full, 6 pc / 12 pc …) ---- */
.item.group { flex-wrap: wrap; }
.item.group .item-main { flex-basis: 100%; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.opt {
  display: inline-flex; align-items: center; gap: 10px; padding: 4px 4px 4px 14px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(226, 184, 94, .04);
}
.opt-label { font: 600 12px/1 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.opt-price { font: 600 15px/1 var(--head); color: var(--gold-hi); white-space: nowrap; }
.opt .qty button { width: 30px; height: 30px; }
.add-btn.round { width: 34px; padding: 0; font: 700 20px/1 var(--body); }
.item-note { font-size: 15px; font-style: italic; color: var(--gold); }
.section-note { margin: 2px 0 0; text-align: center; font-style: italic; color: var(--gold); }

/* ---- logo mark (supplied as gold on black; lighten drops the black) ---- */
.brand-mark { height: 34px; width: auto; align-self: center; }
.hero-mark { display: block; width: clamp(130px, 30vw, 210px); height: auto; margin: 0 auto 10px; }
.footer .brand-mark { height: 46px; }
@media (max-width: 420px) {
  .opts { gap: 6px; }
  .opt { gap: 6px; padding-left: 10px; }
  .opt-label { font-size: 11px; letter-spacing: .06em; }
  .opt-price { font-size: 14px; }
  .opt .qty button, .opt .add-btn.round { width: 28px; height: 28px; }
  .opt .qty span { min-width: 16px; }
}
