:root {
  --red: #B71C1C; --red2: #D32F2F; --orange: #F57C00; --amber: #FFB300;
  --cream: #FFF8EE; --card: #FFFFFF; --ink: #3E2723; --muted: #8D6E63; --line: #F0E0CC;
  --green: #2E7D32; --radius: 14px; --shadow: 0 2px 10px rgba(62,39,35,.08);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--cream); color: var(--ink); font-size: 16px; line-height: 1.4; padding-bottom: 84px; }
a { color: var(--red); }
h1, h2, h3 { margin: 0 0 .4em; line-height: 1.2; }
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; background: linear-gradient(90deg, var(--red), var(--red2) 60%, var(--orange)); color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.brand { display: flex; gap: 10px; align-items: center; color: #fff; text-decoration: none; }
.brand-logo { height: 50px; width: auto; flex: none; display: block; filter: drop-shadow(0 1px 2px rgba(0,0,0,.25)); }
.brand-text strong { display: block; font-size: 17px; letter-spacing: .2px; }
.brand-text small { opacity: .9; font-size: 12px; }
.header-cart { position: relative; font-size: 24px; text-decoration: none; padding: 6px; }
.header-cart .count { position: absolute; top: -2px; right: -6px; background: var(--amber); color: var(--red); font-size: 12px; font-weight: 800;
  border-radius: 10px; padding: 1px 6px; }
main { max-width: 760px; margin: 0 auto; padding: 0 12px; }
.loading { padding: 40px; text-align: center; color: var(--muted); }
.hero { margin: 14px 0 6px; padding: 20px 18px; border-radius: var(--radius); color: #fff;
  background: radial-gradient(circle at 85% 20%, rgba(255,179,0,.55), transparent 45%), linear-gradient(135deg, #8E1B10, var(--red2) 55%, var(--orange)); }
.hero h1 { font-size: 26px; }
.hero p { margin: 0 0 10px; opacity: .95; }
.chips { position: sticky; top: 62px; z-index: 10; display: flex; gap: 8px; overflow-x: auto; padding: 10px 0; background: var(--cream); scrollbar-width: none; }
.chips a { flex: none; padding: 7px 14px; border-radius: 20px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14px; }
.category { scroll-margin-top: 120px; margin-top: 8px; }
.category h2 { font-size: 20px; margin: 10px 2px; }
.items { display: grid; gap: 10px; }
@media (min-width: 640px) { .items { grid-template-columns: 1fr 1fr; } }
.item { display: flex; gap: 12px; background: var(--card); border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow); }
.item.is-sold-out { opacity: .6; }
.thumb { width: 92px; height: 92px; border-radius: 10px; object-fit: cover; flex: none; }
.thumb-ph { display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #FFE0B2, #FFCC80 50%, #FFAB91); color: var(--muted); }
.thumb-ph span { font-size: 38px; }
.thumb-ph small { font-size: 10px; text-transform: uppercase; letter-spacing: .5px; }
.item-body { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.item-body h3 { font-size: 16px; margin-bottom: 2px; }
.item-body p { margin: 0 0 6px; color: var(--muted); font-size: 13px; }
.item-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { font-weight: 800; color: var(--red); font-size: 17px; }
.btn { display: inline-block; border: 0; border-radius: 24px; padding: 9px 16px; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none; text-align: center; }
.btn:disabled { opacity: .6; }
.btn-add { background: var(--orange); color: #fff; }
.btn-primary { background: var(--red); color: #fff; }
.btn-outline { background: #fff; color: var(--red); border: 2px solid var(--red); }
.btn-block { display: block; width: 100%; padding: 14px; font-size: 17px; margin: 12px 0; }
.stepper { display: inline-flex; align-items: center; gap: 4px; background: #FFF3E0; border-radius: 22px; padding: 3px; }
.stepper button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--orange); color: #fff; font-size: 20px; font-weight: 700; cursor: pointer; line-height: 1; }
.stepper b { min-width: 22px; text-align: center; }
.sold-out-pill { background: #EEE; color: #666; font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 14px; text-transform: uppercase; }
.cart-bar { position: fixed; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 30; max-width: 740px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 14px 16px; border-radius: 16px;
  background: var(--red); color: #fff; text-decoration: none; box-shadow: 0 6px 18px rgba(183,28,28,.4); font-size: 15px; }
.cart-bar[hidden] { display: none; }
.panel { background: var(--card); border-radius: var(--radius); padding: 16px; margin: 12px 0; box-shadow: var(--shadow); }
.panel.empty, .confirm { text-align: center; }
.big { font-size: 54px; }
.back { display: inline-block; margin-top: 12px; text-decoration: none; font-weight: 600; }
.cart-lines, .summary-lines { list-style: none; margin: 0; padding: 0; }
.cart-lines li { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "n n" "s t"; gap: 6px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-lines li > div { grid-area: n; } .cart-lines .stepper { grid-area: s; justify-self: start; } .line-total { grid-area: t; font-weight: 700; }
.cart-lines small { display: block; color: var(--muted); }
form label { display: block; font-weight: 600; font-size: 14px; margin: 10px 0; }
form input:not([type=radio]):not([type=checkbox]), form textarea, form select { display: block; width: 100%; margin-top: 4px; padding: 12px; font: inherit; border: 1.5px solid var(--line); border-radius: 10px; background: #FFFCF8; }
form input:focus, form textarea:focus, form select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(245,124,0,.15); }
label[hidden] { display: none; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0; }
.seg label { margin: 0; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 12px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; }
.seg input:checked + span { border-color: var(--red); background: #FFEBEE; color: var(--red); }
fieldset.pay { border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 12px; margin: 10px 0; }
fieldset.pay legend { font-weight: 600; font-size: 14px; padding: 0 4px; }
label.radio { font-weight: 500; display: flex; gap: 8px; align-items: center; margin: 6px 0; }
.totals div, .summary-lines li { display: flex; justify-content: space-between; padding: 5px 0; }
.totals small { color: var(--muted); font-weight: 400; }
.totals .grand, .summary-lines .grand { font-weight: 800; font-size: 18px; border-top: 1px dashed var(--line); margin-top: 4px; padding-top: 8px; }
.totals [hidden] { display: none; }
.error { background: #FFEBEE; color: var(--red); padding: 10px 12px; border-radius: 10px; font-weight: 600; }
.error[hidden] { display: none; }
.order-no { margin: 10px auto; padding: 10px; background: #FFF3E0; border-radius: 12px; display: inline-block; }
.order-no b { display: block; font-size: 24px; letter-spacing: 1px; color: var(--red); }
.tracker { list-style: none; padding: 0; margin: 16px 0; text-align: left; }
.tracker li { display: flex; align-items: center; gap: 12px; padding: 7px 0; color: #BCAAA4; position: relative; }
.tracker .dot { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #F5F0EB; filter: grayscale(1); font-size: 18px; flex: none; }
.tracker li.done { color: var(--green); } .tracker li.done .dot { background: #E8F5E9; filter: none; }
.tracker li.current { color: var(--red); font-weight: 800; font-size: 17px; }
.tracker li.current .dot { background: #FFE0B2; filter: none; box-shadow: 0 0 0 4px rgba(245,124,0,.25); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(245,124,0,.08); } }
.status-now small { display: block; color: var(--muted); }
.status-cancelled { background: #EEE; padding: 12px; border-radius: 10px; margin: 12px 0; }
.hint, .pay-note { color: var(--muted); font-size: 13px; }
.site-footer { text-align: center; color: var(--muted); font-size: 12px; padding: 20px 12px; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: 90px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 20px; font-size: 14px; z-index: 50; }
.toast[hidden] { display: none; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.hero-badges span { background: rgba(0,0,0,.22); padding: 5px 10px; border-radius: 20px; font-size: 13px; font-weight: 600; }
#address-field[hidden] { display: none; }
.area-note { background: #FFF3E0; border-radius: 10px; padding: 8px 10px; font-size: 13px; margin: 6px 0; }
form input:disabled { color: var(--muted); background: #F7F1EA; }

.btn-whatsapp { background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 4px 12px rgba(37,211,102,.35); }
.btn-whatsapp:active { background: #1EBE5A; }

.contact { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 14px; font-size: 14px; color: var(--ink); }
.contact .tel { display: inline-block; min-width: 230px; padding: 9px 14px; border-radius: 22px; background: #fff; border: 1.5px solid var(--line); text-decoration: none; font-weight: 700; color: var(--red); }
.contact .tel.wa { color: #128C4A; border-color: #BFE9CF; }

/* opening hours / status */
.status-badge { display: inline-block; font-size: 13px; font-weight: 800; padding: 5px 11px; border-radius: 20px; margin-bottom: 10px; }
.status-badge.is-open { background: #E8F5E9; color: #1B5E20; }
.status-badge.is-closed { background: #fff; color: var(--red); }
.closed-banner { margin: 12px 0 0; padding: 12px 14px; border-radius: var(--radius); background: #FFF3E0; border: 2px solid #FFB74D; color: var(--ink); display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.closed-banner b { color: var(--red); font-size: 16px; }
.closed-block { border: 2px solid #FFB74D; background: #FFF8E1; }
.closed-block h3 { color: var(--red); }
.btn-primary:disabled { background: #BCAAA4; }
.footer-info { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 14px; color: var(--ink); font-size: 14px; }
.footer-address { max-width: 320px; line-height: 1.6; }
.footer-hours { background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 14px; min-width: 260px; }
.footer-hours > b { display: block; margin-bottom: 4px; }
.footer-hours div { display: flex; justify-content: space-between; gap: 14px; padding: 2px 0; }
.footer-status { justify-content: center !important; margin-top: 6px; }
.footer-status .status-badge { margin: 0; border: 1px solid var(--line); }
.maps-link { font-weight: 700; }
.pickup-box { background: #FFF3E0; border-radius: 10px; padding: 10px 12px; font-size: 14px; margin: 8px 0; line-height: 1.6; }
.pickup-box[hidden], #bank-field[hidden], .bank-note[hidden], #t-fee-row[hidden] { display: none; }
/* bank transfer */
.bank-box { background: #FFFDF7; border: 1.5px dashed #FFB74D; border-radius: 12px; padding: 10px 12px; margin: 8px 0; }
.bank-box small { display: block; color: var(--muted); font-size: 12px; }
.bank-name { padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.bank-name b { font-size: 14px; letter-spacing: .2px; }
.bank-acct { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.bank-acct:last-of-type { border-bottom: 0; }
.acct-no { font-size: 20px; letter-spacing: 1px; font-variant-numeric: tabular-nums; }
.btn-copy { background: var(--orange); color: #fff; min-width: 76px; }
.btn-small { padding: 6px 12px; font-size: 13px; }
.bank-note { font-size: 13px; color: var(--ink); background: #FFF3E0; border-radius: 8px; padding: 8px 10px; margin: 8px 0 0; }
.fee-note span { color: var(--muted); font-size: 14px; }
.pay-wait { background: #FFF8E1; border-left: 4px solid #FFB300; padding: 8px 10px; border-radius: 6px; font-weight: 600; }
.pay-amount { font-size: 17px; }
.paid-ok { color: var(--green); font-weight: 800; }
#payment-panel h3 { margin-bottom: 8px; }

/* custom orders + catering */
.item-custom { border: 1.5px dashed #81C784; }
.custom-label { color: #2E7D32 !important; font-weight: 600; }
.btn-ask { box-shadow: none; padding: 8px 14px; }
.events-teaser { display: flex; align-items: center; gap: 12px; margin: 10px 0 0; padding: 12px 14px; border-radius: var(--radius);
  background: linear-gradient(135deg, #FFF8E1, #FFE0B2); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); border: 1px solid #FFCC80; }
.events-teaser .ev-emoji { font-size: 30px; }
.events-teaser b { display: block; color: var(--red); font-size: 16px; }
.events-teaser small { color: var(--ink); font-size: 13px; }
.catering-intro { margin-top: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.row2 label { margin: 10px 0; }
#venue-field[hidden], #catering-done[hidden], #catering-form[hidden] { display: none; }
.catering-done { text-align: center; }
.contact .contact-sub { margin-top: 8px; }
.item-custom .item-foot { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-call { background: #fff; color: var(--red); border: 1.5px solid var(--line); display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
fieldset.pickup-box { border: 0; }
fieldset.pickup-box legend { font-weight: 600; padding: 0; }
.pickup-box label.radio { display: block; margin: 6px 0; }
.footer-shop { margin-top: 4px; }
.receipt-note { background: #E8F5E9; border-radius: 10px; padding: 10px 12px; font-size: 14px; line-height: 1.5; margin: 8px 0; }
#pdf-btn { margin-bottom: 10px; }
