.customer-content.reserve-width { max-width: 920px; }
.reserve-slots a:active { transform: scale(.98); }
.reserve-menu, .reserve-form, #fulfillment-address { scroll-margin-top: 88px; }
.reserve-menu { margin: 23px 0 30px; }
.reserve-preview-date { position: relative; z-index: 2; }
.reserve-preview-date summary { list-style: none; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--deep); display: flex; align-items: center; gap: 6px; min-height: 39px; white-space: nowrap; transition: background .18s; }
.reserve-preview-date summary::-webkit-details-marker { display: none; }
.reserve-preview-date summary .icon { width: 16px; height: 16px; }
.reserve-preview-date summary .icon:last-child { rotate: 90deg; transition: rotate .18s; }
.reserve-preview-date[open] summary .icon:last-child { rotate: -90deg; }
.reserve-preview-date[open] summary, .reserve-preview-date summary:hover { background: var(--sage); }
.reserve-preview-date nav { position: absolute; top: calc(100% + 5px); right: 0; width: max-content; padding: 5px; border-radius: 10px; border: 1px solid var(--line); background: white; box-shadow: 0 10px 25px #173c2119; animation: reveal .2s var(--ease) both; }
.reserve-preview-date nav a { display: flex; padding: 9px; border-radius: 6px; }
.reserve-preview-date nav a:hover, .reserve-preview-date nav a[aria-current] { background: var(--sage); }
.reserve-slots { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.reserve-slots a { display: grid; place-items: center; min-height: 39px; padding: 7px 15px; border-radius: 8px; background: #f4f7f4; color: var(--deep); font-weight: 730; transition: background .18s, color .18s, transform .18s; }
.reserve-slots a:hover { background: var(--sage); }
.reserve-slots a[aria-current] { color: #fff; background: var(--deep); }
.reserve-defaults { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }
.reserve-defaults .button-row { gap: 4px; }
.reserve-defaults .button { min-height: 40px; }
.reserve-default-status { display: inline-flex; align-items: center; gap: 4px; padding: 5px 8px; border-radius: 7px; background: var(--sage); color: var(--deep); font-size: 12px; font-weight: 720; }
.reserve-default-status .icon { width: 14px; height: 14px; }
.reserve-default-note { margin-top: 7px; }
.reserve-selection { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; color: var(--green); font-size: 13px; font-weight: 700; animation: reveal .2s var(--ease) both; }
.reserve-selection[hidden] { display: none; }
.reserve-group { padding-top: 17px; }
.reserve-group h3 { margin: 0 0 9px; font-size: 15px; }
.reserve-dishes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 225px), 1fr)); gap: 8px; }
.reserve-dish { display: flex; align-items: center; gap: 11px; padding: 7px; min-width: 0; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; text-align: left; transition: background .18s, border-color .18s, transform .18s; }
.reserve-dish img { flex: none; width: 65px; height: 57px; border-radius: 6px; background: var(--sage); }
.reserve-omit { display: grid; place-items: center; flex: none; width: 65px; height: 57px; border-radius: 6px; background: var(--sage); color: var(--deep); }
.reserve-dish-copy { display: grid; gap: 4px; min-width: 0; }
.reserve-dish-copy strong { line-height: 1.35; font-size: 14px; overflow-wrap: anywhere; }
.reserve-ingredients { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.reserve-dish-gate { display: flex; align-items: flex-start; gap: 3px; color: #4b5b51; font-size: 11px; font-weight: 710; line-height: 1.45; overflow-wrap: anywhere; }
.reserve-dish-gate .icon { width: 12px; height: 12px; margin-top: 2px; }
.reserve-dish.is-locked { background: #f2f4f2; border-color: #dce3dd; color: #48564d; }
.reserve-dish.is-locked img { filter: grayscale(1); opacity: .66; }
button.reserve-dish { position: relative; padding-inline-end: 28px; }
button.reserve-dish:hover { background: #f4f9f4; border-color: #a6c7b1; }
button.reserve-dish:active { transform: scale(.985); }
button.reserve-dish[aria-pressed="true"] { background: #eaf5ed; border-color: #359362; }
.reserve-choice-mark { display: grid; place-items: center; position: absolute; top: 8px; right: 8px; width: 15px; height: 15px; border: 1px solid #bacbc0; border-radius: 50%; color: #fff; transition: background .18s, border-color .18s; }
.reserve-choice-mark .icon { width: 11px; height: 11px; opacity: 0; transition: opacity .18s; }
.reserve-dish[aria-pressed="true"] .reserve-choice-mark { background: var(--green); border-color: var(--green); }
.reserve-dish[aria-pressed="true"] .reserve-choice-mark .icon { opacity: 1; }
.reserve-empty { padding: 26px 0; color: var(--muted); }
.reserve-notice { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; justify-content: space-between; padding: 14px; border: 1px solid #ecd9b8; border-radius: 10px; background: #fff8eb; color: #6e460e; }
.reserve-notice .errorlist { margin: 0; }
.reserve-form .panel > .hint { margin-top: 12px; }
.reserve-day-meals { display: grid; gap: 10px; }
.reserve-day-meal-row { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 12px 0 0; border: 0; border-top: 1px solid var(--line); animation: reveal .2s var(--ease) both; }
.reserve-day-meal-row[hidden] { display: none; }
.reserve-day-meal-row:first-child { margin-top: 14px; }
.reserve-day-meal-row legend { padding: 0 10px 0 0; color: var(--deep); font-size: 13px; font-weight: 730; }
.reserve-meal-options { display: flex; flex-wrap: wrap; gap: 8px; }
.reserve-meal-chip { display: inline-flex; gap: 6px; align-items: center; padding: 6px 11px; min-height: 38px; border: 1px solid var(--line); border-radius: 8px; font-weight: 680; cursor: pointer; transition: background .18s, border-color .18s, transform .18s; }
.reserve-meal-chip:has(input:checked) { background: var(--sage); border-color: #a5c8ae; color: var(--deep); }
.reserve-meal-chip input { width: 15px; height: 15px; min-height: 0; margin: 0; accent-color: var(--green); }
.reserve-meal-chip:active { transform: scale(.97); }
.reserve-slots-error { color: #9c352e; }
.portion-editor { padding: clamp(15px, 4vw, 26px); margin: 0 0 18px; }
.portion-editor .section-head { gap: 10px; }
.portion-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.portion-editor h2 { margin: 0; font-size: 19px; }
.portion-basis { display: inline-block; padding: 3px 7px; border-radius: 6px; background: var(--sage); color: var(--deep); font-size: 12px; font-weight: 700; white-space: nowrap; }
.portion-editor [data-portion-reset] { min-height: 36px; }
.portion-overview { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 8px; color: var(--deep); font-size: 14px; font-weight: 720; font-variant-numeric: tabular-nums; }
.portion-overview span:last-child { color: var(--muted); font-weight: 500; }
.portion-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding: 9px 0; animation: reveal .18s var(--ease) both; }
.portion-row:last-child { padding-bottom: 0; }
.portion-row strong { overflow-wrap: anywhere; }
.portion-row small { display: block; color: var(--muted); }
.portion-row small:empty { display: none; }
.portion-quantity { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.portion-quantity input { width: 98px; text-align: right; font-variant-numeric: tabular-nums; }
.fulfillment-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 0; }
.fulfillment-option { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border: 1px solid var(--line); border-radius: 8px; color: var(--deep); cursor: pointer; transition: background .18s, border-color .18s, transform .18s; }
.fulfillment-option:has(:checked) { background: var(--sage); border-color: #5b9b74; }
.fulfillment-option:active { transform: scale(.985); }
.fulfillment-option input { width: 15px; height: 15px; min-height: 0; accent-color: var(--green); margin: 0; }
.fulfillment-fields { min-width: 0; display: grid; gap: 10px; padding: 0; margin: 0; border: 0; animation: reveal .18s var(--ease) both; }
.fulfillment-fields[hidden] { display: none; }
.reserve-address-heading h3 { margin: 0; font-size: 15px; }
.reserve-address { display: flex; align-items: center; gap: 5px; padding-inline-end: 8px; border: 1px solid var(--line); border-radius: 10px; transition: background .18s, border-color .18s; }
.reserve-address:has(:checked) { background: #eef7f0; border-color: #7bad8b; }
.reserve-address label { display: flex; flex: 1; align-items: flex-start; gap: 10px; padding: 11px 0 11px 12px; min-width: 0; cursor: pointer; }
.reserve-address input { flex: none; width: 16px; height: 16px; min-height: 0; margin: 3px 0 0; accent-color: var(--green); }
.reserve-address-copy { display: grid; gap: 3px; overflow-wrap: anywhere; }
.reserve-address-copy small { color: var(--muted); }
.reserve-address .button { flex: none; }
.reserve-address-empty { display: flex; align-items: center; gap: 9px; min-height: 44px; color: var(--muted); font-size: 13px; }
.reserve-address-empty a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; margin-inline-start: 6px; }
.reserve-delivery-note { margin: 0; padding: 9px 12px; border-radius: 8px; background: #fff6e8; color: #694219; font-size: 13px; }
@media (prefers-reduced-motion: reduce) {
  .portion-row, .fulfillment-fields { animation: none; }
  .reserve-address { transition: none; }
}
@media (max-width: 650px) {
  .reserve-menu { margin: 16px 0 20px; }
  .reserve-menu, .reserve-form, #fulfillment-address { scroll-margin-top: 70px; }
  .reserve-dishes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reserve-dish { gap: 7px; align-items: flex-start; }
  .reserve-dish img, .reserve-omit { width: clamp(33px, 12vw, 53px); height: clamp(38px, 13vw, 55px); }
  .reserve-dish-copy strong { font-size: 13px; }
  .reserve-ingredients { font-size: 11px; }
}
@media (max-width: 350px) {
  .reserve-dish { align-items: center; }
  .reserve-ingredients { display: none; }
}
