/* Contract for Prompt 01 integration; inert until an .ab-guest wrapper is added.
   No CSS layers/nesting, :has(), container queries, color-mix() or oklch(). */
.ab-guest { margin: 0; min-height: 100vh; text-align: left; }
.ab-guest :where(h1, h2, h3, p, ul, dl, dd) { margin: 0; }
.ab-guest a { color: var(--ab-link); text-underline-offset: 0.2em; }
.ab-guest .shop-shell { max-width: 720px; margin: auto; padding: 24px 16px 144px; }
.ab-guest .shop-header { padding: 16px 0 24px; border-bottom: 1px solid var(--ab-rule); }
.ab-guest .shop-eyebrow { color: var(--ab-muted); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.ab-guest .shop-title { margin: 12px 0 8px; font-size: clamp(32px, 7vw, 48px); line-height: 1.05; letter-spacing: -0.045em; font-weight: 600; overflow-wrap: anywhere; }
.ab-guest .shop-meta { color: var(--ab-muted); font-size: 14px; }
.ab-guest .shop-note { margin-top: 16px; padding: 12px 16px; border-radius: 12px; background: var(--ab-surface-muted); font-size: 14px; }
.ab-guest .shop-categories { display: flex; gap: 8px; overflow-x: auto; padding: 16px 0; position: sticky; top: 0; background: var(--ab-paper); z-index: 5; scrollbar-width: thin; }
.ab-guest .shop-category { flex-shrink: 0; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; color: var(--ab-ink); border: 1px solid var(--ab-control); border-radius: 99px; background: var(--ab-paper); text-decoration: none; font-size: 14px; font-weight: 600; }
.ab-guest .shop-category[aria-current="true"] { background: var(--ab-ink); color: var(--ab-paper); border-color: var(--ab-ink); }
.ab-guest .shop-section { margin-top: 16px; scroll-margin-top: 92px; }
.ab-guest .shop-section-title { font-size: 24px; line-height: 1.2; letter-spacing: -0.025em; font-weight: 600; padding: 16px 0; }
.ab-guest .shop-dish { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--ab-rule); }
.ab-guest .shop-dish--no-photo { grid-template-columns: minmax(0, 1fr) auto; }
.ab-guest .shop-dish-name { font-size: 18px; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.ab-guest .shop-dish-description { margin: 6px 0 12px; font-size: 14px; color: var(--ab-muted); line-height: 1.5; }
.ab-guest .shop-price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ab-guest .shop-dish-aside { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.ab-guest .shop-photo { width: 96px; height: 96px; object-fit: cover; border-radius: 16px; background: var(--ab-surface-muted); }
.ab-guest .shop-quantity { display: inline-flex; align-items: center; border: 1px solid var(--ab-control); border-radius: 12px; overflow: visible; }
.ab-guest .shop-quantity button { min-width: 44px; min-height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--ab-ink); cursor: pointer; font-size: 22px; }
.ab-guest .shop-quantity output { min-width: 24px; text-align: center; font-variant-numeric: tabular-nums; }
.ab-guest .shop-add { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 1px solid var(--ab-control); border-radius: 12px; background: var(--ab-surface); color: var(--ab-ink); font-size: 24px; cursor: pointer; }
.ab-guest .shop-badge { display: inline-block; margin: 8px 4px 0 0; padding: 3px 7px; border: 1px solid currentColor; border-radius: 6px; color: var(--ab-positive); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; }
.ab-guest .shop-badge--vegan { background: var(--ab-positive-soft); }
.ab-guest .shop-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 12px; background: var(--ab-accent); color: var(--ab-accent-ink); font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color 150ms ease; text-align: center; }
.ab-guest .shop-button--secondary { color: var(--ab-ink); background: transparent; border-color: var(--ab-control); }
.ab-guest button:disabled { opacity: 0.5; cursor: not-allowed; }
.ab-guest .shop-cart { position: fixed; left: 16px; right: 16px; bottom: 16px; bottom: max(16px, env(safe-area-inset-bottom)); max-width: 688px; margin: auto; z-index: 10; }
.ab-guest .shop-cart .shop-button { width: 100%; justify-content: space-between; min-height: 56px; border: 1px solid var(--ab-ink); }
.ab-guest .shop-cart-count { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; min-height: 28px; border: 1px solid currentColor; border-radius: 8px; }
.ab-guest .shop-dialog { position: fixed; inset: 0; width: calc(100% - 32px); max-width: 480px; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); margin: auto; padding: 24px; overflow-y: auto; border: 1px solid var(--ab-control); border-radius: 24px; background: var(--ab-paper); color: var(--ab-ink); }
.ab-guest .shop-dialog:not([open]) { display: none; }
.ab-guest .shop-dialog::backdrop { background: rgba(20, 17, 14, 0.55); }
/* For the JS dialog fallback on Safari 15.0–15.3: backdrop is a sibling. */
.ab-guest .shop-dialog[open][data-fallback] { z-index: 30; }
.ab-guest .shop-dialog-backdrop { position: fixed; inset: 0; z-index: 20; background: rgba(20, 17, 14, 0.55); }
.ab-guest .shop-dialog-header { display: flex; align-items: start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.ab-guest .shop-dialog-title { font-size: 26px; line-height: 1.15; letter-spacing: -0.025em; }
.ab-guest .shop-field { display: grid; gap: 6px; margin: 20px 0; }
.ab-guest .shop-field label { font-weight: 600; font-size: 14px; }
.ab-guest .shop-input { display: block; width: 100%; min-height: 48px; border: 1px solid var(--ab-control); border-radius: 10px; padding: 12px; color: var(--ab-ink); background: var(--ab-surface); font-size: 16px; }
.ab-guest .shop-input[aria-invalid="true"] { border: 2px solid var(--ab-negative); }
.ab-guest .shop-error { padding: 12px; margin: 12px 0; color: var(--ab-negative); background: var(--ab-negative-soft); border-left: 3px solid currentColor; font-size: 14px; }
.ab-guest .shop-summary { padding: 20px; background: var(--ab-surface); border: 1px solid var(--ab-rule); border-radius: 24px; margin: 24px 0; }
.ab-guest .shop-summary-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; }
.ab-guest .shop-summary-row + .shop-summary-row { border-top: 1px solid var(--ab-rule); }
.ab-guest .shop-summary-row dd { white-space: nowrap; font-variant-numeric: tabular-nums; }
.ab-guest .shop-actions { display: grid; gap: 12px; margin: 24px 0; }
.ab-guest .shop-empty { padding: 32px 24px; margin-top: 24px; border: 1px solid var(--ab-rule); border-radius: 24px; }
.ab-guest .shop-empty p { margin-top: 8px; color: var(--ab-muted); }
.ab-guest .shop-footer { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--ab-rule); color: var(--ab-muted); font-size: 13px; }
.ab-guest .shop-skeleton { border-radius: 8px; min-height: 20px; background: var(--ab-surface-muted); animation: shop-pulse 1s ease-in-out infinite alternate; }
@keyframes shop-pulse { to { opacity: 0.5; } }
@media (any-hover: hover) {
  .ab-guest .shop-button:hover { background: var(--ab-accent-hover); }
  .ab-guest .shop-button--secondary:hover, .ab-guest .shop-add:hover, .ab-guest .shop-quantity button:hover { background: var(--ab-surface-muted); }
}
@media (min-width: 640px) { .ab-guest .shop-shell { padding-top: 48px; } .ab-guest .shop-dish { grid-template-columns: minmax(0, 1fr) 112px; } .ab-guest .shop-photo { width: 112px; height: 112px; } }
@media (prefers-reduced-motion: reduce) { .ab-guest *, .ab-guest *::before, .ab-guest *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }


/* Production components. Keep the existing cart targets and server contracts. */
.ab-guest .shop-main { max-width: 720px; margin: auto; padding: 32px 16px 48px; }
.ab-guest .shop__header { padding: 8px 0 24px; border-bottom: 2px solid var(--ab-ink); margin-bottom: 16px; }
.ab-guest .shop__eyebrow { color: var(--ab-muted); font-size: 12px; font-weight: 600; letter-spacing: .065em; text-transform: uppercase; }
.ab-guest .shop__name { margin: 20px 0 16px; font-size: clamp(36px, 8vw, 48px); line-height: 1.02; font-weight: 800; letter-spacing: -.04em; overflow-wrap: anywhere; }
.ab-guest .shop__city { color: var(--ab-muted); font-size: 14px; }
.ab-guest .shop__pickup { margin-top: 16px; padding: 12px 16px; border-radius: 3px; background: var(--ab-surface-muted); font-size: 14px; }
.ab-guest .shop__categories { display: flex; gap: 24px; overflow-x: auto; position: sticky; top: 0; z-index: 5; padding: 8px 0 16px; background: var(--ab-paper); }
.ab-guest .shop__categories a { display: inline-flex; align-items: center; flex-shrink: 0; min-height: 44px; padding: 8px 4px; color: var(--ab-ink); font-size: 14px; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--ab-rule); }
.ab-guest .shop__categories a:hover, .ab-guest .shop__categories a:focus { border-color: var(--ab-link); }
.ab-guest .shop__section { margin-top: 24px; scroll-margin-top: 92px; }
.ab-guest .shop__section-title { margin: 0 0 8px; font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -.035em; }
.ab-guest .shop__dishes { list-style: none; padding: 0; }
.ab-guest .shop__dishes .shop-dish { grid-template-columns: minmax(0, 1fr) auto; align-items: start; border-bottom: 1px dashed var(--ab-control); }
.ab-guest .shop-dish__body { grid-column: 1; grid-row: 1 / 3; min-width: 0; }
.ab-guest .shop-dish__figure { grid-column: 2; grid-row: 1; justify-self: end; margin: 0; width: 96px; }
.ab-guest .shop-dish__photo { display: block; width: 96px; height: 96px; object-fit: cover; border-radius: 8px; background: var(--ab-surface-muted); }
.ab-guest .shop-dish__photo-note { margin-top: 4px; color: var(--ab-muted); font-size: 11px; line-height: 1.3; text-align: right; }
.ab-guest .shop-dish__name { font-size: 19px; font-weight: 700; line-height: 1.25; letter-spacing: -.025em; overflow-wrap: anywhere; }
.ab-guest .shop-dish__description { margin: 8px 0 12px; font-size: 14px; color: var(--ab-muted); }
.ab-guest .shop-dish__price { margin-top: 8px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ab-guest .shop-dish__controls { grid-column: 2; grid-row: 2; display: flex; align-items: center; justify-content: end; gap: 4px; }
.ab-guest .shop-dish--without-photo .shop-dish__controls { grid-row: 1; }
.ab-guest .shop-dish__step { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; border: 1px solid var(--ab-ink); border-radius: 50%; background: transparent; color: var(--ab-ink); font-size: 22px; cursor: pointer; }
.ab-guest .shop-dish__quantity { min-width: 20px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.ab-guest .shop-badge { border-radius: 3px; }
.ab-guest .shop__card { margin-top: 24px; padding: 24px; background: var(--ab-surface); border: 1px solid var(--ab-control); border-radius: 4px; }
.ab-guest .shop__empty { padding: 32px 24px; }
.ab-guest .shop__empty p + p { margin-top: 8px; }
.ab-guest .shop__bar { position: fixed; left: 16px; right: 16px; bottom: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 10; max-width: 688px; margin: auto; padding: 12px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid var(--ab-ink); border-radius: 4px; background: var(--ab-accent); color: var(--ab-accent-ink); }
.ab-guest .shop__bar-summary { display: grid; gap: 2px; padding-left: 4px; }
.ab-guest .shop__bar-total { font-size: 14px; font-variant-numeric: tabular-nums; }
.ab-guest .shop__bar--static { background: var(--ab-surface); color: var(--ab-ink); flex-wrap: wrap; }
.ab-guest .shop__bar-note { font-size: 14px; }
.ab-guest .shop__cta, .ab-guest .shop__secondary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 16px; border: 1px solid var(--ab-control); border-radius: 4px; background: var(--ab-accent); color: var(--ab-accent-ink); font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; }
.ab-guest .shop__bar .shop__cta { border-color: currentColor; }
.ab-guest .shop__secondary { background: transparent; color: var(--ab-ink); }
.ab-guest .shop__cta--large { display: flex; margin-top: 28px; width: 100%; }
.ab-guest .shop__note { margin-top: 20px; font-size: 14px; color: var(--ab-muted); }
.ab-guest .shop--confirmation .shop__header { border: 0; }
.ab-guest .shop-order { position: relative; border-bottom: 0; border-radius: 3px 3px 0 0; }
.ab-guest .shop-order::after { content: ""; position: absolute; height: 10px; bottom: -10px; left: -1px; right: -1px; background: var(--ab-surface); clip-path: polygon(0 0,100% 0,100% 100%,95% 0,90% 100%,85% 0,80% 100%,75% 0,70% 100%,65% 0,60% 100%,55% 0,50% 100%,45% 0,40% 100%,35% 0,30% 100%,25% 0,20% 100%,15% 0,10% 100%,5% 0,0 100%); }
.ab-guest .shop-order__items { list-style: none; padding: 0; }
.ab-guest .shop-order__items li, .ab-guest .shop-order__total { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; }
.ab-guest .shop-order__items li + li, .ab-guest .shop-order__total { border-top: 1px dashed var(--ab-control); }
.ab-guest .shop-order__items li span:first-child { min-width: 0; overflow-wrap: anywhere; }
.ab-guest .shop-order__items li span:last-child, .ab-guest .shop-order__total strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.ab-guest .shop-order__detail { display: block; padding-left: 16px; font-size: 14px; color: var(--ab-muted); }
.ab-guest .shop-order__meta { padding-top: 16px; border-top: 1px dashed var(--ab-control); color: var(--ab-muted); font-size: 14px; overflow-wrap: anywhere; }
.ab-guest .shop__desktop { display: none; padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--ab-rule); }
.ab-guest .shop__desktop .qr-code { display: block; width: 192px; height: 192px; margin: 16px 0; background: white; }
.ab-guest .shop-dialog { border-radius: 8px; }
.ab-guest .shop-dialog__form { display: grid; gap: 20px; }
.ab-guest .shop-dialog__title { font-size: 28px; line-height: 1.1; letter-spacing: -.04em; font-weight: 700; }
.ab-guest .shop-dialog__items { padding: 0; list-style: none; display: grid; gap: 12px; font-size: 14px; }
.ab-guest .shop-dialog__item { display: grid; gap: 4px; justify-items: start; min-width: 0; overflow-wrap: anywhere; }
.ab-guest .shop-dialog__note-toggle { min-height: 32px; font-size: 13px; }
.ab-guest .shop-dialog__item .shop-dialog__note { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--ab-control); border-radius: 4px; font-size: 16px; background: var(--ab-surface); color: var(--ab-ink); }
.ab-guest .shop-dialog__item-option { padding-left: 16px; font-size: 13px; color: var(--ab-muted); }
.ab-guest .shop-dish__choices { margin-top: 4px; font-size: 13px; color: var(--ab-muted); }
.ab-guest .shop-dialog--sheet { inset: auto 0 0 0; width: 100%; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); margin: 0 auto; padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); border-radius: 8px 8px 0 0; border-bottom: 0; }
.ab-guest .shop-sheet__groups { display: grid; gap: 20px; }
.ab-guest .shop-sheet__groups:empty { display: none; }
.ab-guest .shop-sheet__group { display: grid; gap: 4px; min-width: 0; margin: 0; padding: 0; border: 0; }
.ab-guest .shop-sheet__legend { display: block; width: 100%; margin-bottom: 8px; padding: 0; font-size: 16px; font-weight: 700; }
.ab-guest .shop-sheet__rule { font-size: 13px; font-weight: 400; color: var(--ab-muted); }
.ab-guest .shop-dialog__check.shop-sheet__option { grid-template-columns: 24px 1fr auto; align-items: center; min-height: 48px; border-top: 1px dashed var(--ab-rule); font-size: 16px; }
.ab-guest .shop-dialog__check.shop-sheet__option span { padding-top: 0; overflow-wrap: anywhere; }
.ab-guest .shop-sheet__option:has(input:disabled) { color: var(--ab-muted); cursor: default; }
.ab-guest .shop-sheet__delta { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ab-muted); }
.ab-guest .shop-sheet__quantity { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; font-weight: 600; }
.ab-guest .shop-sheet__quantity .shop-dish__quantity { min-width: 2ch; text-align: center; }
.ab-guest .shop-dialog .shop__cta:disabled { opacity: .45; cursor: not-allowed; }
@media (min-width: 600px) {
  .ab-guest .shop-dialog--sheet { inset: 0; max-height: calc(100dvh - 48px); margin: auto; padding-bottom: 24px; border-radius: 8px; border-bottom: 1px solid var(--ab-control); }
}
.ab-guest .shop-dialog__total { display: flex; justify-content: space-between; border-top: 1px dashed var(--ab-control); padding-top: 16px; }
.ab-guest .shop-dialog__field { display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.ab-guest .shop-dialog__field .input { display: block; width: 100%; min-height: 48px; padding: 12px; border: 1px solid var(--ab-control); border-radius: 4px; font-size: 16px; font-weight: 400; background: var(--ab-surface); color: var(--ab-ink); }
.ab-guest .shop-dialog__field .input[aria-invalid="true"] { border: 2px solid var(--ab-negative); }
.ab-guest .shop-dialog__errors { padding: 12px; border-left: 3px solid var(--ab-negative); background: var(--ab-negative-soft); color: var(--ab-negative); font-size: 14px; }
.ab-guest .shop-dialog__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ab-guest .shop-dialog__actions .shop__cta { flex: 1; }
.ab-guest .shop-dialog__hint { font-size: 13px; color: var(--ab-muted); }
.ab-guest .shop-dialog__help { font-size: 13px; font-weight: 400; color: var(--ab-muted); }
.ab-guest .shop-dialog__optional { font-weight: 400; color: var(--ab-muted); }
.ab-guest .shop-dialog__consent { display: grid; gap: 12px; margin: 0; padding: 0; border: 0; min-width: 0; }
.ab-guest .shop-dialog__consent-legend { display: block; width: 100%; margin-bottom: 12px; padding: 16px 0 0; border-top: 1px dashed var(--ab-control); font-size: 14px; font-weight: 600; }
.ab-guest .shop-dialog__check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; min-height: 44px; font-size: 14px; cursor: pointer; }
.ab-guest .shop-dialog__check input { width: 24px; height: 24px; margin: 0; accent-color: var(--ab-ink); }
.ab-guest .shop-dialog__check span { padding-top: 2px; }

/* Live status page of a direct order: four steps, the current one in orange. */
.ab-guest .shop-status { margin-top: 24px; }
.ab-guest .shop-status__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.ab-guest .shop-status__step { position: relative; display: grid; justify-items: center; gap: 8px; padding: 0 2px; text-align: center; font-size: 12px; line-height: 1.3; color: var(--ab-muted); }
.ab-guest .shop-status__step::before { content: ""; position: absolute; top: 9px; right: 50%; width: 100%; border-top: 2px solid var(--ab-rule); }
.ab-guest .shop-status__step:first-child::before { display: none; }
.ab-guest .shop-status__step--done::before, .ab-guest .shop-status__step--current::before { border-top-color: var(--ab-ink); }
.ab-guest .shop-status__marker { position: relative; z-index: 1; width: 20px; height: 20px; border: 2px solid var(--ab-control); border-radius: 50%; background: var(--ab-paper); }
.ab-guest .shop-status__step--done .shop-status__marker { border-color: var(--ab-ink); background: var(--ab-ink); }
.ab-guest .shop-status__step--current .shop-status__marker { border-color: var(--ab-ink); background: var(--ab-accent); }
.ab-guest .shop-status__step--done, .ab-guest .shop-status__step--current { color: var(--ab-ink); }
.ab-guest .shop-status__step--current .shop-status__label { font-weight: 700; }
.ab-guest .shop-status__label { overflow-wrap: anywhere; }
.ab-guest .shop-status__detail { display: block; font-variant-numeric: tabular-nums; }
.ab-guest .shop-status__sentence { margin-top: 20px; font-size: 19px; line-height: 1.25; letter-spacing: -.025em; font-weight: 700; }
.ab-guest .shop-status__headline { font-size: 24px; line-height: 1.2; letter-spacing: -.035em; font-weight: 700; margin-bottom: 8px; }
.ab-guest .shop-status__rejected { margin-top: 0; border-color: var(--ab-negative); }
.ab-guest .shop-status__waiting { display: grid; gap: 12px; margin-top: 20px; padding: 16px; border-left: 3px solid var(--ab-accent); background: var(--ab-accent-soft); font-size: 14px; }
/* Online payment on the status page (orders/_payment): the Payment Element lives in Stripe's iframe. */
.ab-guest .shop-payment { display: grid; gap: 16px; margin-top: 0; }
.ab-guest .shop-payment__element { min-height: 48px; }
.ab-guest .shop-payment__error { padding: 12px; border-left: 3px solid var(--ab-negative); background: var(--ab-negative-soft); color: var(--ab-negative); font-size: 14px; }
.ab-guest .shop-payment__failed { margin-bottom: 16px; }
.ab-guest .shop-payment__note { font-size: 13px; color: var(--ab-muted); }
.ab-guest .shop-payment--confirming { border-left: 3px solid var(--ab-accent); }
.ab-guest .shop-dialog__payment .shop-dialog__check input { border-radius: 50%; }
.ab-guest .shop-status__payment { display: inline-block; margin-top: 12px; padding: 2px 8px; border-radius: 3px; background: var(--ab-surface-muted); font-size: 13px; font-weight: 600; }
.ab-guest .shop-status__payment--paid { background: var(--ab-positive-soft); color: var(--ab-positive); }
.ab-guest .shop-status__facts { display: grid; gap: 16px; margin: 40px 0 0; font-size: 14px; }
.ab-guest .shop-status__facts dt { font-size: 12px; font-weight: 600; color: var(--ab-muted); }
.ab-guest .shop-status__facts dd { margin: 2px 0 0; overflow-wrap: anywhere; }
@media (min-width: 768px) and (hover: hover) { .ab-guest .shop__desktop { display: block; } }
@media (any-hover: hover) { .ab-guest .shop__cta:hover { background: var(--ab-accent-hover); } .ab-guest .shop-dish__step:hover, .ab-guest .shop__secondary:hover { background: var(--ab-surface-muted); } }

/* Opening hours (merged from feature/opening-hours), brand tokens, no layers. */
.ab-guest .shop__hours { margin-top: 12px; font-size: 14px; color: var(--ab-muted); }
.ab-guest .shop__hours-summary { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; min-height: 44px; cursor: pointer; list-style: none; }
.ab-guest .shop__hours-summary::-webkit-details-marker { display: none; }
.ab-guest .shop__hours-summary::after { content: "\25BE"; color: var(--ab-control); }
.ab-guest .shop__hours[open] .shop__hours-summary::after { content: "\25B4"; }
.ab-guest .shop__hours-status { font-weight: 700; color: var(--ab-ink); }
.ab-guest .shop__hours-status--open { color: var(--ab-positive); }
.ab-guest .shop__hours-week { list-style: none; margin: 8px 0 0; padding: 12px 16px; background: var(--ab-surface); border: 1px solid var(--ab-rule); border-radius: 4px; }
.ab-guest .shop__hours-week li { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; font-variant-numeric: tabular-nums; }
.ab-guest .shop__hours-week li + li { border-top: 1px dashed var(--ab-rule); }
.ab-guest .shop__hours-week li span:first-child { color: var(--ab-ink); }

/* Search, dietary chips and photo lightbox on the guest menu. */
.ab-guest .shop__toolbar { display: grid; gap: 12px; padding: 16px 0 4px; }
.ab-guest .shop__search { display: block; width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid var(--ab-control); border-radius: var(--ab-radius-control); background: var(--ab-surface); color: var(--ab-ink); font: inherit; font-size: 16px; -webkit-appearance: none; appearance: none; }
.ab-guest .shop__search::placeholder { color: var(--ab-muted); }
.ab-guest .shop__search:focus-visible { outline: 2px solid var(--ab-focus); outline-offset: 1px; }
.ab-guest .shop__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ab-guest .shop-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--ab-control); border-radius: 99px; background: transparent; color: var(--ab-ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.ab-guest .shop-chip[aria-pressed="true"] { background: var(--ab-positive); border-color: var(--ab-positive); color: var(--ab-paper); }
.ab-guest .shop-chip[aria-pressed="true"]::before { content: "\2713\00a0"; }
.ab-guest .shop__no-results { margin-top: 32px; padding: 24px; text-align: center; color: var(--ab-muted); border: 1px dashed var(--ab-control); border-radius: var(--ab-radius-card); }
.ab-guest .shop__link-button { padding: 0; border: 0; background: none; color: var(--ab-link); font: inherit; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.ab-guest .shop-dish__photo-link { display: block; border-radius: 8px; cursor: zoom-in; }
.ab-guest .shop-dish__photo-link:focus-visible { outline: 2px solid var(--ab-focus); outline-offset: 2px; }
.ab-guest .shop-lightbox { position: fixed; inset: 0; width: min(100% - 24px, 720px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 0; border-radius: var(--ab-radius-card); background: var(--ab-paper); color: var(--ab-ink); overflow: auto; }
.ab-guest .shop-lightbox:not([open]) { display: none; }
.ab-guest .shop-lightbox::backdrop { background: rgba(20, 17, 14, 0.8); }
.ab-guest .shop-lightbox__figure { margin: 0; display: grid; }
.ab-guest .shop-lightbox__image { display: block; width: 100%; max-height: calc(100dvh - 140px); object-fit: contain; background: var(--ab-surface-muted); }
.ab-guest .shop-lightbox__caption { display: grid; gap: 4px; padding: 16px 56px 16px 16px; }
.ab-guest .shop-lightbox__caption strong { font-size: 18px; font-weight: 700; letter-spacing: -.025em; overflow-wrap: anywhere; }
.ab-guest .shop-lightbox__caption small { color: var(--ab-muted); font-size: 12px; }
.ab-guest .shop-lightbox__close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(20, 17, 14, 0.6); color: #F8F5ED /* light in both themes: sits on the dark overlay */; font-size: 26px; line-height: 1; cursor: pointer; }
.ab-guest .shop-lightbox__close:focus-visible { outline: 2px solid var(--ab-focus); outline-offset: 2px; }
@media (any-hover: hover) { .ab-guest .shop-chip:hover { background: var(--ab-surface-muted); } .ab-guest .shop-chip[aria-pressed="true"]:hover { background: var(--ab-positive); } }

/* "Stammgast werden" (L5): the public form behind the QR code at the table.
   Reuses the checkout's field, consent and error classes; only the card around
   them and the honeypot are its own. */
.ab-guest .shop-signup { display: grid; gap: 20px; margin-top: 24px; padding: 24px; background: var(--ab-surface); border: 1px solid var(--ab-control); border-radius: 4px; }
.ab-guest .shop-signup > .shop-dialog__help { margin-top: -12px; }
.ab-guest .shop-signup__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Discount code in the checkout dialog and on the receipt (L7). The code is a
   line of its own, the old sum is struck through next to the new one. */
.ab-guest .shop-discount { display: grid; gap: 12px; }
.ab-guest .shop-discount__toggle { justify-self: start; min-height: 32px; font-size: 14px; }
.ab-guest .shop-discount__entry { display: grid; gap: 8px; }
.ab-guest .shop-discount__entry[hidden], .ab-guest .shop-discount__toggle[hidden] { display: none; }
.ab-guest .shop-discount__label { font-size: 14px; font-weight: 600; }
.ab-guest .shop-discount__row { display: flex; gap: 8px; }
.ab-guest .shop-discount__input { flex: 1; min-width: 0; min-height: 48px; padding: 12px; border: 1px solid var(--ab-control); border-radius: 4px; font-size: 16px; text-transform: uppercase; background: var(--ab-surface); color: var(--ab-ink); }
.ab-guest .shop-discount__input[aria-invalid="true"] { border: 2px solid var(--ab-negative); }
.ab-guest .shop-discount__apply { min-height: 48px; white-space: nowrap; }
.ab-guest .shop-discount__error { padding: 12px; border-left: 3px solid var(--ab-negative); background: var(--ab-negative-soft); color: var(--ab-negative); font-size: 14px; }
.ab-guest .shop-discount__applied { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px dashed var(--ab-control); font-size: 14px; }
.ab-guest .shop-discount__applied + input + .shop-dialog__total { border-top: 0; padding-top: 0; }
.ab-guest .shop-discount__amount { margin-left: auto; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ab-positive); font-weight: 600; }
.ab-guest .shop-discount__remove { width: 44px; height: 44px; margin: -12px -12px -12px 0; border: 0; border-radius: 50%; background: none; color: var(--ab-ink); font-size: 22px; line-height: 1; cursor: pointer; }
.ab-guest .shop-discount__remove:focus-visible { outline: 3px solid var(--ab-focus); outline-offset: 2px; }
.ab-guest .shop-discount__sums { display: inline-flex; gap: 8px; align-items: baseline; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ab-guest .shop-discount__old { color: var(--ab-muted); font-weight: 400; }
.ab-guest .shop-order__discount { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px dashed var(--ab-control); font-size: 14px; }
.ab-guest .shop-order__discount span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ab-positive); font-weight: 600; }
.ab-guest .shop-order__discount--refused { display: block; color: var(--ab-muted); }
.ab-guest .shop-order__discount + .shop-order__total { border-top: 0; padding-top: 0; }
/* Angebote (Promotion): Block „Heute“, Aktionszeile, Wochenkarte. Nur Tokens, kein Schatten, keine Animation. */
.ab-guest .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.ab-guest .shop-dish__label { display: inline-block; margin: 0 0 6px; padding: 3px 7px; border-radius: 3px; background: var(--ab-accent-soft); color: var(--ab-ink); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.ab-guest .shop__dishes .shop-dish--promo { padding-left: 12px; border-left: 3px solid var(--ab-accent); }
.ab-guest .shop__today .shop-dish--promo { margin-top: 8px; padding: 12px; border-bottom: 0; border-radius: 8px; border-top-left-radius: 0; border-bottom-left-radius: 0; background: var(--ab-accent-soft); color: var(--ab-ink); }
.ab-guest .shop__today .shop-dish--promo .shop-dish__description, .ab-guest .shop__today .shop-dish--promo .shop-dish__choices { color: var(--ab-ink); }
.ab-guest .shop__today .shop-dish--promo .shop-dish__label { background: var(--ab-surface); }
.ab-guest .shop-dish__price-was { margin-left: 6px; color: var(--ab-muted); font-weight: 400; }
.ab-guest .shop__today .shop-dish__price-was { color: var(--ab-ink); }
.ab-guest .shop__weekplan { margin-top: 12px; font-size: 14px; }
.ab-guest .shop__weekplan-summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; cursor: pointer; list-style: none; }
.ab-guest .shop__weekplan-summary::-webkit-details-marker { display: none; }
.ab-guest .shop__weekplan-summary::after { content: "\25BE"; color: var(--ab-control); }
.ab-guest .shop__weekplan[open] .shop__weekplan-summary::after { content: "\25B4"; }
.ab-guest .shop__weekplan-days { list-style: none; margin: 8px 0 0; padding: 12px 16px; background: var(--ab-surface); border: 1px solid var(--ab-rule); border-radius: 4px; }
.ab-guest .shop__weekplan-row { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 16px; padding: 6px 0; color: var(--ab-muted); }
.ab-guest .shop__weekplan-row + .shop__weekplan-row { border-top: 1px dashed var(--ab-rule); }
.ab-guest .shop__weekplan-row--today { color: var(--ab-ink); font-weight: 700; }
.ab-guest .shop__weekplan-dishes { display: grid; gap: 4px; }
.ab-guest .shop__weekplan-dish { display: flex; justify-content: space-between; gap: 16px; }
.ab-guest .shop__weekplan-price { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Gutscheinverkauf (M6): the purchase form reuses .shop-signup and the
   checkout's field classes; its own are the amount chips, the voucher card on
   the status page, the voucher's line in checkout and receipt, and the link
   on the menu. */
.ab-guest .shop-voucher__amounts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.ab-guest .shop-voucher__amounts legend { width: 100%; margin-bottom: 8px; }
.ab-guest .shop-voucher__amount { position: relative; display: inline-flex; }
.ab-guest .shop-voucher__amount input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.ab-guest .shop-voucher__amount span { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 20px; border: 1px solid var(--ab-control); border-radius: 4px; background: var(--ab-surface); font-weight: 700; font-variant-numeric: tabular-nums; }
.ab-guest .shop-voucher__amount input:checked + span { border-color: var(--ab-ink); background: var(--ab-accent-soft); box-shadow: inset 0 0 0 1px var(--ab-ink); }
.ab-guest .shop-voucher__amount input:focus-visible + span { outline: 3px solid var(--ab-focus); outline-offset: 4px; }
.ab-guest .shop-voucher { display: grid; gap: 8px; justify-items: center; padding: 32px 20px; border: 1px dashed var(--ab-control); text-align: center; }
.ab-guest .shop-voucher__eyebrow, .ab-guest .shop-voucher__code-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ab-muted); }
.ab-guest .shop-voucher__restaurant { font-size: 24px; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; overflow-wrap: anywhere; }
.ab-guest .shop-voucher__value { font-size: 48px; font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.ab-guest .shop-voucher__recipient { font-size: 18px; font-weight: 700; overflow-wrap: anywhere; }
.ab-guest .shop-voucher__message { max-width: 48ch; white-space: pre-line; overflow-wrap: anywhere; }
.ab-guest .shop-voucher__code-label { margin-top: 12px; }
.ab-guest .shop-voucher__code { padding: 12px 16px; border: 2px solid var(--ab-ink); border-radius: 4px; font-size: 22px; font-weight: 800; letter-spacing: .08em; font-variant-numeric: tabular-nums; user-select: all; }
.ab-guest .shop-voucher__meta { max-width: 52ch; font-size: 13px; color: var(--ab-muted); }
.ab-guest .shop--voucher .shop-status > * + * { margin-top: 16px; }
.ab-guest .shop-discount__due { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; }
.ab-guest .shop-order__voucher { display: flex; justify-content: space-between; gap: 12px; }
.ab-guest .shop-order__due { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; }
.ab-guest .shop__voucher-link { margin-top: 24px; font-size: 14px; }
