/* Buyer experience based on C. No new theme or operational stylesheet changes. */
#app{height:100dvh;display:flex;flex-direction:column}.review{flex-shrink:0}.review-panel{max-height:55vh;overflow:auto}.review>summary{min-height:44px}.review>summary>span:last-child{display:flex;gap:10px}.review>summary svg{width:18px;height:18px}.demo-only{font-size:12px;padding:12px 16px;background:#232721;color:white}.buyer.experience{height:auto;min-height:0;flex:1;overflow:hidden}.buyer-header{background:#fffdf9;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px max(22px,calc((100vw - 1180px)/2));flex-shrink:0;flex-wrap:wrap}.buyer-header .restaurant-mark{min-height:48px}.buyer-header nav{display:flex;gap:4px}.context-button{font-size:.78em;background:#f8eadb;min-width:0}.buyer #buyer-main{overflow:auto;min-height:0;flex:1;scroll-padding:20px;background:#fffdf9}.buyer-home,.buyer-menu,.buyer-section{max-width:1180px;margin:auto;width:100%;padding:28px 24px 44px}.buyer-section.narrow{max-width:790px}.buyer-section>h1{font-size:1.9em;margin:8px 0 16px}.buyer-section>p{line-height:1.6;color:var(--muted);margin-bottom:18px}.buyer .eyebrow{font-size:.8em;font-weight:650;color:#815026;margin-bottom:8px}.buyer-hero{display:grid;grid-template-columns:1.1fr 1fr;background:#f8eadb;border-radius:20px;overflow:hidden}.buyer-hero>div{padding:36px}.buyer-hero h1{font-size:2.7em;line-height:1.05;letter-spacing:-.05em;margin:12px 0}.buyer-hero p{font-size:.95em;line-height:1.6;margin:18px 0}.buyer-hero .food{height:100%;aspect-ratio:auto}.buyer-hero .btn{margin:10px 8px 0 0}.service-state{font-size:.8em;font-weight:600;color:#466138}.service-summary{border-bottom:1px solid var(--line);padding:24px 0;margin-bottom:26px}.service-summary h2{font-size:1.12em;margin-bottom:9px}.service-summary p{color:var(--muted);font-size:.85em;line-height:1.6;margin-top:4px}.buyer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch}.buyer-product{border:1px solid var(--line);border-radius:14px;background:white;overflow:hidden;display:flex;flex-direction:column;min-width:0}.buyer-product .product-open{min-height:48px}.buyer-product .food{aspect-ratio:1.65}.buyer-product .product-title{font-size:1.05em;padding:16px 18px 0}.buyer-product>p{margin:10px 18px 18px;font-size:.85em;color:var(--muted);line-height:1.5}.buyer-product footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 18px 18px;margin-top:auto}.buyer-product footer strong{font-size:1.1em}.sold-label{color:#97362a;font-weight:700;padding:12px 0;font-size:.85em}.page-heading{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:20px}.page-heading h1{font-size:1.8em;margin:5px 0 10px}.page-heading p{color:var(--muted);font-size:.875em;line-height:1.5}.search-field{min-width:250px}.buyer-categories{display:flex;gap:8px;overflow:auto;padding:4px 3px 16px;margin-bottom:10px;scroll-padding:12px}.buyer-categories .category{white-space:nowrap;border:1px solid var(--line);background:white;border-radius:24px;min-width:44px;min-height:48px;flex-shrink:0}.buyer-categories .active{background:var(--ink);color:white}.buyer-bottom{display:none}.fine-print{font-size:.8em!important;line-height:1.6;color:var(--muted);margin:18px 0!important}.field{display:flex;flex-direction:column;gap:8px;margin:12px 0;font-size:.9em;font-weight:600;min-width:0}.field input,.field select,.field textarea{font:inherit;min-height:48px;padding:12px;border:1px solid var(--strong-line);border-radius:8px;background:white;max-width:100%;width:100%;color:var(--ink)}textarea{resize:vertical;min-height:80px}.field-error{color:#a13324!important;font-size:.875em;line-height:1.5;min-height:0;margin:10px 0!important}.field-error:empty{display:none}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.buyer fieldset{border:1px solid var(--line);padding:18px;border-radius:10px;margin:22px 0;min-width:0}.buyer legend{font-weight:700;padding:0 8px;font-size:.95em}.choice{display:flex;align-items:center;gap:12px;min-height:48px;padding:10px 2px;font-size:.9em;line-height:1.45}.choice input{width:24px;min-width:24px;height:24px;min-height:24px;accent-color:var(--accent);margin:0;flex-shrink:0}.choice strong{margin-left:auto}.form-actions{display:flex;gap:12px;justify-content:space-between;align-items:center;margin:24px 0 0}.context-strip{display:flex;align-items:center;justify-content:space-between;gap:14px;border-block:1px solid var(--line);padding:10px 0;margin:24px 0}.context-strip strong{font-size:.95em}.quote-box,.pickup-address,.account-demo{padding:22px;background:#f5f3eb;border-radius:12px;margin:20px 0}.quote-box h2,.pickup-address h2,.account-demo h2{font-size:1.1em;margin-bottom:12px}.quote-box p,.pickup-address p,.account-demo p{font-size:.875em;line-height:1.6;margin:12px 0}.quote-result,.success{color:#286149;font-weight:650}.checkout-grid{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:36px;align-items:start}.buyer-lines article{padding:20px 0;border-bottom:1px solid var(--line)}.buyer-lines h2{font-size:1.1em;margin-bottom:10px}.buyer-lines p{font-size:.875em;color:var(--muted);line-height:1.5;margin:7px 0}.buyer-lines strong{display:block;margin:12px 0}.line-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:14px}.line-actions output{min-width:24px;text-align:center;font-weight:700}.line-actions .remove{margin-left:auto}.checkout-summary{background:#f8f5ee;border:1px solid var(--line);border-radius:14px;padding:24px}.checkout-summary h2{font-size:1.15em}.checkout-summary p{font-size:.85em;color:var(--muted);line-height:1.6;margin:18px 0}.buyer-totals{margin:22px 0}.buyer-totals>div{display:flex;justify-content:space-between;gap:20px;align-items:baseline;padding:11px 0}.buyer-totals dt{font-size:.9em}.buyer-totals dd{margin:0;font-weight:700;white-space:nowrap}.buyer-totals .final-total{border-top:1px solid #c6c0b2;margin-top:10px;padding-top:18px}.final-total dd{font-size:1.55em;letter-spacing:-.03em}.review-block{border-bottom:1px solid var(--line);padding:22px 0}.review-block:first-child{padding-top:0}.review-block h2{font-size:1.15em;margin-bottom:12px}.review-block p{font-size:.92em;color:var(--muted);line-height:1.6;margin:8px 0}.review-line{display:flex;justify-content:space-between;gap:18px;padding:16px 0;border-bottom:1px solid var(--line)}.review-line>strong{white-space:nowrap}.warning{background:#fff0d8;color:#78461c;padding:18px;border-left:4px solid #a66b21;font-size:.9em;line-height:1.6;margin:18px 0}.notice,.attempt-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 22px;background:#edf2e5;color:#344c2e;font-size:.85em;flex-shrink:0;border-bottom:1px solid #cbd7bd}.notice .btn,.attempt-banner .btn{font-size:1em;flex-shrink:0}.attempt-banner{background:#fff0d8;color:#78461c}.buyer-dialog{width:min(640px,100%);border-radius:18px}.buyer-dialog>.food{aspect-ratio:1.8}.buyer-dialog .dialog-body{padding:24px 28px 28px}.buyer-dialog h2{font-size:1.6em;margin-bottom:16px}.buyer-dialog .base-price{font-size:1.1em;color:var(--ink);font-weight:700}.selection-row{display:flex;align-items:center;gap:12px}.selection-row>strong{margin-left:auto;font-size:1.3em}.selection-row output{font-weight:700;min-width:24px;text-align:center}.buyer .danger-button{background:#a13324;color:white}.empty{padding:40px 20px;text-align:center}.empty p{margin:16px 0}.order-reference{font-size:1.2em!important;color:var(--ink)!important}.status-box{background:#f0f3e8;border-radius:14px;padding:24px;margin:20px 0}.status-box h2{font-size:1.2em;margin-bottom:14px}.status-box p{line-height:1.6;margin:12px 0;font-size:.95em}.payment-status{padding:14px 0;border-top:1px solid #ccd5c1}.tracking-steps{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:0;margin:24px 0}.tracking-steps li{border-top:3px solid var(--line);padding:12px 4px;font-size:.85em;display:flex;align-items:center;gap:6px}.tracking-steps li[aria-current]{border-color:var(--accent);font-weight:700;color:var(--accent)}.tracking-steps svg{width:18px;height:18px}.help{padding:24px;background:#f8eadb;border-radius:12px;margin-top:24px}.help h2{font-size:1.1em}.help p{line-height:1.6;font-size:.875em;margin-top:12px}.points-row{display:flex;justify-content:space-between;gap:16px;padding:22px 0}.points-row dt{font-size:.8em}.points-row dd{font-size:1.8em;font-weight:700;margin:8px 0}.buyer.text-large .buyer-header{flex-wrap:wrap}.buyer.text-large .checkout-grid{grid-template-columns:1fr}.buyer.text-large .buyer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.buyer.text-large .page-heading{flex-wrap:wrap}.buyer.text-large .buyer-hero{grid-template-columns:1fr 1fr}.buyer.text-large .buyer-hero h1{font-size:2em}.buyer.text-large .buyer-header nav{flex-wrap:wrap}.buyer.text-large .notice,.buyer.text-large .attempt-banner{max-height:30vh;overflow:auto}.buyer.text-large .buyer-dialog{width:min(850px,100%)}.buyer.text-large .buyer-totals>div{flex-wrap:wrap}.buyer.text-large .review-line{flex-wrap:wrap}
@media(max-width:800px){.buyer-header{padding:12px 16px;gap:10px}.buyer-header nav{display:none}.buyer-header .restaurant-mark strong{font-size:1.5em}.buyer-header .restaurant-mark span{font-size:.65em}.context-button{width:100%;justify-content:start;border-radius:6px;min-height:44px;padding:8px 12px}.buyer-home,.buyer-menu,.buyer-section{padding:20px 16px 28px}.buyer-hero{grid-template-columns:1fr}.buyer-hero>div{padding:26px}.buyer-hero h1{font-size:2.3em}.buyer-hero .food{height:210px;width:100%;aspect-ratio:auto}.buyer-hero p{font-size:.875em;margin:12px 0}.buyer-hero .btn{width:100%;margin-right:0}.buyer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.buyer-product .product-title{font-size:.94em;padding:12px 12px 0}.buyer-product>p{font-size:.8em;margin:10px 12px}.buyer-product .food{aspect-ratio:1.2}.buyer-product footer{padding:12px;gap:8px;flex-wrap:wrap}.buyer-product footer .btn{width:100%}.buyer-product footer strong{font-size:1em}.page-heading{display:block}.search-field{min-width:0;margin-top:18px}.page-heading h1{font-size:1.6em}.buyer-categories .category{font-size:.8125em;padding:10px 14px}.buyer-bottom{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;flex-shrink:0;background:#fffdf9;border-top:1px solid var(--line);padding:6px 8px}.buyer-bottom .btn{font-size:.7em;padding:7px 2px;flex-direction:column;gap:4px;min-height:56px}.buyer-bottom svg{width:20px;height:20px}.checkout-grid{display:block}.checkout-summary{margin-top:24px;padding:22px}.form-grid{grid-template-columns:1fr;gap:0}.form-actions{flex-direction:column-reverse;align-items:stretch}.form-actions .btn{width:100%}.context-strip{align-items:start;flex-direction:column;gap:0}.buyer fieldset{padding:15px}.buyer-section>h1{font-size:1.7em}.notice,.attempt-banner{padding:8px 16px;font-size:.78em;max-height:20vh;overflow:auto}.buyer-dialog .dialog-body{padding:22px}.buyer-dialog h2{font-size:1.4em}.tracking-steps{grid-template-columns:1fr 1fr}.review-line{flex-wrap:wrap}.buyer.text-large .buyer-grid{grid-template-columns:1fr}.buyer.text-large .buyer-hero{display:block}.buyer.text-large .buyer-hero h1{font-size:1.7em;overflow-wrap:anywhere}.buyer.text-large .buyer-bottom{grid-template-columns:1fr 1fr}.buyer.text-large .buyer-header .restaurant-mark{width:100%}.buyer.text-large .buyer-bottom .btn{font-size:.65em;min-height:60px}.buyer.text-large .buyer-header .restaurant-mark span{font-size:.55em}.buyer.text-large .points-row{flex-wrap:wrap}.buyer.text-large .tracking-steps{grid-template-columns:1fr}.buyer.text-large .choice{flex-wrap:wrap}.buyer.text-large .selection-row{flex-wrap:wrap}.buyer.text-large .selection-row>strong{width:100%;margin:12px 0}.buyer.text-large .notice,.buyer.text-large .attempt-banner{font-size:.6em}.buyer.text-large .order-reference{overflow-wrap:anywhere}.review>summary{font-size:11px;padding-inline:12px;gap:6px}.review>summary>span:last-child{font-size:0}.review-panel{display:flex;max-height:50vh}.review-panel label{width:100%}.review-panel select{width:100%}}
@media(max-height:550px){.buyer-header{padding-top:6px;padding-bottom:6px}.buyer-header .context-button{width:auto}.buyer-bottom{padding-top:2px;padding-bottom:2px}.notice,.attempt-banner{max-height:18vh}.buyer .dialog{max-height:calc(100dvh - 24px)}}

/* V01-08: one confirmation action, outside scrolling content only when space permits. */
.confirmation-dock{flex-shrink:0;border-top:1px solid var(--line);background:#fffdf9;padding:12px max(16px,calc((100vw - 1180px)/2));display:flex;gap:12px;align-items:center;flex-wrap:wrap}.confirmation-dock p{flex:1;min-width:180px;line-height:1.5}.confirmation-dock small{font-size:.75em;color:var(--muted)}#buyer-main>.confirmation-dock{padding:20px;position:static}.next-explanation{line-height:1.6;margin-bottom:12px}.form-actions>div{flex:1}.order-reference{overflow-wrap:anywhere}.form-actions>.text-button{background:transparent;border:0;text-decoration:underline}.buyer.text-large .confirmation-dock{display:block}.buyer.text-large .confirmation-dock .btn{margin:16px 0;width:100%}@media(max-width:800px){.confirmation-dock small{width:100%}.confirmation-dock p{font-size:.9em;margin:0}.confirmation-dock .btn{width:100%}.form-actions>.text-button{width:auto;align-self:center}.confirmation-dock{gap:8px}.confirmation-dock p{min-width:0}}

/* V01-09: own visual receipt, only rendered after confirmed transition. */
.confirmation-success{background:#14613e;color:#fff;max-width:900px;min-height:100%;display:flex;flex-direction:column;align-items:center;text-align:center;gap:18px;padding:38px 24px}.confirmation-success .eyebrow,.confirmation-success>p,.confirmation-success .order-reference{color:#fff!important;margin:0}.confirmation-success h1{font-size:2.35em;line-height:1.15;margin:0}.success-symbol{width:104px;height:104px;flex-shrink:0;border:3px solid #fff;border-radius:50%;display:grid;place-items:center;animation:none}.success-symbol svg{width:64px;height:64px;fill:none;stroke:currentColor;stroke-width:2.5}.confirmation-success .success-message{font-size:1.2em}.success-payment{padding:20px;border:1px solid #91c9a8;border-radius:12px;width:100%;max-width:540px;line-height:1.5}.success-payment p{margin:8px 0 0}.confirmation-success .success-action{background:#fff;color:#145236;min-height:52px;padding:14px 32px;font-weight:750}.confirmation-success .success-action:focus-visible{outline:3px solid #fff;outline-offset:5px}.confirmation-success small{line-height:1.6;max-width:550px}.confirmation-success .order-reference{max-width:100%;overflow-wrap:anywhere;font-size:.9em!important}.status-box.pending-result{background:#f8f2e9;color:var(--ink)}.checkout-summary>.secondary.wide{margin-top:12px}@keyframes receipt-in{from{transform:scale(.94);opacity:.6}to{transform:scale(1);opacity:1}}@media(prefers-reduced-motion:reduce){.success-symbol{animation:none}}@media(max-width:800px){.confirmation-success{padding:28px 20px;gap:18px}.confirmation-success h1{font-size:2em}.confirmation-success .success-action{width:100%}}

.confirmation-success small{color:#fff!important}.basket-dock .dock-actions{display:flex;gap:10px;flex-wrap:wrap}.basket-dock .dock-actions .btn{flex:1}.buyer.text-large .basket-dock .dock-actions{display:block}@media(max-width:800px){.basket-dock .dock-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.basket-dock .dock-actions .btn{padding:10px;min-height:48px;font-size:.85em}}

/* V01-10: explicit branch entry and independent optional signup. */
.branch-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.buyer .branch-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;white-space:normal;gap:12px;padding:24px;background:#f8eadb;border:1px solid var(--strong-line);border-radius:14px;min-height:130px;font:inherit;color:var(--ink)}.branch-card strong{font-size:1.25em}.branch-card span,.branch-card small{line-height:1.5}.branch-card small{font-size:.8em}.registration-fields{border-top:1px solid var(--line);margin-top:16px;padding-top:8px;overflow-wrap:anywhere}.registration-fields .notice{display:block;line-height:1.6;padding:16px}.loyalty-invite .choice{align-items:flex-start}.loyalty-invite .choice input{margin-top:2px}.demo-scenarios .btn{margin:8px 8px 0 0;white-space:normal}.text-large .branch-options{grid-template-columns:1fr}@media(max-width:600px){.branch-options{grid-template-columns:1fr}.branch-card{padding:20px}.loyalty-invite{padding:14px!important}}

/* V01-11: compact checkout, readable per-order progress, flowing low-height layout. */
#app{height:var(--buyer-visible-height,100dvh)}.demo-only{padding:7px 16px}.checkout-steps{display:flex;flex-wrap:wrap;gap:8px 16px;list-style:none;padding:0;margin:0 0 12px;font-size:.8em;color:var(--muted)}.checkout-steps [aria-current]{font-weight:750;color:var(--ink)}.context-strip p{font-size:.85em;margin:6px 0;line-height:1.5}.context-strip small{font-size:.8em;line-height:1.5}.registration-status{display:block;color:var(--muted);background:#f2f1ee;border-left:3px solid #92958b;padding:10px 12px;font-size:.85em;line-height:1.5;margin:10px 0}.loyalty-invite .fine-print{margin:8px 0!important}.loyalty-conditions summary,.order-summary summary,.order-help summary{min-height:44px;display:list-item;padding:12px 4px;cursor:pointer;font-weight:650;line-height:1.5}.loyalty-conditions{font-size:.85em}.loyalty-conditions p,.order-summary p,.order-help p{margin:10px 0;line-height:1.6}.order-summary,.order-help{border-top:1px solid var(--line);margin:12px 0}.order-help{font-size:.85em}.buyer summary:focus-visible,.buyer .btn:focus-visible,.buyer input:focus-visible,.buyer select:focus-visible{outline:3px solid #985024;outline-offset:3px}.confirmation-dock{padding-block:10px;gap:8px}.confirmation-dock p{margin:0}.buyer .confirmation-success{gap:12px;padding:22px 20px}.confirmation-success h1{font-size:1.9em}.success-symbol{width:76px;height:76px}.success-symbol svg{width:46px;height:46px}.success-payment{padding:12px}.success-payment p{margin:4px 0 0}.confirmation-success .order-reference{font-size:1.15em!important}.tracking-identity p{margin:6px 0;font-size:.95em}.tracking-section>h1{margin-bottom:12px}.order-progress{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:8px;list-style:none;padding:0;margin:22px 0}.order-progress li{display:flex;gap:10px;border-top:4px solid #d6d6ce;padding:12px 4px;min-width:0;line-height:1.4}.order-progress strong{display:block;font-size:.92em}.order-progress small{display:block;color:var(--muted);font-size:.78em;margin-top:5px}.order-progress .done{border-color:#446644}.order-progress .current{border-color:#9b4e20;background:#f8eadb;border-radius:4px}.step-symbol{font-size:1.1em;flex-shrink:0}.stage-instruction{font-size:1em!important;font-weight:550}.update-pending,.cancelled-result{padding:12px;border-left:4px solid #986b30;background:#f8f1e4;font-size:.9em;line-height:1.5}.cancelled-result{border-color:#a13324;background:#fff0eb}.tracking-section>.payment-status{margin:12px 0;line-height:1.5}.order-picker{max-width:100%;margin:12px 0}.order-picker select{white-space:normal}.flow-layout>#buyer-main{flex:1;min-height:0}.flow-layout #buyer-main>.buyer-header{position:static}.flow-layout #buyer-main>.buyer-bottom{position:static}.flow-layout #buyer-main>.confirmation-dock{position:static}.flow-layout .buyer-header,.flow-layout .buyer-bottom{flex-shrink:0}.buyer.text-large .confirmation-dock .btn{margin:8px 0}.buyer.text-large .choice{flex-wrap:nowrap;align-items:flex-start}.buyer.text-large .order-progress{grid-template-columns:1fr}.buyer.text-large .order-progress li{border-top:0;border-left:4px solid #d6d6ce;padding:10px 12px}.buyer.text-large .order-progress .current{border-left-color:#9b4e20}.buyer.text-large .order-progress .done{border-left-color:#446644}
@media(max-width:800px){.buyer.purchase-focus .buyer-header{padding:8px 16px;gap:0}.buyer.purchase-focus .buyer-header .restaurant-mark{display:none}.buyer.purchase-focus .context-button{padding:8px 10px;font-size:.85em}.buyer.purchase-focus .buyer-section{padding:16px 16px 24px}.buyer.purchase-focus .context-strip{margin:12px 0;flex-direction:row;align-items:start}.buyer.purchase-focus .context-strip .btn{flex-shrink:0}.buyer.purchase-focus fieldset{margin:16px 0}.buyer.purchase-focus .fine-print{margin:10px 0!important}.buyer.purchase-focus .form-actions{margin-top:16px}.buyer.purchase-focus .checkout-summary{margin-top:16px}.buyer-bottom{grid-template-columns:repeat(auto-fit,minmax(58px,1fr))}.buyer-bottom .btn{min-height:48px;font-size:.65em}.buyer.text-large .buyer-bottom{grid-template-columns:repeat(2,minmax(0,1fr))}.order-progress{grid-template-columns:1fr;gap:0;margin:16px 0}.order-progress li{border-top:0;border-left:4px solid #d6d6ce;padding:10px 12px}.order-progress .current{border-left-color:#9b4e20}.order-progress .done{border-left-color:#446644}.buyer .confirmation-success{padding:18px 16px;gap:10px}.confirmation-success h1{font-size:1.8em}.confirmation-success .success-action{min-height:48px}.confirmation-dock .btn{min-height:48px}.order-progress strong{font-size:.95em}}

.buyer-header .context-button:disabled{opacity:1;color:var(--ink)}

/* V01-12: customer-only post-order membership, never over the tracking. */
.post-loyalty{padding:18px;border:1px solid var(--line);border-radius:12px;background:#faf3e9;margin:18px 0;min-width:0}.post-loyalty h2{font-size:1.2em;margin:0 0 10px}.post-loyalty p{line-height:1.55;margin:10px 0}.post-loyalty .btn{white-space:normal;max-width:100%;min-height:48px}.post-loyalty-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.loyalty-status{font-size:.9em;color:var(--muted);padding:10px 0;line-height:1.5}.post-loyalty .fine-print{margin:10px 0!important}.post-loyalty .loyalty-conditions{margin-top:10px}.buyer.text-large .post-loyalty-actions{display:block}.buyer.text-large .post-loyalty-actions .btn{margin-block:8px}@media(max-width:600px){.post-loyalty{padding:16px}.buyer-bottom .btn{overflow-wrap:anywhere}}

/* V20: recovery alternatives stay secondary to the mailbox action. */
.registration-help{margin:24px 0 16px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:8px 0;min-width:0}.registration-help-actions{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:8px 0 16px}.registration-help-actions .btn,.registration-back .btn{white-space:normal;max-width:100%}.registration-help-actions p{margin:0 0 8px}.registration-back{margin-top:16px}#phone-format-help{overflow-wrap:anywhere}

/* V22: next action and waiting are visually separate; auth and business unchanged. */
.access-task{max-width:780px}.access-progress{display:flex;gap:16px;flex-wrap:wrap;list-style:none;margin:24px 0;padding:0;font-size:.82em;color:var(--muted)}.access-progress li{display:flex;align-items:center;gap:8px}.access-progress span{display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;width:30px;height:30px;flex-shrink:0}.access-progress [aria-current]{color:var(--ink);font-weight:700}.access-progress [aria-current] span{background:var(--accent);color:white;border-color:var(--accent)}.next-step{font-size:1.15em;line-height:1.5}.wait-panel{background:#f6efe4;border-left:4px solid var(--accent);padding:20px;margin:24px 0}.wait-panel .btn{white-space:normal;max-width:100%}.access-task>.context-strip{font-size:.9em;margin-bottom:12px}.access-task .btn{white-space:normal;max-width:100%}.stage-instruction{padding:18px;background:#f6efe4;border-radius:10px}.post-loyalty .primary{margin-block:8px}.buyer.text-large .access-progress{gap:12px}.buyer.text-large .access-progress span{width:42px;height:42px}@media(max-width:600px){.access-task{padding:20px 16px}.access-progress{gap:10px}.wait-panel{padding:16px}.access-task .primary{width:100%}}
.test-mail-support{padding:1rem;border:1px solid #89a1b3;border-radius:12px;background:#eaf1f6;margin:1rem 0;overflow-wrap:anywhere}.test-mail-support .btn{white-space:normal;max-width:100%}

.final-review .review-sections{display:grid;gap:20px}.review-card{border:1px solid var(--line);border-radius:14px;padding:24px;background:white;min-width:0}.review-card h2{font-size:1.15em;margin:0 0 16px}.review-card p{line-height:1.6;margin:10px 0;overflow-wrap:anywhere}.final-review .checkout-summary{min-width:0}.final-review .btn{white-space:normal;max-width:100%}@media(max-width:800px){.review-card{padding:20px}.final-review .checkout-summary{margin-top:20px}}

/* V25: related information stays together; touch targets preserved. */
.final-review .checkout-grid{gap:24px}.final-review .review-sections{gap:12px}.final-review .review-card{padding:18px 20px}.final-review .review-card h2{margin-bottom:10px}.final-review .review-card p{margin:6px 0}.final-review .review-card .text-button{padding:10px 0;min-height:44px}.final-review .review-line{padding:10px 0}.final-review .checkout-summary{padding:20px}.final-review .buyer-totals{margin:12px 0}.final-review .review-payment{font-weight:600;color:var(--ink);margin:12px 0 18px}.buyer .access-progress{margin:14px 0}.buyer .access-task .context-strip{margin:12px 0}.buyer .registration-help{margin:16px 0}.buyer .next-step{font-size:1em}.buyer .post-loyalty{margin:14px 0}.buyer .confirmation-success{min-height:0;padding-bottom:32px}.buyer .review-card p:empty{display:none}@media(max-width:800px){.final-review .review-card{padding:16px}.final-review .checkout-summary{margin-top:12px}}

/* V26 account identity and balance */
.account-identity{overflow-wrap:anywhere}.account-points{padding:16px 0;border-bottom:1px solid var(--border,#ddd)}.account-points h2{margin:0}.account-points p{margin:8px 0}

/* V27: only saved per-dish notices, shared markup with editor preview. */
.allergy-notice{margin:16px 0;padding:12px 16px;border-left:4px solid #af6a21;background:#fff8eb;overflow-wrap:anywhere}.allergy-notice h3{font-size:1em;margin:0 0 8px}.allergy-notice p{margin:6px 0}

/* V28: compact absence/error only in the product detail; valid photos keep their layout. */
.buyer-dialog>.food.no-photo{aspect-ratio:auto;min-height:64px;height:auto;display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:10px;padding:16px 76px 16px 24px;font-size:.85em;background:transparent}
.buyer-dialog>.food.no-photo svg{width:22px;height:22px;flex-shrink:0}

/* V30: spacing belongs to the product composition, independent of an empty error. */
.buyer-dialog .product-detail-content { display: grid; gap: 1rem; }
.buyer-dialog .product-detail-content > h2,
.buyer-dialog .product-detail-content > p,
.buyer-dialog .product-detail-content > .field,
.buyer-dialog .product-detail-content > .allergy-notice { margin: 0; }
.buyer-dialog .product-detail-content > p { line-height: 1.5; }
.buyer-dialog .product-selection { display: grid; gap: 1rem; min-width: 0; }
.buyer-dialog .product-selection .selection-row { flex-wrap: wrap; gap: .75rem 1rem; }
.buyer-dialog .quantity-controls { display: flex; align-items: center; gap: .75rem; }
.buyer-dialog .quantity-controls output { min-width: 24px; text-align: center; font-weight: 700; }
.buyer .buyer-dialog .product-selection .selection-row > strong { margin: 0 0 0 auto; width: auto; overflow-wrap: anywhere; }
.buyer-dialog .product-selection .field-error { margin: 0 !important; }
.buyer-dialog .product-selection > .btn { min-width: 0; white-space: normal; line-height: 1.45; }

/* V35: confirmed destination and ordinary scrolling, including large text. */
.buyer-address {min-width:0}.buyer-address .confirmed-address,.quote-result{overflow-wrap:anywhere;padding:1rem;border:1px solid var(--line,#ded8ca);border-radius:.8rem}
.buyer-address input{width:100%;min-width:0}.quote-box .choice{display:flex;gap:.7rem;align-items:center;margin:.8rem 0}.quote-box .choice input{flex:0 0 auto}
#address-candidate:empty,#address-provider-status:empty{display:none}.pac-container{max-width:calc(100vw - 24px);white-space:normal}.pac-item{white-space:normal;min-height:44px;line-height:1.5;padding:8px;font-size:16px}.pac-item-query{font-size:inherit}

.pickup-place{margin:.5rem 0 1rem;overflow-wrap:anywhere}.pickup-place p{white-space:pre-line}.pickup-place a{display:inline-block;padding:.65rem 0;text-underline-offset:3px}.pickup-place a:focus-visible{outline:3px solid currentColor;outline-offset:3px}

/* V39 · Buyer restaurant identity. Normal document flow keeps controls reachable. */
.buyer.experience{height:auto;min-height:100dvh;overflow:visible}.buyer #buyer-main{overflow:visible;flex:none;background:var(--canvas)}#app{height:auto;min-height:100dvh}.buyer-header{background:var(--surface);padding:16px max(18px,calc((100vw - 1180px)/2));gap:12px}.buyer-header .restaurant-mark{color:var(--ink);max-width:100%;gap:12px}.restaurant-logo{width:48px;height:48px;object-fit:contain}.buyer-header nav{flex-wrap:wrap}.buyer .context-button{background:var(--canvas);color:var(--ink);border:1px solid var(--strong-line);font-size:.875em;white-space:normal}.buyer .eyebrow{color:var(--muted)}.buyer .btn.primary,.buyer .success-action{background:var(--action);color:var(--action-ink);border:1px solid var(--ink);font-weight:700}.buyer .btn.secondary,.buyer .icon-button,.buyer .nav-btn{color:var(--ink);background:var(--surface);border:1px solid var(--strong-line)}.buyer .text-button,.buyer a{color:var(--ink)}.buyer :is(button,input,select,textarea,a,summary):focus-visible{outline:3px solid var(--ink);outline-offset:3px;box-shadow:0 0 0 6px white}.buyer :is(input,select,textarea){border-color:var(--strong-line);color:var(--ink);background:var(--surface)}.buyer :is(input[type=checkbox],input[type=radio]){accent-color:var(--ink);min-width:22px;min-height:22px}.buyer .notice,.buyer .status-box{background:var(--owned-bg);color:var(--owned)}.buyer .warning,.buyer .allergy-notice{background:var(--warning-bg);color:var(--warning);border-color:var(--warning)}.buyer .field-error{color:var(--danger)}.buyer .fine-print,.buyer .page-heading p{color:var(--muted)}.buyer .buyer-categories{flex-wrap:wrap;overflow:visible}.buyer .buyer-categories .category{border:1px solid var(--strong-line);white-space:normal}.buyer .buyer-categories .active{background:var(--ink);color:#fff;outline:2px solid var(--ink);outline-offset:2px}.buyer .buyer-categories .active:before{content:'✓ ';}.buyer .page-heading{align-items:flex-start}.menu-location{font-size:.875em;margin:10px 0}.menu-location summary{cursor:pointer;min-height:44px;padding:10px 0;text-decoration:underline;text-underline-offset:4px}.buyer .buyer-product{background:var(--surface);border-color:var(--line);box-shadow:var(--shadow)}.buyer .buyer-product .food{background:var(--canvas);object-fit:cover}.buyer .buyer-product .no-photo{height:auto;min-height:48px;aspect-ratio:auto;font-size:.8em;flex-direction:row;padding:12px;gap:8px}.buyer .no-photo svg{width:20px;height:20px}.buyer .checkout-summary,.buyer .review-card{background:var(--surface);border:1px solid var(--line);border-radius:16px}.buyer .buyer-lines>article{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:20px;margin-bottom:14px}.buyer .confirmation-dock{position:static;background:var(--surface);max-width:1180px;width:100%;margin:0 auto 20px;border:1px solid var(--line);border-radius:14px}.buyer .buyer-bottom{position:static;flex-wrap:wrap;min-height:0;height:auto;bottom:auto;background:var(--surface);padding:12px;border-top:1px solid var(--line);gap:8px}.buyer .buyer-bottom button{flex:1 1 90px;min-width:0;min-height:48px}.buyer .buyer-bottom .nav-current{border:2px solid var(--ink);background:var(--canvas);color:var(--ink)}.buyer .buyer-dialog{max-height:calc(100dvh - 24px);overflow:auto}.buyer .dialog-close{position:sticky;top:8px;float:right;z-index:2;background:white;color:var(--ink);margin:8px 8px -56px 0;border:1px solid var(--strong-line)}.buyer .modifier-group{border:1px solid var(--strong-line);border-radius:12px;padding:16px;margin:0;min-width:0}.buyer .modifier-group legend{font-size:1.05em;padding:0 6px;font-weight:700}.buyer .modifier-rule{color:var(--muted);margin:0 0 10px}.buyer .modifier-group .choice{display:flex;align-items:center;gap:10px;min-height:48px;border:1px solid var(--line);padding:12px;border-radius:8px;margin:8px 0;cursor:pointer}.buyer .modifier-group .choice:has(:checked){border:2px solid var(--ink);background:var(--canvas);padding:11px}.buyer .modifier-group .choice span{flex:1;min-width:0}.buyer .modifier-hint{color:var(--warning);margin:8px 0 0;font-weight:600;min-height:0}.buyer .modifier-hint:empty{display:none}.buyer .product-detail-content .base-price{color:var(--ink)}.buyer .order-progress .current{border-color:var(--ink);background:var(--canvas);color:var(--ink)}.buyer .step-symbol{color:inherit}.buyer .success-symbol{background:var(--success-bg);color:var(--success)}
@media(max-width:800px){.buyer-header{position:static;padding:14px 16px}.buyer-header nav{display:none}.buyer-header .context-button{width:100%}.buyer .page-heading{display:block}.buyer .search-field{min-width:0}.buyer .buyer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.buyer .buyer-product .product-title{padding:12px 12px 0}.buyer .buyer-product>p{margin:8px 12px}.buyer .buyer-product footer{padding:12px;flex-wrap:wrap}.buyer .buyer-product footer .btn{width:100%}.buyer .buyer-section,.buyer .buyer-menu{padding:22px 16px 28px}.buyer .checkout-grid{grid-template-columns:1fr}.buyer .confirmation-dock{border-radius:0;margin-bottom:0}.buyer .dialog-backdrop{padding:12px}.buyer .dialog-body{padding:20px}.buyer .checkout-steps{flex-wrap:wrap;gap:8px}.buyer .confirmation-success{min-height:0}}
@media(max-width:420px){.buyer .buyer-grid{grid-template-columns:1fr}.buyer .buyer-product .product-open{display:block}.buyer .buyer-product .food:not(.no-photo){aspect-ratio:1.9}}
.buyer.text-large .buyer-grid{grid-template-columns:1fr}.buyer.text-large .page-heading,.buyer.text-large .checkout-grid{display:block}.buyer.text-large .modifier-group .choice{flex-wrap:wrap}.buyer.text-large .modifier-group .choice strong{width:100%;padding-left:32px}.buyer.text-large .buyer-header{position:static}.buyer.text-large .buyer-section>h1,.buyer.text-large .page-heading h1{font-size:1.4em}.buyer.text-large .dialog-close{width:52px;height:52px}.buyer .btn{white-space:normal;overflow-wrap:anywhere;line-height:1.4}

.buyer .menu-cart-link{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:16px 0}.buyer .dialog-body{background:var(--surface)}.buyer .field-error{color:var(--danger)!important}.buyer .restaurant-mark span{color:var(--muted)}.buyer summary{color:var(--ink)}.buyer.text-large .order-progress .current{border-left-color:var(--ink)}

.buyer .nav-current{color:var(--ink)!important}.buyer .access-progress [aria-current] span{background:var(--action);color:var(--action-ink);border-color:var(--ink)}

.buyer .stage-instruction,.buyer .post-loyalty,.buyer .quote-box{background:var(--surface);color:var(--ink)}.buyer .quote-result{color:var(--success);background:var(--success-bg);border-color:var(--success)}.buyer .btn:focus-visible{outline:3px solid var(--ink);outline-offset:3px;box-shadow:0 0 0 6px white}

/* V40: menu stays behind focused product/cart/checkout panels; restaurant identity remains authoritative. */
.buyer .shop-header{gap:12px 24px;padding-block:12px}.buyer .shop-header .restaurant-mark strong{font-size:1.35em;letter-spacing:-.035em}.buyer .shop-header nav{display:flex;gap:8px;flex-wrap:wrap}.shop-context{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.service-toggle{display:flex;border:1px solid var(--strong-line);border-radius:24px;padding:3px;gap:3px}.service-toggle .btn{border-radius:22px;min-height:44px;font-size:.85em;padding:8px 14px}.buyer .service-toggle .selected{background:var(--action);color:var(--action-ink);border-color:var(--ink)}.buyer .branch-switch{color:var(--ink);font-size:.85em;padding:8px}.buyer .cart-button{background:var(--action);color:var(--action-ink);border-color:var(--ink)}.buyer .shop-header .nav-btn{color:var(--ink)!important}.buyer .buyer-menu{padding-top:24px}.buyer .page-heading h1{font-size:1.8em}.buyer .branch-details{font-size:.85em;margin:0 0 16px}.buyer .branch-details summary{cursor:pointer;min-height:44px;padding:10px 0}.buyer .branch-details .pickup-address{margin:4px 0;padding:14px}.buyer .buyer-categories{flex-wrap:wrap;overflow:visible}.buyer .buyer-grid{grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:22px}.buyer .buyer-product .food:not(.no-photo){aspect-ratio:1.5;object-fit:cover}.buyer .buyer-product footer{padding-top:0}.buyer .buyer-product footer .btn{border:1px solid var(--strong-line);width:auto}.buyer .buyer-product .no-photo{height:72px;aspect-ratio:auto}.buyer .buyer-product .no-photo svg{width:24px;height:24px}
.buyer .dialog-backdrop,.purchase-backdrop{position:fixed;inset:0;background:#151a2175;z-index:30;padding:24px;display:flex;align-items:center;justify-content:center}.purchase-backdrop{justify-content:flex-end;padding:0;z-index:20}.purchase-sheet{width:min(650px,100%);height:100%;max-height:100dvh;overflow-y:auto;overscroll-behavior:contain;background:var(--surface);color:var(--ink);box-shadow:-6px 0 30px #151a2125;padding-top:8px;scroll-padding:20px;position:relative}.purchase-sheet>.sheet-close{display:flex;margin:0 16px 0 auto}.purchase-sheet .buyer-section{padding:0 28px 32px}.purchase-sheet .buyer-section>h1{font-size:1.6em;margin:0 0 24px}.purchase-sheet .buyer-lines article{display:grid;grid-template-columns:80px minmax(0,1fr);gap:16px;padding:18px 0}.purchase-sheet .cart-photo .food{width:80px;height:80px;aspect-ratio:1;border-radius:10px;object-fit:cover}.purchase-sheet .cart-photo .no-photo{height:56px}.purchase-sheet .buyer-lines h2{font-size:1.05em;margin:0}.purchase-sheet .buyer-lines p{font-size:.88em;margin:7px 0}.purchase-sheet .buyer-lines strong{margin:8px 0}.purchase-sheet .line-actions{margin:8px 0 0;gap:4px}.purchase-sheet .line-actions .btn{padding:8px 10px}.sheet-action{border-top:1px solid var(--line);padding:20px 0 8px;background:var(--surface)}.sheet-action p{font-size:.88em;line-height:1.5;margin:0 0 12px}.checkout-segment{padding:20px 0;border-top:1px solid var(--line)}.checkout-segment h2{font-size:1.05em;display:flex;gap:10px;align-items:baseline;margin:0 0 12px}.checkout-segment h2>span{font-size:.8em;border:1px solid var(--strong-line);border-radius:50%;padding:3px 8px;flex-shrink:0}.checkout-context,.segment-heading,.compact-order-line{display:flex;justify-content:space-between;gap:14px;align-items:baseline;flex-wrap:wrap}.checkout-context strong{font-size:.9em}.checkout-segment .pickup-address{margin:10px 0 0;padding:14px;background:var(--canvas)}.checkout-segment .pickup-address h2{font-size:.9em}.checkout-segment .pickup-address p{margin:8px 0}.checkout-segment .form-grid{grid-template-columns:1fr 1fr;gap:0 14px}.checkout-segment .form-grid>.field:first-child{grid-column:1/-1}.compact-order-line{padding:12px 0;border-bottom:1px solid var(--line);font-size:.9em;flex-wrap:nowrap}.compact-order-line>div{min-width:0}.compact-order-line p{font-size:.9em;margin-top:6px!important;color:var(--muted);line-height:1.5}.compact-order-line>strong{white-space:nowrap}.checkout-segment .buyer-totals{margin:0}.checkout-segment .fine-print{margin:8px 0!important}.shipping-box{border:1px solid var(--strong-line);border-radius:10px;padding:12px;margin-top:16px;font-size:.9em;line-height:1.5}.shipping-box p{margin:8px 0!important}.checkout-segment .payment-choice{border:1px solid var(--strong-line);border-radius:10px;padding:12px;margin:12px 0}.checkout-action{position:static}.buyer .product-panel{width:min(960px,100%);max-width:960px;display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);overflow:auto;align-items:start;max-height:calc(100dvh - 48px)}.buyer .product-panel>.dialog-close{grid-column:1/-1;margin:10px 12px 0 auto;position:static}.buyer .product-panel>.product-photo{min-width:0;padding:12px 0 24px 24px}.buyer .product-panel .product-photo .food{aspect-ratio:1;object-fit:cover;border-radius:12px}.buyer .product-panel .product-photo:has(.no-photo){display:none}.buyer .product-panel:has(.no-photo){display:block;max-width:620px}.buyer .product-panel .dialog-body{padding:12px 24px 24px}.buyer .product-panel h2{font-size:1.5em}.buyer .product-panel .modifier-group{margin:18px 0;padding:12px}.buyer .product-panel .choice{border-bottom:1px solid var(--line);padding:12px 4px}.buyer .product-panel .choice:has(:checked){background:var(--canvas);outline:1px solid var(--strong-line);border-radius:6px}.buyer .product-panel .dialog-actions{margin-top:18px}.buyer .post-loyalty{max-width:680px;padding:18px;margin:20px 0;border:1px solid var(--strong-line);border-radius:12px}.buyer .post-loyalty h2{font-size:1.1em;margin-bottom:8px}.buyer .post-loyalty p{font-size:.9em;line-height:1.5;margin:8px 0 14px}.buyer .post-loyalty .btn{margin:3px 5px 3px 0}.buyer .order-reference:empty{display:none}
.buyer.text-large .shop-header,.buyer.text-large .shop-header nav{flex-wrap:wrap}.buyer.text-large .product-panel{display:block;width:min(760px,100%)}.buyer.text-large .product-panel>.product-photo{padding:12px 24px}.buyer.text-large .product-panel .product-photo .food{max-height:260px;aspect-ratio:1.6}.buyer.text-large .checkout-segment .form-grid{grid-template-columns:1fr}.buyer.text-large .compact-order-line{flex-wrap:wrap}.buyer.text-large .purchase-sheet .buyer-lines article{grid-template-columns:1fr}.buyer.text-large .shop-header .restaurant-mark{width:auto}.buyer.text-large .sheet-action .btn{height:auto}.buyer.text-large .purchase-sheet .buyer-section>h1{font-size:1.25em}
@media(max-width:700px){.buyer .shop-header{padding:12px 16px;gap:10px}.buyer .shop-header nav{width:100%;display:flex;justify-content:space-between}.buyer .shop-header nav .btn{font-size:.8em}.buyer .shop-context{width:100%;justify-content:space-between;gap:4px}.buyer .buyer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.buyer .buyer-product .food:not(.no-photo){aspect-ratio:1.1}.buyer .buyer-product .product-title{font-size:1em}.buyer .buyer-product footer{flex-wrap:wrap;gap:8px}.buyer .buyer-product footer .btn{width:100%}.buyer .dialog-backdrop{padding:10px}.buyer .product-panel{display:block;width:100%;max-height:calc(100dvh - 20px)}.buyer .product-panel>.product-photo{padding:12px 20px}.buyer .product-panel .product-photo .food{aspect-ratio:1.7;max-height:235px}.buyer .product-panel .dialog-body{padding:12px 20px 24px}.purchase-sheet .buyer-section{padding:0 20px 28px}.checkout-segment .form-grid{grid-template-columns:1fr}.purchase-sheet .buyer-lines article{grid-template-columns:64px minmax(0,1fr);gap:12px}.purchase-sheet .cart-photo .food{width:64px;height:64px}.buyer.text-large .buyer-grid{grid-template-columns:1fr}.buyer.text-large .shop-context{display:block}.buyer.text-large .branch-switch{margin-top:8px}.buyer.text-large .shop-header nav .btn{flex:1;min-width:0;white-space:normal}.buyer.text-large .purchase-sheet .buyer-lines article{grid-template-columns:1fr}.buyer.text-large .compact-order-line{flex-wrap:wrap}.buyer.text-large .buyer-totals>div{flex-wrap:wrap}}
@media(max-height:600px){.buyer .product-panel .product-photo .food{max-height:220px}.purchase-sheet{max-height:100dvh}.buyer .shop-header{position:static}}

.purchase-sheet .cart-product-image .food{width:80px;height:80px;object-fit:cover;border-radius:10px}.purchase-sheet .sheet-header{display:flex;justify-content:flex-end;padding:0 8px 8px}.buyer .buyer-bottom{display:none}
@media(max-width:700px){.purchase-sheet .cart-product-image .food{width:64px;height:64px}}

.buyer #verify-form+.btn,.buyer #login-form+.btn{margin-top:12px}.buyer .product-panel{scrollbar-gutter:stable}

/* V41: restaurant composition. These roles belong to the restaurant, not the SaaS palette. */
.buyer{--brand-tint:#f5f7f6;--brand-soft:#e8eeec}.buyer #buyer-main{background:var(--brand-tint)}
.buyer .shop-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 16px;background:var(--brand);color:var(--action-ink);padding:14px max(20px,calc((100vw - 1180px)/2));border:0;box-shadow:0 1px 8px #151a2110}
.buyer .shop-header .restaurant-mark{color:inherit;min-height:44px;min-width:0;gap:10px}.buyer .shop-header .restaurant-mark strong{font-size:1.6em;font-weight:800;letter-spacing:-.045em;line-height:1.12;overflow-wrap:anywhere}.buyer .shop-header nav{width:auto;display:flex;align-items:center;gap:10px;flex-wrap:nowrap}.buyer .shop-header .nav-btn{color:var(--action-ink)!important;border:1px solid currentColor;border-radius:30px;padding:10px 14px;background:transparent}.buyer .shop-header .cart-button{background:var(--surface);color:var(--ink);border:0;border-radius:30px;padding:10px 14px;gap:8px}.buyer .cart-count{font-size:.8em;background:var(--brand);color:var(--action-ink);min-width:24px;min-height:24px;display:inline-grid;place-items:center;border-radius:50%}.buyer .cart-label{display:none}.buyer .shop-context{grid-column:1/-1;justify-content:space-between;gap:10px}.buyer .service-toggle{background:var(--surface);border:0;padding:3px}.buyer .service-toggle .btn{min-height:40px;font-weight:700;padding:7px 16px;color:var(--ink)}.buyer .service-toggle .selected{background:var(--brand);color:var(--action-ink);border:2px solid var(--brand)}.buyer .branch-switch{color:var(--action-ink);border:0;padding:8px 0;gap:6px}.buyer .shop-header svg{flex-shrink:0}.buyer .shop-header .order-nav{font-size:.82em}.buyer .access-header{display:flex;justify-content:space-between;padding-block:10px}.access-header-label{font-size:.85em}.buyer .access-header .restaurant-mark strong{font-size:1.15em}
.buyer .buyer-menu{padding:26px 24px 48px}.buyer .page-heading{gap:24px;align-items:flex-start;margin-bottom:20px}.buyer .page-heading h1{font-size:2.4em;font-weight:850;line-height:1.04;letter-spacing:-.055em;max-width:550px;margin:0 0 12px}.buyer .menu-location{font-size:.85em}.buyer .menu-location summary{padding:8px 0;min-height:36px;cursor:pointer}.buyer .search-field{font-size:.82em;margin:0;min-width:240px}.buyer .search-field input{border-radius:28px;background:var(--surface)}
.buyer .buyer-categories{display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;gap:8px;scrollbar-width:thin;scroll-padding-inline:6px;padding:8px 3px 14px;margin:0 0 24px;overscroll-behavior-x:contain}.buyer .buyer-categories .category{font-size:.9em;font-weight:750;padding:10px 20px;background:transparent;border:1px solid transparent;color:var(--ink);flex-shrink:0}.buyer .buyer-categories .active{background:var(--brand);color:var(--action-ink);box-shadow:0 3px 0 var(--ink);border-color:var(--brand)}
.buyer .buyer-grid{grid-template-columns:repeat(auto-fill,minmax(255px,1fr));gap:32px 24px}.buyer .buyer-product{border:0;border-radius:0;background:transparent;box-shadow:none}.buyer .buyer-product .product-open{border:0;border-radius:0;background:transparent;color:var(--ink);text-align:left;padding:0}.buyer .buyer-product .food:not(.no-photo){width:100%;aspect-ratio:1.45;object-fit:cover;border-radius:20px}.buyer .buyer-product .product-title{font-size:1.35em;line-height:1.14;font-weight:800;letter-spacing:-.035em;padding:14px 0 0;display:block}.buyer .buyer-product>p{font-size:.95em;margin:8px 0 12px;line-height:1.5;color:var(--muted)}.buyer .buyer-product footer{padding:0;gap:12px;align-items:center;flex-wrap:nowrap}.buyer .buyer-product footer strong{font-size:1.25em;letter-spacing:-.02em}.buyer .buyer-product footer .product-add{width:auto;border:1px solid var(--brand-readable);background:var(--brand);color:var(--action-ink);border-radius:28px;min-height:44px;padding:8px 16px}.buyer .buyer-product .no-photo{height:44px;background:transparent;justify-content:flex-start;gap:8px;padding:0}.buyer .buyer-product .no-photo span{font-size:.8em}
.buyer .btn.primary{border-radius:28px;border:1px solid var(--brand-readable);padding:13px 20px;font-weight:750;letter-spacing:-.01em;min-height:52px;background:var(--action);color:var(--action-ink)}.buyer .text-button{color:var(--brand-readable);font-weight:650}.buyer .field input,.buyer .field textarea,.buyer .field select{border-radius:13px;border-color:var(--strong-line);padding:12px 14px;background:var(--surface)}.buyer .field{font-size:.9em}.buyer .btn:focus-visible,.buyer a:focus-visible,.buyer summary:focus-visible,.buyer input:focus-visible,.buyer select:focus-visible,.buyer textarea:focus-visible{outline:3px solid var(--ink);outline-offset:3px;box-shadow:0 0 0 6px white}.buyer .btn:disabled{opacity:1;background:var(--line);color:#52606d;border-color:#667482;cursor:not-allowed}
/* Fixed outer frame, scrolling middle, separately reachable close and action. */
.buyer .product-panel,.buyer .product-panel:has(.no-photo),.buyer.text-large .product-panel{display:flex;flex-direction:column;width:min(940px,100%);max-width:940px;height:min(840px,calc(var(--buyer-visible-height,100dvh) - 40px));max-height:calc(var(--buyer-visible-height,100dvh) - 40px);overflow:hidden;border-radius:24px;position:relative;scrollbar-gutter:auto;background:var(--brand-tint)}
.buyer .product-panel>.dialog-close{position:absolute;right:12px;top:12px;margin:0;float:none;z-index:3;border:1px solid var(--strong-line);border-radius:50%;width:44px;height:44px;min-height:44px;background:var(--surface)}
.buyer .product-scroll{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);min-height:0;overflow-y:auto;overscroll-behavior:contain;scroll-padding-block:60px 24px;flex:1}.buyer .product-photo{padding:0!important;min-width:0}.buyer .product-panel .product-photo .food{width:100%;height:100%;max-height:500px;aspect-ratio:auto;border-radius:0;object-fit:cover}.buyer .product-photo:has(.no-photo){display:none}.buyer .product-scroll:has(.no-photo){display:block}.buyer .product-panel .product-detail-content{background:var(--brand-tint);padding:58px 26px 24px}.buyer .product-panel .product-detail-content h2{font-size:2em;letter-spacing:-.05em;line-height:1.08;font-weight:850;margin:6px 0 14px}.buyer .product-detail-content>p{line-height:1.5}.buyer .product-detail-content .eyebrow{color:var(--brand-readable);font-size:.78em;text-transform:uppercase;letter-spacing:.07em;font-weight:800}.buyer .product-panel .base-price{margin-block:14px;font-size:1.3em}.buyer .product-panel .modifier-group{border:0;border-radius:0;padding:0;margin:26px 0}.buyer .modifier-group legend{padding:0;line-height:1.25;font-size:1.1em}.buyer .modifier-rule{display:inline-block;font-size:.8em;font-weight:700;color:var(--brand-readable);margin:8px 0}.buyer .product-panel .choice{border:1px solid var(--strong-line);background:var(--surface);border-radius:13px;padding:12px;gap:12px;margin:10px 0}.buyer .product-panel .choice:has(:checked){background:var(--brand-soft);border:2px solid var(--brand-readable);padding:11px;outline:0}.buyer .product-selection{padding:16px 24px;display:grid;grid-template-columns:auto minmax(200px,1fr);align-items:center;gap:12px 20px;background:var(--surface);border-top:1px solid var(--line);flex-shrink:0}.buyer .product-selection .selection-row{gap:20px}.buyer .product-selection .selection-row>strong{font-size:1.2em;margin:0;white-space:nowrap}.buyer .product-selection .field-error{grid-column:1/-1;grid-row:1;font-size:.85em;margin:0!important}.buyer .quantity-controls{display:inline-flex;align-items:center;gap:2px;border:1px solid var(--strong-line);border-radius:28px;background:var(--surface);padding:2px}.buyer .quantity-controls .btn{border:0;background:transparent;color:var(--brand-readable);min-height:40px;min-width:40px;padding:6px;border-radius:50%}.buyer .quantity-controls output{min-width:26px;margin:0;text-align:center;font-weight:750}.buyer .quantity-controls .btn:disabled{color:#52606d;background:#f4f6f8}
.buyer .purchase-sheet{display:flex;flex-direction:column;width:min(620px,100%);overflow:hidden;padding:0;height:var(--buyer-visible-height,100dvh);max-height:var(--buyer-visible-height,100dvh);background:var(--brand-tint)}.buyer .purchase-sheet .sheet-header{display:flex;flex-shrink:0;justify-content:space-between;align-items:center;padding:20px 24px;gap:16px;border-bottom:1px solid var(--line);background:var(--brand-tint)}.sheet-header p{color:var(--brand-readable);font-size:.8em;font-weight:700;margin:0 0 4px}.sheet-header h1{font-size:1.8em;font-weight:850;letter-spacing:-.045em;line-height:1.12;margin:0}.buyer .sheet-header .dialog-close{position:static;float:none;margin:0;width:44px;height:44px;min-height:44px;border-radius:50%;flex-shrink:0}.buyer .purchase-sheet .buyer-section{display:flex;flex-direction:column;min-height:0;flex:1;padding:0;overflow:hidden;margin:0}.buyer .sheet-scroll{overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1;padding:20px 24px 28px;scroll-padding:20px}.buyer .checkout-view>form{display:flex;flex-direction:column;min-height:0;flex:1}.buyer .cart-context{margin:0;font-size:.85em;color:var(--muted)}.buyer .purchase-sheet .buyer-lines article{display:grid;grid-template-columns:72px minmax(0,1fr);gap:14px;padding:20px 0;border-bottom:1px solid var(--line)}.buyer .cart-product-image .food{width:72px;height:72px;border-radius:15px;object-fit:cover}.buyer .cart-product-content{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:6px 12px;min-width:0}.buyer .cart-product-content h2{font-size:1.05em;font-weight:800;letter-spacing:-.02em;margin:0}.buyer .cart-product-content>p{grid-column:1;margin:0;font-size:.85em}.buyer .cart-product-content>.cart-line-price{grid-column:2;grid-row:1/3;margin:0;font-size:1em;white-space:nowrap}.buyer .cart-product-content .line-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;margin:8px 0 0}.buyer .line-links{display:flex;gap:4px}.buyer .line-links .btn{min-height:44px;font-size:.8em;padding:6px 8px}.buyer .cart-footer{padding:12px 24px 20px;flex-shrink:0;background:var(--surface);border-top:1px solid var(--line)}.buyer .cart-summary .buyer-totals{margin:0}.buyer .cart-summary .buyer-totals>div{padding:3px 0}.buyer .cart-summary .final-total{margin:6px 0;padding:8px 0!important}.buyer .cart-summary .final-total dd{font-size:1.35em}.buyer .sheet-action{padding:8px 0 0;border:0;background:transparent}.buyer .cart-footer .sheet-action p{font-size:.78em;margin:8px 0 0}.buyer .checkout-action{padding:12px 24px 18px;background:var(--surface);border-top:1px solid var(--line);flex-shrink:0;position:static}.buyer .checkout-action>p{font-size:.78em;margin:0 0 8px}.buyer .checkout-segment{padding:24px 0;border-bottom:1px solid var(--line);border-top:0}.buyer .checkout-segment:first-child{padding-top:0}.buyer .checkout-segment h2{font-size:1.1em;letter-spacing:-.02em;font-weight:800}.buyer .checkout-segment h2>span{background:var(--brand);color:var(--action-ink);border:0;min-width:28px;text-align:center}.buyer .checkout-segment .pickup-address{padding:0;background:transparent;margin-top:6px}.buyer .checkout-segment .pickup-address h2{display:none}.buyer .checkout-segment .payment-choice{background:var(--surface);border-radius:14px}.buyer .shipping-box{background:var(--brand-soft);border:0;border-left:3px solid var(--brand-readable)}
/* One account task, one contextual return. Functional states keep their own colors. */
.buyer .access-task,.buyer .buyer-section.narrow{max-width:620px;padding:28px 24px 40px}.buyer .access-task h1{font-size:2em;font-weight:850;letter-spacing:-.045em;line-height:1.1}.buyer .access-progress{margin:0 0 20px}.buyer .access-task .context-strip{border:0;margin:0 0 18px;padding:0;color:var(--muted);font-size:.85em}.buyer .access-task .btn.primary{width:100%}.buyer .access-task form+.btn,.buyer .narrow form+.btn{display:flex;margin-top:20px;min-height:48px;background:transparent;border:0;text-decoration:underline;color:var(--brand-readable)}.buyer .narrow>.btn+.btn{margin:12px 8px 0 0}.buyer .post-loyalty{background:var(--brand);color:var(--action-ink);border:0;border-radius:22px;padding:24px;margin:24px 0;max-width:660px}.buyer .post-loyalty h2{font-size:1.5em;font-weight:850;letter-spacing:-.035em;line-height:1.15}.buyer .post-loyalty p{color:inherit;font-size:.95em}.buyer .post-loyalty .btn.primary{background:var(--surface);color:var(--ink);border:1px solid var(--surface)}.buyer .post-loyalty .text-button,.buyer .post-loyalty .btn.secondary{color:var(--action-ink);border:1px solid currentColor;background:transparent;border-radius:26px}.buyer .post-loyalty .btn{margin:8px 8px 0 0}.buyer .post-loyalty .field input{color:var(--ink)}.buyer .post-loyalty .field-error{background:var(--danger-bg);padding:10px;border-radius:8px}.buyer .stage-instruction{border-left:4px solid var(--brand-readable);background:var(--brand-soft)}
@media(max-width:700px){.buyer .shop-header{padding:12px 16px;gap:8px 12px}.buyer .shop-header .restaurant-mark strong{font-size:1.4em}.buyer .shop-header nav{gap:7px;flex-wrap:wrap}.buyer .shop-header nav .btn{font-size:.9em;min-height:44px}.buyer .shop-header .account-button{width:44px;padding:9px}.buyer .shop-header .account-button>span{display:none}.buyer .shop-header .order-nav{display:flex}.buyer .shop-header .cart-button{padding:8px 10px;gap:5px}.buyer .shop-context{font-size:.9em}.buyer .branch-switch{max-width:45%;text-align:right;line-height:1.25}.buyer .service-toggle .btn{font-size:.9em;padding:7px 12px}.buyer .buyer-menu{padding:24px 20px 40px}.buyer .page-heading{display:block}.buyer .page-heading h1{font-size:2.1em;max-width:320px}.buyer .search-field{min-width:0;margin-top:16px}.buyer .buyer-grid{grid-template-columns:1fr;gap:30px}.buyer .buyer-product .food:not(.no-photo){aspect-ratio:1.5}.buyer .buyer-product .product-title{font-size:1.4em}.buyer .buyer-categories{margin-bottom:20px}.buyer .dialog-backdrop{padding:0}.buyer .product-panel,.buyer .product-panel:has(.no-photo){height:var(--buyer-visible-height,100dvh);max-height:var(--buyer-visible-height,100dvh);border-radius:0}.buyer .product-scroll{display:block}.buyer .product-panel .product-photo .food{height:240px;max-height:29vh;aspect-ratio:auto;border-radius:0}.buyer .product-panel .product-detail-content{padding:22px 20px 28px}.buyer .product-scroll:has(.no-photo) .product-detail-content{padding-top:68px}.buyer .product-panel .product-detail-content h2{font-size:1.9em}.buyer .product-selection{display:flex;flex-wrap:wrap;padding:12px 16px;gap:10px}.buyer .product-selection .selection-row{justify-content:space-between;width:100%}.buyer .product-selection .primary{flex:1}.buyer .product-selection .field-error{width:100%;order:-1}.buyer .sheet-header h1{font-size:1.65em}.buyer .purchase-sheet .sheet-header{padding:16px 20px}.buyer .sheet-scroll{padding:20px}.buyer .cart-footer,.buyer .checkout-action{padding:12px 20px 18px}.buyer .cart-product-content{column-gap:8px}.buyer .cart-product-content h2{font-size:1em}.buyer .cart-product-content>.cart-line-price{font-size:.95em}.buyer .checkout-segment .form-grid{grid-template-columns:1fr}.buyer .checkout-segment{padding-block:24px}.buyer .checkout-segment:first-child{padding-top:0}.buyer .access-header{display:flex}.buyer .access-header .restaurant-mark strong{font-size:1.2em}}
/* At 200% or with the on-screen keyboard, footer stays in normal flow rather than occupying the viewport. */
.buyer.flow-layout .product-panel,.buyer.flow-layout .product-panel:has(.no-photo){display:block;overflow-y:auto;height:auto;max-height:calc(var(--buyer-visible-height,100dvh) - 12px)}.buyer.flow-layout .product-scroll{display:block;overflow:visible}.buyer.flow-layout .product-selection{display:flex;flex-wrap:wrap;position:static}.buyer.flow-layout .product-selection .selection-row{flex-wrap:wrap;justify-content:space-between;width:100%}.buyer.flow-layout .product-selection .selection-row>strong{width:auto;margin:0}.buyer.flow-layout .product-selection>.primary{width:100%;min-width:0}.buyer.flow-layout .product-panel>.dialog-close{position:sticky;top:8px;float:right;margin:8px 10px -56px 0}.buyer.flow-layout .purchase-sheet{overflow-y:auto;display:block}.buyer.flow-layout .purchase-sheet .sheet-header{position:static}.buyer.flow-layout .purchase-sheet .buyer-section,.buyer.flow-layout .checkout-view>form{display:block;overflow:visible}.buyer.flow-layout .sheet-scroll{overflow:visible}.buyer.text-large .shop-header{display:flex;flex-wrap:wrap}.buyer.text-large .shop-header .restaurant-mark{width:100%}.buyer.text-large .shop-header nav{flex-wrap:wrap;justify-content:flex-start;max-width:100%}.buyer.text-large .shop-context{width:100%;display:flex;flex-wrap:wrap}.buyer.text-large .branch-switch{max-width:100%}.buyer.text-large .buyer-grid{grid-template-columns:1fr}.buyer.text-large .cart-product-content{display:block}.buyer.text-large .cart-product-content>.cart-line-price{display:block;margin-top:10px}.buyer.text-large .purchase-sheet .buyer-lines article{grid-template-columns:1fr}.buyer.text-large .checkout-segment h2{align-items:flex-start}.buyer.text-large .post-loyalty .btn{max-width:100%}.buyer.text-large .sheet-header{align-items:flex-start}.buyer.text-large .compact-order-line{flex-wrap:wrap}.buyer.text-large .product-panel .choice strong{padding-left:0}.buyer.text-large .access-progress{flex-wrap:wrap}.buyer.text-large .access-header-label{display:none}
.buyer .purchase-sheet .buyer-lines .cart-line{background:transparent;border-radius:0;border:0;border-bottom:1px solid var(--line);box-shadow:none}.buyer .cart-product-image .no-photo{background:transparent;height:44px}.buyer .cart-product-image .no-photo span{display:none}
/* Prevent native textarea intrinsic width from widening the scrolling detail at enlarged text. */
.buyer .product-panel .product-detail-content{grid-template-columns:minmax(0,1fr)}.buyer .product-detail-content>*{min-width:0;max-width:100%}.buyer .product-detail-content textarea{min-width:0;width:100%}
.buyer .product-detail-content h2{overflow-wrap:anywhere}
.buyer .product-panel .product-detail-content{gap:0;align-content:start}
.buyer.purchase-focus .shop-header .restaurant-mark{display:flex}.buyer.purchase-focus .shop-header{gap:8px 12px;padding:12px 16px}

/* Buyer address options belong to the input; no map/provider test controls. */
.address-suggestions {min-width:0;margin-block:.25rem 1rem}.address-suggestions ul{list-style:none;margin:0;padding:0;max-height:18rem;overflow:auto;overscroll-behavior:contain;border-radius:.75rem}.address-suggestions li{padding:1rem;min-height:3rem;border:1px solid var(--line,#D7DCE1);background:var(--paper,#fff);cursor:pointer;overflow-wrap:anywhere}.address-suggestions li[aria-selected=true],.address-suggestions li:hover{outline:2px solid currentColor;outline-offset:-3px;background:var(--soft,#F2F5F6)}.address-suggestions button[hidden]{display:none}
