/* Keep the original truck-site palette and make pickup controls fit its layout. */
.button > .order-entry-label,
.mobile-navigation nav > a > .order-entry-label {
  font: inherit;
}

.stop-summary-details { min-width: 0; overflow-wrap: anywhere; }
.stop-summary [data-stop-title] { line-height: 1.1; }
.stop-summary .stop-summary-notice {
  color: var(--red);
  font-weight: 700;
}
.stop-summary .stop-summary-address { font-weight: 700; }
.stop-summary .stop-summary-actions {
  flex-flow: row wrap;
  flex: 0 1 46%;
  gap: 6px 17px;
}
.stop-summary .stop-summary-actions > :is(a, button) {
  min-height: 44px;
  font-size: .8rem;
}
.stop-summary .stop-summary-actions > .text-link { display: inline-flex; align-items: center; }
.other-stops { padding-top: 28px; }
.other-stops > h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 16px; }
.other-stops .stop-card { overflow-wrap: anywhere; }
.other-stops .stop-card :is(a, button) { min-height: 44px; font-size: .8rem; text-align: left; }

.order-direct { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 17px; }
.order-card .order-direct > .order-menu-link { min-height: 44px; margin-top: 0; }
.order-page #pickup .stop-summary { margin-top: 27px; border-top: 1px solid var(--line); }
.order-page #pickup .stop-summary h3 { font-size: clamp(1.65rem, 3vw, 2.2rem); }

#detail-dialog[open][data-cart-product] {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  max-width: calc(100vw - 24px);
  max-height: 90svh;
  overflow: hidden;
}
#detail-dialog #detail-content {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scroll-padding-block: 12px;
}
#detail-dialog .dialog-close { width: 44px; height: 44px; }
#detail-dialog > .dish-order-actions {
  justify-content: flex-end;
  gap: 4px 20px;
  padding: 10px 22px;
  border-top: 1px solid var(--line);
  background: var(--cream);
}
#detail-dialog .dish-order-actions > :is(button, a) { min-height: 44px; }
.cart-pickup-link.button > .cart-pickup-label { font: inherit; line-height: 1.25; }

@media (max-width: 600px) {
  html { scroll-padding-bottom: calc(61px + env(safe-area-inset-bottom)); }
  html:has(body.has-local-cart) { scroll-padding-bottom: calc(141px + env(safe-area-inset-bottom)); }
  .mobile-quick > a { gap: 4px; }
  .stop-summary .stop-summary-actions { margin-top: 10px; }
  #detail-dialog .dish-detail-image { padding: 16px 25px 10px; }
  #detail-dialog .dish-detail-image img { height: clamp(120px, 23svh, 192px); }
  #detail-dialog > .dish-order-actions { justify-content: flex-start; padding: 8px 13px; }
  #detail-dialog > .dish-order-actions a { margin-left: auto; }
}

@media (max-width: 600px) and (max-height: 650px) {
  .home-hero { height: max(510px, 88svh); min-height: 0; }
  .hero-heading { top: 98px; }
  .hero-caption { bottom: 157px; }
  .hero-food { bottom: 121px; }
  .hero-food img { height: 96px; }
  .hero-tickets { bottom: 14px; }
}
