/* ==========================================================================
   Zowli — visual redesign layer (v1.1, 2026-11-04)
   v1.1: Roboto prices on mobile menu, removed gap under veg filters,
         wider Floor column so its label isn't cut off.
   v1.2: "Customisable" note placed under the Add button (was hidden behind it).
   v1.3: mobile Add button and quantity stepper (− 1 +) moved beside the veg dot,
         above the dish name; image column shows only the photo.
   v1.4: restaurant listing side margins reduced (32px -> 12px) on mobile.
   v1.5: default dish image (plate + cutlery) when a menu item has no photo.
   v1.6: desktop breadcrumb spacing; desktop "Customisable" kept inside the card;
         restaurant meta separators drawn as centred dots.
   v1.7: food categories as a grid (mobile 3 x 2 + styled Show more; desktop wraps).
   v1.8: category names darker/bigger (14px semibold), bigger images, tighter spacing.
   v1.9: mobile Add / − 1 + back over the bottom of the photo; dish name on the
         same line as the veg dot.
   v2.0: veg dot + dish name on one line on desktop too.
   v2.1: "Add Another Address" button hidden on the Address Saved sheet.
   v2.2: payment step styled like the approved design (option rows, intro line,
         single Proceed button on mobile).
   v2.3: desktop checkout: no duplicate logo bar; Back + title aligned with content;
         bigger step indicator; space between Proceed button and Secure line.
   v2.4: desktop cart styled (was unstyled in the build) as a centred pop-up.
   v2.5: category images cropped again so the name printed in the image isn't shown twice.
   v2.6: payment option rows closer to the design: bigger icons, taller rows, larger text.
   v2.7: desktop payment step: Proceed to Pay button inside the Payment card (like the design).
   v2.8: "Change delivery address" pop-up styled (was unstyled, top-left of the page);
         no seam line between the Payment card and its Proceed button.
   v2.9: desktop address step: Save Address button in normal flow under the cards
         (no white sticky footer bar).
   v3.0: desktop "Address Saved Successfully" shown as a centred pop-up (was a
         full-width bottom sheet).
   Loaded AFTER assets/index-D1Vrb6fv.css. Visual only: no JS / API changes.
   Sections:
     1. Fonts (self-hosted Google Sans + Roboto, OFL)
     2. Design tokens
     3. Global typography
     4. Discovery / restaurant listing
     5. Restaurant menu page (mobile)
     6. Cart sheet
     7. Checkout — address form (Material-style outlined fields)
     8. Checkout — payment step & success
   ========================================================================== */

/* 1. Fonts ---------------------------------------------------------------- */
@font-face {
  font-family: "Google Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/te/google-sans-latin.woff2?v=2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Google Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/te/google-sans-latin-ext.woff2?v=2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* ₹ sign (not in the latin subsets) */
@font-face {
  font-family: "Google Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/te/google-sans-rupee.woff2?v=2) format("woff2");
  unicode-range: U+20B9;
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/te/roboto-latin-400.woff2?v=2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/te/roboto-latin-500.woff2?v=2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/te/roboto-latin-700.woff2?v=2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/te/google-sans-rupee.woff2?v=2) format("woff2");
  unicode-range: U+20B9;
}

/* 2. Design tokens -------------------------------------------------------- */
:root {
  --te-font-head: "Google Sans", "Google Sans Text", Figtree, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --te-font-text: "Google Sans Text", "Google Sans", Figtree, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --te-font-ui: Roboto, "Google Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --te-ink: #1f1f1f;          /* dark charcoal text */
  --te-ink-2: #5f6368;        /* neutral grey text */
  --te-ink-3: #80868b;        /* secondary info */
  --te-line: #e3e3e6;
  --te-line-strong: #c4c7cc;
  --te-green: #128a3e;
  --te-card-shadow: 0 1px 2px rgba(31, 31, 31, .06), 0 4px 14px rgba(31, 31, 31, .06);
  --te-radius-card: 16px;

  /* re-point the existing theme tokens */
  --font-noon: var(--te-font-text);
  --font-display: var(--te-font-head);
  --font-body: var(--te-font-text);
  --font: var(--te-font-text);
  --font-sans: var(--te-font-text);
  --color-text: var(--te-ink);
  --color-text-secondary: var(--te-ink-2);
  --color-text-muted: var(--te-ink-2);
  --color-text-meta: var(--te-ink-3);
  --color-veg: var(--te-green);
  --color-rating-green: var(--te-green);
  --shadow-card: var(--te-card-shadow);
}

/* 3. Global typography ---------------------------------------------------- */
body {
  font-family: var(--te-font-text);
  color: var(--te-ink);
}
h1, h2, h3, h4,
.noon-section__title,
.menu-main__title,
.m-cat-heading,
.sheet__head h2,
.ck-card__title {
  font-family: var(--te-font-head);
  font-weight: 700;
  color: var(--te-ink);
  letter-spacing: -.005em;
}
.btn,
.auth-dialog__continue,
.m-checkout-cta,
.noon-menu-item__add,
.m-cart-bar {
  font-family: var(--te-font-head);
  font-weight: 600;
}
/* prices & ratings: Roboto Medium */
.noon-menu-item__price,
.noon-menu-item__rating,
.noon-r-card__rating,
.noon-r-card__rating-value,
.noon-r-card__cost,
.rest-meta,
.cart-line__sum,
.bill-rows .row span:last-child,
.grand-bar span:last-child,
.qty span,
.noon-menu-item__stepper span {
  font-family: var(--te-font-ui);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
/* navigation: Roboto */
.m-cat-tabs button,
.menu-side__cats button,
.mobile-tabbar a,
.chip,
.menu-diet-chip,
.menu-bestseller-chip,
.m-filter-chip {
  font-family: var(--te-font-ui);
}

/* 4. Discovery / restaurant listing --------------------------------------- */
.noon-r-card {
  background: #fff;
  border-radius: var(--te-radius-card);
  box-shadow: var(--te-card-shadow);
  border: 1px solid #f0f0f2;
  overflow: hidden;
}
.noon-r-card__media { border-radius: var(--te-radius-card) var(--te-radius-card) 0 0; }
.noon-r-card__body { padding: 12px 14px 14px; gap: 4px; }
.noon-r-card__name {
  font-family: var(--te-font-head);
  font-weight: 700;
  color: var(--te-ink);
}
.noon-r-card__rating svg { color: var(--te-green); fill: var(--te-green); }
.noon-r-card__rating-value { color: var(--te-green); }
.noon-r-card__cuisines,
.noon-r-card__cost,
.noon-r-card__fee { color: var(--te-ink-2); }
.noon-r-card__offer { font-family: var(--te-font-head); border-radius: 999px; }
.noon-r-card__eta { font-family: var(--te-font-ui); font-weight: 500; border-radius: 999px; }

/* food categories ("What's on your mind"): grid instead of a sideways slider.
   Mobile: the app already shows 6 + a "Show more" toggle -> 3 x 2 grid.
   Desktop: the app shows all -> they wrap into rows (no arrows needed). */
.food-mind__row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px 12px;
  overflow: visible;
  padding: 4px 0 8px;
  -webkit-mask-image: none !important;
          mask-image: none !important;
}
.food-mind__nav { display: none !important; }
.food-mind__item { width: auto; min-width: 0; }
.food-mind__label { font-family: var(--te-font-text); color: var(--te-ink-2); }

.food-mind__more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin: 4px 0 0;
  padding: 10px 16px;
  border: 1px solid var(--te-line);
  border-radius: 999px;
  background: #fff;
  color: var(--te-ink);
  font-family: var(--te-font-head);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.food-mind__more::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: rotate(45deg);
  transition: transform .2s;
}
.food-mind__more[aria-expanded="true"]::after { margin-top: 3px; transform: rotate(-135deg); }
.food-mind__more:hover { border-color: var(--color-primary); }

@media (width <= 767px) {
  .food-mind__row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px 4px;
    padding: 0 0 6px;
  }
  .food-mind__item { gap: 0; }
  /* the category images have the name printed in their bottom ~20%:
     show only the top 80% (as the original design did) so it isn't shown twice */
  .food-mind__media {
    width: 100%;
    max-width: 124px;
    height: auto;
    aspect-ratio: 5 / 4;
    margin: 0 auto;
    background: transparent;
    overflow: hidden;
  }
  .food-mind__img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    left: 0;
    top: 0;
  }
}

/* category names: darker and bigger (all states) */
.food-mind__item,
.food-mind__item:visited,
.food-mind__item:hover,
.food-mind__item:focus { color: var(--te-ink); text-decoration: none; }
.food-mind__item .food-mind__label {
  margin-top: 2px;
  font-family: var(--te-font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--te-ink);
}
.food-mind__item:hover .food-mind__label,
.food-mind__item.is-active .food-mind__label { color: var(--color-primary); }

/* pill-style filters */
.chip,
.m-filter-chip {
  border-radius: 999px;
  border: 1px solid var(--te-line);
  color: var(--te-ink);
  font-weight: 500;
}
.chip:hover,
.chip.is-active { background: var(--color-primary-tint); }

@media (width <= 767px) {
  .noon-section__title { font-size: 20px; line-height: 1.3; }
  .noon-r-card__name { font-size: 16px; }
  .noon-r-card__cuisines { font-size: 13px; }
  .noon-r-card__cost,
  .noon-r-card__fee,
  .noon-r-card__rating,
  .noon-r-card__rating-value,
  .noon-r-card__rating-count { font-size: 12px; }
  .noon-discovery .noon-rest-grid { gap: 16px; }

  /* narrower side margins on the listing: 32px -> 12px, header aligned */
  .noon-discovery__body { padding-left: 12px; padding-right: 12px; }
  .noon-discovery .noon-section { padding-left: 0; padding-right: 0; }
  .noon-header--discovery .noon-header__inner { padding-left: 12px; padding-right: 12px; }
}

/* 5. Restaurant menu page (mobile) ---------------------------------------- */
@media (width <= 767px) {
  /* header: compact logo, restaurant name, delivery time */
  .m-header--menu-sticky { border-bottom-color: #f0f0f2; }
  .m-header__rest-name {
    font-family: var(--te-font-head);
    font-size: 17px;
    font-weight: 700;
    color: var(--te-ink);
    line-height: 1.25;
  }
  .m-header__rest-eta {
    font-family: var(--te-font-ui);
    font-size: 12px;
    font-weight: 500;
    color: var(--te-ink-2);
    margin-top: 1px;
  }

  /* full-width search directly below header */
  .m-menu-filters--noon { background: #fff; border-top: 0; padding-top: 8px; }
  .m-menu-search-row { padding: 0 12px 8px; }
  .m-menu-search {
    height: 46px;
    border-radius: 999px;
    border: 1px solid var(--te-line);
    background: #f7f7f8;
    padding: 0 16px;
  }
  .m-menu-search:focus-within { border-color: var(--color-primary); background: #fff; }

  /* veg filters in their own row, pill-style */
  .m-menu-diet { padding: 0 12px 8px; }
  .m-menu-diet .menu-filter-bar,
  .m-menu-filters .menu-filter-bar {
    border-bottom: 0;
    box-shadow: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .menu-filter-bar__chips { gap: 8px; }
  .menu-diet-chip,
  .menu-bestseller-chip {
    border-radius: 999px;
    border: 1px solid var(--te-line);
    min-height: 34px;
    padding: 4px 12px;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    box-shadow: none;
  }
  .menu-bestseller-chip.is-active,
  .menu-bestseller-chip.is-on {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: var(--color-primary-tint);
  }

  /* category tabs: horizontal scroll, pink active underline */
  .m-cat-tabs { gap: 20px; padding: 0 12px; border-bottom: 1px solid #f0f0f2; }
  .m-cat-tabs button {
    font-size: 13px;
    font-weight: 500;
    color: var(--te-ink-2);
    padding: 12px 0 10px;
    border-bottom-width: 3px;
  }
  .m-cat-tabs button.is-active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
    font-weight: 700;
  }

  /* section heading */
  .m-cat-heading,
  .m-dish-list .menu-main__title {
    font-size: 20px;
    line-height: 1.3;
    padding-top: 16px;
  }

  /* product rows: details left, image right */
  .m-dish-list { padding: 0 12px 16px; }
  .m-dish-list .noon-menu-item {
    grid-template-columns: minmax(0, 1fr) 132px;
    gap: 14px;
    padding: 16px 0 24px;
    border-bottom: 1px solid #f0f0f2;
  }
  .m-dish-list .noon-menu-item__name {
    font-family: var(--te-font-head);
    font-size: 16px;
    font-weight: 700;
    color: var(--te-ink);
    margin-top: 4px;
  }
  .m-dish-list .noon-menu-item__price {
    font-family: var(--te-font-ui);
    font-weight: 500;
    font-size: 15px;
    color: var(--te-ink);
    margin-top: 6px;
  }
  .m-dish-list .noon-menu-item__rating,
  .m-dish-list .noon-menu-item__rating-count {
    font-size: 12px;
    color: var(--te-green);
  }
  .m-dish-list .noon-menu-item__rating > span:first-child { color: var(--te-green); }
  .m-dish-list .noon-menu-item__desc {
    font-size: 13px;
    line-height: 1.45;
    color: var(--te-ink-2);
    margin-top: 6px;
  }
  .noon-menu-item__bestseller {
    border-radius: 999px;
    font-family: var(--te-font-head);
    padding: 2px 10px;
  }

  /* food image: larger, rounded, subtle shadow */
  .m-dish-list .noon-menu-item__media {
    width: 132px;
    height: 132px;
    margin-bottom: 14px;   /* room for the overlapping Add button */
  }
  .m-dish-list .noon-menu-item__media img,
  .m-dish-list .noon-menu-item__ph {
    border-radius: 14px;
    box-shadow: var(--te-card-shadow);
  }

  /* Add button: pink, centred over the bottom edge of the image */
  .m-dish-list .noon-menu-item__add,
  .m-dish-list .noon-menu-item__stepper {
    position: absolute;
    left: 50%;
    right: auto;
    bottom: -14px;
    transform: translateX(-50%);
    min-width: 104px;
    height: 36px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(254, 9, 96, .28);
  }
  .m-dish-list .noon-menu-item__add {
    display: grid;
    place-items: center;
    background: var(--color-primary);
    border: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .01em;
  }
  .m-dish-list .noon-menu-item__add:hover { background: var(--color-primary-hover); }

  /* Image column: photo + placeholder stacked in a grid; "Customisable" below */
  .m-dish-list .noon-menu-item__media {
    position: relative;
    display: grid;
    grid-template-rows: 132px auto;
    height: auto;
    margin-bottom: 0;
  }
  .m-dish-list .noon-menu-item__media > img,
  .m-dish-list .noon-menu-item__media > .noon-menu-item__ph {
    grid-area: 1 / 1;
    position: static;
    width: 100%;
    height: 132px;
  }

  /* Add button and quantity stepper (− 1 +): centred over the bottom edge of the photo */
  .m-dish-list .noon-menu-item__media > .noon-menu-item__add,
  .m-dish-list .noon-menu-item__media > .noon-menu-item__stepper {
    position: absolute;
    top: 114px;           /* 132px photo - 18px overlap */
    bottom: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    margin: 0;
  }
  .m-dish-list .noon-menu-item__media > .noon-menu-item__add { font-size: 14px; }
  .m-dish-list .noon-menu-item__media::after {   /* room below the photo for the overlapping button */
    content: "";
    grid-row: 2;
    height: 22px;
  }
  .m-dish-list .noon-menu-item__media:has(.noon-menu-item__custom)::after { display: none; }

  /* "Customisable" note under the button */
  .m-dish-list .noon-menu-item__custom {
    grid-area: 2 / 1;
    margin-top: 26px;
  }


  .m-dish-list .noon-menu-item__stepper {
    background: var(--color-primary);
    border: 0;
    overflow: hidden;
  }
  .m-dish-list .noon-menu-item__stepper button,
  .m-dish-list .noon-menu-item__stepper span { color: #fff; }
  .m-dish-list .noon-menu-item__stepper button:hover { background: rgba(255, 255, 255, .15); }

  /* fixed pink cart bar + space so the last item is never hidden */
  .m-page--menu { padding-bottom: calc(104px + var(--safe-bottom)); }
  .m-cart-bar {
    min-height: 56px;
    border-radius: 14px;
    padding: 12px 18px;
    box-shadow: 0 8px 24px rgba(254, 9, 96, .32);
  }
  .m-cart-bar__label { font-size: 15px; font-weight: 600; }
  .m-cart-bar__view { font-size: 14px; font-weight: 700; letter-spacing: .03em; }
}

/* restaurant hero (desktop + tablet) */
.rest-hero h1 { font-family: var(--te-font-head); font-weight: 700; color: var(--te-ink); }
.rest-hero__cuisines { color: var(--te-ink-2); }
.rest-meta { gap: 10px; color: var(--te-ink-2); }
.rest-meta strong { color: var(--te-green); }
.rest-meta__star svg { color: var(--te-green); fill: var(--te-green); }
.rest-meta { align-items: center; }
.rest-meta__divider {
  display: inline-block;
  flex-shrink: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--te-line-strong);
  font-size: 0;
  color: transparent;
}

/* fix: photo was stacking BELOW the placeholder box (both 100% tall in normal flow).
   Layer the photo over the placeholder instead. Applies to all screen sizes. */
.noon-menu-item__media img {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.noon-menu-item__add,
.noon-menu-item__stepper { z-index: 2; }
/* default dish image: shown when the API sends no image, or the image fails
   (the app then renders only the placeholder box, with no <img>) */
.noon-menu-item__media:not(:has(img)) .noon-menu-item__ph {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23fe0960' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='32' cy='32' r='14' opacity='.55'/%3E%3Ccircle cx='32' cy='32' r='8.5' opacity='.35'/%3E%3Cpath d='M11 18v9a3 3 0 0 0 6 0v-9M14 27v19'/%3E%3Cpath d='M53 46V18c-3.5 1.5-5 5-5 10v6h5'/%3E%3C/svg%3E") center 42% / 46% no-repeat,
    linear-gradient(160deg, #fff5f8 0%, #ffe9f1 100%);
}
.noon-menu-item__media:not(:has(img)) .noon-menu-item__ph::after {
  content: "Zowli";
  display: block;
  position: relative;
  top: 76%;
  text-align: center;
  font-family: var(--te-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  color: rgba(254, 9, 96, .55);
}

.noon-menu-item__custom {
  display: block;
  margin-top: 6px;
  font-family: var(--te-font-ui);
  font-size: 11px;
  font-weight: 500;
  line-height: 14px;
  color: var(--te-ink-3);
  text-align: center;
}

/* breadcrumb: Back / City / Restaurant with proper spacing */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 16px 0 12px;
  font-size: 13px;
  color: var(--te-ink-3);
}
.breadcrumb__back {
  gap: 4px;
  margin-right: 4px;
  color: var(--te-ink);
  font-weight: 600;
}
.breadcrumb__back:hover { color: var(--color-primary); }
.breadcrumb__sep { color: var(--te-line-strong); }
.breadcrumb__current { color: var(--te-ink); font-weight: 500; }

/* desktop/tablet: "Customisable" sits under the image, inside the card */
@media (width >= 768px) {
  .menu-main .noon-menu-item__media.has-custom { margin-bottom: 20px; }
  .menu-main .noon-menu-item__custom {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 6px;
  }
}

/* veg dot and dish name on the same line (mobile + desktop) */
.noon-menu-item__text {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 8px;
  align-items: start;
}
.noon-menu-item__text > * { grid-column: 1 / -1; }
.noon-menu-item__text > .noon-menu-item__diet {
  grid-column: 1;
  grid-row: 1;
  margin-top: 4px;
}
.noon-menu-item__text > .noon-menu-item__name {
  grid-column: 2;
  grid-row: 1;
  margin-top: 0 !important;
}
.noon-menu-item__text > .noon-menu-item__bestseller { justify-self: start; }

/* desktop/tablet menu: card rows + pink selected category */
.menu-main .noon-menu-item { border-radius: 14px; box-shadow: var(--te-card-shadow); border-color: #f0f0f2; }
.noon-menu-item__media img,
.noon-menu-item__ph { border-radius: 12px; }
.noon-menu-item__add {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.noon-menu-item__add:hover { background: var(--color-primary-hover); }
.menu-side__cats button.is-active {
  color: var(--color-primary);
  background: var(--color-primary-tint);
  border-left-color: var(--color-primary);
  font-weight: 700;
}

/* 6. Cart sheet ----------------------------------------------------------- */
.sheet-backdrop { background: rgba(20, 20, 24, .45); }
.sheet.cart-drawer--sheet {
  max-height: 75dvh;            /* ~65–75% of the screen; body scrolls when more items are added */
  border-radius: 20px 20px 0 0;
  padding: 6px 0 0;
}
.cart-drawer--sheet .sheet__handle { margin: 6px auto 10px; }
.cart-drawer--sheet .sheet__head {
  padding: 0 16px 10px;
  margin: 0;
  border-bottom: 1px solid #f0f0f2;
}
.cart-drawer--sheet .sheet__head h2 { font-size: 20px; font-weight: 700; color: var(--te-ink); }
.cart-drawer--sheet .sheet__head-actions { gap: 12px; }
.cart-drawer--sheet .sheet__clear {
  font-family: var(--te-font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  padding: 6px 12px 6px 0;
  border-right: 1px solid var(--te-line);
  border-radius: 0;
}
.cart-drawer__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 16px 8px;
}

/* desktop cart: centred pop-up (the live build has no styles for it, so it
   was rendering at the bottom of the page) */
.cart-drawer-backdrop--panel {
  position: fixed;
  inset: 0;
  z-index: 60;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: rgba(20, 20, 24, .45);
  cursor: pointer;
}
.cart-drawer--panel {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 61;
  display: flex;
  flex-direction: column;
  width: min(520px, calc(100vw - 32px));
  max-height: min(86vh, 760px);
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(31, 31, 31, .28);
  transform: translate(-50%, -50%);
  animation: te-cart-in .2s ease-out;
}
@keyframes te-cart-in {
  from { transform: translate(-50%, -46%); opacity: 0; }
  to { transform: translate(-50%, -50%); opacity: 1; }
}
.cart-drawer--panel .cart-drawer__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
  padding: 18px 20px 14px;
  border-bottom: 1px solid #f0f0f2;
}
.cart-drawer__head h2 { margin: 0; font-size: 20px; font-weight: 700; color: var(--te-ink); }
.cart-drawer__head-actions { display: flex; align-items: center; gap: 12px; }
.cart-drawer__head-actions .sheet__clear {
  padding: 6px 12px 6px 0;
  border-right: 1px solid var(--te-line);
  border-radius: 0;
  background: none;
  font-family: var(--te-font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
}
.cart-drawer--panel .cart-drawer__body { padding: 0 20px 8px; }
.cart-drawer--panel .cart-drawer__footer { position: static; padding: 12px 20px 20px; }
.cart-drawer--panel .cart-line { gap: 12px; padding: 14px 0; align-items: center; }
.cart-drawer--panel .cart-line__img { width: 56px; height: 56px; border-radius: 12px; }
.cart-drawer--panel .cart-line__name { font-family: var(--te-font-head); font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.cart-drawer--panel .qty { height: 32px; border-radius: 10px; }
.cart-drawer--panel .cart-line__sum { font-size: 15px; }
.cart-drawer--panel .bill-rows .row { padding: 10px 0; font-size: 14px; }
.cart-drawer--panel .bill-rows .row + .row { border-top: 1px solid #f3f3f5; }
.cart-drawer--panel .grand-bar {
  margin: 0 0 10px;
  padding: 12px 16px;
  border: 1px solid var(--color-primary-soft);
  background: var(--color-primary-tint);
  font-family: var(--te-font-head);
  font-size: 16px;
}
.cart-drawer--panel .grand-bar span:last-child { font-size: 17px; color: var(--color-primary); }

/* product line: thumbnail + name + qty grouped */
.cart-drawer--sheet .cart-line { gap: 12px; padding: 14px 0; align-items: center; }
.cart-drawer--sheet .cart-line__img { width: 56px; height: 56px; border-radius: 12px; }
.cart-drawer--sheet .cart-line__name {
  font-family: var(--te-font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--te-ink);
  margin-bottom: 8px;
}
.cart-drawer--sheet .qty {
  border-radius: 10px;
  border: 1px solid var(--color-primary);
  height: 32px;
}
.cart-drawer--sheet .qty button { width: 30px; height: 30px; }
.cart-drawer--sheet .cart-line__sum { font-size: 15px; color: var(--te-ink); }

/* coupons: separate section with ticket icon */
.cart-drawer__note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 4px;
  padding: 12px 14px;
  border: 1px dashed var(--te-line-strong);
  border-radius: 12px;
  background: #fafafa;
  font-family: var(--te-font-head);
  font-size: 14px;
  font-weight: 500;
  color: var(--te-ink-2);
}
.cart-drawer__note::before {
  content: "";
  flex: 0 0 20px;
  height: 20px;
  background: var(--color-primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9V6a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v3a3 3 0 0 0 0 6v3a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-3a3 3 0 0 0 0-6z'/%3E%3Cpath d='M14 5v2M14 11v2M14 17v2'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9V6a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v3a3 3 0 0 0 0 6v3a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-3a3 3 0 0 0 0-6z'/%3E%3Cpath d='M14 5v2M14 11v2M14 17v2'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* price breakdown */
.cart-drawer--sheet .bill-rows { padding: 8px 0 0; }
.cart-drawer--sheet .bill-rows .row {
  padding: 10px 0;
  font-size: 14px;
  color: var(--te-ink-2);
}
.cart-drawer--sheet .bill-rows .row + .row { border-top: 1px solid #f3f3f5; }
.cart-drawer--sheet .bill-rows .row span:last-child { color: var(--te-ink); }

/* sticky footer: grand total + full-width checkout */
.cart-drawer__footer {
  position: sticky;
  bottom: 0;
  flex-shrink: 0;
  background: #fff;
  padding: 10px 16px calc(14px + var(--safe-bottom));
  box-shadow: 0 -6px 16px rgba(31, 31, 31, .06);
}
.cart-drawer--sheet .grand-bar {
  background: var(--color-primary-tint);
  border: 1px solid var(--color-primary-soft);
  border-radius: 12px;
  margin: 0 0 10px;
  padding: 12px 16px;
  font-family: var(--te-font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--te-ink);
}
.cart-drawer--sheet .grand-bar span:last-child { font-size: 17px; font-weight: 700; color: var(--color-primary); }
.m-checkout-cta {
  min-height: 56px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  padding: 0 20px;
  box-shadow: 0 8px 20px rgba(254, 9, 96, .28);
}
.m-checkout-cta span:last-child { font-family: var(--te-font-ui); font-weight: 700; }

/* 7. Checkout — address form ---------------------------------------------- */
.ck-flow {
  min-height: 100dvh;
  background: #f6f6f8;
  padding-bottom: calc(96px + var(--safe-bottom));
  font-family: var(--te-font-text);
  color: var(--te-ink);
}
.ck-flow__top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #fff;
  border-bottom: 1px solid #ececf0;
}
.ck-flow__top h1 {
  margin: 0 0 0 auto;
  font-size: 17px;
  font-weight: 700;
  color: var(--te-ink);
}
/* desktop: the site header is already shown, so the checkout bar keeps only
   Back + page title, aligned with the content (no second Zowli logo) */
@media (width >= 768px) {
  .ck-flow__top {
    position: static;
    max-width: 640px;
    margin: 0 auto;
    padding: 20px 0 4px;
    background: transparent;
    border-bottom: 0;
  }
  .ck-flow__top .ck-flow__logo { display: none; }
  .ck-flow__top h1 { margin-left: 4px; font-size: 22px; }
}
.ck-flow__body {
  max-width: 640px;
  margin: 0 auto;
  padding: 16px 0 0;
}
.ck-card {
  border-radius: var(--te-radius-card);
  border-color: #ececf0;
  padding: 18px 16px 20px;
  box-shadow: var(--te-card-shadow);
}
.ck-card__title { font-size: 16px; margin-bottom: 16px; }
.ck-card > p {
  margin: -6px 0 16px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--te-ink-3);
}
.ck-badge {
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eaf6ee;
  color: var(--te-green);
  font-family: var(--te-font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
}

/* address type: House / Office / Other */
.ck-type-row { display: flex; gap: 8px; margin-bottom: 20px; }
.ck-type {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid var(--te-line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--te-ink-2);
  font-family: var(--te-font-ui);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.ck-type svg { width: 18px; height: 18px; flex-shrink: 0; }
.ck-type.is-on {
  border-color: var(--color-primary);
  background: var(--color-primary-tint);
  color: var(--color-primary);
}

/* outlined fields with the label sitting on the border */
.ck-field {
  position: relative;
  display: block;
  margin: 0 0 20px;
}
.ck-field > span {
  position: absolute;
  top: -8px;
  left: 8px;
  z-index: 1;
  max-width: calc(100% - 16px);
  padding: 0 4px;
  background: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: var(--te-ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}
.ck-field em {
  font-style: normal;
  font-weight: 700;
  color: var(--color-primary);
}
.ck-field input,
.ck-field textarea,
.ck-field select {
  display: block;
  width: 100%;
  min-height: 54px;
  padding: 16px 14px 12px;
  border: 1px solid var(--te-line-strong);
  border-radius: 10px;
  background: #fff;
  font-family: var(--te-font-text);
  font-size: 16px;               /* 16px+ stops iOS zoom-on-focus */
  color: var(--te-ink);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
          appearance: none;
}
.ck-field textarea {
  min-height: 108px;
  line-height: 1.45;
  resize: vertical;
}
.ck-field select {
  padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6368' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
}
.ck-field input::placeholder,
.ck-field textarea::placeholder { color: #a5a9ae; }
.ck-field input:hover,
.ck-field textarea:hover,
.ck-field select:hover { border-color: #9aa0a6; }
.ck-field input:focus,
.ck-field textarea:focus,
.ck-field select:focus {
  border-color: var(--color-primary);
  box-shadow: inset 0 0 0 1px var(--color-primary);
}
.ck-field:focus-within > span { color: var(--color-primary); }
.ck-card > :last-child { margin-bottom: 0; }
.ck-field-row {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 12px;
}

/* area / locality (read-only, with Edit) */
.ck-locality {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid var(--te-line-strong);
  border-radius: 10px;
  background: #fff;
}
.ck-locality__text {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 16px;
  color: var(--te-ink);
}
.ck-locality__map {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  padding: 6px 10px;
  border: 1px solid var(--color-primary);
  border-radius: 999px;
  background: #fff;
  color: var(--color-primary);
  font-family: var(--te-font-head);
  font-size: 13px;
  font-weight: 600;
}
.ck-locality__map svg { width: 14px; height: 14px; }

/* photos box */
.ck-photo-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding: 14px;
  border: 1px dashed var(--te-line-strong);
  border-radius: 12px;
  background: #fafafa;
  font-size: 13px;
  line-height: 1.45;
  color: var(--te-ink-2);
}
.ck-photo-box__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin-left: auto;
  border-radius: 10px;
  background: var(--color-primary-tint);
  color: var(--color-primary);
}

/* sticky CTA */
.ck-flow__cta {
  position: sticky;
  bottom: 0;
  z-index: 5;
  margin-top: 4px;
  padding: 12px 16px calc(12px + var(--safe-bottom));
  background: #fff;
  box-shadow: 0 -6px 16px rgba(31, 31, 31, .06);
}
.ck-flow__cta .btn {
  width: 100%;
  min-height: 54px;
  border-radius: 14px;
  font-size: 16px;
}

/* 8. Checkout — payment step & success ------------------------------------ */
.ck-stepper {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 640px;
  margin: 0 auto;
  padding: 14px 16px 4px;
}
.ck-stepper__item { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.ck-stepper__dot {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--te-line-strong);
  background: #fff;
  font-family: var(--te-font-ui);
  font-size: 12px;
  font-weight: 700;
  color: var(--te-ink-3);
}
.ck-stepper__label { font-size: 12px; font-weight: 500; color: var(--te-ink-3); }
.ck-stepper__item.is-active .ck-stepper__dot { border-color: var(--color-primary); color: var(--color-primary); }
.ck-stepper__item.is-active .ck-stepper__label { color: var(--te-ink); font-weight: 700; }
.ck-stepper__item.is-done .ck-stepper__dot { border-color: var(--color-primary); background: var(--color-primary); color: #fff; }
.ck-stepper__line { flex: 1; height: 2px; min-width: 12px; border-radius: 2px; background: var(--te-line); }
.ck-stepper__line.is-done { background: var(--color-primary); }
@media (width >= 768px) {
  .ck-stepper { padding: 16px 0 8px; gap: 12px; }
  .ck-stepper__dot { width: 28px; height: 28px; font-size: 13px; }
  .ck-stepper__label { font-size: 14px; }
}

.ck-addr-summary { display: flex; align-items: flex-start; gap: 12px; }
.ck-addr-summary > svg { flex-shrink: 0; margin-top: 2px; color: var(--color-primary); }
.ck-addr-summary__main { flex: 1; min-width: 0; }
.ck-addr-summary__main strong { display: block; font-family: var(--te-font-head); font-size: 15px; }
.ck-addr-summary__main p { margin: 2px 0 0; font-size: 13px; line-height: 1.45; color: var(--te-ink-2); }

.ck-pay-list { display: flex; flex-direction: column; gap: 12px; }
.ck-pay-row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 68px;
  padding: 12px 16px;
  border: 1px solid var(--te-line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.ck-pay-row:has(input:checked) { border: 1.5px solid var(--color-primary); background: var(--color-primary-tint); }
.ck-pay-row input {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--color-primary);
}
.ck-pay-row svg { flex-shrink: 0; width: 26px; height: 26px; color: var(--te-ink-2); }
.ck-pay-row__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 14px;
  border-left: 1px solid var(--te-line);
}
.ck-pay-row__text strong {
  font-family: var(--te-font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--te-ink);
}
.ck-pay-row__text em {
  font-style: normal;
  font-size: 13px;
  color: var(--te-ink-2);
}

/* payment card intro line: replaces the developer note above the options */
.ck-card > p:has(+ .ck-pay-list) {
  margin: -6px 0 16px !important;
  font-size: 0 !important;
  line-height: 0;
}
.ck-card > p:has(+ .ck-pay-list)::before {
  content: "Choose a payment method to complete your order.";
  display: block;
  font-size: 14px;
  line-height: 1.45;
  color: var(--te-ink-2);
}

/* payment step: one Proceed button on mobile, pinned to the bottom of the screen */
.only-mobile .ck-summary-side .btn--primary { display: none; }
@media (width <= 767px) {
  .ck-flow__body--pay .ck-flow__cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    margin: 0;
  }
}
.ck-flow__body--pay .ck-card__title { font-size: 18px; }
.ck-addr-summary .ck-link { font-size: 14px; font-weight: 700; }

.ck-save-banner {
  margin: 10px 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: #eaf6ee;
  color: var(--te-green);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.ck-summary-side .btn--primary { margin-bottom: 4px; }
.ck-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--te-ink-3);
}

.ck-success-sheet { text-align: center; padding: 8px 4px 4px; }
.ck-success-sheet h2 { margin: 12px 0 4px; font-size: 20px; }
.ck-success-sheet p { margin: 0 0 16px; color: var(--te-ink-2); }
.ck-success-sheet__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border-radius: 50%;
  background: #eaf6ee;
  color: var(--te-green);
  font-size: 26px;
  font-weight: 700;
}
.ck-success-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid var(--te-line);
  border-radius: 12px;
  text-align: left;
}
.ck-success-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ck-success-card__body span { font-size: 13px; color: var(--te-ink-2); }
.ck-success-card__default {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--color-primary-tint);
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 700;
}
.ck-success-actions { display: flex; flex-direction: column; gap: 10px; }
/* hide "Add Another Address" on the Address Saved sheet (Continue stays) */
.ck-success-actions .btn--outline { display: none; }



/* v2.6: payment option rows closer to the design (bigger icons, taller rows, larger text) */
.ck-pay-row { min-height: 84px; padding: 16px 20px; gap: 18px; }
.ck-pay-row input { width: 24px; height: 24px; }
.ck-pay-row svg { width: 36px; height: 36px; }
.ck-pay-row__text { padding-left: 18px; gap: 4px; }
.ck-pay-row__text strong { font-size: 17px; }
.ck-pay-row__text em { font-size: 14px; }

/* v2.7: desktop payment step: Proceed to Pay sits inside the Payment card, under the
   options (the app's mobile button, which runs the same action); the duplicate button
   at the bottom of the Order Summary is hidden. */
@media (width >= 768px) {
  .ck-flow__body--pay .ck-card:has(.ck-pay-list):has(+ .ck-flow__cta) {
    margin-bottom: 0;
    padding-bottom: 16px;
    border-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    clip-path: inset(-24px -24px 0 -24px);
  }
  .ck-flow__body--pay .ck-flow__cta.only-mobile {
    display: block !important;
    position: static;
    margin: 0 16px 12px;
    padding: 4px 16px 20px;
    background: #fff;
    border: 1px solid #ececf0;
    border-top: 0;
    border-radius: 0 0 var(--te-radius-card) var(--te-radius-card);
    box-shadow: var(--te-card-shadow);
    clip-path: inset(0 -24px -24px -24px);
  }
  .ck-flow__body--pay .only-desktop .ck-summary-side .btn--primary { display: none; }
}

/* v2.8: desktop seam: Proceed button joins the Payment card without a line */
@media (width >= 768px) {
  .ck-flow__body--pay .ck-flow__cta.only-mobile { margin-top: -1px; }
}

/* v2.8: "Change delivery address" pop-up (Edit on Area / Locality). The build has
   no styles for it, so it rendered as plain text in the top-left corner.
   Desktop: centred pop-up. Mobile: bottom sheet. */
.addr-change.place-gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.addr-change .place-gate__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(20, 20, 24, .45);
  cursor: pointer;
}
.addr-change .place-gate__card {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  padding: 24px 24px 16px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(31, 31, 31, .28);
  animation: te-cart-in-pop .2s ease-out;
}
@keyframes te-cart-in-pop {
  from { transform: translateY(12px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.addr-change .place-gate__title {
  margin: 0 0 6px;
  font-family: var(--te-font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--te-ink);
}
.addr-change .place-gate__sub {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--te-ink-2);
}
.addr-change .addr-change__current strong { color: var(--te-ink); font-weight: 600; }
.addr-change .addr-change__field { position: relative; margin-bottom: 8px; }
.addr-change .addr-change__input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--te-line-strong);
  border-radius: 12px;
  background: #fff;
  cursor: text;
  transition: border-color .15s, box-shadow .15s;
}
.addr-change .addr-change__input-wrap:focus-within {
  border-color: var(--color-primary);
  box-shadow: inset 0 0 0 1px var(--color-primary);
}
.addr-change .addr-change__input-wrap svg { flex-shrink: 0; color: var(--color-primary); }
.addr-change .addr-change__input-wrap input {
  flex: 1;
  min-width: 0;
  height: 50px;
  border: 0;
  outline: none;
  background: transparent;
  font-family: var(--te-font-text);
  font-size: 16px;
  color: var(--te-ink);
}
.addr-change .addr-change__input-wrap input::placeholder { color: #a5a9ae; }
.addr-change .place-suggest { margin-top: 6px !important; border-radius: 12px !important; }
.addr-change .place-gate__cancel {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  border: 0;
  border-radius: 12px;
  background: none;
  font-family: var(--te-font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--te-ink-2);
  cursor: pointer;
}
.addr-change .place-gate__cancel:hover { background: #f6f6f8; color: var(--te-ink); }
@media (width <= 767px) {
  .addr-change.place-gate { align-items: flex-end; padding: 0; }
  .addr-change .place-gate__card {
    width: 100%;
    min-height: 60dvh;
    padding: 20px 16px calc(12px + var(--safe-bottom, 0px));
    border-radius: 20px 20px 0 0;
  }
}

/* v2.9: desktop address step: the sticky white footer bar is for mobile; on desktop
   the Save Address button sits under the cards, aligned with them */
@media (width >= 768px) {
  .ck-flow__body:not(.ck-flow__body--pay) .ck-flow__cta {
    position: static;
    margin: 4px 0 0;
    padding: 0 16px 24px;
    background: transparent;
    box-shadow: none;
  }
}

/* v3.0: desktop: "Address Saved Successfully" as a centred pop-up instead of a
   full-width bottom sheet (mobile keeps the bottom sheet) */
@media (width >= 768px) {
  .sheet:has(.ck-success-sheet) {
    top: 50%;
    bottom: auto;
    left: 50%;
    right: auto;
    width: min(480px, calc(100vw - 32px));
    max-height: min(86vh, 640px) !important;
    padding: 28px 24px 24px;
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(31, 31, 31, .28);
    transform: translate(-50%, -50%);
    animation: te-cart-in .2s ease-out;
  }
  .sheet:has(.ck-success-sheet) .sheet__handle { display: none; }
}
/* v-zowli-1: Zowli logo replaces the Zowli pin + wordmark */
.logo {
  display: inline-block;
  background: url(/assets/zowli-logo.png?v=1) left center / contain no-repeat;
  aspect-ratio: 2172 / 724;
  height: 30px;
  width: auto;
}
.logo--landing { height: 46px; }
.logo--sm { height: 26px; }
.logo .logo-mark,
.logo .logo__text { display: none !important; }

/* v-zowli-2: hide the "India" country/language selector in the header */
.lang-select { display: none !important; }

/* v-zowli-3: remove padding on the "Popular foods on Zowli" section */


/* v-zowli-4: hide footer app-store badges and the contact line */
.nl-footer__stores,
.nl-footer__contact { display: none !important; }

/* v-zowli-5: "Popular Foods on Zowli Foods" — accent colour + underline */

.nl-brands__title .zowli-accent { color: var(--color-primary); }


.nl-brands h2.nl-brands__title { text-decoration: underline; text-decoration-color: var(--color-primary); text-decoration-thickness: 3px; text-underline-offset: 7px; text-decoration-skip-ink: none; }

/* v-zowli-8: align heading with the icon row */
.nl-brands h2.nl-brands__title { padding: 0 !important; }

/* v-zowli-9: "Why Zowli Foods?" — pink accent + underline */
.zowli-accent { color: var(--color-primary); }
.nl-why__copy h2 { text-decoration: underline; text-decoration-color: var(--color-primary); text-decoration-thickness: 3px; text-underline-offset: 7px; text-decoration-skip-ink: none; }

/* v-zowli-10: hide header right cluster (India + Sign in + Register) on the home/landing header */
.web-header__right { display: none !important; }

/* v-zowli-11: payment page — card only, warning banner, disabled methods */
.ck-card > p:has(+ .ck-pay-list) {
  margin: 0 0 16px !important; font-size: 0 !important; line-height: 0;
  display: block; position: relative; padding: 12px 14px 12px 46px;
  border-radius: 12px; background: var(--color-primary-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fe0960' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='19' y1='5' x2='5' y2='19'/%3E%3Ccircle cx='6.5' cy='6.5' r='2.5'/%3E%3Ccircle cx='17.5' cy='17.5' r='2.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 14px 13px; background-size: 20px;
}
.ck-card > p:has(+ .ck-pay-list)::before {
  content: "Some payment methods are temporarily unavailable";
  display: block; font-family: var(--te-font-head); font-size: 14px; font-weight: 700; line-height: 1.35; color: var(--te-ink);
}
.ck-card > p:has(+ .ck-pay-list)::after {
  content: "Due to a high failure rate, only Card payments are supported at the moment.";
  display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.4; color: var(--te-ink-2);
}
.ck-pay-list .ck-pay-row:not(:first-child) {
  position: relative; pointer-events: none; background: #fafafa; border-color: var(--te-line);
}
.ck-pay-list .ck-pay-row:not(:first-child) .ck-pay-row__text strong,
.ck-pay-list .ck-pay-row:not(:first-child) .ck-pay-row__text em { color: var(--te-ink-3); }
.ck-pay-list .ck-pay-row:not(:first-child) svg { color: var(--te-line-strong) !important; opacity: .7; }
.ck-pay-list .ck-pay-row:not(:first-child) input { opacity: .35; }
.ck-pay-list .ck-pay-row:not(:first-child)::after {
  content: "Not Supported"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  padding: 4px 10px; border: 1px solid var(--te-line-strong); border-radius: 999px; background: #fff;
  font-family: var(--te-font-ui); font-size: 11px; font-weight: 600; color: var(--te-ink-3); white-space: nowrap;
}

/* v-zowli-12: card-network logos (Visa/Mastercard/RuPay) on the Card row */
.ck-pay-list .ck-pay-row:first-child { position: relative; padding-right: 150px; }
.ck-pay-list .ck-pay-row:first-child::after {
  content: ""; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 124px; height: 26px;
  background: url(/assets/card-networks.png?v=1) right center / contain no-repeat;
}
@media (width <= 480px) {
  .ck-pay-list .ck-pay-row:first-child { padding-right: 104px; }
  .ck-pay-list .ck-pay-row:first-child::after { width: 84px; height: 20px; }
}

/* v-zowli-13: NewBee99 coupon + GST breakdown in cart drawer */
.zowli-breakdown { padding: 2px 0 10px; font-size: 14px; color: #1a1a1a; }
.zowli-breakdown .zb-coupon { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: #e8f6ec; color: #137a3a; border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; font-weight: 600; }
.zowli-breakdown .zb-coupon b { color: #0e8a3c; }
.zowli-breakdown .zb-cut { color: #0e8a3c; white-space: nowrap; }
.zowli-breakdown .zb-row { display: flex; justify-content: space-between; padding: 4px 2px; }
.zowli-breakdown .zb-row s { color: #9a9a9a; margin-right: 6px; }
.zowli-breakdown .zb-row em { color: #137a3a; font-style: normal; font-weight: 600; }
.zowli-breakdown .zb-total { border-top: 1px solid #ececec; margin-top: 6px; padding-top: 8px; font-weight: 700; }
.zowli-breakdown .zb-disc { color: #137a3a; font-weight: 600; }

/* v-zowli-14: 25% sale two-price on menu cards */
.noon-menu-item__price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.noon-menu-item__price .zp-now { color: var(--color-primary, #e2125a); font-weight: 800; }
.noon-menu-item__price .zp-was { color: #9a9a9a; text-decoration: line-through; font-weight: 500; font-size: 0.82em; }

/* v-zowli-15: hero copy + pills (Food Around You) */
.zhc { padding: 18px 16px 6px; }
.zhc__title { margin: 0 0 6px; font-size: 30px; font-weight: 800; line-height: 1.1; color: #141414; }
.zhc__accent { color: var(--color-primary, #e2125a); }
.zhc__sub { margin: 0 0 14px; font-size: 15px; color: #3a3a3a; max-width: 460px; }
.zhc__pills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 520px; }
.zhc__pill { background: #fde7ef; border-radius: 14px; padding: 12px 8px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--color-primary, #e2125a); }
.zhc__pill-ic { font-size: 20px; font-weight: 800; line-height: 1; }
.zhc__pill svg { display: block; }
.zhc__pill-lb { font-size: 12px; font-weight: 700; color: #2a2a2a; line-height: 1.15; }
.nl-hero { flex-direction: column !important; align-items: stretch !important; background: #fff; }
.nl-hero .zhc { order: 1; }
.nl-hero__media { position: relative !important; inset: auto !important; width: 100% !important; height: 190px; order: 2; overflow: hidden; }
.nl-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.nl-hero .nl-card { order: 3; width: 100% !important; max-width: none !important; }
@media (min-width: 901px) {
  .nl-hero { flex-direction: row !important; align-items: center !important; background: transparent; min-height: 520px; }
  .nl-hero__media { position: absolute !important; inset: 0 !important; width: 100% !important; height: auto !important; order: 0; }
  .nl-hero__media img { object-position: center; }
  .nl-hero .zhc { order: 0; position: relative; z-index: 2; flex: 1 1 46%; max-width: 46%; padding: 0 0 0 8px; }
  .nl-hero .nl-card { order: 0; position: relative; z-index: 2; margin-left: auto; width: 400px !important; max-width: 400px !important; }
  .zhc__title { font-size: 44px; }
  .zhc__sub { font-size: 17px; }
}

/* v-zowli-16: hero desktop refine toward mockup */
@media (min-width: 901px) {
  .nl-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, #fde7ef 0%, #fde7ef 32%, rgba(253,231,239,0) 56%); }
  .nl-hero .zhc { flex: 0 0 40% !important; max-width: 40% !important; padding-left: 40px !important; }
  .nl-hero .nl-card { margin-left: 2% !important; margin-right: auto !important; }
}

/* v-zowli-17: hero pills match mockup (larger, prominent) */
.zhc__pills { gap: 12px; max-width: 580px; }
.zhc__pill { padding: 16px 10px; border-radius: 16px; gap: 8px; min-height: 94px; justify-content: center; }
.zhc__pill svg { width: 28px; height: 28px; }
.zhc__pill-ic { font-size: 24px; }
.zhc__pill-lb { font-size: 13px; }
@media (min-width: 901px) {
  .nl-hero .zhc { max-width: 44% !important; flex-basis: 44% !important; }
}

/* v-zowli-18: align hero content to the 1100px page container */
@media (min-width: 901px) {
  .nl-hero { padding-left: max(24px, calc((100% - 1100px) / 2)) !important; padding-right: max(24px, calc((100% - 1100px) / 2)) !important; }
  .nl-hero .zhc { padding-left: 0 !important; }
}

/* v-zowli-19: mobile hero polish */
@media (max-width: 900px) {
  .zhc { padding: 22px 16px 12px; text-align: center; }
  .zhc__title { font-size: 28px; margin-bottom: 8px; }
  .zhc__sub { max-width: 330px; margin-left: auto; margin-right: auto; margin-bottom: 16px; }
  .zhc__pills { max-width: none; gap: 8px; }
  .zhc__pill { padding: 12px 6px; min-height: 84px; gap: 6px; border-radius: 14px; }
  .zhc__pill svg { width: 24px; height: 24px; }
  .zhc__pill-ic { font-size: 20px; }
  .zhc__pill-lb { font-size: 11px; line-height: 1.12; }
  .nl-hero__media { height: 180px; margin-top: 4px; }
  .nl-hero__media img { object-position: center 62%; }
  .nl-hero .nl-card { margin-top: -28px; border-radius: 16px; box-shadow: 0 8px 24px rgba(0,0,0,.12); position: relative; z-index: 3; width: calc(100% - 32px) !important; margin-left: auto; margin-right: auto; }
}

/* v-zowli-20: first-order promo countdown bar (/discovery + /restaurant only) */
.zowli-promo { display: flex; align-items: center; justify-content: center; gap: 14px; background: linear-gradient(90deg, #b5103a 0%, #e91e63 50%, #b5103a 100%); color: #fff; padding: 8px 18px; font-size: 15px; font-weight: 600; position: relative; z-index: 2147483000; }
.zowli-promo .zp-text b { color: #ffd84d; }
.zowli-promo .zp-emoji { font-size: 22px; }
.zowli-promo .zp-timer { display: flex; align-items: center; gap: 6px; margin-left: 8px; }
.zowli-promo .zp-ends { font-weight: 700; margin-right: 4px; white-space: nowrap; }
.zowli-promo .zp-box { background: #fff; color: #1a1a1a; border-radius: 6px; padding: 3px 6px; min-width: 36px; text-align: center; display: flex; flex-direction: column; line-height: 1; }
.zowli-promo .zp-box b { font-size: 15px; font-weight: 800; }
.zowli-promo .zp-box i { font-size: 9px; font-style: normal; color: #888; margin-top: 2px; }
@media (max-width: 700px) {
  .zowli-promo { flex-wrap: wrap; gap: 8px; padding: 8px 12px; font-size: 12.5px; }
  .zowli-promo .zp-emoji { display: none; }
  .zowli-promo .zp-text { flex: 1 1 100%; text-align: center; }
  .zowli-promo .zp-timer { margin: 0 auto; }
}

/* v-zowli-21: bigger header logo + promo timer styled to mockup */
header a.logo, .web-header a.logo, a.logo { height: 42px !important; width: auto !important; min-width: 120px !important; background-size: contain !important; background-repeat: no-repeat !important; background-position: left center !important; }
header a.logo img, a.logo img { height: 42px !important; width: auto !important; max-height: none !important; }
header a.logo svg, a.logo svg { height: 42px !important; width: auto !important; }
.zowli-promo .zp-ends { position: relative; padding-left: 16px; }
.zowli-promo .zp-ends::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 24px; background: rgba(255,255,255,.55); }
.zowli-promo .zp-box { min-width: 44px; padding: 5px 9px; border-radius: 9px; box-shadow: 0 2px 7px rgba(0,0,0,.18); }
.zowli-promo .zp-box b { font-size: 18px; }
.zowli-promo .zp-box i { font-size: 9px; color: #9a9a9a; margin-top: 3px; }

/* v-zowli-22: promo bar corner food graphics */
.zowli-promo { padding-left: 70px; padding-right: 70px; }
.zowli-promo .zp-emoji { position: absolute; top: 50%; transform: translateY(-50%); font-size: 36px; line-height: 1; }
.zowli-promo .zp-emoji:first-child { left: 26px; }
.zowli-promo .zp-emoji:last-child { right: 26px; }
@media (max-width: 700px) {
  .zowli-promo { padding-left: 12px; padding-right: 12px; }
  .zowli-promo .zp-emoji { display: none; }
}
