.qr-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.qr-product-extras{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px}.qr-calorie,.qr-like{border:1px solid rgba(245,230,200,.25);border-radius:20px;padding:5px 10px;font:600 11px Montserrat,Arial,sans-serif;color:var(--brand-cream,#f5e6c8);background:rgba(245,230,200,.06)}.qr-like{cursor:pointer;min-height:32px}.qr-like.is-liked{color:#ff7180;border-color:#e11d2e}.qr-like:disabled{cursor:default}.qr-product-order{display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin:12px 0 8px}.qr-size{max-width:100%;min-width:0;flex:1;padding:9px;border-radius:8px;border:1px solid #5a4242;background:#151111;color:#fff8eb;font-size:12px}.qr-add{border:0;border-radius:8px;background:var(--primary,#e11d2e);color:#fff;padding:10px 13px;font:600 12px Montserrat,Arial,sans-serif;cursor:pointer;min-height:38px}.menu-item-content{min-width:0}.qr-cart-fab{position:fixed;right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:10000;border:1px solid rgba(255,255,255,.3);background:var(--primary,#e11d2e);color:#fff;box-shadow:0 8px 28px #0006;border-radius:50px;padding:12px 16px;display:flex;align-items:center;gap:9px;font:600 14px Montserrat,Arial,sans-serif;cursor:pointer}.qr-cart-fab b{background:#fff;color:#9b1420;border-radius:20px;padding:3px 7px;font-size:12px}.qr-cart-overlay[hidden],.qr-order-form [hidden]{display:none!important}.qr-cart-overlay{position:fixed;inset:0;z-index:10050;background:#0009;display:flex;justify-content:flex-end;overscroll-behavior:contain}.qr-cart-dialog{box-sizing:border-box;width:min(480px,100%);height:100%;height:100dvh;overflow-y:auto;background:#fffaf2;color:#1b1720;box-shadow:-8px 0 40px #0004;font:14px Montserrat,Arial,sans-serif;padding-bottom:env(safe-area-inset-bottom,0px)}.qr-cart-dialog *{box-sizing:border-box}.qr-cart-dialog header{position:sticky;top:0;background:#fffaf2;z-index:1;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ddd2c6;padding:18px}.qr-cart-dialog h2{font:700 21px Montserrat,Arial,sans-serif;margin:0}.qr-cart-dialog header button{border:0;background:transparent;font-size:28px;color:#333;cursor:pointer;min-width:40px;min-height:40px}.qr-cart-items{padding:0 18px}.qr-cart-line{display:grid;grid-template-columns:56px minmax(0,1fr);gap:10px;padding:16px 0;border-bottom:1px solid #e0d8cf}.qr-cart-line img{width:56px;height:56px;object-fit:cover;border-radius:8px}.qr-cart-line b{overflow-wrap:anywhere;font-size:13px}.qr-cart-meta{font-size:12px;color:#6c6660;margin:5px 0}.qr-cart-actions{display:flex;gap:10px;align-items:center}.qr-cart-actions button{border:1px solid #dbd0c3;background:#fff;border-radius:6px;padding:6px 10px;cursor:pointer;min-height:32px;color:#2d2723}.qr-cart-actions button:last-child{color:#b21e30}.qr-order-form{padding:18px}.qr-order-form label{font-weight:600;display:block;margin:12px 0 6px}.qr-order-form input:not([type=radio]),.qr-order-form textarea,.qr-order-form select{display:block;width:100%;border:1px solid #c9bdb1;border-radius:9px;background:#fff;color:#221b1a;padding:11px;font:16px Arial,sans-serif}.qr-order-form textarea{min-height:70px;resize:vertical}.qr-order-form input:focus,.qr-order-form textarea:focus,.qr-order-form select:focus{outline:2px solid #e11d2e;outline-offset:1px}.qr-order-form .qr-invalid{border-color:#c00!important}.qr-fulfillment{border:1px solid #d8cbbb;border-radius:9px;padding:10px;display:flex;gap:14px;flex-wrap:wrap}.qr-fulfillment legend{font-weight:700;font-size:12px}.qr-fulfillment label{margin:4px 0;font-size:13px}.qr-help{font-size:11px;line-height:1.6;color:#6b6056}.qr-total{display:flex;justify-content:space-between;gap:10px;margin:22px 0;font-size:19px}.qr-submit{width:100%;border:0;border-radius:10px;background:var(--primary,#e11d2e);padding:14px;color:#fff;cursor:pointer;font-weight:700;font-size:14px;line-height:1.5}.qr-submit:disabled{opacity:.6;cursor:wait}#qr-message{margin-top:12px;font-size:13px;line-height:1.6;color:#b11d2d;overflow-wrap:anywhere}#qr-message a{color:#11643b;text-decoration:underline;font-weight:700}.qr-empty{padding:24px 0;text-align:center;color:#777}.qr-cart-thumb-placeholder{height:56px;background:#eee3d4;border-radius:8px;display:grid;place-items:center}.qr-ui-message{color:#f5e6c8;font-size:12px;margin:5px 0}@media(max-width:400px){.qr-cart-fab{right:10px;padding:10px 13px;font-size:12px}.qr-size{flex-basis:100%}.qr-add{width:100%}.qr-order-form,.qr-cart-items{padding-left:14px;padding-right:14px}}body.qr-cart-is-open{overflow:hidden}

/* Layout revision 3: heading badges stay beside the title; checkout spans the card bottom. */
.menu-item.qr-product-card{display:grid;grid-template-columns:104px minmax(0,1fr);grid-template-rows:1fr auto;align-items:stretch;align-content:stretch}
.qr-product-card>.menu-item-img-wrap{grid-column:1;grid-row:1;align-self:start}
.qr-product-card>.menu-item-content{grid-column:2;grid-row:1;min-width:0;gap:10px;justify-content:flex-start}
.qr-product-heading{display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:center;gap:8px;margin:0 0 7px;text-align:start}
.qr-product-heading>.menu-item-title{min-width:0;margin:0;font-size:clamp(19px,2.2vw,28px);line-height:1.1;overflow-wrap:anywhere}
.qr-product-heading>.qr-product-extras{display:flex;flex-wrap:nowrap;align-items:center;gap:5px;margin:0}
.qr-product-heading .qr-calorie,.qr-product-heading .qr-like{padding:4px 6px;font-size:10px;white-space:nowrap;line-height:1.2}
.qr-product-heading .qr-like{min-height:28px}
.qr-product-card .menu-item-content>.menu-item-footer{margin-top:auto;padding-top:0}
.qr-product-card>.qr-card-order-footer{grid-column:1/-1;grid-row:2;display:flex;flex-wrap:nowrap;align-items:center;gap:10px;width:100%;margin:0;padding:12px;border-top:1px solid rgba(245,230,200,.15);background:rgba(0,0,0,.16);align-self:end}
.qr-card-order-footer>.qr-size{flex:1 1 0;max-width:100%;min-width:0;min-height:40px}
.qr-card-order-footer>.qr-size[hidden]{display:none!important}
.qr-card-order-footer>.qr-add{flex:0 0 auto;min-height:40px;margin-left:auto}
.menu-items.is-grid .qr-product-card{grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr auto;align-items:stretch;text-align:start}
.menu-items.is-grid .qr-product-card>.menu-item-img-wrap{grid-column:1;grid-row:1}
.menu-items.is-grid .qr-product-card>.menu-item-content{grid-column:1;grid-row:2;width:100%;padding:10px 14px 14px}
.menu-items.is-grid .qr-product-card>.qr-card-order-footer{grid-column:1;grid-row:3}
.menu-items.is-grid .qr-product-card>.qr-card-order-footer .qr-add{flex:1 1 auto}
@media(max-width:640px){
 .menu-item.qr-product-card{grid-template-columns:82px minmax(0,1fr)}
 .qr-product-card>.menu-item-img-wrap{padding:12px 0 12px 10px}
 .qr-product-card>.menu-item-img-wrap img{width:72px;height:72px}
 .qr-product-card>.menu-item-content{padding:12px 10px}
 .qr-product-heading{gap:6px}
 .qr-product-heading>.menu-item-title{font-size:22px}
 .qr-product-heading .qr-calorie,.qr-product-heading .qr-like{font-size:9px;padding:4px 5px}
 .menu-items.is-grid .qr-product-heading>.qr-product-extras{flex-direction:column;gap:4px}
 .menu-items.is-grid .qr-product-heading>.menu-item-title{font-size:20px}
 .menu-items.is-grid .qr-product-card>.menu-item-img-wrap img{width:100%;height:auto}
 .menu-items.is-grid .qr-product-card>.qr-card-order-footer{flex-wrap:wrap;gap:8px;padding:10px}
 .menu-items.is-grid .qr-card-order-footer>.qr-size,.menu-items.is-grid .qr-card-order-footer>.qr-add{flex:1 1 100%;width:100%}
}
@media(max-width:400px){
 .qr-card-order-footer>.qr-size{flex:1 1 0;width:auto;font-size:11px;padding:8px 6px}
 .qr-card-order-footer>.qr-add{width:auto;font-size:11px;padding:10px}
}

/* Keep narrow grid cards readable while preserving the title/badge side-by-side layout. */
@media(max-width:480px){
 .menu-items.is-grid{grid-template-columns:minmax(0,1fr)}
 .menu-items.is-grid .qr-product-heading>.qr-product-extras{flex-direction:row}
 .menu-items.is-grid .qr-product-heading>.menu-item-title{font-size:24px}
}
@media(max-width:360px){
 .qr-product-heading>.qr-product-extras{flex-direction:column;align-items:center;gap:4px}
 .qr-product-heading>.menu-item-title{font-size:20px}
 .menu-items.is-grid .qr-product-heading>.qr-product-extras{flex-direction:row}
}
body{padding-bottom:calc(82px + env(safe-area-inset-bottom,0px))}

@media(max-width:360px){
 .menu-items.is-grid .qr-product-heading>.qr-product-extras{flex-direction:column}
 .menu-items.is-grid .qr-product-heading>.menu-item-title{font-size:22px}
}
