/* Extra SPA helpers on top of customer-app.css (app-home UI) */
.screen { display: none; min-height: 100dvh; }
.screen.active { display: block; }
.screen.no-nav main { padding-bottom: 1.5rem; }
.cw-toast {
  position: fixed; z-index: 100; top: 5rem; left: 50%; transform: translateX(-50%);
  background: #222; color: #fff; border-radius: 9999px; padding: .5rem .75rem;
  font-size: 11px; font-weight: 700; opacity: 0; pointer-events: none; transition: .25s;
  max-width: 90%;
}
.cw-toast.show { opacity: 1; }
.cw-cart {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
  width: min(398px, calc(100% - 32px)); z-index: 45;
  background: #2e3132; color: #fff; border-radius: 9999px; padding: .75rem 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  box-shadow: 0 8px 24px rgba(255,0,102,.35); cursor: pointer; font-size: 13px; font-weight: 700;
}
.cw-cart.hidden { display: none; }
.cw-loader { display: none; place-items: center; padding: 2.5rem; color: #5c5f62; font-weight: 700; font-size: 13px; }
.cw-loader.show { display: grid; }
.cw-spin {
  width: 28px; height: 28px; border: 3px solid #edeef0; border-top-color: #ff0066;
  border-radius: 50%; animation: cwspin .8s linear infinite; margin-bottom: .5rem;
}
@keyframes cwspin { to { transform: rotate(360deg); } }
.qty-row { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,0,102,.1); border-radius: 9999px; padding: .25rem; }
.qty-row button {
  width: 28px; height: 28px; border-radius: 9999px; background: #fff; color: #ff0066;
  font-weight: 800; border: 0; cursor: pointer;
}
.line-row { display: grid; grid-template-columns: 1fr auto; gap: .5rem; padding: .75rem 0; border-bottom: 1px solid #edeef0; }
.field-cw { margin-bottom: .75rem; }
.field-cw label { display: block; font-size: 11px; font-weight: 700; color: #5c5f62; margin-bottom: .35rem; text-transform: uppercase; letter-spacing: .04em; }
.field-cw input, .field-cw select, .field-cw textarea {
  width: 100%; border: 1px solid #edeef0; border-radius: .75rem; padding: .75rem .9rem; background: #fff; font-size: 14px;
}
.field-cw textarea { min-height: 88px; resize: vertical; }
.nav-btn.is-active { color: #ff0066 !important; font-weight: 600; }
.nav-btn.is-active .material-symbols-outlined { font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24; }
.rest-chip { cursor: pointer; }
.rest-chip:active, .svc-tile:active { transform: scale(.97); }
#restCats button {
  flex-shrink: 0; padding: .4rem .9rem; border-radius: 9999px; font-size: 12px; font-weight: 700;
  background: #fff; color: #5c5f62; border: 1px solid #edeef0; cursor: pointer;
}
#restCats button.on { background: #ff0066; color: #fff; border-color: #ff0066; }
.prod-row {
  display: flex; gap: .75rem; align-items: flex-start; justify-content: space-between;
  padding: .9rem 1rem; background: #fff; border-bottom: 1px solid #f0f1f3;
}
.prod-row .pname { font-size: 14px; font-weight: 700; }
.prod-row .pdesc { font-size: 12px; color: #5c5f62; margin-top: .2rem; }
.prod-row .price { font-size: 13px; font-weight: 800; color: #ff0066; margin-top: .35rem; }
#menuSearch, #foodSearch { font-size: 13px; }
input[type="radio"], input[type="checkbox"] { accent-color: #ff0066; width: 18px; height: 18px; }
