:root {
  --black: #180f0a;
  --black-soft: #241610;
  --gold: #e8960a;
  --gold-dark: #c17d08;
  --red: #b81f1f;
  --red-dark: #931818;
  --green: #0f5c30;
  --green-dark: #0b4324;
  --brown: #5c2c0f;
  --ink: #1c1510;
  --muted: #7a6f63;
  --bg: #f7f4ef;
  --card: #ffffff;
  --line: #e7e0d5;
  --radius: 8px;
  --star: #e8960a;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.45; font-size: 14px; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Utility bar */
.util-bar { background: var(--black); color: #cfc6bb; font-size: 12px; padding: 7px 0; }
.util-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px; }
.util-inner a { color: #cfc6bb; }
.util-inner a:hover { color: var(--gold); }

/* Header */
.site-header { background: var(--black); padding: 14px 0 16px; border-bottom: 3px solid var(--gold); }
.site-header.rest-theme { border-bottom-color: var(--red); }
.header-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.logo img { height: 46px; width: 46px; object-fit: contain; background: #fff; border-radius: 8px; padding: 3px; }
.logo .word { color: #fff; font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }
.logo .word span { display: block; font-size: .6rem; letter-spacing: .06em; font-weight: 500; color: #c9bfae; }

.search-bar { flex: 1; display: flex; background: #fff; border-radius: 6px; overflow: hidden; max-width: 560px; min-width: 180px; }
.search-bar input { flex: 1; border: none; padding: 11px 14px; font-size: .95rem; outline: none; }
.search-bar button { background: var(--gold); border: none; color: var(--black); padding: 0 20px; cursor: pointer; font-weight: 700; }
.rest-theme .search-bar button { background: var(--red); color: #fff; }

.header-icons { display: flex; gap: 20px; color: #fff; font-size: .8rem; white-space: nowrap; margin-left: auto; }
.header-icons a, .header-icons div { text-align: center; cursor: pointer; color: #fff; }
.header-icons .ic { font-size: 1.2rem; display: block; }
.cart-count { background: var(--red); color: #fff; border-radius: 999px; font-size: .65rem; padding: 0 5px; position: relative; top: -9px; left: 2px; }

/* Location picker */
.loc-picker { position: relative; }
.loc-trigger { display: flex; align-items: center; gap: 8px; color: #fff; cursor: pointer; padding: 6px 10px; border-radius: 6px; border: 1px solid #4a382a; white-space: nowrap; background: none; font-family: inherit; }
.loc-trigger:hover { border-color: var(--gold); }
.loc-trigger .ic { font-size: 1.1rem; }
.loc-trigger .txt { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.loc-trigger .txt .lbl { font-size: .68rem; color: #c9bfae; }
.loc-trigger .txt .val { font-size: .85rem; font-weight: 700; }
.loc-trigger .caret { font-size: .7rem; color: #c9bfae; margin-left: 2px; }
.loc-panel { display: none; position: absolute; top: calc(100% + 10px); left: 0; background: #fff; color: var(--ink); width: 300px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.25); padding: 18px; z-index: 20; }
.loc-panel.open { display: block; }
.loc-panel h4 { margin: 0 0 4px; font-size: .92rem; }
.loc-panel p { margin: 0 0 12px; color: var(--muted); font-size: .8rem; }
.loc-panel input { width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 6px; font-size: .9rem; margin-bottom: 10px; font-family: inherit; }
.loc-panel .btn { width: 100%; padding: 9px; font-size: .85rem; }
.loc-panel .recent { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.loc-panel .recent .r-lbl { font-size: .72rem; color: var(--muted); margin-bottom: 6px; }
.loc-panel .recent button { display: block; width: 100%; text-align: left; background: none; border: none; padding: 6px 0; font-size: .85rem; cursor: pointer; color: var(--ink); font-family: inherit; }
.loc-panel .recent button:hover { color: var(--gold-dark); }
.loc-fee-note { background: #f2fbf5; border: 1px solid #cbe9d4; color: var(--green-dark); font-size: .78rem; padding: 8px 11px; border-radius: 6px; margin-top: 2px; }
.loc-fee-note strong { color: var(--ink); }

/* Category strip */
.cat-strip { background: var(--black-soft); }
.cat-strip-inner { display: flex; gap: 24px; padding: 10px 0; overflow-x: auto; font-size: .82rem; font-weight: 600; color: #e8e0d3; }
.cat-strip-inner a.active, .cat-strip-inner a:hover { color: var(--gold); }
.cat-strip-inner a.accent-link { color: #8fd4a8; }
.rest-strip .cat-strip-inner a.accent-link { color: #ff8a6a; }

/* Category dropdown (shop side, since the category list can get long) */
.cat-dropdown { position: relative; }
.cat-dropdown-trigger { display: flex; align-items: center; gap: 6px; background: none; border: none; color: #e8e0d3; font-size: .82rem; font-weight: 600; font-family: inherit; cursor: pointer; padding: 0; }
.cat-dropdown-trigger:hover, .cat-dropdown-trigger.active { color: var(--gold); }
.cat-dropdown-trigger .caret { font-size: .68rem; }
.cat-dropdown-panel { display: none; position: absolute; top: calc(100% + 12px); left: 0; background: #fff; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.25); padding: 10px; width: 260px; max-height: 360px; overflow-y: auto; z-index: 30; }
.cat-dropdown-panel.open { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.cat-dropdown-panel a { display: block; padding: 8px 10px; border-radius: 6px; font-size: .82rem; font-weight: 600; color: var(--ink); }
.cat-dropdown-panel a:hover { background: var(--bg); }
.cat-dropdown-panel a.active { background: var(--black); color: var(--gold); }

.page-main { padding: 24px 0 60px; }
.muted { color: var(--muted); }
h1.pt { font-size: 1.5rem; margin: 0 0 20px; }
.flash { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 20px; font-size: .9rem; }
.flash.success { background: #e5f1e5; color: var(--green-dark); border: 1px solid #c3ddc3; }
.flash.error { background: #fbe6e2; color: var(--red-dark); border: 1px solid #f0c3b8; }

/* Hero */
.hero { background: linear-gradient(120deg, var(--black) 0%, var(--black-soft) 100%); border: 1px solid var(--gold-dark); border-radius: var(--radius); padding: 38px 44px; color: #fff; display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; gap: 24px; }
.hero.rest { background: linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%); border-color: var(--gold); }
.hero-text h1 { font-size: 1.9rem; margin: 0 0 10px; font-weight: 800; line-height: 1.2; max-width: 480px; }
.hero-text p { margin: 0 0 18px; color: #d8cfc2; max-width: 440px; }
.hero.rest .hero-text p { color: #fbe4de; }
.hero .btn { background: var(--gold); color: var(--black); }
.hero-emoji { font-size: 5rem; opacity: .95; }

h2.section-title { font-size: 1.15rem; font-weight: 800; margin: 0 0 14px; display: flex; align-items: center; justify-content: space-between; }
h2.section-title a { font-size: .82rem; color: var(--gold-dark); font-weight: 600; }
h2.section-title a:hover { text-decoration: underline; }

/* Category tiles */
.cat-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-bottom: 34px; }
.cat-tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 10px; text-align: center; transition: border-color .15s; }
.cat-tile:hover { border-color: var(--gold); }
.cat-tile .emoji { font-size: 1.9rem; display: block; margin-bottom: 8px; }
.cat-tile .name { font-size: .78rem; font-weight: 700; }
.cat-tile-extra { display: none; }
.cat-tiles.expanded .cat-tile-extra { display: block; }

/* Flash deals strip */
.flash-strip { background: #fdece7; border: 1px solid #f3c3b6; border-radius: var(--radius); padding: 14px 18px; display: flex; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.flash-strip .fs-label { color: var(--red-dark); font-weight: 800; font-size: .95rem; white-space: nowrap; }
.fs-note { color: var(--muted); }

/* Product / grocery grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-bottom: 34px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; position: relative; transition: box-shadow .15s; }
.card:hover { box-shadow: 0 6px 18px rgba(24,15,10,.1); }
.badge-off { position: absolute; top: 8px; left: 8px; background: var(--red); color: #fff; font-size: .7rem; font-weight: 700; padding: 3px 7px; border-radius: 4px; z-index: 1; }
.card-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: #f1ede4; display: flex; align-items: center; justify-content: center; font-size: 2.6rem; }
.card-body { padding: 11px 12px 13px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.card-body h3 { font-size: .86rem; margin: 0; font-weight: 600; line-height: 1.3; }
.stars { color: var(--star); font-size: .78rem; }
.stars .count { color: var(--muted); margin-left: 3px; }
.price-row { display: flex; align-items: baseline; gap: 7px; margin-top: auto; }
.price { font-weight: 800; color: var(--ink); font-size: 1rem; }
.price-old { text-decoration: line-through; color: var(--muted); font-size: .78rem; }
.unit-note { color: var(--muted); font-size: .72rem; }
.unit-note.low { color: var(--red-dark); font-weight: 600; }
.unit-note.out { color: #a89e90; }
.add-btn { margin-top: 6px; background: var(--gold); color: var(--black); border: none; border-radius: 6px; padding: 8px; font-size: .8rem; font-weight: 700; cursor: pointer; }
.add-btn:hover { background: var(--gold-dark); }
.add-btn:disabled { background: #e3ddd0; color: #a89e90; cursor: not-allowed; }
.rest-theme ~ * .add-btn, .menu-grid .add-btn { background: var(--gold); color: var(--black); }

/* Menu (restaurant) cards */
.menu-tabs { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.menu-tab { background: var(--card); border: 1px solid var(--line); padding: 9px 18px; border-radius: 999px; font-size: .85rem; font-weight: 600; cursor: pointer; }
.menu-tab.active, .menu-tab:hover { background: var(--red); color: #fff; border-color: var(--red); }
.preorder-note { display: flex; align-items: center; gap: 12px; background: #fff8ea; border: 1px solid #f0dba8; border-radius: var(--radius); padding: 13px 18px; margin-bottom: 26px; }
.preorder-note .ic { font-size: 1.3rem; }
.preorder-note strong { color: var(--brown); }
.preorder-note span.d { color: var(--muted); font-size: .85rem; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-bottom: 8px; }
.menu-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; position: relative; }
.menu-card .img { width: 110px; min-width: 110px; object-fit: cover; background: #f1ede4; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; }
.menu-card .body { padding: 13px 14px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.menu-card h3 { font-size: .95rem; margin: 0; font-weight: 700; }
.menu-card .desc { color: var(--muted); font-size: .78rem; line-height: 1.4; }
.menu-card .meta-row { display: flex; align-items: center; gap: 10px; margin-top: auto; flex-wrap: wrap; }
.menu-card .price { font-weight: 800; font-size: 1rem; }
.menu-card .prep { color: var(--muted); font-size: .72rem; margin-left: auto; }

.btn { display: inline-block; background: var(--gold); color: var(--black); border: none; padding: 11px 22px; border-radius: 6px; font-size: .9rem; font-weight: 700; cursor: pointer; text-align: center; }
.btn:hover { background: var(--gold-dark); }
.btn.secondary { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn.small { padding: 6px 14px; font-size: .82rem; }
.btn.danger { background: var(--red); color: #fff; }
.btn:disabled { background: #e3ddd0; color: #a89e90; cursor: not-allowed; }

/* Trust strip */
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 38px 0; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-item .ic { font-size: 1.6rem; }
.trust-item .t { font-weight: 700; font-size: .85rem; }
.trust-item .d { color: var(--muted); font-size: .76rem; }

/* Forms */
form.stack { display: flex; flex-direction: column; gap: 14px; max-width: 480px; }
label { font-size: .85rem; font-weight: 600; display: block; margin-bottom: 4px; }
input, select, textarea { width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; font-size: .95rem; font-family: inherit; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
a:focus-visible, button:focus-visible, .btn:focus-visible, .cat-tile:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
textarea { resize: vertical; }
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.field.full { grid-column: 1 / -1; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }

/* Checkout layout */
.steps { display: flex; align-items: center; gap: 10px; margin-left: auto; color: #cfc6bb; font-size: .82rem; }
.steps .step { display: flex; align-items: center; gap: 8px; }
.steps .dot { width: 22px; height: 22px; border-radius: 50%; background: #4a382a; color: #cfc6bb; display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 700; }
.steps .step.active .dot { background: var(--gold); color: var(--black); }
.rest-theme .steps .step.active .dot { background: var(--red); color: #fff; }
.steps .step.active { color: #fff; font-weight: 700; }
.steps .step.done .dot { background: var(--green); color: #fff; }
.steps .sep { width: 26px; height: 1px; background: #4a382a; }

.layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.cart-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cart-panel-head { padding: 14px 18px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: .9rem; display: flex; justify-content: space-between; align-items: center; }
.cart-panel-head .count { color: var(--muted); font-weight: 400; }
.cart-row { display: grid; grid-template-columns: 60px 1fr auto auto; gap: 14px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.cart-row:last-child { border-bottom: none; }
.cart-row .thumb { width: 56px; height: 56px; border-radius: 6px; object-fit: cover; background: #f1ede4; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.cart-row .name { font-weight: 600; font-size: .9rem; }
.cart-row .unit { color: var(--muted); font-size: .78rem; }
.qty-stepper { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; width: fit-content; }
.qty-input { width: 44px; text-align: center; border: none; font-size: .85rem; padding: 6px 0; }
.qty-stepper button { border: none; background: #f4f2ed; width: 28px; height: 30px; cursor: pointer; font-weight: 700; font-size: .9rem; }
.line-total { font-weight: 800; font-size: .92rem; min-width: 64px; text-align: right; }
.remove-link { color: var(--muted); font-size: .78rem; cursor: pointer; background: none; border: none; padding: 0; text-decoration: underline; }
.remove-link:hover { color: var(--red); }

.promo-row { display: flex; gap: 10px; padding: 16px 18px; border-top: 1px solid var(--line); }
.promo-row input { flex: 1; }
.promo-row button { background: var(--black); color: #fff; border: none; padding: 0 18px; border-radius: 6px; font-size: .85rem; font-weight: 600; cursor: pointer; }
.promo-applied { display: flex; align-items: center; gap: 8px; padding: 12px 18px; background: #f2fbf5; color: var(--green-dark); font-size: .85rem; font-weight: 600; border-top: 1px solid var(--line); }

.continue-link { display: inline-block; margin-top: 14px; color: var(--gold-dark); font-size: .85rem; font-weight: 600; }
.rest-theme-page .continue-link { color: var(--red); }
.continue-link:hover { text-decoration: underline; }

.summary-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: 20px; }
.summary-card h3 { margin: 0 0 14px; font-size: 1rem; }
.summary-card .row { display: flex; justify-content: space-between; font-size: .87rem; margin-bottom: 10px; }
.summary-card .row.discount { color: var(--green-dark); }
.summary-card .row.total { font-weight: 800; font-size: 1.05rem; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
.summary-card .fee-note { color: var(--muted); font-size: .76rem; margin-top: -4px; margin-bottom: 10px; }
.summary-card .ready-note { background: #fff8ea; border: 1px solid #f0dba8; border-radius: 6px; padding: 10px 12px; font-size: .78rem; color: var(--brown); margin: 12px 0; }
.summary-card .btn { width: 100%; margin-top: 10px; }
.summary-card .secure-note { text-align: center; color: var(--muted); font-size: .74rem; margin-top: 10px; }

.form-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-top: 24px; }
.form-panel h3 { font-size: 1rem; margin: 0 0 4px; }
.form-panel .sub { color: var(--muted); font-size: .82rem; margin: 0 0 18px; }

.fulfil-toggle { display: flex; gap: 10px; margin-bottom: 18px; }
.fulfil-opt { flex: 1; border: 1.5px solid var(--line); border-radius: 8px; padding: 12px 14px; cursor: pointer; }
.fulfil-opt.active { border-color: var(--gold); background: #fff9ef; }
.rest-theme-page .fulfil-opt.active { border-color: var(--red); background: #fdf1ee; }
.fulfil-opt .t { font-weight: 700; font-size: .88rem; }
.fulfil-opt .d { color: var(--muted); font-size: .76rem; }

.time-panel { background: #fdf1ee; border: 1px solid #f3c9c0; border-radius: 8px; padding: 16px; margin-bottom: 18px; }
.time-panel-title { font-weight: 700; font-size: .88rem; color: var(--red-dark); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.date-row { display: flex; gap: 8px; margin-bottom: 12px; overflow-x: auto; }
.party-date-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #fff; border: 1px dashed var(--line); border-radius: 8px; padding: 10px 12px; margin-bottom: 14px; }
.party-date-row label { margin: 0; font-size: .8rem; font-weight: 600; color: var(--ink); }
.party-date-row input[type="date"] { width: auto; padding: 7px 10px; font-size: .85rem; }
.date-chip { flex: 0 0 auto; background: #fff; border: 1.5px solid var(--line); border-radius: 8px; padding: 9px 14px; text-align: center; cursor: pointer; min-width: 64px; }
.date-chip .d { font-size: .68rem; color: var(--muted); }
.date-chip .n { font-weight: 700; font-size: .95rem; }
.date-chip.active { border-color: var(--red); box-shadow: 0 0 0 1px var(--red) inset; }
.slot-row { display: flex; gap: 8px; flex-wrap: wrap; }
.slot-chip { background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: .82rem; cursor: pointer; }
.slot-chip.active { border-color: var(--red); background: var(--red); color: #fff; font-weight: 600; }
.time-note { font-size: .76rem; color: var(--muted); margin-top: 10px; }

.pay-options { display: flex; flex-direction: column; gap: 8px; }
.pay-opt { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 8px; padding: 11px 14px; cursor: pointer; }
.pay-opt.active { border-color: var(--gold); background: #fff9ef; }
.rest-theme-page .pay-opt.active { border-color: var(--red); background: #fdf1ee; }
.pay-opt .t { font-weight: 600; font-size: .86rem; }
.pay-opt .d { color: var(--muted); font-size: .75rem; }

.bank-details { display: none; margin-top: 12px; }
.bank-details.open { display: block; }
.bank-details-inner { background: #fbf6ea; border: 1px solid #e9d9a8; border-radius: 8px; padding: 16px; }
.bank-title { font-weight: 700; font-size: .85rem; margin-bottom: 10px; color: var(--brown); }
.bank-row { display: flex; justify-content: space-between; font-size: .85rem; padding: 6px 0; border-bottom: 1px dashed #e2d3a0; }
.bank-row:last-of-type { border-bottom: none; }
.bank-row span { color: var(--muted); }
.bank-note { color: var(--muted); font-size: .76rem; margin-top: 10px; line-height: 1.4; }

/* Auth pages */
.auth-wrap { max-width: 420px; margin: 50px auto; padding: 0 20px; }
.auth-tabs { display: flex; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 26px; }
.auth-tab { flex: 1; text-align: center; padding: 9px; border-radius: 999px; font-size: .85rem; font-weight: 700; cursor: pointer; color: var(--muted); background: none; border: none; font-family: inherit; }
.auth-tab.active { background: var(--black); color: var(--gold); }
.auth-panel { display: none; }
.auth-panel.active { display: block; }
.auth-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.auth-card h1 { font-size: 1.25rem; margin: 0 0 4px; }
.auth-card .sub { color: var(--muted); font-size: .83rem; margin: 0 0 22px; }
.field-row-between { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: .8rem; }
.field-row-between label { display: flex; align-items: center; gap: 6px; color: var(--muted); cursor: pointer; margin: 0; }
.field-row-between a { color: var(--gold-dark); font-weight: 600; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .78rem; margin: 20px 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.auth-foot-note { text-align: center; color: var(--muted); font-size: .8rem; margin-top: 18px; }
.auth-foot-note a { color: var(--gold-dark); font-weight: 600; cursor: pointer; }

/* Tables */
table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: .85rem; }
th { background: #f7f4ef; font-size: .72rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
tr:last-child td { border-bottom: none; }
.badge { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: .72rem; font-weight: 700; }
.badge.pending { background: #fdecd2; color: #9a6a12; }
.badge.accepted_preparing { background: #dcecff; color: #1e5fa8; }
.badge.ready { background: #d8f3de; color: #1c7a34; }
.badge.rejected { background: #fbdada; color: #b22; }
.badge.paid { background: #d8f3de; color: #1c7a34; }
.badge.unpaid { background: #fbdada; color: #b22; }
.badge.refunded { background: #e4e0d8; color: #5c5346; }

/* Admin */
.admin-wrap { display: grid; grid-template-columns: 190px 1fr; gap: 24px; }
.admin-side { display: flex; flex-direction: column; gap: 3px; }
.admin-side a { padding: 9px 12px; border-radius: 6px; color: var(--ink); font-size: .85rem; font-weight: 600; }
.admin-side a.active { background: var(--black); color: var(--gold); }
.admin-side a:hover:not(.active) { background: var(--line); }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 22px; }
.stat-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 15px; }
.stat-card .num { font-size: 1.4rem; font-weight: 800; color: var(--gold-dark); }
.stat-card .lbl { color: var(--muted); font-size: .78rem; }
.inline-field { width: 70px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 5px; font-size: .8rem; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 22px; }
.chip { background: var(--card); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; font-size: .85rem; }
.chip.active { background: var(--black); color: var(--gold); border-color: var(--black); }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.panel h3 { font-size: .92rem; margin: 0 0 14px; }
.info-row { display: flex; justify-content: space-between; font-size: .85rem; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.info-row:last-child { border-bottom: none; }
.info-row span:first-child { color: var(--muted); }
.info-row span:last-child { font-weight: 600; text-align: right; max-width: 60%; }
.totals-row { display: flex; justify-content: space-between; font-size: .85rem; padding: 6px 0; }
.totals-row.grand { font-weight: 800; font-size: 1rem; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 6px; }
.time-highlight { background: #fdf1ee; border: 1px solid #f3c9c0; border-radius: 8px; padding: 12px 14px; margin-bottom: 14px; }
.time-highlight .t { font-weight: 700; font-size: .86rem; color: var(--red-dark); }
.time-highlight .d { font-size: .78rem; color: var(--muted); margin-top: 2px; }
.bank-ref-box { background: #fbf6ea; border: 1px solid #e9d9a8; border-radius: 8px; padding: 12px 14px; margin-top: 8px; }
.bank-ref-box .lbl { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.bank-ref-box .val { font-family: ui-monospace, monospace; font-size: .92rem; font-weight: 700; margin-top: 3px; }
.notes-box { background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; font-size: .85rem; color: var(--ink); font-style: italic; }
.order-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; flex-wrap: wrap; gap: 12px; }
.order-type-pill { display: inline-block; background: var(--black); color: var(--gold); font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-left: 8px; }

.field-label-row { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.field-label-row label { margin: 0; }
.info-icon { position: relative; display: inline-flex; }
.info-icon .dot { width: 15px; height: 15px; border-radius: 50%; background: var(--line); color: var(--muted); font-size: .68rem; font-weight: 700; display: flex; align-items: center; justify-content: center; cursor: pointer; font-style: normal; }
.info-icon:hover .dot, .info-icon.open .dot { background: var(--gold); color: var(--black); }
.info-tip { display: none; position: absolute; left: 0; top: 22px; z-index: 30; background: var(--black); color: #f1ece2; border-radius: 8px; padding: 12px 14px; width: 250px; box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.info-icon:hover .info-tip, .info-icon.open .info-tip { display: block; }
.info-tip .row { display: flex; gap: 8px; font-size: .76rem; padding: 4px 0; line-height: 1.4; }
.info-tip .row + .row { border-top: 1px solid #3a2a1f; padding-top: 6px; margin-top: 2px; }
.info-tip .k { font-weight: 700; color: var(--gold); min-width: 66px; }
.info-tip .v { color: #d6cdbf; }

footer.site-footer { background: var(--black); color: #b8ac9c; padding: 30px 0 20px; font-size: .8rem; margin-top: 10px; }
footer.site-footer .foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; margin-bottom: 22px; }
footer.site-footer h4 { color: #fff; font-size: .82rem; margin: 0 0 10px; }
footer.site-footer a { color: #b8ac9c; display: block; margin-bottom: 6px; }
footer.site-footer a:hover { color: var(--gold); }
footer.site-footer .bottom { border-top: 1px solid #3a2a1f; padding-top: 16px; display: flex; justify-content: space-between; opacity: .75; flex-wrap: wrap; gap: 8px; }
footer.simple { background: var(--black); color: #b8ac9c; padding: 24px 0; font-size: .8rem; margin-top: 30px; text-align: center; }

/* New-order alert banner (admin) */
.new-order-banner { display: none; background: var(--gold); color: var(--black); font-weight: 700; font-size: .88rem; text-align: center; padding: 12px 20px; }
.new-order-banner.show { display: block; animation: bannerFlash 1s ease-in-out 3; }
.new-order-banner a { color: var(--black); text-decoration: underline; margin-left: 10px; }
@keyframes bannerFlash { 0%, 100% { background: var(--gold); } 50% { background: var(--red); color: #fff; } }

/* Admin live search suggestions */
.search-suggest-wrap { position: relative; }
.search-suggest-dropdown { display: none; position: absolute; top: calc(100% + 4px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 20px rgba(0,0,0,.15); max-height: 280px; overflow-y: auto; z-index: 40; }
.search-suggest-dropdown.show { display: block; }
.search-suggest-dropdown a { display: block; padding: 9px 12px; font-size: .85rem; color: var(--ink); border-bottom: 1px solid var(--line); }
.search-suggest-dropdown a:last-child { border-bottom: none; }
.search-suggest-dropdown a:hover { background: var(--bg); }
.search-suggest-dropdown .none { padding: 9px 12px; font-size: .82rem; color: var(--muted); }

@media (max-width: 900px) {
  .cat-tiles { grid-template-columns: repeat(3, 1fr); }
  .admin-wrap { grid-template-columns: 1fr; }
  .layout { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .steps { display: none; }
  .search-bar { order: 3; max-width: none; width: 100%; }
  footer.site-footer .foot-grid { grid-template-columns: 1fr 1fr; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .hero { flex-direction: column; text-align: center; }
  .hero-text p { max-width: none; }
  .menu-grid { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 50px 1fr; grid-template-areas: "thumb name" "thumb qty"; row-gap: 6px; }
}

/* ---- Announcement bar ---- */
.announce-bar { background: var(--gold); color: var(--black); font-size: .82rem; font-weight: 700; text-align: center; padding: 8px 16px; }

/* One-time delivery-location nudge banner */
.location-banner { background: #fff8ea; border-bottom: 1px solid #eddca0; padding: 10px 0; }
.location-banner-inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: .85rem; color: var(--brown); }
.location-banner-inner form { display: flex; gap: 8px; margin: 0; }
.location-banner-inner form:first-of-type { margin-left: auto; }
.location-banner-inner form input[type="text"] { width: 180px; padding: 6px 10px; font-size: .82rem; }
.location-banner-inner form button[type="submit"]:not(.location-banner-dismiss) { background: var(--gold); color: var(--black); border: none; padding: 6px 14px; border-radius: 6px; font-size: .82rem; font-weight: 700; cursor: pointer; }
.location-banner-dismiss { background: none; border: none; color: var(--brown); font-size: 1rem; cursor: pointer; padding: 4px 6px; }
.location-banner-dismiss:hover { color: var(--red-dark); }
@media (max-width: 720px) {
  .location-banner-inner form { margin-left: 0; width: 100%; }
  .location-banner-inner form input[type="text"] { flex: 1; width: auto; }
}

/* ---- Quick benefits ---- */
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 30px 0 40px; }
.benefit-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; text-align: center; }
.benefit-card .ic { font-size: 1.8rem; display: block; margin-bottom: 10px; }
.benefit-card .t { font-weight: 800; font-size: .92rem; margin-bottom: 4px; }
.benefit-card .d { color: var(--muted); font-size: .8rem; line-height: 1.4; }

/* ---- Delivery calculator section ---- */
.delivery-calc { background: var(--black); color: #fff; border-radius: var(--radius); padding: 36px 40px; margin: 40px 0; text-align: center; }
.delivery-calc h2 { font-size: 1.4rem; margin: 0 0 6px; font-weight: 800; }
.delivery-calc p { color: #d9d2c2; margin: 0 0 20px; }
.delivery-calc-form { display: flex; gap: 10px; max-width: 420px; margin: 0 auto 16px; }
.delivery-calc-form input { flex: 1; padding: 12px 14px; border: none; border-radius: 6px; font-size: .92rem; }
.delivery-calc-form button { background: var(--gold); color: var(--black); border: none; padding: 0 22px; border-radius: 6px; font-weight: 700; cursor: pointer; }
.delivery-result { display: inline-block; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 8px; padding: 10px 18px; font-size: .88rem; }
.delivery-result strong { color: var(--gold); }

/* ---- Restaurant CTA banner ---- */
.rest-cta-banner { background: linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%); border-radius: var(--radius); padding: 36px 40px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 40px 0; }
.rest-cta-banner h2 { font-size: 1.4rem; margin: 0 0 8px; font-weight: 800; }
.rest-cta-banner p { margin: 0 0 16px; color: #fbe4de; max-width: 420px; }
.rest-cta-banner .btn { background: var(--gold); color: var(--black); }
.rest-cta-banner .emoji { font-size: 3.5rem; }

/* ---- Why us ---- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.why-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; }
.why-card .t { font-weight: 800; font-size: .95rem; margin-bottom: 6px; }
.why-card .d { color: var(--muted); font-size: .82rem; line-height: 1.5; }

/* ---- Testimonials ---- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
.testimonial-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.testimonial-card .stars { color: var(--gold); margin-bottom: 8px; }
.testimonial-card .quote { font-size: .87rem; line-height: 1.5; margin-bottom: 10px; }
.testimonial-card .who { font-weight: 700; font-size: .82rem; color: var(--muted); }
.testimonial-empty { background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); padding: 30px; text-align: center; color: var(--muted); font-size: .88rem; margin-bottom: 40px; }

/* ---- Store info ---- */
.store-info-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 40px; align-items: start; }
.store-info-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.store-info-card .row { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .88rem; }
.store-info-card .row:last-child { border-bottom: none; }
.store-info-card .row .ic { font-size: 1.1rem; }
.store-info-card .row .lbl { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 2px; }
.store-info-card .row .val { font-weight: 600; }
.store-map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 220px; background: var(--bg); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: .85rem; }
.store-info-missing { color: var(--muted); font-size: .85rem; font-style: italic; }

/* ---- FAQ accordion ---- */
.faq-list { max-width: 760px; margin-bottom: 40px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; }
.faq-q { padding: 16px 20px; font-weight: 700; font-size: .92rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-q .arrow { transition: transform .15s; color: var(--gold-dark); }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; padding: 0 20px; color: var(--muted); font-size: .87rem; line-height: 1.6; transition: max-height .2s ease, padding .2s ease; }
.faq-item.open .faq-a { max-height: 300px; padding: 0 20px 16px; }

/* ---- Final CTA ---- */
.final-cta { background: linear-gradient(120deg, var(--black) 0%, var(--black-soft) 100%); border-radius: var(--radius); padding: 44px 40px; color: #fff; text-align: center; margin: 40px 0 10px; }
.final-cta h2 { font-size: 1.6rem; margin: 0 0 10px; font-weight: 800; }
.final-cta p { color: #d9d2c2; margin: 0 0 22px; max-width: 480px; margin-left: auto; margin-right: auto; }
.final-cta .btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.final-cta .btn.secondary-cta { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); }

@media (max-width: 900px) {
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .store-info-wrap { grid-template-columns: 1fr; }
  .delivery-calc-form { flex-direction: column; }
  .rest-cta-banner { flex-direction: column; text-align: center; }
}

/* ---- Certification logos strip ---- */
.cert-strip { display: flex; align-items: center; gap: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 26px; }
.cert-strip img { height: 56px; width: auto; object-fit: contain; }
