:root{--brand:#7a1f1f;--ink:#231f20;--cream:#fffaf2;--muted:#756e68;--line:#eadfd4;--soft:#fff;--green:#25d366}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}body.order-locked{overflow:hidden}.topbar{position:sticky;top:0;z-index:10;display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#fff;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px}.brand-mark{width:40px;height:40px;border-radius:12px;background:var(--brand);color:#fff;display:grid;place-items:center;font-weight:800;font-size:12px}.brand small{display:block;color:var(--muted);font-size:11px;margin-top:1px}.cart-pill{border:0;background:var(--brand);color:#fff;border-radius:22px;padding:10px 14px;font-weight:700}.hero{background:linear-gradient(120deg,#641717,#a33b28);color:#fff;padding:42px 18px 38px}.hero h1{font-size:34px;line-height:1.04;margin:8px 0 12px}.hero p{margin:0}.eyebrow{font-size:12px;font-weight:800;letter-spacing:1.5px;opacity:.8}.hero-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.hero-badges span{background:#ffffff1a;border:1px solid #ffffff2b;padding:7px 9px;border-radius:99px;font-size:12px}main{max-width:1280px;margin:auto;padding:16px}.notice{background:#fff1d9;border:1px solid #f0d3a2;padding:12px 14px;border-radius:14px;font-size:13px;margin-bottom:14px}.search-row input{width:100%;padding:14px 16px;border:1px solid var(--line);border-radius:13px;font-size:15px;background:#fff}.catalog-layout{display:grid;grid-template-columns:235px 1fr;gap:24px;margin-top:12px}.categories{background:#fff;border:1px solid var(--line);border-radius:8px;align-self:start;position:sticky;top:78px;overflow:hidden}.cat-group{border-bottom:1px solid var(--line)}.cat-group:last-child{border-bottom:0}.cat-btn{width:100%;border:0;background:#fff;text-align:left;padding:13px 14px;font-size:14px;color:#302c2a;display:flex;justify-content:space-between;align-items:center;cursor:pointer}.cat-btn:hover{background:#faf4ed}.cat-btn span{font-size:20px;color:#888}.cat-group.open>.cat-btn{font-weight:800}.cat-children{display:none;background:#faf8f5}.cat-children.shown{display:block}.subcat-btn{display:block;width:100%;border:0;background:transparent;text-align:left;padding:11px 14px 11px 28px;font-size:13px;color:#49433f;cursor:pointer}.subcat-btn:hover,.subcat-btn.active{background:#eee8e1;font-weight:700;border-left:3px solid var(--brand);padding-left:25px}.cat-group.single .cat-btn.active{background:#eee8e1;font-weight:800;border-left:3px solid var(--brand)}.menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.card{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;display:grid;grid-template-columns:200px 1fr;min-height:210px;box-shadow:0 1px 3px #0000000d;transition:transform .18s ease,box-shadow .18s ease}.card:hover{transform:translateY(-4px);box-shadow:0 8px 20px rgba(0,0,0,.10)}.photo{background:#f1e6da;display:grid;place-items:center;color:#6d3a22;font-weight:800;text-align:center;font-size:12px;min-height:210px;overflow:hidden}.photo img{width:100%;height:100%;display:block;object-fit:cover;object-position:center}.card-body{padding:14px}.tag{font-size:11px;color:var(--muted);margin-bottom:5px}.diet.veg{color:#3aa35c}.diet.nonveg{color:#e71c43}.name{font-weight:750;font-size:16px;line-height:1.2}.desc{font-size:12px;color:var(--muted);margin:6px 0;line-height:1.35;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.card-foot{display:flex;justify-content:space-between;align-items:center;margin-top:9px}.price{font-weight:800;font-size:14px}.add{border:0;background:#111;color:#fff;border-radius:4px;padding:9px 18px;font-weight:700}.empty{padding:30px}.drawer{position:fixed;inset:0;background:#0008;z-index:30}.drawer.hidden{display:none}.drawer-head{background:#fff;margin-left:auto;max-width:520px;padding:15px 18px;display:flex;justify-content:space-between;align-items:center}.drawer-head h2{margin:0}.drawer-head button{border:0;background:none;font-size:28px}.checkout{background:#fff;max-width:520px;margin-left:auto;height:calc(100vh - 66px);overflow:auto;padding:14px 18px}.cart-row{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}.cart-row .grow{flex:1}.qty{display:flex;gap:6px;align-items:center}.qty button{width:28px;height:28px;border:1px solid var(--line);background:#fff;border-radius:8px}.toggle-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0}.type-btn{padding:11px;border:1px solid var(--line);background:#fff;border-radius:10px;font-weight:700}.type-btn.active{background:var(--brand);color:#fff}.checkout input,.checkout textarea,.checkout select{width:100%;padding:12px;margin:5px 0;border:1px solid var(--line);border-radius:10px;font:inherit}.checkout textarea{min-height:70px}.summary{margin-top:12px;border-top:1px solid var(--line);padding-top:10px}.summary div{display:flex;justify-content:space-between;padding:5px 0}.summary .grand{font-size:18px;border-top:1px solid var(--line);margin-top:5px;padding-top:10px}.free-hint{padding:10px;border-radius:10px;background:#edf7ed;color:#2c6a34;margin:10px 0;font-size:13px}.payment-choice{border:1px solid var(--line);border-radius:10px;padding:11px 12px;margin:12px 0;display:flex;justify-content:space-between;gap:10px;align-items:center}.payment-choice span{display:block;color:var(--muted);font-size:11px;margin-top:2px}.payment-choice strong{font-size:12px}.primary{width:100%;padding:14px;border:0;border-radius:12px;background:var(--brand);color:#fff;font-weight:900}.pay-button{font-size:15px}.small{font-size:11px;color:var(--muted);line-height:1.4}.order-summary-chip{background:#f7f0e9;border-radius:10px;padding:10px 12px;display:flex;justify-content:space-between;font-size:12px}.order-summary-chip span{color:var(--muted)}.hidden{display:none!important}.item-modal{position:fixed;inset:0;background:#0008;z-index:40;display:flex;align-items:flex-end;justify-content:center}.item-modal.hidden{display:none}.item-modal-box{background:#fff;width:min(560px,100%);max-height:90vh;overflow:auto;border-radius:20px 20px 0 0;padding:18px}.modal-close{float:right;border:0;background:none;font-size:28px}.modal-desc{color:var(--muted);font-size:13px}.option-group{margin:14px 0}.option-group>label:first-child{display:block;font-weight:800;margin-bottom:7px}.option-group select{width:100%;padding:11px;border:1px solid var(--line);border-radius:10px}.addon-option{display:flex!important;align-items:center;gap:8px;padding:9px 0;border-bottom:1px solid var(--line);font-weight:500!important}.addon-option span{flex:1}.modal-bottom{position:sticky;bottom:0;background:#fff;border-top:1px solid var(--line);padding-top:12px;display:grid;grid-template-columns:auto auto 1fr;gap:10px;align-items:center}.modal-add{padding:12px}.order-start{position:fixed;inset:0;background:rgba(0,0,0,.68);z-index:100;display:grid;place-items:center;padding:20px}.start-card{width:min(600px,100%);background:#fff;border-radius:18px;padding:28px;box-shadow:0 20px 60px #0006}.start-brand{display:flex;align-items:center;gap:10px;margin-bottom:18px}.start-card h2{font-size:25px;margin:0 0 6px}.start-sub{color:var(--muted);margin:0 0 20px;font-size:14px}.start-type-row,.start-timing-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.start-timing-row{margin-top:12px}.start-type,.start-action{border:1px solid var(--line);border-radius:12px;background:#fff;padding:15px;text-align:left;cursor:pointer}.start-type.active{border:2px solid var(--brand);background:#fff8f5}.start-type b,.start-action b{display:block;font-size:15px}.start-type span,.start-action span{display:block;color:var(--muted);font-size:11px;margin-top:4px}.start-action{display:flex;flex-direction:column;gap:2px}.primary-action{background:var(--brand);color:#fff;border-color:var(--brand)}.primary-action span{color:#fff9}.secondary-action{color:var(--ink)}.schedule-panel h3{margin:0 0 15px}.schedule-panel label{font-size:12px;font-weight:700;display:block;margin:10px 0}.schedule-panel input,.schedule-panel select{display:block;width:100%;margin-top:5px;padding:12px;border:1px solid var(--line);border-radius:10px;font:inherit}.schedule-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:15px}.success-box{text-align:center;padding:20px 0}.success-icon{width:52px;height:52px;border-radius:50%;background:#e8f7ea;color:#20863b;display:grid;place-items:center;margin:0 auto 10px;font-size:28px;font-weight:900}
@media(max-width:800px){.catalog-layout{grid-template-columns:1fr}.categories{position:static}.menu-grid{grid-template-columns:1fr}.cat-children.shown{display:block}.start-card{padding:22px}.start-type-row,.start-timing-row{grid-template-columns:1fr}.hero h1{font-size:29px}}@media(min-width:801px){.order-start .start-card{width:600px}}

/* V2.6: clickable order preference controls */
.order-option,[data-order-type],[data-order-timing]{cursor:pointer;user-select:none}
.order-option.selected,[data-order-type].selected,[data-order-timing].selected{
  border:2px solid var(--brand,#7a1f1f)!important;
  box-shadow:0 0 0 3px rgba(122,31,31,.12);
  transform:translateY(-1px);
}
.order-option:active,[data-order-type]:active,[data-order-timing]:active{transform:scale(.99)}

/* V2.7 - standalone clickable order preference cards */
.bm-preferences{max-width:760px;margin:28px auto;padding:24px;background:#fff;border:1px solid #eadfd4;border-radius:20px;box-shadow:0 8px 25px rgba(0,0,0,.06)}
.bm-pref-title{font-size:22px;font-weight:850;text-align:center;margin:4px 0 16px;color:#231f20}
.bm-timing-title{margin-top:24px}
.bm-pref-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.bm-pref-card{appearance:none;-webkit-appearance:none;width:100%;min-height:78px;display:flex;align-items:center;gap:13px;text-align:left;background:#fff!important;color:#231f20!important;border:2px solid #eadfd4!important;border-radius:15px!important;padding:14px 16px;cursor:pointer!important;pointer-events:auto!important;font:inherit!important}
.bm-pref-card:hover{border-color:#7a1f1f!important}
.bm-pref-card.selected{border-color:#7a1f1f!important;background:#fff5f1!important;box-shadow:0 0 0 3px rgba(122,31,31,.12)}
.bm-pref-card:disabled{opacity:.55;cursor:not-allowed!important}
.bm-pref-icon{font-size:28px;line-height:1}.bm-pref-card b{display:block;font-size:16px}.bm-pref-card small{display:block;color:#756e68;margin-top:3px;font-size:12px}
.bm-schedule{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.bm-schedule label{font-weight:700;font-size:13px}.bm-schedule input,.bm-schedule select{display:block;width:100%;margin-top:6px;padding:12px;border:1px solid #eadfd4;border-radius:10px;background:#fff;font:inherit}
.bm-start{display:block;width:100%;margin-top:18px;padding:14px;border:0;border-radius:12px;background:#7a1f1f;color:#fff;font-weight:900;font-size:14px;cursor:pointer}.bm-start:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:600px){.bm-pref-row,.bm-schedule{grid-template-columns:1fr}.bm-preferences{margin:18px 10px;padding:18px}}

/* V2.8: order-start is the single source of truth; prevent accidental click interception. */
#orderStart{position:fixed!important;inset:0!important;z-index:10000!important;pointer-events:auto!important}
#orderStart .start-card{position:relative;z-index:10001;pointer-events:auto!important}
#orderStart button{position:relative;z-index:10002;pointer-events:auto!important;cursor:pointer!important}
#orderStart .start-type.active,#orderStart .start-action:active{transform:translateY(-1px)}

/* V2.9: order-start must remain the only interactive first-step overlay. */
#orderStart, #orderStart * { pointer-events: auto; }
#orderStart button { -webkit-tap-highlight-color: transparent; user-select: none; }
#orderStart button:focus-visible { outline: 3px solid #111; outline-offset: 2px; }

.site-footer{margin-top:48px;padding:32px max(24px,calc((100% - 1020px)/2));background:#2f1717;color:#fff}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:28px}
.site-footer strong{font-size:16px}
.site-footer p{margin:8px 0;line-height:1.55;font-size:13px;opacity:.9}
.site-footer a{color:#fff;text-decoration:underline}
@media(max-width:800px){.footer-grid{grid-template-columns:1fr}}

/* V3.1: delivery area selector shows names only; fee appears in the totals. */
#deliveryArea option { font-size: 14px; }
#deliveryArea { width:100%; }

.failure-box{margin-top:18px;padding:22px;border:1px solid #eadfd4;border-radius:14px;text-align:center;background:#fff7f7}
.failure-icon{width:46px;height:46px;border-radius:50%;margin:0 auto 12px;display:flex;align-items:center;justify-content:center;background:#fbe5e5;color:#9b1c1c;font-size:28px;font-weight:900}
.pay-button:disabled{opacity:.6;cursor:wait}


/* Checkout UX improvements */
#orderStart .start-type,
#orderStart .start-action{
  border:1px solid var(--line);
  background:#fff;
  color:var(--ink);
  min-height:82px;
}
#orderStart .start-type.active,
#orderStart .start-action.active{
  border:2px solid var(--brand);
  background:#fff8f5;
  box-shadow:0 0 0 3px rgba(122,31,31,.10);
  transform:translateY(-1px);
}
#orderStart .start-action.active span{color:var(--muted)}
#orderStart .start-action:hover,
#orderStart .start-type:hover{border-color:var(--brand)}
#orderStart .start-action:active,
#orderStart .start-type:active{transform:translateY(0)}
#orderStart .start-action:not(.active) span,
#orderStart .start-type:not(.active) span{color:var(--muted)}
#orderStart .start-action:not(.active){background:#fff;color:var(--ink);border-color:var(--line)}

.checkout{
  display:flex;
  flex-direction:column;
  min-height:calc(100vh - 66px);
}
.checkout > .payment-area{
  position:sticky;
  bottom:0;
  z-index:8;
  margin-top:auto;
  padding:12px 0 2px;
  background:#fff;
  border-top:1px solid var(--line);
  box-shadow:0 -8px 18px rgba(35,31,32,.08);
}
.payment-area .payment-choice{margin-top:0}
.payment-area .small{margin:8px 0 0}
.payment-area .success-box{padding:8px 0 2px}
.payment-area .success-box h2{margin:8px 0}
.payment-area .success-box p{margin:7px 0}
.payment-area .success-box .primary{margin-top:10px}
.payment-area{flex-shrink:0}

@media (max-width: 760px){.card{grid-template-columns:120px 1fr;min-height:150px}.photo{min-height:150px}.photo img{min-height:150px}}


/* Header order control */
.header-actions{display:flex;align-items:center;gap:8px}
.header-order{border:1px solid var(--brand);background:#fff;color:var(--brand);border-radius:22px;padding:9px 14px;font-weight:800;cursor:pointer}
.header-order:hover{background:#fff5f1}

/* Restored menu card hover interaction */
.menu-grid .card{
  transition:transform .18s ease, box-shadow .18s ease;
  will-change:transform;
}
.menu-grid .card:hover{
  transform:translateY(-5px);
  box-shadow:0 10px 22px rgba(0,0,0,.12);
}
.menu-grid .card:focus-within{
  transform:translateY(-5px);
  box-shadow:0 10px 22px rgba(0,0,0,.12);
}
.cat-group.has-prominence > .cat-btn{font-weight:800;}
.cat-group.has-prominence > .cat-btn:hover{background:#fff5ef;}

/* Brand logo restoration — preserves current menu/order/image fixes */
.brand{gap:12px}.brand-logo{width:52px;height:52px;object-fit:contain;display:block}.brand-copy strong{font-family:Georgia,'Times New Roman',serif;font-size:19px;letter-spacing:.2px;color:var(--ink)}.brand-copy small{display:block;color:var(--muted);font-size:11px;margin-top:1px}
.hero{padding:0;overflow:hidden;position:relative;background:radial-gradient(circle at 78% 35%,rgba(215,164,58,.24),transparent 30%),radial-gradient(circle at 15% 85%,rgba(143,23,29,.55),transparent 35%),linear-gradient(120deg,#641717 0%,#7d171b 55%,#a33b28 100%)}.hero-inner{max-width:1280px;margin:auto;min-height:320px;padding:50px 24px 46px;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr);align-items:center;gap:20px;position:relative}.hero-brand-art{display:flex;justify-content:center;align-items:center;opacity:.94}.hero-brand-art img{width:min(100%,520px);height:auto;display:block;object-fit:contain}.hero-copy{position:relative;z-index:1}.hero-copy>p{color:#fff}.hero-copy .eyebrow{color:#fff}.hero-copy h1{color:#fff}
@media(max-width:700px){.brand-logo{width:45px;height:45px}.brand-copy strong{font-size:17px}.hero-inner{grid-template-columns:1fr;min-height:0;padding:38px 18px 36px}.hero-brand-art{display:none}}

/* VERIFIED BRAND HEADER — restored from the earlier customer UI V1/V1.1 build */
.topbar{padding:10px clamp(16px,3vw,42px);min-height:72px;background:#151010;color:#fff;border-bottom:1px solid rgba(215,164,58,.35);box-shadow:0 4px 22px rgba(0,0,0,.18)}
.brand{gap:12px}.brand-logo{width:56px;height:56px;object-fit:contain;display:block}.brand-copy strong{font-family:Georgia,'Times New Roman',serif;font-size:19px;letter-spacing:.2px;color:#f4e6cc}.brand-copy small{display:block;font-size:10px;letter-spacing:1.5px;text-transform:uppercase;color:#d7a43a;font-weight:800;margin-top:3px}
.top-actions{display:flex;align-items:center;gap:12px}.top-location{display:flex;align-items:center;gap:8px;color:#fff;font-size:12px}.top-location>span{font-size:18px}.top-location b{display:block;font-size:11px;letter-spacing:.8px;text-transform:uppercase}.top-location small{display:block;color:#8f8580;margin-top:2px}
.top-order-btn{border:1px solid rgba(215,164,58,.6);background:transparent;color:#e7b956;border-radius:10px;padding:10px 14px;font-size:11px;font-weight:900;letter-spacing:.8px;cursor:pointer;transition:.2s}.top-order-btn:hover{background:#e7b956;color:#171313}
.cart-pill{background:#8f171d;border-color:#a62b32}.cart-pill:hover{background:#691015;transform:translateY(-1px)}
@media(max-width:700px){.top-order-btn{display:none}.brand-logo{width:48px;height:48px}.top-location{display:none}}


/* Final hero CTA refinement: make ORDER NOW unmistakably a button. */
.hero-order-btn{display:inline-flex;align-items:center;justify-content:center;margin-top:18px;padding:13px 25px;border:1px solid #e7b956;border-radius:10px;background:#e7b956;color:#321010;font-size:13px;font-weight:950;letter-spacing:.5px;box-shadow:0 7px 18px rgba(0,0,0,.20);cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.hero-order-btn:hover{background:#f0c96f;transform:translateY(-2px);box-shadow:0 10px 24px rgba(0,0,0,.25)}
.hero-order-btn:active{transform:translateY(0);box-shadow:0 5px 12px rgba(0,0,0,.18)}


/* FINAL CUSTOMER WEBSITE LAYOUT — preserve verified functionality, only refine presentation */
.topbar{
  min-height:82px;
  padding:12px clamp(18px,3vw,42px);
}
.brand-logo{width:62px;height:62px}
.brand-copy strong{font-size:20px}
.brand-copy small{font-size:10px}
.top-actions{gap:14px}
.header-actions{gap:10px}
.header-order{padding:10px 16px}
.cart-pill{
  display:inline-flex;
  align-items:center;
  gap:7px;
  white-space:nowrap;
  padding:10px 14px;
}
.cart-pill #cartCount{opacity:.9}
.cart-pill #cartAmount{font-weight:900}

/* Reduce the large hero so the menu starts much higher while retaining the logo artwork. */
.hero-inner{
  min-height:250px;
  padding:28px 24px 30px;
  grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr);
}
.hero-brand-art img{width:min(100%,390px)}
.hero h1{font-size:34px}
.hero-badges{margin-top:14px}
.hero-order-btn{margin-top:14px}

/* Keep the three important menu families expanded and visually prominent. */
.cat-group.has-prominence>.cat-btn{
  font-weight:900;
  font-size:15px;
  min-height:50px;
}
.cat-group.has-prominence>.cat-btn .cat-arrow{font-size:16px}
.cat-children.shown{display:block}
.subcat-btn{font-size:13px}

@media(max-width:700px){
  .topbar{min-height:70px;padding:9px 14px}
  .brand-logo{width:50px;height:50px}
  .hero-inner{min-height:0;padding:30px 18px 30px}
}


/* August 18 refinement: shorter hero, fixed checkout totals and payment in view. */
@media(min-width:701px){
  .hero-inner{min-height:188px;padding:20px 24px 22px;}
  .hero-brand-art img{width:min(100%,310px);}
  .hero h1{font-size:32px;margin:4px 0 8px;}
  .hero-badges{margin-top:10px;}
  .hero-order-btn{margin-top:10px;padding:11px 22px;}
  .checkout{padding:10px 18px;overflow:hidden;display:flex;flex-direction:column;}
  #cartItems{max-height:92px;overflow-y:auto;flex:0 0 auto;}
  .cart-row{padding:7px 0;}
  .order-summary-chip{padding:7px 10px;}
  .toggle-row{margin:8px 0;}
  .checkout input,.checkout textarea,.checkout select{padding:9px;margin:3px 0;}
  .checkout textarea{min-height:50px;}
  .summary{margin-top:7px;padding-top:6px;}
  .summary div{padding:3px 0;}
  .summary .grand{margin-top:3px;padding-top:6px;}
  .free-hint{padding:6px;margin:6px 0;}
  .payment-choice{padding:8px 10px;margin:7px 0;}
  .pay-button{padding:12px;}
  #paymentNote{margin:6px 0 0;}
}


/* Regression fix: desktop headline stays on one line. */
@media (min-width:701px){
  .hero-copy h1{
    white-space:nowrap;
    font-size:clamp(27px,2.05vw,32px);
    letter-spacing:-0.35px;
  }
}
@media (max-width:700px){
  .hero-copy h1{white-space:normal;}
}

/* Contact visibility + mobile-first SEO/UX refinement */
.contact-strip{background:#f2b94f;color:#3a2817;border-bottom:1px solid rgba(58,40,23,.15);font-size:13px}
.contact-strip-inner{max-width:1280px;margin:auto;min-height:48px;padding:8px 24px;display:flex;align-items:center;justify-content:center;gap:24px;flex-wrap:wrap}
.contact-strip a{color:inherit;text-decoration:none;font-weight:700;white-space:nowrap}
.contact-strip a:hover{text-decoration:underline}
.contact-strip .hours{font-weight:700;white-space:nowrap}
.map-link{display:inline-flex;align-items:center;gap:4px}

@media(max-width:700px){
  .contact-strip-inner{justify-content:flex-start;gap:7px 14px;padding:8px 14px;line-height:1.35}
  .contact-strip .hours{order:3;width:100%;white-space:normal;font-size:12px}
  .contact-strip a span{font-size:12px}
  .contact-strip .map-link{margin-left:auto}
  .topbar{position:sticky;top:0;z-index:20}
  .header-actions{gap:6px}
  .header-order{padding:8px 10px;font-size:12px}
  .cart-pill{padding:8px 10px;font-size:12px;gap:4px}
  .hero-inner{padding:28px 16px 30px}
  .hero h1{font-size:clamp(28px,8vw,36px);line-height:1.08}
  main{padding:12px}
  .notice{font-size:12px;padding:10px 12px}
  .drawer-head,.checkout{max-width:none;width:100%}
  .checkout{height:calc(100dvh - 58px);padding:12px 14px}
  #cartItems{max-height:32vh}
  .payment-choice{font-size:12px}
  .payment-choice strong{font-size:11px;text-align:right}
  .site-footer{padding:28px 18px}
}

@media(max-width:420px){
  .brand-copy{display:none}
  .brand-logo{width:46px;height:46px}
  .header-order{padding:8px 9px}
  .cart-pill{padding:8px 9px}
  .hero-copy h1{font-size:28px}
  .hero-badges span{font-size:11px}
}

/* Monsoon offer/card image regression fix — keep every desktop card at a compact, consistent height. */
@media (min-width: 761px){
  .menu-grid{align-items:start;}
  .menu-grid .card{
    height:210px;
    min-height:210px;
    max-height:210px;
    align-items:stretch;
  }
  .menu-grid .card .photo{
    height:208px;
    min-height:208px;
    max-height:208px;
  }
  .menu-grid .card .photo img{
    width:100%;
    height:208px;
    min-height:208px;
    max-height:208px;
    object-fit:cover;
    object-position:center;
  }
  .menu-grid .card .card-body{
    min-width:0;
    overflow:hidden;
  }
}

.choice-list{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px}.choice-option{border:1px solid #d6d0c8;border-radius:10px;padding:10px 14px;cursor:pointer;background:#fff}.choice-option:has(input:checked){border-color:#8b1720;background:#fff4f4}.choice-option input{margin-right:7px}

/* Final cart compactness + unambiguous active category state */
.cat-btn.active,
.cat-group.single .cat-btn.active{
  background:var(--brand)!important;
  color:#fff!important;
  border-left:4px solid #f2b94f!important;
  font-weight:800!important;
}
.subcat-btn.active{
  background:#f4e7d6!important;
  color:var(--brand)!important;
  border-left:4px solid var(--brand)!important;
  font-weight:800!important;
}
.subcat-btn:not(.active){
  background:transparent!important;
  color:#49433f!important;
  border-left:0!important;
  font-weight:400!important;
}
.cat-group.has-active-child>.cat-btn{
  background:#fff8f0!important;
  color:var(--brand)!important;
  font-weight:800!important;
}
.cat-group.has-active-child>.cat-btn .cat-arrow{color:var(--brand)!important;}

@media (min-width:701px){
  .drawer-head{height:56px;padding:9px 18px;}
  .drawer-head h2{font-size:22px;}
  .checkout{
    height:calc(100vh - 56px)!important;
    padding:8px 18px 9px!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
  }
  #cartItems{max-height:74px!important;overflow-y:auto!important;flex:0 0 auto!important;}
  .cart-row{padding:5px 0!important;font-size:13px;}
  .cart-row .small{font-size:10px;}
  .order-summary-chip{padding:5px 9px!important;min-height:28px;}
  .toggle-row{margin:5px 0!important;gap:6px;}
  .type-btn{padding:8px!important;}
  #customerFields{display:grid;grid-template-columns:1fr 1fr;gap:4px 7px;}
  #customerFields input,#customerFields textarea,#customerFields select{margin:0!important;padding:7px 9px!important;min-height:36px;}
  #customerFields textarea{grid-column:1 / 2;min-height:42px!important;height:42px!important;}
  #customerFields select{grid-column:2 / 3;grid-row:2 / 4;height:82px;}
  .summary{margin-top:5px!important;padding-top:5px!important;}
  .summary div{padding:2px 0!important;}
  .summary .grand{font-size:17px!important;margin-top:2px!important;padding-top:4px!important;}
  .free-hint{padding:4px 7px!important;margin:4px 0!important;font-size:11px!important;}
  .payment-choice{padding:6px 9px!important;margin:5px 0!important;}
  .pay-button{padding:11px!important;min-height:44px;}
  #paymentNote{font-size:10px!important;margin:3px 0 0!important;}
}

.delivery-eta{margin-top:6px;font-size:.9rem;font-weight:600;}

/* pos-compact-items-fix */
.mi{min-height:0!important;height:auto!important;padding:8px 10px!important;line-height:1.25!important;align-content:center!important}
.mi b{line-height:1.25!important;margin:0!important}
.mi span{margin-top:2px!important}

/* Customer lookup checkout: keep the mobile field unmistakable and trigger lookup from it. */
#customerFields{display:flex!important;flex-direction:column!important;gap:5px!important;}
#customerFields #custPhone{order:1;width:100%!important;display:block!important;}
#customerFields #returningCustomerHint{order:2;width:100%;padding:7px 9px;border:1px solid #c9dfcf;background:#eef8f0;border-radius:8px;color:#245b35;}
#customerFields #custName{order:3;width:100%!important;display:block!important;}
#customerFields #custAddress{order:4;width:100%!important;display:block!important;min-height:42px!important;height:42px!important;}
#customerFields #zone{order:5;width:100%!important;display:block!important;height:auto!important;}
#customerFields #deliveryEta{order:6;}


/* Single-viewport order panel: customer details first, items next, charges and action below. */
@media (min-width:701px){
  .drawer-head{max-width:520px;padding:10px 18px}
  .drawer-head h2{font-size:22px}
  .checkout{
    height:calc(100vh - 52px);
    min-height:0;
    padding:6px 18px 8px;
    overflow:hidden;
    gap:0;
  }
  .order-summary-chip{padding:5px 9px;border-radius:8px;font-size:11px}
  .toggle-row{margin:5px 0;gap:6px}
  .type-btn{padding:7px;border-radius:8px}
  #customerFields{min-height:0}
  .checkout input,.checkout textarea,.checkout select{
    padding:6px 9px;
    min-height:31px;
    margin:2px 0;
    border-radius:8px;
  }
  .checkout textarea{min-height:40px;height:40px;resize:none}
  #returningCustomerHint{padding:3px 7px;line-height:1.25}
  #customerHistoryPanel{
    max-height:52px;
    overflow:auto;
    margin:1px 0;
    padding:3px 7px;
    line-height:1.25;
  }
  #cartItems{
    max-height:clamp(110px, 22vh, 205px);
    min-height:0;
    overflow-y:auto;
    margin-top:4px;
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
  }
  .cart-row{padding:5px 0;gap:8px;min-height:34px}
  .cart-row .small{line-height:1.15}
  .qty{gap:4px}
  .qty button{width:25px;height:25px;border-radius:7px}
  .summary{margin-top:4px;padding-top:4px}
  .summary div{padding:2px 0}
  .summary .grand{font-size:17px;margin-top:2px;padding-top:4px}
  .free-hint{padding:4px 7px;margin:3px 0;font-size:11px}
  .payment-area{
    position:static!important;
    margin-top:3px!important;
    padding:4px 0 0!important;
    border-top:1px solid var(--line);
    box-shadow:none!important;
  }
  .payment-choice{padding:5px 8px;margin:3px 0!important;border-radius:8px}
  .payment-choice span{display:none}
  .payment-choice strong{font-size:11px}
  .pay-button{padding:9px;min-height:38px}
  #paymentNote{display:none}
}
@media (max-width:700px){
  /* On smaller screens, preserve usability while keeping customer details before items. */
  .checkout{display:flex;flex-direction:column}
  #cartItems{max-height:38vh;overflow-y:auto}
}


/* FINAL CART VIEWPORT FIX: compact customer block, expandable item list, fixed totals/action. */
@media (min-width:701px){
  .checkout{height:calc(100vh - 56px)!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;padding:8px 18px 10px!important}
  .order-summary-chip{flex:0 0 auto}
  .toggle-row{flex:0 0 auto}
  #customerFields{display:grid!important;grid-template-columns:1fr 1fr!important;gap:4px 7px!important;flex:0 0 auto!important}
  #customerFields #custPhone{grid-column:1 / -1!important}
  #customerFields #returningCustomerHint{grid-column:1 / -1!important}
  #customerFields #customerHistoryPanel{grid-column:1 / -1!important;max-height:0!important;margin:0!important;padding:0!important;border:0!important;overflow:hidden!important}
  #customerFields #custName{grid-column:1!important}
  #customerFields #custAddress{grid-column:2!important;grid-row:3 / span 2!important;height:76px!important;min-height:76px!important}
  #customerFields #zone{grid-column:1!important}
  #customerFields #deliveryEta{display:none!important}
  .checkout input,.checkout textarea,.checkout select{padding:7px 9px!important;margin:0!important;min-height:35px!important}
  #cartItems{flex:1 1 auto!important;min-height:76px!important;max-height:none!important;overflow-y:auto!important;margin-top:5px!important;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
  .cart-row{padding:5px 0!important;min-height:35px!important}
  .summary,.free-hint,.payment-area{flex:0 0 auto!important}
  .summary{margin-top:4px!important;padding-top:4px!important}
  .summary div{padding:2px 0!important}
  .summary .grand{padding-top:4px!important;margin-top:2px!important}
  .payment-area{padding-top:4px!important}
  .payment-choice{margin:4px 0!important;padding:6px 9px!important}
  .pay-button{padding:10px!important;min-height:40px!important}
}


/* POS customer favourites: always shown below the selected category items */
.pos-favourites{grid-column:1/-1;margin-top:18px;padding-top:14px;border-top:2px solid #d8c8ad}
.pos-favourites-title{font-weight:800;font-size:18px;color:#6f1d1d;margin-bottom:3px}
.pos-favourites-subtitle{font-size:12px;color:#756b5e;margin-bottom:10px}
.pos-favourite-item{border-left:4px solid #8e2023}
.pos-favourite-item small{font-weight:400;color:#756b5e}


/* Website checkout layout fix: keep customer details in the agreed vertical order. */
#customerFields{display:flex!important;flex-direction:column!important;gap:5px!important;}
#customerFields #custPhone{order:1!important;width:100%!important;display:block!important;}
#customerFields #returningCustomerHint{order:2!important;width:100%!important;}
#customerFields #customerHistoryPanel{order:3!important;width:100%!important;}
#customerFields #custName{order:4!important;width:100%!important;display:block!important;}
#customerFields #custAddressLabel{order:5!important;display:block!important;margin:3px 0 -2px!important;font-size:12px!important;font-weight:600!important;color:var(--muted)!important;}
#customerFields #custAddress{order:6!important;width:100%!important;display:block!important;min-height:42px!important;height:42px!important;grid-column:auto!important;grid-row:auto!important;}
#customerFields #zone{order:7!important;width:100%!important;display:block!important;height:auto!important;grid-column:auto!important;grid-row:auto!important;}
#customerFields #deliveryEta{order:8!important;}
@media (min-width:701px){
  #customerFields{display:flex!important;flex-direction:column!important;grid-template-columns:none!important;}
  #customerFields #custPhone,#customerFields #custName,#customerFields #custAddress,#customerFields #zone{grid-column:auto!important;grid-row:auto!important;width:100%!important;}
}


/* Checkout scrolling + Razorpay verification recovery fix (2026-08-22).
   The previous viewport-fit rules ended with overflow:hidden, which trapped wheel/keyboard scrolling.
   Let the checkout itself own the vertical scroll so all payment results remain reachable. */
.drawer{overflow:hidden;}
.checkout{overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;}
@media (min-width:701px){
  .checkout{height:calc(100vh - 56px)!important;min-height:0!important;overflow-y:auto!important;}
  #cartItems{flex:0 0 auto!important;min-height:0!important;max-height:min(32vh,260px)!important;overflow-y:auto!important;}
  .payment-area{position:static!important;margin-top:8px!important;}
}
@media (max-width:700px){
  .checkout{height:calc(100dvh - 58px)!important;overflow-y:auto!important;}
}
