/* Customer pages: menu, basket, checkout, order status. Layout and colours only, no logic. */
.cat-nav { position: sticky; top: 0; z-index: 5; display: flex; gap: 8px; overflow-x: auto; padding: 10px 0; background: var(--bg); scrollbar-width: none; }
.cat-nav a { flex: none; padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 700; }
.cat-nav a:hover { background: var(--accent); }
.menu-cat h2 { margin-top: 24px; scroll-margin-top: 70px; }
.items { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .items { grid-template-columns: 1fr 1fr; } }
.item { display: flex; gap: 12px; text-align: left; width: 100%; padding: 0; border: 0; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; font: inherit; color: inherit; cursor: pointer; }
.item[disabled] { opacity: .6; cursor: not-allowed; }
.item img { width: 112px; min-height: 112px; object-fit: cover; flex: none; background: var(--line); }
.item .info { padding: 12px 12px 12px 0; flex: 1; min-width: 0; }
.item .name { font-weight: 800; }
.item .desc { color: var(--muted); font-size: .9rem; }
.item .price { font-weight: 800; color: var(--brand-dark); margin-top: 4px; }
.item .allergen { font-size: .75rem; color: var(--muted); }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px dashed var(--line); }

.basket-bar { position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--bg) 30%); z-index: 20; }
.basket-bar .btn { max-width: 880px; margin: 0 auto; display: flex; justify-content: space-between; }
body { padding-bottom: 90px; }

fieldset.opt { border: 1px solid var(--line); border-radius: 12px; margin: 14px 0; padding: 8px 14px 12px; }
fieldset.opt legend { font-weight: 800; padding: 0 6px; }
fieldset.opt .hint { color: var(--muted); font-weight: 400; font-size: .85rem; }
.opt-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-weight: 400; margin: 0; cursor: pointer; }
.opt-row input { width: 22px; height: 22px; flex: none; }
.opt-row .p { margin-left: auto; color: var(--muted); }
.item-hero { width: 100%; max-height: 220px; object-fit: cover; border-radius: 12px; margin-bottom: 10px; }
.qty { display: inline-flex; align-items: center; gap: 12px; }
.qty button { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--brand); background: transparent; font-size: 1.3rem; font-weight: 800; cursor: pointer; color: var(--brand-dark); }
.qty output { min-width: 24px; text-align: center; font-weight: 800; }
.line { display: flex; gap: 12px; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.line .opts { color: var(--muted); font-size: .9rem; }
.total-row { display: flex; justify-content: space-between; padding: 4px 0; }
.total-row.big { font-weight: 800; font-size: 1.2rem; border-top: 2px solid var(--text); margin-top: 6px; padding-top: 8px; }
.choice { display: flex; gap: 10px; flex-wrap: wrap; }
.choice label { flex: 1; min-width: 140px; margin: 0; border: 2px solid var(--line); border-radius: 12px; padding: 12px; font-weight: 700; cursor: pointer; display: flex; gap: 8px; align-items: center; }
.choice input { width: 20px; height: 20px; }
.choice label:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, white); }

.order-number { font-size: 2.6rem; font-weight: 900; letter-spacing: .04em; color: var(--brand-dark); text-align: center; margin: 0; }
.steps { list-style: none; margin: 16px 0; padding: 0; }
.steps li { display: flex; gap: 12px; align-items: center; padding: 10px 0; color: var(--muted); font-weight: 700; }
.steps li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--line); flex: none; }
.steps li.done { color: var(--ok); }
.steps li.done::before { background: var(--ok); border-color: var(--ok); }
.steps li.current { color: var(--text); font-size: 1.15rem; }
.steps li.current::before { border-color: var(--brand); background: var(--accent); }
.legal-doc h1, .legal-doc h2, .legal-doc h3 { margin-top: 1.4em; }
.legal-doc li { margin: 4px 0; }
