/* Pizza Caseira V41 — acabamento responsivo/acessível do cardápio público. */
:root { --pc-focus-ring: 0 0 0 3px rgba(164,59,40,.22); }
html { scroll-behavior: smooth; }
body :where(button, a, input, select, textarea) { -webkit-tap-highlight-color: transparent; }
body :where(button, a, input, select, textarea):focus-visible { outline: 2px solid #a43b28; outline-offset: 3px; box-shadow: var(--pc-focus-ring); }
body :where(button, a, .product-card, .cat-tab, .primary, .secondary) { transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, box-shadow 150ms ease, transform 150ms ease; }
body :where(button, .primary, .secondary) { touch-action: manipulation; }
body :where(input, select, textarea) { min-width: 0; max-width: 100%; }
body :where(input:not([type=checkbox]):not([type=radio]), select, textarea) { font-size: 16px; }
body :where(button:disabled, [aria-busy=true]) { cursor: wait; opacity: .72; box-shadow: none; transform: none; }
body .modal[hidden], body [hidden] { display: none !important; }
body :where(.modal, .cart-sheet, .modal-card) { overscroll-behavior: contain; }
body :where(.modal-card, .cart-sheet) { max-height: min(92dvh, 920px); overflow-y: auto; }
body .menu-footer { padding-bottom: max(18px, env(safe-area-inset-bottom)); }
body :where(.checkout-section, .checkout-card, .lookup-card, .tracking-card) { min-width: 0; }
body :where(.cart-items, .products, .option-list) { overscroll-behavior: contain; }
@media (max-width: 650px) {
  body :where(.modal-card, .checkout-card) { width: min(100% - 16px, 620px); border-radius: 18px; }
  body :where(.checkout-section input, .checkout-section select, .checkout-section textarea) { font-size: 16px; }
  body :where(.primary, .secondary, button) { min-height: 42px; }
  body :where(.lookup-result) { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
