* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

.main-category-section:not(:first-child) .cat-loader-indicator {
  display: none !important;
}

.subcat-section:not(:first-of-type) .cat-loader-indicator {
  display: none !important;
}

/* Custom Menu Loading Animation (Plate & Crossed Cutlery) */
.nd-menu-loader-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 20px 70px 20px;
  width: 100%;
}

.nd-loader-plate-svg {
  width: 88px;
  height: 88px;
  filter: drop-shadow(0 6px 16px rgba(255, 76, 0, 0.24));
  animation: ndLoaderFloat 2.4s ease-in-out infinite;
}

.nd-loader-cutlery {
  transform-origin: 50px 50px;
  animation: ndLoaderCutlerySpin 2.2s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.nd-loader-text {
  font-size: 15px;
  font-weight: 600;
  color: #475569;
  margin-top: 16px;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
}

.nd-loader-dots span {
  animation: ndLoaderBlink 1.4s infinite;
  opacity: 0;
}

.nd-loader-dots span:nth-child(1) {
  animation-delay: 0s;
}

.nd-loader-dots span:nth-child(2) {
  animation-delay: 0.25s;
}

.nd-loader-dots span:nth-child(3) {
  animation-delay: 0.5s;
}

@keyframes ndLoaderCutlerySpin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes ndLoaderFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes ndLoaderBlink {

  0%,
  100% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
}

body {
  font-family: "Poppins", sans-serif;
  background: #f7f8fc;
  color: #1a1a1a;
  padding-bottom: 65px;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
}

button {
  cursor: pointer;
  font-family: inherit;
}

p {
  margin-top: 0;
  margin-bottom: 0rem;
  font-size: 12px !important;
}

.nd-header {
  background: #1a1a1a;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}

.nd-logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.nd-table-tag {
  background: #ff4c00;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

.nd-sticky {
  position: sticky;
  top: 60px;
  z-index: 150;
  background: #fff;
  border-bottom: 1px solid #ebebeb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}


html {
  scroll-padding-top: 260px;
}

.main-category-section,
.nd-acc-section,
.subcat-section,
[id^="nds-cat_"],
[id^="main-cat-wrapper-"] {
  scroll-margin-top: 260px;
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 230px;
  }

  .main-category-section,
  .nd-acc-section,
  .subcat-section,
  [id^="nds-cat_"],
  [id^="main-cat-wrapper-"] {
    scroll-margin-top: 230px;
  }
}

.nd-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid #ff4c00;
  border-radius: 10px;
  padding: 7px 12px;
  width: 280px;
  max-width: 100%;
  transition: all .2s;
  box-shadow: 0 2px 6px rgba(255, 76, 0, 0.08);
}

.nd-search-box:focus-within {
  box-shadow: 0 0 0 3px rgba(255, 76, 0, 0.18);
}

.nd-search-box input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  font-family: inherit;
  width: 100%;
  color: #1a1a1a;
}

.nd-search-box input::placeholder {
  color: #aaa;
}

.nd-search-box svg {
  fill: #ff4c00;
  flex-shrink: 0;
}

/* CATEGORY NAV OUTER & ARROWS FOR LARGE CATEGORY LISTS */
.nd-cat-nav-outer {
  position: relative;
  display: flex;
  align-items: center;
  padding: 4px 8px;
  background: #fff;
  border-bottom: 1px solid #f1f5f9;
}

.nd-cat-arrow-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  color: #ff4c00;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all .2s;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nd-cat-arrow-btn:hover {
  background: #ff4c00;
  color: #fff;
  border-color: #ff4c00;
  box-shadow: 0 4px 12px rgba(255, 76, 0, 0.3);
}

.nd-cat-arrow-btn.left {
  margin-right: 4px;
}

.nd-cat-arrow-btn.right {
  margin-left: 4px;
}

.nd-cat-nav {
  display: flex;
  overflow-x: auto;
  padding: 6px 4px;
  gap: 6px;
  scrollbar-width: none;
  flex: 1;
  scroll-behavior: smooth;
}

.nd-cat-nav::-webkit-scrollbar {
  display: none;
}

.nd-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
  min-width: 74px;
  position: relative;
  gap: 3px;
  padding: 4px 8px;
  border-radius: 10px;
  transition: .2s;
  flex-shrink: 0;
  cursor: pointer;
}

.nd-cat-item:hover {
  color: #ff4c00;
}

.nd-cat-icon {
  width: 56px;
  height: 56px;
  border: 2px solid #f1f5f9;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  margin-bottom: 2px;
  transition: .2s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.nd-cat-icon img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover !important;
  object-position: center !important;
  display: block;
}

.nd-cat-item:hover .nd-cat-icon {
  border-color: #ffdcd0;
  transform: translateY(-2px);
}

.nd-cat-item.active .nd-cat-icon {
  border-color: #ff4c00;
  box-shadow: 0 0 0 3px #fff4f0;
  transform: translateY(-2px);
}

.nd-cat-item.active {
  color: #ff4c00;
  font-weight: 800;
}

.nd-cat-tick {
  display: none;
  position: absolute;
  top: 0;
  right: 8px;
  background: #ff4c00;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  z-index: 2;
  align-items: center;
  justify-content: center;
}

.nd-cat-tick svg {
  fill: #fff;
  width: 10px;
  height: 10px;
}

.nd-cat-item.active .nd-cat-tick {
  display: flex;
}

/* Long product name wrap fix */
.nd-grid .nd-item-name,
.nd-item-name {
  white-space: normal !important;
  overflow: hidden !important;
  text-overflow: unset !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.3 !important;
  min-width: 0;
  flex: 1;
}

/* LEVEL 2 SUBCATEGORY PILL BAR STYLING (WITH PROPER SPACING/PADDING) */
.nd-subcat-wrapper {
  background: #fff4f0;
  border-radius: 14px;
  margin: 10px 16px 12px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  transition: all .25s;
  box-shadow: 0 2px 8px rgba(255, 76, 0, 0.04);
}

.nd-subcat-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  scroll-behavior: smooth;
}

.nd-subcat-scroll::-webkit-scrollbar {
  display: none;
}

.nd-subcat-arrow {
  width: 28px;
  height: 28px;
  border-radius: 14px;
  background: #ffe6dc;
  border: none;
  color: #ff4c00;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all .2s;
}

.nd-subcat-arrow:hover {
  background: #ff4c00;
  color: #fff;
}

.nd-subcat-pill {
  background: #fff;
  border: 1px solid #ffe6dc;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.nd-subcat-pill:hover {
  border-color: #ff4c00;
  color: #ff4c00;
  background: #fff8f6;
}

.nd-subcat-pill.active {
  background: #ff4c00;
  color: #fff;
  font-weight: 700;
  border-color: #ff4c00;
  box-shadow: 0 3px 10px rgba(255, 76, 0, 0.35);
}

.nd-subcat-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  border-radius: 10px;
  padding: 0 5px;
  min-width: 15px;
  height: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #fff;
}

.nd-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 10px;
  background: #fff;
  gap: 12px;
}

.nd-right-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nd-filters {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nd-diet {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  user-select: none;
}

.nd-diet input {
  display: none;
}

.nd-knob {
  width: 42px;
  height: 22px;
  border-radius: 11px;
  background: #ddd;
  position: relative;
  transition: background .25s;
  flex-shrink: 0;
}

.nd-knob::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
  transition: transform .25s;
}

.nd-diet input:checked+.nd-knob::after {
  transform: translateX(20px);
}

.nd-diet.jain input:checked+.nd-knob {
  background: #4a90e2;
}

.nd-diet.veg input:checked+.nd-knob {
  background: #2d9e42;
}

.nd-diet.nonveg input:checked+.nd-knob {
  background: #d93232;
}

.nd-vbtns {
  display: flex;
  gap: 4px;
}

.nd-vbtn {
  width: 34px;
  height: 34px;
  border: 1.5px solid #ebebeb;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .2s;
}

.nd-vbtn svg {
  fill: #888;
}

.nd-vbtn.active {
  background: #1a1a1a;
  border-color: #1a1a1a;
}

.nd-vbtn.active svg {
  fill: #fff;
}

/* .nd-content{padding-bottom:80px;} */

.nd-acc-section {
  background: #fff;
  margin-bottom: 6px;
}

.nd-acc-hdr {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #fff;
  border: none;
  border-top: 1px solid #ebebeb;
  cursor: pointer;
  text-align: left;
  transition: background .2s;
}

.nd-acc-hdr:hover {
  background: #fafafa;
}

.nd-acc-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nd-acc-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
}

.nd-acc-count {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: #ff4c00;
  padding: 2px 8px;
  border-radius: 20px;
}

.nd-chevron {
  fill: #888;
  flex-shrink: 0;
  transition: transform .3s;
}

.nd-acc-hdr.nd-closed .nd-chevron {
  transform: rotate(-90deg);
}

.nd-acc-body {
  overflow: hidden;
  transition: max-height .32s cubic-bezier(.4, 0, .2, 1);
  max-height: 9999px;
}

.nd-acc-body.nd-collapsed {
  max-height: 0;
}

.nd-acc-hdr-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: transparent;
  margin-top: 6px;
}

.nd-view-all {
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color .2s;
}

.nd-view-all:hover {
  color: #ff4c00;
}

/* PRODUCT IMAGE & FAVORITE BUTTON */
.nd-item-img,
.product-image-wrapper {
  position: relative;
  background: #f8fafc;
  border-radius: 10px;
  overflow: visible !important;
  flex-shrink: 0;
}

.nd-item-img-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nd-item-img-inner img,
.nd-item-img img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover !important;
  object-position: center !important;
  display: block;
  border-radius: inherit;
}

.nd-item-img-inner img.nd-img-fit-contain,
.nd-item-img img.nd-img-fit-contain {
  object-fit: contain !important;
  object-position: center !important;
}

.nd-veg-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  z-index: 5;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
  border: 2px solid #fff;
}

.nd-veg-dot.veg {
  background: #2d9e42;
}

.nd-veg-dot.nonveg {
  background: #d93232;
}

.nd-veg-dot.jain {
  background: #4a90e2;
}


.favorite-btn,
.nd-fav-btn {
  position: absolute;
  /* left: 6px; */
  right: 6px;
  bottom: 1px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #b9b9b9 !important;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); */
  border: none;
  text-decoration: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease;
}

.favorite-btn:hover,
.nd-fav-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.22);
}

.favorite-btn:active,
.nd-fav-btn:active {
  transform: scale(0.95);
}

.favorite-btn svg,
.nd-fav-btn svg {
  display: block;
  margin: auto;
  pointer-events: none;
  flex-shrink: 0;
}

@if( !\Auth::check()) .favorite-btn, .nd-fav-btn {
  display: none !important;
}

@endif

/* BADGES & PROMO TAGS */
.nd-veg-badge {
  background: #e6f4ea;
  color: #1e7e34;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
}

.nd-veg-badge.nonveg {
  background: #fce8e6;
  color: #c5221f;
}

.nd-veg-badge.jain {
  background: #e8f0fe;
  color: #1a73e8;
}

.nd-portion-badge {
  border: 1px solid #ffdcd0;
  background: #fff8f6;
  color: #ff4c00;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
  display: inline-flex;
}

.nd-promo-tag {
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #2563eb;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
  display: inline-flex;
}

.nd-promo-tag.hot {
  border-color: #ffdcd0;
  background: #fff8f6;
  color: #ff4c00;
}

.nd-customize-wrap {
  display: flex;
  align-items: center;
  margin-top: 2px;
  margin-bottom: 2px;
  width: -moz-fit-content;
  width: fit-content;
}

.nd-customize-badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  background: #fff2ed;
  color: #ff4c00;
  border: 1px solid #ffdcd0;
  padding: 2px 8px;
  border-radius: 10px;
  line-height: 1.25;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.nd-customize-badge:hover {
  background: #ffe6dc;
  border-color: #ffbda6;
  color: #e04300;
}

.nd-promo-tag.bogo-tag {
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  color: #fff;
  font-weight: 800;
  border: none;
  letter-spacing: 0.3px;
}

.nd-cat-icon,
.nd-cart-item-img {
  position: relative;
  overflow: hidden;
}

.bogo-badge-ribbon {
  position: absolute;
  top: 6px;
  left: -15px;
  width: 60px;
  background-color: #dc3545;
  color: #ffffff;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-align: center;
  line-height: 14px;
  transform: rotate(-45deg);
  z-index: 10;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  text-transform: uppercase;
  pointer-events: none;
}

.nd-item-img .bogo-badge-ribbon,
.nd-preview-img-box .bogo-badge-ribbon {
  top: 7px;
  left: -20px;
  width: 68px;
  font-size: 8.5px;
  line-height: 15px;
}

.nd-cart-item-img .bogo-badge-ribbon {
  top: 5px;
  left: -16px;
  width: 56px;
  font-size: 7px;
  line-height: 12px;
}

.out-of-stock-ribbon {
  position: absolute;
  top: 4px;
  right: -20px;
  width: 75px;
  background-color: #bbbbbb;
  color: #000000;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-align: center;
  line-height: 14px;
  transform: rotate(0deg);
  z-index: 10;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  text-transform: uppercase;
  pointer-events: none;
}

.nd-item-img .out-of-stock-ribbon,
.nd-preview-img-box .out-of-stock-ribbon {
  top: 30px;
  right: -8px;
  width: 85px;
  font-size: 7.5px;
  line-height: 15px;
}


/* DESKTOP GRID VIEW (EXACTLY 3 ITEMS PER ROW AS REQUESTED) */
.nd-grid .nd-menu-wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 12px 16px;
  width: 100%;
  box-sizing: border-box;
  align-items: stretch;
}

.nd-grid .nd-menu-item {
  background: #fff;
  border: 1.5px solid #f1f5f9;
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: row;
  gap: 12px;
  position: relative;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .02);
  box-sizing: border-box;
  min-height: 105px;
}

.nd-grid .nd-menu-item:hover {
  border-color: #ff4c00;
  box-shadow: 0 6px 20px rgba(255, 76, 0, .08);
  transform: translateY(-2px);
}

.nd-grid .nd-item-img {
  width: 105px;
  height: 95px;
  min-width: 105px;
  max-width: 105px;
  min-height: 95px;
  max-height: 95px;
  border-radius: 12px;
  overflow: visible !important;
  position: relative;
  flex-shrink: 0;
  background: #f8fafc;
}

.nd-grid .nd-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  display: block;
  object-position: center !important;
}

.nd-grid .nd-item-img img.nd-img-fit-contain {
  object-fit: contain !important;
  object-position: center !important;
}

.nd-grid .nd-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 0;
  width: auto;
}

.nd-grid .nd-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 32px;
}

.nd-grid .nd-title-left {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.nd-grid .nd-item-name {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3 !important;
  white-space: normal !important;
  overflow: hidden !important;
  text-overflow: unset !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2;
  overflow-wrap: anywhere;
  word-break: normal;
  flex: 1;
  min-width: 0;
}

.nd-grid .nd-item-desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.nd-grid .nd-middle-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 2px 0 2px;
  flex-wrap: wrap;
}

.nd-grid .nd-card-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  margin-top: 2px;
  padding: 0;
  box-sizing: border-box;
}

.nd-grid .nd-add-btn {
  position: static;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  background: #ff4c00;
  color: #fff;
  border: none;
  border-radius: 50%;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform .2s cubic-bezier(0.4, 0, 0.2, 1), background .2s ease, box-shadow .2s ease;
  box-shadow: 0 2px 6px rgba(255, 76, 0, .28);
  z-index: 2;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none !important;
  appearance: none !important;
  box-sizing: border-box !important;
  transform: translateZ(0) !important;
  -webkit-transform: translateZ(0) !important;
  contain: paint !important;
  isolation: isolate !important;
}

.nd-grid .nd-add-btn:hover {
  background: #ff6930;
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(255, 76, 0, .36);
}

.nd-grid .nd-add-btn:active {
  transform: scale(0.94);
  background: #e04300;
}

.nd-grid .nd-add-btn svg {
  width: 14px;
  height: 14px;
  display: block !important;
  margin: auto !important;
  padding: 0 !important;
  pointer-events: none !important;
  flex-shrink: 0 !important;
  shape-rendering: geometricPrecision !important;
}

.nd-grid .nd-item-price {
  font-size: 15px;
  font-weight: 800;
  color: #ff4c00;
  margin-left: 0;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-block;
}

.nd-grid .nd-arrow-icon {
  display: none;
}

.nd-grid .nd-veg-badge {
  display: none;
}

/* DESKTOP LIST VIEW */
.nd-list .nd-menu-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 16px;
}

.nd-list .nd-menu-item {
  background: #fff;
  border: 1.5px solid #f1f5f9;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  transition: all .2s;
  min-height: 96px;
  box-sizing: border-box;
}

.nd-list .nd-menu-item:hover {
  border-color: #ff4c00;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .04);
}

.nd-list .nd-item-img {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  overflow: visible !important;
  position: relative;
  flex-shrink: 0;
}

.nd-list .nd-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center !important;
  display: block;
}

.nd-list .nd-item-img img.nd-img-fit-contain {
  object-fit: contain !important;
  object-position: center !important;
}

.nd-list .nd-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-right: 0;
}

.nd-list .nd-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 32px;
}

.nd-list .nd-title-left {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.nd-list .nd-item-name {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3 !important;
  white-space: normal !important;
  overflow: hidden !important;
  text-overflow: unset !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2;
  overflow-wrap: anywhere;
  word-break: normal;
  flex: 1;
  min-width: 0;
}

.nd-list .nd-item-desc {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 2px;
}

.nd-list .nd-middle-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nd-list .nd-card-bottom {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 2px !important;
  padding: 0;
  box-sizing: border-box;
  flex-shrink: 0;
}

.nd-list .nd-item-price {
  font-size: 16px;
  font-weight: 800;
  color: #ff4c00;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-block;
}

.nd-list .nd-add-btn {
  position: static;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  background: #ff4c00;
  color: #fff;
  border: none;
  border-radius: 50%;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform .2s cubic-bezier(0.4, 0, 0.2, 1), background .2s ease, box-shadow .2s ease;
  box-shadow: 0 2px 6px rgba(255, 76, 0, .28);
  z-index: 2;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none !important;
  appearance: none !important;
  box-sizing: border-box !important;
  transform: translateZ(0) !important;
  -webkit-transform: translateZ(0) !important;
  contain: paint !important;
  isolation: isolate !important;
}

.nd-list .nd-add-btn:hover {
  background: #ff6930;
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(255, 76, 0, .36);
}

.nd-list .nd-add-btn:active {
  transform: scale(0.94);
  background: #e04300;
}

.nd-list .nd-add-btn svg {
  width: 14px;
  height: 14px;
  display: block !important;
  margin: auto !important;
  padding: 0 !important;
  pointer-events: none !important;
  flex-shrink: 0 !important;
  shape-rendering: geometricPrecision !important;
}

.nd-list .nd-arrow-icon {
  color: #94a3b8;
  display: none;
}

/* TABLET / TAB VIEW RESPONSIVE (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .nd-grid .nd-menu-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    padding: 12px 14px !important;
    align-items: stretch !important;
  }

  .nd-grid .nd-menu-item {
    padding: 12px !important;
    gap: 12px !important;
    position: relative !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    min-height: 105px !important;
    height: auto !important;
  }

  .nd-grid .nd-item-img {
    width: 100px !important;
    height: 90px !important;
    min-width: 100px !important;
    max-width: 100px !important;
    min-height: 90px !important;
    max-height: 90px !important;
    border-radius: 12px !important;
    overflow: visible !important;
    flex-shrink: 0 !important;
    background: #f8fafc !important;
  }

  .nd-grid .nd-item-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
  }

  .nd-grid .nd-item-img img.nd-img-fit-contain {
    object-fit: contain !important;
    object-position: center !important;
  }

  .nd-grid .nd-item-info {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    padding-right: 0 !important;
    width: 100% !important;
  }

  .nd-grid .nd-title-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
    min-height: 32px !important;
  }

  .nd-grid .nd-title-left {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex: 1 !important;
    min-width: 0 !important;
  }

  .nd-grid .nd-item-name {
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: unset !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2;
    overflow-wrap: anywhere;
    word-break: normal;
    flex: 1 !important;
    min-width: 0 !important;
  }

  .nd-grid .nd-item-desc {
    font-size: 11px !important;
  }

  .nd-grid .nd-card-bottom,
  .nd-card-bottom {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    margin-top: 2px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .nd-item-price {
    font-size: 14.5px !important;
    font-weight: 800 !important;
    color: #ff4c00 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    line-height: 1.2 !important;
  }

  .nd-add-btn {
    position: static !important;
    bottom: auto !important;
    right: auto !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ff4c00 !important;
    color: #fff !important;
    border: none !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    transition: transform .2s cubic-bezier(0.4, 0, 0.2, 1), background .2s ease, box-shadow .2s ease !important;
    box-shadow: 0 2px 6px rgba(255, 76, 0, 0.28) !important;
    z-index: 2 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    box-sizing: border-box !important;
    -webkit-tap-highlight-color: transparent !important;
    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;
    contain: paint !important;
    isolation: isolate !important;
  }

  .nd-add-btn:hover {
    background: #ff6930 !important;
    transform: scale(1.08) !important;
  }

  .nd-add-btn:active {
    transform: scale(0.94) !important;
  }

  .nd-add-btn svg {
    width: 14px !important;
    height: 14px !important;
    display: block !important;
    margin: auto !important;
    padding: 0 !important;
    pointer-events: none !important;
    flex-shrink: 0 !important;
    shape-rendering: geometricPrecision !important;
  }
}

/* MOBILE RESPONSIVE (MATCHING MOBILE GRID & LIST IMAGE 3) */
@media (max-width: 767px) {

  /* MOBILE GRID VIEW (2 COLUMNS SIDE-BY-SIDE) */
  .nd-grid .nd-menu-wrap {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 10px;
    align-items: stretch;
  }

  .nd-grid .nd-menu-item {
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    gap: 8px;
    position: relative;
    height: 100%;
    box-sizing: border-box;
  }

  .nd-grid .nd-item-img {
    width: 100%;
    height: 115px;
    border-radius: 10px;
  }

  .nd-grid .nd-item-info {
    gap: 4px;
    padding-right: 0;
    width: 100%;
  }

  .nd-grid .nd-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    width: 100%;
    min-height: 28px;
  }

  .nd-grid .nd-title-left {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    min-width: 0;
  }

  .nd-grid .nd-item-name {
    font-size: 13px;
    line-height: 1.3 !important;
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: unset !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2;
    overflow-wrap: anywhere;
    word-break: normal;
    flex: 1;
    min-width: 0;
  }

  .nd-grid .nd-item-desc {
    display: none;
  }

  .nd-grid .nd-card-bottom {
    margin-top: 2px;
    justify-content: flex-start;
    padding-right: 0;
    box-sizing: border-box;
    width: 100%;
  }

  .nd-grid .nd-item-price {
    font-size: 14px;
  }

  .nd-grid .nd-add-btn {
    position: static;
    bottom: auto;
    right: auto;
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    border-radius: 50%;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0;
    -webkit-appearance: none !important;
    appearance: none !important;
    box-sizing: border-box !important;
  }

  .nd-grid .nd-add-btn svg {
    width: 12px;
    height: 12px;
    display: block !important;
    margin: auto !important;
    padding: 0 !important;
    pointer-events: none !important;
    flex-shrink: 0 !important;
  }

  /* MOBILE LIST VIEW (1 COLUMN STACKED) */
  .nd-list .nd-menu-wrap {
    padding: 10px;
    gap: 10px;
  }

  .nd-list .nd-menu-item {
    padding: 10px;
    gap: 12px;
    flex-wrap: nowrap;
    position: relative;
    min-height: 80px;
    box-sizing: border-box;
    align-items: center;
  }

  .nd-list .nd-item-img {
    width: 65px;
    height: 65px;
    min-width: 65px;
  }

  .nd-list .nd-item-info {
    gap: 3px;
    padding-right: 0;
    width: 100%;
  }

  .nd-list .nd-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    width: 100%;
    min-height: 28px;
  }

  .nd-list .nd-title-left {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    min-width: 0;
  }

  .nd-list .nd-item-name {
    font-size: 13px;
    line-height: 1.3 !important;
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: unset !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2;
    overflow-wrap: anywhere;
    word-break: normal;
    flex: 1;
    min-width: 0;
  }

  .nd-list .nd-card-bottom {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
    padding-top: 0px;
    margin-top: 2px;
    padding-right: 0;
    box-sizing: border-box;
  }

  .nd-list .nd-add-btn {
    position: static;
    bottom: auto;
    right: auto;
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    border-radius: 50%;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0;
    -webkit-appearance: none !important;
    appearance: none !important;
    box-sizing: border-box !important;
  }

  .nd-list .nd-add-btn svg {
    width: 12px;
    height: 12px;
    display: block !important;
    margin: auto !important;
    padding: 0 !important;
    pointer-events: none !important;
    flex-shrink: 0 !important;
  }

  .nd-toolbar {
    flex-wrap: wrap;
    gap: 10px;
    padding: 8px 12px;
  }

  .nd-search-box {
    width: 100%;
    max-width: 100%;
    order: 1;
  }

  .nd-right-toolbar {
    width: 100%;
    justify-content: space-between;
    order: 2;
  }
}

/* TOAST NOTIFICATION - CENTERED & AUTO WRAP */
.nd-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  bottom: auto;
  transform: translate(-50%, -50%) scale(0.9);
  background: #16a34a;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  padding: 10px 18px;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
  border: none;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  max-width: min(calc(100vw - 32px), 420px);
  box-sizing: border-box;
}

.nd-toast.is-error {
  background: #f43f46;
}

.nd-toast.show {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.nd-toast svg {
  flex-shrink: 0;
}

.nd-toast #ndToastMsg {
  display: inline-block;
  text-align: center;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.35;
}

@media (max-width: 480px) {
  .nd-toast {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    max-width: min(calc(100vw - 28px), 380px);
    box-sizing: border-box;
    font-size: 13px;
    padding: 10px 14px;
    gap: 7px;
    border-radius: 18px;  
  }
}

/* SIDEBAR CART DRAWER */
.nd-cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  z-index: 3100;
  opacity: 0;
  visibility: hidden;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
}

.nd-cart-overlay.show {
  opacity: 1;
  visibility: visible;
}

.nd-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 380px;
  max-width: 100%;
  height: 100%;
  height: 100dvh;
  max-height: 100%;
  max-height: 100dvh;
  background: #fff;
  z-index: 3200;
  box-shadow: -8px 0 30px rgba(0, 0, 0, .15);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
  overflow: hidden;
}

.nd-cart-overlay.show .nd-cart-drawer {
  transform: translateX(0);
}

.nd-cart-hdr {
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  flex-shrink: 0;
}

.nd-cart-hdr-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 800;
  color: #1e293b;
}

.nd-cart-hdr-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #fff2ed;
  color: #ff4c00;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nd-cart-hdr-close {
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  color: #64748b;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0 !important;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all .2s;
  flex-shrink: 0;
  -webkit-appearance: none !important;
  appearance: none !important;
  box-sizing: border-box !important;
  -webkit-tap-highlight-color: transparent;
}

.nd-cart-hdr-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.nd-cart-hdr-close svg {
  width: 16px;
  height: 16px;
  display: block !important;
  margin: auto !important;
  padding: 0 !important;
  pointer-events: none !important;
  flex-shrink: 0 !important;
}

.nd-cart-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.nd-cart-item {
  background: #fff;
  border: 1.5px solid #f1f5f9;
  border-radius: 14px;
  padding: 12px;
  display: flex;
  gap: 12px;
  position: relative;
  transition: all .2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .03);
}

.nd-cart-item:hover {
  border-color: #ff4c00;
}

.nd-cart-item-img {
  width: 60px !important;
  height: 60px !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  position: relative !important;
  background: #f8fafc !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.nd-cart-item-img img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  border-radius: inherit !important;
}

.nd-cart-item-img img.nd-img-fit-contain {
  object-fit: contain !important;
  object-position: center !important;
}

.nd-cart-item-img img.nd-img-fit-cover {
  object-fit: cover !important;
  object-position: center !important;
}

.nd-cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.nd-cart-item-title {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3 !important;
  white-space: normal !important;
  overflow: hidden !important;
  text-overflow: unset !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2;
  overflow-wrap: anywhere;
  word-break: normal;
  min-width: 0 !important;
  flex: 1 !important;
}

.nd-cart-item-variant {
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.3;
}

.nd-cart-item-price {
  font-size: 13px;
  font-weight: 800;
  color: #ff4c00;
}

.nd-cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.nd-cart-item-del-box {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.nd-cart-item-edit,
.nd-cart-item-del {
  position: static !important;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nd-cart-item-edit {
  color: #ff4c00;
}

.nd-cart-item-edit:hover {
  color: #ff4c00;
  background: #fff2ed;
}

.nd-cart-item-del {
  color: #ef4444;
}

.nd-cart-item-del:hover {
  color: #ef4444;
  background: #fee2e2;
}

.nd-cart-notes-btn {
  background: #fff2ed;
  color: #ff4c00;
  border: 1px solid #ffdcd0;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
  cursor: pointer;
  transition: all .2s;
}

.nd-cart-notes-btn:hover {
  background: #ff4c00;
  color: #fff;
}

.nd-cart-notes-input {
  width: 100%;
  margin-top: 8px;
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  line-height: 1.4;
  outline: none;
  display: none;
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
  min-height: 56px;
  box-sizing: border-box;
}

.nd-cart-notes-input:focus {
  border-color: #ff4c00;
  box-shadow: 0 0 0 2px rgba(255, 76, 0, 0.12);
}

.nd-cart-notes-input.show {
  display: block;
}

.nd-cart-notes-label {
  display: flex;
  align-items: center;
  background: #fff8f5;
  border: 1px dashed #ffdcd0;
  border-radius: 6px;
  padding: 5px 9px;
  margin-top: 6px;
  font-size: 11px;
  color: #c2410c;
  word-break: break-word;
  line-height: 1.4;
  white-space: pre-line;
}

.nd-cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: #94a3b8;
  padding: 40px 20px;
}

.nd-cart-empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: #cbd5e1;
}

.nd-cart-ftr {
  padding: 14px 20px;
  padding-bottom: max(16px, env(safe-area-inset-bottom, 16px));
  border-top: 1px solid #f0f0f5;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
  margin-top: auto;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.04);
}

.nd-cart-ftr-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nd-cart-total-lbl {
  font-size: 13px;
  font-weight: 700;
  color: #475569;
}

.nd-cart-total-val {
  font-size: 19px;
  font-weight: 800;
  color: #ff4c00;
}

.nd-cart-checkout-btn {
  width: 100%;
  background: linear-gradient(135deg, #ff5500, #ff2200);
  border: none;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  padding: 13px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(255, 76, 0, .35);
  transition: all .2s;
  flex-shrink: 0;
  min-height: 46px;
}

.nd-cart-checkout-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 76, 0, .45);
}

.nd-hdr-cart-btn {
  background: #fff2ed;
  border: 1.5px solid #ff4c00;
  color: #ff4c00;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: .2s;
}

.nd-hdr-cart-btn:hover {
  background: #ff4c00;
  color: #fff;
}

.nd-hdr-cart-count {
  background: #ff4c00;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  border-radius: 10px;
  padding: 1px 6px;
}

.nd-hdr-cart-btn:hover .nd-hdr-cart-count {
  background: #fff;
  color: #ff4c00;
}

/* QUANTITY STEPPER FIX FOR CART DRAWER & MODAL */
.nd-qty-wrapper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #ff4c00;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  height: 28px;
}

.nd-qty-btn-sub,
.nd-qty-btn-add {
  width: 26px;
  height: 100%;
  border: none;
  background: #fff2ed;
  color: #ff4c00;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .15s;
  padding: 0;
  margin: 0;
  line-height: 0;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

.nd-qty-btn-sub:hover,
.nd-qty-btn-add:hover {
  background: #ff4c00;
  color: #fff;
}

.nd-qty-number {
  padding: 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
  min-width: 24px;
  text-align: center;
}

/* AUTH & OTP MODAL STYLES */
.nd-auth-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  z-index: 3400;
  opacity: 0;
  visibility: hidden;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.nd-auth-overlay.show {
  opacity: 1;
  visibility: visible;
}

.nd-auth-card {
  background: #fff;
  border-radius: 20px;
  width: 420px;
  max-width: 100%;
  padding: 28px 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .2);
  position: relative;
  transform: scale(0.92) translateY(10px);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  overflow: visible;
}

.nd-auth-overlay.show .nd-auth-card {
  transform: scale(1) translateY(0);
}

.nd-auth-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  color: #64748b;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0 !important;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all .2s;
  flex-shrink: 0;
  -webkit-appearance: none !important;
  appearance: none !important;
  box-sizing: border-box !important;
  -webkit-tap-highlight-color: transparent;
}

.nd-auth-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.nd-auth-close svg {
  width: 14px;
  height: 14px;
  display: block !important;
  margin: auto !important;
  padding: 0 !important;
  pointer-events: none !important;
  flex-shrink: 0 !important;
}

.nd-auth-logo-box {
  text-align: center;
  margin-bottom: 18px;
}

.nd-auth-logo-box img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.nd-auth-title {
  font-size: 20px;
  font-weight: 800;
  color: #1e293b;
  text-align: center;
  margin-bottom: 4px;
}

.nd-auth-sub {
  font-size: 13px !important;
  color: #64748b;
  text-align: center;
  margin-bottom: 22px;
  line-height: 1.4;
}

.nd-auth-field-lbl {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 6px;
  display: block;
}

.nd-auth-field-lbl span {
  color: #ef4444;
}

/* INTL TEL INPUT OVERRIDES FOR MODERN CARD */
.iti {
  width: 100% !important;
  display: block !important;
}

.iti__country-list {
  z-index: 9999 !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
  max-height: 200px !important;
  font-size: 13px !important;
  text-align: left !important;
}

.iti__selected-flag {
  border-radius: 12px 0 0 12px !important;
  padding: 0 10px 0 12px !important;
  background: #f8fafc !important;
  border-right: 1px solid #cbd5e1 !important;
}

.nd-auth-phone-input {
  width: 100% !important;
  height: 48px;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 12px !important;
  padding-left: 102px !important;
  font-size: 16px !important;
  font-weight: 600;
  color: #0f172a;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.nd-auth-phone-input:focus {
  border-color: #ff4c00 !important;
  box-shadow: 0 0 0 3px rgba(255, 76, 0, .15) !important;
}

/* Open flag dropdown upper side on mobile screens */
@media (max-width: 768px) {
  .nd-auth-card {
    overflow: visible !important;
  }

  .nd-auth-card .iti--allow-dropdown .iti__country-list,
  .nd-auth-card .iti--separate-dial-code .iti__country-list,
  .nd-auth-card .iti__country-list {
    bottom: 100% !important;
    top: auto !important;
    margin-bottom: 6px !important;
    margin-top: 0 !important;
    max-height: 190px !important;
    width: max-content !important;
    min-width: 280px !important;
    max-width: min(340px, calc(100vw - 64px)) !important;
  }
}


.nd-recaptcha-card {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #f9fafb;
  padding: 10px 14px;
  margin: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nd-recaptcha-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nd-recaptcha-checkbox {
  width: 22px;
  height: 22px;
  accent-color: #ff4c00;
  cursor: pointer;
}

.nd-recaptcha-text {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

.nd-recaptcha-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 8px;
  color: #6b7280;
}

.nd-auth-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #ff5500, #ff2200);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255, 76, 0, .35);
  transition: all .2s;
  margin-top: 6px;
}

.nd-auth-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 76, 0, .45);
}

.nd-auth-back-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: none;
  border: none;
  color: #ff4c00;
  font-size: 13px;
  font-weight: 700;
  margin-top: 16px;
  cursor: pointer;
  transition: color .2s;
}

.nd-auth-back-btn:hover {
  color: #d93b00;
  text-decoration: underline;
}

.nd-otp-grid {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 20px 0;
}

.nd-otp-box {
  width: 44px;
  height: 50px;
  border: 2px solid #cbd5e1;
  border-radius: 10px;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  outline: none;
  background: #f8fafc;
  transition: all .2s;
}

.nd-otp-box:focus {
  border-color: #ff4c00;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 76, 0, .15);
}

.nd-otp-timer-row {
  text-align: center;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 16px;
}

.nd-otp-resend-link {
  color: #ff4c00;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.nd-otp-resend-link.disabled {
  color: #94a3b8;
  cursor: not-allowed;
}

.nd-hdr-login-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: all .2s;
  backdrop-filter: blur(4px);
}

.nd-hdr-login-btn svg {
  stroke: #ff4c00;
  transition: stroke .2s;
}

.nd-hdr-login-btn:hover {
  background: #ff4c00;
  border-color: #ff4c00;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 76, 0, .4);
}

.nd-hdr-login-btn:hover svg {
  stroke: #fff;
}

.nd-hdr-res-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all .2s;
  backdrop-filter: blur(4px);
  text-decoration: none;
}

.nd-hdr-res-btn svg {
  stroke: #ff4c00;
  transition: stroke .2s;
}

.nd-hdr-res-btn:hover {
  background: #ff4c00;
  border-color: #ff4c00;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 76, 0, .4);
}

.nd-hdr-res-btn:hover svg {
  stroke: #fff;
}

.nd-search-clear-btn {
  border: none;
  background: #f1f5f9;
  color: #64748b;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  transition: all .2s;
  flex-shrink: 0;
}

.nd-search-clear-btn:hover {
  background: #ef4444;
  color: #fff;
}

.nd-diet-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 2px;
}

/* BODY SCROLL LOCK WHEN MODAL IS OPEN */
html.nd-no-scroll,
body.nd-no-scroll {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

.nd-modal-overlay,
.nd-cart-overlay,
.nd-auth-overlay {
  overscroll-behavior: contain !important;
}

.nd-modal-body-content,
.nd-cart-body,
.nd-modal-dialog,
.nd-cart-drawer {
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
}

/* CUSTOMIZE YOUR ORDER MODAL STYLES */
.nd-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 3500;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s cubic-bezier(.16, 1, .3, 1), visibility .3s cubic-bezier(.16, 1, .3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.nd-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.nd-modal-card {
  background: #fff;
  border-radius: 18px;
  width: 440px;
  max-width: calc(100% - 32px);
  padding: 24px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
  position: relative;
  margin: auto !important;
  transform: scale(0.94);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.nd-modal-overlay.show .nd-modal-card {
  transform: scale(1) translateY(0) !important;
}

.nd-modal-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.nd-modal-hdr-title {
  font-size: 16px;
  font-weight: 800;
  color: #1e293b;
  margin: 0;
}

.nd-modal-close {
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  color: #64748b;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0 !important;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s;
  flex-shrink: 0;
  -webkit-appearance: none !important;
  appearance: none !important;
  box-sizing: border-box !important;
}

.nd-modal-close:hover {
  background: #fee2e2;
  color: #ef4444;
}

.nd-modal-close svg {
  width: 14px;
  height: 14px;
  display: block !important;
  margin: auto !important;
  padding: 0 !important;
  pointer-events: none !important;
  flex-shrink: 0 !important;
}

.nd-modal-btn {
  width: 100%;
  background: linear-gradient(135deg, #ff5500, #ff2200);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 76, 0, 0.3);
  margin-top: 14px;
  transition: all 0.2s;
}

.nd-modal-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 76, 0, 0.4);
}

.nd-form-lbl {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}

.nd-notes-trigger-btn {
  background: #ff4c00;
  color: #fff;
  border: 1px solid #ffdcd0;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all .2s;
}

.nd-notes-trigger-btn:hover {
  background: #e04400;
  color: #fff;
}

.nd-modal-dialog {
  background: #fff;
  border-radius: 20px;
  width: 700px;
  max-width: 100%;
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
  transform: scale(0.94) translateY(12px);
  transition: transform .3s cubic-bezier(.16, 1, .3, 1);
  overflow: hidden;
  position: relative;
}

.nd-modal-overlay.show .nd-modal-dialog {
  transform: scale(1) translateY(0);
}

.nd-mobile-drag-bar {
  width: 44px;
  height: 5px;
  background: #cbd5e1;
  border-radius: 99px;
  margin: 10px auto 4px;
  display: none;
  flex-shrink: 0;
}

.nd-modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.nd-modal-hdr-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nd-modal-hdr-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fff2ed;
  color: #ff4c00;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nd-modal-hdr-title {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
}

.nd-modal-hdr-sub {
  font-size: 12px;
  color: #64748b;
  margin: 2px 0 0;
  font-weight: 500;
}

.nd-modal-close-btn {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  color: #64748b;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0 !important;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all .2s;
  flex-shrink: 0;
  -webkit-appearance: none !important;
  appearance: none !important;
  box-sizing: border-box !important;
}

.nd-modal-close-btn:hover {
  background: #fee2e2;
  color: #ef4444;
}

.nd-modal-close-btn svg {
  width: 14px;
  height: 14px;
  display: block !important;
  margin: auto !important;
  padding: 0 !important;
  pointer-events: none !important;
  flex-shrink: 0 !important;
}

.nd-modal-body-content {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nd-product-top-row {
  display: flex;
  gap: 14px;
  align-items: center;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
}

.nd-preview-img-box {
  width: 86px;
  height: 86px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nd-preview-img-box img,
#ndComboImg {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

.nd-preview-img-box img.nd-img-fit-contain,
#ndComboImg.nd-img-fit-contain {
  object-fit: contain !important;
  object-position: center !important;
}

.nd-preview-img-box img.nd-img-fit-cover,
#ndComboImg.nd-img-fit-cover {
  object-fit: cover !important;
  object-position: center !important;
}

.nd-portion-img-box {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  background: #f8fafc !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.nd-portion-card img,
.nd-combo-option-img,
.nd-portion-img-box img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  border-radius: inherit !important;
}

.nd-portion-card img.nd-img-fit-contain,
.nd-combo-option-img.nd-img-fit-contain,
.nd-portion-img-box img.nd-img-fit-contain {
  object-fit: contain !important;
  object-position: center !important;
}

.nd-portion-card img.nd-img-fit-cover,
.nd-combo-option-img.nd-img-fit-cover,
.nd-portion-img-box img.nd-img-fit-cover {
  object-fit: cover !important;
  object-position: center !important;
}

.nd-bestseller-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: #ff4c00;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 2px 6px rgba(255, 76, 0, 0.3);
}

.nd-product-info-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.nd-preview-title,
#ndModItemName,
#ndComboTitle {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  white-space: normal !important;
  overflow: hidden !important;
  text-overflow: unset !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.3 !important;
  min-width: 0;
}

.nd-preview-desc {
  font-size: 12px;
  color: #64748b;
  margin: 2px 0 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nd-preview-price {
  font-size: 16px;
  font-weight: 800;
  color: #ff4c00;
  margin-top: 4px;
}

.nd-preview-tags {
  display: flex;
  gap: 6px;
  margin-top: 2px;
}

.nd-preview-tag {
  font-size: 10px;
  font-weight: 600;
  color: #475569;
  background: #e2e8f0;
  padding: 2px 7px;
  border-radius: 4px;
}

.nd-options-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.nd-opt-card {
  background: #fff;
  border: 1.5px solid #f1f5f9;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
  box-sizing: border-box;
}

.nd-opt-card:hover {
  border-color: #e2e8f0;
}

.nd-opt-card-full {
  width: 100%;
}

.nd-opt-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nd-opt-hdr-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nd-opt-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #fff2ed;
  color: #ff4c00;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nd-opt-title-box {
  display: flex;
  flex-direction: column;
}

.nd-opt-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.25;
}

.nd-opt-sub {
  font-size: 10.5px;
  color: #94a3b8;
  font-weight: 500;
}

.nd-opt-required {
  font-size: 10.5px;
  font-weight: 700;
  color: #ff4c00;
  background: #fff2ed;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.nd-portion-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 100%;
}

.nd-portion-card {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  background: #fff;
  transition: all .2s cubic-bezier(.16, 1, .3, 1);
  user-select: none;
}

.nd-portion-card:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.nd-portion-card.active {
  border-color: #ff4c00;
  background: #fff8f5;
  box-shadow: 0 2px 10px rgba(255, 76, 0, 0.08);
}

.nd-portion-card-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.nd-portion-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .2s;
}

.nd-portion-card.active .nd-portion-radio {
  border-color: #ff4c00;
  background: #ff4c00;
}

.nd-portion-radio-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  transition: opacity .2s;
}

.nd-portion-card.active .nd-portion-radio-dot {
  opacity: 1;
}

.nd-portion-check {
  font-size: 12px;
  color: #ff4c00;
  display: none;
}

.nd-portion-card.active .nd-portion-check {
  display: inline-flex;
}

.nd-portion-name {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  white-space: normal !important;
  overflow: hidden !important;
  text-overflow: unset !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.3 !important;
  min-width: 0;
  flex: 1;
}

.nd-portion-card.active .nd-portion-name {
  color: #0f172a;
}

.nd-portion-price {
  font-size: 12.5px;
  font-weight: 800;
  color: #ff4c00;
  flex-shrink: 0;
  margin-left: 6px;
}

.nd-qty-wrapper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #ff4c00;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  height: 32px;
}

.nd-qty-btn-sub,
.nd-qty-btn-add {
  width: 32px;
  height: 100%;
  border: none;
  background: #fff2ed;
  color: #ff4c00;
  font-size: 16px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .15s;
  padding: 0;
  margin: 0;
  line-height: 0;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  user-select: none;
}

.nd-qty-btn-sub:hover,
.nd-qty-btn-add:hover {
  background: #ff4c00;
  color: #fff;
}

.nd-qty-number {
  padding: 0 12px;
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  min-width: 28px;
  text-align: center;
}

.nd-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.nd-opt-pill:not(.pref-pill),
.mod-pill {
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #fff;
  transition: all .2s cubic-bezier(.16, 1, .3, 1);
  user-select: none;
}

.nd-opt-pill:not(.pref-pill):hover,
.mod-pill:hover {
  border-color: #cbd5e1;
}

.nd-opt-pill:not(.pref-pill).active,
.mod-pill.active {
  border-color: #ff4c00 !important;
  background: #fff8f5 !important;
  color: #ff4c00;
}

/* Available options check boxes - outside border removed */
.pref-pill,
.nd-opt-pill.pref-pill,
.pref-pill-row .pref-pill,
.pref-pill-row .nd-opt-pill {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 4px 12px 4px 0 !important;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  user-select: none;
  transition: opacity .15s ease;
}

.pref-pill:hover,
.nd-opt-pill.pref-pill:hover,
.pref-pill-row .pref-pill:hover,
.pref-pill-row .nd-opt-pill:hover {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 0.85;
}

.pref-pill.active,
.pref-pill:has(.pref-checkbox:checked),
.nd-opt-pill.pref-pill.active,
.pref-pill-row .pref-pill.active {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #0f172a !important;
}

.mod-pill-left {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1;
  min-width: 0;
}

.mod-check-box {
  width: 19px;
  height: 19px;
  border-radius: 5px;
  border: 1.5px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  transition: all .2s;
  flex-shrink: 0;
}

.mod-pill.active .mod-check-box {
  border-color: #ff4c00;
  background: #ff4c00;
  color: #fff;
}

.mod-pill.active .mod-check-box svg {
  display: block !important;
}

/* CUSTOM CHECKBOX IN CUSTOMIZE ORDER MODAL - MATCHING MOD-CHECK-BOX */
.pref-checkbox {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  width: 19px !important;
  height: 19px !important;
  min-width: 19px !important;
  min-height: 19px !important;
  border-radius: 5px !important;
  border: 1.5px solid #cbd5e1 !important;
  background-color: #ffffff !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
}

.pref-checkbox::before {
  content: "" !important;
  width: 9.5px !important;
  height: 5.5px !important;
  border-left: 2.2px solid #ffffff !important;
  border-bottom: 2.2px solid #ffffff !important;
  transform: rotate(-45deg) scale(0) !important;
  transform-origin: center !important;
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1) !important;
  margin-top: -2px !important;
  box-sizing: border-box !important;
}

.pref-checkbox:checked {
  background-color: #ff4c00 !important;
  border-color: #ff4c00 !important;
}

.pref-checkbox:checked::before {
  transform: rotate(-45deg) scale(1) !important;
}

.pref-checkbox:hover {
  border-color: #ff4c00 !important;
}

.pref-checkbox:focus-visible {
  box-shadow: 0 0 0 2px rgba(255, 76, 0, 0.25) !important;
}

.mod-pill-title {
  font-weight: 700;
  font-size: 13.5px;
  color: #1e293b;
  line-height: 1.3 !important;
  white-space: normal !important;
  overflow: hidden !important;
  text-overflow: unset !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2;
  overflow-wrap: anywhere;
  word-break: normal;
  min-width: 0;
  flex: 1;
}

.mod-price-tag {
  font-size: 12px;
  color: #ff4c00;
  font-weight: 700;
  background: #fff2ed;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.mod-stepper {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mod-qty-btn {
  width: 24px;
  height: 24px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #f8fafc;
  font-weight: 800;
  font-size: 13px;
  color: #1e293b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .15s;
  padding: 0;
  margin: 0;
  line-height: 0;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

.mod-qty-btn:hover {
  background: #ff4c00;
  border-color: #ff4c00;
  color: #000;
}

.mod-qty-num {
  font-weight: 800;
  font-size: 12.5px;
  color: #0f172a;
  min-width: 16px;
  text-align: center;
}

.nd-opt-pill-check {
  display: none;
}

.nd-opt-pill.active .nd-opt-pill-check {
  display: inline;
}

.nd-more-toggle-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all .2s;
}

.nd-more-toggle-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.nd-more-options {
  display: none;
  width: 100%;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.nd-more-options.show {
  display: flex;
}

.nd-modal-footer {
  padding: 14px 20px;
  border-top: 1px solid #f0f0f5;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: sticky;
  bottom: 0;
  z-index: 10;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.04);
}

.nd-footer-total-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nd-wallet-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fff2ed;
  color: #ff4c00;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nd-footer-total-lbl {
  font-size: 10px;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nd-footer-total-val {
  font-size: 19px;
  font-weight: 800;
  color: #ff4c00;
  line-height: 1.1;
}

.nd-footer-btn-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nd-btn-modal-cancel {
  background: #f1f5f9;
  color: #64748b;
  border: none;
  padding: 11px 18px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all .2s;
}

.nd-btn-modal-cancel:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.nd-btn-modal-add {
  background: linear-gradient(135deg, #ff5500, #ff2200);
  color: #fff;
  border: none;
  padding: 11px 22px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(255, 76, 0, .35);
  transition: all .2s cubic-bezier(.16, 1, .3, 1);
  white-space: nowrap;
}

.nd-btn-modal-add:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 76, 0, .45);
}

/* Universal Quantity Button Centering Fix for iOS / Safari */
.nd-qty-btn,
.nd-qty-btn-sub,
.nd-qty-btn-add,
.nd-cmod-qty-btn,
.mod-qty-btn {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  vertical-align: middle !important;
  text-align: center !important;
  -webkit-tap-highlight-color: transparent !important;
}

.nd-qty-btn svg,
.nd-qty-btn-sub svg,
.nd-qty-btn-add svg,
.nd-cmod-qty-btn svg,
.mod-qty-btn svg {
  display: block !important;
  margin: auto !important;
  pointer-events: none !important;
  flex-shrink: 0 !important;
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

/* BOTTOM NAVIGATION BAR STYLING */
.nd-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 2000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  padding: 0 10px;
}

.nd-bn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  flex: 1;
  height: 100%;
  transition: all .2s ease;
  position: relative;
}

.nd-bn svg {
  fill: currentColor;
  width: 20px;
  height: 20px;
  transition: transform .2s, fill .2s;
}

.nd-bn p {
  margin: 0;
  line-height: 1;
  font-size: 12px;
  text-align: center;
  white-space: nowrap;
}

.nd-bn:hover,
.nd-bn.active {
  color: #ff4c00;
  font-weight: 700;
}

.nd-bn.active svg {
  transform: translateY(-2px);
  fill: #ff4c00;
}

.nd-cart-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  background: #ff4c00;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  border-radius: 10px;
  padding: 1px 6px;
  min-width: 16px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(255, 76, 0, 0.4);
}

/* MOBILE RESPONSIVE FIXES (@media max-width: 767px) */
@media (max-width: 767px) {
  .nd-header {
    height: 54px;
    padding: 0 10px;
    gap: 4px;
    justify-content: space-between;
  }

  .nd-logo {
    flex-shrink: 0;
  }

  .nd-logo img {
    height: 24px;
    width: auto;
  }

  .nd-hdr-res-btn {
    padding: 4px 7px;
    font-size: 10px;
    gap: 3px;
    border-radius: 12px;
    flex-shrink: 0;
  }

  .nd-hdr-res-btn svg {
    width: 13px;
    height: 13px;
  }

  .nd-hdr-res-btn span {
    display: none !important;
  }

  .nd-hdr-res-btn::after {
    content: "Reserve";
    font-size: 10px;
    font-weight: 700;
  }

  .nd-hdr-login-btn {
    padding: 4px 7px;
    font-size: 10px;
    gap: 3px;
    border-radius: 12px;
    flex-shrink: 0;
  }

  .nd-hdr-login-btn svg {
    width: 13px;
    height: 13px;
  }

  .nd-hdr-login-btn span,
  .nd-hdr-login-btn #ndHdrLoginTxt {
    display: inline-block;
    max-width: 85px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
  }
  .nd-hdr-login-btn::after {
    display: none !important;
    content: none !important;
  }

  .nd-table-tag {
    padding: 6px 8px;
    font-size: 9px;
    font-weight: 800;
    border-radius: 10px;
    flex-shrink: 0;
    white-space: nowrap;
    line-height: normal;
  }

  .nd-hdr-cart-btn {
    padding: 4px 7px;
    font-size: 10px;
    border-radius: 12px;
    gap: 3px;
    flex-shrink: 0;
  }

  .nd-hdr-cart-btn svg {
    width: 13px;
    height: 13px;
  }

  .nd-hdr-cart-btn span.nd-cart-txt {
    display: none !important;
  }

  .nd-hdr-cart-count {
    font-size: 9px;
    padding: 1px 5px;
  }

  .nd-sticky {
    top: 54px;
  }

  .nd-cat-arrow-btn {
    width: 24px;
    height: 24px;
  }

  .nd-cat-item {
    min-width: 64px;
    padding: 3px 5px;
    font-size: 10px;
  }

  .nd-cat-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
  }

  .nd-cat-icon img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover !important;
    object-position: center !important;
    display: block;
  }

  .bogo-badge-ribbon {
    top: 6px;
    left: -13px;
    width: 50px;
    font-size: 6.5px;
    line-height: 11px;
  }

  .nd-subcat-wrapper {
    margin: 6px 8px 6px;
    padding: 4px 6px;
    border-radius: 12px;
  }

  .nd-subcat-arrow {
    width: 22px;
    height: 22px;
    border-radius: 11px;
  }

  .nd-subcat-arrow svg {
    width: 11px;
    height: 11px;
  }

  .nd-subcat-pill {
    padding: 4px 10px;
    font-size: 10px;
  }

  .nd-subcat-badge {
    top: -3px;
    right: -3px;
    font-size: 8px;
    min-width: 13px;
    height: 13px;
  }

  .nd-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 6px 8px;
  }

  .nd-search-box {
    width: 100%;
    padding: 5px 10px;
  }

  .nd-search-box input {
    font-size: 16px !important;
  }

  .nd-right-toolbar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
  }

  .nd-filters {
    gap: 6px;
    display: flex;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
    flex: 1;
    min-width: 0;
  }

  .nd-filters::-webkit-scrollbar {
    display: none;
  }

  .nd-diet {
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
    gap: 3px;
    flex-shrink: 0;
  }

  .nd-diet-icon {
    width: 13px;
    height: 13px;
  }

  .nd-knob {
    width: 28px;
    height: 16px;
    border-radius: 8px;
  }

  .nd-knob::after {
    width: 12px;
    height: 12px;
    top: 2px;
    left: 2px;
  }

  .nd-diet input:checked+.nd-knob::after {
    transform: translateX(12px);
  }

  .nd-vbtns {
    flex-shrink: 0;
    gap: 3px;
  }

  .nd-vbtn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
  }

  .nd-vbtn svg {
    width: 14px;
    height: 14px;
  }

  /* ITEM CARDS MOBILE STYLING FIX */
  .nd-menu-wrap {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding: 8px 10px !important;
  }

  .nd-menu-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    padding: 10px !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border: 1.5px solid #f1f5f9 !important;
    border-radius: 12px !important;
    background: #fff !important;
    position: relative !important;
    min-height: 100px !important;
  }

  .nd-menu-item.nd-search-hidden,
  .nd-menu-item[style*="display: none"],
  .nd-acc-section.nd-search-hidden,
  .nd-acc-section[style*="display: none"],
  .main-category-section.nd-search-hidden,
  .main-category-section[style*="display: none"] {
    display: none !important;
  }

  .nd-item-img {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    min-height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
    flex-shrink: 0 !important;
    border-radius: 10px !important;
    overflow: visible !important;
    position: relative !important;
  }

  .nd-item-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
  }

  .nd-item-img img.nd-img-fit-contain {
    object-fit: contain !important;
    object-position: center !important;
  }

  .nd-item-info {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
    overflow: visible !important;
    padding-right: 0 !important;
    width: 100% !important;
  }

  .nd-title-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    width: 100% !important;
    min-height: 28px !important;
  }

  .nd-title-left {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    flex: 1 !important;
    min-width: 0 !important;
  }

  .nd-item-name {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: unset !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2;
    overflow-wrap: anywhere;
    word-break: normal;
    flex: 1 !important;
    min-width: 0 !important;
  }

  .nd-veg-badge {
    font-size: 9px !important;
    padding: 2px 5px !important;
    flex-shrink: 0 !important;
  }

  .nd-item-desc {
    font-size: 10px !important;
    color: #64748b !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .nd-customize-wrap {
    display: flex !important;
    align-items: center !important;
    margin-top: 1px !important;
    margin-bottom: 1px !important;
  }

  .nd-customize-badge {
    display: inline-block !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    background: #fff2ed !important;
    color: #ff4c00 !important;
    border: 1px solid #ffdcd0 !important;
    padding: 1.5px 7px !important;
    border-radius: 10px !important;
    line-height: 1.25 !important;
    cursor: pointer !important;
  }

  .nd-middle-tags {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    flex-wrap: wrap !important;
    margin-top: 1px !important;
  }

  .nd-portion-badge,
  .nd-promo-tag {
    font-size: 9px !important;
    padding: 2px 5px !important;
    border-radius: 6px !important;
  }

  .nd-card-bottom {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    margin-top: 2px !important;
    width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .nd-add-btn {
    position: static !important;
    bottom: auto !important;
    right: auto !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    border-radius: 50% !important;
    background: #ff4c00 !important;
    color: #ffffff !important;
    border: none !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s ease, box-shadow 0.2s ease !important;
    box-shadow: 0 2px 6px rgba(255, 76, 0, 0.28) !important;
    z-index: 2 !important;
    -webkit-tap-highlight-color: transparent !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    box-sizing: border-box !important;
  }

  .nd-add-btn:hover {
    background: #ff6930 !important;
    transform: scale(1.08) !important;
    box-shadow: 0 4px 12px rgba(255, 76, 0, 0.38) !important;
  }

  .nd-add-btn:active {
    background: #e04300 !important;
    transform: scale(0.94) !important;
  }

  .nd-add-btn svg {
    width: 12px !important;
    height: 12px !important;
    display: block !important;
    margin: auto !important;
    padding: 0 !important;
    pointer-events: none !important;
    flex-shrink: 0 !important;
  }

  .nd-item-price {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #ff4c00 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    line-height: 1.2 !important;
  }

  .nd-arrow-icon {
    display: none !important;
  }

  /* Grid view 2 column on mobile if user toggles grid button */
  .nd-grid .nd-menu-wrap {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    padding: 8px 10px !important;
    align-items: stretch !important;
  }

  .nd-grid .nd-menu-item {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 8px !important;
    gap: 6px !important;
    position: relative !important;
    height: 100% !important;
    box-sizing: border-box !important;
  }

  .nd-grid .nd-item-img {
    width: 100% !important;
    height: 100px !important;
    min-width: 100% !important;
    min-height: 100px !important;
    max-width: 100% !important;
    max-height: 100px !important;
  }

  .nd-grid .nd-item-info {
    padding-right: 0 !important;
    gap: 3px !important;
    flex: 1 !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .nd-grid .nd-title-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    width: 100% !important;
    min-height: 28px !important;
  }

  .nd-grid .nd-title-left {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    flex: 1 !important;
    min-width: 0 !important;
  }

  .nd-grid .nd-item-name {
    font-size: 12px !important;
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: unset !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2;
    overflow-wrap: anywhere;
    word-break: normal;
    line-height: 1.3 !important;
    flex: 1 !important;
    min-width: 0 !important;
  }

  .nd-grid .nd-item-desc {
    display: none !important;
  }

  .nd-grid .nd-card-bottom {
    margin-top: 2px !important;
    justify-content: flex-start !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .nd-grid .nd-item-price {
    font-size: 13.5px !important;
  }

  .nd-grid .nd-add-btn {
    position: static !important;
    bottom: auto !important;
    right: auto !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
  }

  .nd-grid .nd-add-btn svg {
    width: 12px !important;
    height: 12px !important;
  }

  /* CART DRAWER MOBILE FIX */
  .nd-cart-drawer {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    top: 0 !important;
    bottom: 0 !important;
  }

  .nd-cart-hdr {
    padding: 14px 16px;
  }

  .nd-cart-body {
    padding: 12px;
    gap: 10px;
  }

  .nd-cart-ftr {
    padding: 12px 16px;
    padding-bottom: max(16px, env(safe-area-inset-bottom, 16px)) !important;
    gap: 10px;
  }

  .nd-cart-checkout-btn {
    padding: 13px 14px;
    font-size: 14px;
    min-height: 46px;
  }

  /* MOBILE BOTTOM SHEET FOR CUSTOMIZE & COMBO ORDER POPUPS */
  .nd-modal-overlay {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    padding: 0 !important;
    z-index: 3500 !important;
    background: rgba(15, 23, 42, 0.65) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .nd-modal-overlay.show {
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Any simple auth/alert card stays centered */
  .nd-auth-overlay {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
    z-index: 3500 !important;
  }

  .nd-modal-card {
    margin: auto !important;
    margin-left: 15px !important;
    margin-right: 15px !important;
    width: 100% !important;
    max-width: 420px !important;
    border-radius: 18px !important;
    padding: 20px 16px !important;
    transform: scale(0.95) !important;
  }

  .nd-modal-overlay.show .nd-modal-card {
    transform: scale(1) !important;
  }

  /* BOTTOM SHEET DIALOG (100% WIDTH, ROUNDED TOP, SLIDE UP/DOWN) */
  .nd-modal-dialog {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    height: auto !important;
    max-height: 88vh !important;
    max-height: 88dvh !important;
    border-radius: 20px 20px 0 0 !important;
    margin: 0 !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: #ffffff !important;
    box-shadow: 0 -10px 40px rgba(15, 23, 42, 0.3) !important;
    border: none !important;
    transform: translateY(100%) !important;
    transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
  }

  .nd-modal-overlay.show .nd-modal-dialog {
    transform: translateY(0) !important;
  }

  .nd-mobile-drag-bar {
    display: block !important;
    width: 42px !important;
    height: 4.5px !important;
    background: #cbd5e1 !important;
    border-radius: 99px !important;
    margin: 10px auto 4px !important;
    flex-shrink: 0 !important;
  }

  .nd-modal-header {
    padding: 8px 16px 12px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #fff !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 15 !important;
    flex-shrink: 0 !important;
  }

  .nd-modal-hdr-left {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .nd-modal-hdr-icon {
    width: 34px !important;
    height: 34px !important;
    border-radius: 10px !important;
  }

  .nd-modal-hdr-title {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 !important;
    line-height: 1.25 !important;
  }

  .nd-modal-hdr-sub {
    font-size: 11px !important;
    color: #64748b !important;
    margin: 1px 0 0 !important;
  }

  .nd-modal-close-btn {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
  }

  .nd-modal-body-content {
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 14px 16px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    box-sizing: border-box !important;
  }

  .nd-product-top-row {
    padding: 10px 12px !important;
    gap: 12px !important;
    border-radius: 12px !important;
  }

  .nd-preview-img-box {
    width: 68px !important;
    height: 68px !important;
    border-radius: 10px !important;
  }

  .nd-preview-title,
  #ndModItemName,
  #ndComboTitle {
    font-size: 14px !important;
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: unset !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2;
    overflow-wrap: anywhere;
    word-break: normal;
    line-height: 1.3 !important;
    min-width: 0 !important;
  }

  .nd-preview-desc {
    font-size: 11px !important;
  }

  .nd-preview-price {
    font-size: 15px !important;
  }

  /* STRICTLY 1 TO 1 LAYOUT ON MOBILE - NO 2-COLUMN GRID */
  .nd-options-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    grid-template-columns: 1fr !important;
  }

  .nd-opt-card,
  .nd-opt-card-full,
  .mod-group-card {
    width: 100% !important;
    grid-column: span 1 !important;
    margin: 0 !important;
    padding: 12px 14px !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
  }

  .nd-opt-title {
    font-size: 13px !important;
  }

  /* PORTIONS STRICTLY 1 TO 1 (ONE PER ROW) */
  .nd-portion-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
    grid-template-columns: 1fr !important;
  }

  .nd-portion-card {
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 11px 14px !important;
    min-height: 48px !important;
    box-sizing: border-box !important;
    border-radius: 10px !important;
  }

  .nd-portion-card-left {
    flex: 1 !important;
    min-width: 0 !important;
  }

  .nd-portion-name {
    font-size: 13px !important;
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: unset !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2;
    overflow-wrap: anywhere;
    word-break: normal;
    line-height: 1.3 !important;
    min-width: 0 !important;
    flex: 1 !important;
  }

  .nd-portion-price {
    font-size: 13px !important;
    flex-shrink: 0 !important;
    margin-left: 6px !important;
  }

  /* 1. MODIFIERS WITH STEPPERS (Mod AB One, Mod Two, Brown Sugar) - STRICTLY 1 PER ROW (FULL WIDTH) ON MOBILE */
  .mod-pill-row,
  .nd-pill-row:not(.pref-pill-row) {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .mod-pill:not(.pref-pill),
  .mod-pill-row .nd-opt-pill {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 10px 14px !important;
    min-height: 48px !important;
    box-sizing: border-box !important;
    border-radius: 10px !important;
    margin: 0 !important;
  }

  .mod-pill:not(.pref-pill) .mod-pill-left,
  .mod-pill-row .mod-pill-left {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex: 1 !important;
    min-width: 0 !important;
  }

  .mod-pill:not(.pref-pill) .mod-pill-title,
  .mod-pill-row .mod-pill-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: unset !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2;
    overflow-wrap: anywhere;
    word-break: normal;
    min-width: 0 !important;
    flex: 1 !important;
  }

  .mod-pill:not(.pref-pill) .mod-stepper,
  .mod-pill-row .mod-stepper {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
  }

  /* 2. PREFERENCES & AVAILABLE OPTIONS (Base, Ice Level, Sugar Level, VEG, Spice) - INLINE WRAPPING CHIPS */
  .pref-pill-row,
  .nd-pill-row:has(.pref-pill) {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 8px 10px !important;
    width: 100% !important;
    align-items: center !important;
  }

  .pref-pill,
  .nd-opt-pill.pref-pill,
  .pref-pill-row .nd-opt-pill {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: auto !important;
    max-width: 100% !important;
    padding: 4px 12px 4px 0 !important;
    min-height: unset !important;
    height: auto !important;
    box-sizing: border-box !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
  }

  .pref-pill.active,
  .pref-pill:has(.pref-checkbox:checked),
  .nd-opt-pill.pref-pill.active,
  .pref-pill-row .pref-pill.active {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #0f172a !important;
  }

  .pref-pill .mod-pill-left,
  .pref-pill-row .mod-pill-left {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: auto !important;
  }

  .pref-pill .mod-pill-title,
  .pref-pill-row .mod-pill-title {
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: unset !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2;
    overflow-wrap: anywhere;
    word-break: normal;
    min-width: 0 !important;
    flex: 1 !important;
  }

  /* FOOTER ON MOBILE */
  .nd-modal-footer {
    padding: 12px 16px !important;
    padding-bottom: max(14px, env(safe-area-inset-bottom, 14px)) !important;
    position: sticky !important;
    bottom: 0 !important;
    z-index: 15 !important;
    background: #ffffff !important;
    border-top: 1px solid #f1f5f9 !important;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.05) !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
  }

  .nd-footer-total-val {
    font-size: 18px !important;
  }

  .nd-btn-modal-add {
    padding: 11px 20px !important;
    font-size: 13px !important;
    border-radius: 10px !important;
  }

  .nd-btn-modal-cancel {
    padding: 11px 14px !important;
    font-size: 12px !important;
  }
}

.nd-veg-badge {
  background: #e6f4ea;
  color: #1e7e34;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
}

.nd-veg-badge.jain {
  background: #e8f0fe;
  color: #1a73e8;
}
.grecaptcha-badge {
    bottom: -20px !important;
}