/* Consistent touch and focus behavior across the cafe site. */
:where(a, button, input, textarea, select, summary, [role="button"], dialog) {
  -webkit-tap-highlight-color: transparent;
}

:focus,
:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

button::-moz-focus-inner {
  border: 0;
}

@media (pointer: coarse) {
  :where(html, body, *, *::before, *::after) {
    touch-action: manipulation;
  }

  :where(input:not([type="hidden"]), textarea, select) {
    font-size: 16px !important;
  }
}

.model:focus-visible::after { content: none !important; display: none !important; }

#cart-empty:not([hidden]) {
  width: 100%;
  margin-inline: auto;
  text-align: center;
}

#cart-drawer .drawer-body:has(#cart-empty:not([hidden])) {
  display: grid;
  place-items: center;
  text-align: center;
}

#cart-drawer #cart-items:empty {
  display: none;
}
