/* =========================================
   MITHAI HORIZONTAL PRODUCT SCROLL
========================================= */

/* FOODNATI BOTTOM SHEET - CLEAN PRODUCT NAME */


/* Remove black tap highlight on product cards */
#fooditems .foodnati-item-card,
#fooditems .foodnati-item-card *,
.foodnati-bottom-sheet button,
.foodnati-bottom-sheet button * {
    -webkit-tap-highlight-color: transparent !important;
}
/* FOODNATI EXACT PINK PRICE BOX */

.foodnati-item-card .foodnati-item-price {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: fit-content !important;
  min-width: 49px;
  height: 26px;
  padding: 0 7px !important;

  background: #ffffff !important;
  border: 1.5px solid #ff1764 !important;
  border-radius: 7px !important;

  color: #000000 !important;
  font-family: Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1 !important;

  box-shadow: 2px 2px 0 #ff1764 !important;
  box-sizing: border-box;
  white-space: nowrap;
}

/* BOTTOM SHEET VEG / NON-VEG ICON DOWN */




.mithai-products-grid {
  display: flex;
  flex-wrap: nowrap;

  gap: 8px;

  width: 100%;
  padding: 14px 20px 25px;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;

  /* HIDE SCROLLBAR */
  scrollbar-width: none;
  -ms-overflow-style: none;

  scroll-snap-type: none;
}

/* HIDE SCROLLBAR - CHROME / SAFARI */
.mithai-products-grid::-webkit-scrollbar {
  display: none;
}

/* =========================================
   NO OUTER PRODUCT CARD BOX
========================================= */

.mithai-snack-item {
  flex: 0 0 125px;
  width: 125px;
  min-width: 125px;

  background: transparent;
  border: none;
  box-shadow: none;

  font-family: "Fredoka", sans-serif;

  scroll-snap-align: start;
}

/* =========================================
   SMALL IMAGE BOX
========================================= */

.mithai-snack-image-box {
  width: 125px;
  height: 115px;

  background: #f7f8f5;
  border-radius: 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}

/* =========================================
   PRODUCT IMAGE
========================================= */

.mithai-snack-image {
  width: 85px;
  height: 85px;

  max-width: 90%;
  max-height: 90%;

  object-fit: contain;
  display: block;
}

/* =========================================
   PRICE ROW
========================================= */

.mithai-snack-price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 7px;
  margin-top: 9px;
}

/* =========================================
   GREEN MAIN PRICE BOX
========================================= */

.mithai-snack-main-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: #008535;
  color: #ffffff;

  font-size: 15px;
  font-weight: 700;

  padding: 4px 10px;
  border-radius: 6px;
}

/* =========================================
   ORIGINAL PRICE
========================================= */

.mithai-snack-old-price {
  color: #999999;
  font-size: 12px;
  font-weight: 500;

  text-decoration: line-through;
}

/* =========================================
   PRODUCT NAME
========================================= */

.mithai-snack-name {
  margin-top: 8px;
  font-family: "Poppins", sans-serif !important;
  font-size: 13px;
  font-weight: 900 !important;
  line-height: 1.5;
  color: #17243b;
  overflow-wrap: break-word;
}
/* =========================================
   QUANTITY
========================================= */

.mithai-snack-quantity {
  margin-top: 4px;

  font-size: 12px;
  font-weight: 500;

  color: #777777;
}

/* =========================================
   LOADING
========================================= */

.mithai-loading {
  font-family: "Fredoka", sans-serif;
  font-size: 13px;
  color: #777777;
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {

  .mithai-products-grid {
    gap: 8px;
    padding: 12px 15px 22px;
  }

  .mithai-snack-item {
    flex: 0 0 115px;
    width: 115px;
    min-width: 115px;
  }

  .mithai-snack-image-box {
    width: 115px;
    height: 105px;
  }

  .mithai-snack-image {
    width: 78px;
    height: 78px;
  }

  .mithai-snack-main-price {
    font-size: 14px;
    padding: 4px 9px;
  }

  .mithai-snack-name {
    font-size: 13px;
  }

  .mithai-snack-quantity {
    font-size: 11px;
  }
}/* MITHAI SHIMMER */

.mithai-skeleton {
  pointer-events: none;
}

.mithai-skeleton-box {
  position: relative;
  overflow: hidden;
  background: #eeeeee;
  border-radius: 8px;
}

.mithai-skeleton-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.85),
    transparent
  );
  transform: translateX(-100%);
  animation: mithaiShimmer 1.3s infinite;
}

.mithai-skeleton-image {
  width: 100%;
  height: 115px;
  border-radius: 12px;
}

.mithai-skeleton-price {
  width: 68px;
  height: 25px;
  margin-top: 9px;
}

.mithai-skeleton-name {
  width: 90%;
  height: 14px;
  margin-top: 10px;
}

.mithai-skeleton-quantity {
  width: 55%;
  height: 11px;
  margin-top: 8px;
}

@keyframes mithaiShimmer {
  to {
    transform: translateX(100%);
  }
}

@media (max-width: 380px) {
  .mithai-skeleton-image {
    height: 105px;
  }
}
/* ========================================
   MITHAI ADD BUTTON - COMPLETE CSS
   SMALL NUMBERS + SMOOTH SLIDE
======================================== */

/* PRODUCT IMAGE */
.mithai-snack-image-box {
  position: relative !important;
  overflow: visible !important;
}

/* ADD BUTTON POSITION */
.mithai-image-add {
  position: absolute;
  right: 4px;
  bottom: 4px;
  z-index: 20;

  width: 54px;
  height: 27px;

  transition: width 0.25s ease;
}

/* WIDTH EXTENDS AFTER ADD */
.mithai-image-add:has(.mithai-qty-control) {
  width: 68px;
}

/* ========================================
   ADD BUTTON
======================================== */

.mithai-image-add .mithai-add-btn {
  width: 100%;
  height: 27px;
  margin: 0;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #ffffff;
  color: #E82B65;

  border: 1.5px solid #E82B65;
  border-radius: 6px;

  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;

  cursor: pointer;
  -webkit-tap-highlight-color: transparent;

  animation: none !important;
  transform: none !important;
}

/* ========================================
   QUANTITY CONTROL
======================================== */

.mithai-image-add .mithai-qty-control {
  width: 100%;
  height: 27px;
  margin: 0;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: #E82B65;
  color: #ffffff;
  border-radius: 6px;

  overflow: hidden;

  animation: none !important;
  transform: none !important;
}

/* ========================================
   PLUS AND MINUS BUTTONS
======================================== */

.mithai-image-add .mithai-qty-control button {
  width: 22px;
  min-width: 22px;
  height: 27px;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: transparent;
  border: none;
  color: #ffffff;

  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;

  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* ========================================
   NUMBER WINDOW
======================================== */

.mithai-image-add .mithai-number-window {
  position: relative;
  display: block;

  flex: 1;
  min-width: 0;
  height: 27px;

  overflow: hidden;

  color: #ffffff;
  font-size: 8px !important;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ========================================
   OLD AND NEW NUMBERS
======================================== */

.mithai-image-add .mithai-number-old,
.mithai-image-add .mithai-number-new {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  font-size: 8px !important;
  font-weight: 700;
  line-height: 1;

  opacity: 1 !important;
  animation: none;
}

/* ========================================
   NUMBER SLIDE ANIMATION
======================================== */

/* OLD NUMBER GOES UP */
.mithai-image-add
.mithai-number-changing
.mithai-number-old {
  animation: mithaiOldSlide 0.22s ease-in-out both;
}

/* NEW NUMBER COMES FROM BOTTOM */
.mithai-image-add
.mithai-number-changing
.mithai-number-new {
  animation: mithaiNewSlide 0.22s ease-in-out both;
}

/* OLD NUMBER SLIDE UP */
@keyframes mithaiOldSlide {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-100%);
  }
}

/* NEW NUMBER SLIDE UP */
@keyframes mithaiNewSlide {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

/* ========================================
   REMOVE UNWANTED ANIMATIONS
======================================== */

.mithai-image-add .mithai-number-animate {
  font-size: 10px !important;
  font-weight: 200;
}


.mithai-image-add .mithai-add-btn,
.mithai-image-add .mithai-qty-control {
  transform: none !important;
}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 380px) {
  .mithai-image-add {
    right: 3px;
    bottom: 3px;
  }
}

/* ========================================
   REDUCED MOTION
======================================== */

@media (prefers-reduced-motion: reduce) {
  .mithai-image-add,
  .mithai-image-add * {
    animation: none !important;
    transition: none !important;
  }
}

/* SMALL CENTER IMAGE */

.mithai-center-banner {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 0;
}

.mithai-center-image {
  display: block;
  width: 120px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}

/* MOBILE */
@media (max-width: 480px) {
  .mithai-center-image {
    width: 100px;
  }
}

/* =====================================
   MITHAI FSSAI LOGO + LICENSE NUMBER
===================================== */

/* FSSAI CONTAINER */
.mithai-fssai {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 5px 10px 15px;
  box-sizing: border-box;
}

/* FSSAI IMAGE */
.mithai-fssai-logo {
  width: 45px;
  height: auto;
  object-fit: contain;
  display: block;
}

/* LICENSE NUMBER */
.mithai-fssai-number {
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #333333;
  white-space: nowrap;

  /* TEXT LITTLE DOWN */
  position: relative;
  top: 4px;
}

/* MOBILE */
@media (max-width: 480px) {
  .mithai-fssai-logo {
    width: 38px;
  }

  .mithai-fssai-number {
    font-size: 10px;
    top: 4px;
  }
}

/* FULL WIDTH LAST IMAGE */

.mithai-last-banner {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.mithai-last-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0;
  padding: 0;
  border: none;
}
/* Stable ADD / quantity control; no layout/scroll animation on tap */
.mithai-image-add { transition: none !important; overflow-anchor: none; }
.mithai-products-grid { overflow-anchor: none; }
/* Stable controls: both button states occupy the same fixed overlay.
   No resizing, scroll snapping or auto-scroll during quantity updates. */
.mithai-image-add {
  width: 68px !important;
  height: 27px !important;
  transition: none !important;
  overflow-anchor: none;
}
.mithai-image-add:has(.mithai-qty-control) { width: 68px !important; }
.mithai-image-add .mithai-add-btn,
.mithai-image-add .mithai-qty-control {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 27px;
  transition: none !important;
}
.mithai-products-grid {
  scroll-behavior: auto !important;
  scroll-snap-type: none !important;
  overflow-anchor: none;
}
.mithai-snack-item { scroll-snap-align: none !important; }

/* ===== FOODNATI MINI PRODUCT CARDS ===== */


/* ==========================================
   FOODNATI PRODUCT CARDS - FULL FINAL CSS
========================================== */


/* ==========================================
   FOODNATI FULL PRODUCT SECTION CSS
   PRODUCT CARDS + ADD + SHIMMER + EYES
========================================== */

/* MAIN SECTION */

.mithai-fooditems-section {
  width: 100%;
  margin: 0;
  padding: 10px 0 20px;
  background: #ffffff;
  overflow: hidden;
}

/* ==========================================
   HORIZONTAL PRODUCT SCROLL
========================================== */

.foodnati-items-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: flex-start;
  justify-content: flex-start;

  gap: 12px;

  width: 100%;
  max-width: 100%;
  min-width: 0;

  margin: 0;
  padding: 6px 20px 22px !important;

  box-sizing: border-box;

  overflow-x: auto !important;
  overflow-y: hidden;

  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;

  scroll-snap-type: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.foodnati-items-grid::-webkit-scrollbar {
  display: none;
}

/* ==========================================
   PRODUCT CARD - NO OUTER BOX
========================================== */

.foodnati-item-card {
  position: relative;

  display: flex;
  flex-direction: column;

  flex: 0 0 110px !important;
  width: 110px !important;
  min-width: 110px !important;
  min-height: 0;

  margin: 0;
  padding: 0;

  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;

  overflow: visible;
  scroll-snap-align: none;

  box-sizing: border-box;
}

/* ==========================================
   PRODUCT IMAGE
========================================== */

.foodnati-image-wrap {
  position: relative;

  width: 110px;
  height: 105px;
  flex: 0 0 105px;

  margin: 0;
  padding: 0;

  border-radius: 10px;
  background: #f7f7f7;
}

.foodnati-item-image {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  border-radius: 10px;
}

/* ==========================================
   ADD BUTTON - MOVED UP
========================================== */

.foodnati-add-btn {
  position: absolute !important;

  right: 0 !important;
  bottom: 5px !important;
  z-index: 5;

  min-width: 60px;
  min-height: 29px;

  margin: 0 !important;
  padding: 6px 12px;

  border: 1px solid #E82B65;
  border-radius: 7px;

  background: #ffffff;
  color: #E82B65;

  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;

  box-shadow: 0 2px 6px #00000018;
  cursor: pointer;
}

/* DISABLED BUTTON */

.foodnati-add-btn:disabled {
  background: #eeeeee;
  color: #888888;
  border-color: #dddddd;

  font-size: 9px;
  padding: 5px 4px;

  cursor: not-allowed;
}

/* ==========================================
   PRODUCT DETAILS
========================================== */

.foodnati-item-content {
  display: flex;
  flex-direction: column;

  width: 100%;
  min-width: 0;

  padding: 7px 1px 0;
  margin: 0;

  gap: 0;

  border: none;
  background: transparent;

  box-sizing: border-box;
}

/* ==========================================
   1. RESTAURANT NAME - ONE LINE
========================================== */

.foodnati-item-restaurant {
  order: 1;

  display: block;

  width: 100%;
  max-width: 100%;
  min-width: 0;

  margin: 0 0 5px;
  padding: 0;

  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;

  color: #999999;

  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;

  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;

  word-break: normal;
  overflow-wrap: normal;

  flex-shrink: 0;
}

/* ==========================================
   2. PRODUCT NAME - MAX TWO LINES
========================================== */

.foodnati-item-name {
  order: 2;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;

  overflow: hidden;
  overflow-wrap: anywhere;

  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;

  color: #333333;

  margin: 0 0 5px;
  padding: 0;

  min-height: 0;
  max-height: 2.6em;
}

/* ==========================================
   3. QUANTITY
========================================== */

.foodnati-item-quantity {
  order: 3;

  margin: 0 0 5px;
  padding: 0;

  font-size: 10px;
  line-height: 1.3;
  color: #888888;

  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* ==========================================
   4. PRICE
========================================== */

.foodnati-item-bottom {
  order: 4;

  display: flex;
  align-items: center;
  justify-content: flex-start;

  margin: 0;
  padding: 0;
}

.foodnati-item-price {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  color: #17243B;
}

/* ==========================================
   5. ANIMATED PRICE COMPARISON
========================================== */

.foodnati-price-comparison {
  position: relative;
  order: 5;

  display: block;

  flex: 0 0 18px;

  width: 100%;
  min-width: 0;
  height: 18px;

  margin: 3px 0 0;
  padding: 0;

  overflow: hidden;
  box-sizing: border-box;

  pointer-events: none;
}

/* BOTH MESSAGES IN SAME POSITION */

.foodnati-price-ours,
.foodnati-price-others {
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;

  width: 100%;
  height: 18px;

  gap: 2px;

  margin: 0;
  padding: 0;

  border: none;
  background: transparent;

  white-space: nowrap;
  opacity: 0;

  pointer-events: none;
  will-change: transform, opacity;
}

/* OUR APP - PINK */

.foodnati-price-ours {
  color: #E82B65;

  animation:
    foodnatiPinkSlide 9s ease-in-out infinite;

  animation-delay: var(--foodnati-delay, 0s);
}

/* OTHER APPS - GREY */

.foodnati-price-others {
  color: #999999;

  animation:
    foodnatiGreySlide 9s ease-in-out infinite;

  animation-delay: var(--foodnati-delay, 0s);
}

/* ==========================================
   ROUND EYES - CLOSE TOGETHER
========================================== */

.foodnati-eyes {
  display: inline-flex;
  flex: 0 0 auto;

  align-items: center;
  justify-content: center;

  gap: 1px;

  margin: 0;
  padding: 0;
}

/* PERFECT ROUND EYES */

.foodnati-eye {
  position: relative;
  display: block;

  flex: 0 0 7px;

  width: 7px;
  height: 7px;

  border: 1px solid currentColor;
  border-radius: 50%;

  background: #ffffff;

  overflow: hidden;
  box-sizing: border-box;
}

/* ROUND PUPILS */

.foodnati-eye::after {
  content: "";

  position: absolute;

  top: 50%;
  left: 50%;

  width: 3px;
  height: 3px;

  background: currentColor;
  border-radius: 50%;

  transform: translate(-50%, -50%);
}

/* PINK EYES LOOK STRAIGHT */

.foodnati-price-ours .foodnati-eye::after {
  transform: translate(-50%, -50%);
}

/* GREY EYES LOOK SIDE TO SIDE */

.foodnati-price-others .foodnati-eye::after {
  animation:
    foodnatiEyesSide 3.5s ease-in-out infinite;
}

@keyframes foodnatiEyesSide {
  0%, 100% {
    transform:
      translate(-50%, -50%)
      translateX(-1px);
  }

  50% {
    transform:
      translate(-50%, -50%)
      translateX(1px);
  }
}

/* ==========================================
   COMPACT SINGLE LINE TEXT
========================================== */

.foodnati-comparison-label {
  display: inline-block;
  flex: 0 0 auto;

  margin: 0;
  padding: 0;

  font-family: Arial, sans-serif;

  font-size: 7px;
  font-weight: 700;
  line-height: 1.2;

  letter-spacing: -0.25px;

  color: inherit;
  white-space: nowrap;
}

/* ==========================================
   SLOW SLIDE UP - 9 SECONDS
========================================== */

/* PINK FIRST */

@keyframes foodnatiPinkSlide {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }

  6%, 43% {
    opacity: 1;
    transform: translateY(0);
  }

  50%, 100% {
    opacity: 0;
    transform: translateY(-100%);
  }
}

/* GREY SECOND */

@keyframes foodnatiGreySlide {
  0%, 50% {
    opacity: 0;
    transform: translateY(100%);
  }

  56%, 93% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-100%);
  }
}

/* ==========================================
   DIFFERENT ANIMATION TIMES PER CARD
========================================== */

.foodnati-item-card:nth-child(7n/**/+1) {
  --foodnati-delay: -0.5s;
}

.foodnati-item-card:nth-child(7n/**/+2) {
  --foodnati-delay: -2.1s;
}

.foodnati-item-card:nth-child(7n/**/+3) {
  --foodnati-delay: -4.3s;
}

.foodnati-item-card:nth-child(7n/**/+4) {
  --foodnati-delay: -6.2s;
}

.foodnati-item-card:nth-child(7n/**/+5) {
  --foodnati-delay: -7.8s;
}

.foodnati-item-card:nth-child(7n/**/+6) {
  --foodnati-delay: -3.3s;
}

.foodnati-item-card:nth-child(7n/**/+7) {
  --foodnati-delay: -5.4s;
}

/* ==========================================
   LIGHT PINK + WHITE SHIMMER
========================================== */

@keyframes foodnatiShimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.foodnati-shimmer {
  background: linear-gradient(
    90deg,
    #FFE8F0 0%,
    #FFF4F8 25%,
    #FFFFFF 50%,
    #FFF4F8 75%,
    #FFE8F0 100%
  );

  background-size: 200% 100%;

  animation:
    foodnatiShimmer 1.5s ease-in-out infinite;
}

/* SKELETON CARD */

.foodnati-skeleton-card {
  flex: 0 0 110px;

  width: 110px;
  min-width: 110px;

  margin: 0;
  padding: 0;

  border: none;
  border-radius: 0;

  background: transparent;
  box-shadow: none;
}

/* SKELETON IMAGE WRAPPER */

.foodnati-skeleton-image-wrap {
  position: relative;

  width: 110px;
  height: 105px;
}

/* SKELETON IMAGE */

.foodnati-skeleton-image {
  width: 100%;
  height: 100%;

  border-radius: 10px;
}

/* SKELETON ADD BUTTON - SAME POSITION */

.foodnati-skeleton-add {
  position: absolute;

  right: 0;
  bottom: 5px;

  width: 60px;
  height: 29px;

  border: 2px solid #ffffff;
  border-radius: 7px;

  box-sizing: border-box;
}

/* SKELETON DETAILS */

.foodnati-skeleton-content {
  display: flex;
  flex-direction: column;

  gap: 8px;
  padding: 7px 1px 0;

  background: transparent;
}

/* SKELETON RESTAURANT */

.foodnati-skeleton-restaurant {
  width: 75%;
  height: 11px;

  border-radius: 4px;
}

/* SKELETON PRODUCT NAME */

.foodnati-skeleton-name {
  width: 95%;
  height: 12px;

  border-radius: 4px;
}

.foodnati-skeleton-name-short {
  width: 65%;
  height: 12px;

  border-radius: 4px;
}

/* SKELETON QUANTITY */

.foodnati-skeleton-quantity {
  width: 45%;
  height: 10px;

  border-radius: 4px;
}

/* SKELETON PRICE */

.foodnati-skeleton-price {
  width: 50%;
  height: 15px;

  margin-top: 2px;
  border-radius: 4px;
}

/* ==========================================
   EMPTY / ERROR MESSAGE
========================================== */

.foodnati-items-message {
  flex: 0 0 100%;
  width: 100%;

  text-align: center;
  padding: 20px 10px;

  color: #888888;
  font-size: 12px;
}

/* ==========================================
   ACTIVE CATEGORY
========================================== */

.mithai-category-card.foodnati-active
.mithai-category-name {
  color: #E82B65;
  font-weight: 700;
}

/* ==========================================
   DESKTOP RESPONSIVE
========================================== */

@media (min-width: 768px) {

  .mithai-fooditems-section {
    padding: 12px 0 24px;
  }

  .foodnati-items-grid {
    gap: 15px;
    padding: 8px 24px 24px !important;
  }

  .foodnati-item-card,
  .foodnati-skeleton-card {
    flex: 0 0 135px !important;
    width: 135px !important;
    min-width: 135px !important;
  }

  .foodnati-image-wrap,
  .foodnati-skeleton-image-wrap {
    width: 135px;
    height: 125px;
  }

  .foodnati-image-wrap {
    flex-basis: 125px;
    border-radius: 12px;
  }

  .foodnati-item-image,
  .foodnati-skeleton-image {
    border-radius: 12px;
  }

  .foodnati-item-content {
    padding-top: 9px;
  }

  .foodnati-item-restaurant {
    font-size: 12px;
    font-weight: 700;
    color: #999999;

    margin-bottom: 6px;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .foodnati-item-name {
    font-size: 13px;
    min-height: 0;
    max-height: 2.6em;
  }

  .foodnati-item-quantity {
    font-size: 11px;
  }

  .foodnati-item-price {
    font-size: 15px;
  }

  /* ADD BUTTON UP */

  .foodnati-add-btn {
    right: 0 !important;
    bottom: 7px !important;

    min-width: 65px;
    min-height: 31px;

    font-size: 12px;
  }

  /* EYES COMPARISON */

  .foodnati-price-comparison {
    height: 20px;
    flex-basis: 20px;
  }

  .foodnati-price-ours,
  .foodnati-price-others {
    height: 20px;
  }

  .foodnati-comparison-label {
    font-size: 9px;
    letter-spacing: -0.15px;
  }

  .foodnati-eye {
    flex-basis: 9px;
    width: 9px;
    height: 9px;
  }

  /* DESKTOP SHIMMER */

  .foodnati-skeleton-content {
    padding-top: 9px;
  }

  .foodnati-skeleton-add {
    width: 65px;
    height: 31px;
    bottom: 7px;
  }

  .foodnati-skeleton-restaurant {
    height: 12px;
  }

  .foodnati-skeleton-name,
  .foodnati-skeleton-name-short {
    height: 13px;
  }

  .foodnati-skeleton-price {
    height: 16px;
  }
}

/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 360px) {

  .foodnati-comparison-label {
    font-size: 6.8px;
    letter-spacing: -0.3px;
  }
}

/* ==========================================
   REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {

  .foodnati-shimmer {
    animation: none;
    background: #FFE8F0;
  }

  .foodnati-price-ours {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .foodnati-price-others {
    animation: none;
    opacity: 0;
  }

  .foodnati-price-others .foodnati-eye::after {
    animation: none;
  }
}

/* ADD BUTTON - LITTLE DOWN */

.foodnati-add-btn {
  bottom: -1px !important;
}

/* DESKTOP */

@media (min-width: 768px) {
  .foodnati-add-btn {
    bottom: 2px !important;
  }
}

/* ==========================================
   FOODNATI BOTTOM SHEET - COMPACT DESIGN
========================================== */











/* IMAGE - FULL COVER */





/* CLOSE X ON IMAGE */



/* CONTENT - LESS SPACING */







/* PRICE LEFT / QUANTITY + ADD RIGHT */













/* ==========================================
   ANIMATED PRICE COMPARISON
   SAME POSITION - SLIGHTLY BIGGER TEXT
========================================== */





/* ONLY COMPARISON TEXT SIZE INCREASE */



/* DESCRIPTION - VERY LITTLE GAP */





.foodnati-item-card {
  cursor: pointer;
}

/* DESKTOP */



/* SMALL PHONES */





/* FOODNATI - REALISTIC PINK & GREY EYES */



/* BOTH EYES SAME SIZE */



/* PUPILS */



/* SMALL WHITE REFLECTION */



/* FIRST PINK - LOOK LEFT */







/* SECOND GREY - LOOK STRAIGHT */







/* COMPARISON TEXT SAME SIZE */



/* ==========================================
   FOODNATI ADD / QUANTITY FINAL CSS
   PRODUCT CARD + BOTTOM SHEET
========================================== */

/* PRODUCT CARD - SAME POSITION */

.foodnati-image-wrap {
  position: relative;
}

.foodnati-image-wrap .foodnati-add-btn,
.foodnati-image-wrap .foodnati-card-qty-control {
  position: absolute !important;
  right: 0 !important;
  bottom: -1px !important;
  z-index: 5;

  width: 68px !important;
  min-width: 68px !important;
  height: 29px !important;
  min-height: 29px !important;

  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
  border-radius: 7px;
}

/* PRODUCT CARD QUANTITY */

.foodnati-image-wrap .foodnati-card-qty-control {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;

  background: #E82B65;
  color: #fff;
  border: 1px solid #E82B65;
}

/* BOTTOM SHEET - ADD & QUANTITY SAME SIZE */



/* BOTTOM SHEET QUANTITY */



/* PLUS / MINUS BUTTONS - BOTH */

.foodnati-image-wrap .foodnati-card-qty-control button{
  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 30px;
  width: 30px;
  height: 100%;

  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;

  font-family: inherit;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
}

/* SMALL CARD BUTTONS */

.foodnati-image-wrap .foodnati-card-qty-control button {
  flex-basis: 22px;
  width: 22px;
  font-size: 17px;
}

/* QUANTITY NUMBER - BOTH */

.foodnati-image-wrap .foodnati-card-qty-control span{
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: center;
  justify-content: center;

  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* DESKTOP CARD POSITION */

@media (min-width: 768px) {
  .foodnati-image-wrap .foodnati-add-btn,
  .foodnati-image-wrap .foodnati-card-qty-control {
    bottom: 2px !important;
    height: 31px !important;
    min-height: 31px !important;
  }
}

/* FOODNATI - REMOVE BLACK TAP SHADOW */

.foodnati-card-qty-control,
.foodnati-card-qty-control button{
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none;
  outline: none !important;
  box-shadow: none !important;
  filter: none !important;
  -webkit-appearance: none;
  appearance: none;
}

/* REMOVE PRESSED / FOCUS SHADOW */

.foodnati-card-qty-control button:focus,
.foodnati-card-qty-control button:active{
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* REMOVE DEFAULT BUTTON TAP EFFECT */

.foodnati-image-wrap button{
  -webkit-tap-highlight-color: transparent !important;
}

/* FOODNATI NUMBER SLIDE - NO ZOOM */

.foodnati-qty-number-window {
  position: relative;
  display: block !important;
  flex: 1;
  height: 100%;
  min-width: 0;
  overflow: hidden;
}

.foodnati-qty-number,
.foodnati-qty-old {
  position: absolute;
  inset: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.foodnati-qty-old {
  animation: foodnatiQtyOldUp 0.25s ease-in-out both;
}

.foodnati-qty-new {
  animation: foodnatiQtyNewUp 0.25s ease-in-out both;
}

@keyframes foodnatiQtyOldUp {
  from { transform: translateY(0); }
  to   { transform: translateY(-100%); }
}

@keyframes foodnatiQtyNewUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

/* NO BLACK SHADOW */

.foodnati-card-qty-control button{
  -webkit-tap-highlight-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}

.foodnati-card-qty-control button:active{
  background: transparent !important;
}

/* ==========================================
   FOODNATI FLOATING CART - COMPACT DESIGN
========================================== */


/* ==========================================
   FOODNATI FLOATING CART - COMPACT BIGGER DESIGN
========================================== */

.foodnati-floating-cart {
  position: fixed;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 2147482000;

  display: none;
  align-items: center;
  gap: 11px;

  width: calc(100% - 28px);
  max-width: 440px;
  min-height: 68px;
  padding: 10px 12px;

  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 15px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);

  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

/* ==========================================
   SHOW FLOATING CART
========================================== */

.foodnati-floating-cart.active {
  display: flex;
}

/* ==========================================
   RESTAURANT IMAGE
========================================== */

.foodnati-cart-restaurant-img {
  display: block;
  flex: 0 0 48px;

  width: 48px;
  height: 48px;

  object-fit: cover;
  object-position: center;

  background: #f5f5f5;
  border-radius: 11px;
}

/* ==========================================
   RESTAURANT DETAILS
========================================== */

.foodnati-cart-restaurant-info {
  display: flex;
  flex-direction: column;
  justify-content: center;

  flex: 1;
  min-width: 0;
  gap: 4px;
}

/* ==========================================
   RESTAURANT NAME
========================================== */

.foodnati-cart-restaurant-name {
  color: #17243B;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================
   ITEM COUNT
========================================== */

.foodnati-cart-subtitle {
  margin: 0;
  padding: 0;

  color: #888888;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
}

/* ==========================================
   CHECKOUT BUTTON
========================================== */

.foodnati-cart-show-btn {
  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 auto;
  min-width: 92px;
  height: 39px;
  padding: 0 14px;
  margin: 0;

  background: #E82B65;
  color: #ffffff;

  border: none;
  border-radius: 9px;

  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;

  cursor: pointer;
  outline: none;
  box-shadow: none;

  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

/* ==========================================
   NO ZOOM / NO SHADOW ON TAP
========================================== */

.foodnati-cart-show-btn:focus,
.foodnati-cart-show-btn:active {
  background: #E82B65;
  color: #ffffff;
  outline: none;
  box-shadow: none;
  transform: none;
}

/* ==========================================
   SMALL MOBILE SCREENS
========================================== */

@media (max-width: 360px) {

  .foodnati-floating-cart {
    width: calc(100% - 20px);
    min-height: 64px;
    gap: 9px;
    padding: 9px 10px;
    border-radius: 13px;
  }

  .foodnati-cart-restaurant-img {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 9px;
  }

  .foodnati-cart-restaurant-name {
    font-size: 12px;
  }

  .foodnati-cart-subtitle {
    font-size: 11px;
  }

  .foodnati-cart-show-btn {
    min-width: 84px;
    height: 36px;
    padding: 0 10px;
    font-size: 11px;
    border-radius: 8px;
  }

}

/* ==========================================
   DESKTOP
========================================== */

@media (min-width: 768px) {

  .foodnati-floating-cart {
    bottom: 22px;
    max-width: 440px;
  }

}


/* CENTER RESTAURANT SWITCH POPUP */

.foodnati-switch-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.45);
}

.foodnati-switch-overlay.active {
  display: flex;
}

.foodnati-switch-popup {
  width: 100%;
  max-width: 340px;
  padding: 25px 20px 20px;
  background: #ffffff;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 10px 35px rgba(0,0,0,0.15);
}

#foodnatiSwitchMessage {
  color: #17243B;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  margin: 0 0 24px;
}

.foodnati-switch-actions {
  display: flex;
  gap: 10px;
}

.foodnati-switch-actions button {
  flex: 1;
  height: 42px;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

#foodnatiDontAdd {
  background: #f1f2f4;
  color: #17243B;
}

#foodnatiConfirmAdd {
  background: #E82B65;
  color: #ffffff;
}



/* ==========================================
   FOODNATI FREE DELIVERY UNLOCK ANIMATION
   DURATION: 4 SECONDS
========================================== */

/* Keep animation inside floating cart */
.foodnati-floating-cart {
  overflow: hidden;
}

/* Animation overlay */
.foodnati-free-unlock {
  position: absolute;
  inset: 0;
  z-index: 10;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  visibility: hidden;
}
/* FLOATING CART - MORE ROUNDED */
.foodnati-floating-cart {
  border-radius: 25px !important;
}

/* RESTAURANT IMAGE - FULL ROUND */
.foodnati-cart-restaurant-img {
  border-radius: 50% !important;
  width: 48px;
  height: 48px;
  object-fit: cover;
}
.foodnati-free-unlock.play {
  visibility: visible;
}

/* Yellow background */
.foodnati-yellow-fill {
  position: absolute;
  inset: 0;
  background: #FFD54F;
  clip-path: inset(0 100% 0 0);
}

.foodnati-free-unlock.play .foodnati-yellow-fill {
  animation: foodnatiYellowSweep 4s linear forwards;
}

/* Fill left to right, then close left to right */
@keyframes foodnatiYellowSweep {
  0% {
    clip-path: inset(0 100% 0 0);
  }

  35%, 70% {
    clip-path: inset(0 0 0 0);
  }

  100% {
    clip-path: inset(0 0 0 100%);
  }
}

/* Premium Outfit text */
.foodnati-unlock-text {
  position: absolute;
  inset: 0;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0 46px;

  font-family: "Outfit", sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.25px;
  line-height: 1.25;

  color: #17243B;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
}

.foodnati-free-unlock.play .foodnati-unlock-text {
  animation: foodnatiUnlockText 4s ease forwards;
}

@keyframes foodnatiUnlockText {
  0%, 25% {
    opacity: 0;
    transform: translateY(5px);
  }

  35%, 70% {
    opacity: 1;
    transform: translateY(0);
  }

  85%, 100% {
    opacity: 0;
    transform: translateY(0);
  }
}

/* Bike image */
.foodnati-unlock-bike {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 5px;

  width: 52px;
  height: 52px;
  object-fit: contain;

  transform: translateX(-65px);
  will-change: left, transform;
}

.foodnati-free-unlock.play .foodnati-unlock-bike {
  animation: foodnatiBikeRide 4s linear forwards;
}

/* Bike moves left to right */
@keyframes foodnatiBikeRide {
  0% {
    left: 0;
    transform: translateX(-65px);
  }

  35% {
    left: 100%;
    transform: translateX(-52px);
  }

  50%, 100% {
    left: 100%;
    transform: translateX(65px);
  }
}

/* Small mobile screens */
@media (max-width: 360px) {
  .foodnati-unlock-text {
    font-size: 13px;
    padding: 0 40px;
    letter-spacing: -0.4px;
  }

  .foodnati-unlock-bike {
    width: 45px;
    height: 45px;
  }
}


/* ==========================================
   FOODNATI PRODUCT NAME CUT FIX
========================================== */

.foodnati-item-card .foodnati-item-name {
  display: block !important;

  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;

  margin: 0 0 5px !important;
  padding: 0 !important;

  line-height: 1.5 !important;
  text-align: left !important;

  white-space: normal !important;
  overflow: visible !important;

  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  -webkit-box-orient: initial !important;

  overflow-wrap: anywhere;
  word-break: normal;
}

/* NAME STARTS BESIDE ICON */

.foodnati-item-name .foodnati-product-title {
  display: inline !important;
  white-space: normal !important;
  line-height: inherit !important;
}

/* ==========================================
   FOODNATI VEG / NON-VEG ICON - CLOSE GAP
========================================== */
.foodnati-item-name {
  display: block;
  width: 100%;
  text-align: left;
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: break-word;
}

.foodnati-product-title {
  display: inline;
  vertical-align: baseline;
}

.foodnati-item-name .foodnati-veg-icon,
.foodnati-item-name .foodnati-nonveg-icon {
  display: inline-block;
  position: relative;
  width: 13px;
  height: 13px;
  min-width: 13px;
  margin: 0 1px 0 0;
  padding: 0;
  vertical-align: -2px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  box-sizing: border-box;
  flex: none;
}

.foodnati-item-name .foodnati-veg-icon::after,
.foodnati-item-name .foodnati-nonveg-icon::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: currentColor;
}

.foodnati-item-name .foodnati-veg-icon { color: #0fbd62; }
.foodnati-item-name .foodnati-nonveg-icon { color: #ff2028; }

@media (max-width: 480px) {
  .foodnati-item-name .foodnati-veg-icon,
  .foodnati-item-name .foodnati-nonveg-icon {
    width: 12px;
    height: 12px;
    min-width: 12px;
    margin-right: 1px;
  }
}

/* ==========================================
   FOODNATI BOTTOM SHEET VEG / NON-VEG
   PERFECT NAME ALIGNMENT
========================================== */





/* VEG / NON-VEG ICON */



/* CENTER DOT */



/* VEG GREEN */



/* NON-VEG RED */



/* SMALL MOBILE */




/* FOODNATI cart: visible over loaded restaurant, hidden for loader/sheet */
body:has(#mr-detail-screen.mr-visible) #foodnatiFloatingCart.active {
  z-index: 2147483007 !important;
}
body:has(#mr-detail-screen.mr-visible.mr-loading) #foodnatiFloatingCart,
body:has(.foodnati-bottom-sheet.active) #foodnatiFloatingCart {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
body:has(#mr-detail-screen.mr-visible:not(.mr-loading)):not(:has(.foodnati-bottom-sheet.active)) #foodnatiFloatingCart.active {
  visibility: visible !important;
  pointer-events: auto !important;
}


/* FOODNATI NEW COMPACT GRADIENT QUANTITY — PRODUCT CARDS + SHEET */
.foodnati-image-wrap { overflow: visible !important; }
.foodnati-slide-up-old { animation: foodnatiNewUpOld .24s ease-in forwards !important; }
.foodnati-slide-up-new { animation: foodnatiNewUpNew .24s ease-out forwards !important; }
.foodnati-slide-down-old { animation: foodnatiNewDownOld .24s ease-in forwards !important; }
.foodnati-slide-down-new { animation: foodnatiNewDownNew .24s ease-out forwards !important; }
@keyframes foodnatiNewUpOld { from {transform:translateY(0)} to {transform:translateY(-100%)} }
@keyframes foodnatiNewUpNew { from {transform:translateY(100%)} to {transform:translateY(0)} }
@keyframes foodnatiNewDownOld { from {transform:translateY(0)} to {transform:translateY(100%)} }
@keyframes foodnatiNewDownNew { from {transform:translateY(-100%)} to {transform:translateY(0)} }
.foodnati-image-wrap .foodnati-unavailable{
  position: absolute !important; right: 0 !important; bottom: -1px !important;
  width: auto !important; min-width: 0 !important;
  height: 36px !important; min-height: 36px !important;
  padding: 0 12px !important; border: 1.5px solid #D8D8D8 !important;
  border-radius: 999px !important; background: #F5F5F5 !important;
  color: #999 !important; font-size: 11px !important;
  font-weight: 700 !important; white-space: nowrap; cursor: not-allowed;
}

/* FOODNATI SMALL UNAVAILABLE BUTTON - CARD ONLY */

.foodnati-image-wrap .foodnati-add-btn:disabled {
  min-width: 0 !important;
  width: 51px !important;
  height: 18px !important;
  min-height: 24px !important;

  padding: 0 4px !important;
  font-size: 6px !important;
  font-weight: 600 !important;

  border-radius: 12px !important;

  right: 2px !important;
  bottom: 2px !important;

  background: #f5f5f5 !important;
  color: #999999 !important;
  border: 1px solid #dddddd !important;
}


/* FOODNATI + AND EXPANDED BUTTON */
/* 3PX UP + 4PX LEFT */


/* FOODNATI BOTTOM SHEET - NAME & PRICE */







/* FOODNATI BOTTOM SHEET - ORIGINAL EYES SHAPE */

/* COMPARISON POSITION */


/* BOTH TEXTS SAME SIZE */


/* ORIGINAL EYES CONTAINER */


/* ORIGINAL ROUND EYES - SIZE INCREASE ONLY */


/* ORIGINAL PUPILS */


/* FOODNATI - SMALL EYE PUPILS ONLY */



/* ======================================
   FOODNATI BOTTOM SHEET - EYES FIX
====================================== */

/* COMPARISON POSITION */



/* BOTH TEXTS */



/* EYES CONTAINER */



/* PERFECT ROUND OUTER EYES */



/* VISIBLE INNER EYE BALLS */



/* PINK EYES - CENTER */



/* GREY EYES - MOVING PUPILS */



/* SMOOTH EYE BALL MOVEMENT */


/* =====================================
   UNIQUE FOODNATI SHEET HEART ANIMATION
===================================== */



/* BOTH MESSAGES */



/* PINK */



/* GREY */



/* EYES WRAPPER */



/* ROUND EYES */



/* FONT AWESOME HEART */



/* FIRST PINK - LOOK UP */





/* SECOND GREY - LOOK LEFT RIGHT */





/* TEXT */



/* FIRST MESSAGE SLIDE */



/* SECOND MESSAGE SLIDE */



/* BOTTOM SHEET DESCRIPTION - BOTTOM GAP */






/* Main product row — isolated quantity control, fixed icon layer. */
#fooditems .fn-main-anchor {
 position:absolute; right:4px; bottom:2px; width:75px; height:30px;
 z-index:10; overflow:visible; pointer-events:none; isolation:isolate;
 transform:none; transition:none; animation:none; overflow-anchor:none;
}
@media(min-width:768px){#fooditems .fn-main-anchor{bottom:5px}}
#fooditems .fn-main-shell {
 position:absolute; top:0; right:0; width:75px; height:30px;
 color:#FF007F; pointer-events:none; transform:none; animation:none; transition:none;
}
#fooditems .fn-main-shell::before {
 content:""; position:absolute; right:0; top:0; width:30px; height:30px;
 box-sizing:border-box; border-radius:30px; border:1.25px solid #FF007F;
 box-shadow:inset 0 0 0 1.25px #FF007F; background:#fff;
 transition:width .20s cubic-bezier(.25,.8,.25,1); pointer-events:none;
}
#fooditems .fn-main-shell.expanded::before {width:75px}
#fooditems .fn-main-anchor .fn-main-btn {
 all:unset; box-sizing:border-box; position:absolute; top:0;
 width:30px; height:30px; display:block; color:#FF007F; cursor:pointer;
 pointer-events:auto; touch-action:manipulation; -webkit-tap-highlight-color:transparent;
 -webkit-appearance:none; appearance:none; transform:none; animation:none; transition:none;
 z-index:2; border:0; padding:0; margin:0; background:transparent; outline:0;
}
#fooditems .fn-main-anchor .fn-main-btn svg {
 position:absolute; top:7.5px; left:7.5px; display:block; width:15px; height:15px;
 pointer-events:none; transform:none; animation:none; transition:none;
}
#fooditems .fn-main-anchor .fn-main-plus {right:0; opacity:1; contain:layout paint; isolation:isolate; backface-visibility:hidden; -webkit-backface-visibility:hidden; transform:translateZ(0);}
#fooditems .fn-main-anchor .fn-main-minus {left:0;opacity:0;pointer-events:none;transition:opacity .10s ease}
#fooditems .fn-main-shell.expanded .fn-main-minus {opacity:1;pointer-events:auto;transition-delay:.06s}
#fooditems .fn-main-number {position:absolute;left:27.5px;top:5px;width:20px;height:20px;font:800 13px/20px Arial,sans-serif;text-align:center;overflow:hidden;opacity:0;pointer-events:none;transition:opacity .10s ease;contain:layout paint}
#fooditems .fn-main-shell.expanded .fn-main-number {opacity:1;transition-delay:.06s}
#fooditems .fn-main-number span {position:absolute;inset:0;display:block;text-align:center}
#fooditems .fn-main-out-up {animation:fnMainOutUp .18s ease both}
#fooditems .fn-main-in-up {animation:fnMainInUp .18s ease both}
#fooditems .fn-main-out-down {animation:fnMainOutDown .18s ease both}
#fooditems .fn-main-in-down {animation:fnMainInDown .18s ease both}
@keyframes fnMainOutUp {from{transform:translateY(0)}to{transform:translateY(-100%)}}
@keyframes fnMainInUp {from{transform:translateY(100%)}to{transform:translateY(0)}}
@keyframes fnMainOutDown {from{transform:translateY(0)}to{transform:translateY(100%)}}
@keyframes fnMainInDown {from{transform:translateY(-100%)}to{transform:translateY(0)}}
#fooditems .foodnati-items-grid {overflow-anchor:none;scroll-snap-type:none;scroll-behavior:auto}
@media(prefers-reduced-motion:reduce){#fooditems .fn-main-shell::before,#fooditems .fn-main-btn,#fooditems .fn-main-number{transition:none}#fooditems .fn-main-number span{animation-duration:.001s}}

/* Popup only: fixed center, number-only rolling animation. */








/* Final approved product popup — isolated styles */
.foodnati-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  visibility: hidden;
  transition: .25s ease;
  z-index: 2147483000;
}
.foodnati-sheet-overlay.active {
  opacity: 1;
  visibility: visible;
}
.foodnati-bottom-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  max-height: 90dvh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform .3s cubic-bezier(.22,.61,.36,1);
  z-index: 2147483001;
  visibility: hidden;
  box-sizing: border-box;
}
.foodnati-bottom-sheet.active {
  transform: translateY(0);
  visibility: visible;
}
.foodnati-bottom-sheet .foodnati-sheet-image-wrap {
  position: relative;
  width: 100%;
  height: 25dvh;
  flex-shrink: 0;
  overflow: hidden;
  background: #f5f5f5;
}
.foodnati-bottom-sheet .foodnati-sheet-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.foodnati-bottom-sheet .foodnati-sheet-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #222222;
  border: none;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.foodnati-bottom-sheet .foodnati-sheet-content {
  flex: 0 1 auto;
  height: auto;
  min-height: 0;
  padding: 12px 16px 15px;
  overflow-y: auto;
  scrollbar-width: none;
  background: #ffffff;
}
.foodnati-bottom-sheet .foodnati-sheet-content::-webkit-scrollbar {
  display: none;
}
.foodnati-bottom-sheet .foodnati-sheet-name {
  font-family: "Poppins", sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: #17243B;
  margin: 0 0 5px;
}
.foodnati-bottom-sheet .foodnati-sheet-description {
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.7;
  color: #777777;
  margin: 0;
  height: auto;
  white-space: normal;
  overflow-wrap: break-word;
}
.foodnati-bottom-sheet .foodnati-sheet-footer {
  flex-shrink: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 25px;
  padding-bottom: calc(25px + env(safe-area-inset-bottom, 0px));
  background: #ffffff;
  border-top: 1px solid #e8e8e8;
}
.foodnati-bottom-sheet .foodnati-sheet-price-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  min-width: 0;
}
.foodnati-bottom-sheet .foodnati-sheet-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  background: #FFE500;
  color: #111111;
  padding: 4px 10px 4px 8px;
  font-family: Arial, sans-serif !important;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
  border: none;
  border-radius: 0;
  box-shadow: none;
  white-space: nowrap;
  transform: rotate(-3deg);
  clip-path: polygon(
    0% 3%,
    100% 0%,
    96% 10%,
    100% 20%,
    96% 30%,
    100% 40%,
    96% 50%,
    100% 60%,
    96% 70%,
    100% 80%,
    96% 90%,
    100% 100%,
    0% 97%
  );
}
.foodnati-bottom-sheet .foodnati-sheet-saving {
  font-family: "Poppins", sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
  color: #FF007F;
  white-space: nowrap;
}
.foodnati-bottom-sheet .foodnati-sheet-add-wrap {
  position: relative;
  width: 85px !important;
  height: 34px !important;
  flex-shrink: 0;
  background: #FF007F;
  border-radius: 8px;
  overflow: hidden;
  min-width: 85px !important;
  min-height: 34px !important;
}
.foodnati-bottom-sheet .foodnati-sheet-add-btn {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  color: #ffffff;
  border: none;
  font-family: inherit;
  font-size: 13px !important;
  font-weight: 800 !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}
.foodnati-bottom-sheet .foodnati-sheet-qty-control {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.foodnati-bottom-sheet .foodnati-sheet-qty-control button {
  width: 25px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #ffffff;
  border: none;
  font-size: 16px !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  flex: 0 0 25px;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif !important;
  font-weight: 900 !important;
  line-height: 1;
  -webkit-text-stroke: 0.5px currentColor;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
}
.foodnati-bottom-sheet .foodnati-qty-number-window {
  position: absolute;
  top: 0;
  left: 25px;
  transform: none;
  width: auto;
  height: 100%;
  overflow: hidden;
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
  bottom: 0;
  right: 25px;
  display: block !important;
}
.foodnati-bottom-sheet .foodnati-qty-number-window span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.foodnati-bottom-sheet .fn-popup-out-up {
  animation: fnMainOutUp .18s ease both;
}
.foodnati-bottom-sheet .fn-popup-in-up {
  animation: fnMainInUp .18s ease both;
}
.foodnati-bottom-sheet .fn-popup-out-down {
  animation: fnMainOutDown .18s ease both;
}
.foodnati-bottom-sheet .fn-popup-in-down {
  animation: fnMainInDown .18s ease both;
}
.foodnati-bottom-sheet .foodnati-sheet-qty-control button i {
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1;
}
.foodnati-bottom-sheet .foodnati-sheet-qty-control button:active {
  background: transparent;
  box-shadow: none;
}
.foodnati-bottom-sheet *, .foodnati-bottom-sheet *::before, .foodnati-bottom-sheet *::after {box-sizing:border-box;}
.foodnati-bottom-sheet .foodnati-sheet-scroll, .foodnati-bottom-sheet #foodnati-sheet-body {display:flex; flex:0 1 auto; min-height:0; flex-direction:column; overflow:hidden;}
.foodnati-bottom-sheet .foodnati-sheet-add-btn:disabled {background:#eee;color:#888;font-size:10px!important;cursor:not-allowed;}
.foodnati-bottom-sheet .foodnati-sheet-qty-control button i {pointer-events:none;}
.foodnati-bottom-sheet .foodnati-qty-number-window > span {width:100%;height:100%;margin:0;padding:0;}
body.foodnati-sheet-open {overflow:hidden;}
@media(prefers-reduced-motion:reduce){.foodnati-bottom-sheet,.foodnati-sheet-overlay{transition:none}.foodnati-bottom-sheet .fn-popup-roll{animation-duration:.001s!important}}
.foodnati-bottom-sheet .foodnati-sheet-price {
  font-size: 18px !important;
  font-weight: 700 !important;
  padding: 3px 8px 3px 6px !important;
  line-height: 1.1 !important;
}
/* Quantity digits: explicit full-height centering, independent of inherited span styles. */
#fooditems .fn-main-shell .fn-main-number > span,
.foodnati-card-qty-control .foodnati-qty-number-window > span,
.foodnati-bottom-sheet .foodnati-qty-number-window > span,
.mithai-image-add .mithai-number-window > span {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}
