/* Ordering controls on the shared JAMZ printed-menu design. */
button,input,textarea,select { font:inherit; }
button,a { touch-action:manipulation; }
button { cursor:pointer; }
button:disabled { opacity:.5; cursor:not-allowed; }
[hidden] { display:none!important; }
.brand img { width:110px; height:52px; object-fit:contain; filter:brightness(0) invert(94%) sepia(9%); }
.header[data-solid="true"] .brand img { filter:none; }
.jumpnav { position:sticky; top:74px; z-index:90; }
.category[id],#allergens { scroll-margin-top:160px; }
.menu-section + .menu-section { padding-top:0; }
.mrow { grid-template-columns:minmax(0,1fr) auto; }
.mrow__name,.mrow__desc,.simple .name { overflow-wrap:anywhere; }
.mrow__prices { flex-wrap:wrap; max-width:400px; }
.order-add { background:var(--red); color:var(--cream); border:0; border-radius:30px; padding:9px 17px; min-height:44px; font:700 .8rem var(--body); white-space:nowrap; }
.order-add:hover:not(:disabled) { background:var(--red-bright); }
.mrow>.order-add { grid-column:2; justify-self:end; }
.simple li { flex-wrap:wrap; align-items:center; }
.simple .name { flex:1 1 140px; }
.simple .dots { min-width:12px; }
.simple .order-add { margin-left:auto; }
.simple-prices { display:flex; gap:12px; }
.simple-prices .price-cell { min-width:0; text-align:right; }
.simple-prices .price-cell b { color:var(--red); }
.simple .tag { margin-left:8px; }
.section--ink .order-add { background:var(--gold); color:var(--ink); }
.section--ink .order-add:hover:not(:disabled) { background:var(--cream); }
.section--ink .price-cell b,.section--ink .cat h2 { color:var(--gold); }
.section--ink .cat__rule { background:var(--gold); }
.section--ink .price-cell span { color:var(--muted-dark); }
.unavailable { font-size:.8rem; color:var(--muted); }
.section--ink .unavailable { color:var(--muted-dark); }
.allergy p { max-width:76ch; color:var(--muted); }
footer { padding:30px var(--pad) 120px; text-align:center; font-size:.85rem; color:var(--muted); }
.basket-bar { position:fixed; right:24px; bottom:20px; z-index:110; justify-content:center; flex-wrap:wrap; box-shadow:0 5px 20px #0003; max-width:calc(100vw - 32px); }
.cart-count { display:inline-grid; place-items:center; min-width:24px; height:24px; padding:0 5px; border:1px solid #f6ede077; border-radius:50%; letter-spacing:0; }
#basketTotal { white-space:nowrap; letter-spacing:0; }
.primary,.outline { display:inline-flex; align-items:center; justify-content:center; gap:12px; min-height:48px; padding:12px 18px; border-radius:30px; font-weight:700; text-decoration:none; }
.primary { background:var(--red); color:var(--cream); border:0; }
.primary:hover:not(:disabled) { background:var(--red-bright); }
.outline { background:transparent; color:var(--ink); border:1px solid #bdad98; }
dialog { width:520px; max-width:calc(100vw - 28px); max-height:90dvh; overflow:auto; border:2px solid var(--cream-dim); border-radius:18px; padding:30px; background:var(--cream); color:var(--ink); box-shadow:0 8px 40px #0003; }
dialog::backdrop { background:#16100fbb; }
dialog h2 { font-size:2rem; margin:10px 0 24px; padding-right:24px; }
dialog .primary { width:100%; margin-top:15px; }
dialog .eyebrow { padding-right:30px; color:var(--ink); font-size:.7rem; letter-spacing:.1em; }
.close { position:absolute; right:12px; top:12px; background:none; border:0; font-size:28px; width:44px; height:44px; }
label { display:block; font-weight:600; margin:14px 0; }
input:not([type="checkbox"]),select,textarea { display:block; width:100%; font:inherit; padding:12px; margin-top:7px; background:#fffaf2; color:var(--ink); border:1px solid #bdad98; border-radius:8px; }
input[type="checkbox"] { accent-color:var(--red); width:18px; height:18px; vertical-align:middle; margin-right:8px; }
input[type="number"] { width:100px; }
textarea { resize:vertical; min-height:80px; }
fieldset { border:1px solid var(--cream-dim); border-radius:8px; padding:15px; margin:20px 0; min-width:0; }
legend { font-weight:800; }
fieldset label { font-weight:400; }
.hint { margin:12px 0; font-size:.85rem; line-height:1.5; color:var(--muted); }
.error { color:var(--red); font-weight:600; }
.total { display:flex; justify-content:space-between; gap:16px; font-size:1.2rem; font-weight:800; margin:20px 0; }
.cart-line { padding:14px 0; border-bottom:1px solid var(--cream-dim); }
.cart-line small { display:block; color:var(--muted); margin-top:6px; }
.quantity { display:flex; align-items:center; gap:14px; margin-top:12px; }
.quantity button { min-width:44px; min-height:44px; border:1px solid #bdad98; border-radius:8px; background:transparent; }
.quantity strong { margin-left:auto; white-space:nowrap; }
.order-number { font:clamp(1.4rem,5vw,2rem) var(--display); overflow-wrap:anywhere; margin:20px 0; }
#statusDialog .outline { margin-top:15px; width:100%; }
.pickup-confirmation { font-weight:800; color:var(--red); margin-top:12px; }
#closed { padding:18px 0; color:var(--red); font-weight:600; }
@media(max-width:720px) {
  .brand img { width:96px; height:46px; }
  .jumpnav { top:68px; }
  .category[id],#allergens { scroll-margin-top:145px; }
  .mrow { grid-template-columns:minmax(0,1fr); }
  .mrow__prices { width:100%; max-width:none; grid-template-columns:repeat(auto-fit,minmax(100px,1fr)); }
  .mrow>.order-add { grid-column:1; justify-self:start; margin-top:8px; }
  .simple-prices .price-cell { border:0; padding:0; background:none; }
  .basket-bar { right:16px; bottom:max(15px,env(safe-area-inset-bottom)); font-size:.75rem; gap:10px; padding:14px 18px; }
  dialog { padding:24px 20px; }
  dialog h2 { font-size:1.8rem; }
}
@media(max-width:400px) {
  .basket-bar { left:16px; right:16px; letter-spacing:.05em; }
  .cart-count { display:none; }
}

/* Public menu offers only; coupon codes never enter the ribbon. */
.offer-ribbon{display:flex;align-items:center;gap:8px;margin:24px calc(-1 * var(--pad)) 0;background:var(--cream);color:var(--red);text-align:left}
.offer-ribbon-window{overflow:hidden;flex:1;min-width:0}.offer-ribbon-track{display:flex;width:max-content;animation:offers-left 30s linear infinite}
.offer-ribbon-group{display:flex;gap:40px;padding:12px 40px 12px 0;align-items:center}.offer-ribbon-group a{white-space:nowrap;text-decoration:none;font-weight:800;letter-spacing:.03em;font-size:.95rem}
.offer-ribbon:hover .offer-ribbon-track,.offer-ribbon:focus-within .offer-ribbon-track,.offer-ribbon.paused .offer-ribbon-track{animation-play-state:paused}
#pauseRibbon{background:transparent;color:var(--red);border:0;min-width:44px;min-height:44px;font-weight:800}
@keyframes offers-left{to{transform:translateX(-50%)}}
.online-offers{padding-top:40px;scroll-margin-top:155px}.online-offers>h2{font-size:2rem;color:var(--red);margin-bottom:20px}
.online-offer{padding:20px 0;border-bottom:1px solid var(--cream-dim)}.online-offer h3{font-size:1.3rem;margin-bottom:12px}.online-offer small{display:block;color:var(--muted)}.online-offer a{display:inline-block;margin-top:8px;color:var(--red);font-weight:700}
.coupon-bar{padding:12px 0;border-top:1px solid var(--cream-dim);margin-top:20px}.coupon-controls{display:flex;gap:8px;flex-wrap:wrap}.coupon-controls input{flex:1;min-width:140px;width:140px;margin:0;text-transform:uppercase}.coupon-controls button{font-size:.9rem;padding:10px 15px}
.discount-row{display:flex;justify-content:space-between;gap:16px;font-size:.95rem;margin-top:8px}.discount-row strong{white-space:nowrap}.discount-row:not(:first-child){color:var(--red)}
.offer-line-label{color:var(--red)!important;font-weight:700}.text-button{border:0;background:none;color:var(--red);text-decoration:underline;padding:5px 0;font-size:.85rem}
.reward-choice{margin:20px 0;border:2px solid var(--red);border-radius:12px;padding:18px}.reward-choice h3{font-size:1.2rem;line-height:1.2;margin-bottom:10px}.reward-choice p{font-weight:700;color:var(--red)}
@media(prefers-reduced-motion:reduce){.offer-ribbon-track{animation:none;width:100%}.offer-ribbon-group{flex-wrap:wrap;gap:12px;padding:12px}.offer-ribbon-group a{white-space:normal}.offer-ribbon-group[aria-hidden]{display:none}#pauseRibbon{display:none}}
