:root{--theme:#d90429;--bottom-h:62px;--banner-h:118px;--bar-h:40px;--cat-w:86px}*{box-sizing:border-box}html,body,#app{margin:0;width:100%;height:100%;overflow:hidden;-webkit-text-size-adjust:none;touch-action:manipulation}body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,"Microsoft YaHei UI",sans-serif;color:#222;background:#fff}.loading,.error{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:22px}.error h2{font-size:22px}.home{height:100%;background-size:cover;background-position:center;position:relative;padding:calc(env(safe-area-inset-top) + 24px) 26px calc(env(safe-area-inset-bottom) + 34px);display:flex;flex-direction:column;justify-content:flex-end;gap:26px}.home:before{content:"";position:absolute;inset:0;background:rgba(0,0,0,.12)}.home-top{position:absolute;right:28px;top:calc(env(safe-area-inset-top) + 28px);z-index:1}.lang{border:0;background:rgba(255,255,255,.92);border-radius:8px;padding:12px 20px;font-size:20px;color:#333}.home-notice{position:relative;z-index:1;background:rgba(255,255,255,.70);border-radius:6px;padding:14px 16px;font-size:22px;line-height:1.35;max-height:34vh;overflow:auto}.open-btn{position:relative;z-index:1;border:0;border-radius:8px;background:var(--theme);color:#fff;font-size:30px;padding:16px 8px;box-shadow:0 2px 4px rgba(0,0,0,.25)}.open-btn span{display:block;font-size:20px;opacity:.9;margin-bottom:5px}.screen{height:100%;display:flex;flex-direction:column;overflow:hidden;background:#fff}.top-notice{height:30px;flex:0 0 30px;display:flex;align-items:center;gap:6px;padding:0 8px;border-bottom:1px solid #eee;font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#fff}.flat-icon{display:inline-flex;align-items:center;justify-content:center;font-weight:700;min-width:20px}.banner{height:var(--banner-h);flex:0 0 var(--banner-h);background-size:cover;background-position:center;position:relative}.dots{position:absolute;left:0;right:0;bottom:8px;text-align:center}.dots span{display:inline-block;width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,.6);margin:0 5px}.dots span.on{background:#fff}.redbar{height:var(--bar-h);flex:0 0 var(--bar-h);display:flex;align-items:center;justify-content:space-between;background:var(--theme);color:#fff;font-size:18px;padding:0 18px}.content{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.layout{flex:1;min-height:0;display:grid;grid-template-columns:var(--cat-w) 1fr;overflow:hidden}.left-cats{background:#f2f2f2;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;padding:0 0 calc(var(--bottom-h) + env(safe-area-inset-bottom));}.left-cats button{display:block;width:100%;border:0;background:transparent;text-align:left;padding:18px 10px;font-size:17px;color:#333}.left-cats button.active{background:#fff;font-weight:800;color:#111}.right-side{min-width:0;display:flex;flex-direction:column;overflow:hidden}.cat-title{height:42px;flex:0 0 42px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eee;background:#fff;padding:0 10px}.cat-title strong{font-size:19px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.filter{border:0;background:transparent;color:#444;font-size:18px;padding:0 4px;white-space:nowrap}.prod-area{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:8px 8px calc(var(--bottom-h) + env(safe-area-inset-bottom) + 8px)}.section-title{font-size:20px;font-weight:800;margin:4px 0 10px}.prod{min-height:92px;border:1px solid #eee;border-radius:8px;margin:0 0 9px;background:#fff;display:grid;grid-template-columns:40% 1fr;gap:8px;padding:8px;box-shadow:0 1px 2px rgba(0,0,0,.04)}.pic{height:76px;background:#f4f4f8;border-radius:7px;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#c9ccd6;font-size:34px}.pic img{max-width:100%;max-height:100%;object-fit:contain}.pinfo{min-width:0;display:flex;flex-direction:column}.pname{font-size:17px;line-height:1.15;text-align:right;text-transform:uppercase;word-break:break-word}.pname2{font-size:14px;color:#999;text-align:right;margin-top:2px}.allergens{height:22px;margin-top:2px;text-align:right;overflow:hidden}.aicon{display:inline-flex;width:20px;height:20px;border-radius:50%;align-items:center;justify-content:center;margin-left:3px;vertical-align:middle;background:#f0f2f4;font-size:11px;overflow:hidden}.aicon img{width:100%;height:100%;object-fit:cover}.prod-bottom{margin-top:auto;display:flex;align-items:center;justify-content:flex-end;gap:8px}.price{font-size:18px}.qty{font-size:17px}.qtybtn{width:30px;height:30px;border-radius:50%;border:0;background:var(--theme);color:#fff;font-size:24px;line-height:28px}.bottom{height:calc(var(--bottom-h) + env(safe-area-inset-bottom));flex:0 0 calc(var(--bottom-h) + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(4,1fr);background:#f8f8f8;border-top:1px solid #ddd;padding-bottom:env(safe-area-inset-bottom);z-index:20}.tab{border:0;border-right:1px solid #e2e2e2;background:transparent;color:#999;font-size:14px;font-weight:700;position:relative}.tab.active{color:var(--theme)}.navico{font-size:22px}.b{display:inline-flex;align-items:center;justify-content:center;background:red;color:#fff;border-radius:50%;min-width:20px;height:20px;font-size:12px;vertical-align:top}.scroll{flex:1;min-height:0;overflow:auto;padding-bottom:calc(var(--bottom-h) + 70px)}.cart-head{height:46px;margin:6px;background:#f3f3f3;display:flex;align-items:center;justify-content:space-between;padding:0 12px;font-size:21px;font-weight:800;flex:0 0 auto}.cart-line{display:grid;grid-template-columns:80px 1fr;gap:10px;align-items:center;padding:12px 14px;border-bottom:1px solid #eee}.cart-line .pic{height:60px}.cart-name{font-size:18px;text-align:center}.cart-name2{font-size:14px;color:#999;text-align:center}.cart-ops{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:10px}.circle{width:34px;height:34px;border-radius:50%;background:#fff;border:1px solid #ccc;font-size:22px}.cart-price{font-size:18px;min-width:48px;text-align:right}.send-wrap{position:fixed;left:0;right:0;bottom:calc(var(--bottom-h) + env(safe-area-inset-bottom));height:62px;background:#fff;text-align:center;padding:7px;z-index:9}.send-btn{width:150px;height:48px;border:0;border-radius:5px;background:var(--theme);color:#fff;font-size:21px}.order-table-head{height:44px;background:#f1f1f1;display:grid;grid-template-columns:1fr 52px 68px 82px;align-items:center;text-align:center;font-size:17px;font-weight:800;flex:0 0 auto}.order-date{display:flex;align-items:center;gap:8px;justify-content:center;color:#aaa;font-size:16px;margin:16px}.order-date:before,.order-date:after{content:"";height:1px;background:#ddd;flex:1}.order-line{display:grid;grid-template-columns:48px 1fr 48px 66px 76px;align-items:center;padding:8px 10px;font-size:16px}.order-line img{width:42px;height:38px;object-fit:contain}.order-name2{font-size:13px;color:#999}.order-total{position:fixed;left:0;right:0;bottom:calc(var(--bottom-h) + env(safe-area-inset-bottom));height:50px;background:#f7f7f7;display:flex;justify-content:space-around;align-items:center;font-size:18px;font-weight:800}.service{padding:28px 18px 120px;overflow:auto;flex:1}.service h1{text-align:center;font-size:32px;margin:0 0 30px}.service-buttons{display:grid;grid-template-columns:1fr 1fr;gap:16px}.service-buttons button{height:70px;border:1px solid #ccc;border-radius:5px;background:#fff;font-size:26px}.service-buttons button.active{background:var(--theme);color:#fff;border-color:var(--theme)}.service textarea{width:100%;height:90px;border:1px solid #ddd;border-radius:4px;margin:34px 0 22px;padding:12px;font-size:18px}.service-send{height:52px;width:100%;border:0;border-radius:5px;background:var(--theme);color:#fff;font-size:22px}.empty{padding:50px 20px;text-align:center;color:#999;font-size:20px}.modal-mask,.allergen-mask{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:50;display:flex;align-items:center;justify-content:center}.modal{background:#fff;border-radius:8px;width:min(86vw,520px);padding:24px;position:relative}.modal.small input{width:100%;height:44px;font-size:20px;margin:8px 0 18px}.modal .close{position:absolute;right:12px;top:8px;border:0;background:transparent;font-size:30px}.modal .primary,.allergen-panel .primary{width:100%;height:48px;border:0;border-radius:5px;background:var(--theme);color:#fff;font-size:22px}.notice-body{font-size:18px;line-height:1.5;max-height:55vh;overflow:auto}.allergen-mask{align-items:flex-start;padding-top:calc(env(safe-area-inset-top) + 70px)}.allergen-panel{width:min(720px,100%);background:#fff;border-radius:0 0 4px 4px;padding:22px 28px 24px;position:relative}.allergen-panel h2{text-align:center;margin:0 0 20px;font-size:26px}.trash{position:absolute;right:16px;top:20px;border:0;background:transparent;color:var(--theme);font-size:25px}.allergen-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px 18px;margin-bottom:22px}.allergen{position:relative;border:0;background:transparent;padding:0;height:52px}.allergen span{display:inline-flex;width:52px;height:52px;align-items:center;justify-content:center;border-radius:50%;font-size:18px;background:#eaf2f2;overflow:hidden}.allergen span img{width:100%;height:100%;object-fit:cover}.allergen.on:after{content:"✕";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:54px;line-height:54px;color:#ff3b30;font-weight:900;text-shadow:0 1px 0 rgba(255,255,255,.65)}@media(max-height:720px){:root{--banner-h:88px;--bar-h:36px;--bottom-h:56px;--cat-w:78px}.top-notice{height:26px;flex-basis:26px;font-size:15px}.redbar{font-size:16px}.left-cats button{font-size:15px;padding:14px 8px}.cat-title{height:36px;flex-basis:36px}.cat-title strong,.filter{font-size:16px}.prod{min-height:82px;grid-template-columns:38% 1fr}.pic{height:64px}.pname{font-size:15px}.pname2{font-size:13px}.price{font-size:16px}.qtybtn{width:28px;height:28px;font-size:22px}.allergen-panel{padding:18px 24px}.allergen-grid{gap:12px 14px}.allergen span{width:46px;height:46px}}@media(max-width:380px){:root{--cat-w:72px}.prod{grid-template-columns:36% 1fr;padding:7px}.pname{font-size:14px}.price{font-size:15px}.tab{font-size:13px}.allergen-grid{grid-template-columns:repeat(5,1fr)}}

/* v18 customer layout refinements */
.banner{height:136px;flex-basis:136px}
.prod{grid-template-columns:38% 1fr 42px;align-items:center}
.pname,.pname2,.allergens{text-align:left}
.prod-bottom{justify-content:flex-start}
.pactions{display:flex;align-items:center;justify-content:flex-end;gap:5px;min-width:40px}
.qtybtn{width:26px;height:26px;font-size:20px;line-height:24px;flex:0 0 26px}
.qty{font-size:15px;min-width:16px;text-align:center}
.price{font-size:17px}.cat-title strong{max-width:58%}.filter{font-size:16px}.section-title{display:none}.notice-ico{border:1px solid currentColor;border-radius:50%;font-size:12px;width:18px;height:18px;min-width:18px}.redbar .flat-icon{opacity:.95}.cart-line{grid-template-columns:70px 1fr 92px}.cart-info{min-width:0}.cart-name,.cart-name2{text-align:left}.cart-allergens{text-align:left;margin-top:3px}.cart-actions{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:12px}.cart-actions>div{display:flex;align-items:center;gap:7px}.edit{border:0;background:transparent;color:#999;font-size:22px;padding:0 4px}.cart-price-left{font-size:18px;font-weight:800;margin-top:4px}.cond-line{font-size:12px;color:#777;line-height:1.25;margin-top:3px}.modal.opt{width:min(92vw,560px);max-height:86vh;padding:20px}.modal.opt h3{margin:0 34px 12px 0;font-size:22px}.opt-scroll{max-height:58vh;overflow:auto;-webkit-overflow-scrolling:touch;padding-right:4px}.opt-group{border-top:1px solid #eee;padding:10px 0}.opt-group h4{font-size:17px;margin:0 0 8px}.opt-group small{color:#999;font-weight:400}.check{display:flex;align-items:center;gap:8px;min-height:36px;font-size:16px}.check input{width:20px;height:20px}.check span{flex:1}.check em{font-style:normal;color:var(--theme);font-weight:700}.opt textarea{width:100%;height:70px;border:1px solid #ddd;border-radius:5px;font-size:16px;padding:8px}.allergen-panel .primary,.modal .primary{margin-top:8px}
@media(max-height:720px){.banner{height:108px;flex-basis:108px}.prod{grid-template-columns:35% 1fr 38px}.qtybtn{width:24px;height:24px;font-size:19px;line-height:22px}.cart-line{grid-template-columns:62px 1fr 86px}.modal.opt{max-height:90vh}.opt-scroll{max-height:56vh}}
/* v19 ordering state */
.qtybtn.disabled,.qtybtn:disabled{background:#cfd3da!important;color:#fff!important;opacity:.75}


/* v25 customer refinements */
:root{--cat-w:92px}
.left-cats{width:var(--cat-w);flex-basis:var(--cat-w)}
.prod{grid-template-columns:34% 1fr 78px;align-items:stretch;min-height:94px}
.pinfo{height:100%;display:flex;flex-direction:column;min-width:0}
.prod-bottom{margin-top:auto;justify-content:flex-start;align-items:flex-end}
.pactions{align-self:end;justify-self:end;margin-bottom:2px;min-width:72px;display:flex;align-items:center;justify-content:flex-end;gap:4px}
.pactions .qtybtn{width:22px;height:22px;line-height:20px;font-size:18px}
.pactions .qty{font-size:14px;min-width:14px}
.price{font-size:16px;text-align:left}.pname{font-size:15px}.pname2{font-size:13px}.aicon{width:18px;height:18px}.allergens{height:20px}.prod .pic{height:70px}.filter{font-size:15px}.cat-title strong{max-width:60%}
.cart-line{grid-template-columns:64px 1fr 92px}.cart-actions .circle{width:30px;height:30px;font-size:19px}.cart-name{font-size:16px}.cart-price-left{font-size:16px}.edit{font-size:19px}
.allergen-mask{align-items:center!important;justify-content:center!important;padding-top:0!important}.allergen-panel{border-radius:8px;width:min(720px,92vw);max-height:86vh;overflow:auto}.allergen{height:56px}.allergen span{position:relative;width:52px;height:52px}.allergen.on span:before{content:"";position:absolute;inset:0;background:rgba(255,255,255,.55);border-radius:50%;z-index:1}.allergen.on:after{z-index:2}.cond-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:9px}.cond-card{min-height:42px;border:1px solid #ddd;background:#fff;border-radius:8px;padding:7px 8px;font-size:15px;color:#333;display:flex;flex-direction:column;align-items:center;justify-content:center}.cond-card.selected{border-color:var(--theme);background:rgba(217,4,41,.08);color:var(--theme);font-weight:800}.cond-card em{font-style:normal;font-size:12px;margin-top:2px}
@media(max-height:720px){:root{--cat-w:88px}.prod{grid-template-columns:32% 1fr 72px;min-height:84px}.prod .pic{height:62px}.pactions{min-width:66px}.pactions .qtybtn{width:21px;height:21px;line-height:19px;font-size:17px}.pname{font-size:14px}.price{font-size:15px}}
@media(max-width:380px){:root{--cat-w:86px}.prod{grid-template-columns:32% 1fr 66px}.pactions{min-width:64px}.left-cats button{padding-left:9px;padding-right:7px}}

/* v26 product/card/modal refinements */
.prod{position:relative;grid-template-columns:32% 1fr!important;padding-right:54px;align-items:center;min-height:96px;overflow:hidden}
.prod .pic{height:72px}
.pinfo{min-width:0;height:100%;display:flex;flex-direction:column;justify-content:center;gap:1px;overflow:hidden}
.pname{font-size:15px!important;line-height:1.14!important;text-align:left!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-height:34px;margin:0}
.pname2{font-size:13px!important;line-height:1.12!important;text-align:left!important;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;margin:0;color:#888}
.allergens{height:18px;margin:0;text-align:left!important;display:flex;align-items:center;gap:2px;overflow:hidden}.aicon{width:16px;height:16px;min-width:16px}.prod-bottom{margin-top:1px;display:flex;align-items:center;justify-content:flex-start}.price{font-size:16px!important;line-height:1.1;text-align:left!important;margin:0}.pactions{position:absolute;right:10px;bottom:13px;min-width:40px!important;margin:0!important;display:flex;align-items:center;justify-content:flex-end;gap:4px}.pactions .qtybtn,.qtybtn{width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;line-height:26px!important;border-radius:50%!important;padding:0!important;aspect-ratio:1/1;display:inline-flex;align-items:center;justify-content:center;font-size:20px!important}.pactions .qty{font-size:14px;min-width:14px;text-align:center}
.allergen-mask{align-items:center!important;justify-content:center!important;padding:0!important}.allergen-panel{width:min(680px,88vw)!important;max-height:82vh!important;border-radius:8px!important;overflow:auto!important;padding:18px 20px 20px!important}.allergen-panel h2{font-size:24px!important;margin-bottom:16px!important}.allergen-grid{grid-template-columns:repeat(auto-fit,minmax(48px,1fr))!important;gap:13px 13px!important;align-items:center}.allergen{height:50px!important}.allergen span{width:50px!important;height:50px!important}.allergen.on:after{font-size:48px!important}.trash{top:16px!important;right:14px!important}
.combo-layout{width:min(92vw,680px);max-height:88vh;padding:16px!important}.combo-layout h3{margin:0 34px 12px 0;font-size:20px}.combo-body{height:min(58vh,520px);display:flex;border-top:1px solid #eee;border-bottom:1px solid #eee;overflow:hidden}.combo-cats{width:92px;min-width:92px;background:#f5f5f5;overflow:auto;-webkit-overflow-scrolling:touch}.combo-cats button{position:relative;width:100%;min-height:52px;border:0;background:transparent;text-align:left;padding:9px 8px;font-size:14px;color:#333}.combo-cats button.active{background:#fff;color:#111;font-weight:800}.combo-cats button b{position:absolute;right:5px;top:5px;background:var(--theme);color:#fff;border-radius:12px;min-width:18px;height:18px;line-height:18px;text-align:center;font-size:11px}.combo-products{flex:1;overflow:auto;-webkit-overflow-scrolling:touch;padding:8px;background:#fff}.combo-card{width:100%;min-height:82px;border:1px solid #eee;border-radius:8px;background:#fff;margin-bottom:8px;padding:7px;display:grid;grid-template-columns:35% 1fr;gap:9px;text-align:left;align-items:center}.combo-card.selected{border-color:var(--theme);box-shadow:0 0 0 2px rgba(217,4,41,.12)}.combo-pic{height:64px;background:#f3f4f6;border-radius:6px;display:flex;align-items:center;justify-content:center;overflow:hidden}.combo-pic img{width:100%;height:100%;object-fit:cover}.combo-info{min-width:0;display:flex;flex-direction:column;gap:2px}.combo-info strong{font-size:15px;line-height:1.16;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.combo-info em{font-size:13px;color:#888;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.combo-info b{font-size:15px;color:#111}.combo-mask .modal{overflow:hidden}
@media(max-height:720px){.prod{min-height:84px;grid-template-columns:31% 1fr!important;padding-right:48px}.prod .pic{height:62px}.pname{font-size:14px!important;max-height:32px}.pname2{font-size:12px!important}.pactions{right:8px;bottom:10px}.pactions .qtybtn,.qtybtn{width:25px!important;height:25px!important;min-width:25px!important;min-height:25px!important;line-height:23px!important;font-size:18px!important}.allergen-panel{width:90vw!important}.allergen-grid{gap:10px!important}.allergen span{width:44px!important;height:44px!important}.allergen{height:44px!important}.combo-body{height:56vh}.combo-cats{width:86px;min-width:86px}.combo-card{min-height:74px}.combo-pic{height:56px}}

/* v27 card size / full screen dialogs / custom UI dialogs */
.ui-mask{align-items:center;justify-content:center;padding:18px;background:rgba(0,0,0,.42)}
.ui-dialog{width:min(86vw,360px);background:#fff;border-radius:16px;padding:22px 20px;box-shadow:0 14px 40px rgba(0,0,0,.22);text-align:center}
.ui-dialog h3{margin:0 0 14px;font-size:22px;font-weight:800;color:#222}.ui-msg{font-size:17px;line-height:1.42;color:#333;margin:10px 0 18px;white-space:pre-wrap}.ui-actions{display:flex;gap:10px}.ui-actions button,.ui-dialog>.ui-cancel,.pay-choice button{flex:1;height:46px;border-radius:10px;border:1px solid #ddd;background:#fff;font-size:17px}.ui-input{width:100%;height:92px;border:1px solid #ddd;border-radius:10px;padding:10px;font-size:16px;box-sizing:border-box;resize:none}.pay-choice{display:flex;gap:12px;margin:14px 0}.pay-choice button{font-weight:800;color:#222}.service-buttons .pay-black{color:#111!important;background:#fff!important;border-color:#ccc!important}

body.card-large .prod{min-height:144px!important;grid-template-columns:38% 1fr!important;padding-right:64px!important}
body.card-large .prod .pic{height:108px!important}
body.card-large .pname{font-size:18px!important;font-weight:800!important;line-height:1.15!important;-webkit-line-clamp:3!important;max-height:63px!important}
body.card-large .pname2{font-size:15px!important;line-height:1.18!important;white-space:normal!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-height:36px!important}
body.card-large .price{font-size:20px!important;font-weight:900!important}
body.card-large .aicon{width:22px!important;height:22px!important}body.card-large .allergens{height:24px!important}
body.card-large .pactions{right:12px;bottom:16px}body.card-large .pactions .qtybtn,body.card-large .qtybtn{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;font-size:22px!important;line-height:30px!important}
body.card-large .prod-area{gap:10px}

.opt-full-mask,.combo-mask{align-items:stretch!important;justify-content:stretch!important;padding:0!important;background:#fff!important;z-index:1000}.opt-full,.combo-full{width:100vw;height:100vh;background:#fff;display:flex;flex-direction:column;overflow:hidden}.full-head{height:54px;min-height:54px;display:flex;align-items:center;justify-content:center;border-bottom:1px solid #eee;position:relative}.full-head h3{font-size:20px;font-weight:900;margin:0;max-width:76vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.full-head .close{position:absolute;left:12px;top:7px;border:0;background:transparent;font-size:34px;line-height:34px;color:#333}.opt-full-body{flex:1;overflow:auto;-webkit-overflow-scrolling:touch;padding:14px 16px 88px}.full-foot{height:72px;min-height:72px;padding:10px 16px calc(10px + env(safe-area-inset-bottom));border-top:1px solid #eee;background:#fff}.full-foot .primary{width:100%;height:48px;border-radius:9px}.opt-group-card{margin-bottom:14px}.opt-group-card h4{font-size:18px;margin:0 0 9px;font-weight:900}.opt-group-card textarea{width:100%;height:78px;border:1px solid #ddd;border-radius:9px;padding:10px;font-size:16px;box-sizing:border-box}.cond-card-grid{grid-template-columns:repeat(auto-fill,minmax(98px,1fr))!important}.cond-card{min-height:48px!important;border-radius:10px!important}.cond-card.selected{background:rgba(217,4,41,.1)!important;border-color:var(--theme)!important;color:var(--theme)!important}.combo-body{flex:1!important;height:auto!important;max-height:none!important;border:0!important}.combo-cats{width:108px!important;min-width:108px!important}.combo-cats button{min-height:68px!important;padding:9px 8px!important}.combo-cats button span{display:block;font-size:14px;line-height:1.15}.combo-cats button small{display:block;margin-top:4px;font-size:11px;color:#777;line-height:1.15}.combo-cats button.active small{color:#555}.combo-products{padding:10px!important}.combo-card{min-height:96px!important;grid-template-columns:36% 1fr!important}.combo-pic{height:78px!important}.combo-info strong{font-size:16px!important}.combo-info em{font-size:13px!important}

@media(max-height:720px){body.card-large .prod{min-height:122px!important}body.card-large .prod .pic{height:92px!important}body.card-large .pname{font-size:16px!important;max-height:55px!important}.full-head{height:48px;min-height:48px}.combo-card{min-height:82px!important}.combo-pic{height:64px!important}.combo-cats{width:100px!important;min-width:100px!important}.combo-cats button{min-height:60px!important}}

/* v28 modal buttons, combo flow and card alignment */
.full-foot.two{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important;height:78px!important;min-height:78px!important;padding:12px 16px calc(12px + env(safe-area-inset-bottom))!important}
.full-foot.two button{height:54px!important;border-radius:12px!important;font-size:19px!important;font-weight:900!important;border:1px solid #ddd!important}
.full-foot.two .cancel{background:#fff!important;color:#333!important;border-color:#d8d8d8!important}
.full-foot.two .primary{background:var(--theme)!important;color:#fff!important;border-color:var(--theme)!important;margin:0!important;width:100%!important}
.ui-dialog>.primary,.ui-dialog .ui-ok,.modal .primary,.allergen-panel .primary{height:54px!important;min-height:54px!important;border-radius:12px!important;font-size:20px!important;font-weight:900!important;background:var(--theme)!important;border-color:var(--theme)!important;color:#fff!important;padding:0 24px!important}
.ui-actions button{height:54px!important;border-radius:12px!important;font-size:18px!important;font-weight:900!important}.ui-actions .ui-ok{background:var(--theme)!important;color:#fff!important;border-color:var(--theme)!important}.ui-actions .ui-cancel{background:#fff!important;color:#333!important}
.prod-bottom{height:30px!important;margin-top:0!important;display:flex!important;align-items:center!important;justify-content:flex-start!important}.price{display:block!important;line-height:30px!important}.pactions{bottom:12px!important;height:30px!important;align-items:center!important}.pactions .qtybtn,.qtybtn{border-radius:999px!important;aspect-ratio:1/1!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}.pactions .qty{line-height:30px!important;display:inline-flex;align-items:center;justify-content:center}
.combo-card{position:relative}.combo-count{position:absolute;right:7px;top:7px;min-width:26px;height:26px;line-height:26px;text-align:center;border-radius:999px;background:var(--theme);color:#fff;font-style:normal;font-size:13px;font-weight:900;box-shadow:0 2px 6px rgba(0,0,0,.18)}
.combo-card.selected{border-color:var(--theme)!important;background:rgba(217,4,41,.04)!important}
@media(max-height:720px){.full-foot.two{height:70px!important;min-height:70px!important}.full-foot.two button,.ui-dialog>.primary,.ui-dialog .ui-ok,.modal .primary,.allergen-panel .primary{height:48px!important;min-height:48px!important;font-size:18px!important}.prod-bottom{height:28px!important}.pactions{height:28px!important;bottom:9px!important}}

/* v29 card alignment, themed categories, combo qty controls, self desk selection */
.left-cats button.active,
.combo-cats button.active{
  background: rgba(217,4,41,.10) !important;
  color: var(--theme) !important;
  font-weight: 900 !important;
  box-shadow: inset 4px 0 0 var(--theme) !important;
}
.prod{
  position:relative!important;
  grid-template-columns:32% 1fr!important;
  padding-right:58px!important;
}
.pinfo{height:100%!important;min-height:0!important;justify-content:flex-start!important;}
.pname{text-align:left!important;word-break:normal!important;overflow-wrap:break-word!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;line-height:1.18!important;}
.pname2{text-align:left!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.allergens{text-align:left!important;}
.prod-bottom{margin-top:auto!important;height:32px!important;justify-content:flex-start!important;align-items:center!important;}
.price{line-height:32px!important;}
.pactions{position:absolute!important;right:10px!important;bottom:8px!important;height:32px!important;display:flex!important;align-items:center!important;gap:7px!important;}
.pactions .qtybtn,.qtybtn{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;line-height:32px!important;padding:0!important;aspect-ratio:1/1!important;border-radius:50%!important;}
.pactions .qty{height:32px!important;line-height:32px!important;min-width:18px!important;text-align:center!important;}
body.card-large .prod{grid-template-columns:38% 1fr!important;padding-right:70px!important;}
body.card-large .pactions{bottom:14px!important;height:36px!important;}
body.card-large .pactions .qtybtn,body.card-large .qtybtn{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;line-height:36px!important;}
body.card-large .prod-bottom{height:36px!important}.pic img{width:100%!important;height:100%!important;object-fit:cover!important;}
.combo-card{position:relative!important;grid-template-columns:34% 1fr!important;padding-right:62px!important;}
.combo-info b{margin-top:auto!important;font-size:17px!important;line-height:30px!important;}
.combo-actions{position:absolute;right:8px;bottom:10px;display:flex;align-items:center;gap:6px;height:32px;}
.combo-actions button{width:32px;height:32px;min-width:32px;min-height:32px;border:0;border-radius:50%;background:var(--theme);color:#fff;font-size:22px;font-weight:900;line-height:32px;padding:0;display:inline-flex;align-items:center;justify-content:center;}
.combo-actions i{font-style:normal;font-weight:800;min-width:16px;text-align:center;color:#222;}
.combo-cats button small{color:#777!important}.combo-cats button.active small{color:var(--theme)!important}
.self-screen{height:100%;display:flex;flex-direction:column;background:#fff;overflow:hidden;padding-top:env(safe-area-inset-top)}
.self-grid{flex:1;overflow:auto;-webkit-overflow-scrolling:touch;padding:12px 10px 130px;display:grid;grid-template-columns:repeat(4,1fr);gap:10px;align-content:start}
.self-desk{height:92px;border:0;border-radius:4px;background:#f4f4f4;color:#333;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;font-size:16px;box-shadow:0 1px 2px rgba(0,0,0,.05)}
.self-desk b{font-size:20px;font-weight:500}.self-desk strong{font-size:18px;font-weight:500}.self-desk span{font-size:16px}.self-desk.open{background:#76d69a}.self-desk.printed{background:#ff747f}.self-desk.empty{background:#f4f4f4}
.self-bottom{position:fixed;left:0;right:0;bottom:0;background:rgba(255,255,255,.96);box-shadow:0 -2px 8px rgba(0,0,0,.06);padding:10px 10px calc(12px + env(safe-area-inset-bottom));z-index:30}.self-zones{display:flex;gap:10px;overflow-x:auto;padding-bottom:10px}.self-zones button{min-width:90px;height:42px;border:0;border-radius:8px;background:#f4f4f4;color:#333;font-size:18px}.self-zones button.active{background:#ff8700;color:#fff}.self-legend{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;text-align:center;font-size:16px}.self-legend span{display:flex;flex-direction:column;align-items:center;gap:4px;white-space:nowrap}.self-legend i{width:18px;height:18px;border-radius:50%;background:#eee;display:block}.self-legend span:nth-child(2) i{background:#ff747f}.self-legend span:nth-child(3) i{background:#76d69a}.self-legend span:nth-child(4) i{background:#ffbe74}
@media(max-width:420px){.self-grid{grid-template-columns:repeat(4,1fr);gap:9px}.self-desk{height:86px}.self-desk b{font-size:18px}.self-desk strong{font-size:16px}.self-desk span{font-size:14px}.self-legend{font-size:14px}.self-zones button{min-width:82px}}
@media(max-height:720px){.prod{grid-template-columns:31% 1fr!important;padding-right:52px!important}.pactions{bottom:8px!important}.pactions .qtybtn,.qtybtn{width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;line-height:28px!important}.combo-actions button{width:28px;height:28px;min-width:28px;min-height:28px;line-height:28px}}

/* v30 self-table home flow and idle return */
.redbar{display:grid!important;grid-template-columns:1fr 1fr 48px!important;align-items:center!important;padding:0 10px!important;gap:4px!important}
.redbar .rb-cell,.redbar .rb-home{height:100%;border:0;background:transparent;color:#fff;font:inherit;display:flex;align-items:center;justify-content:center;padding:0;margin:0;min-width:0}
.redbar .rb-time{justify-content:flex-start!important}.redbar .rb-desk{justify-content:center!important;font-weight:800}.redbar .rb-home{justify-content:flex-end!important;font-size:24px;font-weight:900;line-height:1}
.float-home{position:fixed;right:14px;bottom:calc(var(--bottom-h) + env(safe-area-inset-bottom) + 16px);width:48px;height:48px;border:0;border-radius:999px;background:var(--theme);color:#fff;font-size:27px;font-weight:900;z-index:45;box-shadow:0 6px 18px rgba(0,0,0,.22);display:flex;align-items:center;justify-content:center}
.self-grid{padding-bottom:calc(170px + env(safe-area-inset-bottom))!important}
.self-bottom{padding-bottom:calc(16px + env(safe-area-inset-bottom))!important}
@media(max-height:720px){.redbar{grid-template-columns:1fr 1fr 44px!important}.float-home{width:44px;height:44px;font-size:24px}}

/* v31: web-shop filter support UI, centered desk, auto avisos, product detail */
.redbar{grid-template-columns:1fr 1fr 1fr!important;padding:0 12px!important;gap:0!important}
.redbar .rb-time{justify-content:flex-start!important;text-align:left!important}
.redbar .rb-desk{justify-content:center!important;text-align:center!important;font-weight:900!important}
.redbar .rb-home{justify-content:flex-end!important;text-align:right!important}
.pic.detail-pic{border:0;padding:0;width:100%;cursor:pointer}
.prod{align-items:stretch!important}
.pinfo{position:relative!important;padding-bottom:36px!important}
.prod-bottom{position:absolute!important;left:0!important;right:0!important;bottom:0!important;height:34px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;margin:0!important}
.price{font-size:19px!important;font-weight:900!important;line-height:34px!important;text-align:left!important}
.pactions{bottom:8px!important;right:10px!important;z-index:2!important}
.pactions .qtybtn,.qtybtn{border-radius:50%!important;width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;line-height:34px!important;aspect-ratio:1/1!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;padding:0!important}
.pactions .qty{font-size:17px!important;font-weight:700!important;min-width:18px!important;text-align:center!important;line-height:34px!important}
body.card-large .pinfo{padding-bottom:42px!important}
body.card-large .prod-bottom{height:40px!important}body.card-large .price{line-height:40px!important}
.allergen-mask{align-items:center!important;justify-content:center!important;padding:12px!important}
.allergen-panel{width:min(92vw,520px)!important;max-height:86vh!important;border-radius:14px!important;padding:22px 18px 20px!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}
.allergen-panel h2{font-size:25px!important;margin:0 40px 20px!important;line-height:1.15!important}.trash{right:18px!important;top:18px!important;color:var(--theme)!important;width:36px!important;height:36px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important}.trash svg{display:block}.allergen-grid{grid-template-columns:repeat(auto-fill,minmax(58px,1fr))!important;gap:16px 12px!important;overflow:auto!important;margin-bottom:18px!important;padding:2px!important}.allergen{height:58px!important}.allergen span{width:58px!important;height:58px!important}.allergen.on:before{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:58px;height:58px;border-radius:50%;background:rgba(255,255,255,.62);z-index:2}.allergen.on:after{z-index:3;font-size:54px!important;color:#ff3b30!important;text-shadow:none!important}.allergen-panel .primary{width:100%!important;flex:0 0 auto!important}
.ui-dialog{width:min(86vw,430px)!important}.ui-dialog .ui-ok,.ui-dialog>.primary{width:100%!important}.ui-msg{line-height:1.45!important}
.detail-mask{align-items:center!important;justify-content:center!important;padding:14px!important}.detail-modal{width:min(90vw,430px);max-height:88vh;background:#fff;border-radius:16px;position:relative;padding:52px 28px 24px;overflow:auto;box-shadow:0 8px 28px rgba(0,0,0,.25)}.detail-close{position:absolute;right:16px;top:12px;border:0;background:transparent;color:#333;font-size:40px;line-height:40px}.detail-img{height:250px;display:flex;align-items:center;justify-content:center;margin-bottom:14px}.detail-img img{max-width:100%;max-height:100%;object-fit:contain}.detail-img span{font-size:80px;color:#c9ccd6}.detail-allergens{height:34px;text-align:left;margin:0 0 14px}.detail-allergens .aicon{width:30px;height:30px;margin-right:5px;margin-left:0}.detail-main{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:start}.detail-name{font-size:24px;line-height:1.2;text-transform:uppercase}.detail-name2{font-size:19px;color:#999;margin-top:3px}.detail-remark{font-size:18px;color:#999;line-height:1.3;margin-top:4px;white-space:pre-wrap}.detail-price{font-size:34px;line-height:1.2;white-space:nowrap}.detail-bottom{margin-top:28px;display:grid;grid-template-columns:1fr 42px;gap:12px;align-items:center}.detail-bottom input{height:46px;border:1px solid #ddd;border-radius:5px;font-size:20px;padding:0 12px}.detail-add{background:var(--theme)!important;color:#fff!important;border:0!important;font-size:28px!important}
@media(max-height:720px){.detail-img{height:190px}.detail-modal{padding:44px 22px 18px}.detail-name{font-size:21px}.detail-name2,.detail-remark{font-size:16px}.detail-price{font-size:30px}.allergen-panel{max-height:88vh!important}.allergen{height:50px!important}.allergen span,.allergen.on:before{width:50px!important;height:50px!important}.allergen-grid{grid-template-columns:repeat(auto-fill,minmax(50px,1fr))!important;gap:12px 10px!important}}


/* v32 category linked lazy menu */
.left-cats button.active{background:var(--theme)!important;color:#fff!important;font-weight:900!important;}
.prod-area.menu-scroll{scroll-behavior:smooth;}
.category-section{scroll-margin-top:8px;padding-bottom:4px;}
.category-section.empty-section{display:none!important;}
.section-title{font-size:20px;font-weight:900;margin:6px 0 10px;color:#222;line-height:1.2;}
.empty.small{padding:18px 8px;font-size:14px;color:#aaa;}
.opt-full,.combo-full{height:100dvh!important;max-height:100dvh!important;padding-bottom:calc(78px + env(safe-area-inset-bottom))!important;overflow:hidden!important;}
.opt-full-body,.combo-body{height:calc(100dvh - 150px - env(safe-area-inset-bottom))!important;overflow:auto!important;-webkit-overflow-scrolling:touch!important;}
.full-foot.two{position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:80!important;background:#fff!important;padding:10px 12px calc(10px + env(safe-area-inset-bottom))!important;box-shadow:0 -2px 10px rgba(0,0,0,.08)!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important;}
.full-foot.two button{height:50px!important;border-radius:8px!important;font-size:20px!important;font-weight:800!important;}
@supports not (height:100dvh){.opt-full,.combo-full{height:100vh!important;max-height:100vh!important}.opt-full-body,.combo-body{height:calc(100vh - 150px)!important}}

/* v33 category divider + compact left categories */
:root{--cat-active-bg:color-mix(in srgb,var(--theme) 10%,#fff);}
.left-cats{padding-top:4px!important;background:#f3f3f3!important;}
.left-cats button{
  min-height:44px!important;
  padding:8px 8px 8px 12px!important;
  font-size:16px!important;
  line-height:1.18!important;
  border-left:4px solid transparent!important;
  background:transparent!important;
  color:#333!important;
  font-weight:500!important;
}
.left-cats button.active{
  background:rgba(217,4,41,.08)!important;
  color:#111!important;
  font-weight:900!important;
  border-left-color:var(--theme)!important;
}
.prod-area.menu-scroll{padding-top:0!important;}
.category-section{
  position:relative;
  margin:0 0 12px!important;
  padding:0 0 6px!important;
  border-top:1px solid #e8e8e8!important;
}
.category-section:first-child{border-top:0!important;}
.section-title{
  position:relative;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-height:40px!important;
  padding:7px 4px 7px 2px!important;
  margin:0 0 8px!important;
  background:#fff!important;
  font-size:19px!important;
  font-weight:900!important;
  color:#222!important;
}
.section-title:after{
  content:"";
  height:1px;
  background:#eee;
  flex:1;
}
@media(max-height:720px){
  .left-cats button{min-height:38px!important;padding:7px 7px 7px 10px!important;font-size:15px!important;}
  .section-title{min-height:34px!important;font-size:17px!important;padding:6px 4px!important;}
}
@supports not (color:color-mix(in srgb, red 10%, white)){
  .left-cats button.active{background:rgba(217,4,41,.08)!important;}
}


/* v34 final optimization: mobile browser compatibility + smoother menu rendering */
.screen,.home{min-height:100dvh;height:100dvh;overflow:hidden;}
.content{min-height:0;}
.prod-area{-webkit-overflow-scrolling:touch;overscroll-behavior:contain;contain:layout paint style;}
.left-cats{-webkit-overflow-scrolling:touch;overscroll-behavior:contain;}
.prod{content-visibility:auto;contain-intrinsic-size:118px;}
body.card-large .prod{contain-intrinsic-size:170px;}
.modal.full,.combo-modal,.condiment-modal{height:100dvh;max-height:100dvh;padding-bottom:calc(82px + env(safe-area-inset-bottom));box-sizing:border-box;}
.modal-actions,.combo-actions-bottom,.condiment-actions{position:fixed;left:0;right:0;bottom:0;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:rgba(255,255,255,.96);backdrop-filter:blur(10px);z-index:30;}
.modal-actions .ok,.combo-actions-bottom .ok,.condiment-actions .ok,.ui-dialog .primary{background:var(--theme)!important;border-color:var(--theme)!important;color:#fff!important;}
@supports not (height: 100dvh){.screen,.home{height:100vh}.modal.full,.combo-modal,.condiment-modal{height:100vh;max-height:100vh}}


/* v35: slightly taller category buttons, non-sticky section dividers, customer zh/en language switch */
.left-cats button{
  min-height:55px!important;
  padding:10px 8px 10px 12px!important;
}
.section-title{
  position:relative!important;
  top:auto!important;
  z-index:1!important;
  box-shadow:none!important;
}
.lang-select{
  border:0;
  background:rgba(255,255,255,.94);
  border-radius:8px;
  padding:10px 14px;
  font-size:18px;
  color:#333;
  outline:none;
}
@media(max-height:720px){
  .left-cats button{min-height:48px!important;padding:9px 7px 9px 10px!important;}
  .section-title{position:relative!important;top:auto!important;}
}

/* v36 real: three languages + compact scrolling header */
.expand-header{
  flex:0 0 auto;
  max-height:calc(30px + var(--banner-h));
  opacity:1;
  overflow:hidden;
  transition:max-height .22s ease, opacity .18s ease;
  will-change:max-height,opacity;
}
body.menu-compact .expand-header{
  max-height:0!important;
  opacity:0!important;
  pointer-events:none!important;
}
.cat-title.allergen-row{
  height:32px!important;
  flex:0 0 32px!important;
  min-height:32px!important;
  padding:0 8px!important;
  justify-content:flex-end!important;
  border-bottom:1px solid #eee!important;
}
.cat-title.allergen-row .filter{
  font-size:15px!important;
  height:30px!important;
  line-height:30px!important;
  padding:0 3px!important;
  color:#333!important;
}
.order-table-head,.order-total{font-variant-numeric:tabular-nums;}
@media(max-height:720px){
  .expand-header{max-height:calc(26px + var(--banner-h));}
  .cat-title.allergen-row{height:28px!important;flex-basis:28px!important;min-height:28px!important;}
  .cat-title.allergen-row .filter{font-size:14px!important;height:26px!important;line-height:26px!important;}
}


/* v37: header spacing and direct category jump */
.expand-header{
  max-height:calc(34px + var(--banner-h) + 10px)!important;
}
body.menu-compact .expand-header{
  max-height:0!important;
}
.prod-area.menu-scroll{
  scroll-behavior:auto!important;
}
.category-section{
  scroll-margin-top:0!important;
}
.section-title{
  margin-top:0!important;
}
@media(max-height:720px){
  .expand-header{max-height:calc(30px + var(--banner-h) + 8px)!important;}
}

/* v42 flat icons / no photo / server cart */
.svgico{width:22px;height:22px;display:inline-block;vertical-align:-5px;fill:currentColor}
.rb-desk .svgico{width:19px;height:19px;vertical-align:-4px}
.navico .svgico{width:24px;height:24px;vertical-align:-6px}
.no-photo{width:100%;height:100%;min-height:52px;display:flex;align-items:center;justify-content:center;text-align:center;background:#f1f2f4;color:#9ca3af;border-radius:12px;font-weight:800;font-size:12px;line-height:1.05;letter-spacing:.5px}
.pic .no-photo,.detail-img .no-photo{height:100%}
.delete-line{width:30px;height:30px;border:0;border-radius:50%;background:#f1f2f4;color:#555;font-size:16px;margin-right:5px}
.cart-line.combo-child{margin-left:18px;opacity:.92;background:#fafafa}
.cart-line.combo-child .pic{transform:scale(.86)}


/* v42 fix4: unify bottom nav icon sizes and improve flat icons */
.bottom{align-items:stretch!important;}
.tab{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  padding:6px 4px calc(6px + env(safe-area-inset-bottom) * 0)!important;
  line-height:1.05!important;
  overflow:hidden!important;
}
.tab br{display:none!important;}
.navico{
  width:24px!important;
  height:24px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 24px!important;
  color:currentColor!important;
}
.navico svg,.flat-icon svg,.no-photo svg{
  width:100%!important;
  height:100%!important;
  display:block!important;
}
.tab .b{
  position:absolute!important;
  top:6px!important;
  right:18px!important;
  min-width:18px!important;
  height:18px!important;
  padding:0 5px!important;
  border-radius:999px!important;
  font-size:11px!important;
  line-height:18px!important;
}
.top-notice{gap:8px!important;}
.notice-ico{
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  color:var(--theme)!important;
}
.flat-icon{
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  color:currentColor!important;
}
.rb-cell .flat-icon{color:inherit!important;}
.no-photo{
  display:flex!important;
  width:100%!important;
  height:100%!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  color:#b7bcc7!important;
}
.no-photo em{
  font-style:normal!important;
  font-size:10px!important;
  font-weight:700!important;
  letter-spacing:.6px!important;
}
.no-photo svg{width:26px!important;height:26px!important;}
@media(max-height:720px){
  .tab{gap:3px!important;font-size:13px!important;}
  .navico{width:22px!important;height:22px!important;flex-basis:22px!important;}
  .tab .b{right:14px!important;top:4px!important;}
}


/* v42 fix5: add-to-cart click feedback */
.qtybtn.busy,.qtybtn:disabled{opacity:.55!important;pointer-events:none!important;}
.qtybtn.busy{transform:scale(.94)!important;}


/* v42 fix7: busy states for cart operations */
.qtybtn.busy,.circle.busy,.detail-add.busy,.send-btn.busy,.send-btn:disabled,.tab:disabled{opacity:.55!important;pointer-events:none!important;}
.send-btn.busy{filter:grayscale(.15);}

/* v42 fix8: cart/order compact header, cart qty/note controls */
.cart-actions>div{
  gap:7px!important;
  flex-wrap:nowrap!important;
}
.cart-actions .circle,
.cart-actions .qty-value{
  width:30px!important;
  height:30px!important;
  border-radius:50%!important;
  border:0!important;
  background:var(--theme)!important;
  color:#fff!important;
  font-size:19px!important;
  line-height:30px!important;
  text-align:center!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  font-weight:800!important;
}
.cart-actions .qty-value{
  min-width:34px!important;
  width:auto!important;
  padding:0 9px!important;
  border-radius:999px!important;
  font-size:15px!important;
}
.edit-line,.delete-line{
  width:30px!important;
  height:30px!important;
  border:0!important;
  border-radius:50%!important;
  background:#f1f2f4!important;
  color:#555!important;
  font-size:16px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  margin:0!important;
}
.edit-line{color:var(--theme)!important;background:rgba(217,4,41,.08)!important;}
.remark-line{color:#555!important;}
.ui-number{
  width:100%!important;
  height:48px!important;
  border:1px solid #ddd!important;
  border-radius:8px!important;
  padding:0 12px!important;
  font-size:22px!important;
  text-align:center!important;
  outline:none!important;
  margin:8px 0 14px!important;
}
@media(max-height:720px){
  .cart-actions .circle,.cart-actions .qty-value,.edit-line,.delete-line{height:28px!important;min-width:28px!important;font-size:17px!important;line-height:28px!important;}
  .cart-actions .qty-value{font-size:14px!important;padding:0 8px!important;}
}

/* v42 fix10: pay choice cancel uses theme color */
.pay-choice + .pay-cancel,.pay-cancel{background:var(--theme)!important;color:#fff!important;border:0!important;margin-top:12px!important;width:100%!important;height:44px!important;border-radius:8px!important;font-size:18px!important;font-weight:800!important;}

/* v43 domicilio personal center / checkout */
.bottom.dom-bottom{grid-template-columns:repeat(3,1fr)!important;}
.domicilio-login{padding-top:34px!important;}
.domicilio-login .dom-email-input{margin-top:22px!important;margin-bottom:18px!important;}
.domicilio-login .dom-send-mail{margin-top:12px!important;}
.domicilio-checkout{width:min(94vw,520px)!important;text-align:left!important;max-height:88vh;overflow:auto;}
.domicilio-checkout h3{text-align:center!important;}
.dom-type{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:8px 0 12px;}
.dom-type button{height:48px;border-radius:12px;border:1px solid #ddd;background:#fff;font-size:18px;font-weight:900;color:#222;}
.dom-type button.on{background:var(--theme);border-color:var(--theme);color:#fff;}
.dom-address-list{display:grid;gap:10px;margin:8px 0 10px;}
.dom-card{width:100%;border:1px solid #e5e7eb;border-radius:14px;background:#fff;padding:12px 14px;text-align:left;display:grid;grid-template-columns:70px 1fr auto;gap:8px;align-items:center;font-size:15px;color:#222;}
.dom-card.on{border-color:var(--theme);box-shadow:0 0 0 2px rgba(217,4,41,.12);}
.dom-card b{font-size:17px;}
.dom-card span{word-break:break-word;}
.dom-card em{font-style:normal;color:var(--theme);font-weight:900;}
.dom-card.static{pointer-events:none;margin-bottom:8px;}
.dom-add-address,.pc-btn{width:100%;height:50px;border:0;border-radius:12px;background:#f3f4f6;color:#111;font-size:18px;font-weight:900;margin:8px 0;}
.dom-total{text-align:right;font-size:20px;font-weight:800;margin:12px 0;}
.personal-center{flex:1;overflow:auto;padding:18px 18px calc(var(--bottom-h) + 24px);background:#fff;}
.personal-center h2{text-align:center;margin:8px 0 18px;font-size:26px;}
.pc-info{background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;padding:14px;text-align:center;margin-bottom:12px;font-size:16px;line-height:1.6;}
.pc-btn{background:#fff;border:1px solid #e5e7eb;box-shadow:0 1px 3px rgba(0,0,0,.04);}
.pc-btn.danger{color:#d90429;}
.pc-list{margin:8px 0 12px;}
@media(max-width:380px){.dom-card{grid-template-columns:62px 1fr auto;font-size:14px;padding:10px}.personal-center{padding-left:12px;padding-right:12px}}
.addr-row{position:relative;padding-right:56px!important}
.addr-del{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:36px;height:36px;border:0;border-radius:18px;background:#fff1f1;font-size:18px}
/* v48 domicilio fixes */
.domicilio-bar{grid-template-columns:1fr 48px!important;}
.domicilio-bar .rb-time{justify-content:flex-start!important;text-align:left!important;}
.domicilio-bar .rb-home{justify-content:flex-end!important;text-align:right!important;}
.dom-card.addr-row{pointer-events:auto;position:relative;padding-right:54px;}
.dom-card.addr-row .addr-del{pointer-events:auto;z-index:2;}

/* v49 Domicilio order list: fixed 5 columns */
.dom-order-table-head{grid-template-columns:1.55fr .75fr .75fr .75fr!important;height:42px!important;padding:0 8px!important;font-size:14px!important;}
.dom-order-row{width:100%;border:0;border-bottom:1px solid #eee;background:#fff;display:grid;grid-template-columns:1.55fr .75fr .75fr .75fr;align-items:center;min-height:58px;padding:7px 8px;font-size:13px;text-align:center;color:#222;}
.dom-order-row>div{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 2px;}
.dom-col-no{text-align:left!important;line-height:1.25;}
.dom-col-no strong{display:block;font-size:13px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.dom-col-no span{display:block;font-size:11px;color:#777;white-space:normal;overflow:visible;text-overflow:clip;}
.dom-col-no{font-weight:800;}
.dom-col-money{font-weight:800;}
.dom-col-status{color:#666;}
@media(max-width:380px){.dom-order-table-head{font-size:13px!important;grid-template-columns:1.6fr .7fr .72fr .72fr!important}.dom-order-row{font-size:12px;grid-template-columns:1.6fr .7fr .72fr .72fr;min-height:58px;padding-left:5px;padding-right:5px}.dom-col-no strong{font-size:12px}.dom-col-no span{font-size:10.5px}}

/* v53 cart speed/layout tweaks */
.cart-scroll{padding-bottom:calc(var(--bottom-h) + 76px + env(safe-area-inset-bottom))!important}
.cart-send-row{height:58px;display:grid;grid-template-columns:1fr 1fr 96px;align-items:center;gap:6px;text-align:left;padding:7px 10px;font-size:17px;font-weight:800}
.cart-send-row .send-btn{width:96px;height:44px;font-size:19px;border-radius:22px}
.cart-foot-qty,.cart-foot-amount{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}
.cart-actions>div{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:nowrap}
.cart-actions .circle,.cart-actions .qty-value{width:34px;height:34px;border-radius:50%;border:1px solid #cfcfcf;background:#fff;color:#222;display:inline-flex;align-items:center;justify-content:center;font-size:20px;line-height:32px;padding:0;box-shadow:none}
.cart-actions .qty-value{font-size:16px;font-weight:800;color:#333}
.cart-actions .plus,.cart-actions .minus{color:var(--theme);font-weight:800;background:#fff!important}
.cart-actions .edit-line,.cart-actions .delete-line{width:30px;height:30px;border:0;background:transparent;font-size:18px;padding:0}
.cart-head{display:none!important}

/* v55 cart action buttons visible fix */
.cart-line{
  grid-template-columns:64px minmax(0,1fr) 116px!important;
  gap:8px!important;
  align-items:center!important;
  padding:11px 10px!important;
}
.cart-line .pic{width:64px!important;height:58px!important;min-width:64px!important;}
.cart-info{min-width:0!important;overflow:hidden!important;}
.cart-actions{
  min-width:112px!important;
  width:112px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  justify-content:center!important;
  gap:6px!important;
  overflow:visible!important;
}
.cart-actions .cart-tool-row,
.cart-actions .cart-qty-row{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:6px!important;
  flex-wrap:nowrap!important;
  width:100%!important;
}
.cart-actions .cart-tool-row{height:26px!important;}
.cart-actions .cart-qty-row{height:34px!important;}
.cart-actions .circle,
.cart-actions .qty-value{
  width:32px!important;
  min-width:32px!important;
  height:32px!important;
  border-radius:50%!important;
  border:1.5px solid var(--theme)!important;
  background:#fff!important;
  color:var(--theme)!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:20px!important;
  line-height:30px!important;
  padding:0!important;
  box-shadow:none!important;
  flex:0 0 32px!important;
}
.cart-actions .qty-value{
  color:#222!important;
  border-color:#d5d5d5!important;
  font-size:15px!important;
  font-weight:900!important;
}
.cart-actions .edit-line,
.cart-actions .delete-line{
  width:26px!important;
  min-width:26px!important;
  height:26px!important;
  border:0!important;
  border-radius:50%!important;
  background:#fff4f6!important;
  color:var(--theme)!important;
  font-size:15px!important;
  line-height:26px!important;
  padding:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 26px!important;
}
@media(max-width:380px){
  .cart-line{grid-template-columns:58px minmax(0,1fr) 104px!important;padding-left:8px!important;padding-right:8px!important;gap:7px!important;}
  .cart-line .pic{width:58px!important;height:54px!important;min-width:58px!important;}
  .cart-actions{width:104px!important;min-width:104px!important;}
  .cart-actions .circle,.cart-actions .qty-value{width:30px!important;min-width:30px!important;height:30px!important;flex-basis:30px!important;font-size:18px!important;}
  .cart-actions .cart-qty-row{gap:5px!important;}
  .cart-actions .edit-line,.cart-actions .delete-line{width:24px!important;min-width:24px!important;height:24px!important;flex-basis:24px!important;font-size:14px!important;}
}

/* v56 cart footer fixed three sections */
.cart-send-row{
  height:60px!important;
  display:grid!important;
  grid-template-columns:32% 36% 32%!important;
  align-items:center!important;
  column-gap:0!important;
  padding:7px 10px!important;
  text-align:center!important;
  font-size:17px!important;
  font-weight:900!important;
}
.cart-send-row .cart-foot-qty,
.cart-send-row .cart-foot-amount{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  height:100%!important;
  min-width:0!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  padding:0 4px!important;
}
.cart-send-row .send-btn{
  width:100%!important;
  max-width:132px!important;
  justify-self:end!important;
  height:46px!important;
  border-radius:23px!important;
  font-size:20px!important;
  padding:0 8px!important;
}
@media(max-width:380px){
  .cart-send-row{grid-template-columns:30% 38% 32%!important;font-size:15px!important;padding-left:8px!important;padding-right:8px!important;}
  .cart-send-row .send-btn{height:44px!important;font-size:18px!important;max-width:116px!important;}
}

/* v59 数量弹窗虚拟数字键盘 + 菜品卡片数量可点击 */
.pactions .qty-edit{
  border:0!important;background:transparent!important;color:#222!important;
  font-size:17px!important;font-weight:800!important;min-width:22px!important;height:34px!important;
  line-height:34px!important;padding:0 2px!important;text-align:center!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
}
.qty-dialog{width:min(88vw,360px)!important;padding-bottom:18px!important;}
.qty-dialog .vk-display{height:48px!important;text-align:center!important;font-size:28px!important;font-weight:800!important;background:#f7f7f7!important;caret-color:transparent!important;}
.vk-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:12px 0 14px;}
.vk-grid button{height:48px;border:1px solid #ddd;border-radius:12px;background:#fff;font-size:24px;font-weight:800;color:#222;}
.vk-grid button:active{background:#f1f1f1;transform:scale(.98);}
@media(max-height:720px){.qty-dialog .vk-display{height:42px!important;font-size:24px!important}.vk-grid{gap:8px;margin:10px 0}.vk-grid button{height:42px;font-size:22px}}


/* v61: 菜品卡片数量无底色，只显示数字 */
.pactions .qty,
.pactions button.qty{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  color:#222!important;
  padding:0 2px!important;
  min-width:18px!important;
  height:34px!important;
  line-height:34px!important;
  font-size:17px!important;
  font-weight:800!important;
  text-align:center!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  appearance:none!important;
  -webkit-appearance:none!important;
}
.pactions .qty:active,
.pactions button.qty:active{background:transparent!important;transform:none!important;}
@media(max-height:720px){.pactions .qty,.pactions button.qty{height:28px!important;line-height:28px!important;font-size:16px!important;}}

/* v62: cart footer stats left + clear cart + send, unified trash icon */
.cart-send-row{
  height:60px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 54px 108px!important;
  align-items:center!important;
  column-gap:8px!important;
  padding:7px 10px!important;
  text-align:left!important;
  font-size:17px!important;
  font-weight:900!important;
}
.cart-foot-stats{
  min-width:0!important;
  height:100%!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-start!important;
  line-height:1.25!important;
  overflow:hidden!important;
}
.cart-send-row .cart-foot-qty,
.cart-send-row .cart-foot-amount{
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-width:0!important;
  text-align:left!important;
  justify-content:flex-start!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  padding:0!important;
}
.cart-clear-btn{
  width:48px!important;
  height:48px!important;
  border:0!important;
  border-radius:50%!important;
  background:#fff4f6!important;
  color:var(--theme)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  justify-self:center!important;
}
.cart-clear-btn svg,
.delete-line svg{display:block!important;width:22px!important;height:22px!important;}
.cart-send-row .send-btn{
  width:108px!important;
  max-width:108px!important;
  justify-self:end!important;
  height:46px!important;
  border-radius:23px!important;
  font-size:20px!important;
  padding:0 8px!important;
}
.cart-actions .delete-line{
  background:#fff4f6!important;
  color:var(--theme)!important;
}
@media(max-width:380px){
  .cart-send-row{grid-template-columns:minmax(0,1fr) 48px 96px!important;font-size:15px!important;column-gap:6px!important;padding-left:8px!important;padding-right:8px!important;}
  .cart-clear-btn{width:44px!important;height:44px!important;}
  .cart-send-row .send-btn{width:96px!important;max-width:96px!important;height:44px!important;font-size:18px!important;}
}

/* QR sold-out */
.prod{position:relative}.soldout-mark{position:absolute;left:0;top:0;z-index:6;min-width:54px;max-width:78px;padding:5px 7px;border-radius:8px 0 8px 0;color:#fff;font-size:12px;font-weight:800;text-align:center;line-height:1.1;pointer-events:none}.soldout-stop{background:#ff3b30}.soldout-left{background:var(--theme)}
