*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif;background:#f7f7f7;color:#181818}.topbar{position:sticky;top:0;z-index:20;display:flex;justify-content:space-between;align-items:center;padding:12px 18px;background:#111;color:#fff;box-shadow:0 3px 15px #0002}.brand{display:flex;gap:10px;align-items:center}.header-location{display:flex;align-items:center;gap:8px;min-width:0;max-width:min(48vw,440px);padding:8px 12px;border:1px solid #ffffff35;border-radius:11px;background:#242424;color:#fff;text-align:left;cursor:pointer}.header-location-pin{font-size:19px;flex:0 0 auto}.header-location-copy{display:flex;flex-direction:column;min-width:0;line-height:1.2}.header-location-copy small{font-size:10px;color:#cfcfcf}.header-location-copy .header-delivery-distance{font-size:10px;color:#b8b8b8;display:block;max-width:340px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:3px}.header-location-copy b{display:block;max-width:340px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:#ffd21a}.header-location-chevron{font-size:17px;color:#ddd;flex:0 0 auto}.header-location:focus-visible{outline:2px solid #ffd21a;outline-offset:2px}.logo{font-size:34px}.brand b{display:block;font-size:22px;color:#ffd21a}.brand small{display:block;font-size:9px;letter-spacing:2px;color:#eee}.cart-btn{border:0;border-radius:999px;background:#e51b23;color:#fff;padding:10px 16px;font-weight:800;font-size:15px}.hero{padding:36px 18px;background:linear-gradient(120deg,#111 0%,#2a0b0b 55%,#e51b23 100%);color:#fff}.hero>div{max-width:1100px;margin:auto}.pill{display:inline-block;background:#ffd21a;color:#111;border-radius:999px;padding:7px 12px;font-weight:800;font-size:12px}.hero h1{font-size:clamp(34px,6vw,64px);line-height:.98;margin:15px 0 12px}.hero em{font-style:normal;color:#ffd21a}.hero p{max-width:560px;color:#ddd;font-size:16px}.hero-badges{display:flex;gap:8px;flex-wrap:wrap}.hero-badges span{background:#ffffff14;border:1px solid #ffffff2b;padding:8px 10px;border-radius:10px;font-size:12px;font-weight:800}.delivery-card{max-width:1100px;margin:16px auto 8px;background:#fff;border-radius:16px;padding:16px;display:flex;gap:15px;justify-content:space-between;align-items:center;box-shadow:0 5px 25px #0000000d}.delivery-card strong{font-size:17px}.delivery-card p{margin:5px 0 0;color:#666;font-size:13px}.primary,.whatsapp{border:0;border-radius:11px;padding:13px 16px;font-weight:900;cursor:pointer}.primary{background:#ffd21a;color:#111}.whatsapp{background:#16a34a;color:#fff;width:100%;font-size:16px}.location-status{max-width:1100px;margin:8px auto;padding:10px 14px;border-radius:10px;background:#fff;color:#555;font-size:13px}.location-status.ok{background:#eaf8ef;color:#146c32}.location-status.bad{background:#fff0f0;color:#a11}.categories{max-width:1100px;margin:15px auto;display:flex;gap:8px;overflow:auto;padding:4px 2px;scrollbar-width:none}.categories::-webkit-scrollbar{display:none}.cat{white-space:nowrap;border:1px solid #ddd;background:#fff;border-radius:999px;padding:9px 13px;font-weight:800;font-size:13px;cursor:pointer}.cat.active{background:#e51b23;color:#fff;border-color:#e51b23}main{max-width:1100px;margin:auto;padding:0 10px 90px}.section{margin:20px 0}.section h2{font-size:22px;margin:0 0 12px}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.card{background:#fff;border-radius:15px;overflow:hidden;border:1px solid #eee;box-shadow:0 4px 16px #0000000a}.card-img{height:130px;background:linear-gradient(135deg,#1c1c1c,#e51b23);display:flex;align-items:center;justify-content:center;font-size:52px}.card-body{padding:12px}.code{font-size:10px;color:#888}.name{font-weight:900;margin:3px 0 7px;min-height:38px}.desc{font-size:12px;color:#777;min-height:30px}.price-row{display:flex;justify-content:space-between;align-items:center;gap:7px;margin-top:9px}.price{font-weight:900;color:#e51b23}.add{background:#111;color:#fff;border:0;border-radius:9px;padding:8px 11px;font-weight:900;cursor:pointer}.size-select{width:100%;padding:8px;border:1px solid #ddd;border-radius:8px;margin-top:5px}.cart-drawer{position:fixed;right:-430px;top:0;height:100%;width:min(430px,100%);background:#fff;z-index:40;box-shadow:-8px 0 30px #0003;transition:.25s;padding:18px;display:flex;flex-direction:column}.cart-drawer.open{right:0}.drawer-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eee}.drawer-head button,.modal-close{border:0;background:none;font-size:22px;cursor:pointer}.cart-list{overflow:auto;flex:1;padding:10px 0}.cart-line{display:grid;grid-template-columns:1fr auto;gap:8px;padding:12px 0;border-bottom:1px solid #eee}.cart-name{font-weight:800}.cart-meta{font-size:12px;color:#777}.qty button{border:1px solid #ddd;background:#fff;border-radius:7px;width:30px;height:30px}.qty span{display:inline-block;min-width:28px;text-align:center}.cart-total{display:flex;justify-content:space-between;font-size:19px;padding:14px 0;border-top:1px solid #eee}.overlay{position:fixed;inset:0;background:#0007;z-index:35;display:none}.overlay.show{display:block}.modal{position:fixed;inset:0;z-index:50;display:none;align-items:center;justify-content:center;padding:15px;background:#0008}.modal.show{display:flex}.modal-box{position:relative;background:#fff;border-radius:18px;width:min(500px,100%);padding:22px}.modal-box input,.modal-box textarea{width:100%;padding:13px;margin:7px 0;border:1px solid #ddd;border-radius:10px;font:inherit}.modal-box textarea{min-height:90px;resize:vertical}.muted{color:#777;font-size:13px}.checkout-location{padding:11px;background:#f7f7f7;border-radius:10px;margin:8px 0 12px;font-size:13px}footer{text-align:center;padding:30px 15px;background:#111;color:#fff}footer strong{color:#ffd21a;font-size:22px}footer p{color:#ccc}.small{font-size:12px}@media(max-width:850px){.grid{grid-template-columns:repeat(2,1fr)}.delivery-card{margin:12px;flex-direction:column;align-items:stretch}.location-status{margin:8px 12px}}@media(max-width:430px){.grid{grid-template-columns:1fr 1fr}.card-img{height:105px}.hero{padding:28px 16px}.name{font-size:14px}.add{padding:7px 9px}.brand b{font-size:19px}}

.cart-rule{background:#f7f7f7;border:1px solid #eee;border-radius:10px;padding:11px 12px;margin:8px 0;font-size:13px;font-weight:800}

.master-link{position:fixed;right:110px;top:14px;color:#fff;text-decoration:none;font-size:12px;font-weight:800;background:#ffffff15;padding:8px 10px;border-radius:9px}.back-link{color:#fff;text-decoration:none;font-weight:800}.master-wrap{max-width:1200px;margin:auto;padding:20px 12px 60px}.master-hero{background:linear-gradient(120deg,#111,#2a0b0b,#e51b23);color:#fff;border-radius:18px;padding:24px;display:flex;justify-content:space-between;gap:20px;align-items:center}.master-hero h1{font-size:clamp(28px,5vw,48px);margin:10px 0}.master-actions{display:flex;gap:8px;flex-wrap:wrap}.secondary,.danger{border:0;border-radius:10px;padding:12px 14px;font-weight:900;cursor:pointer}.secondary{background:#fff;color:#111}.danger{background:#ffdddd;color:#9d1111}.stock-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:15px 0}.stock-summary div{background:#fff;border:1px solid #eee;border-radius:14px;padding:15px}.stock-summary strong{display:block;font-size:25px}.stock-summary span{font-size:12px;color:#777}.master-tools{display:flex;gap:10px;margin:15px 0}.master-tools input,.master-tools select{padding:12px;border:1px solid #ddd;border-radius:10px;font:inherit}.master-tools input{flex:1}.table-wrap{background:#fff;border-radius:15px;overflow:auto;border:1px solid #eee}table{border-collapse:collapse;width:100%;min-width:750px}th,td{padding:11px;border-bottom:1px solid #eee;text-align:left;font-size:13px}th{background:#111;color:#fff}.qty-input{width:90px;padding:8px;border:1px solid #ddd;border-radius:7px}.status{padding:8px;border-radius:8px;font-weight:800}.status.available{background:#e9f8ee;color:#176a32}.status.out{background:#ffecec;color:#9b1515}.master-note{color:#666;font-size:12px;background:#fff;padding:13px;border-radius:10px;margin-top:12px}.stock-notice{max-width:1100px;margin:-70px auto 55px;position:relative;color:#ddd;text-align:center;font-size:11px}
@media(max-width:800px){.master-hero{flex-direction:column;align-items:stretch}.stock-summary{grid-template-columns:repeat(2,1fr)}.master-link{right:80px}.stock-notice{margin:-65px 15px 50px}}

.rule-bar{max-width:1100px;margin:8px auto;padding:9px;background:#fff;border:1px solid #eee;border-radius:10px;display:flex;gap:7px;flex-wrap:wrap;justify-content:center;font-size:12px;font-weight:800}.rule-bar span{background:#f7f7f7;padding:6px 8px;border-radius:7px}.orders-panel{margin:18px 0}.orders-tools{margin:8px 0}.orders-tools select,.order-status{padding:7px;border:1px solid #ddd;border-radius:7px;font-weight:700}

.login-gate{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#111,#3a0808,#e51b23);padding:20px}.login-box{width:min(390px,100%);background:#fff;border-radius:20px;padding:30px;box-shadow:0 20px 60px #0005;text-align:center}.login-logo{font-size:52px}.login-box h1{margin:5px 0;color:#e51b23}.login-box p{color:#777;margin-top:0;margin-bottom:20px}.login-box input{width:100%;padding:13px;margin:7px 0;border:1px solid #ddd;border-radius:10px;font:inherit}.login-btn{width:100%;margin-top:8px}.login-error{min-height:20px;margin-top:9px;color:#c51616;font-size:13px;font-weight:700}

.track-order-card{max-width:1100px;margin:15px auto;padding:16px;background:#fff;border:1px solid #eee;border-radius:15px;box-shadow:0 4px 16px #0000000a}.track-order-card h3{margin:0 0 5px}.track-order-card p{font-size:13px;color:#777;margin:4px 0 10px}.track-row{display:flex;gap:8px}.track-row input{flex:1;padding:12px;border:1px solid #ddd;border-radius:9px;font:inherit}.track-row button,.status-wa{border:0;background:#16a34a;color:#fff;border-radius:9px;padding:10px 13px;font-weight:900;cursor:pointer}.page-track{margin:20px auto 40px;padding-left:18px;padding-right:18px}

.size-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:9px;min-width:0}.size-add{border:1px solid #e51b23;background:#fff;color:#111;border-radius:8px;padding:7px 3px;cursor:pointer;font-weight:800;font-size:10px;display:flex;flex-direction:column;gap:2px}.size-add b{color:#e51b23;font-size:12px}.size-add:hover{background:#e51b23;color:#fff}.size-add:hover b{color:#fff}

/* Order tracking */
.track-link{color:#fff;text-decoration:none;font-weight:700;margin-left:auto;margin-right:12px}.standalone-track{padding:36px 18px;max-width:1100px;margin:0 auto}.track-box{background:#fff;border:1px solid #eee;border-radius:20px;padding:28px;box-shadow:0 10px 30px rgba(0,0,0,.06)}.track-box h1,.track-box h2{margin:10px 0 8px}.track-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.track-row input{flex:1;min-width:220px}.track-page{max-width:800px;padding-top:70px}.closed-status{display:block;margin-top:4px;font-size:11px;color:#777}.order-status:disabled{opacity:.75;cursor:not-allowed}

/* PWA / mobile polish */
.logo{width:42px;height:42px;border-radius:10px;overflow:hidden;background:#fff;flex:0 0 42px;box-shadow:0 2px 8px #0004}.logo img{width:100%;height:100%;object-fit:cover;display:block}.login-logo{width:92px;height:92px;margin:0 auto 8px;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 5px 18px #0002}.login-logo img{width:100%;height:100%;object-fit:cover;display:block}
.topbar{min-height:64px}.topbar .brand{min-width:0}.brand>div:last-child{min-width:0}.brand b{white-space:nowrap}.master-link,.track-link{position:static;margin:0;text-align:center}.topbar{gap:8px}.topbar .track-link{margin-left:auto}.topbar .master-link{order:3}
@media(max-width:700px){
  .topbar{padding:8px 10px;gap:6px;flex-wrap:wrap}.topbar .brand{flex:1 1 auto;min-width:150px}.brand b{font-size:16px}.brand small{font-size:7px;letter-spacing:1.2px}.logo{width:36px;height:36px;flex-basis:36px}.cart-btn{padding:9px 12px;font-size:13px}.master-link,.track-link{font-size:11px;padding:7px 8px;background:#ffffff12;border-radius:8px}.hero{padding:25px 14px}.hero h1{font-size:36px}.hero p{font-size:14px}.hero-badges span{font-size:10px;padding:7px 8px}.delivery-card{margin:10px;padding:13px}.delivery-card strong{font-size:15px}.rule-bar{margin:8px 10px;font-size:10px}.categories{margin:10px;padding:3px 6px}.cat{padding:8px 10px;font-size:12px}.grid{gap:8px}.card{border-radius:12px}.card-img{height:82px;font-size:38px}.card-body{padding:9px}.name{font-size:13px;min-height:34px}.desc{font-size:10px;min-height:25px}.size-grid{gap:4px}.size-add{padding:7px 2px;font-size:9px}.size-add b{font-size:10px}.add{font-size:11px;padding:7px 8px}.standalone-track{padding:24px 10px}.track-box{padding:18px;border-radius:15px}.track-row{flex-direction:column}.track-row input,.track-row button{width:100%;min-width:0}.modal-box{padding:18px}.cart-drawer{padding:14px}.master-wrap{padding:12px 8px 45px}.master-hero{padding:16px!important}.table-wrap{overflow-x:auto}.table-wrap table{min-width:720px}
}
@media(max-width:390px){.brand small{display:none}.brand b{font-size:15px}.logo{width:34px;height:34px;flex-basis:34px}.cart-btn{padding:8px 10px}.master-link,.track-link{font-size:10px;padding:6px}.grid{gap:6px}.card-img{height:75px}.card-body{padding:8px}.size-add{font-size:8px}.size-add b{font-size:9px}}


/* Master panel header fix */
.master-topbar{position:sticky;top:0;z-index:20;min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:14px;overflow:hidden;}
.master-brand{display:flex;align-items:center;gap:10px;min-width:0;flex:1;}
.master-brand .logo{width:46px;height:46px;flex:0 0 46px;border-radius:10px;}
.master-brand .master-title{min-width:0;overflow:hidden;}
.master-brand .master-title b{display:block;font-size:20px;line-height:1.1;color:#ffd21a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.master-brand .master-title small{display:block;font-size:9px;letter-spacing:1.2px;color:#eee;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.master-topbar>div:last-child{display:flex;align-items:center;gap:8px;flex:0 0 auto;}
.master-topbar .back-link{white-space:nowrap;}
@media(max-width:600px){
  .master-topbar{padding:8px 10px;min-height:60px;gap:8px;}
  .master-brand .logo{width:38px;height:38px;flex-basis:38px;}
  .master-brand .master-title b{font-size:15px;}
  .master-brand .master-title small{font-size:7px;letter-spacing:.7px;}
  .master-topbar .secondary,.master-topbar .back-link{font-size:10px;padding:8px 9px;}
}
@media(max-width:420px){
  .master-brand .master-title small{display:none;}
  .master-brand .master-title b{font-size:14px;}
  .master-topbar .back-link{display:none;}
}
/* Master page is intentionally not linked from the customer site. Firebase Auth still protects it. */

.delivery-banner{margin:12px auto;max-width:1100px;padding:12px 16px;border-radius:14px;font-weight:700;text-align:center}.delivery-banner.on{background:#e8f8ee;color:#137333}.delivery-banner.off{background:#fff0f0;color:#b42318}.delivery-control-row{display:flex;align-items:center;justify-content:space-between;gap:16px}.modal{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:9999;align-items:center;justify-content:center;padding:16px}.modal-box{background:#fff;width:min(620px,100%);max-height:90vh;overflow:auto;border-radius:18px;padding:22px;position:relative}.modal-close{position:absolute;right:12px;top:10px;border:0;background:none;font-size:28px}.modal-box label{display:block;font-weight:700;margin:10px 0}.modal-box input,.modal-box textarea,.modal-box select{width:100%;padding:10px;border:1px solid #ddd;border-radius:10px;margin-top:5px;box-sizing:border-box}.edit-prices{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.modal-box .primary{margin-top:12px}@media(max-width:650px){.edit-prices{grid-template-columns:1fr}.delivery-control-row{flex-direction:column;align-items:stretch}}


/* PWA install banner */
.pwa-install-banner{max-width:1100px;margin:12px auto;padding:12px 14px;background:#111;color:#fff;border:1px solid #333;border-radius:14px;display:none;align-items:center;gap:12px;box-shadow:0 8px 24px #0002}
.pwa-install-banner.show{display:flex}
.pwa-install-icon{width:42px;height:42px;display:flex;align-items:center;justify-content:center;border-radius:11px;background:#ffd21a;color:#111;font-size:23px;flex:0 0 42px}
.pwa-install-copy{flex:1;min-width:0}.pwa-install-copy strong{display:block;color:#ffd21a;font-size:15px}.pwa-install-copy span{display:block;color:#ddd;font-size:12px;margin-top:3px}
.pwa-install-btn{border:0;border-radius:10px;background:#e51b23;color:#fff;padding:10px 14px;font-weight:900;cursor:pointer;white-space:nowrap}.pwa-install-close{border:0;background:#ffffff14;color:#fff;border-radius:8px;width:34px;height:34px;cursor:pointer;font-size:16px}
@media(max-width:650px){.pwa-install-banner{margin:10px 10px;padding:11px;gap:9px}.pwa-install-icon{width:36px;height:36px;flex-basis:36px;font-size:20px}.pwa-install-copy strong{font-size:13px}.pwa-install-copy span{font-size:10px}.pwa-install-btn{padding:9px 10px;font-size:11px}.pwa-install-close{width:30px;height:30px}}

/* Real-app bottom navigation */
body{padding-bottom:82px}
.app-bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:1000;height:72px;background:rgba(17,17,17,.98);border-top:1px solid #333;display:flex;align-items:stretch;justify-content:space-around;padding:5px 6px calc(5px + env(safe-area-inset-bottom));box-shadow:0 -8px 24px #0003}
.app-nav-item{position:relative;flex:1;max-width:150px;border:0;background:transparent;color:#aaa;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-radius:12px;font:inherit;cursor:pointer}
.app-nav-item span{font-size:22px;line-height:1;position:relative}.app-nav-item small{font-size:10px;font-weight:800}.app-nav-item.active{color:#ffd21a;background:#ffffff0d}.app-nav-item.install-nav{color:#fff}.app-nav-item.install-nav span{background:#e51b23;border-radius:10px;padding:6px 10px;font-size:18px}.app-nav-item b{position:absolute;top:-5px;right:-10px;min-width:18px;height:18px;padding:2px 5px;border-radius:99px;background:#ffd21a;color:#111;font-size:10px;line-height:14px}
@media(min-width:701px){.app-bottom-nav{left:50%;right:auto;transform:translateX(-50%);width:min(560px,100%);border-radius:18px 18px 0 0}}
@media(max-width:390px){.app-bottom-nav{height:68px}.app-nav-item span{font-size:20px}.app-nav-item small{font-size:9px}}

/* Advanced real-app product cards */
.card{position:relative;transition:transform .18s ease,box-shadow .18s ease}.card:active{transform:scale(.985)}.card-img{position:relative}.item-badge{position:absolute;top:9px;left:9px;background:#ffd21a;color:#111;border-radius:999px;padding:5px 8px;font-size:9px;font-weight:950;letter-spacing:.3px;box-shadow:0 3px 10px #0004}.card .name{padding-right:4px}.size-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:9px;min-width:0}.size-add{border:1px solid #eee;background:#fff;border-radius:9px;padding:8px 4px;display:flex;flex-direction:column;gap:2px;cursor:pointer;font:inherit}.size-add span{font-size:9px;color:#777;font-weight:800}.size-add b{font-size:11px;color:#e51b23}.size-add:active,.add:active{transform:scale(.97)}.toggle-line{display:flex!important;align-items:center;gap:8px;background:#fff8d9;padding:10px;border-radius:10px;font-weight:800}.toggle-line input{width:auto!important;margin:0!important}.master-featured{font-size:11px;font-weight:900;color:#a36b00}
@media(max-width:430px){.item-badge{top:6px;left:6px;font-size:8px;padding:4px 6px}}

/* Smart discovery / advanced search */
.smart-search-wrap{max-width:1100px;margin:18px auto 8px;padding:0 16px}.smart-search-head h2{margin:8px 0 4px;font-size:24px}.smart-search-head p{margin:0;color:#666;font-size:13px}.smart-search-box{margin-top:13px;display:flex;align-items:center;gap:9px;background:#fff;border:2px solid #eee;border-radius:16px;padding:4px 8px 4px 14px;box-shadow:0 8px 25px #0000000d}.smart-search-box:focus-within{border-color:#e51b23;box-shadow:0 8px 28px #e51b2318}.smart-search-box>span{font-size:20px}.smart-search-box input{flex:1;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;font-size:15px!important;padding:12px 4px!important}.smart-search-box button{border:0;background:#f2f2f2;border-radius:10px;width:34px;height:34px;cursor:pointer;visibility:hidden}.quick-search{display:flex;gap:8px;overflow:auto;padding:10px 1px 4px;scrollbar-width:none}.quick-search::-webkit-scrollbar{display:none}.quick-search button{white-space:nowrap;border:1px solid #e8e8e8;background:#fff;border-radius:999px;padding:8px 12px;font-weight:800;font-size:12px;cursor:pointer}.quick-search button:active{transform:scale(.97)}.search-hint{font-size:11px;color:#888;margin:5px 2px 0}.hero-picks{max-width:1100px;margin:12px auto 8px;padding:0 16px}.section-head-row{display:flex;justify-content:space-between;align-items:end;gap:10px}.section-head-row h2{margin:7px 0 3px}.section-head-row p{margin:0;color:#777;font-size:12px}.small-btn{padding:8px 11px!important}.hero-picks-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:13px}.hero-product{background:#fff;border:1px solid #eee;border-radius:17px;overflow:hidden;box-shadow:0 8px 24px #0000000b}.hero-product-visual{height:105px;background:linear-gradient(135deg,#fff7df,#fff);display:flex;align-items:center;justify-content:center;font-size:55px;position:relative}.hero-product-visual span{position:absolute;top:8px;left:8px;background:#ffd21a;color:#111;border-radius:999px;padding:5px 8px;font-size:8px;font-weight:950}.hero-product-body{padding:11px}.hero-product-body small{color:#999;font-size:9px;font-weight:800;text-transform:uppercase}.hero-product-body h3{font-size:14px;margin:4px 0;line-height:1.2}.hero-product-body p{font-size:10px;color:#777;line-height:1.35;height:28px;overflow:hidden;margin:0}.hero-product-foot{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:9px}.hero-product-foot b{font-size:12px}.hero-add{border:0;background:#e51b23;color:#fff;border-radius:9px;padding:7px 11px;font-weight:900;font-size:11px;cursor:pointer}.result-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;border-radius:99px;background:#f3f3f3;color:#777;font-size:10px;margin-left:7px;vertical-align:middle}.no-search-results{max-width:700px;margin:25px auto;padding:35px 20px;text-align:center;background:#fff;border:1px solid #eee;border-radius:18px}.no-search-results>div{font-size:40px}.no-search-results h2{margin:8px 0}.no-search-results p{color:#777;font-size:13px}
@media(max-width:800px){.hero-picks-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-product-visual{height:95px}}
@media(max-width:520px){.smart-search-wrap,.hero-picks{padding:0 10px}.smart-search-head h2{font-size:20px}.hero-picks-grid{display:flex;overflow:auto;scroll-snap-type:x mandatory;padding-bottom:4px}.hero-product{min-width:76%;scroll-snap-align:start}.hero-product-visual{height:100px}.section-head-row h2{font-size:19px}}
/* Customer-friendly discovery refinement */
.smart-search-head h2{font-size:22px;letter-spacing:-.2px}
.smart-search-wrap{margin-top:14px}
.smart-search-box{min-height:52px;border-radius:15px}
.smart-search-box input{font-size:16px!important}
.search-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:22px}
.search-result-count{font-size:11px;color:#666;font-weight:800;white-space:nowrap}
.hero-picks{margin-top:10px}
.hero-picks-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:9px}
.hero-product{border-radius:13px;box-shadow:0 4px 15px #0000000b}
.hero-product-visual{height:70px;font-size:38px}
.hero-product-visual span{top:6px;left:6px;padding:4px 6px;font-size:7px}
.hero-product-body{padding:8px 9px}
.hero-product-body h3{font-size:12px;margin:3px 0}
.hero-product-body p{font-size:9px;height:24px}
.hero-product-foot{margin-top:6px}
.hero-product-foot b{font-size:11px}
.hero-add{padding:6px 9px;font-size:10px}
@media(max-width:800px){.hero-picks-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:520px){.hero-picks-grid{display:flex;overflow:auto;scroll-snap-type:x mandatory;gap:8px}.hero-product{min-width:42%;scroll-snap-align:start}.hero-product-visual{height:64px;font-size:34px}.hero-product-body{padding:7px}.hero-product-body h3{font-size:11px}.hero-product-body p{display:none}.hero-product-foot{margin-top:5px}.hero-picks{padding:0 10px}.smart-search-head h2{font-size:19px}}


/* ===== App-like customer UI polish ===== */
body{background:#f7f7f8}
.site-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);box-shadow:0 2px 18px rgba(0,0,0,.07)}
.hero{max-width:1100px;margin:12px auto 10px;border-radius:24px;overflow:hidden;box-shadow:0 14px 35px rgba(0,0,0,.12)}
.hero h1{letter-spacing:-1px}
.hero-badges span{border-radius:999px}
.hero-picks{margin:12px auto 6px}
.hero-picks .section-head-row{padding:0 2px}
.hero-picks-grid{display:flex!important;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding:10px 2px 12px;scrollbar-width:none}
.hero-picks-grid::-webkit-scrollbar{display:none}
.hero-picks-grid>*{min-width:180px;max-width:210px;scroll-snap-align:start}
.smart-search-wrap{margin:6px auto 10px}
.smart-search-head{margin-bottom:0}
.smart-search-head h2{font-size:20px;letter-spacing:-.3px}
.smart-search-box{border:1px solid #e4e4e7;border-radius:18px;padding:5px 8px 5px 14px;box-shadow:0 6px 20px rgba(0,0,0,.07)}
.quick-search{padding:9px 1px 3px}
.quick-search button{box-shadow:0 2px 7px rgba(0,0,0,.04);transition:.15s}
.search-tools{min-height:18px}
.categories{position:sticky;top:64px;z-index:800;background:rgba(247,247,248,.94);backdrop-filter:blur(10px);padding:8px 16px;margin-top:3px}
.delivery-card{max-width:1100px;margin:12px auto;border-radius:18px;box-shadow:0 7px 24px rgba(0,0,0,.07)}
.rule-bar{max-width:1100px;margin:0 auto 10px;border-radius:14px}
#menu{max-width:1100px;margin:0 auto}
.standalone-track{max-width:1100px;margin:18px auto 100px}
@media(max-width:700px){
  .hero{margin:8px 10px 8px;border-radius:20px}
  .hero-picks,.smart-search-wrap{padding:0 12px}
  .hero-picks-grid>*{min-width:172px;max-width:190px}
  .smart-search-head h2{font-size:19px}
  .smart-search-head p{font-size:12px}
  .categories{top:58px;padding:7px 10px}
  .delivery-card{margin:10px 12px}
  .rule-bar{margin-left:12px;margin-right:12px}
}

/* Local SEO content: compact and unobtrusive */
.local-seo{max-width:1100px;margin:24px auto 8px;padding:0 16px;text-align:center}
.local-seo h2{font-size:1.05rem;margin:0 0 6px}
.local-seo p{margin:0;font-size:.9rem;opacity:.8}

/* Smooth quantity controls shown directly on menu cards */
.size-choice{display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;gap:5px;min-width:0;border:1px solid #eee;border-radius:10px;padding:7px 6px;margin-top:6px;background:#fff;overflow:hidden}
.size-price{display:flex;flex-direction:column;gap:2px;font-size:11px;line-height:1.1;min-width:0}.size-price span,.size-price b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.size-price b{color:#e51b23;font-size:13px}
.inline-qty{display:inline-flex;align-items:center;gap:5px;background:#111;border-radius:9px;padding:3px;flex-shrink:0}
.inline-qty button{width:30px;height:30px;border:0;border-radius:7px;background:#fff;color:#111;font-size:20px;font-weight:900;line-height:1;cursor:pointer}
.inline-qty-number{min-width:24px;text-align:center;color:#fff;font-size:14px;font-weight:900}
.size-choice>.add{padding:6px 7px;width:100%}.size-choice .inline-qty{align-self:center;margin:0}.size-choice .inline-qty button{width:27px;height:27px}.size-choice .inline-qty-number{min-width:20px;font-size:13px}
.price-row .inline-qty{margin-left:auto}
body.order-complete-open{overflow:hidden}
.order-complete{position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,.94);display:none;align-items:center;justify-content:center;padding:20px;overflow:auto}
.order-complete.show{display:flex;animation:completeFade .2s ease-out}
.order-complete-card{width:min(560px,100%);text-align:center;background:#fff;border-radius:28px;padding:34px 24px 28px;box-shadow:0 20px 80px rgba(0,0,0,.5)}
.complete-check{width:92px;height:92px;margin:0 auto 16px;border-radius:50%;display:grid;place-items:center;background:#16a34a;color:#fff;font-size:58px;font-weight:900;line-height:1}
.complete-kicker{font-size:12px;letter-spacing:3px;font-weight:900;color:#e51b23}
.order-complete-card h2{font-size:clamp(34px,8vw,58px);line-height:.95;margin:8px 0 12px;color:#111}
.order-complete-card p{color:#666;margin:8px auto;max-width:430px}
.complete-id,.complete-total{margin:12px auto 0;max-width:360px;background:#f7f7f7;border-radius:12px;padding:12px 15px;display:flex;justify-content:space-between;gap:10px;font-weight:800}
.complete-total{font-size:18px}
.complete-total strong{color:#e51b23}
.complete-note{font-size:13px!important;margin:18px auto!important}
.complete-btn{width:100%;font-size:16px;margin-top:8px}
.complete-track-btn{border:0;background:none;margin-top:13px;font-weight:800;color:#555;cursor:pointer}
@keyframes completeFade{from{opacity:0}to{opacity:1}}
@media(max-width:430px){
  .order-complete{padding:12px}
  .order-complete-card{border-radius:22px;padding:28px 16px 22px}
  .complete-check{width:78px;height:78px;font-size:48px}
  .size-choice{padding:6px}
  .inline-qty button{width:28px;height:28px}
}


/* Easy-to-find cart experience */
.floating-cart{position:fixed;left:50%;bottom:82px;transform:translate(-50%,18px);z-index:999;width:min(620px,calc(100% - 24px));border:0;border-radius:16px;background:#111;color:#fff;padding:10px 13px;display:flex;align-items:center;gap:10px;box-shadow:0 10px 30px #0005;opacity:0;pointer-events:none;transition:.22s ease;font:inherit;text-align:left}
.floating-cart.has-items{opacity:1;pointer-events:auto;transform:translate(-50%,0)}
.floating-cart-icon{width:40px;height:40px;border-radius:12px;background:#e51b23;display:grid;place-items:center;font-size:20px;flex:none}
.floating-cart-text{display:flex;flex-direction:column;line-height:1.15;flex:1;min-width:0}.floating-cart-text b{font-size:14px}.floating-cart-text small{color:#ccc;font-size:11px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.floating-cart-total{font-size:15px;font-weight:900;white-space:nowrap}.floating-cart-arrow{font-size:22px;font-weight:900;color:#ffd21a}
.empty-cart{text-align:center;padding:28px 10px}.empty-cart-icon{font-size:42px;margin-bottom:8px}.empty-cart p{font-size:13px;color:#777;margin:6px auto 0;max-width:260px}
@media(min-width:701px){.floating-cart{bottom:18px}.app-bottom-nav{display:none}}
@media(max-width:430px){.floating-cart{bottom:76px;width:calc(100% - 18px);padding:9px 10px;border-radius:14px}.floating-cart-icon{width:38px;height:38px}.floating-cart-total{font-size:14px}.floating-cart-arrow{font-size:20px}}


/* Compact app-style ordering controls */
.size-choice{padding:5px 4px;border-radius:8px;gap:3px;margin-top:5px}
.size-price{font-size:9px;gap:1px}
.size-price span{font-size:8px}
.size-price b{font-size:11px}
.size-choice>.add,.add{padding:5px 6px;font-size:9px;border-radius:7px;line-height:1.05}
.size-choice .inline-qty{gap:2px;padding:2px;border-radius:7px}
.size-choice .inline-qty button,.inline-qty button{width:24px;height:24px;border-radius:6px;font-size:16px}
.size-choice .inline-qty-number,.inline-qty-number{min-width:18px;font-size:12px}
.size-grid{gap:4px}
.hero-add{padding:5px 8px;font-size:9px;border-radius:7px}

/* App-like bottom navigation: Home / Track / Cart */
.app-bottom-nav{height:68px;padding:4px 8px calc(4px + env(safe-area-inset-bottom));backdrop-filter:blur(10px)}
.app-nav-item{max-width:none;border-radius:14px}
.app-nav-item span{font-size:21px}
.app-nav-item small{font-size:10px}
@media(min-width:701px){.app-bottom-nav{display:flex;left:50%;right:auto;transform:translateX(-50%);width:min(420px,100%)}}
@media(max-width:430px){.app-bottom-nav{height:66px}.app-nav-item span{font-size:20px}.app-nav-item small{font-size:9px}.floating-cart{bottom:72px}}

/* PWA install banner + mobile safety */
.pwa-install-banner{display:none;position:relative;z-index:20}
.pwa-install-banner.show{display:flex}
html{overflow-x:hidden;-webkit-text-size-adjust:100%}
body{overflow-x:hidden;overscroll-behavior-x:none;-webkit-tap-highlight-color:transparent}
button,input,textarea,select{font:inherit}
button{touch-action:manipulation}
@media(max-width:700px){
  .topbar{position:sticky;top:0;z-index:1100;padding-top:max(8px,env(safe-area-inset-top));}
  .pwa-install-banner{margin:8px 10px;border-radius:14px}
  .pwa-install-copy span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .modal{padding:max(10px,env(safe-area-inset-top)) 10px max(10px,env(safe-area-inset-bottom))}
  .modal-box{max-height:calc(100dvh - 20px);}
  .floating-cart{bottom:calc(72px + env(safe-area-inset-bottom));}
  .app-bottom-nav{padding-bottom:calc(5px + env(safe-area-inset-bottom));}
}
@media(max-width:380px){
  .pwa-install-copy strong{font-size:12px}
  .pwa-install-copy span{font-size:9px}
  .pwa-install-btn{padding:8px 9px;font-size:10px}
  .pwa-install-close{width:28px;height:28px}
}

/* ===== Mobile UI v2: larger touch controls + cleaner app feel ===== */
@media (max-width:700px){
  body{font-size:15px;padding-bottom:78px}
  .topbar,.site-header{min-height:58px}
  .topbar{padding:9px 12px}
  .brand{gap:7px}.brand b{font-size:18px}.logo{font-size:28px}
  .cart-btn{padding:9px 12px;font-size:13px}
  main{padding:0 9px 105px}
  .section{margin:15px 0}
  .section h2{font-size:19px}
  .grid{gap:9px}
  .card{border-radius:14px;box-shadow:0 3px 12px rgba(0,0,0,.07)}
  .card-body{padding:9px}
  .card-img{height:96px;font-size:40px}
  .name{font-size:13px;line-height:1.2;min-height:32px}
  .desc{font-size:11px;min-height:27px}
  .size-grid{gap:5px}
  .size-choice{padding:7px 5px;border-radius:10px;min-height:76px}
  .size-price{font-size:11px}.size-price b{font-size:14px}
  /* Bigger + / - controls for fingers */
  .inline-qty{gap:4px;padding:3px;border-radius:11px}
  .inline-qty button,.size-choice .inline-qty button{
    width:40px;height:40px;min-width:40px;border-radius:9px;font-size:25px;
    font-weight:900;display:grid;place-items:center;-webkit-tap-highlight-color:transparent;
  }
  .inline-qty-number,.size-choice .inline-qty-number{min-width:28px;font-size:16px}
  .size-choice>.add{min-height:40px;padding:7px 6px;font-size:12px;border-radius:9px}
  .price-row .inline-qty button{width:40px;height:40px}
  .cart-drawer{width:100%;padding:14px 14px 88px}
  .drawer-head{padding-bottom:8px}
  .cart-line{padding:13px 0}
  .qty{display:flex;align-items:center;gap:5px}
  .qty button{width:40px;height:40px;min-width:40px;border-radius:9px;font-size:22px;font-weight:900}
  .qty span{min-width:30px;font-size:16px;font-weight:900}
  .cart-total{font-size:20px}
  .modal-box{border-radius:20px;padding:20px 16px}
  .modal-box input{min-height:48px;font-size:16px}
  .primary,.whatsapp{min-height:48px;font-size:15px}
  .app-bottom-nav{height:68px;padding-bottom:env(safe-area-inset-bottom);}
  .app-nav-item{min-width:72px;font-size:11px}
  .app-nav-item span{font-size:22px}
}
@media (max-width:380px){
  .grid{gap:7px}
  .card-body{padding:8px}
  .size-grid{gap:4px}
  .inline-qty button,.size-choice .inline-qty button{width:36px;height:36px;min-width:36px;font-size:23px}
  .inline-qty-number{min-width:24px}
}

/* Final mobile touch + category scrolling refinement */
.categories{overflow-x:auto;overflow-y:hidden;flex-wrap:nowrap;white-space:nowrap;overscroll-behavior-x:contain;overscroll-behavior-y:none;touch-action:pan-x;position:sticky;top:58px;z-index:800;max-height:54px}
.cat{flex:0 0 auto}
.inline-qty button{width:22px;height:22px;font-size:16px;border-radius:6px}
.inline-qty{gap:3px;padding:2px;border-radius:7px}
.inline-qty-number{min-width:20px;font-size:13px}
.size-choice .inline-qty button{width:22px;height:22px;font-size:16px}
.size-choice .inline-qty-number{min-width:18px;font-size:12px}
@media(max-width:430px){.categories{top:56px;max-height:50px;padding-top:6px;padding-bottom:6px}.inline-qty button,.size-choice .inline-qty button{width:22px;height:22px;font-size:16px}.inline-qty-number,.size-choice .inline-qty-number{min-width:18px;font-size:12px}}

/* Mandatory location gate */
.location-gate{position:fixed;inset:0;z-index:10000;background:rgba(0,0,0,.86);display:none;align-items:center;justify-content:center;padding:18px;backdrop-filter:blur(5px)}
.location-gate.show{display:flex}
.location-gate-card{width:min(430px,100%);background:#fff;border-radius:24px;padding:28px 22px;text-align:center;box-shadow:0 20px 70px #0008}
.location-gate-icon{font-size:54px;margin-bottom:8px}
.location-gate-card h2{margin:4px 0 8px;font-size:27px}
.location-gate-card p{margin:8px 0;color:#666;line-height:1.45;font-size:14px}
.location-gate-card .gate-status{margin:14px 0;padding:11px;border-radius:11px;background:#f7f7f7;color:#555;font-size:13px}
.location-gate-card .primary{width:100%;margin-top:6px;font-size:16px}
.location-gate-card .gate-help{font-size:12px;color:#888;margin-top:12px}
body.location-required{overflow:hidden}
/* Hard delivery-location gate: hide the entire storefront until a valid, in-area location is confirmed. */
body.location-required> :not(#locationGate):not(#manualLocationModal){visibility:hidden!important;pointer-events:none!important}
body.location-required #locationGate,body.location-required #manualLocationModal{visibility:visible!important;pointer-events:auto!important}


/* ===== FINAL MOBILE CART / VIEW ORDER FIX ===== */
#cartItems{
  flex:1;
  min-height:0;
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
#cartItems .cart-list{
  flex:1;
  min-height:0;
  overflow-y:auto;
  overflow-x:hidden;
  -webkit-overflow-scrolling:touch;
  padding:8px 0;
}
.cart-line{
  align-items:center;
}
.cart-line > div:first-child{
  min-width:0;
}
.cart-name{
  overflow-wrap:anywhere;
}
.qty{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:3px;
  flex-shrink:0;
}
.qty button{
  width:28px !important;
  min-width:28px !important;
  height:28px !important;
  padding:0 !important;
  border-radius:7px !important;
  font-size:17px !important;
  line-height:1 !important;
  display:grid;
  place-items:center;
}
.qty span{
  min-width:22px !important;
  width:22px;
  font-size:14px !important;
  font-weight:800;
  line-height:28px;
}
.floating-cart{
  z-index:34;
  -webkit-tap-highlight-color:transparent;
}
@media (max-width:800px){
  .cart-drawer{
    right:-100%;
    top:0;
    bottom:0;
    width:100%;
    height:100dvh;
    max-height:100dvh;
    padding:12px 12px calc(78px + env(safe-area-inset-bottom));
    border-radius:0;
    box-shadow:none;
  }
  .cart-drawer.open{
    right:0;
  }
  .drawer-head{
    min-height:44px;
    flex-shrink:0;
  }
  .drawer-head h2{
    font-size:20px;
    margin:0;
  }
  .drawer-head button{
    width:38px;
    height:38px;
    font-size:20px;
  }
  #cartItems{
    min-height:0;
  }
  .cart-line{
    grid-template-columns:minmax(0,1fr) auto;
    gap:7px;
    padding:10px 2px;
  }
  .cart-name{
    font-size:14px;
    line-height:1.25;
  }
  .cart-meta{
    font-size:11px;
    margin-top:2px;
  }
  .cart-rule{
    flex-shrink:0;
    font-size:12px;
    line-height:1.35;
    padding:8px 0;
  }
  .cart-total{
    flex-shrink:0;
    font-size:18px;
    padding:10px 0;
  }
  #checkoutBtn{
    flex-shrink:0;
    width:100%;
    min-height:48px;
    margin-bottom:env(safe-area-inset-bottom);
  }
  .floating-cart{
    bottom:calc(72px + env(safe-area-inset-bottom));
  }
}
@media (max-width:390px){
  .cart-drawer{
    padding-left:10px;
    padding-right:10px;
  }
  .qty button{
    width:26px !important;
    min-width:26px !important;
    height:26px !important;
    font-size:16px !important;
  }
  .qty span{
    width:20px;
    min-width:20px !important;
    font-size:13px !important;
    line-height:26px;
  }
  .cart-line{
    padding:8px 1px;
  }
  .cart-name{
    font-size:13px;
  }
}

/* MASTER PANEL — ultra compact app layout */
.master-app{min-height:100vh;background:#f4f5f7}
.master-app .master-topbar{min-height:54px;padding:6px 12px;gap:8px}
.master-app .master-wrap{max-width:1400px;padding:8px 10px 18px}
.master-app .master-hero{border-radius:12px;padding:10px 12px;gap:10px;min-height:0}
.master-app .master-hero h1{font-size:22px;line-height:1;margin:3px 0 2px}
.master-app .master-hero .pill{font-size:8px;padding:4px 7px}
.master-app .master-hero p{font-size:10px;margin:3px 0 0;color:#ccc}
.master-app .master-actions{gap:5px;justify-content:flex-end}
.master-app .master-actions button,.master-app .secondary,.master-app .danger,.master-app .primary{padding:7px 9px;border-radius:7px;font-size:10px;white-space:nowrap}
.master-app .stock-summary{grid-template-columns:repeat(4,1fr);gap:6px;margin:7px 0}
.master-app .stock-summary div{padding:7px 9px;border-radius:9px}
.master-app .stock-summary strong{font-size:19px;line-height:1.05}
.master-app .stock-summary span{font-size:9px}
.master-app .orders-panel{margin:7px 0;background:#fff;border:1px solid #e9eaec;border-radius:10px;padding:8px;box-shadow:0 2px 8px #00000008}
.master-app .orders-panel h2{font-size:13px;margin:0 0 6px}
.master-app .control-panel .master-note{background:transparent;padding:0;margin:2px 0 0;font-size:9px}
.master-app .delivery-control-row{gap:8px}
.master-app .master-tools{gap:5px;margin:6px 0}
.master-app .master-tools input,.master-app .master-tools select,.master-app .orders-tools select{padding:7px 8px;border-radius:7px;font-size:10px}
.master-app .table-wrap{border-radius:8px;max-height:300px;overflow:auto}
.master-app table{min-width:650px}
.master-app th,.master-app td{padding:6px 7px;font-size:10px;line-height:1.15}
.master-app th{position:sticky;top:0;z-index:2}
.master-app .orders-panel:nth-of-type(2) .table-wrap{max-height:300px}
.master-app .master-note{font-size:9px;padding:7px;margin-top:6px}
.master-app .qty-input,.master-app .status{padding:5px 6px;font-size:9px}
.master-app .modal-box{padding:14px;border-radius:12px}
.master-app .modal-box h2{font-size:17px;margin:0 0 6px}
.master-app .modal-box label{font-size:10px;margin:6px 0}
.master-app .modal-box input,.master-app .modal-box textarea,.master-app .modal-box select{padding:7px;font-size:11px;margin-top:3px;border-radius:7px}
.master-app .toggle-line{padding:7px}
.master-app .edit-prices{gap:5px}

@media(max-width:700px){
  .master-app .master-topbar{padding:5px 7px;min-height:48px}
  .master-app .master-brand .logo{width:32px;height:32px;flex-basis:32px}
  .master-app .master-brand .master-title b{font-size:13px}
  .master-app .master-topbar .secondary,.master-app .master-topbar .back-link{font-size:8px;padding:6px 7px}
  .master-app .master-wrap{padding:6px 6px 12px}
  .master-app .master-hero{padding:8px;align-items:center;flex-direction:row}
  .master-app .master-hero h1{font-size:17px}
  .master-app .master-hero p{display:none}
  .master-app .master-actions{display:grid;grid-template-columns:1fr 1fr;gap:4px;min-width:145px}
  .master-app .master-actions #saveAll{grid-column:1/-1}
  .master-app .stock-summary{gap:4px;margin:5px 0}
  .master-app .stock-summary div{padding:6px 4px;text-align:center;border-radius:7px}
  .master-app .stock-summary strong{font-size:16px}
  .master-app .stock-summary span{font-size:8px;white-space:nowrap}
  .master-app .orders-panel{padding:6px;margin:5px 0;border-radius:8px}
  .master-app .orders-panel h2{font-size:12px;margin-bottom:4px}
  .master-app .delivery-control-row{flex-direction:row;align-items:center}
  .master-app .delivery-control-row>div{min-width:0}
  .master-app .delivery-control-row b{font-size:10px}
  .master-app .delivery-control-row .primary{flex:0 0 auto}
  .master-app .table-wrap{max-height:220px}
  .master-app .orders-panel .table-wrap{max-height:220px}
  .master-app .master-tools{margin:4px 0}
  .master-app .master-tools input,.master-app .master-tools select{min-width:0}
  .master-app .master-note{display:none}
}
@media(max-width:420px){
  .master-app .master-brand .master-title small{display:none}
  .master-app .master-topbar .back-link{display:none}
  .master-app .master-hero{gap:5px}
  .master-app .master-hero .pill{display:none}
  .master-app .master-actions{min-width:132px}
  .master-app .master-actions button{font-size:8px;padding:6px 5px}
  .master-app .orders-panel{padding:5px}
  .master-app th,.master-app td{padding:5px 6px;font-size:9px}
}
/* MASTER ORDER DASHBOARD v2 */
.master-topbar{height:58px;padding:8px 18px;background:#fff;color:#111;border-bottom:1px solid #e8e8e8;box-shadow:0 2px 12px #0000000a}.master-brand .logo img{width:38px;height:38px;object-fit:contain}.master-title b{color:#111;font-size:17px}.master-title small{color:#777;font-size:8px;letter-spacing:1.5px}.top-actions{display:flex;align-items:center;gap:10px}.online-dot{font-size:12px;font-weight:800;color:#16a34a}.top-actions .secondary{background:#f3f3f3;border:1px solid #ddd;padding:8px 11px;border-radius:9px;font-weight:800}.master-wrap{max-width:1400px;padding:12px 16px 50px}.dashboard-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:4px 0 10px}.dashboard-head h1{font-size:27px;margin:0}.dashboard-head p{margin:3px 0 0;color:#777;font-size:12px}.head-actions{display:flex;gap:8px;align-items:center}.delivery-btn{border:1px solid #d9d9d9;background:#fff;border-radius:9px;padding:9px 12px;font-weight:900}.delivery-btn.on{background:#eaf8ef;color:#16803b;border-color:#bce8c8}.delivery-btn.off{background:#fff0f0;color:#b42318;border-color:#f0b8b8}.back-link{font-size:12px;color:#555;text-decoration:none;border:1px solid #ddd;padding:9px 12px;border-radius:9px;background:#fff}.order-tabs{display:flex;gap:6px;overflow:auto;padding:3px 0 8px;scrollbar-width:none}.order-tabs::-webkit-scrollbar{display:none}.order-tab{white-space:nowrap;border:1px solid #e3e3e3;background:#fff;border-radius:9px;padding:9px 12px;font-size:12px;font-weight:800;cursor:pointer}.order-tab b{margin-left:5px;background:#eee;border-radius:999px;padding:2px 6px;font-size:10px}.order-tab.active{background:#111;color:#fff;border-color:#111}.order-tab.active b{background:#ffd21a;color:#111}.order-toolbar{display:flex;justify-content:space-between;align-items:center;margin:2px 0 8px}.order-toolbar strong{font-size:15px}.order-toolbar span{font-size:11px;color:#777;margin-left:8px}.order-toolbar input{width:260px;padding:9px 11px;border:1px solid #ddd;border-radius:9px;outline:none}.orders-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:start}.order-card{background:#fff;border:1px solid #e7e7e7;border-radius:12px;box-shadow:0 3px 12px #00000008;overflow:hidden}.order-card.new{border-top:4px solid #e51b23}.order-card-head{display:flex;justify-content:space-between;align-items:flex-start;padding:10px 11px 7px}.order-id{font-size:13px;font-weight:950}.order-time{font-size:10px;color:#888;margin-top:2px}.status-badge{font-size:9px;font-weight:900;border-radius:999px;padding:5px 7px;background:#f2f2f2}.status-badge.NEW{background:#fff0f0;color:#c1121f}.status-badge.ACCEPTED{background:#fff8d8;color:#8a6500}.status-badge.PREPARING{background:#eaf2ff;color:#175cd3}.status-badge.READY{background:#eaf8ef;color:#16803b}.status-badge.OUT-FOR-DELIVERY{background:#efe9ff;color:#6941c6}.status-badge.DELIVERED{background:#e8f7f0;color:#147d4b}.status-badge.CANCELLED{background:#eee;color:#666}.order-customer{padding:0 11px 7px}.order-customer b{font-size:12px}.order-customer small{display:block;color:#777;font-size:10px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.order-items{border-top:1px solid #f0f0f0;border-bottom:1px solid #f0f0f0;padding:7px 11px}.order-item{display:flex;justify-content:space-between;gap:8px;font-size:11px;padding:3px 0}.order-item span:last-child{font-weight:800}.order-extra{font-size:9px;color:#777;margin:-1px 0 3px 17px}.order-meta{display:flex;justify-content:space-between;gap:8px;padding:7px 11px;font-size:10px;color:#666}.order-total{font-size:14px;font-weight:950;color:#111}.order-actions{display:grid;grid-template-columns:1fr auto;gap:6px;padding:8px 11px 10px}.order-main-btn{border:0;border-radius:8px;background:#111;color:#fff;padding:9px;font-weight:900;cursor:pointer}.order-main-btn.accept{background:#e51b23}.order-main-btn.ready{background:#16803b}.order-main-btn.out{background:#6941c6}.order-more{border:1px solid #ddd;background:#fff;border-radius:8px;padding:8px 10px;font-weight:900;cursor:pointer}.order-details{display:none;padding:0 11px 10px;border-top:1px solid #eee}.order-details.open{display:block}.order-details p{font-size:10px;color:#666;margin:7px 0}.order-status-select{width:100%;padding:8px;border:1px solid #ddd;border-radius:8px}.wa-mini{margin-top:6px;width:100%;border:0;border-radius:8px;background:#16a34a;color:#fff;padding:8px;font-weight:800}.quick-admin{margin:13px 0}.quick-admin-head{display:flex;align-items:center;gap:8px;margin-bottom:6px}.quick-admin-head h2{font-size:15px;margin:0}.quick-admin-head span{font-size:10px;color:#888}.quick-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.quick-card{background:#fff;border:1px solid #e7e7e7;border-radius:10px;padding:9px 10px;display:flex;justify-content:space-between;align-items:center;gap:8px}.quick-card b{display:block;font-size:11px}.quick-card small{display:block;color:#888;font-size:9px;margin-top:2px}.mini-btn{border:1px solid #ddd;background:#f7f7f7;border-radius:7px;padding:7px 9px;font-size:10px;font-weight:900;text-decoration:none;color:#111;white-space:nowrap}.orders-panel{background:#fff;border:1px solid #e7e7e7;border-radius:11px;box-shadow:0 3px 12px #00000008;margin:10px 0;padding:11px}.section-title-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px}.section-title-row h2{font-size:14px;margin:0}.section-title-row span{font-size:10px;color:#888}.stock-actions{display:flex;gap:5px}.stock-actions button{padding:7px 9px;border-radius:7px;font-size:10px}.compact-table{max-height:330px;overflow:auto}.compact-table table{font-size:11px}.compact-table th,.compact-table td{padding:6px 7px}.compact-summary{margin:6px 0!important}.compact-tools{margin:6px 0!important}.compact-tools input,.compact-tools select{padding:7px!important}.new-order-overlay{position:fixed;inset:0;background:#000b;z-index:100;display:flex;align-items:center;justify-content:center;padding:20px}.new-order-box{width:min(440px,100%);background:#fff;border-radius:18px;padding:24px;text-align:center;box-shadow:0 20px 60px #0008;animation:newPop .2s ease}.new-order-icon{font-size:42px}.new-order-label{display:inline-block;background:#e51b23;color:#fff;border-radius:999px;padding:5px 10px;font-weight:950;font-size:11px;margin-top:6px}.new-order-box h2{margin:9px 0 4px;font-size:24px}.new-order-box p{margin:0;color:#666;font-size:13px}.new-order-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:17px}.new-order-actions button{padding:11px;border-radius:9px;font-weight:900}.new-order-actions .primary{background:#e51b23;color:#fff}.new-order-actions .secondary{background:#f2f2f2;border:1px solid #ddd}@keyframes newPop{from{transform:scale(.94);opacity:0}to{transform:scale(1);opacity:1}}
@media(max-width:900px){.orders-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.master-wrap{padding:10px 9px 80px}.dashboard-head h1{font-size:23px}.order-toolbar input{width:190px}.quick-cards{grid-template-columns:1fr 1fr}.quick-card:last-child{display:none}}
@media(max-width:640px){.topbar{gap:7px;padding:9px 10px}.header-location{flex:1;max-width:none;padding:7px 8px;gap:5px}.header-location-copy b{max-width:34vw;font-size:11px}.header-location-copy small{font-size:9px}.header-location-copy .header-delivery-distance{font-size:8px;max-width:34vw;margin-top:2px}.header-location-pin{font-size:16px}.brand{gap:6px}.brand b{font-size:16px}.brand small{font-size:7px;letter-spacing:1px}.cart-btn{padding:9px 11px;font-size:13px}.master-topbar{height:52px;padding:6px 10px}.master-brand .logo img{width:32px;height:32px}.master-title b{font-size:14px}.master-title small{font-size:7px}.top-actions .secondary{padding:6px 8px;font-size:10px}.online-dot{font-size:10px}.dashboard-head{align-items:flex-start}.dashboard-head p{display:none}.head-actions .back-link{display:none}.delivery-btn{padding:7px 8px;font-size:10px}.order-tabs{margin:0 -2px}.order-tab{padding:8px 9px;font-size:10px}.order-toolbar{gap:7px}.order-toolbar input{width:145px;padding:8px;font-size:10px}.orders-grid{grid-template-columns:1fr;gap:8px}.order-card-head{padding:9px}.order-items{padding:6px 9px}.order-meta{padding:6px 9px}.order-actions{padding:7px 9px 9px}.quick-admin{display:none}.compact-section{margin:8px 0}.compact-table{max-height:280px}.section-title-row span{display:none}.stock-actions button{font-size:9px;padding:6px}.new-order-box{padding:20px}.new-order-box h2{font-size:21px}.new-order-actions{grid-template-columns:1fr}.master-tools{gap:5px}.master-tools input,.master-tools select{min-width:0}}
/* MASTER ORDER DASHBOARD v2 */
.master-topbar{height:58px;padding:8px 18px;background:#fff;color:#111;border-bottom:1px solid #e8e8e8;box-shadow:0 2px 12px #0000000a}.master-brand .logo img{width:38px;height:38px;object-fit:contain}.master-title b{color:#111;font-size:17px}.master-title small{color:#777;font-size:8px;letter-spacing:1.5px}.top-actions{display:flex;align-items:center;gap:10px}.online-dot{font-size:12px;font-weight:800;color:#16a34a}.top-actions .secondary{background:#f3f3f3;border:1px solid #ddd;padding:8px 11px;border-radius:9px;font-weight:800}.master-wrap{max-width:1400px;padding:12px 16px 50px}.dashboard-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:4px 0 10px}.dashboard-head h1{font-size:27px;margin:0}.dashboard-head p{margin:3px 0 0;color:#777;font-size:12px}.head-actions{display:flex;gap:8px;align-items:center}.delivery-btn{border:1px solid #d9d9d9;background:#fff;border-radius:9px;padding:9px 12px;font-weight:900}.delivery-btn.on{background:#eaf8ef;color:#16803b;border-color:#bce8c8}.delivery-btn.off{background:#fff0f0;color:#b42318;border-color:#f0b8b8}.back-link{font-size:12px;color:#555;text-decoration:none;border:1px solid #ddd;padding:9px 12px;border-radius:9px;background:#fff}.order-tabs{display:flex;gap:6px;overflow:auto;padding:3px 0 8px;scrollbar-width:none}.order-tabs::-webkit-scrollbar{display:none}.order-tab{white-space:nowrap;border:1px solid #e3e3e3;background:#fff;border-radius:9px;padding:9px 12px;font-size:12px;font-weight:800;cursor:pointer}.order-tab b{margin-left:5px;background:#eee;border-radius:999px;padding:2px 6px;font-size:10px}.order-tab.active{background:#111;color:#fff;border-color:#111}.order-tab.active b{background:#ffd21a;color:#111}.order-toolbar{display:flex;justify-content:space-between;align-items:center;margin:2px 0 8px}.order-toolbar strong{font-size:15px}.order-toolbar span{font-size:11px;color:#777;margin-left:8px}.order-toolbar input{width:260px;padding:9px 11px;border:1px solid #ddd;border-radius:9px;outline:none}.orders-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:start}.order-card{background:#fff;border:1px solid #e7e7e7;border-radius:12px;box-shadow:0 3px 12px #00000008;overflow:hidden}.order-card.new{border-top:4px solid #e51b23}.order-card-head{display:flex;justify-content:space-between;align-items:flex-start;padding:10px 11px 7px}.order-id{font-size:13px;font-weight:950}.order-time{font-size:10px;color:#888;margin-top:2px}.status-badge{font-size:9px;font-weight:900;border-radius:999px;padding:5px 7px;background:#f2f2f2}.status-badge.NEW{background:#fff0f0;color:#c1121f}.status-badge.ACCEPTED{background:#fff8d8;color:#8a6500}.status-badge.PREPARING{background:#eaf2ff;color:#175cd3}.status-badge.READY{background:#eaf8ef;color:#16803b}.status-badge.OUT-FOR-DELIVERY{background:#efe9ff;color:#6941c6}.status-badge.DELIVERED{background:#e8f7f0;color:#147d4b}.status-badge.CANCELLED{background:#eee;color:#666}.order-customer{padding:0 11px 7px}.order-customer b{font-size:12px}.order-customer small{display:block;color:#777;font-size:10px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.order-items{border-top:1px solid #f0f0f0;border-bottom:1px solid #f0f0f0;padding:7px 11px}.order-item{display:flex;justify-content:space-between;gap:8px;font-size:11px;padding:3px 0}.order-item span:last-child{font-weight:800}.order-extra{font-size:9px;color:#777;margin:-1px 0 3px 17px}.order-meta{display:flex;justify-content:space-between;gap:8px;padding:7px 11px;font-size:10px;color:#666}.order-total{font-size:14px;font-weight:950;color:#111}.order-actions{display:grid;grid-template-columns:1fr auto;gap:6px;padding:8px 11px 10px}.order-main-btn{border:0;border-radius:8px;background:#111;color:#fff;padding:9px;font-weight:900;cursor:pointer}.order-main-btn.accept{background:#e51b23}.order-main-btn.ready{background:#16803b}.order-main-btn.out{background:#6941c6}.order-more{border:1px solid #ddd;background:#fff;border-radius:8px;padding:8px 10px;font-weight:900;cursor:pointer}.order-details{display:none;padding:0 11px 10px;border-top:1px solid #eee}.order-details.open{display:block}.order-details p{font-size:10px;color:#666;margin:7px 0}.order-status-select{width:100%;padding:8px;border:1px solid #ddd;border-radius:8px}.wa-mini{margin-top:6px;width:100%;border:0;border-radius:8px;background:#16a34a;color:#fff;padding:8px;font-weight:800}.quick-admin{margin:13px 0}.quick-admin-head{display:flex;align-items:center;gap:8px;margin-bottom:6px}.quick-admin-head h2{font-size:15px;margin:0}.quick-admin-head span{font-size:10px;color:#888}.quick-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.quick-card{background:#fff;border:1px solid #e7e7e7;border-radius:10px;padding:9px 10px;display:flex;justify-content:space-between;align-items:center;gap:8px}.quick-card b{display:block;font-size:11px}.quick-card small{display:block;color:#888;font-size:9px;margin-top:2px}.mini-btn{border:1px solid #ddd;background:#f7f7f7;border-radius:7px;padding:7px 9px;font-size:10px;font-weight:900;text-decoration:none;color:#111;white-space:nowrap}.orders-panel{background:#fff;border:1px solid #e7e7e7;border-radius:11px;box-shadow:0 3px 12px #00000008;margin:10px 0;padding:11px}.section-title-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px}.section-title-row h2{font-size:14px;margin:0}.section-title-row span{font-size:10px;color:#888}.stock-actions{display:flex;gap:5px}.stock-actions button{padding:7px 9px;border-radius:7px;font-size:10px}.compact-table{max-height:330px;overflow:auto}.compact-table table{font-size:11px}.compact-table th,.compact-table td{padding:6px 7px}.compact-summary{margin:6px 0!important}.compact-tools{margin:6px 0!important}.compact-tools input,.compact-tools select{padding:7px!important}.new-order-overlay{position:fixed;inset:0;background:#000b;z-index:100;display:flex;align-items:center;justify-content:center;padding:20px}.new-order-box{width:min(440px,100%);background:#fff;border-radius:18px;padding:24px;text-align:center;box-shadow:0 20px 60px #0008;animation:newPop .2s ease}.new-order-icon{font-size:42px}.new-order-label{display:inline-block;background:#e51b23;color:#fff;border-radius:999px;padding:5px 10px;font-weight:950;font-size:11px;margin-top:6px}.new-order-box h2{margin:9px 0 4px;font-size:24px}.new-order-box p{margin:0;color:#666;font-size:13px}.new-order-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:17px}.new-order-actions button{padding:11px;border-radius:9px;font-weight:900}.new-order-actions .primary{background:#e51b23;color:#fff}.new-order-actions .secondary{background:#f2f2f2;border:1px solid #ddd}@keyframes newPop{from{transform:scale(.94);opacity:0}to{transform:scale(1);opacity:1}}
@media(max-width:900px){.orders-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.master-wrap{padding:10px 9px 80px}.dashboard-head h1{font-size:23px}.order-toolbar input{width:190px}.quick-cards{grid-template-columns:1fr 1fr}.quick-card:last-child{display:none}}
@media(max-width:640px){.master-topbar{height:52px;padding:6px 10px}.master-brand .logo img{width:32px;height:32px}.master-title b{font-size:14px}.master-title small{font-size:7px}.top-actions .secondary{padding:6px 8px;font-size:10px}.online-dot{font-size:10px}.dashboard-head{align-items:flex-start}.dashboard-head p{display:none}.head-actions .back-link{display:none}.delivery-btn{padding:7px 8px;font-size:10px}.order-tabs{margin:0 -2px}.order-tab{padding:8px 9px;font-size:10px}.order-toolbar{gap:7px}.order-toolbar input{width:145px;padding:8px;font-size:10px}.orders-grid{grid-template-columns:1fr;gap:8px}.order-card-head{padding:9px}.order-items{padding:6px 9px}.order-meta{padding:6px 9px}.order-actions{padding:7px 9px 9px}.quick-admin{display:none}.compact-section{margin:8px 0}.compact-table{max-height:280px}.section-title-row span{display:none}.stock-actions button{font-size:9px;padding:6px}.new-order-box{padding:20px}.new-order-box h2{font-size:21px}.new-order-actions{grid-template-columns:1fr}.master-tools{gap:5px}.master-tools input,.master-tools select{min-width:0}}
.empty-orders{grid-column:1/-1;background:#fff;border:1px dashed #d9d9d9;border-radius:12px;padding:28px;text-align:center;color:#666}.empty-orders b{display:block;color:#222;font-size:14px}.empty-orders span{display:block;margin-top:4px;font-size:11px}

/* ===== Bake & Grill Master — app-style UI inspired by restaurant dashboards ===== */
.master-shell{max-width:100%;padding:0 0 88px;background:#f4f4f4;min-height:100vh}
.master-mobile-head{height:74px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 22px;border-bottom:1px solid #eee;position:sticky;top:0;z-index:80}
.mh-brand{display:flex;flex-direction:column;line-height:1.05}.mh-brand b{font-size:20px;color:#111}.mh-brand span{font-size:12px;color:#777;margin-top:6px}.mh-brand i{display:inline-block;width:8px;height:8px;border-radius:50%;background:#bbb;margin-right:4px}.mh-actions{display:flex;gap:8px;align-items:center}.status-chip{border:1px solid #ddd;background:#fff;border-radius:999px;padding:8px 13px;font-size:12px}.hamburger{border:0;background:transparent;font-size:28px;line-height:1}
.master-view{display:none;min-height:calc(100vh - 74px);padding:16px 18px}.active-view{display:block}
.orders-topline{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.delivery-pill{background:#e9f8ee;color:#18854b;border-radius:999px;padding:7px 14px;font-size:12px;font-weight:800}.orders-top-actions{display:flex;gap:5px}.icon-btn{border:0;background:#fff;border-radius:50%;width:36px;height:36px;font-size:22px}
.promo-strip{background:#ead7bf;border-radius:14px;padding:13px 16px;display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.promo-strip b{display:block;font-size:14px}.promo-strip span{font-size:11px;color:#666}.promo-strip button{border:0;background:#111;color:#fff;border-radius:10px;padding:9px 13px;font-weight:800}
.order-tabs{display:flex;gap:8px;overflow:auto;padding:2px 0 10px;scrollbar-width:none}.order-tabs::-webkit-scrollbar{display:none}.order-tab{border:0;background:#fff;border-radius:999px;padding:11px 17px;white-space:nowrap;font-size:13px}.order-tab b{margin-left:4px}.order-tab.active{background:#111;color:#fff}
.order-toolbar{display:flex;gap:10px;justify-content:space-between;align-items:center;margin-bottom:10px}.order-toolbar>div{display:flex;gap:8px;align-items:baseline}.order-toolbar strong{font-size:15px}.order-toolbar span{font-size:10px;color:#888}.order-toolbar input{width:240px;border:1px solid #ddd;border-radius:10px;padding:9px 11px;background:#fff}
.orders-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.order-card{background:#fff;border-radius:14px;padding:13px;box-shadow:0 2px 10px rgba(0,0,0,.06);border:1px solid #eee}.order-card.new{border-left:4px solid #ef4444}.order-card-head{display:flex;justify-content:space-between;gap:8px}.order-id{font-weight:900;font-size:14px}.order-time{font-size:10px;color:#888;margin-top:2px}.status-badge{border-radius:999px;padding:5px 8px;font-size:9px;font-weight:900;background:#f1f1f1}.status-badge.NEW{background:#fff0f0;color:#d22}.status-badge.PREPARING{background:#fff6dc;color:#9a6700}.status-badge.READY{background:#eaf6ff;color:#1769aa}.status-badge.OUT-FOR-DELIVERY{background:#eaf8ef;color:#14743e}.order-customer{display:flex;flex-direction:column;gap:3px;margin:10px 0}.order-customer b{font-size:13px}.order-customer small{font-size:10px;color:#666}.order-items{border-top:1px dashed #ddd;border-bottom:1px dashed #ddd;padding:8px 0}.order-item{display:flex;justify-content:space-between;font-size:11px;padding:3px 0}.order-extra{font-size:9px;color:#777;padding:1px 0 3px}.order-meta{display:flex;justify-content:space-between;padding:9px 0;font-size:10px;color:#777}.order-total{font-size:15px;font-weight:900;color:#111}.order-actions{display:flex;gap:7px}.order-main-btn{flex:1;border:0;border-radius:10px;background:#111;color:#fff;padding:10px;font-weight:900;font-size:11px}.order-main-btn.ready{background:#18854b}.order-main-btn.out{background:#1771c8}.order-more{border:1px solid #ddd;background:#fff;border-radius:10px;width:42px}.order-details{display:none;margin-top:8px;padding-top:8px;border-top:1px solid #eee}.order-details.open{display:block}.order-status-select{width:100%;padding:8px;border:1px solid #ddd;border-radius:8px}.wa-mini{margin-top:7px;width:100%;padding:8px;border:0;border-radius:8px;background:#e9f8ee;color:#167b42}
.inventory-head-tabs,.menu-tabs{display:flex;gap:10px;margin-bottom:16px}.iv-tab,.menu-tabs button{border:0;background:#fff;border-radius:999px;padding:12px 18px;font-size:14px}.iv-tab.active,.menu-tabs button.active{background:#111;color:#fff}.edit-banner{background:#dfeaff;border-radius:15px;padding:15px 18px;display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:14px}.edit-banner button{border:0;background:#edf3ff;border-radius:999px;padding:10px 15px;font-weight:800}.search-row{display:flex;gap:8px;margin-bottom:10px}.search-box{flex:1;background:#fff;border:1px solid #ddd;border-radius:11px;padding:0 12px;display:flex;align-items:center;gap:8px;font-size:24px}.search-box input{border:0;outline:0;width:100%;padding:11px 0;font-size:13px}.filter-btn{width:46px;border:1px solid #ddd;background:#fff;border-radius:11px;font-size:20px}.inventory-summary,.menu-filter-pills{display:flex;gap:8px;overflow:auto;margin-bottom:12px}.inventory-summary span,.menu-filter-pills button{background:#fff;border:0;border-radius:999px;padding:9px 13px;white-space:nowrap;font-size:11px}.inventory-summary b,.menu-filter-pills b{background:#111;color:#fff;border-radius:50%;padding:2px 6px;margin-left:4px}.inv-category{background:#fff;border-radius:16px;margin-bottom:10px;overflow:hidden;border:1px solid #eee}.inv-category header{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid #eee}.inv-category h3{margin:0;font-size:17px}.inv-category h3 em{font-style:normal;background:#eee;border-radius:999px;padding:3px 7px;font-size:10px}.inv-category header span{display:block;color:#278356;font-size:11px;margin-top:6px}.cat-chevron{border:0;background:transparent;font-size:18px}.inv-item{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px dashed #eee}.inv-item:last-child{border-bottom:0}.veg-dot{color:#209453;font-size:15px}.inv-info{flex:1;min-width:0}.inv-info b{display:block;font-size:14px}.inv-info small{display:block;color:#258056;font-size:10px;margin-top:5px}.switch{position:relative;width:50px;height:30px;flex:0 0 50px}.switch input{display:none}.switch i{position:absolute;inset:0;border-radius:999px;background:#ddd}.switch i:after{content:'';position:absolute;width:24px;height:24px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0002;transition:.18s}.switch input:checked+i{background:#15965c}.switch input:checked+i:after{transform:translateX(20px)}
.edit-menu-title{display:flex;align-items:center;gap:10px;margin-bottom:8px}.back-mini{border:0;background:transparent;font-size:30px}.edit-menu-title div{display:flex;flex-direction:column}.edit-menu-title small{font-size:10px;color:#777}.edit-menu-title b{font-size:18px}.bulb{margin-left:auto;font-size:22px}.menu-category{margin-top:8px}.menu-cat-title{display:flex;justify-content:space-between;align-items:center}.menu-cat-title h3{font-size:18px}.menu-cat-card{background:#fff;border-radius:16px;border:1px solid #eee;overflow:hidden}.menu-cat-head{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid #eee}.menu-cat-head>div{flex:1}.menu-cat-head b{display:block;font-size:17px}.menu-cat-head small{color:#268456;font-size:11px}.menu-item-card{position:relative;display:grid;grid-template-columns:18px 1fr 132px;gap:10px;padding:16px;border-bottom:1px solid #eee}.menu-item-main b{display:block;font-size:16px}.menu-item-main strong{display:block;margin-top:5px;font-size:14px}.menu-item-main p{font-size:11px;color:#777;line-height:1.35;margin:8px 0}.variants{font-size:11px;font-weight:800}.stock-green{display:block;color:#218255;font-size:10px;margin-top:4px}.menu-item-image{position:relative}.menu-item-image img{width:132px;height:100px;object-fit:cover;border-radius:10px;background:#eee}.image-edit{position:absolute;right:-4px;top:-6px;border:1px solid #aaa;background:#fff;border-radius:50%;width:28px;height:28px}.menu-item-footer{grid-column:2/4;display:flex;justify-content:space-between;margin-top:3px}.details-btn{border:0;background:transparent;font-size:11px;font-weight:700}.floating-add-btn,.floating-menu-btn{position:fixed;right:18px;bottom:78px;background:#111;color:#fff;border-radius:999px;padding:11px 16px;z-index:70;box-shadow:0 5px 18px #0002}.floating-menu-btn{bottom:135px;background:#fff;color:#111;border:1px solid #111}.other-view{display:flex;align-items:center;justify-content:center}.other-card{background:#fff;border-radius:18px;padding:40px;text-align:center;max-width:420px}.other-icon{font-size:40px}.legacy-hidden{display:none!important}
.master-bottom-nav{position:fixed;left:16px;right:16px;bottom:12px;height:66px;background:#111;color:#fff;border-radius:28px;display:flex;z-index:100;box-shadow:0 8px 28px #0003;overflow:hidden}.nav-item{flex:1;border:0;background:transparent;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}.nav-item span{font-size:19px}.nav-item small{font-size:9px}.nav-item.active{background:#333;border-radius:28px}
@media(max-width:800px){.master-mobile-head{height:64px;padding:0 18px}.master-view{min-height:calc(100vh - 64px);padding:12px 16px}.orders-grid{grid-template-columns:1fr}.order-toolbar{display:block}.order-toolbar input{width:100%;margin-top:8px}.promo-strip{padding:13px}.menu-item-card{grid-template-columns:16px 1fr 112px}.menu-item-image img{width:112px;height:90px}.master-bottom-nav{left:16px;right:16px}.master-shell{padding-bottom:92px}}
@media(min-width:801px){.master-view{max-width:1200px;margin:0 auto}.master-mobile-head{padding-left:max(22px,calc((100vw - 1200px)/2));padding-right:max(22px,calc((100vw - 1200px)/2))}}
@media(max-width:430px){.master-mobile-head{padding:0 16px}.mh-brand b{font-size:18px}.mh-brand span{font-size:11px}.status-chip{padding:7px 10px;font-size:10px}.hamburger{font-size:25px}.master-view{padding:10px 12px}.order-tab{padding:10px 14px;font-size:12px}.promo-strip b{font-size:12px}.promo-strip span{font-size:9px}.edit-banner{font-size:12px}.inv-item{padding:13px 12px}.inv-info b{font-size:13px}.menu-item-card{grid-template-columns:15px 1fr 92px;padding:13px 11px}.menu-item-image img{width:92px;height:78px}.menu-item-main b{font-size:14px}.menu-item-main p{font-size:10px}.menu-item-footer{grid-column:2/4}.floating-menu-btn{bottom:140px;right:12px}.floating-add-btn{bottom:78px;right:12px}.master-bottom-nav{left:10px;right:10px;bottom:8px;height:62px}.nav-item span{font-size:17px}.nav-item small{font-size:8px}}

.card-img img{width:100%;height:100%;display:block;object-fit:cover}.card-img img+*{position:relative}

.customize-sheet{position:fixed;inset:0;z-index:95;display:none}.customize-sheet.show{display:block}.customize-sheet-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.55)}.customize-panel{position:absolute;left:0;right:0;bottom:0;max-height:88vh;background:#f7f8fb;border-radius:24px 24px 0 0;box-shadow:0 -12px 40px rgba(0,0,0,.25);display:flex;flex-direction:column;overflow:hidden}.customize-head{background:#fff;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eee}.customize-product{display:flex;gap:10px;align-items:center;min-width:0}.customize-product img{width:52px;height:52px;border-radius:12px;object-fit:cover;background:#eee}.customize-product small{display:block;color:#888;font-size:10px}.customize-product h2{font-size:17px;margin:3px 0 0}.customize-body{overflow:auto;padding:12px 12px 100px}.customize-group{background:#fff;border-radius:16px;margin-bottom:10px;overflow:hidden;border:1px solid #eee}.customize-group h3{font-size:16px;margin:0;padding:14px 14px 2px}.customize-group>p{font-size:11px;color:#888;margin:0;padding:0 14px 10px}.customize-options{border-top:1px solid #eee}.customize-option{display:flex;justify-content:space-between;align-items:center;padding:15px 14px;border-bottom:1px solid #f0f0f0;cursor:pointer}.customize-option:last-child{border-bottom:0}.customize-option span{display:flex;flex-direction:column;gap:4px}.customize-option b{font-size:13px}.customize-option small{font-size:11px;color:#777}.customize-option input{width:23px;height:23px;accent-color:#e51b23}.customize-bottom{position:absolute;left:0;right:0;bottom:0;background:#fff;border-top:1px solid #ddd;padding:10px 12px;display:flex;gap:10px}.customize-qty{display:flex;align-items:center;border:1px solid #e51b23;border-radius:12px;overflow:hidden;background:#fff}.customize-qty button{width:42px;height:46px;border:0;background:#fff;color:#e51b23;font-size:22px}.customize-qty b{min-width:30px;text-align:center}.customize-add{flex:1;border:0;border-radius:12px;background:#ef4b5f;color:#fff;font-size:16px;font-weight:900}.track-live-card{min-height:90px}.track-status-top{display:flex;justify-content:space-between;align-items:center}.track-status-top small{display:block;font-size:9px;color:#888}.track-status-top strong{display:block;font-size:17px;margin-top:3px}.track-live-dot{font-size:10px;color:#15965c;font-weight:900}.track-timeline{display:grid;grid-template-columns:repeat(6,1fr);gap:4px;margin-top:14px}.track-step{text-align:center;color:#bbb;font-size:8px}.track-step span{display:flex;width:22px;height:22px;border-radius:50%;border:2px solid #ddd;margin:0 auto 4px;align-items:center;justify-content:center;font-size:10px}.track-step.done{color:#16803b}.track-step.done span{background:#16803b;border-color:#16803b;color:#fff}.track-step.current{color:#111;font-weight:900}.track-cancel{text-align:center;padding:8px}.track-status-icon{font-size:30px}.track-cancel strong{display:block;font-size:16px}.track-cancel p{color:#777;font-size:12px}.new-order-countdown{font-size:46px;font-weight:950;color:#e51b23;letter-spacing:2px;margin:14px 0 2px}.new-order-hint{font-size:11px;color:#888;margin-bottom:5px}.new-order-box{animation:newPop .2s ease, orderPulse 1s infinite}.new-order-box .new-order-label{background:#e51b23}.new-order-box .primary{background:#e51b23;color:#fff}.new-order-box .primary{font-size:16px;padding:14px}.new-order-box .secondary{font-size:12px}@keyframes orderPulse{0%,100%{box-shadow:0 20px 60px #0008}50%{box-shadow:0 20px 80px rgba(229,27,35,.55)}}
@media(max-width:600px){.customize-panel{max-height:92vh}.track-timeline{grid-template-columns:repeat(3,1fr);row-gap:9px}.new-order-countdown{font-size:40px}}


/* Automatic customer account */
.customer-account-saved{background:#f0fff5;border:1px solid #b7ebc6;border-radius:14px;padding:14px;margin:10px 0;font-weight:700;color:#176b3a}
.customer-account-saved small{display:block;font-weight:500;color:#4d6356;margin-top:4px}

/* ===== FIXED MENU CATEGORY BAR ===== */
.categories{
  position:sticky;
  top:0;
  z-index:30;
  background:#f7f7f7;
  margin-top:0;
  padding:10px 2px;
  box-shadow:0 2px 10px rgba(0,0,0,.06);
}
@media(max-width:430px){
  .categories{
    top:0;
    padding:8px 6px;
    margin-left:-2px;
    margin-right:-2px;
  }
}
/* Keep the menu category bar visually stable while the cart drawer is open. */
body.cart-open .categories{position:sticky;}
/* Master UI interaction fixes */
.inv-category .inv-items.collapsed{display:none}
.menu-cat-card.collapsed{padding-bottom:0}
.inventory-summary span,.menu-filter-pills button{cursor:pointer}
.inventory-summary span.active,.menu-filter-pills button.active{font-weight:800;box-shadow:0 0 0 2px rgba(229,27,35,.14) inset}
.menu-cat-chevron{border:0;background:transparent;font:inherit;cursor:pointer;padding:6px 10px}

/* Product image editor */
.image-editor-box{border:1px solid #e5e7eb;border-radius:14px;padding:12px;margin:12px 0;background:#fafafa}
.image-editor-preview{width:120px;height:120px;border-radius:12px;overflow:hidden;background:#f1f1f1;margin:8px 0}
.image-editor-preview img{width:100%;height:100%;object-fit:cover;display:block}
.image-editor-actions{display:flex;gap:8px;flex-wrap:wrap}
.image-upload-btn{display:inline-flex!important;align-items:center;justify-content:center;cursor:pointer}
.image-upload-btn input{display:none}

/* =========================================================
   FINAL MOBILE-FIRST RESPONSIVE POLISH — 2026-09-25
   Keeps desktop layout intact and makes customer + master UI
   comfortable on phones/tablets with touch-safe controls.
   ========================================================= */
html{overflow-x:hidden;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{overflow-x:hidden;min-width:0}
button,input,select,textarea{max-width:100%;touch-action:manipulation}
img,svg{max-width:100%}

@media (max-width: 768px){
  .topbar{padding:9px 12px;min-height:54px}
  .brand{min-width:0;gap:7px}
  .brand .logo{width:34px;height:34px;flex:0 0 34px;display:flex;align-items:center;justify-content:center}
  .brand .logo img{width:34px;height:34px;object-fit:contain}
  .brand b{font-size:17px;line-height:1.1}
  .brand small{font-size:7px;letter-spacing:1.2px;white-space:nowrap}
  .cart-btn{padding:9px 12px;font-size:13px;flex:0 0 auto}

  .hero{padding:25px 14px 24px}
  .hero h1{font-size:clamp(31px,10vw,48px);margin:12px 0 10px}
  .hero p{font-size:14px;line-height:1.45;margin:0 0 12px}
  .hero-badges{gap:6px}
  .hero-badges span{font-size:10px;padding:7px 8px}

  .delivery-card{margin:10px 10px 7px;padding:13px;gap:10px}
  .delivery-card strong{font-size:14px;line-height:1.25}
  .delivery-card .primary{width:100%;min-height:44px}
  .location-status{margin:7px 10px;padding:10px 12px;line-height:1.35}
  .rule-bar{margin-left:10px!important;margin-right:10px!important;overflow-x:auto!important;white-space:nowrap!important;-webkit-overflow-scrolling:touch}
  .rule-bar span{display:inline-flex!important}

  .categories{gap:6px;padding:8px 8px;margin:0;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
  .cat{padding:9px 12px;font-size:12px;min-height:38px}

  main#menu{padding:0 8px 120px}
  .section{margin:14px 0}
  .section h2{font-size:19px;margin-bottom:9px}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .card{min-width:0;border-radius:13px}
  .card-img{height:115px}
  .card-body{padding:9px}
  .name{font-size:13px;line-height:1.25;min-height:33px;margin:3px 0 5px}
  .desc{font-size:10px;line-height:1.35;min-height:27px}
  .price-row{align-items:center;margin-top:7px}
  .price{font-size:13px}
  .add{padding:9px 10px;min-height:38px;font-size:11px}
  .size-select{min-height:38px;font-size:13px}

  .hero-picks{padding:0 10px!important}
  .smart-search-wrap{padding:0 10px!important}
  .smart-search-box{min-height:46px}
  .quick-search{gap:6px;overflow-x:auto;flex-wrap:nowrap!important;padding-bottom:3px}
  .quick-search button{white-space:nowrap;min-height:38px}

  .standalone-track,.local-seo{margin-left:10px!important;margin-right:10px!important}
  .track-row{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  .track-row input,.track-row button{width:100%!important;min-height:44px}

  footer{padding:25px 12px 105px}
  footer p{font-size:12px;line-height:1.5}

  .cart-drawer{width:100%;max-width:100%;right:-100%;padding:14px 12px calc(14px + env(safe-area-inset-bottom))}
  .cart-drawer.open{right:0}
  .drawer-head{min-height:42px}
  .cart-list{min-height:0}
  .cart-total{font-size:18px}
  #checkoutBtn{min-height:48px}

  .modal{padding:8px}
  .modal-box{width:100%;max-width:620px;max-height:94vh;border-radius:16px;padding:17px 14px;overflow-y:auto;-webkit-overflow-scrolling:touch}
  .modal-box input,.modal-box textarea,.modal-box select{font-size:16px;min-height:44px}
  .modal-box textarea{min-height:90px}
  .modal-close{width:42px;height:42px;display:flex;align-items:center;justify-content:center}

  .customize-panel{max-height:94vh;border-radius:20px 20px 0 0}
  .customize-head{padding:11px 12px}
  .customize-product img{width:46px;height:46px}
  .customize-product h2{font-size:15px}
  .customize-body{padding:9px 9px 100px}
  .customize-group h3{font-size:15px;padding:12px 12px 2px}
  .customize-option{padding:13px 12px;min-height:54px}
  .customize-option input{width:25px;height:25px}
  .customize-bottom{padding:8px 9px calc(8px + env(safe-area-inset-bottom));gap:7px}
  .customize-qty button{width:40px;height:44px}
  .customize-add{min-height:44px;font-size:14px}

  .floating-cart{left:9px!important;right:9px!important;width:auto!important;bottom:calc(72px + env(safe-area-inset-bottom))!important;min-height:54px}
  .app-bottom-nav{bottom:calc(7px + env(safe-area-inset-bottom))!important;left:8px!important;right:8px!important}

  /* Master panel */
  .master-app{min-height:100vh;overflow-x:hidden}
  .master-app .master-topbar{padding:6px 9px;height:50px;min-height:50px}
  .master-app .master-brand .logo img{width:30px;height:30px}
  .master-app .master-title b{font-size:13px}
  .master-app .master-title small{font-size:6px;letter-spacing:1px}
  .master-app .top-actions{gap:5px}
  .master-app .online-dot{font-size:9px}
  .master-app .top-actions .secondary{padding:7px 8px;font-size:10px}
  .master-shell{padding:0 0 90px!important;max-width:none;width:100%}
  .master-mobile-head{position:sticky;top:0;z-index:80;height:58px;padding:0 12px!important}
  .mh-brand b{font-size:17px}
  .mh-brand span{font-size:10px}
  .mh-actions{gap:6px}
  .status-chip{padding:7px 9px;font-size:10px}
  .hamburger{font-size:22px;min-width:40px;min-height:40px}
  .master-view{min-height:calc(100vh - 58px)!important;padding:9px 10px!important;width:100%;overflow:hidden}

  .orders-topline{gap:6px}
  .orders-top-actions{gap:5px}
  .icon-btn{min-width:40px;min-height:40px}
  .promo-strip{display:flex;align-items:center;gap:8px;padding:11px;border-radius:12px}
  .promo-strip>div{min-width:0;flex:1}
  .promo-strip b,.promo-strip span{display:block;overflow:hidden;text-overflow:ellipsis}
  .promo-strip button{min-height:40px;padding:8px 11px;flex:0 0 auto}
  .order-tabs{gap:5px;padding:4px 0 8px;margin:0;overflow-x:auto}
  .order-tab{padding:9px 11px;font-size:11px;min-height:40px}
  .order-toolbar{display:flex;flex-direction:column;align-items:stretch;gap:7px;margin-bottom:8px}
  .order-toolbar input{width:100%!important;min-height:42px;margin:0}
  .orders-grid{grid-template-columns:1fr!important;gap:8px}
  .order-card{border-radius:12px}
  .order-card-head{padding:10px}
  .order-customer,.order-items,.order-meta,.order-actions{padding-left:10px;padding-right:10px}
  .order-actions{grid-template-columns:1fr 42px}
  .order-main-btn,.order-more{min-height:42px}
  .quick-cards{grid-template-columns:1fr 1fr}

  .inventory-head-tabs,.menu-tabs{display:flex;overflow-x:auto;gap:5px;white-space:nowrap}
  .inventory-head-tabs button,.menu-tabs button{min-height:42px}
  .edit-banner{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px!important}
  .edit-banner button{min-height:40px;padding:8px 11px;flex:0 0 auto}
  .search-row{display:flex;gap:7px;align-items:center}
  .search-box{flex:1;min-width:0;min-height:42px}
  .search-box input{min-width:0;width:100%;font-size:16px}
  .filter-btn{min-width:42px;min-height:42px}
  .inventory-summary{display:grid!important;grid-template-columns:repeat(3,1fr);gap:5px!important}
  .inventory-summary span{min-width:0;text-align:center;padding:8px 4px!important;font-size:10px}
  .inv-item{padding:12px 10px!important;gap:8px}
  .switch{width:46px;height:28px;flex-basis:46px}
  .switch i:after{width:22px;height:22px}
  .switch input:checked+i:after{transform:translateX(18px)}

  .edit-menu-title{padding:2px 0}
  .edit-menu-title b{font-size:16px}
  .menu-cat-card{border-radius:13px}
  .menu-cat-head{padding:11px 12px}
  .menu-item-card{grid-template-columns:14px minmax(0,1fr) 84px!important;gap:8px!important;padding:12px 9px!important}
  .menu-item-main{min-width:0}
  .menu-item-main b{font-size:13px;line-height:1.25}
  .menu-item-main strong{font-size:13px}
  .menu-item-main p{font-size:10px;line-height:1.3;margin:5px 0}
  .menu-item-image img{width:84px!important;height:72px!important;border-radius:9px}
  .image-edit{width:30px;height:30px;right:-3px;top:-5px}
  .menu-item-footer{gap:6px;align-items:center;flex-wrap:wrap}
  .menu-item-footer button{min-height:36px}

  .floating-menu-btn,.floating-add-btn{right:10px!important;padding:10px 13px;min-height:42px}
  .floating-menu-btn{bottom:139px!important}
  .floating-add-btn{bottom:82px!important}
  .master-bottom-nav{left:8px!important;right:8px!important;bottom:calc(7px + env(safe-area-inset-bottom))!important;height:62px}

  /* Master edit image modal */
  #itemEditModal .modal-box{padding:16px 13px;max-height:94vh}
  .image-editor-preview{width:100%!important;max-height:220px!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;border-radius:12px}
  .image-editor-preview img{max-width:100%!important;width:auto!important;height:auto!important;max-height:210px!important;object-fit:contain!important}
  .image-editor-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important}
  .image-upload-btn,#removeItemImage{min-height:44px!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;padding:8px!important}
  .edit-prices{grid-template-columns:1fr!important;gap:7px!important}
  #saveItemEdit{width:100%;min-height:48px;margin-top:8px}

  .new-order-overlay{padding:10px}
  .new-order-box{width:100%;max-width:430px;padding:20px 15px;border-radius:16px}
  .new-order-box h2{font-size:20px}
  .new-order-actions{grid-template-columns:1fr!important;gap:7px}
  .new-order-actions button{min-height:48px}
}

@media (max-width: 480px){
  .grid{gap:7px}
  .card-img{height:100px}
  .card-body{padding:8px}
  .name{font-size:12px;min-height:30px}
  .desc{font-size:9px;min-height:25px}
  .add{font-size:10px;padding:8px 8px}
  .price{font-size:12px}
  .hero-badges span{font-size:9px}
  .hero-picks-grid{gap:7px!important}
  .hero-product{min-width:48%!important}
  .smart-search-head h2{font-size:18px}
  .customize-product h2{font-size:14px}
  .cart-line{grid-template-columns:minmax(0,1fr) auto}
  .cart-name{font-size:13px}
  .cart-meta{font-size:10px}
  .master-app .master-title small{display:none}
  .master-app .top-actions .secondary{font-size:9px;padding:7px}
  .promo-strip button{font-size:10px}
  .order-tab{font-size:10px;padding:8px 10px}
  .inventory-summary span{font-size:9px}
  .menu-item-card{grid-template-columns:12px minmax(0,1fr) 76px!important}
  .menu-item-image img{width:76px!important;height:66px!important}
  .menu-item-main b{font-size:12px}
  .menu-item-main strong{font-size:12px}
  .menu-item-main p{font-size:9px}
  .image-editor-actions{grid-template-columns:1fr!important}
}

@media (max-width: 360px){
  .brand b{font-size:15px}
  .cart-btn{padding:8px 9px;font-size:12px}
  .grid{gap:5px}
  .card-img{height:90px}
  .card-body{padding:7px}
  .add{padding:7px 6px;font-size:9px}
  .hero h1{font-size:29px}
  .hero-badges{display:grid;grid-template-columns:1fr 1fr}
  .hero-badges span:last-child{grid-column:1/-1;text-align:center}
  .menu-item-card{grid-template-columns:10px minmax(0,1fr) 68px!important;padding:10px 7px!important}
  .menu-item-image img{width:68px!important;height:60px!important}
}

/* Prevent iOS/Android browser from creating accidental sideways layout. */
@supports (padding:max(0px)){
  .topbar,.hero,main,footer{padding-left:max(10px,env(safe-area-inset-left));padding-right:max(10px,env(safe-area-inset-right))}
}

/* Mobile customization sheet: keep the Add Item CTA above all mobile navigation */
.customize-sheet{z-index:1100!important}
.customize-sheet.show ~ .app-bottom-nav,
.customize-sheet.show ~ .floating-cart{display:none!important}
.customize-panel{z-index:1101}
.customize-bottom{z-index:1102;position:absolute!important}
@media(max-width:600px){
  .customize-panel{max-height:94vh;padding-bottom:0}
  .customize-body{padding-bottom:78px!important}
  .customize-bottom{min-height:60px;padding:8px 10px calc(8px + env(safe-area-inset-bottom))!important;box-sizing:border-box}
  .customize-add{min-height:46px!important;font-size:16px!important}
}


/* FINAL MOBILE CART / PROCEED ORDER FIX
   Keep cart and checkout above the app bottom navigation and pin the
   delivery rule, total and Proceed Order controls to the bottom. */
.cart-drawer{
  z-index:1200!important;
  box-sizing:border-box;
}
.overlay{z-index:1190!important}
.cart-drawer .cart-list{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
  -webkit-overflow-scrolling:touch;
}
.cart-drawer .cart-rule,
.cart-drawer .cart-total,
.cart-drawer #checkoutBtn{
  flex:0 0 auto;
}
.cart-drawer #checkoutBtn{
  width:100%;
  min-height:50px;
  margin:0 0 env(safe-area-inset-bottom);
  font-size:16px;
  border-radius:12px;
}
.cart-drawer .cart-total{
  padding-bottom:12px;
}
.modal#checkoutModal{
  z-index:1300!important;
}
body.cart-open{
  overflow:hidden!important;
}
body.cart-open .app-bottom-nav,
body.cart-open .floating-cart{
  display:none!important;
}

@media(max-width:700px){
  .cart-drawer{
    top:0!important;
    bottom:0!important;
    right:-100%!important;
    width:100%!important;
    max-width:none!important;
    height:100dvh!important;
    max-height:100dvh!important;
    padding:calc(10px + env(safe-area-inset-top)) 12px
             calc(10px + env(safe-area-inset-bottom))!important;
    display:flex!important;
    flex-direction:column!important;
  }
  .cart-drawer.open{right:0!important}
  .cart-drawer .drawer-head{
    flex:0 0 auto;
    min-height:48px;
  }
  .cart-drawer .cart-list{
    flex:1 1 0!important;
    min-height:0!important;
    overflow-y:auto!important;
  }
  .cart-drawer .cart-rule{
    margin:8px 0;
  }
  .cart-drawer .cart-total{
    margin:0;
    padding:10px 0 12px;
    font-size:19px;
  }
  .cart-drawer #checkoutBtn{
    display:block!important;
    position:relative!important;
    bottom:auto!important;
    min-height:52px!important;
    margin:0!important;
    padding:12px 16px!important;
  }
  .modal#checkoutModal{
    padding:8px!important;
    z-index:1300!important;
  }
  .modal#checkoutModal .modal-box{
    max-height:calc(100dvh - 16px)!important;
    max-height:94vh!important;
  }
}

/* Prevent the checkout button from ever being hidden behind browser/UI bars. */
@supports (height: 100dvh){
  @media(max-width:700px){
    .cart-drawer{height:100dvh!important}
  }
}

/* Master push alert control */
#masterPushBtn.push-on{border-color:#16a34a;background:#ecfdf3;color:#166534}
@media (max-width:700px){#masterPushBtn{font-size:12px;padding:9px 10px}.top-actions{gap:6px}}

/* Master PWA install control */
#masterInstallBtn { white-space: nowrap; }
@media (max-width: 720px) {
  #masterInstallBtn { font-size: 12px; padding: 9px 10px; }
}

/* Contact Us */
.contact-us{max-width:1100px;margin:26px auto 18px;padding:0 16px}
.contact-card{background:#fff;border:1px solid #eee;border-radius:20px;padding:22px;display:flex;align-items:center;justify-content:space-between;gap:20px;box-shadow:0 8px 28px rgba(0,0,0,.07)}
.contact-copy h2{margin:10px 0 5px;font-size:24px}
.contact-copy p{margin:0 0 8px;color:#666;font-size:14px}
.contact-number{display:block;font-size:18px;letter-spacing:.2px}
.contact-actions{display:flex;gap:10px;flex-shrink:0}
.contact-actions a{display:inline-flex;align-items:center;justify-content:center;min-width:140px;padding:13px 16px;border-radius:12px;text-decoration:none;font-weight:900;font-size:15px}
.contact-call{background:#111;color:#fff}
.contact-whatsapp{background:#16a34a;color:#fff}
@media(max-width:650px){
  .contact-us{padding:0 12px;margin-top:20px}
  .contact-card{flex-direction:column;align-items:stretch;padding:18px}
  .contact-copy h2{font-size:21px}
  .contact-actions{display:grid;grid-template-columns:1fr 1fr}
  .contact-actions a{min-width:0;padding:13px 10px}
}

/* Customer order cancellation */
.customer-cancel-order{display:block;width:100%;margin:18px 0 6px;padding:13px 16px;border:1px solid #e53935;border-radius:12px;background:#fff;color:#c62828;font-weight:800;font-size:15px;cursor:pointer}
.customer-cancel-order:hover{background:#fff5f5}
.cancel-note{display:block;text-align:center;color:#777;margin-bottom:4px}

.product-click-card{cursor:pointer}.product-click-card:focus-visible{outline:2px solid #ff7a00;outline-offset:2px}

/* Cart add-on price highlight */
.cart-addons{margin-top:7px;padding:8px 10px;background:#fff8d9;border:1px solid #f2cf45;border-radius:10px;}
.cart-addons-title{font-size:11px;font-weight:900;color:#8a6500;margin-bottom:4px;text-transform:uppercase;letter-spacing:.3px;}
.cart-addon-row{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;color:#333;padding:7px 0;border-top:1px dashed #ead889;}
.cart-addon-row:first-of-type{border-top:0;}
.cart-addon-info{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:7px;align-items:center;flex:1;}
.cart-addon-info span{font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.cart-addon-info b{color:#e51b23;font-size:12px;white-space:nowrap;}
.cart-addon-info small{grid-column:1/-1;color:#777;font-size:10px;margin-top:1px;}
.cart-addon-controls{display:flex;align-items:center;gap:5px;flex-shrink:0;}
.cart-addon-controls button{width:26px;height:26px;border:1px solid #d7d7d7;border-radius:7px;background:#fff;font-weight:900;font-size:15px;line-height:1;cursor:pointer;}
.cart-addon-controls span{min-width:16px;text-align:center;font-weight:800;font-size:12px;}
.cart-addon-controls .cart-addon-remove{border-color:#efb7b7;color:#d71920;background:#fff5f5;font-size:17px;}
.cart-addons-title{display:flex;justify-content:space-between;align-items:center;gap:8px;}
.cart-addons-title span{font-size:9px;font-weight:700;text-transform:none;letter-spacing:0;color:#8a6500;}
.cart-item-total{margin-top:6px;font-size:12px;color:#555;}
.cart-item-total b{color:#111;font-size:13px;}

.manual-location-modal{position:fixed;inset:0;z-index:12000;background:#000b;display:none;align-items:center;justify-content:center;padding:12px}.manual-location-modal.show{display:flex}.manual-location-card{width:min(620px,100%);max-height:95vh;overflow:auto;background:#fff;border-radius:20px;padding:16px;box-shadow:0 20px 70px #0009}.manual-location-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.manual-location-head h2{margin:2px 0 5px;font-size:22px}.manual-location-head p{margin:0 0 10px;color:#666;font-size:13px}.manual-location-head button{border:0;background:#f2f2f2;border-radius:50%;width:36px;height:36px;font-size:25px;cursor:pointer}.manual-map{height:340px;border-radius:14px;overflow:hidden;border:1px solid #ddd}.manual-location-search{display:flex;gap:8px;margin-top:10px}.manual-location-search input{flex:1;min-width:0;padding:12px;border:1px solid #ddd;border-radius:10px;font:inherit}.manual-location-search .primary{width:auto;white-space:nowrap}.manual-search-caption{font-size:11px;color:#666;margin:6px 2px 3px}.manual-search-results{display:grid;gap:6px;margin:7px 0;max-height:190px;overflow:auto}.manual-search-message{padding:10px 12px;border-radius:10px;background:#fff8e8;color:#755400;font-size:12px}.manual-result{display:flex;align-items:center;gap:10px;width:100%;padding:10px;border:1px solid #e7e7e7;border-radius:11px;background:#fff;text-align:left;cursor:pointer}.manual-result:active{background:#fff4e9}.manual-result-pin{font-size:19px}.manual-result-copy{display:grid;gap:3px;min-width:0;flex:1}.manual-result-copy b{font-size:13px;color:#222}.manual-result-copy small{font-size:10px;line-height:1.35;color:#777;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.manual-result-arrow{font-size:23px;color:#999}.manual-map-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 0 7px;font-size:12px}.manual-map-toolbar button{border:1px solid #e2e2e2;background:#fff;border-radius:8px;padding:7px 9px;font-weight:700;cursor:pointer}.manual-location-hint{font-size:12px;color:#555;background:#f7f7f7;padding:10px;border-radius:9px;margin:9px 0}.manual-confirm{width:100%;font-size:16px}.manual-gps{width:100%;margin-top:8px;border:1px solid #ddd;background:#fff;border-radius:10px;padding:11px;font-weight:800;cursor:pointer}@media(max-width:600px){.manual-location-card{padding:12px;border-radius:16px}.manual-map{height:40vh;min-height:260px}.manual-map-toolbar{align-items:flex-start}.manual-map-toolbar b{max-width:65%}}

/* Ultra-fast rendering: keep off-screen menu sections from consuming layout/paint work. */
.section{content-visibility:auto;contain-intrinsic-size:420px;}
.card-img img{content-visibility:auto;}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Ultra performance: avoid laying out off-screen menu sections until needed. */
.section{content-visibility:auto;contain-intrinsic-size:600px 520px;}
.product-click-card{content-visibility:auto;contain-intrinsic-size:220px 180px;}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition-duration:0.01ms!important;animation-duration:0.01ms!important;}}

/* Complete manual delivery address fields */
.manual-address-panel{margin:10px 0 12px;padding:13px;border:1px solid #ead9c8;border-radius:13px;background:#fffaf5}
.manual-address-panel[hidden]{display:none!important}
.manual-address-panel h3{margin:0 0 4px;font-size:16px;color:#282018}
.manual-address-panel>p{margin:0 0 10px;font-size:12px;color:#6b625a;line-height:1.45}
.manual-address-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.manual-address-grid label{display:grid;gap:4px;font-size:12px;font-weight:700;color:#4b4038}
.manual-address-grid input,.manual-address-grid textarea{width:100%;min-width:0;box-sizing:border-box;padding:10px;border:1px solid #d9cec4;border-radius:9px;background:#fff;font:inherit;font-size:14px;color:#222}.manual-address-grid textarea{resize:vertical;min-height:76px}.manual-full-address-label{grid-column:1/-1}
.manual-address-grid input:focus,.manual-address-grid textarea:focus{outline:2px solid #f2a34a;border-color:#e18a2e}
.manual-address-note{margin-top:8px;font-size:11px;color:#795d43}
@media(max-width:520px){.manual-address-grid{grid-template-columns:1fr}}

/* Delivery-app style manual location search suggestions */
.manual-location-search{position:sticky;top:0;z-index:3;background:#fff;padding:5px 0 7px;align-items:center;border-bottom:1px solid #f1f1f1}
.manual-location-search input{border:1.5px solid #e4e4e7;border-radius:12px;padding:13px 12px;font-size:14px;outline:none}
.manual-location-search input:focus{border-color:#f4b400;box-shadow:0 0 0 3px #f4b40020}
.manual-location-search .primary{border-radius:12px;padding:12px 16px;min-height:44px}
.manual-search-caption{font-size:11px;line-height:1.45;color:#777;margin:7px 2px}
.manual-search-results{gap:0;margin:5px 0 10px;max-height:230px;overflow-y:auto;border:1px solid #ededed;border-radius:12px;background:#fff}
.manual-result{border:0;border-bottom:1px solid #f0f0f0;border-radius:0;padding:12px 11px;min-height:66px}
.manual-result:last-child{border-bottom:0}
.manual-result:hover{background:#fffaf0}
.manual-result-pin{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#fff5df;flex:0 0 34px}
.manual-result-copy b{font-size:13px;font-weight:750}
.manual-result-copy small{font-size:11px;line-height:1.4;color:#686868}
.manual-result-copy em{font-size:10px;color:#a06a00;font-style:normal;margin-top:1px}
.manual-result-arrow{font-size:25px;color:#aaa}
.manual-search-message{padding:11px 12px;border-radius:10px;background:#fff8e8;color:#755400;font-size:12px;line-height:1.45}

/* Search-first manual delivery flow: reveal map only after a place is chosen. */
.manual-search-step,.manual-map-step-title{display:flex;align-items:center;gap:10px;margin:10px 0 6px;color:#282018}
.manual-search-step>span,.manual-map-step-title>span{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#ffcf24;color:#201800;font-weight:900;flex:0 0 28px}
.manual-search-step div,.manual-map-step-title div{display:grid;gap:2px}
.manual-search-step b,.manual-map-step-title b{font-size:14px}
.manual-search-step small,.manual-map-step-title small{font-size:11px;color:#777;line-height:1.35}
.manual-map-stage[hidden]{display:none!important}
.manual-map-fallback{width:100%;margin:8px 0 10px;padding:11px 12px;border:1px dashed #d8b45b;border-radius:11px;background:#fffaf0;color:#775400;font-weight:750;font-size:12px;cursor:pointer}
.manual-map-fallback:hover{background:#fff3d2}
.manual-confirm[hidden]{display:none!important}


/* Blinkit-inspired location chooser: detect GPS OR search by PIN, then choose a result. */
.blinkit-location-chooser{display:flex;align-items:center;gap:9px;padding:12px 0 10px;background:#f5f6fb;margin:8px -2px 0}
.blinkit-detect-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;border:0;border-radius:5px;background:#168b3c;color:#fff;padding:10px 12px;font-size:12px;font-weight:750;min-height:40px;cursor:pointer}
.blinkit-detect-btn span{font-size:17px;line-height:1}
.blinkit-or{display:grid;place-items:center;width:27px;height:27px;flex:0 0 27px;border:1px solid #ddd;border-radius:50%;background:#fff;color:#888;font-size:10px}
.blinkit-pin-search{display:flex;align-items:center;gap:7px;min-width:0;flex:1;border:1px solid #d6d8df;border-radius:9px;background:#fff;padding:0 10px;height:40px}
.blinkit-pin-search>span{font-size:20px;color:#777}
.blinkit-pin-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;font:inherit;font-size:13px;color:#222}
.blinkit-pin-search:focus-within{border-color:#168b3c;box-shadow:0 0 0 2px #168b3c18}
.blinkit-hidden-search{display:none!important}
.manual-search-results:empty{display:none}
.manual-search-results:not(:empty){border:0;border-radius:0;margin:6px -16px 0;max-height:250px}
.blinkit-pin-result{padding:13px 17px;min-height:64px;border-bottom:1px solid #ececec;background:#fff}
.blinkit-pin-result .manual-result-pin{background:transparent;color:#444;font-size:18px}
.blinkit-pin-result .manual-result-copy b{font-size:13px;font-weight:750}
.blinkit-pin-result .manual-result-copy small{font-size:11px;color:#626262}
.blinkit-pin-result .manual-result-arrow{font-size:22px}
.manual-location-card{width:min(560px,100%)}
@media(max-width:520px){.blinkit-location-chooser{gap:6px}.blinkit-detect-btn{padding:9px 8px;font-size:11px}.blinkit-or{width:23px;height:23px;flex-basis:23px}.manual-search-results:not(:empty){margin-left:-12px;margin-right:-12px}}

/* Keep map controls usable inside the scrollable delivery-location dialog. */
.manual-map{user-select:none;-webkit-user-select:none}
.manual-map-stage{position:relative}
.manual-map-stage[hidden]{display:none!important}

/* Address-to-map lookup action */
.manual-find-address{width:100%;margin-top:10px;min-height:44px;border-radius:10px;font-weight:800}
.manual-find-address:disabled{opacity:.65;cursor:wait}
.blinkit-detect-btn:disabled{opacity:.7;cursor:wait}

/* V14: keep the location confirmation action visible on small screens while the map/address content scrolls. */
.manual-location-card{display:flex;flex-direction:column;max-height:calc(100dvh - 20px);max-height:calc(100vh - 20px);overflow-y:auto;overscroll-behavior:contain;padding-bottom:10px}
.manual-location-card .manual-confirm{position:sticky;bottom:0;z-index:8;flex:0 0 auto;width:100%;min-height:54px;margin:12px 0 0;padding:14px 16px;background:#ffd21a;color:#111;border:2px solid #e0a900;border-radius:12px;box-shadow:0 -8px 18px #fff,0 4px 12px #0002;font-size:16px;font-weight:900;cursor:pointer}
.manual-location-card .manual-confirm[hidden]{display:none!important}
.manual-location-card .manual-confirm:disabled{opacity:.7;cursor:wait}
@media(max-width:600px){.manual-location-modal{align-items:flex-end;padding:6px}.manual-location-card{width:100%;max-height:calc(100dvh - 12px);max-height:calc(100vh - 12px);border-radius:18px 18px 12px 12px;padding:12px 12px calc(12px + env(safe-area-inset-bottom))}.manual-map{height:34vh;min-height:220px;max-height:320px}.manual-location-card .manual-confirm{bottom:0;min-height:56px;margin-top:10px}}

/* Customer map link on every Master Panel order card */
.order-map-link{display:inline-flex;align-items:center;gap:6px;margin-top:7px;padding:7px 10px;border-radius:8px;background:#e8f1ff;color:#1456a0;font-size:12px;font-weight:700;text-decoration:none;border:1px solid #c7dcff}
.order-map-link:hover{background:#d8e8ff;text-decoration:underline}
.order-map-missing{display:block;margin-top:6px;color:#a16207;font-size:11px}

.order-address-link{display:block;margin-top:5px;color:#1456a0;font-size:12px;font-weight:700;text-decoration:underline;overflow-wrap:anywhere}.order-address-link:hover{color:#0b3c78}.order-map-link{display:inline-flex!important}

/* V24: show the full Google Maps URL as the clickable address line, matching the previous order-card layout. */
.order-address-link{display:block!important;margin-top:5px;color:#1456a0;font-size:11px;font-weight:600;text-decoration:none;overflow-wrap:anywhere;word-break:break-word;line-height:1.35}
.order-address-link:hover{text-decoration:underline;color:#0b3c78}


/* Customer order-status push opt-in */
.push-enable-btn{display:block;width:100%;margin:14px 0 6px;padding:13px 16px;border:0;border-radius:12px;background:#168a45;color:#fff;font-weight:800;font-size:15px;cursor:pointer;box-shadow:0 5px 14px rgba(22,138,69,.16)}
.push-enable-btn:disabled{opacity:.7;cursor:default}
.push-help-text{font-size:12px;color:#777;text-align:center;margin:4px 0 10px}
.push-toast{position:fixed;z-index:10020;left:16px;right:16px;bottom:22px;max-width:460px;margin:auto;padding:14px 16px;background:#202020;color:#fff;border-radius:14px;box-shadow:0 10px 30px #0004;display:none;gap:5px}
.push-toast.show{display:grid}
.push-toast span{font-size:13px;opacity:.9}

/* V28: make notification opt-in prominent immediately after successful order placement. */
.order-push-prompt-active .track-box{border:2px solid #168a45;box-shadow:0 8px 28px rgba(22,138,69,.14)}
.order-push-prompt-active .push-enable-btn{min-height:50px;font-size:16px;background:#11843e;animation:pushPromptPulse 1.8s ease-in-out 2}
@keyframes pushPromptPulse{0%,100%{box-shadow:0 5px 14px rgba(22,138,69,.16)}50%{box-shadow:0 0 0 7px rgba(22,138,69,.13),0 8px 24px rgba(22,138,69,.22)}}


/* v33: Master order cancellation and customer delivery ETA */
.order-cancel-btn{border:1px solid #dc2626;background:#fff;color:#b91c1c;border-radius:10px;padding:9px 12px;font-weight:800;cursor:pointer}
.order-cancel-btn:hover{background:#fef2f2}
.customer-eta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0;padding:13px 15px;border:1px solid #f59e0b;background:#fffbeb;border-radius:12px;color:#78350f}
.customer-eta strong{font-size:14px}
.customer-eta span{font-size:16px;font-weight:900}
@media(max-width:520px){.order-cancel-btn{font-size:12px;padding:8px}.customer-eta{align-items:flex-start;flex-direction:column;gap:5px}}


/* v34: Estimated delivery selector in Master */
.eta-select-overlay{position:fixed;inset:0;z-index:10050;background:rgba(0,0,0,.62);display:flex;align-items:center;justify-content:center;padding:18px}
.eta-select-dialog{width:min(420px,100%);background:#fff;color:#171717;border-radius:18px;padding:22px;box-shadow:0 20px 70px rgba(0,0,0,.3)}
.eta-select-dialog h3{margin:0 0 8px;font-size:20px}
.eta-select-dialog p{margin:0 0 16px;color:#666;font-size:14px}
.eta-select-value{width:100%;padding:13px 12px;border:1px solid #d1d5db;border-radius:10px;background:#fff;color:#111;font-size:16px}
.eta-select-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}
.eta-select-actions button{border:0;border-radius:10px;padding:11px 16px;font-weight:800;cursor:pointer}
.eta-select-cancel{background:#eee;color:#333}
.eta-select-confirm{background:#16a34a;color:#fff}


/* v36: show order instructions clearly in Master and customer tracking */
.order-instructions-note{margin:12px 0;padding:11px 13px;border:1px solid #f2d39a;background:#fffbeb;border-radius:10px;color:#713f12}
.order-instructions-note b strong{display:block;font-size:13px;font-weight:800;margin-bottom:5px}
.order-instructions-note p p{margin:0;font-size:13px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.new-order-actions .danger{background:#dc2626!important;color:#fff!important;border:1px solid #dc2626!important}
.new-order-actions .danger:hover{background:#b91c1c!important}


/* v38: Blinkit-style visible delivery location header */
.topbar{
  position:sticky;top:0;z-index:120;
  display:grid;grid-template-columns:auto minmax(220px,1fr) auto;
  align-items:center;gap:clamp(14px,3vw,42px);
  padding:10px clamp(14px,3vw,34px);
  min-height:82px;background:#fff;color:#161616;
  border-bottom:1px solid #eeeeee;box-shadow:0 2px 10px rgba(0,0,0,.06)
}
.topbar .brand{min-width:130px;gap:10px}
.topbar .brand b{color:#171717;font-size:21px}
.topbar .brand small{color:#777}
.topbar .logo{width:48px;height:48px;display:flex;align-items:center;justify-content:center}
.topbar .logo img{max-width:100%;max-height:100%;object-fit:contain}
.header-location{
  justify-self:start;display:flex;align-items:center;gap:10px;
  width:min(100%,560px);max-width:560px;min-width:0;
  padding:8px 12px;border:0;border-left:1px solid #e9e9e9;
  border-radius:0;background:#fff;color:#161616;text-align:left;
  box-shadow:none
}
.header-location-pin{font-size:23px;color:#333}
.header-location-copy{gap:3px}
.header-location-copy small{font-size:11px;color:#666;font-weight:600}
.header-location-copy b{font-size:17px;line-height:1.2;color:#171717;max-width:100%;font-weight:850}
.header-location-copy .header-delivery-distance{
  max-width:min(48vw,480px);font-size:11px;line-height:1.3;color:#666;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1px
}
.header-location-chevron{font-size:18px;color:#444}
.header-location:active{background:#f8f8f8}
.topbar .cart-btn{justify-self:end;background:#171717;color:#fff;border:0;border-radius:10px;padding:11px 15px;font-weight:800}
@media(max-width:700px){
  .topbar{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand cart" "location location";gap:5px 10px;padding:8px 12px;min-height:auto}
  .topbar .brand{grid-area:brand;min-width:0}
  .topbar .brand b{font-size:17px}
  .topbar .logo{width:38px;height:38px}
  .topbar .cart-btn{grid-area:cart}
  .header-location{grid-area:location;width:100%;max-width:none;padding:8px 2px 3px;border-left:0;border-top:1px solid #eee;gap:9px}
  .header-location-pin{font-size:20px}
  .header-location-copy b{font-size:15px;max-width:calc(100vw - 82px)}
  .header-location-copy .header-delivery-distance{font-size:10px;max-width:calc(100vw - 82px)}
}
