:root{
  /* ---------- Type system (single source of truth) ---------- */
  --font:'Manrope', system-ui, -apple-system, sans-serif;
  --font-sans:var(--font);
  --font-micro:var(--font);

  --fs-display:28px;   /* order total, hero number */
  --fs-h1:22px;        /* page title */
  --fs-h2:18px;        /* section heading */
  --fs-h3:16px;        /* restaurant name, card title */
  --fs-ui:15px;        /* buttons, inputs */
  --fs-body:14px;      /* body copy */
  --fs-label:13px;     /* meta, secondary */
  --fs-caption:12px;   /* helper text */
  --fs-micro:11px;     /* badges, nav labels */

  --lh-tight:1.2;
  --lh-ui:1.35;
  --lh-body:1.5;

  --ls-display:-0.6px;
  --ls-heading:-0.3px;
  --ls-body:0;
  --ls-micro:0.3px;

  --fw-body:500;
  --fw-label:600;
  --fw-title:700;
  --fw-strong:800;

  /* ---------- Color ---------- */
  --nb-ink:#1C2024;
  --nb-muted:#697077;
  --nb-line:#E7EAED;
  --nb-offer-bg:#FEF3C7;
  --nb-offer:#D97706;
}
/* ============================================================
   NEARBITE — Global Stylesheet  (Premium Redesign)
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  background-color: #fff;
  color: var(--nb-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

/* ---------- Page Entrance ---------- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
body { animation: fadeIn 0.3s ease-out; }

/* ---------- Scrollbar Hide ---------- */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ============================================================
   PREMIUM CART BAR
   Dark floating pill — Swiggy/Zomato-level quality
   ============================================================ */
#cart-bar {
  position: fixed;
  bottom: 80px;
  left: 14px;
  right: 14px;
  background: linear-gradient(145deg, #1c1c1e 0%, #2c2c2e 100%);
  border-radius: 20px;
  padding: 13px 14px 13px 18px;
  z-index: 500;
  display: none;
  justify-content: space-between;
  align-items: center;
  /* Layered shadow for depth */
  box-shadow:
    0 -1px 0 rgba(255,255,255,0.06) inset,
    0 10px 40px rgba(0,0,0,0.35),
    0 4px 12px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.07);
}
#cart-bar.visible {
  display: flex;
  animation: cartSlideUp 0.42s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes cartSlideUp {
  0%   { transform: translateY(28px) scale(0.96); opacity: 0; }
  100% { transform: translateY(0)    scale(1);    opacity: 1; }
}

/* Cart bar left side */
.cart-inner-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cart-bag-wrap {
  width: 38px; height: 38px;
  background: var(--hd-soft, #FDEBEE);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--hd-soft, #FDEBEE);
  flex-shrink: 0;
}
.cart-bag-wrap i {
  font-size: 15px;
  color: var(--hd-on-light, #C13A50);
}
.cart-text-wrap {}
.cart-summary-text {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: 0.1px;
  font-family: var(--font-sans);
}
.cart-sub-text {
  font-size: 9px;
  color: rgba(255,255,255,0.4);
  font-weight: 600;
  margin-top: 4px;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-sans);
}
.cart-sub-text i {
  color: #FFD700;
  font-size: 8px;
}

/* Cart bar CTA button */
.cart-cta-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--hd-primary, #E9546B);
  color: var(--hd-ink, #0F172A);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
  padding: 10px 16px;
  border-radius: 13px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(15,23,42,0.18), 0 1px 4px rgba(15,23,42,0.10);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.cart-cta-btn:active {
  transform: scale(0.95);
  box-shadow: 0 2px 8px rgba(15,23,42,0.16);
}
.cart-cta-btn i { font-size: 10px; }

/* ============================================================
   PREMIUM ADD / STEPPER BUTTONS
   ============================================================ */
.add-btn-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 92px;
  height: 36px;
  background: #fff;
  border-radius: 12px;
  border: 1.5px solid #efefef;
  overflow: hidden;
  /* Crisp elevated shadow */
  box-shadow:
    0 4px 14px rgba(0,0,0,0.10),
    0 1px 3px rgba(0,0,0,0.06);
  transition: box-shadow 0.15s;
}
.add-btn-wrap:active { box-shadow: 0 1px 4px rgba(0,0,0,0.08); }

.add-btn-wrap button {
  flex: 1;
  height: 100%;
  border: none;
  background: transparent;
  font-size: 18px;
  font-weight: 700;
  color: var(--hd-on-light, #C13A50);
  cursor: pointer;
  font-family: var(--font-sans);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.12s;
}
.add-btn-wrap button:active { background: var(--hd-soft, #FDEBEE); }

.add-btn-wrap span {
  flex: 1;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--nb-ink);
  font-family: var(--font-sans);
  pointer-events: none;
}

/* Single ADD state */
.add-btn-single {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  color: var(--hd-on-light, #C13A50);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.12s;
}
.add-btn-single:active { background: #fff8f2; }

/* ============================================================
   FILTER PILLS  (refined)
   ============================================================ */
.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 15px;
  border: 1.5px solid #e8e8ec;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #777;
  background: #fff;
  white-space: nowrap;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all 0.18s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.filter-pill.active {
  border-color: var(--nb-ink);
  background: #1a1a1a;
  color: #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,0.18);
}

/* ============================================================
   BOTTOM NAV  (premium)
   ============================================================ */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 66px;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.07);
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  z-index: 400;
}
.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  color: #b0b0b8;
  transition: color 0.18s;
  cursor: pointer;
  position: relative;
}
.nav-item.active { color: var(--hd-on-light, #C13A50); }
.nav-item svg { width: 22px; height: 22px; }
.nav-item span { font-size: 10px; font-weight: 700; font-family: var(--font-sans); }

/* ============================================================
   VEG / NON-VEG INDICATOR
   ============================================================ */
.veg-dot {
  width: 14px; height: 14px;
  border-radius: 3px;
  border: 1.5px solid;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.veg-dot.veg    { border-color: var(--ew-success,#23956D); }
.veg-dot.veg    .dot { background: var(--ew-success,#23956D); }
.veg-dot.nonveg { border-color: #D64545; }
.veg-dot.nonveg .dot { background: #D64545; }
.veg-dot .dot   { width: 7px; height: 7px; border-radius: 50%; }

/* ============================================================
   SKELETON
   ============================================================ */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position:  600px 0; }
}
.skeleton {
  background: linear-gradient(90deg, #f0f0f2 25%, #e6e6ea 50%, #f0f0f2 75%);
  background-size: 1200px 100%;
  animation: shimmer 1.5s infinite linear;
  border-radius: 12px;
}

/* ============================================================
   MENU ITEM ANIMATION
   ============================================================ */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-slide-up {
  animation: slideUp 0.38s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

/* ============================================================
   FOOD CARD ANIMATION (under99)
   ============================================================ */
@keyframes slideInUp {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}
.food-card-animate {
  animation: slideInUp 0.45s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}


.cat-ring{
  width:70px;
  height:70px;
  border-radius:50%;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
}

.cat-ring img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:50%;
}



/* Eatswada global production typography */
html, body, button, input, textarea, select {
  font-family: var(--font-sans);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -moz-osx-font-smoothing: grayscale;
}
body { letter-spacing: -0.01em; }
button, input, textarea, select { letter-spacing: inherit; }


/* ============================================================
   NEARBITE — PRODUCTION UI/UX TYPOGRAPHY + SPATIAL SYSTEM
   Semantic refactor: dense marketplace scanning without clutter.
   ============================================================ */

:root{
  --nb-ink:#1C2024;
  --nb-muted:#697077;
  --nb-soft:#F6F7F8;
  --nb-card:#FFFFFF;
  --nb-line:#E7EAED;
  --nb-brand:var(--hd-primary, #E9546B);
  --nb-brand-ink:var(--hd-on-light, #C13A50);
  --nb-green:var(--ew-success, #23956D);
  --nb-offer:#D97706;
  --nb-offer-bg:#FEF3C7;
  --nb-radius-sm:10px;
  --nb-radius-md:14px;
  --nb-radius-lg:18px;
  --nb-shadow-card:0 2px 12px rgba(28,32,36,.06);
  --nb-shadow-float:0 10px 30px rgba(28,32,36,.12);
}

html{
  font-family:var(--font-sans);
  text-rendering:optimizeLegibility;
}

body{
  font-family:var(--font-sans) !important;
  color:var(--nb-ink);
  background:#fff;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  font-optical-sizing:auto;
}

button,input,textarea,select{
  font-family:var(--font-sans);
}

h1,h2,h3,h4,h5,h6{
  color:var(--nb-ink);
  font-weight:var(--fw-strong);
  line-height:var(--lh-tight);
  letter-spacing:var(--ls-heading);
}

p,small,.muted,.secondary,.description{
  color:var(--nb-muted);
}

.price,.price-old,.rating,.rating-num,.rating-count,.amount,.total,.subtotal,
.fee,.qty,.quantity,[class*="price"],[class*="rating"],[class*="amount"],
[class*="total"],[class*="fee"],[class*="qty"],[class*="count"]{
  font-family:var(--font-micro);
  font-variant-numeric:tabular-nums;
  font-feature-settings:"tnum" 1,"cv02" 1;
}

/* Marketplace text defense */
.item-name,.item-title,.restaurant,.restaurant-name,.res-name,.res-cuisine,
.result-title-row strong,.result-main p,.result-main small,.card-title{
  min-width:0;
  max-width:100%;
}

.item-name,.item-title,.restaurant,.restaurant-name,.res-name,.res-cuisine,
.result-title-row strong,.card-title{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* Compact offer treatment */
.discount,.discount-badge,.offer-badge,.deal-badge,.price-discount,[class*="discount"]{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  padding:3px 7px;
  border-radius:6px;
  background:var(--nb-offer-bg);
  color:var(--nb-offer);
  font-family:var(--font-micro);
  font-size:11px;
  font-weight:800;
  line-height:1.2;
  font-variant-numeric:tabular-nums;
}

/* ================= SEARCH — ZOMATO-INSPIRED DISCOVERY ================= */
.search-header{
  background:rgba(255,255,255,.96) !important;
  padding:12px 16px 10px !important;
  border-bottom:1px solid var(--nb-line) !important;
}

.search-input-wrapper{
  min-height:54px;
  border:1px solid #DDE1E5 !important;
  border-radius:15px !important;
  padding:12px 15px !important;
  box-shadow:0 2px 10px rgba(28,32,36,.045) !important;
}

.search-input-wrapper:focus-within{
  border-color:var(--hd-primary,#E9546B) !important;
  box-shadow:0 4px 16px color-mix(in srgb, var(--hd-primary,#E9546B) 14%, transparent) !important;
}

.suggestion-chips{
  gap:9px !important;
  padding:10px 16px 8px !important;
}

.chip{
  min-height:38px;
  padding:8px 13px !important;
  border:1px solid #E1E4E7 !important;
  border-radius:999px !important;
  color:#596168 !important;
  font-family:var(--font-micro) !important;
  font-size:12px !important;
  font-weight:600 !important;
  box-shadow:0 1px 3px rgba(28,32,36,.04) !important;
}

.mind-section{
  padding:18px 18px 30px !important;
}

.section-heading{
  gap:10px !important;
  margin-bottom:20px !important;
}

.section-heading h2{
  font-size:18px !important;
  line-height:1.25 !important;
  font-weight:700 !important;
  letter-spacing:-.3px !important;
  text-transform:none !important;
  color:var(--nb-ink) !important;
}

.section-heading span{
  background:var(--nb-line) !important;
}

.mind-grid{
  column-gap:12px !important;
  row-gap:26px !important;
}

.mind-item{
  gap:8px !important;
  min-width:0;
}

.mind-image-wrap{
  width:92px !important;
  height:92px !important;
  border-radius:50% !important;
  background:#F7F8F9 !important;
  box-shadow:inset 0 0 0 1px rgba(28,32,36,.035);
}

.mind-image-wrap img{
  object-fit:contain !important;
}

.mind-item span{
  font-size:13px !important;
  font-weight:600 !important;
  color:#3E454B !important;
  letter-spacing:-.1px;
}

.result-card{
  gap:13px !important;
  padding:14px 4px !important;
  border-bottom:1px solid var(--nb-line) !important;
}

.result-card img{
  width:76px !important;
  height:76px !important;
  flex-basis:76px !important;
  border-radius:14px !important;
  box-shadow:none !important;
}

.result-title-row strong{
  font-size:14px !important;
  font-weight:700 !important;
  color:var(--nb-ink) !important;
}

.result-main p{
  color:var(--nb-muted) !important;
  font-family:var(--font-micro) !important;
  font-size:12px !important;
  line-height:1.4;
}

.result-main small{
  color:#858C92 !important;
  font-family:var(--font-micro) !important;
  font-size:11px !important;
}

.result-rating{
  font-family:var(--font-micro) !important;
  font-variant-numeric:tabular-nums;
}

/* ================= ₹99 STORE — DENSE DEAL MARKETPLACE ================= */
.store-header{
  box-shadow:0 2px 10px rgba(28,32,36,.045) !important;
  border-bottom:1px solid var(--nb-line) !important;
}

.header-title{
  font-size:20px !important;
  font-weight:800 !important;
  letter-spacing:-.45px;
  color:var(--nb-ink) !important;
}

.header-sub{
  color:var(--nb-muted) !important;
  font-family:var(--font-micro) !important;
}

.hero{
  margin:14px 16px !important;
  padding:18px !important;
  border-radius:18px !important;
  box-shadow:var(--nb-shadow-card);
}

.hero-copy strong{
  font-size:20px !important;
  font-weight:800 !important;
  letter-spacing:-.55px;
}

.hero-copy span{
  color:var(--nb-muted) !important;
  font-family:var(--font-micro) !important;
}

.filter-row{
  gap:9px !important;
  padding:0 16px 13px !important;
}

.filter-pill{
  height:38px !important;
  padding:0 14px !important;
  border-color:#E0E4E7 !important;
  color:#596168 !important;
  font-family:var(--font-micro) !important;
  font-size:12px !important;
  font-weight:600 !important;
}

.filter-pill.active{
  background:#1F2933 !important;
  border-color:#1F2933 !important;
}

main{
  padding:18px 16px 24px !important;
}

.section-label{
  margin:0 2px 13px !important;
}

.section-label strong{
  font-size:18px !important;
  font-weight:700 !important;
  letter-spacing:-.3px;
  color:var(--nb-ink) !important;
}

.product-grid{
  gap:18px 10px !important;
}

.card{
  border:1px solid #EEF0F2;
  border-radius:16px !important;
  box-shadow:var(--nb-shadow-card) !important;
}

.image-wrap{
  aspect-ratio:1/0.92 !important;
  background:#F5F6F7 !important;
}

.image-wrap img.food-img{
  object-fit:cover !important;
}

.image-wrap img.food-img-contain{
  object-fit:contain !important;
  background:#fff !important;
}

.card-body{
  padding:10px 11px 12px !important;
}

.item-name{
  min-height:0 !important;
  font-size:14px !important;
  font-weight:600 !important;
  line-height:1.3 !important;
  letter-spacing:-.15px;
  color:var(--nb-ink) !important;
}

.restaurant{
  margin-top:4px !important;
  font-family:var(--font-micro) !important;
  font-size:11px !important;
  color:var(--nb-muted) !important;
}

.rating{
  margin-top:5px !important;
  font-family:var(--font-micro) !important;
  font-size:12px !important;
  font-weight:600 !important;
}

.meta{
  margin-top:9px !important;
}

.price-old{
  font-size:11px !important;
  color:#8B9298 !important;
}

.price{
  font-size:16px !important;
  font-weight:800 !important;
  color:var(--nb-ink) !important;
}

.add-btn{
  height:34px !important;
  min-width:70px !important;
  border-radius:9px !important;
  font-family:var(--font-micro) !important;
  font-size:12px !important;
  font-weight:700 !important;
}

.restaurant-link{
  margin-top:9px !important;
  padding:7px !important;
  border-radius:8px !important;
  font-family:var(--font-micro) !important;
  font-size:11px !important;
  font-weight:700 !important;
}

.floating-cart{
  left:12px !important;
  right:12px !important;
  bottom:78px !important;
  border-radius:16px !important;
  box-shadow:var(--nb-shadow-float) !important;
}

.cart-info{
  font-family:var(--font-micro) !important;
  font-variant-numeric:tabular-nums;
}

.cart-btn{
  font-family:var(--font-micro) !important;
}

/* ================= RESTAURANT — DATA-DENSE MENU ================= */
.res-card{
  box-shadow:0 2px 14px rgba(28,32,36,.055) !important;
  border-color:#EEF0F2 !important;
}

.res-name{
  font-size:20px !important;
  font-weight:800 !important;
  color:var(--nb-ink) !important;
  letter-spacing:-.55px;
}

.res-cuisine,.meta-chip,.rating-count{
  font-family:var(--font-micro) !important;
  color:var(--nb-muted) !important;
}

.rating-num{
  font-family:var(--font-micro) !important;
  font-variant-numeric:tabular-nums;
}

.menu-cat-title{
  display:flex;
  align-items:baseline;
  gap:7px;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:18px !important;
  font-weight:700 !important;
  letter-spacing:-.3px;
  color:var(--nb-ink) !important;
}

/* ============================================================
   RESTAURANT MENU — PRODUCTION
   Single source of truth for the restaurant.html menu item.
   Do NOT duplicate any of these rules in restaurant.html.
   Responsive rules live together at the end of this section.
   ============================================================ */

:root{
  /* One token drives the food image, the media column and the
     skeleton, so skeleton and loaded item can never drift apart. */
  --nb-item-img:122px;
  --nb-item-gap:14px;
  --nb-cta-w:96px;
  --nb-cta-h:36px;
  --nb-cta-overlap:26px;   /* how far the CTA sits over the image */
}

.nb-menu-item{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:var(--nb-item-gap);
  padding:14px 0;
  border-bottom:1px solid #ECEFF1;
  animation:fadeSlideUp .4s ease forwards;
}

.nb-item-main{
  min-width:0;
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}

.nb-item-tag-row{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px;
  min-height:16px;
  margin-bottom:5px;
}

.nb-veg-mark{
  width:14px;height:14px;border-radius:3px;flex-shrink:0;
  display:inline-flex;align-items:center;justify-content:center;
}
.nb-veg-mark.veg{border:1.5px solid var(--ew-success,#23956D);}
.nb-veg-mark.veg span{width:6px;height:6px;background:var(--ew-success,#23956D);border-radius:50%;}
.nb-veg-mark.nonveg{border:1.5px solid #D64545;}
.nb-veg-mark.nonveg span{
  width:0;height:0;border-left:4px solid transparent;
  border-right:4px solid transparent;border-bottom:7px solid #D64545;
}

.nb-item-badge{
  display:inline-flex;align-items:center;width:max-content;margin:0;
  padding:3px 7px;border-radius:6px;
  background:var(--nb-offer-bg);color:var(--nb-offer);
  border:1px solid #FCE7C4;
  font-family:var(--font-micro);font-size:10px;font-weight:800;
  letter-spacing:.3px;line-height:1.4;
}

.nb-item-coupon{
  display:inline-flex;align-items:center;gap:4px;
  padding:3px 7px;border-radius:6px;
  background:#EEF1FF;color:#4338CA;border:1px solid #DDE3FF;
  font-family:var(--font-micro);font-size:10px;font-weight:800;
  letter-spacing:.2px;line-height:1.4;
}

.nb-item-title{
  margin:0 0 4px;
  max-width:100%;
  font-size:15px;
  font-weight:600;
  line-height:1.3;
  letter-spacing:-.15px;
  color:var(--nb-ink);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.nb-item-price-row{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
  margin-bottom:6px;
}

.nb-item-current-price{
  font-family:var(--font-micro);
  font-size:14px;
  font-weight:800;
  color:var(--nb-ink);
  font-variant-numeric:tabular-nums;
}

.nb-item-original-price{
  font-family:var(--font-micro);
  font-size:12px;
  font-weight:600;
  color:#8A9299;
  text-decoration:line-through;
  font-variant-numeric:tabular-nums;
}

.nb-item-discount{
  display:inline-flex;
  align-items:center;
  padding:3px 7px;
  border-radius:6px;
  background:var(--nb-offer-bg);
  color:var(--nb-offer);
  font-family:var(--font-micro);
  font-size:10px;
  font-weight:800;
  line-height:1.2;
  font-variant-numeric:tabular-nums;
}

.nb-item-desc{
  margin:0;
  max-width:100%;
  color:var(--nb-muted);
  font-family:var(--font-micro);
  font-size:12px;
  font-weight:500;
  line-height:1.45;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* ---------- Food image + CTA ---------- */

.nb-item-media{
  position:relative;
  width:var(--nb-item-img);
  flex:0 0 var(--nb-item-img);
  display:flex;
  flex-direction:column;
  align-items:center;
}

.nb-item-image-wrap.no-image{background:linear-gradient(135deg,#EDF0F4,#E2E7EE);}

.nb-item-image-wrap{
  position:relative;
  width:100%;
  aspect-ratio:1 / 1;
  border-radius:14px;
  overflow:hidden;
  background:#F5F6F7;
  border:1px solid rgba(28,32,36,.05);
}

.nb-item-image{
  /* Positioned so it paints ABOVE the placeholder, which is absolute.
     Without this the placeholder would cover every photo. */
  position:relative;
  z-index:1;
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center center;
  opacity:0;
  transition:opacity .25s ease;
  /* Safety net: if the load event never fires, reveal anyway at 1.2s
     rather than leave the photo permanently invisible. */
  animation:nbImgReveal 0s linear 1200ms forwards;
}
.nb-item-image.is-loaded{opacity:1;animation:none;}
@keyframes nbImgReveal{to{opacity:1;}}

.nb-item-image.is-unavailable{
  filter:grayscale(90%);
  opacity:.8;
}

.nb-item-image-placeholder{
  position:absolute;inset:0;
  display:flex;align-items:center;justify-content:center;
  color:#C7CDD2;background:#F5F6F7;
}

.nb-item-overlay{
  position:absolute;
  inset:0;
  z-index:2;                 /* above the image, which is now z-index:1 */
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.52);
}

.nb-item-overlay span{
  background:#1F2933;
  color:#fff;
  padding:5px 9px;
  border-radius:6px;
  font-family:var(--font-micro);
  font-size:10px;
  font-weight:800;
  letter-spacing:.02em;
  text-transform:uppercase;
}

/* In normal flow with a negative margin, not absolutely positioned.
   The old absolute + bottom:-16px was anchored to the media column,
   not the image, so it landed on top of the Customisable label. */
.nb-item-cta{
  position:relative;
  z-index:3;
  width:100%;
  margin-top:calc(var(--nb-cta-overlap) * -1);
  display:flex;
  justify-content:center;
}

.nb-item-customisable{
  margin-top:4px;
  color:#8A9299;
  font-family:var(--font-micro);
  font-size:10px;
  font-weight:600;
  line-height:1.4;
  text-align:center;
}
/* Collapsed to zero. It previously reserved 14px + 4px margin on EVERY
   item so customisable and non-customisable items matched height — but
   these rows are a single vertical column, so nothing is aligned across
   them and the reservation bought nothing. Height is now content-driven. */
.nb-item-customisable-spacer{min-height:0;margin-top:0;}

/* ---------- ADD button / quantity stepper ----------
   Identical footprint so swapping one for the other cannot shift
   the layout. Visual only; every onclick is defined in restaurant.html. */

.nb-add-btn{
  width:var(--nb-cta-w);
  height:var(--nb-cta-h);
  display:block;
  background:#fff;
  border:1px solid #F6DCC6;
  border-radius:11px;
  color:var(--nb-brand-ink);
  font-family:inherit;
  font-size:14px;
  font-weight:800;
  letter-spacing:.4px;
  box-shadow:0 4px 12px rgba(28,32,36,.10);
  cursor:pointer;
  transition:transform .14s ease, box-shadow .14s ease, filter .14s ease;
}
.nb-add-btn:active{transform:scale(.95);box-shadow:0 2px 6px rgba(28,32,36,.10);}
.nb-add-btn:focus-visible{outline:2px solid var(--nb-brand-ink);outline-offset:2px;}
.nb-add-btn.is-disabled{
  background:#F1F5F9;border-color:#E2E8F0;color:#94A3B8;
  box-shadow:none;cursor:not-allowed;font-size:12px;letter-spacing:0;
}
.nb-add-btn.is-disabled:active{transform:none;}

.nb-qty{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:var(--nb-cta-w);
  height:var(--nb-cta-h);
  background:#fff;
  border:1px solid var(--nb-brand-ink);
  border-radius:11px;
  overflow:hidden;
  box-shadow:0 4px 12px rgba(15,23,42,.10);
}
.nb-qty.is-disabled{border-color:#E2E8F0;box-shadow:none;}
.nb-qty-btn{
  width:31px;height:100%;
  border:0;background:transparent;
  color:var(--nb-brand-ink);
  font-family:inherit;font-weight:800;font-size:16px;line-height:1;
  cursor:pointer;
  transition:background .14s ease;
}
.nb-qty-btn:active{background:var(--hd-soft, #FDEBEE);}
.nb-qty-btn.is-disabled{color:#CBD5E1;cursor:not-allowed;}
.nb-qty-btn.is-disabled:active{background:transparent;}
.nb-qty-val{
  font-family:var(--font-micro);
  font-size:14px;font-weight:800;color:var(--nb-brand-ink);
  min-width:22px;text-align:center;
  font-variant-numeric:tabular-nums;
}
.nb-qty.is-disabled .nb-qty-val{color:#94A3B8;}

/* ---------- Skeleton: same tokens as the real item ---------- */

.skel-item{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:var(--nb-item-gap);
  padding:14px 0;
  border-bottom:1px solid #ECEFF1;
}
.skel-left{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:9px;}
.skel-media{flex:0 0 var(--nb-item-img);width:var(--nb-item-img);}
.skel-img{width:100%;aspect-ratio:1 / 1;border-radius:14px;}

/* ---------- Restaurant menu responsive ---------- */

@media (max-width:380px){
  :root{
    --nb-item-img:118px;
    --nb-item-gap:12px;
    --nb-cta-w:92px;
  }
}

@media (prefers-reduced-motion:reduce){
  .nb-menu-item{animation:none;opacity:1;}
  .nb-add-btn,.nb-qty-btn{transition:none;}
  .nb-add-btn:active{transform:none;}
  .skeleton{animation:none;background:#F0F0F2;}
  .nb-item-image{transition:none;opacity:1;animation:none;}
  .nb-item-image-wrap.is-loading .nb-item-image-placeholder{
    animation:none;background:#F5F6F7;
  }
}

/* ============================================================
   END RESTAURANT MENU — PRODUCTION
   ============================================================ */

@media (max-width:380px){
  .mind-image-wrap{width:82px !important;height:82px !important}
  .mind-grid{column-gap:8px !important}
  /* menu item sizing moved into RESTAURANT MENU — PRODUCTION above */
}

@media (min-width:600px){
  .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .mind-image-wrap{width:104px !important;height:104px !important}
}


