/* Compact restaurant context; the menu begins immediately below the service row. */
.customer-storefront .page { padding-top: 0; }
.customer-storefront .storefront-brand strong { white-space: normal; overflow: visible; overflow-wrap: anywhere; }
.storefront-service-strip { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--space-5); min-height: var(--space-8); margin-inline: calc(-1 * var(--pad-layout-gutter)); padding: var(--pad-2) var(--pad-layout-gutter); border-bottom: 1px solid var(--line); background: var(--card); font-size: var(--text-sm); }
.storefront-service-status { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); min-width: 0; }
.storefront-service-state { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: var(--fw-semibold); }
.storefront-service-state .dot { width: var(--space-2); height: var(--space-2); flex: none; border-radius: var(--pill); background: currentColor; }
.storefront-service-status.is-open .storefront-service-state { color: var(--ok); }
.storefront-service-status.is-closed .storefront-service-state { color: var(--muted); }
.storefront-service-next { color: var(--muted); }
.storefront-service-estimates { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-5); min-width: 0; }
.storefront-service-mode { display: inline-flex; align-items: center; gap: var(--space-2); }
.storefront-service-mode .ico { flex: none; color: var(--muted); }
.storefront-info { position: relative; min-width: 0; }
.storefront-info > summary { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-2); min-height: calc(var(--space-6) + var(--space-3)); color: var(--muted); cursor: pointer; list-style: none; }
.storefront-info > summary::-webkit-details-marker { display: none; }
.storefront-info[open] > summary { color: var(--ink); }
.storefront-info[open] > summary .ico { transform: rotate(180deg); }
.storefront-info-panel { position: absolute; z-index: 40; top: calc(100% + var(--space-2)); right: 0; width: min(28rem, calc(100vw - var(--space-8))); max-height: min(36rem, 60dvh); overflow-y: auto; overscroll-behavior: contain; display: grid; gap: var(--space-4); padding: var(--pad-5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-lg); color: var(--ink-soft); }
.storefront-info:not([open]) > .storefront-info-panel { display: none; }
.storefront-info-panel p, .storefront-info-panel h2, .storefront-info-panel h3 { margin: 0; }
.storefront-info-brand { display: flex; align-items: center; gap: var(--space-3); }
.storefront-info-brand > img { width: var(--space-8); height: var(--space-8); object-fit: cover; border-radius: var(--r); }
.storefront-info-brand h2 { color: var(--ink); font-size: var(--text-lg); overflow-wrap: anywhere; }
.storefront-info-brand p { margin-top: var(--space-1); color: var(--muted); font-size: var(--text-xs); }
.storefront-info-cover { display: block; width: 100%; max-height: calc(var(--space-8) * 3); object-fit: cover; border-radius: var(--r); }
.storefront-info-panel address { font-style: normal; }
.storefront-info-panel h3 { margin-bottom: var(--space-2); color: var(--ink); font-size: var(--text-sm); }
.storefront-info-hours { width: 100%; border-collapse: collapse; }
.storefront-info-hours :is(th, td) { padding-block: var(--pad-1); vertical-align: top; }
.storefront-info-hours th { text-align: left; font-weight: var(--fw-medium); }
.storefront-info-hours td { text-align: right; }
.storefront-info-timing { padding-top: var(--pad-4); border-top: 1px solid var(--line); color: var(--muted); }
.customer-storefront .menu-layout { margin-top: var(--space-4); }
@media (max-width: 55.9375rem) {
    .storefront-service-strip { grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-2) var(--space-4); }
    .storefront-service-estimates { grid-column: 1 / -1; grid-row: 2; }
    .storefront-info { grid-column: 2; grid-row: 1; }
}
@media (pointer: coarse) {
    .storefront-info > summary { min-height: var(--space-8); }
}
