/* F5 P3: responsive details and local customer UI. No backend changes. */
.top-actions{display:flex;align-items:center;gap:8px}.top-actions #top-orders{font-size:13px;min-height:44px;font-weight:700}
.customer-nav[hidden]{display:none!important}.customer-nav{position:fixed;z-index:16;bottom:max(12px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:space-around;gap:4px;width:min(calc(100% - 24px),430px);padding:6px;border-radius:99px;background:var(--bg-surface);border:1px solid color-mix(in srgb,var(--bg-text) 16%,transparent);box-shadow:0 8px 30px #0002;color:var(--bg-text)}
.customer-nav button{background:none;border:0;color:inherit;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;flex:1;min-width:0;min-height:48px;font-size:11px;font-weight:700;border-radius:99px;padding:4px}.customer-nav button:first-child{background:var(--bg-primary);color:var(--bg-onprimary)}.customer-nav svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;fill:none}.customer-nav b{font-size:10px}
html[data-bg-nav=floating] #top-orders{display:none}html[data-bg-nav=floating] .cart-float{bottom:calc(84px + env(safe-area-inset-bottom));max-width:430px}html[data-bg-nav=floating] footer{padding-bottom:170px}html[data-bg-nav=floating] .toast{bottom:calc(150px + env(safe-area-inset-bottom))}html[data-bg-cart=bar] .cart-float{border-radius:12px;max-width:550px}
.orders-sheet{width:min(100%,620px)}.my-order{border:1px solid color-mix(in srgb,currentColor 15%,transparent);border-radius:14px;padding:14px;margin:12px 0;overflow-wrap:anywhere}.my-order-top,.my-order-total{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.my-order-top strong{font-size:13px}.my-status{font-size:12px;font-weight:700;border-radius:99px;padding:7px 10px;background:var(--bg-primary,var(--pine));color:var(--bg-onprimary,#fff)}.my-order ul{padding-left:20px;font-size:14px}.my-order-total{border-top:1px solid color-mix(in srgb,currentColor 15%,transparent);padding-top:10px;font-size:14px}.my-order-total strong{color:var(--bg-price,var(--pine))}
html[data-bg-design=modern] #detailBody{display:flex;flex-direction:column;overflow:hidden}html[data-bg-design=modern] .detail-content{min-height:0;overflow:auto;overscroll-behavior:contain;flex:1 1 auto}html[data-bg-design=modern] #detailBody>.detail-actions{position:relative;bottom:auto;flex:none;margin:0;padding:10px 18px max(12px,env(safe-area-inset-bottom));box-shadow:0 -6px 18px #0001}html[data-bg-design=modern] #detailBody>.detail-actions .detail-footer{margin-top:0}html[data-bg-design=modern] #detailBody>.detail-actions .add-detail{margin-top:8px}html[data-bg-design=modern] .detail-price{color:var(--bg-price)}
html[data-bg-design=modern] .menu-filters{scroll-margin-top:12px}html[data-bg-design=modern] .featured-heading{min-height:44px}html[data-bg-design=modern] .featured-menu{scroll-margin-top:160px}
@media(min-width:720px){html[data-bg-design=modern]:is([data-bg-layout=grid],[data-bg-layout=hybrid],[data-bg-layout=editorial]) .menu-grid{grid-template-columns:repeat(3,minmax(0,1fr))}html[data-bg-design=modern] .menu-grid{gap:14px}html[data-bg-design=modern] .menu-card-body{padding:13px}html[data-bg-design=modern] .menu-card .btn-primary{padding-inline:9px;font-size:12px}
html[data-bg-design=modern]:is([data-bg-detail=adaptive],[data-bg-detail=modal]) #detailOverlay .detail-sheet{width:min(100%,1000px);max-height:calc(100dvh - 36px)}html[data-bg-design=modern]:is([data-bg-detail=adaptive],[data-bg-detail=modal]) .detail-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:14px;padding:12px 18px}html[data-bg-design=modern]:is([data-bg-detail=adaptive],[data-bg-detail=modal]) .detail-content>.detail-photo-open{padding:0;max-width:none;margin:0}html[data-bg-design=modern]:is([data-bg-detail=adaptive],[data-bg-detail=modal]) .detail-content>.detail-media{width:100%;max-width:none}html[data-bg-design=modern]:is([data-bg-detail=adaptive],[data-bg-detail=modal]) .detail-content .detail-inner{padding:8px 0 12px;margin:0;min-width:0;max-width:none}html[data-bg-design=modern]:is([data-bg-detail=adaptive],[data-bg-detail=modal]) .detail-content .detail-media{max-width:none}html[data-bg-design=modern]:is([data-bg-detail=adaptive],[data-bg-detail=modal]) #detailBody>.detail-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:18px}html[data-bg-design=modern]:is([data-bg-detail=adaptive],[data-bg-detail=modal]) #detailBody>.detail-actions .add-detail{margin-top:0}}
@media(min-width:1100px){html[data-bg-design=modern]:is([data-bg-layout=grid],[data-bg-layout=hybrid],[data-bg-layout=editorial]) .menu-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:359px){html[data-bg-design=modern] .customer-nav button{font-size:10px}.top-actions{gap:4px}.top-actions .cart-trigger{padding:8px}.top-actions #top-orders{font-size:11px}.customer-nav svg{width:18px;height:18px}}

.demo-table-status[hidden]{display:none!important}.demo-table-status{margin-bottom:12px;font-size:13px;font-weight:700;color:var(--bg-bodytext,var(--text));overflow-wrap:anywhere}html[data-bg-design=modern] #detailOverlay .sheet-close{margin:max(10px,env(safe-area-inset-top)) 12px 4px;min-width:44px;min-height:44px}
