/* Menu card interaction refinements.
   The existing product title link becomes a full-card hit area without adding duplicate links or JavaScript. */

.menu-item-card {
  cursor: pointer;
}

/* The base card body is positioned, which would otherwise constrain the stretched link
   to the text area. Reset it for menu cards so the link spans image + content. */
.menu-item-card .menu-item-card__body {
  position: static;
}

.menu-item-card__heading :is(h2, h3) a::after {
  position: absolute;
  z-index: 4;
  inset: 0;
  content: "";
}

.menu-item-card__heading :is(h2, h3) a:focus-visible {
  outline: none;
}

.menu-item-card__heading :is(h2, h3) a:focus-visible::after {
  outline: 3px solid #ffb14a;
  outline-offset: -3px;
}

.menu-item-card:hover .menu-item-card__heading :is(h2, h3),
.menu-item-card:focus-within .menu-item-card__heading :is(h2, h3) {
  color: var(--fire);
}

.menu-item-card .menu-prices strong {
  font-size: clamp(.9rem, .8vw, 1.02rem);
  font-weight: 850;
  line-height: 1.2;
}

.menu-item-card .menu-prices small {
  font-size: .58rem;
}

@media (pointer: coarse) {
  .menu-item-card {
    touch-action: manipulation;
  }
}
