*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:var(--font);background:linear-gradient(180deg,#fffde9 0,#fff 460px);color:var(--dark);line-height:1.55}a{color:var(--primary)}h1,h2,h3{line-height:1.2;letter-spacing:-.025em}h1{font-size:clamp(1.65rem,3vw,2.35rem);margin:.2rem 0 .75rem;font-weight:850}h2{font-size:1.35rem;margin:1.35rem 0 .75rem;font-weight:800}h3{font-size:1.08rem}.top{display:flex;flex-wrap:wrap;align-items:center;gap:.55rem 1.1rem;padding:.55rem clamp(.8rem,3vw,2.2rem);background:#17130a;color:#fff;position:sticky;top:0;z-index:20;box-shadow:0 8px 28px #17130a20;min-height:82px}.brand{display:flex;align-items:center;gap:.7rem;color:#fff;text-decoration:none;font-weight:900;font-size:1.16rem;min-width:210px}.brand img{width:66px;height:66px;object-fit:contain;border-radius:14px;background:#ffdf00}.brand-name{display:flex;flex-direction:column;line-height:1.12}.brand-name small{font-size:.65rem;color:#ffe45b;font-weight:600;letter-spacing:.08em;text-transform:uppercase;margin-top:.35rem}.mainnav{display:flex;flex-wrap:wrap;gap:.22rem;flex:1}.mainnav a{color:#f7f0d0;text-decoration:none;padding:.55rem .78rem;border-radius:10px;font-size:.88rem;font-weight:650;transition:.2s}.mainnav a:hover,.mainnav a.on{background:var(--accent);color:#17130a}.who{display:flex;align-items:center;gap:.6rem;font-size:.88rem}.who a{color:#ffe45b}.who .muted{color:#d8d0b8}.who select{padding:.4rem;border-radius:8px;max-width:170px}.wrap{max-width:1320px;margin:1.6rem auto;padding:0 clamp(.8rem,3vw,2rem);min-height:66vh}.foot{text-align:center;color:var(--muted);padding:2rem;font-size:.85rem}.card{background:var(--card);border:1px solid #f2e8b9;border-radius:20px;padding:clamp(1rem,2vw,1.4rem);margin-bottom:1rem;box-shadow:0 8px 30px #6b520d0a}.center{text-align:center}.grid{display:grid;gap:1rem}.g2{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.g3{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}.g4{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.kpi{background:#fff;border:1px solid #f0e6b7;border-radius:18px;padding:1.2rem;box-shadow:0 8px 24px #8e6d0010}.kpi b{display:block;font-size:1.65rem;color:var(--primary);font-weight:850}.kpi span{color:var(--muted);font-size:.84rem}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;background:var(--primary);color:#fff;border:0;border-radius:12px;padding:.72rem 1.2rem;font:inherit;font-weight:750;cursor:pointer;text-decoration:none;box-shadow:0 5px 14px #e51b2326;transition:transform .18s,background .18s}.btn:hover{background:var(--primary-d);transform:translateY(-1px)}.btn.sm{padding:.36rem .7rem;font-size:.82rem}.btn.ghost{background:transparent;border:1px solid #716b53;color:#fff;box-shadow:none}.btn.alt{background:var(--accent);color:#17130a;box-shadow:none}.btn.danger{background:var(--danger)}.btn.light{background:#fff;color:var(--primary);border:1px solid #f1d8a0;box-shadow:none}form.inline{display:inline}.fld{display:block;margin:.65rem 0}.fld span{display:block;font-size:.83rem;color:var(--muted);margin-bottom:.3rem;font-weight:650}input,select,textarea{width:100%;padding:.72rem .8rem;border:1px solid #e9dfb4;border-radius:11px;font:inherit;background:#fff;color:#211d12;outline:none;transition:border .18s,box-shadow .18s}input:focus,select:focus,textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px #e51b2314}input[type=checkbox],input[type=radio]{width:auto}.row{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:0 1rem}.muted{color:var(--muted)}.tbl{overflow-x:auto;border-radius:14px}table{border-collapse:collapse;width:100%;font-size:.9rem}th,td{padding:.75rem .7rem;text-align:left;border-bottom:1px solid #f2ebce;vertical-align:middle}th{background:#fff9d7;font-size:.75rem;text-transform:uppercase;letter-spacing:.06em;color:#665a1e}tbody tr:hover{background:#fffdf1}.badge{display:inline-block;padding:.22rem .65rem;border-radius:99px;font-size:.76rem;background:#eee;text-transform:capitalize;font-weight:700}.badge.ok{background:#dff5e7;color:#176b38}.badge.warn{background:#fff1bd;color:#805900}.badge.bad{background:#fde0de;color:#b71c1c}.badge.info{background:#dcebfb;color:#0d47a1}.flash{padding:.85rem 1rem;border-radius:12px;margin-bottom:.9rem;font-weight:600}.flash.ok{background:#e2f6e8;color:#176b38}.flash.bad{background:#fde0de;color:#b71c1c}.flash.info{background:#e5f1ff;color:#0d47a1}.hero{background:radial-gradient(circle at 82% 20%,#ffed54 0,transparent 28%),linear-gradient(120deg,#ffe000,#ffbd00 55%,#ffed65);color:#17130a;border-radius:26px;padding:clamp(2rem,5vw,4rem);margin-bottom:1.6rem;position:relative;overflow:hidden;box-shadow:0 18px 44px #e6bd002b}.hero:after{content:'🍲';position:absolute;right:5%;bottom:-22%;font-size:clamp(7rem,20vw,15rem);opacity:.12;transform:rotate(-12deg)}.hero h1{font-size:clamp(2.2rem,5vw,4.1rem);max-width:780px;margin:0 0 .7rem}.hero p{font-size:1.08rem;max-width:650px;margin:0 0 1.2rem;color:#40370c}.menu-item{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.85rem 0;border-bottom:1px solid #f1ebd3}.menu-item .q{width:84px}.veg{display:inline-block;width:12px;height:12px;border:2px solid #20834a;position:relative;margin-right:.4rem;border-radius:2px}.veg:after{content:'';position:absolute;inset:2px;background:#20834a;border-radius:50%}.veg.nv{border-color:#b71c1c}.veg.nv:after{background:#b71c1c}.sticky-bar{position:sticky;bottom:12px;background:#17130a;color:#fff;border:1px solid #2a2517;padding:.9rem 1rem;border-radius:16px;display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-top:1rem;box-shadow:0 12px 35px #0002}.sticky-bar .muted{color:#e6dfc3}.board{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem}.board .col h2{margin-top:0}.ticket{background:#fffdf1;border:1px solid #f0d85a;border-left:5px solid var(--primary);border-radius:14px;padding:1rem;margin-bottom:.8rem;box-shadow:0 5px 16px #6b520d0c}.ticket h3{margin:0 0 .3rem}.ticket ul{margin:.3rem 0;padding-left:1.1rem}.timeline{list-style:none;padding:0}.timeline li{padding:.4rem 0 .4rem 1.2rem;border-left:3px solid #f0e5b9;position:relative}.timeline li:before{content:'';position:absolute;left:-7px;top:.7rem;width:11px;height:11px;border-radius:50%;background:var(--primary)}.right{text-align:right}.mt{margin-top:1rem}.actions{display:flex;gap:.4rem;flex-wrap:wrap;align-items:center}.actions input{max-width:170px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin:0 0 1.2rem}.eyebrow{color:var(--primary);font-size:.72rem;font-weight:850;letter-spacing:.16em;margin:0 0 .3rem}.pill-yellow,.role-chip{display:inline-flex;padding:.35rem .7rem;border-radius:99px;background:#fff2a6;color:#5e4b00;font-size:.78rem;font-weight:800;text-transform:capitalize}.table-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem}.table-heading h2{margin:.2rem 0 1rem}.owner-create{grid-column:1/-1;background:#fffbea;border:1px dashed #e7ca3e;border-radius:16px;padding:1rem;margin:.4rem 0 1rem}.owner-create h3{margin:.1rem 0}.pos-search{display:block;margin-bottom:1rem}.pos-search span{display:block;font-weight:800;margin-bottom:.35rem}.pos-search input{background:#fffdf2}.pos-item[hidden]{display:none!important}.team-form .row{margin-bottom:.5rem}@media(max-width:760px){.top{position:relative;align-items:flex-start}.brand{min-width:100%;}.brand img{width:58px;height:58px}.mainnav{order:3;min-width:100%;overflow-x:auto;flex-wrap:nowrap;padding-bottom:.2rem}.mainnav a{white-space:nowrap}.who{margin-left:auto}.wrap{margin:1rem auto}.page-heading{align-items:flex-start;flex-direction:column}.sticky-bar{align-items:stretch;flex-direction:column}.sticky-bar .btn{width:100%}}@media(max-width:480px){.brand-name{font-size:1rem}.who{font-size:.8rem}.card{border-radius:16px}.row{grid-template-columns:1fr}.menu-item{align-items:flex-start}.menu-item .right{text-align:right}}@media print{.top,.foot,.noprint{display:none!important}}

/* Customer storefront interactions */
.menu-category{margin:1rem 0}.menu-category>summary{display:flex;justify-content:space-between;align-items:center;cursor:pointer;list-style:none;font-size:1.08rem}.menu-category>summary::-webkit-details-marker{display:none}.category-items{padding-top:.5rem}.menu-item{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 0;border-bottom:1px solid var(--border,#eee)}.menu-info{min-width:0}.menu-buy{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;justify-content:flex-end}.qty-control{display:flex;align-items:center;gap:.7rem;border:1px solid var(--line,#ddd);border-radius:999px;padding:.2rem .45rem}.qty-control button{border:0;background:transparent;font-size:1.25rem;font-weight:700;cursor:pointer;padding:.1rem .35rem}.qty-value{min-width:1.2rem;text-align:center;font-weight:700}.variant-label{margin-top:.5rem;max-width:180px}.mobile-nav-toggle{display:none}.profile-link{font-weight:700}@media(max-width:760px){.mobile-nav-toggle{display:inline-flex;align-items:center;gap:.4rem}.mainnav{display:none;position:absolute;z-index:20;top:76px;left:1rem;right:1rem;background:#fff;padding:1rem;border:1px solid #ddd;border-radius:12px;box-shadow:0 8px 24px #0002;flex-direction:column}.mainnav.open{display:flex}.top{position:relative;flex-wrap:wrap}.who{width:100%;justify-content:flex-end}.menu-item{align-items:flex-start}.menu-buy{min-width:105px}.menu-category{padding:1rem}}

/* Phase 8.1 customer layout refresh */
body.area-public,body.area-customer{background:#fffdf5;padding-left:0}
body.area-public .top,body.area-customer .top{display:grid;grid-template-columns:auto minmax(220px,1fr) auto;align-items:center;gap:1rem;padding:.55rem clamp(1rem,3vw,2.2rem);min-height:76px}
.site-search{position:relative;max-width:680px;width:100%;margin:auto}.site-search input{border:1px solid #e9dfb4;border-radius:999px;padding:.72rem 2.7rem .72rem 1rem;background:#fff}.site-search span{position:absolute;right:1rem;top:50%;transform:translateY(-50%);font-size:1.5rem;color:#776b38}
.customer-sidebar{position:fixed;left:0;top:76px;bottom:0;width:238px;background:#201b0e;padding:1.25rem .85rem;z-index:15;display:flex;flex-direction:column;gap:.35rem;overflow-y:auto}.customer-sidebar a{display:flex;align-items:center;gap:.75rem;padding:.8rem .9rem;border-radius:11px;color:#f7f0d0;text-decoration:none;font-weight:650}.customer-sidebar a:hover{background:#3a3015;color:#ffe45b}.side-label{font-size:.68rem;letter-spacing:.14em;color:#b7a66a;font-weight:850;padding:.8rem .9rem .35rem}.side-logout{margin-top:auto;padding:.7rem}.side-logout .btn{width:100%}
body.area-public .wrap,body.area-customer .wrap{max-width:none;margin:1.25rem 0 2rem 238px;padding:0 clamp(1rem,3vw,2.4rem);min-height:72vh}
body.area-public .foot,body.area-customer .foot{margin-left:238px}
.mobile-bottom-bar{display:none}.portal-sidebar{position:fixed;left:0;top:0;bottom:0;width:238px;background:#201b0e;padding:1.3rem .85rem;z-index:30;display:flex;flex-direction:column;gap:.35rem;overflow:auto}.portal-sidebar a{padding:.75rem .9rem;border-radius:10px;color:#f7f0d0;text-decoration:none}.portal-sidebar a:hover,.portal-sidebar a.on{background:#453915;color:#ffe45b}body:not(.area-public):not(.area-customer):not(.area-auth) .top{margin-left:238px}body:not(.area-public):not(.area-customer):not(.area-auth) .wrap{margin-left:238px;max-width:none;padding:1.4rem 2rem}body:not(.area-public):not(.area-customer):not(.area-auth) .foot{margin-left:238px}
.login-shell{max-width:1020px;margin:clamp(1.5rem,6vh,4rem) auto;display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border-radius:28px;box-shadow:0 20px 70px #39280018;background:#fff;border:1px solid #f0e4b5}.login-art{background:linear-gradient(145deg,#ffe66a,#f7b800);padding:clamp(2rem,5vw,4rem);position:relative;overflow:hidden;min-height:440px;display:flex;flex-direction:column;justify-content:center}.login-kicker{font-size:.75rem;letter-spacing:.2em;font-weight:900}.login-art h1{font-size:clamp(2.2rem,4vw,3.4rem);max-width:440px;margin:1.3rem 0}.login-art p{max-width:390px;color:#4d3c08}.login-food-mark{font-size:9rem;position:absolute;right:1.2rem;bottom:-1.8rem;opacity:.18}.login-panel{padding:clamp(1.5rem,4vw,3.5rem);align-self:center}.login-panel h2{font-size:2rem;margin:.4rem 0}.login-submit{width:100%;margin-top:.5rem;justify-content:space-between}.login-register{margin-top:1.5rem}.login-small{font-size:.8rem}
.dish-photo{width:104px;height:92px;object-fit:cover;border-radius:14px;background:#fff0b0;flex:0 0 104px;border:1px solid #f0df9c}.menu-item{display:grid;grid-template-columns:104px minmax(0,1fr) auto;align-items:center;gap:1rem}.menu-info{min-width:0}.menu-buy{min-width:125px}.menu-item[hidden],.outlet-card[hidden]{display:none!important}
@media(max-width:900px){body.area-public .top,body.area-customer .top{grid-template-columns:1fr auto}.site-search{grid-column:1/-1;grid-row:2;max-width:none}.customer-sidebar{display:none}body.area-public .wrap,body.area-customer .wrap{margin:1rem 0 6rem;padding:0 1rem}body.area-public .foot,body.area-customer .foot{display:none}.mobile-bottom-bar{display:grid;grid-template-columns:repeat(3,1fr);position:fixed;z-index:50;left:0;right:0;bottom:0;padding:.5rem .7rem calc(.5rem + env(safe-area-inset-bottom));background:#17130a;border-top:1px solid #4b401d;box-shadow:0 -8px 24px #0002}.mobile-bottom-bar a{display:flex;flex-direction:column;align-items:center;gap:.15rem;color:#f9eebd;text-decoration:none;font-size:.72rem;font-weight:700}.mobile-bottom-bar a span{font-size:1.25rem}.login-shell{grid-template-columns:1fr;margin:1rem;border-radius:20px}.login-art{min-height:210px;padding:1.5rem}.login-art h1{font-size:2rem;margin:.7rem 0}.login-food-mark{font-size:5rem}.login-panel{padding:1.5rem}.menu-item{grid-template-columns:82px minmax(0,1fr);gap:.75rem}.dish-photo{width:82px;height:82px;grid-row:span 2}.menu-buy{grid-column:2;justify-content:space-between;width:100%}.menu-category{padding:.85rem}.top .who{width:auto;justify-content:flex-end}}
@media(max-width:760px){.portal-sidebar{display:none}.portal-menu-toggle{display:block;position:fixed;bottom:1rem;right:1rem;z-index:45;background:#17130a;color:#fff;padding:.7rem 1rem;border-radius:999px}body:not(.area-public):not(.area-customer):not(.area-auth) .top{margin-left:0}body:not(.area-public):not(.area-customer):not(.area-auth) .wrap{margin:1rem 0;padding:0 1rem}body:not(.area-public):not(.area-customer):not(.area-auth) .foot{margin-left:0}.portal-sidebar.open{display:flex;top:auto;left:1rem;right:1rem;bottom:4.5rem;width:auto;max-height:65vh;border-radius:16px;box-shadow:0 10px 40px #0005}.top .brand{min-width:0}.mobile-nav-toggle{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;padding:.65rem .8rem;background:#ffe45b;color:#17130a;font-weight:800}}

/* Separate, unmistakable team login with a direct customer-login route. */
.staff-login-wrap{max-width:560px;margin:clamp(1.5rem,7vh,4rem) auto;padding:0 1rem}.staff-login-card{background:#fff;border:1px solid #eee3bd;border-radius:24px;padding:clamp(1.4rem,4vw,2.5rem);box-shadow:0 18px 55px #39280012}.staff-login-card h1{margin:.35rem 0}.staff-login-form{margin-top:1.4rem}.staff-login-submit,.customer-login-link{width:100%;justify-content:space-between;margin-top:.5rem}.staff-login-divider{display:flex;align-items:center;gap:1rem;margin:1.5rem 0 .8rem;color:#8b805e;font-size:.68rem;font-weight:850;letter-spacing:.13em}.staff-login-divider:before,.staff-login-divider:after{content:'';height:1px;background:#eee6ca;flex:1}.customer-login-link{background:#fff5c7;color:#493900;border:1px solid #efd65a;box-shadow:none;justify-content:center}.customer-login-link:hover{background:#ffed9a;color:#302500}.staff-login-help{font-size:.82rem;margin:1rem 0 0}@media(max-width:600px){.staff-login-wrap{margin:1rem auto}.staff-login-card{border-radius:18px}}

/* Phase 8.4: clean customer shell, functional mobile drawer, segmented bottom tabs */
body.area-auth .portal-sidebar,body.area-auth .portal-menu-toggle,body.area-auth .mobile-bottom-bar,body.area-auth .customer-sidebar{display:none!important}
body.area-public .customer-sidebar,body.area-customer .customer-sidebar{box-shadow:8px 0 28px #00000012}
.customer-sidebar i{width:1.15rem;text-align:center;color:#f4d34e;font-size:1rem}
.mobile-nav-toggle{border:1px solid #5b4d20;min-width:44px;min-height:44px}
.mobile-nav-toggle i{font-size:1.1rem}
.mobile-bottom-bar{display:none}
.mobile-bottom-bar a{min-height:54px;border:1px solid #655522;border-radius:13px;background:#25200f;justify-content:center;gap:.22rem;transition:background .18s,border-color .18s,transform .18s}
.mobile-bottom-bar a:active{transform:scale(.97)}
.mobile-bottom-bar a i{font-size:1.05rem;color:#ffdf52}
.mobile-bottom-bar a span{font-size:.7rem;letter-spacing:.02em}
#site-nav.customer-sidebar.open{display:flex;position:fixed;top:76px;bottom:0;left:0;width:min(82vw,300px);z-index:60;border-right:1px solid #51451f;box-shadow:12px 0 35px #0004}
.location-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.location-head h3{margin:.2rem 0}.location-actions{display:flex;gap:.6rem;flex-wrap:wrap}.location-readout{font-weight:750;color:#66551a;margin:.5rem 0}.location-card{border-color:#eadb9d}.no-service-card{border:1px solid #efc7b9;background:#fff8f5}.no-service-card>i{font-size:1.8rem;color:#c44b36}.no-service-card h3{margin:.5rem 0}.no-service-card p{color:#76564f}#customer-location-map{height:330px;width:100%;border-radius:14px;border:1px solid #e8dfbf;margin-top:1rem;z-index:1}.map-hint{font-size:.82rem}.account-card,.account-danger{max-width:760px}.account-danger{border-color:#efcaca}.account-danger h2{color:#9e3030}.account-danger .actions form{margin:0}
@media(max-width:900px){.mobile-bottom-bar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem;position:fixed;z-index:70;left:.65rem;right:.65rem;bottom:calc(.5rem + env(safe-area-inset-bottom));padding:.45rem;background:#17130a;border:1px solid #54461c;border-radius:17px;box-shadow:0 8px 30px #0003}.mobile-bottom-bar a{display:flex;flex-direction:column;align-items:center;color:#f9eebd;text-decoration:none;font-weight:750}.mobile-bottom-bar a:focus-visible,.mobile-nav-toggle:focus-visible{outline:3px solid #ffdf52;outline-offset:2px}.location-actions .btn{flex:1}.location-actions{width:100%}#customer-location-map{height:300px}#site-nav.customer-sidebar.open{top:0;padding-top:1.2rem}.mobile-nav-toggle{display:inline-flex!important;align-items:center;justify-content:center}.top .who{width:auto}}
@media(max-width:520px){.mobile-bottom-bar{left:.5rem;right:.5rem;gap:.35rem}.mobile-bottom-bar a{border-radius:11px}.location-actions{display:grid;grid-template-columns:1fr 1fr}.location-actions .btn{font-size:.82rem;padding:.65rem .5rem}.location-head{align-items:flex-start}}

/* Phase 9: map pins, checkout, manager menu and POS polish */
.site-search i{position:absolute;right:1.05rem;top:50%;transform:translateY(-50%);color:#776b38;font-size:1rem}
.customer-hero{padding:clamp(1.4rem,4vw,3rem);border-radius:24px;background:linear-gradient(120deg,#fff5c7,#fffdf5);border:1px solid #f0e2a8;margin-bottom:1.25rem}
.customer-hero h1{font-size:clamp(2rem,5vw,3.4rem);line-height:1.08;margin:.35rem 0 .8rem;color:#302607}
.customer-location-card{max-width:1100px;margin:0 auto 1.25rem;padding:clamp(1rem,3vw,1.6rem)}
.customer-location-card h2{margin:.15rem 0 .5rem}.location-actions .btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem}
.location-readout{font-size:.9rem;line-height:1.45;overflow-wrap:anywhere}.map-hint{display:flex;align-items:center;gap:.5rem}
.no-service-card{max-width:1100px;margin:1rem auto;padding:1.5rem}.no-service-card>i{color:#b64b37;font-size:1.8rem}
.bt-fa-map-pin,.bt-fa-store-pin{background:transparent!important;border:0!important;display:flex;align-items:center;justify-content:center}
.bt-fa-map-pin i,.bt-fa-store-pin i{display:flex;align-items:center;justify-content:center;width:34px;height:38px;border:3px solid #fff;border-radius:50% 50% 50% 8px;transform:rotate(-45deg);box-shadow:0 3px 12px #0004;font-size:1.05rem}
.bt-fa-map-pin i{background:#c83f2d;color:#fff}.bt-fa-store-pin i{background:#2a5a43;color:#fff}
.bt-fa-map-pin i:before,.bt-fa-store-pin i:before{transform:rotate(45deg)}
.customer-auth-card{max-width:620px;margin:clamp(1rem,5vh,3rem) auto;padding:clamp(1.25rem,4vw,2.4rem);border-radius:24px;box-shadow:0 16px 50px #37290012}
.customer-auth-card h1{margin:.3rem 0}.checkbox-row{display:flex;align-items:flex-start;gap:.65rem}.checkbox-row input{width:auto;flex:0 0 auto;margin-top:.35rem}.customer-auth-submit{width:100%;justify-content:center;gap:.6rem}.customer-auth-foot{margin-top:1.2rem}
.checkout-heading{margin-bottom:1rem}.checkout-layout{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(360px,1.15fr);gap:1.2rem;align-items:start}.checkout-layout>.card{padding:clamp(1rem,2.5vw,1.6rem)}.checkout-layout h2{margin:.1rem 0 1rem;font-size:1.25rem}.checkout-layout h2 i{color:#9b7b13;margin-right:.4rem}
.checkout-totals{width:100%;border-collapse:collapse;margin-top:1rem}.checkout-totals td,.checkout-totals th{padding:.55rem .2rem;border-bottom:1px solid #eee7d2}.checkout-grand-total{font-size:1.12rem;color:#352807}.coupon-form{margin-top:1rem;padding-top:.8rem;border-top:1px solid #eee7d2}.checkout-prefill-note{display:flex;align-items:center;gap:.55rem;color:#2b6945;background:#eff8f0;border:1px solid #d4ebd8;border-radius:12px;padding:.75rem;margin-bottom:1rem;font-size:.88rem;font-weight:700}.checkout-prefill-note i{font-size:1.05rem}
.checkout-order-type{margin:1rem 0}.field-label{display:block;font-weight:750;margin-bottom:.5rem}.order-type-option{position:relative;display:inline-flex;align-items:center;gap:.55rem;padding:.75rem 1rem;border:1px solid #e5dcc0;border-radius:12px;margin-right:.45rem;background:#fffdf6;cursor:pointer;font-weight:750}.order-type-option input{accent-color:#a8840b}.order-type-option.selected{border-color:#c69d15;background:#fff8d9;color:#4d3900}.order-type-option i{font-size:1.05rem}.checkout-location-section{border:1px solid #eadfb8;background:#fffdf6;border-radius:16px;padding:1rem;margin:.9rem 0}.checkout-location-section h3{margin:.1rem 0 .35rem}.checkout-location-section h3 i{color:#a17f12}.checkout-map{height:320px;border-radius:13px;border:1px solid #e5dcc0;overflow:hidden;margin:.85rem 0;z-index:1}.checkout-location-status{font-size:.84rem;font-weight:750;padding:.65rem .8rem;border-radius:10px;background:#f5f2e8;color:#5d5028;margin:.55rem 0}.checkout-location-status.is-ok{background:#edf8ef;color:#286342}.checkout-location-status.is-warning{background:#fff0eb;color:#a13d2c}.checkout-location-section textarea[readonly]{background:#f8f6ee;color:#4d4632}.checkout-submit{width:100%;justify-content:center;gap:.6rem;margin-top:.8rem}
.franchise-map-panel{grid-column:1/-1;padding:1rem;border:1px solid #e5dcc0;border-radius:15px;background:#fffdf6;margin:.5rem 0 1rem}.franchise-map-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.franchise-map-heading h3{margin:.1rem 0}.franchise-location-map{height:360px;width:100%;border-radius:12px;border:1px solid #e7dfc6;margin:.8rem 0;z-index:1}
.manager-menu-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:1rem}.manager-menu-card{padding:0;overflow:hidden}.manager-menu-photo-wrap{position:relative;height:170px;background:#fff4c8}.manager-menu-photo{width:100%;height:100%;object-fit:cover}.menu-category-chip{position:absolute;left:.8rem;bottom:.8rem;background:#211b0b;color:#fff2bd;border-radius:999px;padding:.35rem .65rem;font-size:.72rem;font-weight:800}.manager-menu-card-body{padding:1rem}.manager-menu-title{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.manager-menu-title h3{margin:.1rem 0}.manager-menu-title p{margin:.3rem 0 .8rem}.manager-price-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:.5rem;align-items:end}.manager-price-form .fld,.manager-image-form .fld{margin:0}.manager-price-form .btn{grid-column:1/-1}.manager-image-form{display:flex;align-items:end;gap:.6rem;flex-wrap:wrap;border-top:1px solid #eee6cc;margin-top:.9rem;padding-top:.9rem}.manager-image-form .fld{flex:1 1 180px}.manager-image-form input[type=file]{font-size:.78rem;padding:.5rem}
.pos-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.8fr);gap:1rem;align-items:start}.pos-catalog{min-width:0}.pos-search{display:block;margin-bottom:.5rem}.pos-search span{display:block;font-weight:800;margin-bottom:.45rem}.pos-search input{padding:.85rem 1rem;border:1px solid #e4d9b5;border-radius:12px}.pos-search-meta{display:flex;justify-content:space-between;min-height:1.2rem;color:#756a4d;font-size:.8rem}.pos-category-title{display:flex;align-items:center;gap:.5rem;font-size:1rem;margin:1.2rem 0 .3rem;color:#6e5510}.pos-item{display:grid;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:.8rem;padding:.75rem 0;border-bottom:1px solid #eee8d8}.pos-item[hidden]{display:none}.pos-item.selected{background:#fffdf3}.pos-dish-image{width:72px;height:68px;object-fit:cover;border-radius:11px;background:#fff2c0;border:1px solid #eee1b7}.pos-dish-info{min-width:0;display:flex;flex-direction:column;gap:.2rem}.pos-dish-name{display:flex;align-items:center;gap:.45rem}.pos-dish-name strong{overflow-wrap:anywhere}.pos-category-label{font-size:.74rem}.pos-price{font-size:.9rem;color:#5b470b}.pos-dish-action{display:flex;align-items:center;justify-content:flex-end;min-width:100px}.pos-add{display:inline-flex;align-items:center;gap:.3rem}.pos-qty{gap:.65rem!important;border:1px solid #d8c98d!important;background:#fff9db}.pos-qty button{width:30px;height:30px;border-radius:50%;background:#fff!important;border:1px solid #eadb9f!important;color:#5a470d}.pos-bill-panel{position:sticky;top:1rem}.pos-bill-panel h2{margin:.1rem 0 1rem}.pos-bill-panel h2 i{color:#92710c}.pos-bill-count{display:flex;justify-content:space-between;align-items:center;padding:.65rem 0;border-bottom:1px solid #eee8d8}.pos-bill-count strong{font-variant-numeric:tabular-nums}.pos-complete{width:100%;justify-content:center;gap:.5rem;margin-top:.7rem}.pos-bill-note{font-size:.78rem;line-height:1.5}
@media(max-width:920px){.checkout-layout,.pos-layout{grid-template-columns:1fr}.pos-bill-panel{position:static}}
@media(max-width:560px){.checkout-map{height:275px}.franchise-location-map{height:300px}.franchise-map-heading{align-items:flex-start}.pos-item{grid-template-columns:60px minmax(0,1fr) auto;gap:.55rem}.pos-dish-image{width:60px;height:60px}.pos-dish-action{min-width:76px}.pos-qty{gap:.35rem!important;padding:.15rem .25rem}.pos-qty button{width:27px;height:27px}.pos-bill-panel{padding:1rem}.order-type-option{margin:.25rem .15rem .25rem 0;padding:.65rem .7rem;font-size:.86rem}}


/* Phase 9.2: customer navigation, card menu, history and usable icon font */
@font-face{font-family:'Font Awesome 6 Free';src:url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/webfonts/fa-solid-900.woff2') format('woff2');font-weight:900;font-style:normal;font-display:block}
@font-face{font-family:'Font Awesome 6 Free';src:url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/webfonts/fa-regular-400.woff2') format('woff2');font-weight:400;font-style:normal;font-display:block}
.customer-top{position:relative;top:auto;display:flex;min-height:78px;justify-content:space-between}
.customer-location-link{display:inline-flex;align-items:center;gap:.55rem;max-width:min(44vw,540px);padding:.65rem .9rem;border:1px solid #5d512a;border-radius:999px;color:#fff1ad;text-decoration:none;font-size:.88rem;font-weight:750;background:#25200f}
.customer-location-link span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-location-link i:first-child{color:#ffdd4c;font-size:1.05rem}
.customer-sidebar{position:fixed;z-index:40;left:0;top:90px;bottom:0;width:238px;padding:1rem .8rem;background:#17130a;border-right:1px solid #403719;display:flex;flex-direction:column;gap:.55rem;transition:width .24s ease;overflow:hidden}
.customer-sidebar a{display:flex;align-items:center;gap:.9rem;min-height:48px;padding:.7rem .9rem;color:#f9edbd;text-decoration:none;border-radius:12px;font-weight:750;white-space:nowrap;transition:background .18s,color .18s}
.customer-sidebar a:hover,.customer-sidebar a.active,.customer-sidebar a[aria-current=page]{background:#393014;color:#ffe15b}.customer-sidebar a i{width:1.2rem;text-align:center;color:#f8d64b;font-size:1.05rem;flex:0 0 1.2rem}
.customer-sidebar-toggle{align-self:flex-end;width:36px;height:36px;border:1px solid #61532b;border-radius:10px;background:#28210e;color:#ffdf52;cursor:pointer;transition:transform .2s}
.customer-sidebar.collapsed{width:76px;padding-left:.65rem;padding-right:.65rem}.customer-sidebar.collapsed a{justify-content:center;padding:.7rem .4rem}.customer-sidebar.collapsed a span{display:none}.customer-sidebar.collapsed .customer-sidebar-toggle{align-self:center}.customer-sidebar.collapsed .customer-sidebar-toggle i{transform:rotate(180deg)}
body.area-public .wrap,body.area-customer .wrap{margin-left:calc(238px + max(1rem, calc((100vw - 1320px)/2)));max-width:calc(1320px - 238px);padding-bottom:7rem;transition:margin-left .24s ease}
body:has(.customer-sidebar.collapsed).area-public .wrap,body:has(.customer-sidebar.collapsed).area-customer .wrap{margin-left:calc(76px + max(1rem, calc((100vw - 1320px)/2)));max-width:calc(1320px - 76px)}
.search-sticky-wrap{position:sticky;top:0;z-index:30;padding:.65rem clamp(.8rem,3vw,2rem);background:#fffdf2;border-bottom:1px solid #efe5be;box-shadow:0 5px 18px #1d16080c}
.site-search{position:relative;max-width:900px;margin:0 auto}.site-search input{width:100%;padding:.82rem 1rem .82rem 2.8rem;border-radius:14px;border:1px solid #e3d6a9;background:#fff;box-shadow:0 4px 16px #7b610b0b}.site-search>i{position:absolute;left:1rem;right:auto;top:50%;transform:translateY(-50%);color:#86702e;z-index:1}
.category-tabs{display:flex;gap:.55rem;overflow-x:auto;padding:.25rem .05rem .85rem;margin:.5rem 0 1rem;scrollbar-width:thin;position:static;top:auto;z-index:auto;background:transparent}.category-tab{display:inline-flex;align-items:center;gap:.5rem;white-space:nowrap;border:1px solid #eadcae;border-radius:999px;padding:.65rem 1rem;background:#fff;color:#584611;font:inherit;font-weight:800;cursor:pointer;transition:all .18s}.category-tab span{font-size:.72rem;background:#f6edce;border-radius:999px;padding:.1rem .4rem}.category-tab.active{background:#201a0b;color:#ffe15b;border-color:#201a0b;box-shadow:0 5px 15px #211a0a1f}.category-tab.active span{background:#534218;color:#ffe15b}.menu-category-panel{display:none}.menu-category-panel.active{display:block}.category-panel-heading{display:flex;align-items:center;justify-content:space-between;margin:.5rem 0 .85rem}.category-panel-heading h2{margin:.2rem 0}.category-panel-heading span{color:#84754e;font-size:.82rem;font-weight:750}.customer-menu-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:1rem}
.menu-item-card{border:1px solid #eee3bd;border-radius:18px;background:#fff;box-shadow:0 7px 24px #6b520d0a;overflow:hidden;display:flex;flex-direction:column;min-width:0;transition:transform .18s,box-shadow .18s}.menu-item-card:hover{transform:translateY(-2px);box-shadow:0 13px 30px #6b520d15}.menu-item-card[hidden]{display:none!important}.menu-card-photo-wrap{position:relative;height:175px;background:#fff3c7}.menu-card-photo-wrap .dish-photo{width:100%;height:100%;object-fit:cover;border-radius:0;border:0}.menu-card-photo-wrap .veg{position:absolute;right:.8rem;top:.8rem;background:#fff;padding:.25rem;border-radius:6px}.menu-card-body{padding:1rem;display:flex;flex-direction:column;gap:.75rem;flex:1}.menu-card-title h3{margin:0 0 .3rem;font-size:1.08rem}.menu-card-title p{margin:0;color:#81775c;font-size:.84rem;line-height:1.45;min-height:2.4em}.menu-variant-list{display:grid;gap:.55rem}.menu-variant-control{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.4rem .6rem;align-items:center;padding:.62rem .7rem;border:1px solid #eee4c6;border-radius:12px;background:#fffdf6}.menu-variant-control>div:first-child{display:flex;flex-direction:column;gap:.1rem}.menu-variant-control b{font-size:.84rem}.menu-variant-control span{font-size:.8rem;color:#826b25;font-weight:750}.menu-variant-control .qty-control{grid-column:2;grid-row:1;display:flex;align-items:center;gap:.55rem}.menu-variant-control .qty-control button{width:30px;height:30px;border:1px solid #e8d89c;border-radius:50%;background:#fff;color:#57450d;font-size:1.05rem;font-weight:900}.menu-variant-control .add-item{min-width:74px}.menu-variant-control.single-variant{margin-top:auto}.menu-variant-control.in-cart{border-color:#d8bf66;background:#fff9df}
.menu-checkout-dock{position:sticky;bottom:1rem;z-index:25;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.8rem 1rem;margin:1rem 0;background:#201a0b;color:#fff4c3;border-radius:16px;box-shadow:0 8px 28px #120e0640}.menu-checkout-dock .btn{flex:0 0 auto}.empty-history{text-align:center;padding:2.5rem}.empty-history>i{font-size:2.5rem;color:#b18d20}.customer-order-history{display:grid;gap:1rem}.history-order-card{margin:0;padding:1.15rem}.history-order-head,.history-order-foot{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.history-order-head h2{font-size:1.1rem;margin:.15rem 0}.history-order-status{display:flex;gap:.35rem;flex-wrap:wrap;justify-content:flex-end}.history-items{border-top:1px solid #eee6cf;border-bottom:1px solid #eee6cf;margin:.85rem 0;padding:.5rem 0}.history-item-row{display:flex;justify-content:space-between;gap:1rem;padding:.35rem 0;font-size:.9rem}.history-item-row small{color:#8c7c4e}.history-order-meta{display:flex;gap:.7rem 1.1rem;flex-wrap:wrap;color:#75643a;font-size:.82rem;margin:.6rem 0}.history-order-meta i{color:#ab8519}.history-order-foot{align-items:center;flex-wrap:wrap;margin-top:.7rem}.history-order-foot .actions{display:flex;gap:.45rem;flex-wrap:wrap}.mobile-bottom-bar{display:none}
/* POS counter uses the same ADD-to-counter pattern and dish cards */
.pos-catalog{display:block}.pos-category-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.8rem}.pos-item{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;border:1px solid #eee3bd;border-radius:16px;background:#fff;overflow:hidden;min-width:0}.pos-item[hidden]{display:none!important}.pos-dish-image{width:100%;height:138px;object-fit:cover;border:0;border-radius:0}.pos-dish-info{padding:.75rem .8rem .4rem}.pos-dish-action{padding:.2rem .8rem .85rem;min-width:0;justify-content:stretch}.pos-dish-action .pos-add,.pos-dish-action .pos-qty{width:100%;justify-content:center}.pos-plate-options{display:grid;gap:.35rem;padding:.1rem .8rem .6rem}.pos-plate-row{display:grid;grid-template-columns:1fr auto;gap:.5rem;align-items:center;border:1px solid #eee4c6;border-radius:10px;padding:.45rem .55rem}.pos-plate-row>span{font-size:.8rem;font-weight:750}.pos-plate-row .pos-add{min-width:72px}.pos-plate-row .pos-qty{width:auto;display:flex}.pos-plate-row .pos-qty[hidden]{display:none!important}.pos-plate-row .pos-qty button{width:28px;height:28px;border-radius:50%}.pos-item.selected{background:#fff}.pos-category-title{grid-column:1/-1;margin:.4rem 0 .1rem}.pos-category-grid .pos-category-title{grid-column:1/-1}
@media(max-width:900px){.customer-sidebar{display:none!important}body.area-public .wrap,body.area-customer .wrap,body:has(.customer-sidebar.collapsed).area-public .wrap,body:has(.customer-sidebar.collapsed).area-customer .wrap{margin:1rem 0 0;max-width:100%;padding-bottom:calc(9rem + env(safe-area-inset-bottom))}.customer-top{position:relative;min-height:64px;gap:.6rem;padding:.5rem .7rem}.customer-top .brand{min-width:0}.customer-top .brand img{width:48px;height:48px}.customer-top .brand-name{font-size:.96rem}.customer-top .brand-name small{font-size:.52rem}.customer-location-link{margin-left:auto;max-width:48vw;padding:.55rem .7rem;font-size:.75rem;gap:.35rem}.customer-location-link i:last-child{display:none}.search-sticky-wrap{top:0;padding:.55rem .75rem}.category-tabs{top:auto}.mobile-bottom-bar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;z-index:80;left:.55rem;right:.55rem;bottom:calc(.5rem + env(safe-area-inset-bottom));gap:.4rem;padding:.45rem;background:#17130a;border:1px solid #584a1b;border-radius:18px;box-shadow:0 9px 32px #0004}.mobile-bottom-bar a{display:flex;min-height:54px;flex-direction:column;align-items:center;justify-content:center;gap:.18rem;border:1px solid #57491d;border-radius:12px;background:#24200f;color:#f9edbd;text-decoration:none;font-size:.68rem;font-weight:800;transition:background .18s,border .18s,transform .18s}.mobile-bottom-bar a i{color:#ffdf52;font-size:1.05rem}.mobile-bottom-bar a.active{background:#594614;border-color:#e2c44c;color:#fff4c2}.mobile-bottom-bar a:active{transform:scale(.96)}.menu-checkout-dock{bottom:calc(5.7rem + env(safe-area-inset-bottom))}.customer-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.menu-card-photo-wrap{height:130px}.menu-card-body{padding:.75rem;gap:.55rem}.menu-card-title h3{font-size:.95rem}.menu-card-title p{font-size:.76rem}.menu-variant-control{padding:.5rem;gap:.35rem}.menu-variant-control .btn{padding:.3rem .5rem;font-size:.72rem}.history-order-head{flex-direction:column}.history-order-status{justify-content:flex-start}}
@media(max-width:520px){.customer-menu-grid{grid-template-columns:1fr 1fr}.menu-card-photo-wrap{height:112px}.menu-card-body{padding:.62rem}.menu-card-title h3{font-size:.88rem}.menu-card-title p{font-size:.72rem;min-height:0}.menu-variant-control{grid-template-columns:1fr;gap:.4rem}.menu-variant-control .qty-control{grid-column:1;grid-row:auto;justify-content:center}.menu-variant-control .add-item{width:100%}.single-variant{grid-template-columns:1fr auto}.history-order-foot{align-items:flex-start}.history-order-foot .actions{width:100%}.history-order-foot .actions .btn{flex:1}.menu-checkout-dock{padding:.65rem .7rem;font-size:.8rem}.menu-checkout-dock .btn{font-size:.78rem;padding:.65rem .7rem}.pos-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-item{min-width:0}.pos-dish-image{height:100px}.pos-dish-name strong{font-size:.84rem}.pos-plate-row{grid-template-columns:1fr}.pos-plate-row .pos-add,.pos-plate-row .pos-qty{width:100%}}
/* Make icons visually consistent; avoid empty-looking icon boxes */
i.fa-solid{display:inline-block;line-height:1;font-style:normal!important;font-family:'Font Awesome 6 Free'!important;font-weight:900!important}
i.fa-regular{display:inline-block;line-height:1;font-style:normal!important;font-family:'Font Awesome 6 Free'!important;font-weight:400!important}


/* Phase 9.2.1: customer desktop navbar/search placement and mobile sticky search row */
.customer-top{
 position:sticky;top:0;z-index:50;display:grid;grid-template-columns:minmax(220px,1fr) minmax(280px,760px) minmax(190px,1fr);
 grid-template-areas:"brand search location";align-items:center;gap:1rem;min-height:82px;padding:.5rem clamp(.8rem,3vw,2.2rem);
}
.customer-top .brand{grid-area:brand;min-width:0;width:max-content;max-width:100%;}
.customer-top .customer-nav-search{grid-area:search;width:100%;max-width:760px;margin:0 auto;min-width:0;}
.customer-top .customer-nav-search input{width:100%;height:46px;padding:.72rem 1rem .72rem 2.8rem;border-radius:999px;border:1px solid #e4d8ad;background:#fff;box-shadow:0 5px 18px #00000012;color:#211d12;}
.customer-top .customer-nav-search>i{position:absolute;left:1.05rem;right:auto;top:50%;transform:translateY(-50%);color:#786126;font-size:1rem;z-index:1;}
.customer-top .customer-location-link{grid-area:location;justify-self:end;margin:0;max-width:min(100%,340px);white-space:nowrap;}
.customer-top .who{display:none;}
.customer-sidebar{top:82px;transition:width .28s cubic-bezier(.2,.75,.25,1),padding .28s ease;}
.customer-sidebar-toggle{align-self:flex-end;margin-left:auto;display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;}
.customer-sidebar.collapsed .customer-sidebar-toggle{align-self:flex-end;margin-left:auto;}
.customer-sidebar.collapsed .customer-sidebar-toggle i{transform:none;}
.customer-sidebar a span{display:inline-block;max-width:150px;opacity:1;transition:opacity .16s ease,max-width .28s ease;overflow:hidden;}
.customer-sidebar.collapsed a span{display:inline-block;max-width:0;opacity:0;width:0;overflow:hidden;}
.search-sticky-wrap{display:none;}
#location-map-wrap{margin-top:.8rem;}
#location-map-wrap[hidden]{display:none!important;}
#customer-location-map{height:360px;width:100%;border:1px solid #e5dcc0;border-radius:14px;overflow:hidden;z-index:1;}
#confirm-pin-btn{display:flex;width:100%;margin:.85rem 0 0;}
#confirm-pin-btn[hidden]{display:none!important;}
#geo-status{display:block;min-height:1.35rem;margin-top:.5rem;font-size:.86rem;}

@media(max-width:900px){
 .customer-top{
  position:sticky;top:-64px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:64px 54px;
  grid-template-areas:"brand location" "search search";gap:0 .55rem;min-height:0;padding:.35rem .7rem .55rem;
  align-items:center;z-index:90;
 }
 .customer-top .brand{grid-area:brand;min-width:0;width:auto;gap:.5rem;}
 .customer-top .brand img{width:46px;height:46px;}
 .customer-top .brand-name{font-size:.95rem;}
 .customer-top .brand-name small{font-size:.5rem;}
 .customer-top .customer-location-link{grid-area:location;justify-self:end;max-width:48vw;margin:0;padding:.48rem .62rem;font-size:.74rem;gap:.32rem;}
 .customer-top .customer-location-link i:last-child{display:none;}
 .customer-top .customer-nav-search{grid-area:search;max-width:none;width:100%;margin:0;align-self:end;}
 .customer-top .customer-nav-search input{height:44px;border-radius:12px;padding:.62rem .9rem .62rem 2.65rem;}
 .customer-top .customer-nav-search>i{left:.95rem;}
 .customer-sidebar{display:none!important;}
 body.area-public .wrap,body.area-customer .wrap,body:has(.customer-sidebar.collapsed).area-public .wrap,body:has(.customer-sidebar.collapsed).area-customer .wrap{margin:1rem 0 0;max-width:100%;padding:0 .8rem calc(9rem + env(safe-area-inset-bottom));}
 #customer-location-map{height:300px;}
}
@media(max-width:520px){
 .customer-top{top:-64px;grid-template-rows:62px 52px;padding:.25rem .6rem .45rem;}
 .customer-top .brand img{width:42px;height:42px;}
 .customer-top .brand-name{font-size:.88rem;}
 .customer-top .brand-name small{font-size:.46rem;}
 .customer-top .customer-location-link{max-width:48vw;padding:.43rem .52rem;font-size:.69rem;}
 .customer-top .customer-nav-search input{height:42px;}
 #customer-location-map{height:270px;}
}

@media(max-width:900px){
 .customer-top:not(.customer-has-search){position:relative;top:auto;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:64px;grid-template-areas:"brand location";min-height:64px;}
}
@media(max-width:520px){
 .customer-top:not(.customer-has-search){grid-template-rows:62px;min-height:62px;}
}


/* Phase 9.2.2: keep initial ADD state and mobile category tabs visible */
[hidden]{display:none!important;}
.menu-item-card{cursor:pointer;touch-action:manipulation;}
.menu-item-card:focus-visible{outline:3px solid #d6ae26;outline-offset:3px;}
.menu-item-card button,.menu-item-card input{cursor:pointer;}
.menu-variant-control{cursor:pointer;user-select:none;}
.menu-variant-control button{cursor:pointer;}
.menu-variant-control .add-item[hidden],.menu-variant-control .qty-control[hidden],.pos-add[hidden],.pos-qty[hidden]{display:none!important;}
.pos-item{cursor:pointer;touch-action:manipulation;}
.pos-item button{cursor:pointer;}
@media(max-width:900px){.category-tabs{position:static;top:auto;z-index:auto;background:transparent;box-shadow:none;padding:.25rem 0 .75rem;margin:.5rem 0 1rem}.customer-top{z-index:90;}}

.pos-item:focus-visible{outline:3px solid #d6ae26;outline-offset:3px;}

/* Phase 9.2.3: visible checkout actions and account sign-out */
.checkout-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.checkout-heading-actions{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap}
.checkout-heading-actions .btn{white-space:nowrap}
.account-signout{border-color:#d9c77f;color:#4c3900;background:#fff9df}
.account-signout:hover{background:#ffefb8;color:#342500}
@media(max-width:560px){.checkout-heading-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.checkout-heading-actions .btn{width:100%;padding:.65rem .55rem;font-size:.82rem}}


/* Phase 9.2.4: manager and delivery-partner order workspace polish */
.orders-page-title{display:flex;align-items:center;gap:.65rem;margin-bottom:1.1rem}
.order-notifications{border-color:#eadcae;background:linear-gradient(135deg,#fffdf4,#fff)}
.order-section-heading{display:flex;align-items:center;gap:.8rem;margin-bottom:.8rem}
.order-section-heading h2{margin:0;font-size:1.08rem}
.order-section-heading p{margin:.18rem 0 0;color:var(--muted);font-size:.82rem}
.order-section-icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:13px;background:#fff2bd;color:#765700;font-size:1.05rem}
.order-notification-list{display:grid;gap:.55rem}
.order-notification-item{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:.72rem .85rem;background:#fff;border:1px solid #f0e9d3;border-radius:12px}
.order-notification-item p{margin:.18rem 0 0;color:#5f5a4b;font-size:.88rem}
.order-notification-item time{flex:0 0 auto;color:var(--muted);font-size:.76rem}
.order-filter-bar{display:grid;grid-template-columns:minmax(190px,260px) minmax(190px,260px) auto;align-items:end;gap:.9rem;margin:0 0 1.1rem;background:#fffdf6}
.order-filter-bar .fld{margin:0}
.order-filter-bar .btn{min-height:46px;margin-bottom:0;white-space:nowrap}
.order-workspace-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,390px),1fr));gap:1rem;align-items:stretch}
.order-workspace-card{display:flex;flex-direction:column;gap:1rem;margin:0;padding:1.1rem;border:1px solid #eee4c7;box-shadow:0 8px 26px #3d2e080c;transition:border-color .18s,box-shadow .18s,transform .18s;min-width:0}
.order-workspace-card:hover{border-color:#dfcb7e;box-shadow:0 13px 32px #3d2e0814;transform:translateY(-1px)}
.order-workspace-head{display:flex;justify-content:space-between;align-items:flex-start;gap:.8rem;padding-bottom:.85rem;border-bottom:1px solid #f0ead8}
.order-workspace-primary{min-width:0}
.order-workspace-primary .eyebrow{display:block;overflow-wrap:anywhere;margin-bottom:.3rem}
.order-workspace-primary h2{font-size:1.12rem;margin:.1rem 0 .25rem;overflow-wrap:anywhere}
.order-workspace-primary time{font-size:.78rem}
.order-workspace-statuses{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:.35rem;max-width:48%}
.order-workspace-statuses .badge{white-space:nowrap}
.order-workspace-info{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}
.order-workspace-info>span{display:grid;grid-template-columns:20px minmax(0,1fr);grid-template-rows:auto auto;column-gap:.45rem;align-items:center;padding:.62rem .7rem;background:#fffdf6;border:1px solid #f0ead7;border-radius:12px;min-width:0}
.order-workspace-info>span>i{grid-column:1;grid-row:1/3;color:#93751d;text-align:center;font-size:.92rem}
.order-workspace-info>span>b{font-size:.68rem;line-height:1.2;color:#82785c;font-weight:750;text-transform:uppercase;letter-spacing:.055em}
.order-workspace-info>span>a,.order-workspace-info>span>strong{grid-column:2;display:block;min-width:0;margin-top:.17rem;color:#272313;font-size:.87rem;overflow-wrap:anywhere;text-decoration:none;font-weight:800}
.order-workspace-info>span>a:hover{text-decoration:underline;color:var(--primary)}
.order-response-panel{padding:.85rem;background:#fff9e9;border:1px solid #f0dfa4;border-radius:14px}
.order-response-copy{display:flex;align-items:flex-start;gap:.65rem;margin-bottom:.75rem;color:#604b0c}
.order-response-copy>i{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:10px;background:#ffedaa}
.order-response-copy b,.order-response-copy span{display:block}
.order-response-copy span{margin-top:.12rem;color:#746a4e;font-size:.82rem;line-height:1.4}
.delivery-response-actions{display:flex;align-items:stretch;gap:.55rem;flex-wrap:wrap}
.delivery-response-actions>form.inline{display:flex}
.delivery-response-actions>form.inline .btn{min-width:132px}
.delivery-decline-form{display:grid;grid-template-columns:minmax(120px,1fr) auto;gap:.45rem;flex:1;min-width:min(100%,270px)}
.delivery-decline-form input{min-width:0;min-height:38px;padding:.45rem .65rem;font-size:.82rem;border-color:#ead9ae;background:#fff}
.delivery-decline-form .btn{white-space:nowrap}
.order-card-actions{display:flex;align-items:center;justify-content:flex-start;gap:.5rem;margin-top:auto;padding-top:.85rem;border-top:1px solid #f0ead8}
.order-card-actions .btn{min-height:38px}
.order-empty-state{display:grid;justify-items:center;text-align:center;padding:2.2rem 1rem;border:1px dashed #dfd3ae;background:#fffdf6;box-shadow:none}
.order-empty-state>span{display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:#fff1bc;color:#826300;font-size:1.35rem}
.order-empty-state h2{margin:.8rem 0 .25rem}
.order-empty-state p{margin:0;color:var(--muted)}
@media(max-width:760px){
 .order-filter-bar{grid-template-columns:1fr 1fr;gap:.65rem}
 .order-filter-bar .fld:first-child{grid-column:1/-1}
 .order-filter-bar .btn{grid-column:1/-1;width:100%}
 .order-workspace-grid{grid-template-columns:1fr;gap:.8rem}
 .order-workspace-card{padding:.9rem;border-radius:16px}
 .order-workspace-head{gap:.55rem}
 .order-workspace-statuses{max-width:52%}
 .delivery-response-actions{display:grid;grid-template-columns:1fr}
 .delivery-response-actions>form.inline,.delivery-response-actions>form.inline .btn{width:100%}
 .delivery-decline-form{grid-template-columns:minmax(0,1fr) auto;min-width:0}
}
@media(max-width:420px){
 .order-workspace-info{grid-template-columns:1fr 1fr;gap:.4rem}
 .order-workspace-info>span{padding:.55rem .5rem;column-gap:.3rem}
 .order-workspace-info>span>a,.order-workspace-info>span>strong{font-size:.8rem}
 .order-workspace-statuses{max-width:48%}
 .order-workspace-statuses .badge{font-size:.68rem;padding:.2rem .5rem}
 .order-notification-item{flex-direction:column;gap:.25rem}
 .delivery-decline-form{grid-template-columns:1fr}
 .delivery-decline-form .btn{width:100%}
}

/* Phase 9.2.5 - manager menu management */
.menu-management-section{margin-bottom:1.2rem}.menu-management-head{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.9rem}.menu-management-head h2{margin:.1rem 0 .25rem}.menu-management-head p{margin:0;max-width:850px;font-size:.88rem}.menu-category-create{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:.65rem;align-items:end;padding:.9rem;background:#fffdf2;border:1px solid #efe4bb;border-radius:14px}.menu-category-create .fld{margin:0}.menu-category-list{display:grid;gap:.45rem;margin-top:.8rem}.menu-category-row{display:grid;grid-template-columns:130px minmax(0,1fr) auto;align-items:center;gap:.6rem;padding:.55rem .65rem;border:1px solid #eee8d8;border-radius:12px}.menu-category-type{font-size:.72rem;font-weight:800;color:#766128;text-transform:uppercase;letter-spacing:.04em}.menu-category-delete{display:flex;justify-content:flex-end;margin-top:-.25rem;margin-bottom:.35rem}.menu-dish-create-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;align-items:end}.menu-dish-create-form .fld,.menu-edit-form .fld{margin:0}.menu-upload-field{grid-column:span 2}.menu-create-submit{min-height:44px}.menu-managed-dishes{margin-top:1.5rem}.menu-source-chip{position:absolute;right:.75rem;top:.75rem;border-radius:999px;background:#fff;color:#44370f;padding:.32rem .6rem;font-size:.68rem;font-weight:800}.menu-managed-card .manager-menu-card-body{display:grid;gap:.85rem}.menu-edit-form{display:grid;gap:.55rem}.menu-price-grid{display:grid;grid-template-columns:1fr 1fr;gap:.55rem}.menu-edit-form .btn{justify-self:start}.menu-delete-form{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap;border-top:1px solid #eee8d8;padding-top:.7rem}.menu-delete-form .muted{font-size:.75rem}

/* Phase 9.2.5 POS active-bill workflow */
.pos-active-bills{padding:1.1rem}.pos-active-head,.pos-bill-toolbar{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem}.pos-active-head h2,.pos-bill-toolbar h2{margin:.1rem 0 .25rem}.pos-active-head p,.pos-bill-toolbar p{margin:0;font-size:.86rem}.pos-bills-table table{min-width:760px}.pos-bills-table td small{display:block;margin-top:.2rem;color:#786d50;font-size:.75rem}.pos-no-bills{text-align:center;padding:2.5rem 1rem}.pos-no-bills>i{font-size:2.4rem;color:#b28c09}.pos-no-bills h3{margin:.5rem 0}.pos-new-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.75fr);gap:1rem;align-items:start}.pos-bill-panel{position:sticky;top:1rem}.pos-selection-summary,.pos-add-to-bill-row{display:flex;justify-content:space-between;align-items:center;gap:.8rem;flex-wrap:wrap;padding:.85rem .9rem;border-top:1px solid #eee8d8;margin-top:1rem;background:#fffdf4;border-radius:12px;font-size:.88rem}.pos-bill-details{margin-bottom:1.2rem}.pos-bill-totals{display:grid;gap:.45rem;max-width:360px;margin:1rem 0 0 auto}.pos-bill-totals>div{display:flex;justify-content:space-between;gap:1rem;padding:.35rem 0;border-bottom:1px solid #f0eadb}.pos-bill-totals .grand{font-size:1.1rem;font-weight:900;border-bottom:0;border-top:2px solid #dec65f;padding-top:.75rem}.pos-bill-footer-actions{display:flex;justify-content:flex-end;gap:.7rem;flex-wrap:wrap;border-top:1px solid #eee8d8;padding-top:1rem;margin-top:1rem}.pos-add-more-section{margin-top:1.2rem}.pos-add-more-section .pos-catalog{padding:0;border:0;box-shadow:none}.pos-add-more-section .pos-category-grid{margin-top:.5rem}.pos-add-to-bill-row{border:1px solid #eee2b8;margin-top:1.2rem}.pos-add-to-bill-row .btn{margin-left:auto}
@media(max-width:920px){.pos-new-layout{grid-template-columns:1fr}.pos-bill-panel{position:static}}
@media(max-width:600px){.menu-category-create{grid-template-columns:1fr}.menu-category-row{grid-template-columns:1fr auto}.menu-category-type{grid-column:1/-1}.menu-category-row input{min-width:0}.menu-dish-create-form{grid-template-columns:1fr 1fr}.menu-upload-field{grid-column:1/-1}.menu-create-submit{grid-column:1/-1}.menu-price-grid{grid-template-columns:1fr 1fr}.pos-active-head,.pos-bill-toolbar{align-items:flex-start;flex-direction:column}.pos-bill-toolbar-actions{display:flex;gap:.4rem}.pos-add-to-bill-row .btn{width:100%;margin:0}.pos-bill-totals{max-width:none}}

/* Phase 9.2.6: customer delivery OTP and POS customer match */
.customer-delivery-otp{display:grid;grid-template-columns:1fr auto;align-items:center;gap:.3rem .9rem;margin:.8rem 0;padding:1rem 1.1rem;border:1px solid #e8d78b;border-radius:15px;background:linear-gradient(135deg,#fff9df,#fff);color:#352a0d}.customer-delivery-otp>span{font-weight:850;display:flex;align-items:center;gap:.5rem}.customer-delivery-otp>span i{color:#a98212}.customer-delivery-otp strong{grid-row:span 2;font-size:1.8rem;letter-spacing:.28em;color:#201a0b;background:#f7edc4;border:1px dashed #c8aa42;border-radius:12px;padding:.45rem .75rem .45rem 1rem}.customer-delivery-otp small{color:#786a3b;line-height:1.4}.customer-delivery-otp-detail{margin:0 0 1rem}.delivery-otp-verify-form{width:100%;max-width:440px;padding:1rem}.delivery-otp-verify-form h3{margin:.1rem 0 .45rem}.delivery-otp-verify-form p{font-size:.86rem}.delivery-otp-verify-form input{letter-spacing:.35em;font-weight:900;font-size:1.1rem;max-width:180px;text-align:center}#pos-customer-match{display:block;line-height:1.4;margin-top:.35rem;color:#75643a}
@media(max-width:520px){.customer-delivery-otp{grid-template-columns:1fr;gap:.45rem}.customer-delivery-otp strong{grid-row:auto;justify-self:start}.delivery-otp-verify-form{max-width:none}}


/* Phase 9.2.7: customer auth centering and admin mobile navbar alignment */
body.customer-auth-minimal .wrap{margin:0 auto!important;max-width:1160px!important;width:100%;padding:clamp(.75rem,3vw,2rem)!important;min-height:calc(100vh - 82px);display:flex;flex-direction:column;justify-content:center;align-items:stretch}
body.customer-auth-minimal .login-shell{width:min(100%,1020px);margin:1rem auto!important;transform:none!important;align-self:center}
body.customer-auth-minimal .customer-auth-card{width:min(100%,620px);margin:1rem auto!important;align-self:center}
@media(max-width:760px){body:not(.area-public):not(.area-customer):not(.area-auth) .top{display:flex;align-items:center;flex-wrap:nowrap;gap:.55rem;padding:.55rem .75rem;min-height:68px}body:not(.area-public):not(.area-customer):not(.area-auth) .top>.brand{order:1;min-width:0!important;width:auto;flex:0 1 auto}body:not(.area-public):not(.area-customer):not(.area-auth) .top>.who{order:2;margin-left:auto;width:auto;flex:0 1 auto;justify-content:flex-end}body:not(.area-public):not(.area-customer):not(.area-auth) .top>.mobile-nav-toggle{order:3;flex:0 0 44px;width:44px;height:44px;margin-left:.2rem;padding:.4rem;justify-content:center;align-items:center}body:not(.area-public):not(.area-customer):not(.area-auth) .top>.brand img{width:48px;height:48px}body:not(.area-public):not(.area-customer):not(.area-auth) .top>.brand .brand-name{font-size:.95rem}body:not(.area-public):not(.area-customer):not(.area-auth) .top>.brand .brand-name small{font-size:.5rem}}


/* Phase 9.2.8 - accessible password visibility controls */
.password-input-wrap{position:relative;display:block;width:100%;min-width:0}
.password-input-wrap>input{width:100%;padding-right:3rem!important}
.password-visibility-toggle{position:absolute;right:.4rem;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:2.25rem;height:2.25rem;min-height:2.25rem;padding:0;border:0;border-radius:9px;background:transparent;color:#655b45;cursor:pointer;z-index:2;box-shadow:none}
.password-visibility-toggle:hover,.password-visibility-toggle:focus-visible{background:#f4eedb;color:#211d12;outline:2px solid #d9bd62;outline-offset:1px}
.password-visibility-toggle i{font-size:1rem;line-height:1;pointer-events:none}
.actions>.password-input-wrap{width:170px;flex:0 1 170px}
@media(max-width:600px){.actions>.password-input-wrap{width:100%;flex-basis:100%}}
