/* ════════════════════════════════════════════════════
   LocalBazar Food Delivery v3.0.8 — food-delivery.css
   Zomato-inspired, mobile-first, LocalBazar-branded
   ════════════════════════════════════════════════════ */
:root {
  --red:     #e23744;
  --red-dk:  #c0293a;
  --red-lt:  #fef2f2;
  --grn:     #3d9970;
  --grn-lt:  #e8f5ee;
  --bg:      #f5f5f6;
  --white:   #ffffff;
  --txt:     #282c3f;
  --muted:   #93959f;
  --border:  #e9e9eb;
  --shadow:  0 2px 8px rgba(40,44,63,.09);
  --shadow2: 0 4px 18px rgba(40,44,63,.13);
  --r:       12px;
  --rs:      8px;
  --font:    'Segoe UI',system-ui,-apple-system,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
img{display:block;max-width:100%}
a{text-decoration:none;color:inherit}
button{font-family:var(--font);cursor:pointer}
body.lb-food-body{font-family:var(--font);background:var(--bg);color:var(--txt);min-height:100vh}

/* ── Header ── */
.lb-header{background:var(--white);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:300;box-shadow:var(--shadow)}
.lb-header-inner{max-width:1320px;margin:0 auto;padding:0 16px;height:58px;display:flex;align-items:center;gap:14px}
.lb-logo-img{height:32px;width:auto}
.lb-logo-text{font-size:20px;font-weight:800;color:var(--red)}
.lb-header-nav{display:flex;align-items:center;gap:2px;margin-left:auto}
.lb-nav-link{padding:7px 13px;border-radius:var(--rs);font-size:14px;font-weight:500;color:var(--txt);transition:all .15s}
.lb-nav-link:hover,.lb-nav-link.active{color:var(--red);background:var(--red-lt)}
.lb-nav-user{font-size:13px;color:var(--muted);padding:7px 12px}
.lb-nav-login{padding:7px 16px;border-radius:var(--rs);border:1.5px solid var(--red);color:var(--red);font-size:14px;font-weight:600;background:none;transition:all .15s}
.lb-nav-login:hover{background:var(--red);color:#fff}
.lb-cart-btn{background:var(--red);color:#fff;border:none;border-radius:24px;padding:8px 18px 8px 14px;font-size:14px;font-weight:700;display:inline-flex;align-items:center;gap:8px;position:relative;transition:background .15s,transform .1s;box-shadow:0 2px 8px rgba(226,55,68,.3);cursor:pointer}
.lb-cart-btn:hover{background:var(--red-dk);transform:translateY(-1px)}
.lb-cart-btn:active{transform:translateY(0)}
.lb-cart-icon{flex-shrink:0}
.lb-cart-label{font-size:14px;font-weight:700;line-height:1}
.lb-cart-badge{display:none;position:absolute;top:-6px;right:-6px;background:#fff;color:var(--red);font-size:11px;font-weight:800;min-width:20px;height:20px;border-radius:10px;align-items:center;justify-content:center;padding:0 5px;line-height:1;box-shadow:0 1px 4px rgba(0,0,0,.2);border:2px solid var(--red)}
.lb-cart-badge.show{display:inline-flex}

/* ── Hero ── */
.lb-hero{background:linear-gradient(135deg,var(--red) 0%,#8b1c2a 100%);padding:28px 16px}
.lb-hero-dark{background:linear-gradient(135deg,#1c1c2e 0%,var(--red) 100%)}
.lb-hero-inner{max-width:640px;margin:0 auto;text-align:center;color:#fff}
.lb-hero-inner h1{font-size:clamp(20px,4vw,34px);font-weight:800;margin-bottom:8px}
.lb-hero-inner p{font-size:15px;opacity:.88;margin-bottom:18px}
.lb-search-box{display:flex;align-items:center;gap:10px;background:rgba(255,255,255,.15);border:1.5px solid rgba(255,255,255,.3);border-radius:10px;padding:0 14px;height:46px;backdrop-filter:blur(4px);transition:background .2s}
.lb-search-box:focus-within{background:rgba(255,255,255,.22)}
.lb-search-box svg{color:rgba(255,255,255,.75);flex-shrink:0}
.lb-search-box input{flex:1;border:none;background:transparent;color:#fff;font-size:15px;outline:none;font-family:var(--font)}
.lb-search-box input::placeholder{color:rgba(255,255,255,.6)}
.lb-search-clear{background:none;border:none;color:rgba(255,255,255,.7);font-size:16px;padding:0 4px}

/* ── 3-col layout ── */
.lb-layout{max-width:1320px;margin:0 auto;padding:20px 16px 60px;display:grid;grid-template-columns:200px 1fr 294px;gap:20px;align-items:start}
.lb-layout-nosidebar{grid-template-columns:1fr 320px;max-width:1100px}
.lb-cat-chips{display:flex;gap:8px;overflow-x:auto;padding:0 0 14px;margin-bottom:4px;-webkit-overflow-scrolling:touch}
.lb-cat-chips::-webkit-scrollbar{height:0}
.lb-cat-chip{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1.5px solid var(--border);border-radius:20px;padding:7px 16px;font-size:13.5px;font-weight:600;color:var(--txt);cursor:pointer;white-space:nowrap;flex-shrink:0;transition:all .15s;font-family:var(--font)}
.lb-cat-chip:hover{border-color:#bbb}
.lb-cat-chip.active{border-color:var(--red);background:var(--red);color:#fff}
.lb-cat-chip-num{font-size:11px;font-weight:700;opacity:.7}
.lb-layout-resto{padding-top:0}
.lb-page-wrap{max-width:1320px;margin:0 auto;padding:20px 16px 60px}
.lb-pb{padding-bottom:80px}

/* ── Sidebar ── */
.lb-sidebar{background:var(--white);border-radius:var(--r);box-shadow:var(--shadow);overflow:hidden}
.lb-sidebar-inner{position:sticky;top:74px;max-height:calc(100vh - 90px);overflow-y:auto}
.lb-sidebar-label{padding:12px 14px;font-size:11px;font-weight:700;letter-spacing:1.2px;color:var(--muted);border-bottom:1px solid var(--border)}
.lb-cat-list{list-style:none}
.lb-cat-item{display:flex;align-items:center;gap:10px;padding:11px 14px;cursor:pointer;font-size:13.5px;font-weight:500;border-left:3px solid transparent;border-bottom:1px solid #f8f8f8;transition:all .15s;user-select:none}
.lb-cat-item:hover{background:#fafafa;color:var(--red)}
.lb-cat-item.active{background:var(--red-lt);color:var(--red);border-left-color:var(--red);font-weight:700}
.lb-cat-icon{font-size:18px;flex-shrink:0}
.lb-cat-thumb{width:30px;height:30px;border-radius:50%;object-fit:cover;flex-shrink:0}
.lb-cat-name{flex:1}
.lb-cat-num{font-size:11px;background:var(--bg);color:var(--muted);padding:2px 6px;border-radius:8px}

/* ── Main area ── */
.lb-main{min-width:0}
.lb-main-bar{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;gap:8px;flex-wrap:wrap}
.lb-main-bar h2{font-size:18px;font-weight:700}
.lb-resto-link,.lb-prod-count{font-size:13px;color:var(--muted)}
.lb-resto-link{color:var(--red);font-weight:600}

/* ── Product ROW (Zomato-style) ── */
.lb-product-list{display:flex;flex-direction:column}
.lb-prod-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 0;border-bottom:1px solid var(--border);animation:lb-in .2s ease both}
@keyframes lb-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.lb-prod-left{flex:1;min-width:0;display:flex;gap:10px;padding-right:4px}
.lb-prod-right{flex-shrink:0}

/* Veg / non-veg indicator */
.lb-veg{width:16px;height:16px;border-radius:3px;border:2px solid;flex-shrink:0;margin-top:3px;position:relative}
.lb-veg-g{border-color:var(--grn)}
.lb-veg-g::after{content:'';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:7px;height:7px;background:var(--grn);border-radius:50%}
.lb-veg-r{border-color:var(--red)}
.lb-veg-r::after{content:'';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:7px;height:7px;background:var(--red);border-radius:50%}
.lb-veg-none{display:none}
.lb-veg-filter{display:flex;gap:8px;margin-bottom:14px;flex-wrap:wrap}
.lb-veg-chip{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1.5px solid var(--border);border-radius:20px;padding:6px 16px;font-size:13px;font-weight:600;color:var(--txt);cursor:pointer;transition:all .15s}
.lb-veg-chip:hover{border-color:#bbb}
.lb-veg-chip.active{border-color:var(--txt);background:var(--txt);color:#fff}
.lb-veg-chip-veg.active{border-color:var(--grn);background:var(--grn);color:#fff}
.lb-veg-chip-nonveg.active{border-color:var(--red);background:var(--red);color:#fff}
.lb-veg-chip .lb-veg{width:14px;height:14px;margin-top:0}
.lb-veg-chip.active .lb-veg{border-color:#fff}
.lb-veg-chip.active .lb-veg::after{background:#fff}

.lb-prod-meta{flex:1;min-width:0}
.lb-prod-name{font-size:15px;font-weight:600;margin-bottom:5px;line-height:1.3;color:var(--txt)}
.lb-prod-prices{display:flex;align-items:center;gap:8px;margin-bottom:5px}
.lb-cur-price,.lb-old-price,.lb-disc-price{font-size:14px}
.lb-cur-price{font-weight:700}
.lb-old-price{color:var(--muted);text-decoration:line-through;font-weight:400}
.lb-disc-price{background:var(--red);color:#fff;padding:2px 8px;border-radius:5px;font-weight:700}
.lb-prod-desc{font-size:12.5px;color:var(--muted);line-height:1.5;margin-top:2px}

/* Image box */
.lb-prod-img-box{width:130px;position:relative;border-radius:var(--rs);overflow:hidden;background:#f0f0f0}
.lb-prod-img{width:130px;height:100px;object-fit:cover;border-radius:var(--rs);transition:transform .3s}
.lb-prod-row:hover .lb-prod-img{transform:scale(1.04)}
.lb-unavail-label{position:absolute;inset:0;background:rgba(0,0,0,.55);color:#fff;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;border-radius:var(--rs)}

/* ADD / QTY overlaid on image */
.lb-add-over,.lb-add-btn{position:absolute;bottom:6px;left:50%;transform:translateX(-50%);background:#fff;border:1.5px solid var(--grn);color:var(--grn);font-size:12.5px;font-weight:800;letter-spacing:.5px;padding:5px 18px;border-radius:var(--rs);white-space:nowrap;box-shadow:var(--shadow2);transition:all .15s;font-family:var(--font)}
.lb-add-over:hover,.lb-add-btn:hover{background:var(--grn);color:#fff}
.lb-qty-over{position:absolute;bottom:6px;left:50%;transform:translateX(-50%)}

/* Qty control */
.lb-qty-ctrl{display:flex;align-items:center;background:var(--grn);border-radius:var(--rs);overflow:hidden;width:fit-content}
.lb-q-btn{background:var(--grn);color:#fff;border:none;width:30px;height:30px;font-size:17px;font-weight:700;display:flex;align-items:center;justify-content:center;transition:background .12s;line-height:1}
.lb-q-btn:hover{background:#2d7a58}
.lb-q-num{color:#fff;font-size:14px;font-weight:800;min-width:24px;text-align:center}
.lb-qty-lg .lb-q-btn{width:40px;height:40px;font-size:22px}
.lb-qty-lg .lb-q-num{font-size:16px;min-width:32px}

/* ── Loading / empty ── */
.lb-loading{display:flex;flex-direction:column;align-items:center;padding:56px 20px;gap:14px;color:var(--muted)}
.lb-spinner{width:36px;height:36px;border:3px solid var(--border);border-top-color:var(--red);border-radius:50%;animation:lb-spin .7s linear infinite}
@keyframes lb-spin{to{transform:rotate(360deg)}}
.lb-empty{text-align:center;padding:56px 20px;color:var(--muted)}
.lb-empty span{font-size:46px;display:block;margin-bottom:12px}
.lb-empty p{font-size:16px;font-weight:600;margin-bottom:6px}
.lb-empty small{font-size:13px}
.lb-empty-lg{padding:100px 20px}

/* ── Cart panel ── */
.lb-cart-panel{background:var(--white);border-radius:var(--r);box-shadow:var(--shadow);position:sticky;top:74px;max-height:calc(100vh - 94px);display:flex;flex-direction:column;overflow:hidden}
.lb-cp-head{padding:14px 16px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;flex-shrink:0}
.lb-cp-head h3{font-size:15px;font-weight:700}
.lb-cp-count{font-size:13px;color:var(--muted)}
.lb-cp-body{flex:1;overflow-y:auto;padding:10px 12px;display:flex;flex-direction:column;gap:8px;min-height:80px}
.lb-cp-empty{display:flex;flex-direction:column;align-items:center;padding:28px 12px;color:var(--muted);gap:8px;text-align:center}
.lb-cp-empty-icon{font-size:38px}
.lb-cp-empty p{font-size:14px;font-weight:600;margin:0}
.lb-cp-empty small{font-size:12px}
.lb-cp-item{display:flex;align-items:center;gap:9px;padding:8px;border-radius:var(--rs);border:1px solid var(--border);background:#fafafa}
.lb-cp-img{width:38px;height:38px;border-radius:6px;object-fit:cover;flex-shrink:0}
.lb-cp-info{flex:1;min-width:0}
.lb-cp-name{display:block;font-size:12.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lb-cp-seller{display:block;font-size:11px;color:var(--muted)}
.lb-cp-price{font-size:11.5px;color:var(--muted)}
.lb-cp-item .lb-qty-ctrl{flex-shrink:0}
.lb-cp-item .lb-q-btn{width:24px;height:24px;font-size:14px}
.lb-cp-item .lb-q-num{font-size:12px;min-width:18px}
.lb-cp-foot{padding:12px 14px;border-top:1px solid var(--border);flex-shrink:0}
.lb-bill-row{display:flex;justify-content:space-between;font-size:13px;color:var(--muted);margin-bottom:7px}
.lb-bill-grand{font-size:15px;font-weight:700;color:var(--txt);padding-top:8px;border-top:1px dashed var(--border);margin-top:2px}
.lb-cp-delivery-note{font-size:11.5px;color:var(--muted);margin:6px 0 10px;font-style:italic}
.lb-co-btn{display:flex;align-items:center;justify-content:space-between;background:var(--red);color:#fff;padding:12px 16px;border-radius:10px;font-size:14.5px;font-weight:700;margin-top:10px;transition:background .15s}
.lb-co-btn:hover{background:var(--red-dk);color:#fff}

/* ── Float bar (mobile) ── */
.lb-float-bar{position:fixed;bottom:0;left:0;right:0;background:var(--red);color:#fff;z-index:400;display:flex;align-items:center;justify-content:space-between;padding:13px 20px;box-shadow:0 -4px 16px rgba(0,0,0,.15);animation:lb-up .25s ease}
@keyframes lb-up{from{transform:translateY(100%)}to{transform:none}}
.lb-fb-left{display:flex;flex-direction:column;gap:1px}
.lb-fb-count{font-size:12px;opacity:.85}
.lb-fb-total{font-size:17px;font-weight:800}
.lb-fb-btn{background:#fff;color:var(--red);padding:9px 16px;border-radius:8px;font-size:13.5px;font-weight:800;white-space:nowrap;transition:background .15s}
.lb-fb-btn:hover{background:#f5f5f5}

/* ── Recent orders strip ── */
.lb-recent-strip{background:var(--white);border-top:1px solid var(--border);padding:18px 0}
.lb-recent-inner{max-width:1320px;margin:0 auto;padding:0 16px}
.lb-recent-inner h3{font-size:15px;font-weight:700;margin-bottom:10px}
.lb-recent-list{display:flex;flex-wrap:wrap;gap:8px}
.lb-recent-pill{display:flex;align-items:center;gap:8px;background:var(--bg);border:1px solid var(--border);border-radius:20px;padding:7px 14px;font-size:13px;transition:border-color .15s}
.lb-recent-pill:hover{border-color:var(--red);color:var(--red)}
.lb-pill-badge{padding:2px 8px;border-radius:10px;font-size:11px;font-weight:700}

/* ── Mobile cart slide-up ── */
.lb-mobile-cart-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:500;display:none;opacity:0;transition:opacity .25s}
.lb-mobile-cart-overlay.open{display:block;opacity:1}
.lb-mobile-cart{position:fixed;bottom:-100%;left:0;right:0;background:var(--white);border-radius:var(--r) var(--r) 0 0;z-index:501;transition:bottom .3s ease;max-height:85vh;overflow-y:auto}
.lb-mobile-cart.open{bottom:0}
.lb-mobile-cart-handle{padding:10px;display:flex;justify-content:center}
.lb-handle-bar{width:40px;height:4px;background:var(--border);border-radius:2px}

/* ── Restaurant list ── */
.lb-rc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}
.lb-rc{background:var(--white);border-radius:var(--r);overflow:hidden;box-shadow:var(--shadow);transition:transform .2s,box-shadow .2s;display:block}
.lb-rc:hover{transform:translateY(-3px);box-shadow:var(--shadow2)}
.lb-rc-cover{height:140px;background:linear-gradient(135deg,#2d3436,var(--red));position:relative;display:flex;align-items:center;justify-content:center;background-size:cover;background-position:center}
.lb-rc-cover-icon{font-size:48px}
.lb-rc-closed-tag{position:absolute;inset:0;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;color:#fff;font-size:18px;font-weight:800;letter-spacing:2px}
.lb-rc-logo-wrap{position:absolute;bottom:-18px;left:14px;width:44px;height:44px;border-radius:10px;border:3px solid var(--white);overflow:hidden;box-shadow:var(--shadow)}
.lb-rc-logo{width:100%;height:100%;object-fit:cover}
.lb-rc-info{padding:26px 14px 14px}
.lb-rc-row1{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:4px}
.lb-rc-name{font-size:15px;font-weight:700;flex:1}
.lb-rc-rating{background:var(--grn);color:#fff;font-size:12px;font-weight:700;padding:3px 8px;border-radius:6px}
.lb-rc-cuisine{font-size:12.5px;color:var(--muted);margin-bottom:9px}
.lb-rc-chips{display:flex;flex-wrap:wrap;gap:6px;font-size:12px;color:var(--muted)}
.lb-rc-chips span{background:var(--bg);padding:3px 8px;border-radius:6px}
.lb-rc-closed .lb-rc-name{color:var(--muted)}
.lb-rc-closed{cursor:not-allowed;opacity:.72}
.lb-rc-closed:hover{transform:none;box-shadow:var(--shadow)}
.lb-menu-topbar{max-width:1100px;margin:0 auto;padding:10px 16px;display:flex;align-items:center;justify-content:space-between;gap:8px}
.lb-back-btn{background:none;border:none;color:var(--red);font-size:14px;font-weight:600;padding:6px 0;cursor:pointer;display:inline-flex;align-items:center;gap:4px;font-family:var(--font)}
.lb-back-btn:hover{text-decoration:underline}

/* ── Restaurant single hero ── */
.lb-rh{height:220px;background:linear-gradient(135deg,#1c1c2e 0%,var(--red) 100%);background-size:cover;background-position:center}
.lb-rh-overlay{height:100%;background:linear-gradient(to top,rgba(0,0,0,.75) 0%,rgba(0,0,0,.15) 100%);display:flex;align-items:flex-end;padding:20px}
.lb-rh-content{display:flex;align-items:flex-end;gap:14px;max-width:1320px;width:100%;margin:0 auto}
.lb-rh-logo{width:60px;height:60px;border-radius:12px;object-fit:cover;border:3px solid #fff;flex-shrink:0}
.lb-rh-text{color:#fff}
.lb-rh-text h1{font-size:clamp(18px,3vw,28px);font-weight:800;margin-bottom:4px}
.lb-closed-badge{background:rgba(255,255,255,.2);font-size:12px;font-weight:700;padding:3px 10px;border-radius:4px;margin-left:8px;vertical-align:middle}
.lb-rh-cuisine{font-size:13px;opacity:.85;margin-bottom:8px}
.lb-rh-chips{display:flex;flex-wrap:wrap;gap:10px;font-size:13px;opacity:.9;margin-bottom:6px}
.lb-rh-chips span{background:rgba(255,255,255,.15);padding:3px 10px;border-radius:12px}
.lb-rh-addr{font-size:12px;opacity:.7}

/* ── Status colors ── */
.lb-s-completed{background:var(--grn-lt);color:var(--grn)}
.lb-s-processing{background:#fff3cd;color:#92400e}
.lb-s-on-hold{background:#e9ecef;color:#495057}
.lb-s-cancelled{background:#fee2e2;color:#dc2626}
.lb-s-pending{background:#fef3c7;color:#b45309}

/* ═════════════════════════════════════════════════
   CHECKOUT PAGE
   ═════════════════════════════════════════════════ */
.lb-pc-title{padding:16px 18px;font-size:14.5px;font-weight:700;border-bottom:1px solid var(--border);display:flex;align-items:baseline;gap:6px}
.lb-pc-title span{font-size:13px;color:var(--muted);font-weight:400}
.lb-pc-body{padding:16px 18px}
.lb-pc-row{display:flex;justify-content:space-between;font-size:14px;margin-bottom:10px;color:var(--muted)}
.lb-pc-divider{border:none;border-top:1px dashed var(--border);margin:10px 0}
.lb-pc-total{font-size:17px;font-weight:800;color:var(--txt);padding-top:8px;border-top:2px solid var(--border);margin-top:4px}
.lb-place-desktop{margin:14px 18px 0;width:calc(100% - 36px);border-radius:var(--rs)}
.lb-safety-note{display:flex;align-items:flex-start;gap:12px;background:#f0eeff;padding:14px 18px;margin-top:14px}
.lb-safety-note div strong{font-size:13px;font-weight:700;color:#4a3aff;display:block;margin-bottom:3px}
.lb-safety-note div small{font-size:12px;color:var(--muted)}

/* ── Confirm page ── */
.lb-confirm-page{display:flex;justify-content:center;align-items:center;min-height:80vh;padding:24px 16px}
.lb-confirm-card{background:var(--white);border-radius:var(--r);box-shadow:var(--shadow2);padding:40px 32px;max-width:480px;width:100%;text-align:center}
.lb-confirm-anim{font-size:64px;margin-bottom:16px;animation:lb-pop .4s ease}
@keyframes lb-pop{0%{transform:scale(.5);opacity:0}80%{transform:scale(1.1)}100%{transform:scale(1);opacity:1}}
.lb-confirm-card h1{font-size:22px;font-weight:800;margin-bottom:8px}
.lb-confirm-orderno{color:var(--muted);margin-bottom:22px}
.lb-tracking{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px;margin-bottom:24px}
.lb-track-item{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:12px;color:var(--muted);padding:6px 10px;border-radius:10px;border:1.5px solid var(--border)}
.lb-track-item span{font-size:20px}
.lb-track-done{border-color:var(--red);color:var(--red);background:var(--red-lt)}
.lb-track-arrow{color:var(--border);font-size:18px}
.lb-confirm-details{text-align:left;border:1px solid var(--border);border-radius:var(--rs);overflow:hidden;margin-bottom:24px}
.lb-cd-row{display:flex;justify-content:space-between;padding:11px 16px;border-bottom:1px solid var(--border);font-size:14px}
.lb-cd-row:last-child{border-bottom:none}
.lb-confirm-btns{display:flex;flex-direction:column;gap:10px}
.lb-cb-primary{background:var(--red);color:#fff;padding:13px;border-radius:10px;font-size:15px;font-weight:700;display:block}
.lb-cb-secondary{border:2px solid var(--border);color:var(--txt);padding:11px;border-radius:10px;font-size:14px;font-weight:600;display:block}

/* ── Single product ── */
.lb-single-atc{border:2px solid var(--border);border-radius:var(--r);padding:18px;background:#fffbfb;margin:16px 0;display:flex;flex-direction:column;gap:12px}
.lb-goto-cart{background:var(--red);color:#fff;padding:10px 20px;border-radius:var(--rs);font-size:14px;font-weight:700;display:inline-block;text-align:center}
.lb-out-stock{padding:12px;background:var(--bg);border-radius:var(--rs);color:var(--muted);font-size:14px}
.lb-add-lg{background:none;border:2px solid var(--grn);color:var(--grn);font-size:15px;font-weight:700;padding:11px 28px;border-radius:10px;transition:all .15s;display:inline-flex;align-items:center;gap:8px}
.lb-add-lg:hover{background:var(--grn);color:#fff}
.lb-back-link{font-size:13.5px;color:var(--red);font-weight:500}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media(max-width:1100px){
  .lb-layout{grid-template-columns:190px 1fr}
  .lb-layout-nosidebar{grid-template-columns:1fr}
  .lb-cart-panel{display:none}
  .lb-cart-btn{display:flex}
  .lb-float-bar{display:flex}
}
@media(max-width:860px){
  .lb-layout{grid-template-columns:1fr;padding:10px 12px 70px}
  .lb-sidebar{position:static}
  .lb-sidebar-inner{position:static;max-height:none}
  .lb-cat-list{display:flex;overflow-x:auto;padding:6px;gap:0;-webkit-overflow-scrolling:touch}
  .lb-cat-item{flex-direction:column;text-align:center;padding:8px 10px;min-width:66px;border-left:none;border-bottom:3px solid transparent;border-radius:0;flex-shrink:0;font-size:12px;gap:4px}
  .lb-cat-item.active,.lb-cat-item:hover{background:var(--red-lt);color:var(--red);border-bottom-color:var(--red);border-left:none}
  .lb-cat-num{display:none}
  .lb-prod-img-box{width:110px}
  .lb-prod-img{width:110px;height:88px}
  .lb-price-card{position:static}
  .lb-place-desktop{display:none}
  .lb-fg-row{grid-template-columns:1fr}
}
@media(max-width:600px){
  .lb-header-nav{display:none}
  .lb-cart-btn{margin-left:auto;padding:8px 14px}
  .lb-cart-label{display:none}
  .lb-hero-inner h1{font-size:20px}
  .lb-rh-content{flex-direction:column;align-items:flex-start;gap:8px}
  .lb-rh-text h1{font-size:20px}
  .lb-rc-grid{grid-template-columns:1fr 1fr;gap:12px}
  .lb-rc-cover{height:110px}
  .lb-rc-name{font-size:13px}
  .lb-confirm-card{padding:28px 18px}
}
@media(max-width:400px){
  .lb-rc-grid{grid-template-columns:1fr}
}

/* ═══════════════════════════════════════════════════════════
   CHECKOUT PAGE — Single column, one step at a time
   ═══════════════════════════════════════════════════════════ */
.lb-co-body   { background: var(--bg); }
.lb-co-page   { max-width: 640px; margin: 24px auto; padding: 0 16px 80px; }
/* Single column — no grid, no right sidebar */
.lb-co-wrap   { display: block; }
.lb-co-left   { width: 100%; }

/* Step tracker */
.lb-steps { display: flex; align-items: center; margin-bottom: 20px; }
.lb-step  { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--muted); }
.lb-step-num {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid currentColor;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; flex-shrink: 0;
}
.lb-step-lbl { font-size: 12px; }
.lb-step-line { flex: 1; height: 2px; background: var(--border); margin: 0 6px; }
.lb-step.lb-step-active { color: var(--red); }
.lb-step.lb-step-done   { color: var(--grn); }
.lb-step.lb-step-done .lb-step-num { background: var(--grn); border-color: var(--grn); color: #fff; }

/* ── Sections ──
   lb-sec-visible: current active step — full opacity, interactive
   lb-sec-done:    completed step — shown but dimmed, non-interactive (except CHANGE btn)
   lb-sec-hidden:  future step — completely hidden (display:none via JS)
*/
.lb-co-section {
  background: var(--white);
  border-radius: var(--r);
  padding: 20px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}
.lb-sec-visible { opacity: 1; pointer-events: auto; }
.lb-sec-done    { opacity: .75; pointer-events: none; }
.lb-sec-done .lb-co-edit-btn,
.lb-sec-done .lb-co-add-new { pointer-events: auto; opacity: 1; }

/* Section header row */
.lb-co-sec-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; gap: 8px; flex-wrap: wrap;
}
.lb-co-sec-head h2 {
  font-size: 16px; font-weight: 700;
  display: flex; align-items: center; gap: 8px; margin: 0;
}
.lb-co-edit-btn, .lb-co-add-new {
  background: none; border: none; color: var(--red);
  font-size: 13px; font-weight: 700; cursor: pointer;
  padding: 4px 8px; font-family: var(--font); white-space: nowrap;
}
.lb-co-subhead {
  font-size: 13.5px; font-weight: 700; color: var(--txt);
  margin: 16px 0 10px; padding-bottom: 7px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 6px;
}

/* Saved address block */
.lb-saved-addr {
  display: flex; align-items: flex-start; gap: 12px;
  border: 2px solid var(--grn); border-radius: var(--rs);
  padding: 14px; margin-bottom: 14px; background: var(--grn-lt);
}
.lb-sa-check {
  width: 22px; height: 22px; background: var(--grn); color: #fff;
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 12px; font-weight: 800; flex-shrink: 0;
}
.lb-sa-text { flex: 1; }
.lb-sa-text strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.lb-sa-text span   { display: block; font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.lb-sa-change { background: none; border: none; color: var(--red); font-size: 12px; font-weight: 700; cursor: pointer; font-family: var(--font); flex-shrink: 0; padding: 4px; }

/* Address form */
.lb-fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lb-fg { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.lb-fg label { font-size: 13px; font-weight: 600; color: var(--txt); }
.lb-fg label em { font-style: normal; color: var(--muted); font-weight: 400; font-size: 12px; }
.lb-fg input {
  border: 1.5px solid var(--border); border-radius: var(--rs);
  padding: 10px 13px; font-size: 14px; font-family: var(--font);
  outline: none; transition: border-color .15s; width: 100%;
  background: var(--white); color: var(--txt);
}
.lb-fg input:focus { border-color: var(--red); }
.lb-chk-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); cursor: pointer; margin-top: 6px; }
.lb-chk-row input { accent-color: var(--red); }

/* Delivery fee preview */
.lb-del-preview {
  display: flex; align-items: center; gap: 9px;
  background: #f0f4ff; border-radius: var(--rs);
  padding: 10px 13px; margin-top: 8px; font-size: 13.5px;
  border-left: 3px solid #4a3aff;
}
.lb-del-icon { font-size: 17px; flex-shrink: 0; }
#lb-del-msg  { flex: 1; color: var(--muted); }
#lb-del-amt  { font-weight: 800; color: var(--red); white-space: nowrap; }

/* Payment options */
.lb-pay-opts { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.lb-pay-opt {
  display: flex; align-items: center; gap: 12px;
  border: 2px solid var(--border); border-radius: var(--rs);
  padding: 14px; cursor: pointer; transition: border-color .15s;
}
.lb-pay-opt input { display: none; }
.lb-pay-selected  { border-color: var(--grn); background: var(--grn-lt); }
.lb-pay-disabled  { opacity: .5; pointer-events: none; }
.lb-pay-icon { font-size: 22px; flex-shrink: 0; }
.lb-pay-opt div { flex: 1; }
.lb-pay-opt strong { font-size: 14px; font-weight: 700; display: block; color: var(--muted); }
.lb-pay-selected strong { color: var(--txt); }
.lb-pay-opt small  { font-size: 12px; color: var(--muted); }
.lb-pay-tick { color: var(--grn); font-size: 16px; font-weight: 800; }

/* Review items list */
.lb-review-items { border: 1px solid var(--border); border-radius: var(--rs); overflow: hidden; margin-bottom: 0; }
.lb-ri {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 13px 14px; border-bottom: 1px solid var(--border);
}
.lb-ri:last-of-type { border-bottom: 1px solid #f5f5f5; }
.lb-ri-img    { width: 58px; height: 58px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.lb-ri-info   { flex: 1; }
.lb-ri-info strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.lb-ri-price  { font-size: 15px; font-weight: 800; display: block; margin-bottom: 2px; }
.lb-ri-meta   { font-size: 12px; color: var(--muted); display: block; }
.lb-ri-total  { font-size: 14px; font-weight: 700; flex-shrink: 0; align-self: center; }
.lb-ri-seller { padding: 7px 14px; background: #fafafa; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--border); }
.lb-ri-seller:last-child { border-bottom: none; }

/* Inline price card (replaces sidebar, lives inside sec-3) */
.lb-inline-price-card {
  border: 1px solid var(--border); border-radius: var(--rs);
  overflow: hidden; margin: 14px 0;
}
.lb-inline-price-card .lb-pc-title {
  padding: 13px 16px; font-size: 14.5px; font-weight: 700;
  border-bottom: 1px solid var(--border); background: #fafafa;
  display: flex; align-items: baseline; gap: 8px;
}
.lb-inline-price-card .lb-pc-title span { font-size: 13px; color: var(--muted); font-weight: 400; }
.lb-inline-price-card .lb-pc-body      { padding: 14px 16px; }
.lb-pc-row      { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; color: var(--muted); }
.lb-pc-item     { font-size: 13px; }
.lb-pc-divider  { border: none; border-top: 1px dashed var(--border); margin: 8px 0; }
.lb-pc-total    { font-size: 17px; font-weight: 800; color: var(--txt); padding-top: 8px; border-top: 2px solid var(--border); margin-top: 4px; }
.lb-safety-note {
  display: flex; align-items: flex-start; gap: 12px;
  background: #f0eeff; padding: 13px 16px; border-top: 1px solid var(--border);
}
.lb-safety-note div strong { font-size: 13px; font-weight: 700; color: #4a3aff; display: block; margin-bottom: 2px; }
.lb-safety-note div small  { font-size: 12px; color: var(--muted); }

/* Address + billing summaries */
.lb-addr-summary {
  border: 1px solid var(--border); border-radius: var(--rs);
  padding: 13px 14px; font-size: 13.5px; margin-bottom: 10px;
}
.lb-addr-summary strong { display: block; font-weight: 700; margin-bottom: 4px; }
.lb-addr-summary span   { display: block; color: var(--muted); margin-bottom: 2px; font-size: 13px; }
.lb-billing-note {
  display: flex; align-items: center; gap: 8px;
  background: #f5f5f5; border-radius: var(--rs);
  padding: 10px 13px; font-size: 13px; color: var(--muted); margin-bottom: 14px;
}
.lb-pay-summary {
  display: flex; align-items: center; justify-content: space-between;
  border: 1px solid var(--border); border-radius: var(--rs);
  padding: 13px 14px; font-size: 14px; font-weight: 500; margin-bottom: 16px;
}

/* Buttons */
.lb-co-btn-primary {
  width: 100%; padding: 14px; border-radius: 10px;
  background: var(--red); color: #fff; border: none;
  font-size: 15px; font-weight: 700; cursor: pointer;
  font-family: var(--font); transition: background .15s; margin-top: 8px;
  display: block;
}
.lb-co-btn-primary:hover    { background: var(--red-dk); }
.lb-co-btn-primary:disabled { opacity: .65; cursor: not-allowed; }
.lb-place-btn {
  width: 100%; padding: 14px; border-radius: 10px;
  background: var(--red); color: #fff; border: none;
  font-size: 15.5px; font-weight: 700; cursor: pointer;
  font-family: var(--font); transition: background .15s;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.lb-place-btn:hover    { background: var(--red-dk); }
.lb-place-btn:disabled { opacity: .7; cursor: not-allowed; }
.lb-place-spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.4); border-top-color: #fff;
  border-radius: 50%; animation: lb-spin .7s linear infinite;
}
.lb-terms-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; }
.lb-terms-note a { color: var(--red); }

/* ═══════════════════════════════════════════════════════════
   MY FOOD ORDERS  /food-orders/
   ═══════════════════════════════════════════════════════════ */
.lb-orders-body { background: var(--bg); }
.lb-mo-page  { max-width: 820px; margin: 24px auto; padding: 0 16px 80px; }
.lb-mo-topbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; flex-wrap: wrap; gap: 8px;
}
.lb-mo-topbar h1 { font-size: 22px; font-weight: 800; }
.lb-mo-count {
  background: #ede9fe; color: #5b21b6;
  font-size: 13px; font-weight: 700;
  padding: 5px 14px; border-radius: 20px;
}
.lb-mo-empty {
  text-align: center; padding: 70px 20px;
  background: var(--white); border-radius: var(--r); box-shadow: var(--shadow);
}
.lb-mo-empty-icon { font-size: 60px; margin-bottom: 16px; }
.lb-mo-empty h2   { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.lb-mo-empty p    { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.lb-mo-cta {
  display: inline-block; background: var(--red); color: #fff;
  padding: 12px 28px; border-radius: 10px; font-size: 15px; font-weight: 700;
}
.lb-mo-list { background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.lb-mo-card {
  display: flex; align-items: center; gap: 16px;
  padding: 16px; border-bottom: 1px solid var(--border);
  transition: background .15s; position: relative;
  text-decoration: none; color: var(--txt);
}
.lb-mo-card:last-child  { border-bottom: none; }
.lb-mo-card:hover       { background: #fafafa; }
.lb-mo-s-processing { border-left: 3px solid var(--red); }
.lb-mo-s-on-hold    { border-left: 3px solid var(--muted); }
.lb-mo-img-wrap     { position: relative; flex-shrink: 0; }
.lb-mo-img          { width: 68px; height: 68px; border-radius: 10px; object-fit: cover; }
.lb-mo-img-placeholder {
  width: 68px; height: 68px; border-radius: 10px;
  background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 28px;
}
.lb-mo-extra {
  position: absolute; bottom: -4px; right: -4px;
  background: #5b21b6; color: #fff; font-size: 11px; font-weight: 800;
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; border: 2px solid var(--white);
}
.lb-mo-details { flex: 1; min-width: 0; }
.lb-mo-row1    { display: flex; align-items: center; gap: 10px; margin-bottom: 5px; flex-wrap: wrap; }
.lb-mo-orderno { font-size: 14.5px; font-weight: 700; }
.lb-mo-badge   { font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 20px; letter-spacing: .3px; }
.lb-mo-s-badge-completed  { background: var(--grn-lt); color: var(--grn); }
.lb-mo-s-badge-processing { background: #fff3cd; color: #92400e; }
.lb-mo-s-badge-preparing  { background: #fff3cd; color: #92400e; }
.lb-mo-s-badge-out-for-delivery { background: #dbeafe; color: #1d4ed8; }
.lb-mo-s-badge-delivered  { background: var(--grn-lt); color: var(--grn); }
.lb-mo-s-badge-on-hold    { background: #e9ecef; color: #495057; }
.lb-mo-s-badge-cancelled  { background: #fee2e2; color: #dc2626; }
.lb-mo-s-badge-pending    { background: #fef3c7; color: #b45309; }
.lb-mo-items-preview {
  font-size: 13px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 5px;
}
.lb-mo-meta {
  font-size: 12.5px; color: var(--muted);
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.lb-mo-meta strong { color: var(--txt); font-weight: 700; font-size: 13px; }
.lb-mo-addr { font-size: 12px; color: var(--muted); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-mo-arrow { flex-shrink: 0; color: var(--muted); }
.lb-mo-footer-links {
  display: flex; gap: 20px; margin-top: 20px;
  justify-content: center; flex-wrap: wrap;
}
.lb-mo-footer-links a { font-size: 14px; color: var(--red); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Checkout + Orders
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 700px) {
  .lb-co-page { padding: 0 0 70px; margin: 0; }
  .lb-co-section { border-radius: 0; margin-bottom: 8px; }
  .lb-fg-row { grid-template-columns: 1fr; }
  .lb-mo-img, .lb-mo-img-placeholder { width: 56px; height: 56px; }
  .lb-mo-orderno { font-size: 13.5px; }
  .lb-mo-meta { font-size: 11.5px; }
}

/* ═══════════════════════════════════════════════════════════
   ADDRESS CARD SELECTOR (Meesho / mscma style)
   ═══════════════════════════════════════════════════════════ */

/* Cards list container */
.lb-addr-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}
.lb-addr-cards-empty { margin-bottom: 0; }

/* Individual address card */
.lb-addr-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 2px solid var(--border);
  border-radius: var(--rs);
  padding: 14px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  position: relative;
}
.lb-addr-card:hover  { border-color: #b0b0b0; background: #fafafa; }
.lb-addr-card.lb-addr-selected {
  border-color: var(--red);
  background: var(--red-lt);
}

/* Radio indicator */
.lb-addr-radio {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
  transition: border-color .15s;
}
.lb-addr-card.lb-addr-selected .lb-addr-radio { border-color: var(--red); }
.lb-addr-radio-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: transparent;
  transition: background .15s;
}
.lb-addr-card.lb-addr-selected .lb-addr-radio-dot { background: var(--red); }

/* Card body */
.lb-addr-card-body { flex: 1; min-width: 0; }
.lb-addr-card-top  {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 8px; margin-bottom: 5px;
}
.lb-addr-type-badge {
  font-size: 11px; font-weight: 700;
  background: var(--bg); padding: 2px 8px;
  border-radius: 4px; color: var(--txt);
  letter-spacing: .3px;
}
.lb-addr-selected .lb-addr-type-badge { background: rgba(226,55,68,.1); color: var(--red); }
.lb-addr-name  { font-size: 13.5px; font-weight: 700; }
.lb-addr-phone { font-size: 12.5px; color: var(--muted); }
.lb-addr-line  {
  font-size: 13px; color: var(--muted);
  margin: 0; line-height: 1.5;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Edit / Delete buttons */
.lb-addr-card-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
  flex-shrink: 0;
}
.lb-addr-edit-btn, .lb-addr-del-btn {
  background: none; border: none; cursor: pointer;
  font-size: 12px; font-weight: 700;
  font-family: var(--font); padding: 3px 6px;
}
.lb-addr-edit-btn { color: var(--red); }
.lb-addr-del-btn  { color: var(--muted); }
.lb-addr-edit-btn:hover { text-decoration: underline; }
.lb-addr-del-btn:hover  { color: #dc2626; }

/* Add/Edit form wrapper */
.lb-addr-form-wrap {
  border: 1.5px dashed var(--border);
  border-radius: var(--rs);
  padding: 16px;
  margin-bottom: 12px;
  background: #fafafa;
  animation: lb-in .2s ease;
}
.lb-addr-form-head {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 14px;
}
.lb-addr-form-head h3 { font-size: 14px; font-weight: 700; margin: 0; }
.lb-form-cancel-btn {
  background: none; border: none; cursor: pointer;
  font-size: 13px; color: var(--muted); font-family: var(--font);
}
.lb-form-cancel-btn:hover { color: var(--red); }
.lb-use-location-btn {
  background: none; border: 1px solid var(--red); border-radius: 20px;
  color: var(--red); font-size: 12px; font-weight: 600; padding: 4px 12px;
  cursor: pointer; font-family: var(--font); white-space: nowrap;
}
.lb-use-location-btn:hover { background: var(--red); color: #fff; }
.lb-use-location-btn:disabled { opacity: .6; cursor: not-allowed; }

/* Address type buttons */
.lb-addr-type-row {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap; margin-bottom: 12px;
}
.lb-addr-type-lbl { font-size: 13px; font-weight: 600; color: var(--txt); white-space: nowrap; }
.lb-addr-type-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.lb-type-btn {
  display: flex; align-items: center; gap: 6px;
  border: 1.5px solid var(--border);
  border-radius: 20px; padding: 5px 14px;
  font-size: 13px; font-weight: 500;
  cursor: pointer; transition: all .15s; white-space: nowrap;
}
.lb-type-btn input { display: none; }
.lb-type-btn.lb-type-active,
.lb-type-btn:has(input:checked) {
  border-color: var(--red);
  background: var(--red-lt);
  color: var(--red);
  font-weight: 700;
}

/* Save address button */
.lb-addr-form-actions { margin-top: 4px; }
.lb-save-addr-btn {
  background: var(--red); color: #fff;
  border: none; border-radius: var(--rs);
  padding: 11px 24px; font-size: 14px; font-weight: 700;
  cursor: pointer; font-family: var(--font);
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .15s;
}
.lb-save-addr-btn:hover { background: var(--red-dk); }
.lb-save-addr-spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff; border-radius: 50%;
  animation: lb-spin .7s linear infinite;
}
.lb-addr-form-msg { font-size: 13px; margin-top: 8px; min-height: 20px; }
.lb-addr-form-msg.success { color: var(--grn); }
.lb-addr-form-msg.error   { color: var(--red); }

/* Delivery instructions field (shows after address selected) */
.lb-delivery-instr {
  animation: lb-in .2s ease;
  margin-bottom: 12px;
}
.lb-delivery-instr label {
  font-size: 13px; font-weight: 600; color: var(--txt); display: block; margin-bottom: 5px;
}
.lb-delivery-instr label em { font-style: normal; color: var(--muted); font-weight: 400; font-size: 12px; }
.lb-delivery-instr input {
  border: 1.5px solid var(--border); border-radius: var(--rs);
  padding: 10px 13px; font-size: 14px; font-family: var(--font);
  outline: none; transition: border-color .15s; width: 100%;
}
.lb-delivery-instr input:focus { border-color: var(--red); }

/* ── Fix: lb-addr-summary inside sec-3 ── */
.lb-addr-summary {
  border: 1px solid var(--border); border-radius: var(--rs);
  padding: 13px 14px; font-size: 13.5px; margin-bottom: 10px;
  background: #fafafa;
}
.lb-addr-summary strong { display: block; font-weight: 700; margin-bottom: 5px; }
.lb-addr-summary span   { display: block; color: var(--muted); font-size: 13px; margin-bottom: 2px; }

/* ═══════════════ FOOD VIEW ORDER PAGE ═══════════════ */
.lb-vo-body{background:var(--bg)}
.lb-vo-page{max-width:1000px;margin:0 auto;padding:24px 16px 80px}
.lb-vo-back{display:inline-flex;align-items:center;gap:6px;color:var(--red);font-weight:600;font-size:14px;margin-bottom:18px;text-decoration:none}
.lb-vo-back:hover{text-decoration:underline}
.lb-vo-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;background:linear-gradient(135deg,#fff5f5,#fef2f6);border:1px solid var(--border);border-radius:var(--r);padding:24px;margin-bottom:20px;flex-wrap:wrap}
.lb-vo-head h1{font-size:24px;font-weight:800;margin:0 0 4px}
.lb-vo-date{color:var(--muted);font-size:14px;margin:0}
.lb-vo-status{font-size:12px;font-weight:800;padding:6px 16px;border-radius:20px;letter-spacing:.4px;white-space:nowrap}
.lb-vo-grid{display:grid;grid-template-columns:1fr 320px;gap:20px;align-items:start}
.lb-vo-card{background:var(--white);border:1px solid var(--border);border-radius:var(--r);padding:20px;margin-bottom:16px}
.lb-vo-card-title{font-size:16px;font-weight:700;margin:0 0 14px;display:flex;align-items:center;gap:8px}
.lb-vo-item{display:flex;gap:14px;align-items:flex-start;padding:10px 0;border-bottom:1px solid var(--border)}
.lb-vo-item:last-child{border-bottom:none;padding-bottom:0}
.lb-vo-item-img{width:64px;height:64px;border-radius:10px;object-fit:cover;flex-shrink:0}
.lb-vo-item-info{display:flex;flex-direction:column;gap:3px}
.lb-vo-item-info strong{font-size:15px;font-weight:700}
.lb-vo-item-meta{font-size:13px;color:var(--muted)}
.lb-vo-item-price{font-size:15px;font-weight:800;margin-top:2px}
/* Delivery partner */
.lb-vo-delivery{border-color:var(--grn);background:var(--grn-lt)}
.lb-vo-dp{display:flex;align-items:center;gap:14px}
.lb-vo-dp-avatar{width:48px;height:48px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;font-size:24px;flex-shrink:0;box-shadow:0 1px 4px rgba(0,0,0,.1)}
.lb-vo-dp-info{display:flex;flex-direction:column;gap:4px}
.lb-vo-dp-info strong{font-size:15px;font-weight:700}
.lb-vo-dp-call{display:inline-flex;align-items:center;gap:6px;color:var(--grn);font-weight:700;font-size:14px;text-decoration:none}
.lb-vo-dp-call:hover{text-decoration:underline}
/* Address */
.lb-vo-addr-name{font-weight:700;font-size:15px;margin:0 0 6px}
.lb-vo-addr-line{color:var(--muted);font-size:14px;margin:0 0 8px;line-height:1.5}
.lb-vo-addr-phone{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:600;margin:0}
.lb-vo-addr-note{margin:10px 0 0;font-size:13px;color:var(--muted);background:var(--bg);padding:8px 12px;border-radius:8px}
.lb-vo-billing-same{display:flex;align-items:center;gap:10px;background:var(--grn-lt);color:var(--grn);font-weight:600;font-size:14px;padding:14px;border-radius:10px}
.lb-vo-payment{display:flex;align-items:center;justify-content:space-between;font-size:15px;font-weight:600}
.lb-vo-pay-tag{background:#fff3cd;color:#92400e;font-size:11px;font-weight:800;padding:5px 12px;border-radius:16px;letter-spacing:.3px}
/* Price */
.lb-vo-price{position:sticky;top:20px}
.lb-vo-pr-row{display:flex;justify-content:space-between;font-size:14px;margin-bottom:12px;color:var(--muted)}
.lb-vo-pr-row span:last-child{font-weight:600;color:var(--txt)}
.lb-vo-free{color:var(--grn)!important;font-weight:800!important}
.lb-vo-pr-divider{border-top:1px dashed var(--border);margin:6px 0 14px}
.lb-vo-pr-total{font-size:18px;font-weight:800;color:var(--txt)}
.lb-vo-pr-total span:last-child{font-weight:800}
.lb-vo-cancel-btn{width:100%;margin-top:18px;padding:12px;background:#fff;color:var(--red);border:1.5px solid var(--red);border-radius:10px;font-size:15px;font-weight:700;cursor:pointer;font-family:var(--font);transition:all .15s}
.lb-vo-cancel-btn:hover{background:var(--red-lt)}
.lb-vo-cancel-btn:disabled{opacity:.6;cursor:not-allowed}
.lb-vo-back-btn{display:block;text-align:center;width:100%;margin-top:10px;padding:13px;background:var(--red);color:#fff;border-radius:10px;font-size:15px;font-weight:700;text-decoration:none;box-sizing:border-box}
.lb-vo-back-btn:hover{background:var(--red-dk)}
@media(max-width:860px){
  .lb-vo-grid{grid-template-columns:1fr}
  .lb-vo-price{position:static}
}

/* ── Login Modal ── */
.lb-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  z-index: 99999; display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.lb-modal-box {
  background: #fff; border-radius: 16px; padding: 36px 28px 28px;
  max-width: 360px; width: 100%; text-align: center; position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.lb-modal-close {
  position: absolute; top: 12px; right: 14px;
  background: none; border: none; font-size: 18px; cursor: pointer;
  color: #999; line-height: 1; padding: 4px 6px;
}
.lb-modal-close:hover { color: var(--red); }
.lb-modal-icon { font-size: 44px; margin-bottom: 12px; }
.lb-modal-box h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; color: var(--dark); }
.lb-modal-box p  { font-size: 14px; color: var(--muted); margin: 0 0 20px; line-height: 1.5; }
.lb-modal-login-btn {
  display: block; background: var(--red); color: #fff;
  border-radius: 10px; padding: 13px; font-size: 15px; font-weight: 700;
  text-decoration: none; transition: background .18s;
}
.lb-modal-login-btn:hover { background: var(--red-dk); color: #fff; }
.lb-modal-note { font-size: 12px; color: #bbb; margin: 12px 0 0 !important; }

/* ── Address Autocomplete Dropdown ── */
.lb-ac-dd {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 5000;
  background: #fff; border: 1px solid var(--border); border-radius: var(--rs);
  box-shadow: 0 8px 24px rgba(40,44,63,.14); list-style: none;
  max-height: 230px; overflow-y: auto;
}
.lb-ac-item {
  padding: 10px 14px; cursor: pointer;
  border-bottom: 1px solid #f5f5f5; display: flex; flex-direction: column; gap: 2px;
}
.lb-ac-item:last-child { border-bottom: none; }
.lb-ac-item:hover { background: var(--red-lt); }
.lb-ac-main { font-size: 13.5px; font-weight: 500; color: var(--txt); }
.lb-ac-sub  { font-size: 11.5px; color: var(--muted); }

/* ── Star Rating ── */
.lb-review-box {
  margin-top: 14px; padding: 14px; background: var(--red-lt);
  border-radius: var(--rs); text-align: center; border: 1px solid #fcdcdf;
}
.lb-review-label { font-size: 13px; font-weight: 600; margin-bottom: 10px; color: var(--txt); }
.lb-stars { display: flex; justify-content: center; gap: 6px; }
.lb-star {
  background: none; border: none; font-size: 28px; cursor: pointer;
  color: #ddd; transition: color .12s, transform .1s; line-height: 1;
  padding: 0;
}
.lb-star:hover, .lb-star.lb-star-hover, .lb-star.lb-star-on { color: #f5a623; transform: scale(1.15); }
.lb-star:disabled { cursor: default; transform: none; }
.lb-review-msg { font-size: 13px; margin-top: 8px; min-height: 18px; }
.lb-review-ok  { color: var(--grn); font-weight: 600; }
.lb-review-err { color: var(--red); }
.lb-review-done {
  margin-top: 14px; display: flex; align-items: center; gap: 10px;
  justify-content: center; padding: 10px 0;
}
.lb-review-done-label { font-size: 13px; color: var(--muted); }
.lb-stars-static { display: flex; gap: 3px; }
.lb-star-static { font-size: 20px; color: #ddd; }
.lb-star-static.lb-star-on { color: #f5a623; }
