:root {
  --food-ink: #1C1917;
  --food-muted: #78716C;
  --food-primary: #D97706;
  --food-deep: #92400E;
  --food-border: #E7DDD0;
  --food-bg: #FEFDF8;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--food-ink); background: var(--food-bg); font-family: Inter, -apple-system, system-ui, sans-serif; }
button, input { font: inherit; }
button { cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.food-hero { padding: 60px 20px 32px; text-align: center; background: linear-gradient(135deg, #FFF0E6 0%, #FFFBEB 100%); }
.food-back { display: inline-flex; margin-bottom: 20px; color: var(--food-deep); font-size: .88rem; font-weight: 500; text-decoration: none; }
.food-back:hover { text-decoration: underline; }
.food-hero h1 { margin: 0 0 8px; color: var(--food-deep); font: 700 2.2rem/1.2 "Playfair Display", Georgia, serif; letter-spacing: 0; }
.food-hero p { max-width: 620px; margin: 0 auto 20px; color: var(--food-muted); font-size: 1.05rem; line-height: 1.6; }
.food-note { display: inline-flex; padding: 6px 16px; border: 1px solid var(--food-border); border-radius: 100px; color: #57534E; background: rgba(255,255,255,.8); font-size: .8rem; }

.food-catalog { max-width: 980px; margin: 0 auto; padding: 14px 20px 80px; }
.food-toolbar { padding-bottom: 4px; }
.food-tabs { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; padding-bottom: 14px; }
.food-tabs button { flex: 0 0 auto; padding: 6px 14px; border: 1.5px solid var(--food-border); border-radius: 100px; color: var(--food-muted); background: #fff; font-size: .8rem; font-weight: 500; white-space: nowrap; transition: all .2s; }
.food-tabs button:hover { border-color: var(--food-deep); color: var(--food-deep); }
.food-tabs button[aria-pressed="true"] { border-color: var(--food-deep); color: #fff; background: var(--food-deep); }
.food-search input { width: 100%; min-height: 44px; padding: 10px 14px; border: 1.5px solid var(--food-border); border-radius: 10px; color: #57534E; background: #fff; }
.food-search input:focus { outline: 2px solid rgba(217,119,6,.25); border-color: var(--food-primary); }
.food-result-count { margin: 14px 0; color: var(--food-muted); font-size: .82rem; }

.food-category { margin: 0 0 34px; scroll-margin-top: 16px; }
.food-category__header { display: flex; align-items: center; gap: 12px; padding: 0 4px 12px; border-bottom: 2px solid var(--food-deep); }
.food-category__icon { width: 38px; height: 38px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #FEF3C7; font-size: 1.15rem; }
.food-category h2 { margin: 0; color: var(--food-deep); font: 700 1.18rem/1.25 "Playfair Display", Georgia, serif; letter-spacing: 0; }
.food-category__mr { display: block; margin-top: 2px; color: var(--food-muted); font-size: .76rem; }
.food-category__count { margin-left: auto; color: #A8A29E; font-size: .76rem; white-space: nowrap; }
.food-category__items { list-style: none; margin: 0; padding: 0; }
.food-item { min-height: 80px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(130px, auto) 108px; align-items: center; gap: 18px; padding: 13px 6px; border-bottom: 1px solid #F0E9DF; }
.food-item.in-basket { background: #FFFBEB; }
.food-item__name { min-width: 0; }
.food-item__en { display: block; color: var(--food-ink); font-size: .92rem; font-weight: 600; overflow-wrap: anywhere; }
.food-item__mr { display: block; margin-top: 2px; color: var(--food-muted); font-size: .78rem; }
.food-item__vendor { display: block; margin-top: 4px; color: #A8A29E; font-size: .7rem; }
.food-item__price { color: var(--food-deep); font-size: .88rem; font-weight: 700; text-align: right; }
.food-qty { display: flex; justify-self: end; align-items: center; border: 1.5px solid var(--food-border); border-radius: 9px; overflow: hidden; background: #fff; }
.food-item.in-basket .food-qty { border-color: var(--food-primary); }
.food-qty button { width: 34px; height: 34px; border: 0; color: var(--food-deep); background: transparent; font-size: 1.05rem; font-weight: 700; }
.food-qty button:hover { background: #FEF3C7; }
.food-qty span { min-width: 30px; text-align: center; font-size: .82rem; font-weight: 700; }
.food-empty { padding: 48px 20px; color: var(--food-muted); text-align: center; }

.food-basket-bar { position: fixed; right: 0; bottom: 0; left: 0; z-index: 900; display: none; align-items: center; justify-content: space-between; padding: 14px 20px; color: #fff; background: var(--food-ink); box-shadow: 0 -4px 20px rgba(0,0,0,.2); }
.food-basket-bar.visible { display: flex; }
.food-basket-bar__info { display: flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 500; }
.food-basket-bar__info > span:first-child { min-width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--food-primary); font-size: .78rem; font-weight: 700; }
.food-basket-bar button { padding: 8px 16px; border: 1px solid rgba(255,255,255,.3); border-radius: 8px; color: #fff; background: transparent; font-size: .82rem; }
.food-basket-overlay { position: fixed; inset: 0; z-index: 950; display: none; background: rgba(0,0,0,.5); }
.food-basket-overlay.open { display: block; }
.food-basket { position: fixed; top: 0; right: -400px; bottom: 0; z-index: 960; width: 380px; max-width: 90vw; display: flex; flex-direction: column; background: #fff; box-shadow: -4px 0 24px rgba(0,0,0,.15); transition: right .3s ease; }
.food-basket.open { right: 0; }
.food-basket__header { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--food-border); }
.food-basket__header h2 { margin: 0; font: 700 1.2rem/1.2 "Playfair Display", Georgia, serif; letter-spacing: 0; }
.food-basket__header button { width: 36px; height: 36px; border: 0; color: #57534E; background: transparent; font-size: 1.6rem; }
.food-basket__items { flex: 1; overflow: auto; padding: 8px 20px; }
.food-basket__empty { padding: 50px 0; color: var(--food-muted); text-align: center; }
.food-basket-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 13px 0; border-bottom: 1px solid #F5EFE6; }
.food-basket-item strong { display: block; font-size: .86rem; }
.food-basket-item small { display: block; margin-top: 3px; color: var(--food-muted); font-size: .72rem; }
.food-basket-item__side { text-align: right; }
.food-basket-item__side span { display: block; color: var(--food-deep); font-size: .82rem; font-weight: 700; }
.food-basket-item__side button { margin-top: 6px; border: 0; color: #B91C1C; background: transparent; font-size: .7rem; text-decoration: underline; }
.food-basket__footer { padding: 16px 20px; border-top: 1px solid var(--food-border); }
.food-basket__footer p { margin: 0 0 12px; color: var(--food-muted); font-size: .75rem; }
.food-whatsapp { min-height: 48px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: #25D366; font-weight: 600; text-decoration: none; }
.food-whatsapp:hover { background: #1DA851; }

@media (max-width: 680px) {
  .food-hero { padding: 40px 18px 28px; }
  .food-hero h1 { font-size: 1.85rem; }
  .food-catalog { padding: 14px 14px 74px; }
  .food-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 12px; scrollbar-width: none; }
  .food-tabs::-webkit-scrollbar { display: none; }
  .food-item { grid-template-columns: minmax(0, 1fr) 100px; gap: 8px 12px; padding: 13px 4px; }
  .food-item__price { grid-column: 1; text-align: left; font-size: .8rem; }
  .food-qty { grid-column: 2; grid-row: 1 / span 2; }
  .food-category__count { display: none; }
}