/* Resto guest pages: menu, QR ordering, online orders, tracking, bookings. Light and mobile first. */
:root { --brand: #FF5A2C; --ink: #14161c; --muted: #6b7280; --line: #ece8e3; --bg: #fbfaf8; --card: #fff; --ok: #16a34a; --font: "Plus Jakarta Sans", "Noto Sans Georgian", system-ui, sans-serif; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--font); }
a { color: inherit; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid color-mix(in srgb, var(--brand) 40%, transparent); border-color: var(--brand); }
[x-cloak] { display: none !important; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 16px; }
.hero { background: radial-gradient(700px 300px at 10% -10%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 70%), #fff; border-bottom: 1px solid var(--line); padding: 26px 0 18px; }
.hero h1 { margin: 0; font-size: clamp(26px, 6vw, 38px); letter-spacing: -.03em; line-height: 1.1; }
.hero p { margin: 6px 0 0; color: var(--muted); }
.logo { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; }
.row { display: flex; gap: 10px; align-items: center; }
.grow { flex: 1; min-width: 0; }
.muted { color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 20px; border-radius: 14px; font-weight: 700; background: var(--brand); color: #fff; text-decoration: none; box-shadow: 0 12px 24px -14px var(--brand); transition: transform .08s; }
.btn:active { transform: scale(.97); }
.btn.light { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.cats { position: sticky; top: 0; z-index: 5; background: rgba(251,250,248,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.cats .wrap { display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px; scrollbar-width: none; }
.chip { flex: none; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 14px; white-space: nowrap; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
h2.cat { margin: 26px 0 10px; font-size: 21px; letter-spacing: -.02em; scroll-margin-top: 70px; }
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.item { display: grid; grid-template-columns: 1fr 96px; gap: 12px; padding: 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); text-align: left; width: 100%; }
.item.na { opacity: .45; }
.item h3 { margin: 0; font-size: 16px; }
.item p { margin: 4px 0 8px; color: var(--muted); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item .img { width: 96px; height: 96px; border-radius: 14px; object-fit: cover; background: linear-gradient(135deg, #fde7dc, #fff4ec); display: grid; place-items: center; font-size: 34px; }
.price { font-weight: 800; }
.tag { display: inline-block; font-size: 11.5px; padding: 2px 8px; border-radius: 999px; background: #f3f0eb; color: #57534e; margin-right: 4px; }
.cartbar { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--bg) 30%); z-index: 20; }
.cartbar .btn { width: 100%; max-width: 560px; margin: 0 auto; display: flex; justify-content: space-between; }
.sheet-bg { position: fixed; inset: 0; background: rgba(20,22,28,.45); z-index: 30; display: flex; align-items: flex-end; justify-content: center; }
.sheet { background: #fff; width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; border-radius: 24px 24px 0 0; padding: 20px 18px calc(20px + env(safe-area-inset-bottom)); animation: up .22s ease; }
@media (min-width: 700px) { .sheet-bg { align-items: center; } .sheet { border-radius: 24px; } }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.sheet h3 { margin: 0 0 4px; font-size: 21px; }
.opt { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); margin-top: 8px; width: 100%; text-align: left; }
.opt.on { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 7%, #fff); }
.qty { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 12px; }
.qty button { width: 40px; height: 40px; font-size: 20px; font-weight: 700; }
.qty b { min-width: 24px; text-align: center; }
.line { display: flex; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 18px 0; }
.steps div { height: 6px; border-radius: 6px; background: var(--line); }
.steps div.on { background: var(--brand); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.slot { padding: 10px 0; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; }
.slot.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 600; z-index: 60; max-width: 90vw; }
.foot { padding: 40px 0 120px; color: var(--muted); font-size: 13px; text-align: center; }
.foot a { color: var(--muted); }
.langs a { text-decoration: none; padding: 4px 8px; border-radius: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.langs a.on { background: var(--ink); color: #fff; }
@media (max-width: 520px) { .grid2 { grid-template-columns: 1fr; } .item { grid-template-columns: 1fr 84px; } .item .img { width: 84px; height: 84px; } }
