body{padding-bottom:env(safe-area-inset-bottom)}
.lunch-builder,.upsell-dialog,.schedule-warning-dialog{width:min(720px,calc(100% - 32px));max-width:none;max-height:min(90dvh,820px);padding:0;border:0;border-radius:18px;background:transparent;color:var(--ink);overflow:visible}
.lunch-builder::backdrop,.upsell-dialog::backdrop,.schedule-warning-dialog::backdrop{background:#17251ecc;backdrop-filter:blur(3px)}
.lunch-builder-panel,.upsell-dialog-panel,.schedule-warning-panel{max-height:min(90dvh,820px);overflow-y:auto;overscroll-behavior:contain;padding:28px;background:var(--paper);border-radius:18px;box-shadow:0 24px 80px #101b2d45}
.schedule-warning-dialog{width:min(520px,calc(100% - 32px))}
.schedule-warning-panel h2{margin:9px 0 14px;font-size:clamp(26px,4vw,36px)}
.schedule-warning-panel>p{font-size:14px;line-height:1.65}
.schedule-warning-time{padding:12px 14px;border-radius:9px;background:#efeee7;color:#39483e;font-weight:700}
.schedule-warning-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}
.lunch-builder-header,.upsell-dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.lunch-builder-header h2,.upsell-dialog-header h2{font-size:clamp(25px,4vw,36px);margin:9px 0 0}
.lunch-builder-close,.upsell-dialog-close{flex:0 0 auto;width:42px;height:42px;border:1px solid var(--line);border-radius:50%;background:var(--white);font-size:25px;line-height:1;cursor:pointer}
.lunch-builder-intro,.upsell-dialog-panel>p{margin:12px 0 20px;color:var(--muted);font-size:13px}
.lunch-builder-step[hidden]{display:none}
.lunch-builder-step h3{margin:0 0 14px;font-size:19px}
.lunch-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.lunch-choice{position:relative;display:grid;grid-template-columns:86px minmax(0,1fr) 22px;align-items:center;gap:12px;min-height:104px;padding:9px;border:1px solid var(--line);border-radius:12px;background:var(--white);cursor:pointer;transition:border-color .18s,background .18s,transform .18s}
.lunch-choice:hover{transform:translateY(-2px);border-color:#9aa998}
.lunch-choice:has(input:checked){border-color:var(--green);background:#edf2e9;box-shadow:0 0 0 1px var(--green) inset}
.lunch-choice input{position:absolute;width:1px;height:1px;opacity:0}
.lunch-choice img{width:86px;height:84px;border-radius:8px;object-fit:cover}
.lunch-choice span{display:grid;gap:5px;min-width:0}
.lunch-choice b{font-family:var(--display);font-size:12px;line-height:1.3}
.lunch-choice small{color:var(--muted);font-size:10px}
.lunch-choice i{display:grid;place-items:center;width:21px;height:21px;border:1px solid #cfd4ca;border-radius:50%;color:transparent;font-size:12px;font-style:normal}
.lunch-choice:has(input:checked) i{border-color:var(--green);background:var(--green);color:#fff}
.lunch-builder-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}
.lunch-builder-footer [hidden]{display:none}
.upsell-dialog{width:min(560px,calc(100% - 32px))}
.upsell-dialog-panel{padding:24px}
.upsell-dialog-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.upsell-category-title{grid-column:1/-1;margin:7px 0 1px;font-family:var(--display);font-size:14px}
.upsell-option{position:relative;display:grid;grid-template-columns:24px 58px minmax(0,1fr) 20px;align-items:center;gap:9px;min-height:76px;padding:8px;border:1px solid var(--line);border-radius:10px;background:var(--white);cursor:pointer}
.upsell-option-no-sauce{grid-template-columns:24px minmax(0,1fr) 20px}
.upsell-option:has(input:checked){border-color:var(--green);background:#edf2e9}
.upsell-option input{width:18px;height:18px;accent-color:var(--green)}
.upsell-option img{width:58px;height:58px;border-radius:7px;object-fit:cover}
.upsell-option-details{display:grid;gap:4px;min-width:0}
.upsell-option-details b{font-family:var(--display);font-size:11px;line-height:1.25}
.upsell-option-details small{color:var(--green);font-size:10px;font-weight:700}
.upsell-option>i{display:grid;place-items:center;width:20px;height:20px;border:1px solid #cfd4ca;border-radius:50%;color:transparent;font-size:11px;font-style:normal}
.upsell-option:has(input:checked)>i{border-color:var(--green);background:var(--green);color:#fff}
.upsell-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
.salad-addon-choice{display:flex!important;align-items:center;gap:12px;padding:10px;border:1px solid var(--line);border-radius:9px;background:var(--white)}
.salad-addon-choice>input{width:20px!important;height:20px;accent-color:var(--green)}
.salad-addon-choice>img{width:55px;height:55px;border-radius:7px;object-fit:cover}
.salad-addon-choice>span{display:grid;gap:3px}
.salad-addon-choice>span>strong{font-family:var(--display);font-size:12px}
.salad-addon-choice>span>small{font-size:10px}
.salad-addon-choice .sale-price s,.salad-addon-choice .sale-price small{display:none}
.salad-addon-choice .sale-price strong{font-size:12px}
.cart-recommendations{margin-top:25px;padding-top:20px;border-top:1px solid var(--line)}
.cart-recommendations h3{font-size:18px;margin:0 0 12px}
.cart-recommendation-list{display:grid;gap:10px}
.cart-recommendation{display:grid;grid-template-columns:54px minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:8px;border:1px solid var(--line);border-radius:9px;background:var(--white)}
.cart-recommendation img{width:54px;height:54px;border-radius:6px;object-fit:cover}
.cart-recommendation-name{font-family:var(--display);font-size:11px;font-weight:700;line-height:1.25}
.cart-recommendation-price{font-size:11px;font-weight:700;white-space:nowrap}
.cart-recommendation button{width:36px;height:36px;border:0;border-radius:50%;background:var(--green);color:#fff;font-size:20px;cursor:pointer}
@supports(padding:env(safe-area-inset-bottom)){.lunch-builder-panel,.upsell-dialog-panel,.schedule-warning-panel{padding-bottom:max(24px,env(safe-area-inset-bottom))}}
@media(max-width:700px){
  .lunch-builder,.upsell-dialog,.schedule-warning-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:14px}
  .lunch-builder-panel,.upsell-dialog-panel,.schedule-warning-panel{max-height:calc(100dvh - 16px);padding:18px;border-radius:14px}
  .lunch-builder-header h2,.upsell-dialog-header h2{font-size:25px}
  .schedule-warning-panel h2{font-size:25px}
  .lunch-choice-grid,.upsell-dialog-options{grid-template-columns:1fr}
  .lunch-choice{grid-template-columns:74px minmax(0,1fr) 22px;min-height:88px}
  .lunch-choice img{width:74px;height:70px}
  .lunch-builder-footer{position:sticky;bottom:-18px;margin-inline:-18px;margin-bottom:-18px;padding:12px 18px max(12px,env(safe-area-inset-bottom));background:var(--paper)}
  .lunch-builder-footer .button{flex:1;min-height:48px;padding-inline:12px;gap:8px}
  .upsell-dialog-actions{position:sticky;bottom:-18px;display:grid;grid-template-columns:1fr 1fr;margin:14px -18px -18px;padding:12px 18px max(12px,env(safe-area-inset-bottom));background:var(--paper)}
  .upsell-dialog-actions .button{min-height:48px;padding-inline:9px;gap:6px;font-size:9px}
  .schedule-warning-actions{display:grid;grid-template-columns:1fr 1.3fr;gap:8px}
  .schedule-warning-actions .button{min-height:48px;padding-inline:9px;gap:6px;font-size:10px}
  .cart-recommendation{grid-template-columns:46px minmax(0,1fr) auto 38px;gap:7px}
  .cart-recommendation img{width:46px;height:46px}
  .cart-recommendation-name,.cart-recommendation-price{font-size:10px}
  .cart-recommendation button{width:38px;height:38px}
  .salad-addon-choice{min-height:72px}
  .salad-addon-choice>img{width:48px;height:48px}
  .detail-form input,.detail-form select,.checkout-form input,.checkout-form textarea,.auth-card input{font-size:16px}
  .quick-add button{min-width:44px;min-height:44px}
}
@media(prefers-reduced-motion:reduce){.lunch-choice{transition:none}}
