/* Restaurant website. Colours come from the ERP Website settings (--primary / --accent set by app.js). */
:root { --primary: #d6281f; --accent: #1f1b16; --cream: #fff8f0; --line: #eadfce; --muted: #7a6e60; --ok: #12805c; --bad: #b42318; --radius: 16px; --shadow: 0 10px 30px -16px rgba(60, 30, 10, .45); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--accent); background: var(--cream); }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.main { padding: 22px 0 90px; min-height: 60vh; }
.muted { color: var(--muted); } .small { font-size: 13px; }
em { color: var(--muted); font-style: normal; font-size: 12px; margin-left: 4px; }

#progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--primary); z-index: 99; transition: width .6s ease; }
#progress.run { width: 85%; }
.sync-bar { text-align: center; padding: 7px 12px; font-size: 13px; background: #fff3cd; color: #664d03; }
.sync-offline { background: #fde2e1; color: #7a1f1a; }
.sync-closed { background: #1f1b16; color: #fff; font-weight: 600; }
.topbar { background: var(--accent); color: #f2e8dc; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; flex-wrap: wrap; }

.head { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.head.small { box-shadow: 0 6px 20px -12px rgba(0, 0, 0, .35); }
.head-row { display: flex; align-items: center; gap: 16px; padding: 10px 0; }
.brand { font-weight: 800; font-size: 22px; color: var(--primary); letter-spacing: -.3px; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; gap: 18px; margin-right: auto; margin-left: 10px; }
.nav a { color: var(--accent); font-weight: 600; }
.nav a:hover { color: var(--primary); text-decoration: none; }
.typebox { display: inline-flex; background: #f3e9db; border-radius: 99px; padding: 3px; gap: 2px; margin: 0; }
.typebox button, .typebox a { border: 0; background: transparent; padding: 7px 14px; border-radius: 99px; font: inherit; font-size: 14px; font-weight: 700; color: #5b4c3a; cursor: pointer; text-decoration: none; }
.typebox .on { background: var(--primary); color: #fff; box-shadow: 0 6px 14px -8px var(--primary); }
.typebox.wide { display: flex; width: 100%; } .typebox.wide button, .typebox.wide a { flex: 1; text-align: center; }
.cartbtn { position: relative; width: 46px; height: 46px; border-radius: 50%; background: var(--primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; }
.cartbtn:hover { text-decoration: none; filter: brightness(1.08); }
.cnt { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; background: var(--accent); color: #fff; font-size: 11px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; cursor: pointer; background: var(--primary); color: #fff; padding: 10px 18px; border-radius: 12px; font: inherit; font-weight: 700; text-decoration: none; transition: transform .12s, filter .15s; }
.btn:hover { filter: brightness(1.07); text-decoration: none; transform: translateY(-1px); }
.btn.alt { background: #fff; color: var(--primary); border: 2px solid var(--primary); }
.btn.small { padding: 6px 14px; font-size: 14px; border-radius: 10px; }
.btn.big { padding: 13px 26px; font-size: 17px; border-radius: 14px; }
.btn.block { display: flex; width: 100%; margin-top: 12px; }
.btn[disabled], .btn.disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }
.link { background: none; border: 0; padding: 0; color: var(--primary); cursor: pointer; font: inherit; text-decoration: underline; }

.flash { margin-top: 12px; padding: 10px 14px; border-radius: 12px; font-weight: 600; }
.flash-ok { background: #e6f6ee; color: #0b5b3f; } .flash-err { background: #fde2e1; color: #7a1f1a; }
.alert-err, .alert-warn { padding: 10px 14px; border-radius: 12px; margin: 10px 0; } .alert-err { background: #fde2e1; color: #7a1f1a; } .alert-warn { background: #fff3cd; color: #664d03; }

/* hero */
.hero { position: relative; border-radius: 26px; overflow: hidden; background: linear-gradient(120deg, #2a160d, #6b2a14 60%, var(--primary)); color: #fff; min-height: 340px; box-shadow: var(--shadow); }
.slide { display: none; position: relative; min-height: 340px; padding: 48px clamp(20px, 5vw, 64px); align-items: center; }
.slide.on { display: flex; animation: fadeIn .6s ease; }
.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.slide-txt { position: relative; max-width: 560px; z-index: 2; }
.slide-txt h1 { font-size: clamp(30px, 5vw, 52px); letter-spacing: -1px; }
.slide-txt p { font-size: 18px; opacity: .92; }
.kicker { display: inline-block; background: rgba(255, 255, 255, .18); padding: 4px 12px; border-radius: 99px; font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.hero .btn.alt { background: transparent; color: #fff; border-color: #fff; }
.float { position: absolute; border-radius: 50%; object-fit: cover; border: 6px solid rgba(255, 255, 255, .85); box-shadow: 0 20px 40px -18px #000; animation: bob 5s ease-in-out infinite; }
.float.f0 { width: 220px; height: 220px; right: 6%; top: 14%; } .float.f1 { width: 140px; height: 140px; right: 28%; bottom: 8%; animation-delay: -1.6s; } .float.f2 { width: 100px; height: 100px; right: 2%; bottom: 10%; animation-delay: -3s; }
.dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .5); cursor: pointer; padding: 0; } .dots button.on { background: #fff; width: 26px; border-radius: 99px; }
.prev, .next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .35); color: #fff; font-size: 26px; cursor: pointer; }
.prev { left: 12px; } .next { right: 12px; }
@keyframes fadeIn { from { opacity: 0; transform: scale(1.01); } to { opacity: 1; transform: none; } }
@keyframes bob { 50% { transform: translateY(-12px); } }

.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 18px 0; }
.perks div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; display: flex; flex-direction: column; }
.perks span { color: var(--muted); font-size: 13px; }
.sec { margin: 30px 0; } .sec.empty, .empty { text-align: center; padding: 50px 10px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.sec-head h2 { font-size: 26px; margin: 0; letter-spacing: -.4px; } .sec-head small { color: var(--muted); }
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.cat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; text-align: center; color: var(--accent); transition: transform .15s, box-shadow .15s; }
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); text-decoration: none; }
.cat-img { display: block; width: 96px; height: 96px; margin: 0 auto 8px; border-radius: 50%; overflow: hidden; background: #f3e9db; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; }
.cat b { display: block; } .cat small { color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.dish { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.dish:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.dish-img { position: relative; display: block; aspect-ratio: 4 / 3; background: #f3e9db; overflow: hidden; }
.dish-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; } .dish:hover .dish-img img { transform: scale(1.06); }
.ribbon { position: absolute; top: 10px; left: 10px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.ribbon.deal-r { background: var(--primary); }
.sold .dish-img img { filter: grayscale(.9); opacity: .7; }
.dish-body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; gap: 4px; }
.dish-title { font-weight: 700; color: var(--accent); font-size: 17px; } .dish-title:hover { color: var(--primary); text-decoration: none; }
.dish-desc { margin: 0; color: var(--muted); font-size: 13px; }
.dish-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dish-foot form { margin: 0; } .dish-foot .btn { white-space: nowrap; }
.price b { font-size: 18px; } .price small { color: var(--muted); font-size: 12px; } .price s { color: var(--muted); font-size: 13px; margin-left: 4px; } .price.big b { font-size: 28px; }
.skel { background: linear-gradient(100deg, #f3e9db 30%, #fbf3e8 50%, #f3e9db 70%); background-size: 200% 100%; animation: shine 1.4s infinite; } .skel.loaded { animation: none; }
@keyframes shine { to { background-position: -200% 0; } }

.menu-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.menu-head h1 { margin: 0; font-size: 34px; letter-spacing: -.8px; }
.msearch { display: flex; gap: 8px; } .msearch input { min-width: 240px; }
input, textarea, select { font: inherit; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--accent); width: 100%; }
input:focus, textarea:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(214, 40, 31, .12); }
.msearch input { width: auto; }
.pills { position: sticky; top: 66px; z-index: 30; display: flex; gap: 8px; overflow-x: auto; padding: 10px 0; margin: 10px 0 0; background: var(--cream); scrollbar-width: none; }
.pills a { flex: 0 0 auto; padding: 7px 16px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--accent); font-weight: 600; font-size: 14px; }
.pills a:hover, .pills a.on { background: var(--primary); color: #fff; border-color: var(--primary); text-decoration: none; }
.sec[id] { scroll-margin-top: 130px; }

.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.itempage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.item-pic { aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); } .item-pic img { width: 100%; height: 100%; object-fit: cover; }
.item-info h1 { font-size: 34px; letter-spacing: -.8px; } .lead { color: var(--muted); font-size: 17px; }
.opt { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 8px 14px 6px; margin: 12px 0; background: #fff; }
.opt legend { font-weight: 700; padding: 0 6px; }
.choice { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-bottom: 1px dashed var(--line); cursor: pointer; } .opt .choice:last-child, .pays .choice:last-child { border-bottom: 0; }
.choice input { width: auto; accent-color: var(--primary); } .choice span { flex: 1; }
.note { display: block; margin: 12px 0; font-weight: 600; } .note input { margin-top: 6px; font-weight: 400; }
.buy { display: flex; gap: 12px; align-items: center; margin-top: 14px; } .buy .btn { flex: 1; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.qty button { width: 40px; height: 44px; border: 0; background: #f7efe4; font-size: 20px; cursor: pointer; }
.qty input { width: 56px; text-align: center; border: 0; border-radius: 0; padding: 10px 0; -moz-appearance: textfield; } .qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.parts { padding-left: 20px; } .save { background: #e6f6ee; color: var(--ok); font-weight: 700; padding: 2px 10px; border-radius: 99px; font-size: 13px; }

.pagetitle { font-size: 32px; letter-spacing: -.6px; }
.cols { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: 24px; align-items: start; }
.lines, .card-form, .summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.narrow { max-width: 520px; margin: 20px auto; }
.line { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto auto 34px; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line-img { width: 84px; height: 84px; border-radius: 14px; overflow: hidden; display: block; } .line-img img { width: 100%; height: 100%; object-fit: cover; }
.line-info { display: flex; flex-direction: column; } .line-name { font-weight: 700; color: var(--accent); } .line-info small { color: var(--muted); }
.line .qty input { width: 54px; padding: 8px 0; } .line-amt { min-width: 84px; text-align: right; }
.x { border: 0; background: #f7efe4; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 18px; color: var(--bad); }
.line-actions { display: flex; gap: 10px; padding-top: 14px; flex-wrap: wrap; }
.summary h2, .card-form h2 { font-size: 20px; margin-top: 4px; } .card-form h2 { margin-top: 18px; } .card-form h2:first-child { margin-top: 0; }
dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; margin: 14px 0; } dt { color: var(--muted); } dd { margin: 0; text-align: right; font-weight: 600; }
dt.total, dd.total { color: var(--accent); font-size: 20px; font-weight: 800; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .fields label { font-weight: 600; font-size: 14px; } .fields input, .fields textarea { margin-top: 4px; font-weight: 400; } .fields .full { grid-column: 1 / -1; }
.pays .choice { padding: 12px 6px; } .pay-box { background: #fff8e1; border: 1px solid #f3dc8c; border-radius: 12px; padding: 10px 14px; margin: 4px 0 8px; white-space: pre-wrap; }
.mini { list-style: none; padding: 0; margin: 0 0 8px; } .mini li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); } .mini small { display: block; color: var(--muted); }
.summary-dl { margin: 10px 0 0; }

.trackbox { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px 18px; margin-bottom: 22px; box-shadow: var(--shadow); }
.done-badge { width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 12px; background: var(--ok); color: #fff; font-size: 40px; display: flex; align-items: center; justify-content: center; animation: pop .5s ease; } .done-badge.bad { background: var(--bad); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.orderno { color: var(--muted); }
.timeline { list-style: none; display: flex; justify-content: center; gap: 0; padding: 0; margin: 26px auto 4px; max-width: 760px; counter-reset: s; }
.timeline li { flex: 1; position: relative; text-align: center; font-size: 13px; color: var(--muted); }
.timeline li::before { content: ""; position: absolute; top: 11px; left: -50%; width: 100%; height: 4px; background: var(--line); z-index: 0; } .timeline li:first-child::before { display: none; }
.timeline .dot { position: relative; z-index: 1; display: block; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 4px solid var(--line); margin: 0 auto 8px; }
.timeline .done, .timeline .now { color: var(--accent); } .timeline .done::before, .timeline .now::before { background: var(--ok); } .timeline .done .dot { background: var(--ok); border-color: var(--ok); }
.timeline .now .dot { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 6px rgba(214, 40, 31, .15); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 11px rgba(214, 40, 31, 0); } }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 36px 0 0; }
.steps div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; } .steps span { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 8px; } .steps b { display: block; } .steps p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

.foot { background: var(--accent); color: #e8dccb; padding-top: 30px; }
.foot-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 24px; padding-bottom: 20px; } .foot b { display: block; color: #fff; margin-bottom: 6px; } .foot a { display: block; color: #e8dccb; padding: 2px 0; } .foot p { margin: 4px 0; font-size: 14px; }
.copy { text-align: center; border-top: 1px solid rgba(255, 255, 255, .12); padding: 12px; font-size: 13px; }
.cartbar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 50; display: flex; gap: 18px; align-items: center; justify-content: space-between; background: var(--accent); color: #fff; padding: 12px 22px; border-radius: 99px; box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .5); width: min(520px, 100% - 24px); }
.cartbar:hover { text-decoration: none; filter: brightness(1.15); } .cartbar b { color: #ffd9a8; }
#toTop { position: fixed; right: 16px; bottom: 84px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow); cursor: pointer; font-size: 20px; z-index: 45; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s; } .reveal.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
    .nav { display: none; } .head-row { flex-wrap: wrap; } .typebox { order: 3; width: 100%; } .typebox button { flex: 1; } .brand { margin-right: auto; }
    .itempage, .cols { grid-template-columns: 1fr; } .float { display: none; } .pills { top: 112px; }
    .line { grid-template-columns: 70px minmax(0, 1fr) auto; } .line-img { width: 70px; height: 70px; } .line .qty { grid-column: 2; } .line-amt { grid-column: 3; } .x { grid-column: 3; grid-row: 1; justify-self: end; }
    .fields { grid-template-columns: 1fr; } .timeline { font-size: 11px; } .timeline li b { display: block; }
}
/* call / WhatsApp buttons (like the big Pakistani food sites: order by phone is one tap away) */
.topbar a { color: inherit; } .topbar a:hover { color: #fff; }
.fab { position: fixed; right: 16px; bottom: 84px; z-index: 46; display: flex; flex-direction: column; gap: 10px; }
.fab a { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 24px; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .55); transition: transform .15s; }
.fab a:hover { transform: scale(1.08); text-decoration: none; }
.fab-wa { background: #25d366; } .fab-call { background: var(--primary); }
#toTop { right: auto; left: 16px; }

/* phones: a compact list (name, short text, price and button on the left, square picture on the right) so a whole
   category fits on a screen, as on Foodpanda / KFC / Cheezious */
@media (max-width: 600px) {
    .topbar .wrap { justify-content: center; padding: 5px 0; font-size: 12px; } .topbar .wrap > span:first-child, .tb-addr { display: none; }
    .menu-head h1 { font-size: 26px; } .msearch { width: 100%; } .msearch input { min-width: 0; flex: 1; }
    .sec { margin: 22px 0; } .sec-head h2 { font-size: 21px; }
    .grid { grid-template-columns: 1fr; gap: 10px; }
    .dish { flex-direction: row-reverse; align-items: center; }
    .dish:hover { transform: none; }
    .dish-img { flex: 0 0 112px; width: 112px; height: 112px; aspect-ratio: auto; margin: 10px; border-radius: 14px; }
    .dish-body { padding: 12px 0 12px 14px; min-width: 0; align-self: stretch; }
    .dish-title { font-size: 16px; }
    .dish-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .ribbon { top: 6px; left: 6px; font-size: 10px; padding: 2px 8px; }
    .price b { font-size: 16px; } .price s { display: block; margin-left: 0; font-size: 12px; }
    .cartbar { bottom: 10px; padding: 13px 20px; border-radius: 16px; background: var(--primary); } .cartbar b { color: #fff; }
    .fab { bottom: 78px; } .fab a { width: 46px; height: 46px; font-size: 20px; }
    .main { padding-bottom: 110px; }
}

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }

/* live pages: toast, mini-cart drawer */
[hidden] { display: none !important; }
.toast { position: fixed; left: 50%; top: 18px; transform: translateX(-50%); z-index: 120; background: var(--accent); color: #fff; padding: 11px 20px; border-radius: 99px; box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .5); font-weight: 600; max-width: calc(100% - 24px); animation: toastIn .25s ease; }
.toast.err { background: var(--bad); } .toast.ok::before { content: "\2713  "; color: #7be0b4; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, -12px); } }
.drawer { position: fixed; inset: 0; z-index: 110; }
.drawer-bg { position: absolute; inset: 0; background: rgba(20, 10, 5, .5); animation: fadeBg .2s; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; display: flex; flex-direction: column; box-shadow: -20px 0 50px -20px rgba(0, 0, 0, .5); animation: slideIn .25s ease; }
#drawerBody { display: flex; flex-direction: column; height: 100%; min-height: 0; }
@keyframes slideIn { from { transform: translateX(100%); } } @keyframes fadeBg { from { opacity: 0; } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); } .drawer-head h2 { margin: 0; font-size: 20px; }
.drawer-empty { padding: 40px 18px; text-align: center; }
.drawer-lines { list-style: none; margin: 0; padding: 6px 18px; overflow-y: auto; flex: 1; }
.drawer-lines li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); align-items: start; }
.drawer-lines img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: #f3e9db; }
.dl-info small { display: block; color: var(--muted); } .dl-amt { white-space: nowrap; }
.stepper { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; border: 1.5px solid var(--line); border-radius: 99px; } .stepper form { margin: 0; } .stepper span { min-width: 22px; text-align: center; font-weight: 700; }
.stepper button { width: 28px; height: 28px; border: 0; border-radius: 50%; background: #f7efe4; cursor: pointer; font-size: 16px; }
.drawer-foot { padding: 12px 18px 18px; border-top: 1px solid var(--line); background: #fffaf3; }
body.drawer-open { overflow: hidden; }
.btn.added { background: var(--ok); }
.busy { opacity: .6; pointer-events: none; }

.toast-btn { margin-left: 10px; background: rgba(255,255,255,.18); color: #fff; border: 0; padding: 3px 12px; border-radius: 99px; cursor: pointer; font: inherit; font-weight: 700; }
.cnt.bump { animation: bump .35s ease; } @keyframes bump { 40% { transform: scale(1.5); } }

/* popup for dishes with choices */
.modal { position: fixed; inset: 0; z-index: 115; display: flex; align-items: center; justify-content: center; padding: 14px; }
.modal-bg { position: absolute; inset: 0; background: rgba(20, 10, 5, .55); animation: fadeBg .2s; }
.modal-box { position: relative; background: #fff; border-radius: 20px; width: min(520px, 100%); max-height: calc(100vh - 28px); overflow-y: auto; padding: 0 20px 20px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .6); animation: popIn .22s ease; }
@keyframes popIn { from { transform: translateY(18px) scale(.97); opacity: 0; } }
.modal-x { position: absolute; top: 10px; right: 10px; z-index: 3; background: rgba(255, 255, 255, .92); box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.modal-pic { margin: 0 -20px 14px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 20px 20px 0 0; } .modal-pic img { width: 100%; height: 100%; object-fit: cover; }
.modal-box .if-title { font-size: 26px; margin-bottom: .2em; }
.modal-box .opt { margin: 10px 0; } .modal-box .buy { position: sticky; bottom: 0; background: #fff; padding: 10px 0 2px; margin-top: 10px; }
body.drawer-open { overflow: hidden; }
.editing-banner { background: #eef6ff; border: 1px solid #b6d4fe; color: #1e3a8a; border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; font-weight: 600; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.editing-banner form { margin: 0; }
.order-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; justify-content: center; } .order-actions form { margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* trap field for scripts */
.btn.danger { background: #fff; color: var(--bad); border: 2px solid var(--bad); }
.oa-note { flex-basis: 100%; text-align: center; margin: 0; }

/* customer account */
.narrow { max-width: 460px; margin: 0 auto; } .acct-alt { margin-top: 14px; text-align: center; }
.acct-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; } .acct-head h1 { margin: 0; }
.acct-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.acct-orders { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; } .acct-order { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: grid; gap: 6px; }
.acct-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pill { display: inline-block; border-radius: 99px; padding: 2px 12px; font-size: 12px; font-weight: 800; background: #fef3c7; color: #92400e; } .pill-go { background: #dbeafe; color: #1d4ed8; } .pill-way { background: #ede9fe; color: #6d28d9; } .pill-ok { background: #dcfce7; color: #166534; } .pill-bad { background: #fee2e2; color: #b91c1c; }
@media (max-width: 800px) { .acct-cols { grid-template-columns: 1fr; } }
/* contact page: a heading, one card per detail (icon, title, value, action), branches, buttons */
.contact-page { max-width: 920px; margin: 10px auto 0; }
.contact-head { text-align: center; margin-bottom: 18px; } .contact-head h1 { margin: 0 0 6px; }
.contact-sub { text-align: center; margin: 26px 0 12px; font-size: 22px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.ci-icon { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; background: var(--cream); color: var(--primary); border: 1px solid var(--line); }
.ci-text { min-width: 0; display: grid; gap: 3px; } .ci-text small { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.ci-text b { font-size: 16px; color: var(--accent); overflow-wrap: anywhere; } .ci-text a { font-size: 14px; font-weight: 600; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.wa-btn { background: #25d366; }
/* footer: each contact detail on its own line with a small title */
.foot-info p { margin: 0 0 8px; } .foot-info p small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; opacity: .7; } .foot-info p a { display: inline; padding: 0; }
