/* ============================================================
   CHAKHNA — WEBSITE STYLES  (safe for you to edit)
   Change the colours below to re-theme the whole site.
   ============================================================ */
:root {
  --bg: #17120e;          /* page background */
  --bg-soft: #221a14;     /* cards / sections */
  --line: #3a2d22;        /* borders */
  --text: #f4ebe1;        /* main text */
  --muted: #b8a796;       /* secondary text */
  --accent: #f2a13b;      /* saffron / amber — buttons, highlights */
  --accent-2: #d9472b;    /* chilli red */
  --leaf: #4f8a3a;        /* banana-leaf green (Patra Poda) */
  --star: #ffc246;
  --veg: #3fa34d;
  --nonveg: #c0392b;
  --radius: 14px;
  --font-head: "Yeseva One", Georgia, serif;
  --font-body: "Poppins", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); line-height: 1.55; }
a { color: var(--accent); text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 400; line-height: 1.15; margin: 0 0 .4em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.4rem; margin-top: 2rem; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  background: var(--accent); color: #1b130b; border: 0;
  padding: .8rem 1.4rem; border-radius: 999px;
  font: 600 1rem var(--font-body); cursor: pointer;
  transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); background: #ffb556; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-small { padding: .45rem 1rem; font-size: .9rem; }
.icon-btn { background: none; border: 0; color: var(--muted); font-size: 1.3rem; cursor: pointer; padding: .2rem .5rem; }

/* ---------- announcement + nav ---------- */
.announce { background: var(--accent-2); color: #fff; text-align: center; padding: .5rem 1rem; font-size: .9rem; }
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .8rem clamp(1rem, 4vw, 3rem);
  background: rgba(23, 18, 14, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav nav { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.nav nav a:not(.btn) { color: var(--muted); font-size: .95rem; }
.nav nav a:not(.btn):hover { color: var(--text); }
.brand { display: flex; align-items: baseline; gap: .5rem; font-family: var(--font-head); font-size: 1.5rem; color: var(--text); }
.brand-mark { color: var(--accent); font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem);
  background: radial-gradient(ellipse at 80% 40%, rgba(242,161,59,.18), transparent 60%);
}
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .15em; font-size: .8rem; margin: 0 0 1rem; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
.hero h1 em { color: var(--accent); font-style: normal; }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 34rem; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.5rem; }
.order-note { color: var(--muted); font-size: .88rem; margin: .8rem 0 0; }
.hero-plate {
  aspect-ratio: 1; max-width: 340px; width: 100%; justify-self: center;
  border-radius: 50%; background: var(--bg-soft); border: 2px dashed var(--line);
  display: grid; grid-template-columns: repeat(3, 1fr); place-items: center;
  font-size: clamp(2.5rem, 6vw, 4rem); padding: 14%;
}

/* ---------- sections ---------- */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 4vw, 3rem); max-width: 1200px; margin: 0 auto; }
.sub { color: var(--muted); max-width: 40rem; margin-top: 0; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }

/* ---------- drink picker ---------- */
.drink-picker { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.5rem 0 1rem; }
.drink {
  background: var(--bg-soft); color: var(--text); border: 1px solid var(--line); border-radius: 999px;
  padding: .6rem 1.1rem; font: 500 1rem var(--font-body); cursor: pointer;
}
.drink:hover { border-color: var(--accent); }
.drink.active { background: var(--accent); color: #1b130b; border-color: var(--accent); }
.pair-tip { color: var(--accent); min-height: 1.5em; font-style: italic; }

/* ---------- Patra Poda feature ---------- */
.feature {
  max-width: none;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(79,138,58,.25), transparent 55%),
    var(--bg);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.feature > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.feature .eyebrow { color: #8fcf6f; }

/* ---------- menu ---------- */
.menu-controls { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin: 1rem 0 1.5rem; }
.tabs { display: flex; gap: .4rem; flex-wrap: wrap; }
.tab {
  background: none; color: var(--muted); border: 1px solid transparent;
  padding: .55rem 1rem; border-radius: 10px; font: 500 1rem var(--font-body); cursor: pointer;
}
.tab.active { color: var(--text); background: var(--bg-soft); border-color: var(--line); }
.filters { display: flex; gap: 1rem; color: var(--muted); font-size: .95rem; }
.filters label { display: flex; align-items: center; gap: .35rem; cursor: pointer; }

/* ---------- cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.1rem; }
.card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.photo {
  position: relative; aspect-ratio: 16 / 10;
  background: radial-gradient(circle at 50% 60%, #3b2b1d, #1e1611);
  display: grid; place-items: center;
}
.photo { overflow: hidden; }
.photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-emoji { font-size: 4rem; filter: drop-shadow(0 6px 10px rgba(0,0,0,.5)); }
.badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--accent-2); color: #fff; font-size: .72rem; font-weight: 600;
  padding: .2rem .6rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em;
}
.dot { width: 14px; height: 14px; border: 2px solid; border-radius: 3px; display: inline-grid; place-items: center; flex: none; }
.dot::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.dot.veg { color: var(--veg); }
.dot.nonveg { color: var(--nonveg); }
.dot.on-photo { position: absolute; top: 10px; right: 10px; background: #fff; }
.card-body { padding: .9rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.card-top { display: flex; align-items: flex-start; gap: .5rem; }
.card h4 { margin: 0; font-size: 1.05rem; font-weight: 600; flex: 1; }
.card p { margin: 0; color: var(--muted); font-size: .9rem; flex: 1; }
.card-meta { display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-size: .88rem; }
.rating { background: none; border: 0; padding: 0; color: var(--star); font: 600 .9rem var(--font-body); cursor: pointer; }
.rating small { color: var(--muted); font-weight: 400; }
.rating.muted { color: var(--muted); font-weight: 400; }
.rating:hover { text-decoration: underline; }
.card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: .3rem; }
.price { font-weight: 600; color: var(--accent); font-size: 1.1rem; }
.spice { font-size: .8rem; letter-spacing: -2px; white-space: nowrap; }
.add-btn {
  background: transparent; color: var(--accent); border: 1px solid var(--accent); border-radius: 8px;
  padding: .4rem 1rem; font: 600 .9rem var(--font-body); cursor: pointer;
}
.add-btn:hover { background: var(--accent); color: #1b130b; }
.stepper { display: inline-flex; align-items: center; background: var(--accent); color: #1b130b; border-radius: 8px; font-weight: 600; }
.stepper button { background: none; border: 0; color: inherit; font: 600 1.1rem var(--font-body); width: 2rem; height: 2rem; cursor: pointer; }
.stepper span { min-width: 1.4rem; text-align: center; }
.empty { color: var(--muted); grid-column: 1 / -1; }

/* ---------- dinner ---------- */
.dinner { border-top: 1px solid var(--line); }
.tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.tip { border-left: 3px solid var(--accent); padding: .3rem 0 .3rem 1rem; display: flex; flex-direction: column; }
.tip span { color: var(--muted); font-size: .93rem; }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.reviews.compact { grid-template-columns: 1fr; max-height: 40vh; overflow-y: auto; margin-bottom: 1rem; }
.reviews.compact:empty { display: none; }
.review { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; }
.review-head { display: flex; justify-content: space-between; gap: .5rem; }
.review p { margin: .4rem 0; color: var(--text); font-size: .93rem; }
.review small { font-size: .8rem; }
.dish { display: block; color: var(--accent); }
.stars { color: var(--star); letter-spacing: 1px; }
.star-input { display: flex; gap: .2rem; }
.star-input button { background: none; border: 0; font-size: 2rem; color: var(--line); cursor: pointer; padding: 0 .1rem; line-height: 1; }
.star-input button.on { color: var(--star); }

/* ---------- call strip ---------- */
.call-strip { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; border-top: 1px solid var(--line); }
.call-strip .hero-cta { margin-top: 0; }

/* ---------- floating cart ---------- */
.cart-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 20;
  background: var(--accent); color: #1b130b; border: 0; border-radius: 999px;
  padding: .9rem 1.4rem; font: 500 1rem var(--font-body); cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
}

/* ---------- dialogs (cart + reviews) ---------- */
dialog {
  background: var(--bg); color: var(--text); border: 1px solid var(--line);
  padding: 1.2rem; width: min(480px, 100vw); max-height: 100vh;
}
dialog::backdrop { background: rgba(0,0,0,.65); }
.drawer { margin: 0 0 0 auto; height: 100vh; border-radius: 0; border-width: 0 0 0 1px; }
.modal { border-radius: var(--radius); width: min(520px, calc(100vw - 32px)); max-height: 90vh; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-head h2 { font-size: 1.6rem; margin: 0; }
.cart-lines { margin: 1rem 0; display: flex; flex-direction: column; gap: .7rem; }
.cart-line { display: grid; grid-template-columns: 1fr auto 4.5rem; align-items: center; gap: .7rem; font-size: .95rem; }
.cart-line small { color: var(--muted); }
.cart-line b { text-align: right; }
.cart-fee { display: flex; flex-direction: column; gap: .3rem; border-top: 1px dashed var(--line); padding-top: .6rem; font-size: .92rem; }
.cart-fee:empty { display: none; }
.fee-line { display: flex; justify-content: space-between; color: var(--muted); }
.fee-line .free { color: #6fd17c; font-weight: 600; }
.fee-nudge { background: rgba(242,161,59,.12); color: var(--accent); border-radius: 8px; padding: .45rem .7rem; font-size: .88rem; }
.track-btn { margin-top: .5rem; }
#lastTrack { margin-top: .6rem; }
.cart-sum { display: flex; justify-content: space-between; border-top: 1px dashed var(--line); padding: .8rem 0; font-size: 1.15rem; }
.cart-sum b { color: var(--accent); }

.order-form { display: flex; flex-direction: column; gap: .8rem; }
.order-form h3 { margin: .5rem 0 0; }
.order-form label { display: flex; flex-direction: column; gap: .3rem; font-size: .88rem; color: var(--muted); }
.order-form input, .order-form textarea, .order-form select {
  background: var(--bg-soft); color: var(--text); border: 1px solid var(--line); border-radius: 8px;
  padding: .65rem .8rem; font: 1rem var(--font-body);
}
.order-form input:focus, .order-form textarea:focus, .order-form select:focus { outline: 2px solid var(--accent); border-color: transparent; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.seg label {
  flex-direction: row; justify-content: center; align-items: center;
  border: 1px solid var(--line); border-radius: 10px; padding: .6rem; cursor: pointer; color: var(--text); font-size: .95rem;
}
.seg label:has(input:checked) { border-color: var(--accent); background: rgba(242,161,59,.12); }
.seg input { accent-color: var(--accent); }
/* payment */
.pay { border: 1px solid var(--line); border-radius: 12px; padding: .6rem .9rem .9rem; margin: 0; display: flex; flex-direction: column; gap: .7rem; }
.pay legend { color: var(--muted); font-size: .88rem; padding: 0 .3rem; }
.pay-lock { margin: 0; font-size: .9rem; color: var(--accent); background: rgba(242,161,59,.1); border-radius: 8px; padding: .55rem .7rem; }
.pay.locked .pay-methods, .pay.locked .pay-details { display: none; }
.order-form .btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.pay-methods { display: flex; flex-wrap: wrap; gap: .5rem; }
.order-form .pay-opt {
  flex-direction: row; align-items: center; gap: .4rem; cursor: pointer;
  border: 1px solid var(--line); border-radius: 10px; padding: .55rem .8rem; color: var(--text); font-size: .92rem;
}
.order-form .pay-opt:has(input:checked) { border-color: var(--accent); background: rgba(242,161,59,.12); }
.pay-opt input { accent-color: var(--accent); }
.pay-details p { margin: 0; font-size: .92rem; }
.pay-details b { color: var(--accent); }
.pay-details { display: flex; flex-direction: column; gap: .6rem; }
.pay-line { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.pay-line code { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px; padding: .45rem .7rem; font-size: 1rem; color: var(--text); overflow-wrap: anywhere; }
.copy-btn { background: none; border: 1px solid var(--accent); color: var(--accent); border-radius: 8px; padding: .3rem .7rem; font: 500 .82rem var(--font-body); cursor: pointer; }
.upi-btn { align-self: flex-start; }
.qr-wrap { display: flex; align-items: center; gap: .8rem; }
#upiQr { background: #fff; padding: 8px; border-radius: 10px; line-height: 0; flex: none; }
#upiQr:empty { display: none; }
#upiQr img, #upiQr canvas { width: 130px; height: 130px; }
.bank { display: flex; flex-direction: column; gap: .35rem; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: .6rem .8rem; }
.bank div { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; font-size: .92rem; }
.bank span { color: var(--muted); min-width: 90px; }
.pay-details .bank b { color: var(--text); overflow-wrap: anywhere; }
/* phones: "Pay with UPI app" is the main action, QR is for laptops */
@media (max-width: 760px) {
  .upi-btn { align-self: stretch; }
  .qr-wrap { display: none; }
}

/* customer account */
.acct-tabs { margin: 1rem 0; }
.acct-tab {
  background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 10px; padding: .6rem;
  font: 500 .95rem var(--font-body); cursor: pointer;
}
.acct-tab.active { border-color: var(--accent); color: var(--text); background: rgba(242,161,59,.12); }
.acct-hello { margin: .8rem 0; }
#acctIn h3 { margin: .5rem 0; font-size: 1.2rem; }
.my-orders { display: flex; flex-direction: column; gap: .6rem; max-height: 40vh; overflow-y: auto; }
.my-order { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: .7rem .9rem; }
.my-order p { margin: .3rem 0; font-size: .9rem; }
.mo-top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.mo-status { font-size: .8rem; font-weight: 600; padding: .1rem .55rem; border-radius: 999px; background: rgba(242,161,59,.15); color: var(--accent); }
.mo-status.completed { background: rgba(63,163,77,.18); color: #6fd17c; }
.mo-status.cancelled { background: rgba(217,71,43,.18); color: #ff7a66; }
.pw-box { margin: 1rem 0; border: 1px solid var(--line); border-radius: 12px; padding: .6rem .9rem; }
.pw-box summary { cursor: pointer; font-weight: 500; }
.pw-box form { margin-top: .8rem; }
#acctLogout { width: 100%; }
.link-btn { background: none; border: 0; color: var(--accent); font: 500 .92rem var(--font-body); cursor: pointer; padding: .2rem 0; align-self: flex-start; }
.link-btn:hover { text-decoration: underline; }
#forgotForm h3 { margin: .3rem 0 0; }
.forgot-choose { display: flex; flex-direction: column; gap: .6rem; }
.forgot-choose[hidden], #otpStep[hidden] { display: none; }
.otp-input { font-size: 1.6rem !important; letter-spacing: .5em; text-align: center; font-weight: 600; }
.link-btn:disabled { color: var(--muted); cursor: default; text-decoration: none; }
.sec-q { margin: 0; padding: .6rem .8rem; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; font-size: .95rem; }
#secStatus { font-size: .85rem; margin-left: .3rem; }
#acctBtnText { max-width: 7rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; vertical-align: bottom; }

.form-msg { margin: 0; min-height: 1.4em; }
.form-msg.ok { color: #6fd17c; }
.form-msg.err { color: #ff7a66; }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line); padding: 2rem clamp(1rem, 4vw, 3rem) 6rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; color: var(--muted);
}
.footer p { margin: .3rem 0; }
.responsible { flex-basis: 100%; font-size: .85rem; border-top: 1px dashed var(--line); padding-top: 1rem; }

/* ---------- quote ---------- */
.hero-quote {
  font-family: var(--font-head); font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  color: var(--accent); margin: .2rem 0 .8rem;
  border-left: 3px solid var(--accent-2); padding-left: .8rem;
}
.menu-quote { font-family: var(--font-head); font-size: 1.15rem; color: var(--accent); }

/* ---------- combos ---------- */
.combo-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card.combo { border-color: rgba(242,161,59,.45); }
.collage { position: absolute; inset: 0; display: grid; gap: 2px; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.collage img { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.collage.n1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.collage.n2 { grid-template-rows: 1fr; }
.collage.n3 img:first-child { grid-row: span 2; }
.collage .ph-emoji { display: grid; place-items: center; font-size: 2rem; background: #2a2018; }
.combo-emoji {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-size: 2rem; width: 3.2rem; height: 3.2rem; display: grid; place-items: center;
  background: rgba(23,18,14,.85); border: 2px solid var(--accent); border-radius: 50%;
}
.badge.save { background: #2e8b3d; }
.serves {
  align-self: flex-start; font-size: .78rem; font-weight: 600; color: var(--accent);
  background: rgba(242,161,59,.12); border-radius: 999px; padding: .1rem .6rem;
}
.card p.includes { color: var(--text); font-size: .84rem; flex: none; }
.price s { color: var(--muted); font-weight: 400; font-size: .85rem; margin-left: .2rem; }

/* ---------- order tracking page ---------- */
.track { max-width: 720px; }
.track h2 { font-size: clamp(1.4rem, 4vw, 2rem); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; padding: 0; margin: 1.2rem 0; counter-reset: s; }
.steps li { counter-increment: s; text-align: center; font-size: .82rem; color: var(--muted); padding-top: 2.2rem; position: relative; }
.steps li::before {
  content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 1.8rem; height: 1.8rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-soft); border: 2px solid var(--line); color: var(--muted); font-weight: 600;
}
.steps li.done { color: var(--text); }
.steps li.done::before { content: "✓"; background: #2e8b3d; border-color: #2e8b3d; color: #fff; }
.steps li.now::before { background: var(--accent); border-color: var(--accent); color: #1b130b; content: "●"; }
.steps li.now { color: var(--accent); font-weight: 600; }
.rider-card { display: flex; justify-content: space-between; align-items: center; gap: .8rem; flex-wrap: wrap; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1rem; margin-bottom: .8rem; }
.track-map { width: 100%; height: 360px; border-radius: 14px; border: 1px solid var(--line); margin-bottom: .4rem; }
.track-map .leaflet-control-attribution { font-size: 10px; }
/* live tracking inside My account */
.live-track { background: var(--bg-soft); border: 1px solid var(--accent); border-radius: 14px; padding: .8rem .9rem; margin: .4rem 0 1rem; display: flex; flex-direction: column; gap: .5rem; }
.lt-steps { display: flex; flex-wrap: wrap; gap: .3rem; }
.lt-steps span { font-size: .75rem; padding: .15rem .5rem; border-radius: 999px; border: 1px solid var(--line); opacity: .55; }
.lt-steps span.done { opacity: 1; border-color: #3fa34d; color: #6fd17c; }
.lt-steps span.now { opacity: 1; border-color: var(--accent); background: rgba(242,161,59,.18); color: var(--accent); font-weight: 600; }
.lt-rider { font-size: .9rem; }
.lt-map { height: 240px; margin: 0; }
/* delivery code */
.dcode { display: inline-block; font: 700 2rem/1.1 var(--font-body); letter-spacing: .35em; padding: .2rem .2rem .2rem .55rem; color: var(--accent); }
.dcode.sm { font-size: 1.05rem; letter-spacing: .2em; padding: 0 .1rem 0 .3rem; }
.dcode-box { display: flex; flex-direction: column; align-items: center; margin-top: .8rem; padding: .6rem; border: 2px dashed var(--accent); border-radius: 12px; }
.dcode-box small { opacity: .8; }
.mo-code { font-size: .9rem; margin: .2rem 0; }
/* order placed popup */
.placed-modal { text-align: center; width: min(420px, calc(100vw - 32px)); }
.placed-icon { font-size: 3rem; line-height: 1; margin-top: .3rem; }
.placed-modal h2 { margin: .4rem 0 .6rem; font-size: 1.5rem; }
.placed-hint { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: .7rem .8rem; font-size: .92rem; }
.placed-actions { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin-top: .8rem; }
.map-pin { font-size: 28px; line-height: 1; filter: drop-shadow(0 2px 3px rgba(0,0,0,.5)); }
.map-pin span { display: block; font: 600 11px var(--font-body); color: #1b130b; background: #fff; border-radius: 6px; padding: 1px 5px; margin-top: 2px; white-space: nowrap; transform: translateX(-30%); }
.track-summary { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem; margin: 1rem 0; }
.track-summary h3 { margin: 0 0 .5rem; font-size: 1.2rem; }
.track-summary ul { margin: 0 0 .6rem; padding-left: 1.1rem; }
.track-summary .fee-line:empty { display: none; }

/* ---------- phone bottom bar (hidden on computers) ---------- */
.mobile-bar { display: none; }

/* ============================================================
   PHONES (screens up to 760px wide)
   ============================================================ */
@media (max-width: 760px) {
  body { font-size: 15px; }
  h2 { font-size: 1.6rem; }
  .section { padding: 2rem 16px; }
  .sub { font-size: .92rem; }

  /* header: logo + call button only */
  .nav { padding: .6rem 16px; }
  .nav nav a:not(.btn) { display: none; }
  .nav nav .call-link { display: none; } /* the bottom bar has the Call button on phones */
  .nav nav { flex-wrap: nowrap; gap: .4rem; min-width: 0; }
  .brand { font-size: 1.3rem; flex: none; }
  /* city + login must fit next to the logo on small phones */
  .nav nav .btn-small { padding: .4rem .65rem; font-size: .82rem; }
  .city-btn { max-width: 7.5rem; }
  .city-btn:not([hidden]) ~ #acctBtn #acctBtnText { display: none; }
  .announce { font-size: .8rem; padding: .4rem 12px; }

  /* hero: short, no big plate */
  .hero { grid-template-columns: 1fr; padding: 1.8rem 16px 1.5rem; gap: 0; }
  .hero-plate { display: none; }
  .hero h1 { font-size: 2.1rem; }
  .lead { font-size: 1rem; }
  .hero-cta .btn { flex: 1; }

  /* drink chips + menu tabs scroll sideways */
  .drink-picker, .tabs {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    margin-left: -16px; margin-right: -16px; padding: 0 16px;
  }
  .drink-picker::-webkit-scrollbar, .tabs::-webkit-scrollbar { display: none; }
  .drink, .tab { flex: none; white-space: nowrap; }
  .menu-controls {
    position: sticky; top: 52px; z-index: 5;
    background: var(--bg); margin: .5rem -16px 1rem; padding: .5rem 16px;
    border-bottom: 1px solid var(--line); gap: .5rem;
  }
  .filters { font-size: .88rem; }

  /* menu cards: food-app style row — text left, photo right */
  .grid { grid-template-columns: 1fr; gap: .75rem; }
  .card { display: grid; grid-template-columns: 1fr 112px; align-items: start; }
  .card .photo { grid-column: 2; grid-row: 1; aspect-ratio: 1; margin: 12px 12px 12px 0; border-radius: 12px; overflow: hidden; }
  .card .card-body { grid-column: 1; grid-row: 1; padding: 12px; gap: .3rem; }
  .card h4 { font-size: 1rem; }
  .card p { font-size: .84rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .card-meta { flex-wrap: wrap; font-size: .8rem; }
  .ph-emoji { font-size: 2.8rem; }
  .badge { top: 6px; left: 6px; font-size: .62rem; padding: .1rem .45rem; }
  .dot.on-photo { top: 6px; right: 6px; }

  /* Pair-my-drink + Patra Poda: swipe sideways, photo on top */
  .grid.row-scroll {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 -16px; padding: 4px 16px 8px; gap: .75rem;
  }
  .grid.row-scroll::-webkit-scrollbar { display: none; }
  .row-scroll .card { display: flex; flex: 0 0 76%; scroll-snap-align: start; align-items: stretch; }
  .row-scroll .card .photo { aspect-ratio: 16 / 10; margin: 0; border-radius: 0; }
  .row-scroll .empty { flex: 1; }
  .row-scroll .card.combo { flex-basis: 82%; }
  .hero-quote { font-size: 1.25rem; }
  .card .collage .combo-emoji { font-size: 1.3rem; width: 2.2rem; height: 2.2rem; }
  .card p.includes { -webkit-line-clamp: 3; }

  /* bigger tap targets */
  .add-btn { padding: .5rem 1.1rem; }
  .stepper button { width: 2.4rem; height: 2.4rem; }

  .tips { gap: .8rem; }
  .reviews { grid-template-columns: 1fr; }
  .call-strip { display: none; }   /* bottom bar does this job on phones */

  /* forms: 16px stops iPhone from zooming in */
  .order-form input, .order-form textarea, .order-form select { font-size: 16px; }

  /* cart = full screen, reviews = bottom sheet */
  .drawer { width: 100vw; max-width: 100vw; border: 0; padding: 16px; }
  .modal {
    width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 18px 18px 0 0;
    max-height: 92vh; border-width: 1px 0 0;
  }

  /* bottom bar: Call + Cart, always reachable with the thumb */
  .cart-fab { display: none; }
  .mobile-bar {
    display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(23, 18, 14, .96); border-top: 1px solid var(--line);
    backdrop-filter: blur(8px);
  }
  .mb-call, .mb-cart {
    display: flex; align-items: center; justify-content: center; height: 48px;
    border-radius: 12px; font: 600 .95rem var(--font-body);
  }
  .mb-call { flex: 0 0 34%; border: 1px solid var(--accent); color: var(--accent); }
  .mb-cart { flex: 1; border: 1px solid var(--line); background: var(--bg-soft); color: var(--muted); cursor: pointer; gap: .3rem; }
  .mb-cart.has-items { background: var(--accent); border-color: var(--accent); color: #1b130b; }
  .footer { padding-bottom: 90px; }
}

/* ---------- open / closed + location picker ---------- */
.hero-quote em { color: var(--accent); font-style: normal; }
.shop-status { display: inline-block; margin: 0 0 1rem; padding: .35rem .9rem; border-radius: 999px; font-size: .9rem; font-weight: 600; }
.shop-status.is-open { background: rgba(63, 163, 77, .18); color: #7fd38a; }
.shop-status.is-closed { background: rgba(217, 71, 43, .2); color: #ff8f78; }
.closed-note { background: rgba(217, 71, 43, .2); color: #ffb3a3; padding: .6rem .8rem; border-radius: 10px; margin: 0; }
.loc-pick { display: inline-flex; gap: .6rem; align-items: center; margin: 0 0 1rem; font-weight: 600; flex-wrap: wrap; }
/* choose-your-city popup */
.city-modal { overflow-x: hidden; box-sizing: border-box; }
.city-modal .sub { color: var(--muted); margin: .3rem 0 .8rem; }
.city-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.city-search { width: 100%; box-sizing: border-box; background: var(--bg-soft); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: .6rem .8rem; font: inherit; margin-bottom: .8rem; }
.city-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .6rem; }
.city-opt { min-width: 0; }
.city-opt { display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; text-align: left; background: var(--bg-soft); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: .7rem .8rem; font: inherit; font-weight: 600; cursor: pointer; }
.city-opt:hover:not(:disabled), .city-opt.is-picked { border-color: var(--accent); background: rgba(242,161,59,.1); }
.city-opt small { font-weight: 400; font-size: .8rem; color: #6fd17c; }
.city-opt:disabled { opacity: .55; cursor: not-allowed; }
.city-opt:disabled small { color: var(--muted); }
.city-empty { color: var(--muted); grid-column: 1 / -1; }
.city-btn[hidden] { display: none; }
.city-btn { white-space: nowrap; max-width: 11rem; overflow: hidden; text-overflow: ellipsis; }
.loc-pick select { background: var(--bg-soft); color: var(--text); border: 1px solid var(--accent); border-radius: 8px; padding: .45rem .7rem; font: inherit; }

/* track page: live cooking updates from the kitchen */
.cook-live { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: .9rem 1.1rem; margin: 1rem 0; }
.cook-live h3 { margin: 0 0 .5rem; font-size: 1.1rem; }
.cook-live ol { list-style: none; margin: 0; padding: 0; }
.cook-live li { display: grid; grid-template-columns: 4.6rem 1fr; gap: .6rem; padding: .4rem 0; border-top: 1px dashed var(--line); }
.cook-live li:first-child { border-top: 0; }
.cook-live time { color: var(--muted); font-size: .85rem; }
.cook-live small { color: var(--muted); }
.cook-live li.latest b { color: var(--accent); }
.cook-live li.latest b::after { content: " · now"; font-weight: 400; font-size: .8rem; color: var(--muted); }
/* 🔔 news pop-up (new dish / today's special / offer) */
.notice-pop {
  position: fixed; left: 16px; bottom: 16px; z-index: 30; width: min(360px, calc(100vw - 32px));
  display: flex; gap: .8rem; align-items: flex-start; padding: .9rem 2.2rem .9rem .9rem;
  background: var(--bg-soft); color: var(--text); border: 1px solid var(--accent); border-radius: 14px;
  box-shadow: 0 12px 34px rgba(0,0,0,.55); animation: notice-in .35s ease-out;
}
.notice-pop img { width: 72px; height: 72px; flex: none; object-fit: cover; border-radius: 10px; }
.notice-pop b { display: block; font-size: 1rem; color: var(--accent); }
.notice-pop p { margin: .2rem 0 .6rem; color: var(--muted); font-size: .9rem; }
.notice-x { position: absolute; top: 6px; right: 6px; background: none; border: 0; color: var(--muted); font-size: 1rem; cursor: pointer; padding: .3rem .5rem; }
@keyframes notice-in { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .notice-pop { animation: none; } }
@media (max-width: 760px) { .notice-pop { left: 16px; right: 16px; width: auto; bottom: calc(76px + env(safe-area-inset-bottom)); } }
.badge.new { background: #1e88e5; color: #fff; }
.card.flash { outline: 3px solid var(--accent); outline-offset: 3px; transition: outline-color .3s; }
#notifyBtn { margin-top: .6rem; }
/* ---------- 🎬 5-second opening intro: "What are you drinking tonight?" ---------- */
body.intro-on { overflow: hidden; }
.intro {
  position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .6rem; padding: 24px 16px; text-align: center; cursor: pointer; overflow: hidden;
  background: radial-gradient(ellipse at 50% 38%, #3a2412 0%, #17120e 62%, #0d0a07 100%); color: var(--text);
  animation: intro-in .4s ease-out both;
}
.intro.intro-out { animation: intro-leave .45s ease-in forwards; }
.intro-glow { position: absolute; width: 70vmin; height: 70vmin; left: 50%; top: 38%; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,161,59,.35), transparent 65%); filter: blur(10px); animation: intro-breathe 2.5s ease-in-out infinite alternate; }
.intro-stage { position: relative; width: min(260px, 70vw); height: min(220px, 34vh); }
.intro-drink { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0;
  animation: intro-drink calc(3.2s / var(--n)) ease-in-out calc(.2s + var(--i) * 3.2s / var(--n)) both; }
.intro-drink span { font-size: clamp(5rem, 22vmin, 8.5rem); line-height: 1; filter: drop-shadow(0 10px 24px rgba(242,161,59,.45)); }
.intro-drink small { margin-top: .4rem; font: 600 1rem var(--font-body); color: var(--accent); letter-spacing: .08em; text-transform: uppercase; }
.intro-row { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .3rem; }
.intro-row span { font-size: clamp(2.4rem, 11vmin, 3.6rem); opacity: 0; animation: intro-pop .5s cubic-bezier(.2,1.6,.4,1) calc(3.45s + var(--i) * .08s) both; }
.intro-bubbles i { position: absolute; bottom: 0; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 214, 140, .55); opacity: 0;
  animation: intro-bubble 2.2s ease-in infinite; }
.intro-bubbles i:nth-child(1) { left: 12%; animation-delay: .2s; } .intro-bubbles i:nth-child(2) { left: 28%; animation-delay: .9s; width: 5px; height: 5px; }
.intro-bubbles i:nth-child(3) { left: 44%; animation-delay: .5s; } .intro-bubbles i:nth-child(4) { left: 60%; animation-delay: 1.3s; width: 6px; height: 6px; }
.intro-bubbles i:nth-child(5) { left: 76%; animation-delay: .1s; } .intro-bubbles i:nth-child(6) { left: 88%; animation-delay: 1.6s; width: 5px; height: 5px; }
.intro-bubbles i:nth-child(7) { left: 20%; animation-delay: 1.9s; } .intro-bubbles i:nth-child(8) { left: 52%; animation-delay: 2.3s; width: 6px; height: 6px; }
.intro-bubbles i:nth-child(9) { left: 68%; animation-delay: 2.6s; } .intro-bubbles i:nth-child(10) { left: 36%; animation-delay: 3s; width: 5px; height: 5px; }
.intro-title { position: relative; margin: .6rem 0 0; font-size: clamp(1.8rem, 6.5vw, 3.4rem); max-width: 14em; }
.intro-title span { display: inline-block; opacity: 0; animation: intro-word .55s cubic-bezier(.2,.9,.3,1.2) calc(.5s + var(--w) * .13s) both; }
.intro-title span:nth-last-child(1), .intro-title span:nth-last-child(2) { color: var(--accent); }
.intro-sub { position: relative; margin: 0; color: var(--muted); font-size: clamp(.95rem, 3.6vw, 1.15rem); opacity: 0; animation: intro-word .6s ease-out 2.1s both; }
.intro-sub em { color: var(--accent); font-style: normal; font-weight: 600; }
.intro-bar { position: absolute; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom)); translate: -50% 0; width: min(220px, 50vw); height: 3px; border-radius: 3px; background: rgba(255,255,255,.12); overflow: hidden; }
.intro-bar b { display: block; height: 100%; background: var(--accent); transform-origin: left; animation: intro-progress 5s linear both; }
.intro-skip { position: absolute; top: calc(14px + env(safe-area-inset-top)); right: 14px; background: rgba(0,0,0,.35); color: var(--text); border: 1px solid var(--line);
  border-radius: 999px; padding: .4rem .9rem; font: 500 .85rem var(--font-body); cursor: pointer; }
#drinkPicker.pulse .drink { animation: intro-pulse 1.3s ease-in-out 2; }

@keyframes intro-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes intro-leave { to { opacity: 0; transform: scale(1.06); } }
@keyframes intro-breathe { from { scale: .85; opacity: .7; } to { scale: 1.1; opacity: 1; } }
@keyframes intro-drink {
  0% { opacity: 0; transform: scale(.4) rotate(-18deg) translateY(30px); }
  25% { opacity: 1; transform: scale(1.12) rotate(4deg); }
  45% { transform: scale(1) rotate(0); }
  75% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.25) translateY(-24px); }
}
@keyframes intro-pop { from { opacity: 0; transform: translateY(26px) scale(.5); } to { opacity: 1; transform: none; } }
@keyframes intro-bubble { 0% { opacity: 0; transform: translateY(0); } 20% { opacity: .9; } 100% { opacity: 0; transform: translateY(-240px); } }
@keyframes intro-word { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes intro-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes intro-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(242,161,59,0); } 50% { box-shadow: 0 0 0 6px rgba(242,161,59,.35); border-color: var(--accent); } }