
/* Ordering experience: familiar delivery-app interaction patterns, original Kebabsera styling */
.cart-button{position:relative;width:44px;height:44px;border:0;background:transparent;color:var(--green);display:grid;place-items:center;border-radius:50%;cursor:pointer;transition:.2s}.cart-button:hover{background:rgba(13,59,44,.08)}.cart-button svg{width:27px;height:27px}.cart-count{position:absolute;left:-3px;top:-3px;min-width:19px;height:19px;padding:0 5px;border-radius:20px;background:#c98b32;color:white;border:2px solid #fffaf4;font:800 11px/15px Manrope,sans-serif;text-align:center;display:none}.cart-count.show{display:block}
.order-toolbar{margin-top:28px;background:#fffaf4;border:1px solid #eadcc8;border-radius:22px;padding:14px 18px;display:flex;align-items:center;gap:16px;box-shadow:0 10px 28px rgba(62,38,16,.06)}.fulfillment-switch{display:flex;background:#eee7dc;padding:4px;border-radius:999px;gap:3px}.fulfillment-pill{border:0;background:transparent;padding:9px 18px;border-radius:999px;font:800 13px Manrope,sans-serif;color:#5b554d;cursor:pointer}.fulfillment-pill.active{background:var(--green);color:white;box-shadow:0 4px 12px rgba(13,59,44,.18)}.order-location-copy{display:flex;flex-direction:column;min-width:0}.order-location-copy strong{font-size:14px}.order-location-copy span{font-size:12px;color:var(--muted)}.view-order-button{margin-left:auto;border:0;border-radius:999px;background:#111;color:white;padding:11px 18px;font-weight:800;cursor:pointer}.view-order-button span{display:inline-grid;place-items:center;background:white;color:#111;border-radius:50%;min-width:21px;height:21px;margin-left:6px;font-size:11px}.category-chips{display:flex;gap:9px;padding-top:16px;overflow-x:auto;scrollbar-width:none}.category-chips::-webkit-scrollbar{display:none}.category-chips a{white-space:nowrap;padding:9px 15px;border:1px solid #dbc9af;background:#fffaf4;border-radius:999px;text-decoration:none;color:var(--ink);font-size:13px;font-weight:800}
.food-menu-card,.sandwich-menu-card,.order-extra-row{position:relative;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.food-menu-card:hover,.sandwich-menu-card:hover,.order-extra-row:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(50,29,11,.08);border-color:#d6b77f}.food-menu-card:focus-visible,.sandwich-menu-card:focus-visible,.order-extra-row:focus-visible{outline:3px solid rgba(201,149,69,.42);outline-offset:3px}.menu-add-button{position:absolute;right:14px;bottom:14px;width:38px;height:38px;border:1px solid #d8c8b4;background:white;color:#111;border-radius:50%;font-size:25px;line-height:1;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.08)}.order-extra-row{padding-right:44px!important}.mini-add{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:27px;height:27px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(255,255,255,.42);font-size:19px}.extras-list .order-extra-row{position:relative}
.ordering-overlay{position:fixed;inset:0;background:rgba(0,0,0,.48);z-index:4100;opacity:0;transition:opacity .23s ease}.ordering-overlay.open{opacity:1}.item-sheet,.checkout-sheet{position:fixed;z-index:4200}.item-sheet{left:50%;top:50%;transform:translate(-50%,-46%) scale(.98);width:min(660px,calc(100% - 28px));max-height:min(850px,92vh);background:white;border-radius:26px;overflow:hidden;box-shadow:0 34px 90px rgba(0,0,0,.24);opacity:0;transition:.25s ease;display:flex;flex-direction:column}.item-sheet.open{opacity:1;transform:translate(-50%,-50%) scale(1)}.sheet-handle{display:none}.sheet-close,.drawer-close{border:0;background:rgba(255,255,255,.94);width:38px;height:38px;border-radius:50%;font-size:27px;line-height:1;cursor:pointer}.item-sheet>.sheet-close{position:absolute;right:15px;top:15px;z-index:2;box-shadow:0 3px 14px rgba(0,0,0,.12)}.item-sheet-scroll{overflow:auto}.item-sheet-media{height:310px;background:#f5f0e8;display:grid;place-items:center;padding:14px;overflow:hidden}.item-sheet-media img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;object-position:center;border-radius:16px}.item-sheet-media img.menu-source-image{width:auto;height:min(100%,280px);max-width:min(100%,500px);image-rendering:auto}.item-sheet-body{padding:25px 25px 18px}.item-sheet-body h2{font:700 32px/1.12 "Playfair Display",serif;margin:0;color:var(--green)}.item-sheet-description{color:#5f5850;margin:10px 0}.item-sheet-price{font-weight:800;font-size:18px;margin:12px 0 20px}.option-group{border-top:1px solid #eee4d8;padding:19px 0}.option-group h3{font-size:16px;margin:0 0 4px}.option-help{font-size:12px;color:#81786f;margin:0 0 12px}.option-choice{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:11px 0;cursor:pointer}.option-choice span{display:flex;align-items:center;gap:10px}.option-choice input{width:20px;height:20px;accent-color:var(--green)}.option-choice b{font-size:13px}.instructions-field{display:flex;flex-direction:column;gap:8px;border-top:1px solid #eee4d8;padding-top:19px;font-weight:800;font-size:14px}.instructions-field small{color:#8a8278;font-weight:500}.instructions-field textarea,.delivery-notes textarea{resize:none;min-height:86px;border:1px solid #ddd1c0;border-radius:13px;padding:12px;font:14px Manrope,sans-serif;background:#fffdfa}.sheet-action-bar{padding:14px 18px calc(14px + env(safe-area-inset-bottom));border-top:1px solid #eee1d2;display:flex;gap:12px;background:white}.quantity-stepper{display:flex;align-items:center;background:#f3eee6;border-radius:999px;overflow:hidden;min-width:122px;justify-content:space-between}.quantity-stepper button{border:0;background:transparent;width:40px;height:48px;font-size:22px;cursor:pointer}.add-to-order,.checkout-button{flex:1;border:0;border-radius:999px;background:#111;color:#fff;padding:14px 20px;font:800 14px Manrope,sans-serif;cursor:pointer}.add-to-order #addToOrderPrice{margin-left:7px;color:#e7c482}.add-to-order #addToOrderLabel{color:#fff}
.cart-drawer{position:fixed;right:0;top:0;height:100dvh;width:min(470px,100%);z-index:4300;background:#fffdfa;box-shadow:-20px 0 60px rgba(0,0,0,.18);transform:translateX(102%);transition:transform .3s cubic-bezier(.2,.8,.2,1);display:flex;flex-direction:column}.cart-drawer.open{transform:none}.cart-header{padding:22px 20px 14px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eee1d2}.cart-header p,.checkout-card header p{margin:0;color:#867b6f;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.12em}.cart-header h2,.checkout-card header h2{margin:0;font:700 29px/1.1 "Playfair Display",serif;color:var(--green)}.drawer-close{background:#f2ede6}.cart-mode-switch{display:grid;grid-template-columns:1fr 1fr;background:#eee8df;padding:4px;margin:14px 20px 0;border-radius:999px}.cart-mode-switch button{border:0;background:transparent;padding:10px;border-radius:999px;font-weight:800;color:#625a51;cursor:pointer}.cart-mode-switch button.active{background:white;color:#111;box-shadow:0 3px 10px rgba(0,0,0,.08)}.cart-scroll{overflow:auto;padding:10px 20px 24px;flex:1}.empty-cart{text-align:center;padding:60px 18px}.empty-bag-icon{font-size:50px}.empty-cart h3{font:700 26px "Playfair Display",serif;color:var(--green);margin:9px 0}.empty-cart p{color:#776e64}.cart-item{display:grid;grid-template-columns:76px 1fr auto;gap:12px;padding:16px 0;border-bottom:1px solid #eee3d6}.cart-item img{width:76px;height:76px;border-radius:12px;object-fit:cover}.cart-item h3{font-size:14px;margin:0 0 3px}.cart-item-options,.cart-item-notes{font-size:11px;color:#766e66;line-height:1.45}.cart-item-price{font-weight:800;font-size:13px;text-align:right}.cart-line-actions{display:flex;align-items:center;gap:8px;margin-top:9px}.cart-line-actions button{border:1px solid #ded3c5;background:white;border-radius:50%;width:27px;height:27px;cursor:pointer}.cart-line-actions .remove-line{border:0;border-radius:0;width:auto;color:#9a4b38;font-size:11px;margin-left:3px}.delivery-panel{margin-top:18px;padding:18px;background:#f7f1e7;border-radius:18px}.delivery-panel h3{margin:0;color:var(--green)}.delivery-panel>p{font-size:12px;color:#746a60}.address-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.address-grid label,.delivery-notes,.checkout-fields label{display:flex;flex-direction:column;gap:5px;font-size:11px;font-weight:800;color:#544d46}.address-grid .span-2{grid-column:span 2}.address-grid input,.checkout-fields input{height:43px;border:1px solid #d9cebd;border-radius:11px;background:white;padding:0 11px;font:14px Manrope,sans-serif}.delivery-notes{margin-top:10px}.quote-button{width:100%;margin-top:12px;border:1px solid var(--green);color:var(--green);background:white;border-radius:999px;padding:12px;font-weight:800;cursor:pointer}.quote-result{font-size:12px;margin-top:10px}.quote-result.success{color:#176a4d}.quote-result.error{color:#a33d2c}.cart-footer{border-top:1px solid #eaddca;background:#fff;padding:14px 20px calc(16px + env(safe-area-inset-bottom))}.summary-row{display:flex;justify-content:space-between;gap:14px;padding:5px 0;font-size:13px}.summary-row.subtle{font-size:11px;color:#7b7369}.summary-row.total{font-size:17px;padding:10px 0 13px;border-top:1px solid #eee4d7;margin-top:6px}.secure-note{text-align:center;color:#827970;font-size:10px;margin:8px 0 0}
.checkout-sheet{inset:0;display:grid;place-items:center;background:rgba(0,0,0,.48);opacity:0;transition:.2s}.checkout-sheet.open{opacity:1}.checkout-card{width:min(620px,calc(100% - 28px));max-height:92vh;overflow:hidden;background:#fffdfa;border-radius:24px;box-shadow:0 34px 90px rgba(0,0,0,.24);display:flex;flex-direction:column}.checkout-card header{display:grid;grid-template-columns:42px 1fr 42px;align-items:center;gap:10px;padding:18px 20px;border-bottom:1px solid #eee3d5}.checkout-card header .sheet-close{background:#f2ede6}.back-checkout{border:0;background:#f2ede6;border-radius:50%;width:38px;height:38px;cursor:pointer;font-size:20px}.checkout-body{overflow:auto;padding:20px}.checkout-fields{display:grid;gap:12px}.checkout-review{margin-top:20px;border-top:1px solid #eee2d5;padding-top:15px}.checkout-review-row{display:flex;justify-content:space-between;font-size:13px;padding:6px 0}.checkout-review-row.total{font-weight:800;font-size:16px}.checkout-status{font-size:12px;margin-top:12px}.checkout-status.error{color:#a33d2c}.checkout-card footer{padding:15px 20px calc(16px + env(safe-area-inset-bottom));border-top:1px solid #eee3d5;display:flex;flex-direction:column;gap:9px}.checkout-call{text-align:center;color:var(--green);font-size:12px;font-weight:800;text-decoration:none}.order-toast{position:fixed;left:50%;bottom:22px;z-index:5000;transform:translate(-50%,20px);opacity:0;background:#111;color:white;border-radius:999px;padding:11px 17px;font-size:12px;transition:.2s;pointer-events:none}.order-toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:980px){.order-toolbar{margin-top:20px}.cart-button{margin-left:auto}.nav-actions{margin-left:auto}.desktop-nav{display:none}.menu-toggle{display:block}}
@media(max-width:620px){.item-sheet-media{height:230px;padding:12px}.item-sheet-media img.menu-source-image{height:min(100%,210px);max-width:min(100%,500px)}.order-toolbar{padding:11px 12px;gap:10px;flex-wrap:wrap}.fulfillment-switch{order:1}.order-location-copy{order:2;flex:1}.view-order-button{order:3;width:100%;margin:0}.item-sheet{left:0;right:0;top:auto;bottom:0;width:100%;max-height:94dvh;border-radius:22px 22px 0 0;transform:translateY(100%)}.item-sheet.open{transform:none}.sheet-handle{display:block;width:42px;height:4px;border-radius:4px;background:#d9d3cc;margin:8px auto 0}.item-sheet-media{height:245px}.item-sheet-body{padding:20px}.item-sheet-body h2{font-size:28px}.sheet-action-bar{position:sticky;bottom:0}.cart-drawer{width:100%}.address-grid{grid-template-columns:1fr}.address-grid .span-2{grid-column:auto}.checkout-card{width:100%;height:100dvh;max-height:none;border-radius:0}.menu-add-button{right:10px;bottom:10px}.food-menu-card{min-height:150px}.cart-count{left:-5px;top:-4px}}


/* =========================================================
   INTERACTION RELIABILITY + PROFESSIONAL SPACING FIX
   ========================================================= */
/* Author CSS can otherwise override the browser's [hidden] rule. Closed
   ordering surfaces must be truly absent and never intercept taps. */
.ordering-overlay[hidden],
.item-sheet[hidden],
.checkout-sheet[hidden],
.delivery-panel[hidden],
.cart-footer[hidden],
.cart-items[hidden],
.empty-cart[hidden]{display:none!important}
.ordering-overlay:not(.open),
.item-sheet:not(.open),
.checkout-sheet:not(.open),
.cart-drawer:not(.open){pointer-events:none!important}
.ordering-overlay.open,
.item-sheet.open,
.checkout-sheet.open,
.cart-drawer.open{pointer-events:auto}

/* Ensure buttons themselves always own their tap area. */
button,.fulfillment-pill,.view-order-button,.cart-button,.menu-toggle,.menu-add-button,.quote-button,.checkout-button,.back-checkout,.sheet-close,.drawer-close{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
button:disabled{cursor:not-allowed;opacity:.58}

/* Ordering toolbar: no overlap at any breakpoint. */
.order-toolbar{
  display:grid;
  grid-template-columns:auto minmax(180px,1fr) auto;
  align-items:center;
  column-gap:18px;
  row-gap:12px;
  padding:15px 18px;
}
.fulfillment-switch{min-width:max-content}
.fulfillment-pill{min-height:40px;display:inline-flex;align-items:center;justify-content:center}
.order-location-copy{min-width:0;line-height:1.35}
.order-location-copy strong,.order-location-copy span{overflow-wrap:anywhere}
.view-order-button{margin-left:0;min-height:42px;white-space:nowrap}

/* Reserve a real grid column for + buttons instead of floating them over text. */
.food-menu-card{
  grid-template-columns:112px minmax(0,1fr) 42px!important;
  gap:16px!important;
  padding:16px 14px!important;
  align-items:center;
}
.food-menu-card .menu-card-copy{min-width:0;padding:0!important}
.food-menu-card>.menu-add-button{
  position:static!important;
  inset:auto!important;
  grid-column:3;
  align-self:center;
  justify-self:center;
  margin:0!important;
  flex:0 0 auto;
}
.menu-item-top{align-items:flex-start;min-width:0}
.menu-item-top h3{min-width:0;overflow-wrap:anywhere}
.menu-card-copy p{padding:0!important;margin-right:0!important}

/* Burger card: dedicate space to the action button on desktop. */
.sandwich-menu-card{
  grid-template-columns:minmax(0,1fr) minmax(0,1.05fr) 58px!important;
  align-items:stretch;
}
.sandwich-menu-card>.menu-add-button{
  position:static!important;
  inset:auto!important;
  align-self:center;
  justify-self:center;
  margin:0 14px 0 0!important;
}
.sandwich-content{min-width:0}

/* Extras: three explicit columns prevent the price/add icon from colliding. */
.extras-list .order-extra-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto 30px;
  align-items:center;
  gap:10px!important;
  padding:13px 0!important;
}
.extras-list .order-extra-row>span:first-child{min-width:0;overflow-wrap:anywhere}
.extras-list .order-extra-row>strong{white-space:nowrap}
.extras-list .order-extra-row>.mini-add{
  position:static!important;
  inset:auto!important;
  transform:none!important;
  margin:0!important;
  justify-self:end;
}

/* Item sheet action area stays clear of content. */
.sheet-action-bar{
  display:grid;
  grid-template-columns:128px minmax(0,1fr);
  align-items:center;
  gap:12px;
  padding:14px 18px calc(14px + env(safe-area-inset-bottom));
}
.quantity-stepper{min-width:0;width:128px}
.add-to-order,.checkout-button{min-height:48px;line-height:1.25;white-space:normal;text-align:center}

/* Cart rows retain readable text at narrow widths. */
.cart-item{grid-template-columns:72px minmax(0,1fr) auto;align-items:start}
.cart-item>div:nth-child(2){min-width:0}
.cart-item h3,.cart-item-options,.cart-item-notes{overflow-wrap:anywhere}
.cart-line-actions{flex-wrap:wrap;row-gap:7px}

/* Header controls stay on their own side with no brand collision. */
@media(max-width:980px){
  .nav-wrap{display:flex!important;align-items:center!important}
  .brand{max-width:calc(100% - 112px)!important;min-width:0!important}
  .brand-copy{min-width:0}
  .brand-copy strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .nav-actions{display:flex!important;align-items:center!important;gap:4px!important;margin-left:auto!important;flex:0 0 auto}
  .cart-button,.menu-toggle{flex:0 0 44px}
  .order-toolbar{grid-template-columns:auto minmax(0,1fr);padding:13px 14px}
  .view-order-button{grid-column:1/-1;width:100%;margin:0}
}

@media(max-width:700px){
  .food-menu-card{grid-template-columns:88px minmax(0,1fr) 38px!important;gap:12px!important;padding:13px 10px 13px 13px!important}
  .food-menu-card>.menu-add-button{width:36px;height:36px;font-size:22px}
  .sandwich-menu-card{grid-template-columns:1fr!important;position:relative}
  .sandwich-menu-card>.menu-add-button{
    position:absolute!important;
    right:18px!important;
    bottom:18px!important;
    margin:0!important;
  }
  .sandwich-content{padding:26px 22px 82px!important}
  .extras-list .order-extra-row{grid-template-columns:minmax(0,1fr) auto 28px}
  .cart-item{grid-template-columns:64px minmax(0,1fr) auto;gap:10px}
  .cart-item img{width:64px;height:64px}
}

@media(max-width:480px){
  .order-toolbar{grid-template-columns:1fr!important;gap:10px}
  .fulfillment-switch{width:100%;display:grid;grid-template-columns:1fr 1fr}
  .fulfillment-pill{width:100%}
  .order-location-copy{padding:2px 3px 0}
  .view-order-button{grid-column:auto}
  .food-menu-card{grid-template-columns:76px minmax(0,1fr) 34px!important;gap:10px!important}
  .menu-dish-photo{width:76px!important;height:76px!important}
  .food-menu-card>.menu-add-button{width:34px;height:34px;font-size:21px}
  .menu-item-top{flex-direction:column!important;gap:4px!important}
  .sheet-action-bar{grid-template-columns:118px minmax(0,1fr);padding-inline:12px;gap:9px}
  .quantity-stepper{width:118px}
  .add-to-order{padding-inline:12px;font-size:13px}
  .cart-scroll{padding-inline:14px}
  .cart-footer{padding-inline:14px}
}

@media(max-width:350px){
  .sheet-action-bar{grid-template-columns:1fr}
  .quantity-stepper{width:100%}
  .food-menu-card{grid-template-columns:68px minmax(0,1fr)!important}
  .menu-dish-photo{width:68px!important;height:68px!important}
  .food-menu-card>.menu-add-button{grid-column:1/-1;justify-self:end;margin-top:2px!important}
}

.empty-bag-icon{width:52px;height:52px;margin:0 auto 8px;display:grid;place-items:center;color:var(--green)}
.empty-bag-icon svg{width:50px;height:50px;display:block}

/* Modal/cart scroll lock: prevents background page movement on iOS and desktop. */
html.no-scroll,body.no-scroll{overflow:hidden!important;overscroll-behavior:none!important}
body.no-scroll{position:fixed!important;left:0;right:0;width:100%!important}
.cart-scroll,.item-sheet-scroll,.checkout-body{-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
/* Polished spacing for cart and checkout. */
.delivery-panel{padding:18px 18px 20px}
.delivery-panel h3{margin-bottom:12px}
.quote-button{margin-top:14px}
.cart-footer .checkout-button{margin-top:4px}
.checkout-card footer{gap:12px}


/* Final interaction polish: stable modal close, crisp detail imagery, cart drill-in. */
.item-sheet-media{
  height:340px;
  padding:0;
  background:#f4eee5;
}
.item-sheet-media img,
.item-sheet-media img.menu-source-image{
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  object-position:center;
  border-radius:0;
  image-rendering:auto;
}
.cart-item{cursor:pointer;border-radius:12px;transition:background .18s ease}
.cart-item:hover{background:#faf5ed}
.cart-item:active{background:#f5eee4}
.cart-item-price{display:flex;flex-direction:column;align-items:flex-end;gap:3px}
.cart-detail-chevron{font-size:22px;line-height:1;color:#9c8e7d;font-weight:500}
.cart-line-actions button{position:relative;z-index:2}
@media(max-width:620px){
  .item-sheet-media{height:280px;padding:0}
  .item-sheet-media img.menu-source-image{height:100%;max-width:100%}
}
