/* Wrap and Grill – shared look for customer, kitchen and rider pages (Design 2) */
@font-face { font-family: 'Outfit'; font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/outfit-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-weight: 500; font-style: normal; font-display: swap; src: url('/fonts/outfit-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-weight: 600; font-style: normal; font-display: swap; src: url('/fonts/outfit-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-weight: 700; font-style: normal; font-display: swap; src: url('/fonts/outfit-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-weight: 800; font-style: normal; font-display: swap; src: url('/fonts/outfit-latin-800-normal.woff2') format('woff2'); }

:root {
  /* brand: warm grill orange. (Variable names kept from v1 so every page picks the new colours up.) */
  --red: #F0531C; --red-dark: #C2410C; --red-tint: #FFF4EE; --red-soft: #FFE6DA;
  --brand-grad: linear-gradient(135deg, #FF5A1F, #FF8A00);
  --gold: #FFB020; --gold-tint: #FFF3D6; --gold-text: #8A5300;
  --green: #12A150; --green-tint: #E5F6EC; --green-text: #0B7A3B;
  --blue-tint: #E9EEFF; --blue-text: #2747A8;
  --ink: #111111; --ink-2: #2B2B2B; --muted: #6E6E73; --faint: #8A8A8E;
  --line: #EDEDED; --line-2: #E2E2E2; --bg: #FFFFFF; --bg-warm: #F5F5F4; --bg-soft: #FAFAF9;
  --radius: 22px;
  --display: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow: 0 18px 50px rgba(0,0,0,.12);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--bg); line-height: 1.5; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--red-dark); }
a:hover { color: var(--red); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.12; }
.display { font-family: var(--display); font-weight: 700; letter-spacing: -1px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.emo { width: 1.2em; height: 1.2em; display: inline-block; vertical-align: -0.24em; flex: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px;
  border: none; background: var(--ink); color: #fff; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .12s ease, filter .12s ease; }
.btn:hover { color: #fff; filter: brightness(1.08); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.red, .btn.brand { background: var(--brand-grad); box-shadow: 0 8px 20px rgba(255,90,31,.28); }
.btn.gold { background: var(--brand-grad); color: #fff; box-shadow: 0 8px 20px rgba(255,90,31,.28); }
.btn.green { background: var(--green); }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--ink); }
.btn.ghost:hover { color: var(--ink); background: var(--bg-soft); }
.btn.light { background: #fff; color: var(--ink); border: 1px solid var(--line-2); }
.btn.light:hover { color: var(--ink); background: var(--bg-soft); }
.btn.soft { background: var(--bg-warm); color: var(--ink); }
.btn.soft:hover { color: var(--ink); }
.btn.glass { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.4); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn.link { background: none; color: var(--red-dark); padding: 0 8px; min-height: 44px; box-shadow: none; }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn.block { width: 100%; }
.icon-btn { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; display: inline-flex;
  align-items: center; justify-content: center; cursor: pointer; font-size: 20px; line-height: 1; flex-shrink: 0; font-weight: 600; }
.icon-btn.dark { background: var(--ink); color: #fff; border: none; }
.icon-btn.red { background: var(--brand-grad); color: #fff; border: none; box-shadow: 0 6px 14px rgba(255,90,31,.3); }

/* forms */
label.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.input, select.input, textarea.input { width: 100%; min-height: 50px; border-radius: 14px; border: 1px solid var(--line-2); padding: 10px 14px;
  font-weight: 400; font-size: 16px; background: #fff; }
textarea.input { resize: vertical; }
.input:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(255,138,0,.18); }
.check { display: flex; align-items: center; gap: 10px; font-weight: 500; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--ink); }
.error-box { background: #FFEDEA; color: #B42318; border-radius: 14px; padding: 12px 14px; font-weight: 600; font-size: 14px; }
.ok-box { background: var(--green-tint); color: var(--green-text); border-radius: 14px; padding: 12px 14px; font-weight: 600; font-size: 14px; }

/* chips */
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 999px; white-space: nowrap; background: var(--bg-warm); }
.chip.red { background: var(--red-soft); color: var(--red-dark); }
.chip.gold { background: var(--gold-tint); color: var(--gold-text); }
.chip.green { background: var(--green-tint); color: var(--green-text); }
.chip.blue { background: var(--blue-tint); color: var(--blue-text); }
.chip.grey { background: var(--bg-warm); color: var(--muted); }
.chip.dark { background: var(--ink); color: #fff; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-weight: 600; cursor: pointer; }
.pill[aria-pressed="true"], .pill.on { background: var(--ink); border-color: var(--ink); color: #fff; }

.card { background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.card.bordered { border: 1px solid var(--line); }

/* site header */
.site-header { background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; min-width: 0; }
.brand:hover { color: inherit; }
.brand-mark { width: 42px; height: 42px; border-radius: 13px; background: var(--brand-grad); color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; letter-spacing: -.3px; white-space: nowrap; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name { font-weight: 700; font-size: 19px; letter-spacing: -.4px; white-space: nowrap; }
.brand-place { font-size: 12.5px; font-weight: 500; opacity: .7; }
.site-nav { display: flex; align-items: center; gap: 4px; font-weight: 500; }
.site-nav .nav-link { white-space: nowrap; color: inherit; text-decoration: none; padding: 10px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; }
.site-nav .nav-link:hover { background: rgba(0,0,0,.05); color: inherit; }
.site-nav .nav-link[aria-current="page"] { font-weight: 700; }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; min-height: 44px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; margin-left: 6px; }
.cart-btn:hover { color: #fff; filter: brightness(1.1); }
.cart-count { min-width: 22px; height: 22px; border-radius: 999px; background: var(--brand-grad); color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; }
.nowrap { white-space: nowrap; }
/* header on top of the home photo */
.site-header.over { position: absolute; left: 0; right: 0; background: transparent; border: 0; color: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.over .nav-link:hover { background: rgba(255,255,255,.14); }
.site-header.over .cart-btn { background: #fff; color: var(--ink); }

/* footer */
.site-footer { background: #0E0E0E; color: #BDBDBD; margin-top: 56px; }
.site-footer .wrap { padding-top: 46px; padding-bottom: 28px; }
.foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.site-footer h3 { color: #fff; margin: 0 0 10px; font-size: 15px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.site-footer a { color: #E5E5E5; }
.site-footer .muted { color: #A3A3A3; }
.site-footer .brand { color: #fff; }
.site-footer .btn { background: #1F1F1F; min-height: 42px; padding: 0 16px; font-size: 14px; }
.site-footer .btn:hover { background: #2A2A2A; }
.foot-legal { border-top: 1px solid #262626; margin-top: 30px; padding-top: 16px; font-size: 13px; color: #8A8A8A; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.foot-legal a { color: #8A8A8A; }
@media (max-width: 760px) { .foot-cols { grid-template-columns: 1fr; } }

.banner { background: var(--green-tint); color: var(--green-text); text-align: center; padding: 10px 20px; font-weight: 600; font-size: 14px; }
.banner.closed { background: #FFEDEA; color: #B42318; }

/* sticky "View order" bar on phones */
.view-order { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; display: none; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  background: var(--ink); color: #fff; border-radius: 18px; text-decoration: none; box-shadow: 0 14px 34px rgba(0,0,0,.3); font-weight: 600; }
.view-order:hover { color: #fff; }
.view-order .n { min-width: 34px; height: 34px; border-radius: 11px; background: var(--brand-grad); display: grid; place-items: center; font-weight: 700; }
.view-order .t { flex: 1; }
@media (max-width: 760px) { .view-order.show { display: flex; } body.has-bar { padding-bottom: 84px; } }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 14px;
  font-weight: 600; z-index: 100; box-shadow: 0 10px 30px rgba(0,0,0,.25); max-width: calc(100% - 32px); }
body.has-bar .toast { bottom: 96px; }

/* dialogs / drawers */
dialog { border: none; padding: 0; border-radius: 26px; max-width: min(560px, calc(100% - 24px)); width: 100%; max-height: calc(100dvh - 24px); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(0,0,0,.5); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.dialog-body { padding: 24px; display: flex; flex-direction: column; gap: 16px; overflow-y: auto; max-height: calc(100dvh - 24px); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; z-index: 50; display: flex; flex-direction: column;
  box-shadow: -10px 0 40px rgba(0,0,0,.2); transform: translateX(105%); transition: transform .25s ease; }
.drawer.open { transform: none; }
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 40; }

.photo-ph { display: flex; align-items: flex-end; padding: 14px; font-weight: 600; font-size: 13px; }
.t-rice { background: var(--gold-tint); color: var(--gold-text); }
.t-shaw { background: var(--red-soft); color: var(--red-dark); }
.t-drink { background: var(--green-tint); color: var(--green-text); }

.stars { display: flex; gap: 8px; }
.star { width: 54px; height: 54px; border-radius: 16px; border: none; background: var(--bg-warm); cursor: pointer; display: grid; place-items: center; padding: 0; }
.star img { width: 32px; height: 32px; filter: grayscale(1); opacity: .35; transition: transform .12s ease; }
.star.on { background: var(--gold-tint); }
.star.on img { filter: none; opacity: 1; transform: scale(1.06); }

@media (max-width: 760px) {
  .site-nav .hide-sm { display: none; }
  .brand-name { font-size: 17px; }
  .brand-mark { width: 38px; height: 38px; font-size: 13px; }
}
@media (max-width: 380px) { .hide-xs { display: none; } .brand-place { display: none; } }
@media (max-width: 440px) { .site-nav .nav-link { padding: 10px 8px; } .cart-btn { padding: 0 12px; } .cart-btn .lbl { display: none; } }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--bg-warm); padding: 4px; border-radius: 16px; }
.tabs button { min-height: 46px; border: none; border-radius: 12px; background: transparent; font-weight: 600; cursor: pointer; color: var(--muted); }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 76px; }
.pw-wrap button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-height: 36px; padding: 0 10px; border: none; background: none; color: var(--red-dark); font-weight: 600; cursor: pointer; }
.code-input { font-size: 26px !important; letter-spacing: 10px; text-align: center; min-height: 60px; font-weight: 600 !important; }
@media print { .no-print { display: none !important; } }

/* payment details (MoMo transfer) */
.paybox { background: var(--gold-tint); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.paybox .row2 { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.paybox .row2 b { font-size: 17px; }
.paybox .lab { font-size: 14px; color: var(--muted); }

/* page heading used on inner pages */
.page-title { font-size: clamp(30px, 5vw, 44px); font-weight: 700; letter-spacing: -1.3px; margin: 0; }

/* food photo with a friendly emoji tile if the picture can't load */
.ph { display: block; position: relative; overflow: hidden; background: var(--bg-warm) var(--fb) center / 44% no-repeat; }
.ph[data-kind="rice"] { --fb: url('/img/emoji/1f35b.svg'); background-color: #FFF3D6; }
.ph[data-kind="shawarma"] { --fb: url('/img/emoji/1f32f.svg'); background-color: #FFE6DA; }
.ph[data-kind="drinks"] { --fb: url('/img/emoji/1f964.svg'); background-color: #E5F6EC; }
.ph > img.pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph > img.pic.broken { display: none; }

/* default food photos (the kitchen's Shop pictures page replaces them) */

/* side menu (phones) */
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; margin-left: 6px; padding: 0; }
.menu-btn span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); }
.site-header.over .menu-btn { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.4); }
.site-header.over .menu-btn span { background: #fff; }
.side-menu { position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 86vw); background: #fff; z-index: 60; display: flex; flex-direction: column; gap: 6px; padding: 16px;
  box-shadow: -14px 0 40px rgba(0,0,0,.2); transform: translateX(105%); transition: transform .25s ease; overflow-y: auto; visibility: hidden; }
.side-menu.open { transform: none; visibility: visible; }
.sm-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 0 14px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.sm-nav { display: flex; flex-direction: column; gap: 4px; }
.sm-link { display: flex; align-items: center; gap: 14px; min-height: 54px; padding: 0 14px; border-radius: 16px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 17px; }
.sm-link .ln { flex: none; color: var(--ink-2); }
.sm-link[aria-current="page"] .ln { color: var(--red); }
.sm-foot .ln { width: 18px; height: 18px; }
.sm-link:hover, .sm-link:focus-visible { background: var(--bg-warm); color: var(--ink); }
.sm-link[aria-current="page"] { background: var(--bg-warm); }
.sm-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
#side-scrim { z-index: 55; }
body.menu-open { overflow: hidden; }
@media (max-width: 760px) {
  .menu-btn { display: inline-flex; }
  .site-nav .nav-link { display: none; }
}
@media (prefers-reduced-motion: reduce) { .side-menu { transition: none; } }
.side-menu:focus { outline: none; }

.sm-grp { font-size: 12px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; color: var(--faint); padding: 14px 14px 4px; }
.sm-grp:first-child { padding-top: 4px; }
button.sm-link { width: 100%; border: 0; background: none; cursor: pointer; font: inherit; font-weight: 600; font-size: 17px; text-align: left; color: var(--ink); }

/* install-the-app steps */
.inst-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--red-tint); color: var(--red); display: inline-flex; align-items: center; justify-content: center; }
.btn .ln { width: 18px; height: 18px; }
