/* Flaticon UIcons baseline — inherit color, sit nicely on the text baseline */
.fi { line-height: 0; vertical-align: -2px; }
.section-title .fi { font-size: 0.9em; margin-right: 4px; vertical-align: -1px; }
.product-card__unit .fi { font-size: 0.85em; vertical-align: -1px; }
.empty-cart__icon .fi { font-size: 48px; line-height: 1; color: var(--green-muted); vertical-align: 0; }
.btn-location .fi, .deal-featured__badge .fi { vertical-align: -1px; }

:root {
  /* ── Bitezilla customer theme ──
     Primary #810100 · Surface white · Ink black */
  --brand: #810100;
  --brand-dark: #5c0000;
  --brand-deep: #3d0000;
  --brand-muted: #a34a49;
  --brand-light: #9a3332;
  --brand-soft: rgba(129, 1, 0, 0.10);
  --brand-softer: rgba(129, 1, 0, 0.06);
  --brand-rgb: 129, 1, 0;

  --black: #111827;
  --ink: #111827;
  --ink-soft: #374151;

  --cream: #ffffff;
  --cream-dark: #f3f4f6;
  --cream-light: #ffffff;
  --surface: #ffffff;
  --home-hero: #EDEBDE;
  /* App surfaces = white; hero cream only on home */
  --paper: #ffffff;
  --paper-bright: #ffffff;
  --paper-glass: rgba(255, 255, 255, 0.94);
  --ph-wash: #ffffff;

  /* Legacy aliases → brand (do not reintroduce orange) */
  --green: var(--brand);
  --green-dark: var(--brand-dark);
  --green-muted: var(--brand-muted);
  --green-light: var(--brand-light);
  --green-shadow: rgba(129, 1, 0, 0.28);
  --green-glow: rgba(129, 1, 0, 0.18);
  --orange: var(--brand);
  --orange-dark: var(--brand-dark);

  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-800: #1F2937;
  --shadow-card: 0 4px 16px rgba(17, 24, 39, 0.06);
  --shadow-soft: 0 8px 24px rgba(17, 24, 39, 0.06);
  --shadow-float: 0 14px 32px rgba(17, 24, 39, 0.10);
  --shadow-hover: 0 8px 24px rgba(129, 1, 0, 0.16);
  --ui-ring: 0 0 0 3px rgba(129, 1, 0, 0.18);
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-3xl: 24px;
  --font-serif: 'Open Sans', sans-serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --text-heading: var(--ink);
  --text-price: var(--ink);
  --max-width: 430px;
  --bottom-nav-height: 64px;
  --header-bar-height: 86px;
  /* Browse header: nav + hanging search pill + breathing room below */
  --header-bar-height-search: 120px;
  --header-bar-height-flutter: calc(86px + 15px + env(safe-area-inset-top, 0px));
  --header-bar-height-search-flutter: calc(120px + 15px + env(safe-area-inset-top, 0px));
  /* Pull-to-stretch (px) — shared by header + shell so content stays connected */
  --hp: 0;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  height: 100%;
  height: -webkit-fill-available;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  min-height: 100dvh;
  min-height: 100svh;
  min-height: -webkit-fill-available;
  font-family: var(--font-sans);
  background: #fff;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

body {
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

@media (max-width: 430px) {
  html, body {
    background: #fff;
  }
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
form.inline-form { display: inline; margin: 0; }

body.no-scroll {
  overflow: hidden;
  touch-action: none;
}

.app-frame {
  max-width: var(--max-width);
  margin: 0 auto;
  flex: 1 0 auto;
  width: 100%;
  min-height: 100%;
  min-height: 100dvh;
  min-height: 100svh;
  min-height: -webkit-fill-available;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow-x: hidden;
}

.app-shell {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #fff;
  padding-top: var(--header-bar-height);
}

html.flutter-app .app-shell {
  padding-top: var(--header-bar-height-flutter);
}

/* Full-bleed pages (receipt, etc.) — no header chrome / no top gap */
.app-shell--no-header,
.app-frame--no-header .app-shell,
html.flutter-app .app-shell--no-header,
html.flutter-app .app-frame--no-header .app-shell {
  padding-top: 0;
}
.app-main--no-header {
  padding-bottom: 0;
}

.app-shell:has(.header--browse) {
  padding-top: var(--header-bar-height-search);
}

html.flutter-app .app-shell:has(.header--browse) {
  padding-top: var(--header-bar-height-search-flutter);
}

.app-shell:has(.header--browse) .app-main > :first-child {
  margin-top: 10px;
}

/* Clear the floating search pill — never sit under it */
.app-shell:has(.header--browse) .app-main > .flash:first-child + .home-zone,
.app-shell:has(.header--browse) .app-main > .home-zone:first-child,
.app-shell:has(.header--browse) .app-main > .flash:first-child + .home-verticals,
.app-shell:has(.header--browse) .app-main > .home-verticals:first-child,
.app-shell:has(.header--browse) .app-main > .flash:first-child + .ride-home-cta,
.app-shell:has(.header--browse) .app-main > .ride-home-cta:first-child,
.app-shell:has(.header--browse) .app-main > .flash:first-child + .section,
.app-shell:has(.header--browse) .app-main > .section:first-child {
  margin-top: 18px;
}

/* Home: paint shell gap under header with hero cream (no white strip) */
.app-shell:has(.home-zone--cream) {
  background: var(--home-hero, #EDEBDE);
}
.app-shell:has(.header--browse):has(.home-zone--cream) .app-main > .home-zone--cream:first-child,
.app-shell:has(.header--browse):has(.home-zone--cream) .app-main > .flash:first-child + .home-zone--cream {
  margin-top: 22px;
}
/* Extra air between hanging search pill and Cab / Services cards */
.home-zone--cream > .home-verticals:first-child {
  margin-top: 8px;
  padding-top: 4px;
}

/* Home Services hub: sit right under the search pill (same as store home) */
.app-shell:has(.header--browse):has(.hs-uc) {
  padding-top: var(--header-bar-height-search);
}
html.flutter-app .app-shell:has(.header--browse):has(.hs-uc) {
  padding-top: var(--header-bar-height-search-flutter);
}
.app-shell:has(.header--browse) .app-main .hs-uc {
  padding-top: 14px;
}

.app-frame:not(.app-frame--no-nav) .app-shell {
  padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 430px) {
  .app-frame {
    box-shadow: none;
  }
}

.app-main {
  flex: 1 1 auto;
  width: 100%;
  padding-bottom: 8px;
  background: #fff;
}

.icon { display: block; flex-shrink: 0; }
.icon--pin { width: 18px; height: 18px; color: var(--green); }
.icon--phone { width: 18px; height: 18px; color: var(--gray-500); }
.icon--nav { width: 22px; height: 22px; color: #111827; }
.icon--nav-muted { width: 22px; height: 22px; color: var(--gray-400); }
.icon--sm { width: 20px; height: 20px; color: #fff; }
.icon--heart { width: 18px; height: 18px; color: var(--green); }

/* Header — premium fresh shell (all pages) */
.header {
  --hp: 0;
  --chrome-ease: cubic-bezier(0.32, 0.72, 0, 1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: var(--max-width);
  z-index: 140;
  color: #fff;
  overflow: visible;
  transition:
    transform 0.48s var(--chrome-ease),
    opacity 0.36s ease;
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.header.is-scroll-hidden {
  transform: translate3d(0, calc(-100% - 16px), 0);
  opacity: 0;
  pointer-events: none;
}

.header__canvas {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-bottom-left-radius: 36px;
  border-bottom-right-radius: 36px;
  background: linear-gradient(152deg, var(--brand) 0%, var(--brand-dark) 55%, var(--brand-deep) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 18px 40px var(--green-shadow);
  pointer-events: none;
}

.header__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.header__glow--a {
  width: 220px;
  height: 220px;
  top: -90px;
  right: -60px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 68%);
}

.header__glow--b {
  width: 160px;
  height: 160px;
  bottom: -40px;
  left: -50px;
  background: radial-gradient(circle, var(--green-glow) 0%, rgba(129, 1, 0, 0) 70%);
}

.header__mesh {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: radial-gradient(rgba(255, 255, 255, 0.55) 0.6px, transparent 0.6px);
  background-size: 14px 14px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 85%);
}

.header__arc {
  display: none;
}

.header__inner {
  position: relative;
  z-index: 2;
}
.header__nav {
  position: relative;
  z-index: 6;
}
.header__fab,
.page-menu {
  position: relative;
  z-index: 7;
  pointer-events: auto !important;
}

.header--page {
  padding: 10px 16px 16px;
}

.header--browse {
  padding: 10px 16px 0;
}

.header--browse .header__canvas {
  /* Match hanging search so brand shell ends under the pill */
  padding-bottom: 34px;
}

.header__nav {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 10px;
  min-height: 56px;
}

.header--browse .header__nav {
  min-height: 50px;
}

.header__center {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.header__brand-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.header__page-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(14px, 4vw, 17px);
  font-weight: 700;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  padding: 0 4px;
}

.header__fab,
.page-menu {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 26px;
  box-shadow: none;
  transition: transform .15s, opacity .15s;
}
.header__fab .fi {
  font-size: 26px;
  line-height: 1;
}

.header__fab:active,
.page-menu:active {
  transform: scale(.93);
  box-shadow: none;
}

.header__fab--wish {
  position: relative;
}

.header__fab--wish .icon {
  width: 18px;
  height: 18px;
  color: var(--green);
}

.page-menu {
  box-shadow: var(--shadow-card);
}

.header__quick {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 44px;
  justify-self: end;
}

.header__profile {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow:
    0 0 0 2px #fff,
    0 8px 18px rgba(0, 0, 0, 0.14);
}

.header__profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header__wishlist-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 16px;
  height: 16px;
  background: #DC2626;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #fff;
}

.header__search-slot {
  position: relative;
  z-index: 1;
  margin: 10px 0 -20px;
}

.header__search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 8px 14px 8px 10px;
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid rgba(129, 1, 0, 0.10);
  box-shadow: inset 0 2px 6px rgba(17, 24, 39, 0.08);
  text-decoration: none;
  font-family: var(--font-sans);
  color: inherit;
  cursor: pointer;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
  transition:
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.header__search:active {
  transform: translateY(1px) scale(0.995);
}

.header__search-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(129, 1, 0, 0.08);
  box-shadow: none;
  color: var(--brand, #810100);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.22s ease;
}

.header__search-icon .icon {
  width: 18px;
  height: 18px;
  color: var(--brand, #810100);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.header__search-hint {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 550;
  color: #9CA3AF;
  white-space: nowrap;
  overflow: hidden;
}

.header__search-static {
  color: #9CA3AF;
  flex-shrink: 0;
}
.header__search-static strong {
  color: #111827;
  font-weight: 700;
}

/* Location pill in header — same shell as search, pin without bg/border */
.header__search--location .header__search-hint {
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  white-space: normal;
}
.header__search--location .header__search-static {
  font-size: 11px;
  font-weight: 650;
  line-height: 1.2;
}
.header__search--location .header__search-loc {
  display: block;
  width: 100%;
  font-size: 13.5px;
  font-weight: 700;
  color: #111827;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header__search--location.is-empty .header__search-loc {
  color: #9CA3AF;
  font-weight: 600;
}
.header__search-icon--pin,
.header__search--location .header__search-icon {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--brand, #810100);
  width: 28px;
  height: 28px;
  border-radius: 0;
  padding: 0;
}
.header__search-icon--pin .fi,
.header__search--location .header__search-icon .fi {
  font-size: 20px;
  color: var(--brand, #810100);
  line-height: 1;
}

.header__search-rotator {
  position: relative;
  display: inline-grid;
  align-items: center;
  min-width: 0;
  height: 1.35em;
  overflow: hidden;
  flex: 1;
}

.header__search-rotator > span {
  grid-area: 1 / 1;
  color: var(--brand, #810100);
  font-weight: 650;
  opacity: 0;
  transform: translateY(70%);
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header__search-rotator > span.is-active {
  opacity: 1;
  transform: translateY(0);
}

.header__search-rotator > span.is-exit {
  opacity: 0;
  transform: translateY(-70%);
}

.header__search input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 550;
  font-family: var(--font-sans);
  color: var(--gray-800);
  outline: none;
  padding: 0;
  margin: 0;
}

.header__search input::placeholder {
  color: #9CA3AF;
  font-weight: 500;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.header__search--live {
  border-color: rgba(129, 1, 0, 0.22);
  box-shadow: inset 0 2px 6px rgba(17, 24, 39, 0.08);
}

.header__search--live:focus-within {
  border-color: rgba(129, 1, 0, 0.38);
  box-shadow:
    inset 0 2px 8px rgba(17, 24, 39, 0.10),
    inset 0 0 0 2px rgba(129, 1, 0, 0.12);
}

.header__search--live:focus-within .header__search-icon {
  background: rgba(129, 1, 0, 0.12);
  transform: scale(1.04);
}

.header__phone {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Section headings */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-heading);
  margin: 0;
}

.section-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
}

.section-badge {
  font-size: 11px;
  font-weight: 700;
  color: #B45309;
  background: #FEF3C7;
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.section-head--deals {
  align-items: center;
  gap: 12px;
}

.section-head--deals .section-title {
  flex: 1;
  min-width: 0;
}

.page-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-heading);
  padding: 4px 20px 12px;
  margin: 0;
}

.page-head {
  padding: 0 20px 16px;
}

.page-head__title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-heading);
  margin: 10;
  line-height: 1.2;
}

.page-title--large {
  font-size: 28px;
  padding-top: 4px;
  padding-bottom: 16px;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--gray-500);
  padding: 40px 20px;
  font-size: 14px;
  line-height: 1.6;
}

.empty-state a {
  color: var(--green);
  font-weight: 600;
}

.chips-scroll--sub .chip {
  font-size: 11px;
  padding: 6px 12px;
}

.section--categories {
  margin-bottom: 8px;
}

.section--categories .section-head {
  margin-bottom: 12px;
}

/* Search bar (legacy — other pages only) */
.search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--paper);
  margin: -30px 20px 16px;
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--gray-400);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  font-size: 14px;
  position: relative;
  z-index: 11;
}

.search-bar--active {
  outline: 2px solid rgba(129, 1, 0, 0.2);
}

.search-bar .icon {
  width: 20px;
  height: 20px;
  color: var(--green);
}

.search-bar input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  color: var(--gray-800);
  outline: none;
}

.search-bar input::placeholder { color: var(--gray-400); }

.search-bar .icon { width: 18px; height: 18px; color: var(--gray-400); }

.section--search-results {
  padding-top: 4px;
  margin-bottom: 0;
}

.section--search-results .section-head {
  margin-bottom: 12px;
}

/* Search page: cream top controls + white rounded product sheet */
.app-main:has(.search-page-top) {
  background: #fff;
}
.search-page-top {
  background: #fff;
  padding: 8px 0 22px;
  animation: searchTopIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.search-page-sheet {
  animation: searchSheetIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.search-page-sheet.is-updating .product-grid {
  animation: searchGridPulse 0.35s ease;
}
@keyframes searchTopIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes searchSheetIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes searchGridPulse {
  from { opacity: 0.55; }
  to { opacity: 1; }
}
html.page-exit .app-main:not(.is-skel-loading) {
  opacity: 0.35;
  transform: scale(0.985);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
html.page-exit .app-main.is-skel-loading {
  opacity: 1;
  transform: none;
}
.header__search.is-opening {
  transform: scale(0.98);
  border-color: rgba(129, 1, 0, 0.28);
}

/* Search field */
.page-search {
  margin: 0 16px 12px;
}
.page-search__shell {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 6px 6px 6px 12px;
  border-radius: 14px;
  background: #fff;
  border: 1.5px solid rgba(129, 1, 0, 0.12);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.page-search__shell:focus-within {
  border-color: rgba(129, 1, 0, 0.32);
  box-shadow: 0 0 0 3px rgba(129, 1, 0, 0.10);
}
.page-search__icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--brand, #810100);
  font-size: 15px;
  flex-shrink: 0;
}
.page-search input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: none;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  height: 36px;
  font-family: inherit;
}
.page-search input::placeholder {
  color: #9CA3AF;
  font-weight: 500;
}
.page-search__clear {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: #6B7280;
  font-size: 16px;
  cursor: pointer;
}
.page-search__clear.is-hidden { display: none; }
.page-search__go {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand, #810100);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.page-search__go:active { transform: scale(0.96); }

/* Sort chips */
.search-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 16px 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.search-chips::-webkit-scrollbar { display: none; }
.search-chip {
  flex: 0 0 auto;
  border: 1.5px solid rgba(17, 24, 39, 0.10);
  background: #fff;
  color: #374151;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}
.search-chip:active { transform: scale(0.97); }
.search-chip.is-active {
  background: var(--brand, #810100);
  border-color: var(--brand, #810100);
  color: #fff;
}

/* Category chips */
.search-cats {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 16px 12px;
  scrollbar-width: none;
}
.search-cats::-webkit-scrollbar { display: none; }
.search-cat {
  flex: 0 0 auto;
  border: 0;
  background: rgba(255, 255, 255, 0.72);
  color: #374151;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 650;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, transform 0.15s ease;
}
.search-cat.is-active {
  background: rgba(129, 1, 0, 0.12);
  color: var(--brand, #810100);
}

/* Recent */
.search-recent {
  margin: 0 16px 4px;
}
.search-recent__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.search-recent__head span {
  font-size: 11px;
  font-weight: 750;
  color: #6B7280;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.search-recent__head button {
  border: 0;
  background: none;
  color: #9CA3AF;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  font-family: inherit;
}
.search-recent__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.search-recent__chip {
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: #fff;
  color: #374151;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 650;
  font-family: inherit;
  cursor: pointer;
}

.search-page-sheet .section--search-products {
  margin-bottom: 0;
}
.search-page-sheet .section--search-products .section-head {
  margin-bottom: 12px;
  align-items: baseline;
}
.search-results-meta {
  font-size: 12px;
  font-weight: 650;
  color: #9CA3AF;
}
.search-page-suggest {
  color: #6B7280;
  font-size: 14px;
  margin: 0 20px 12px;
  line-height: 1.45;
}
.search-page-suggest.is-hidden { display: none; }
.search-page-suggest a {
  color: var(--brand, #810100);
  font-weight: 700;
}
.search-clear-btn {
  margin-top: 10px;
  border: 0;
  background: rgba(129, 1, 0, 0.10);
  color: var(--brand, #810100);
  border-radius: 10px;
  padding: 8px 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}
.search-page-sheet .product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 10px;
  padding: 0 16px 12px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.search-page-sheet .product-grid.is-loading {
  opacity: 0.45;
  pointer-events: none;
}
.search-page-sheet .product-card {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0;
}
.search-page-sheet .product-card::before,
.search-page-sheet .product-card::after {
  display: none !important;
  content: none !important;
}
.search-page-sheet .product-card.product-card--grid {
  background: #fff !important;
  padding: 10px;
  border-radius: 16px;
  box-shadow: none !important;
}
.search-page-sheet .product-card__media,
.search-page-sheet .product-card__ph {
  background: #f4f5f7 !important;
}
.search-page-sheet .product-card__body {
  background: transparent !important;
}
.search-page-sheet .product-card__media {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  border: 0;
  box-sizing: border-box;
}
.search-page-sheet .empty-state {
  grid-column: 1 / -1;
  padding: 28px 12px;
  text-align: center;
}
@media (prefers-reduced-motion: reduce) {
  .search-page-top,
  .search-page-sheet,
  .search-page-sheet .product-grid,
  html.page-exit .app-main {
    animation: none !important;
    transition: none !important;
  }
}

/* ── Floating search panel (home / store — no page redirect) ── */
.search-float {
  --sf-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: var(--max-width);
  z-index: 220;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--sf-ease), visibility 0.28s;
  /* top/height pinned to visualViewport via JS when keyboard opens */
  /* left/width stay inside .app-frame on desktop */
}
.search-float.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}
.search-float__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(17, 24, 39, 0.45);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s var(--sf-ease);
}
.search-float.is-open .search-float__backdrop {
  opacity: 1;
}
.search-float__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  max-height: min(92%, 920px);
  height: auto;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -16px 48px rgba(17, 24, 39, 0.18);
  transform: translate3d(0, 110%, 0);
  transition:
    transform 0.42s var(--sf-ease),
    max-height 0.28s var(--sf-ease),
    border-radius 0.28s ease,
    height 0.28s var(--sf-ease);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  overflow: hidden;
  will-change: transform;
}
.search-float.is-open .search-float__panel {
  transform: translate3d(0, 0, 0);
}
/* Keyboard / focused: sheet fills visible viewport from the top (JS also pins) */
.search-float.is-keyboard,
.search-float.is-focused {
  align-items: stretch;
}
.search-float.is-keyboard .search-float__panel,
.search-float.is-focused .search-float__panel {
  max-height: none;
  height: auto;
  border-radius: 0;
  padding-bottom: 0;
  box-shadow: none;
  transform: none !important;
}
.search-float__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 6px;
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.32s var(--sf-ease) 0.06s, transform 0.32s var(--sf-ease) 0.06s;
}
.search-float.is-open .search-float__head {
  opacity: 1;
  transform: translateY(0);
}
.search-float__title {
  margin: 0;
  font-size: 17px;
  font-weight: 750;
  color: #111827;
}
.search-float__close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: #f3f4f6;
  color: #374151;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.18s var(--sf-ease), background 0.18s ease;
}
.search-float__close:active {
  transform: scale(0.94);
}
.search-float__form.page-search {
  margin: 4px 16px 10px;
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.34s var(--sf-ease) 0.1s, transform 0.34s var(--sf-ease) 0.1s;
}
.search-float.is-open .search-float__form.page-search {
  opacity: 1;
  transform: translateY(0);
}
.search-float .page-search__shell {
  transition: border-color 0.2s ease, box-shadow 0.25s var(--sf-ease), transform 0.2s var(--sf-ease);
}
.search-float .page-search__shell:focus-within {
  transform: translateY(-1px);
}
.search-float .search-chips,
.search-float .search-cats,
.search-float .search-recent {
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.34s var(--sf-ease), transform 0.34s var(--sf-ease);
}
.search-float.is-open .search-chips {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.14s;
}
.search-float.is-open .search-cats {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.18s;
}
.search-float.is-open .search-recent {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}
.search-float .search-cat {
  background: #f3f4f6;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s var(--sf-ease);
}
.search-float .search-cat.is-active {
  background: rgba(129, 1, 0, 0.12);
  color: var(--brand, #810100);
}
.search-float .search-chip {
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s var(--sf-ease);
}
.search-float .search-recent {
  margin-bottom: 8px;
}
.search-float__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 4px 0 20px;
  background: #fff;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.36s var(--sf-ease) 0.16s, transform 0.36s var(--sf-ease) 0.16s;
}
.search-float.is-open .search-float__body {
  opacity: 1;
  transform: translateY(0);
}
.search-float.is-keyboard .search-float__body {
  padding-bottom: 12px;
}
.search-float__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 16px 10px;
}
.search-float__meta .section-title {
  font-size: 15px;
  margin: 0;
}
.search-float__meta .section-title::before {
  display: none;
}
.search-float .search-page-suggest {
  margin: 0 16px 10px;
}
.search-float__grid.product-grid,
.search-float .product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 10px;
  padding: 0 16px 12px;
  transition: opacity 0.28s var(--sf-ease), transform 0.28s var(--sf-ease);
}
.search-float .product-grid.is-loading {
  opacity: 0.4;
  transform: translateY(4px);
  pointer-events: none;
}
.search-float .product-grid.is-enter .product-card {
  animation: searchFloatCardIn 0.38s var(--sf-ease) both;
}
.search-float .product-grid.is-enter .product-card:nth-child(1) { animation-delay: 0.02s; }
.search-float .product-grid.is-enter .product-card:nth-child(2) { animation-delay: 0.05s; }
.search-float .product-grid.is-enter .product-card:nth-child(3) { animation-delay: 0.08s; }
.search-float .product-grid.is-enter .product-card:nth-child(4) { animation-delay: 0.11s; }
.search-float .product-grid.is-enter .product-card:nth-child(5) { animation-delay: 0.14s; }
.search-float .product-grid.is-enter .product-card:nth-child(6) { animation-delay: 0.17s; }
.search-float .product-grid.is-enter .product-card:nth-child(n+7) { animation-delay: 0.2s; }
@keyframes searchFloatCardIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.search-float .product-card.product-card--grid {
  background: #fff !important;
  padding: 10px;
  border-radius: 16px;
  box-shadow: none !important;
  border: 0 !important;
}
.search-float .product-card__media {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: #f4f5f7 !important;
  border: 0;
  box-sizing: border-box;
}
.search-float__hint,
.search-float .empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 36px 16px;
  color: #6B7280;
  font-size: 14px;
  animation: searchFloatCardIn 0.34s var(--sf-ease) both;
}
html.search-float-open .bottom-nav {
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, calc(100% + 18px), 0);
}
@media (prefers-reduced-motion: reduce) {
  .search-float,
  .search-float__backdrop,
  .search-float__panel,
  .search-float__head,
  .search-float__form,
  .search-float .search-chips,
  .search-float .search-cats,
  .search-float .search-recent,
  .search-float__body,
  .search-float .product-grid.is-enter .product-card {
    transition: none !important;
    animation: none !important;
  }
}

/* Categories scroll */
.categories-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 0 20px 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.categories-scroll::-webkit-scrollbar { display: none; }

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 72px;
}

.category-item__icon {
  position: relative;
  isolation: isolate;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--paper-glass) !important;
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  border: 0 !important;
  box-shadow:
    0 8px 18px rgba(17, 24, 39, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.category-item__icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.35px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.12) 30%,
    transparent 50%,
    transparent 100%
  ),
  linear-gradient(
    180deg,
    rgba(17, 24, 39, 0.14) 0%,
    rgba(17, 24, 39, 0.04) 30%,
    transparent 50%,
    transparent 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 2;
}

.category-item__icon img,
.category-item__icon svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}
.category-item__icon svg {
  width: 28px;
  height: 28px;
  margin: auto;
}

.category-item__label {
  font-size: 12px;
  font-weight: 500;
  color: #374151;
}

/* Banner */
.section--banner .section-head {
  margin-bottom: 12px;
}

.banner {
  display: block;
  margin: 0 20px;
  border-radius: 24px;
  overflow: hidden;
  height: 168px;
  position: relative;
  box-shadow: var(--shadow-card);
}

.banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.58) 0%,
    rgba(0, 0, 0, 0.42) 28%,
    rgba(0, 0, 0, 0.18) 48%,
    transparent 72%
  );
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 72%;
}

.banner__badge {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
  line-height: 1;
}

.banner__title {
  font-family: var(--font-sans);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.02em;
}

.banner__subtitle {
  font-family: var(--font-sans);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 400;
  margin: 6px 0 0;
  line-height: 1.35;
}

.banners-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 20px 4px;
  scroll-snap-type: x mandatory;
}

.banner--scroll {
  min-width: 85%;
  scroll-snap-align: start;
  flex-shrink: 0;
  margin: 0;
}

.hide-scrollbar { scrollbar-width: none; -ms-overflow-style: none; }
.hide-scrollbar::-webkit-scrollbar { display: none; }

/* Deals */
.deals-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0 20px 0;
}

.deals-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 16px 14px;
  margin: 0;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 16px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

/* Deal of the Day — Crystalix green-fade box */
.section--deal-day {
  margin-bottom: 12px;
  padding: 0 8px;
}
.section--deal-day-page {
  padding-bottom: 24px;
}
.deal-day-box {
  padding: 12px 8px 10px;
  background:
    linear-gradient(165deg, rgba(16, 185, 129, 0.16) 0%, rgba(16, 185, 129, 0.05) 38%, rgba(255, 255, 255, 0.92) 72%, #fff 100%) !important;
  box-shadow: none !important;
}
.deal-day-box.liquid-glass::before {
  background: linear-gradient(
    180deg,
    rgba(16, 185, 129, 0.55) 0%,
    rgba(16, 185, 129, 0.18) 30%,
    transparent 50%,
    transparent 100%
  ) !important;
}
.deal-day-box__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 4px 14px;
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: -0.03em;
  color: #064E3B;
  line-height: 1.2;
}
.deal-day-box__emoji {
  flex-shrink: 0;
  font-size: 1.15em;
  line-height: 1;
  filter: drop-shadow(0 1px 0 rgba(16, 185, 129, 0.35));
}
.deal-day-box__empty {
  margin: 8px 4px 4px;
  font-size: 13px;
  color: #047857;
  opacity: 0.85;
}
.deals-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
}
.deal-day-box .deals-stack {
  padding: 0;
}
.deal-day-box .deal-tile {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(16, 185, 129, 0.12);
}
.deal-day-box .deal-day-more {
  margin: 12px 0 0;
}
.deal-tile,
.deal-tile--row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: none;
  flex: none;
  min-height: 112px;
  padding: 0;
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  transition: transform 0.18s ease;
}
.deal-tile:active,
.deal-tile--row:active {
  transform: scale(0.99);
}
.deal-tile__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 12px 14px 12px 12px;
  background: #fff;
  order: 2;
}
.deal-tile__media {
  position: relative;
  flex: 0 0 112px;
  width: 112px;
  height: 112px;
  align-self: stretch;
  overflow: hidden;
  background: #f3f4f6;
  order: 1;
  border-radius: 0;
}
.deal-tile__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.deal-tile__ph {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #9CA3AF;
  font-size: 26px;
  background: #f3f4f6;
}
.deal-tile__off {
  position: absolute;
  top: 8px;
  left: 8px;
  right: auto;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 16px);
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--brand, #810100);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.1;
  white-space: nowrap;
}
.deal-tile__off-inline {
  color: var(--brand, #810100);
  font-weight: 800;
}
.deal-tile__rating-inline {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-weight: 750;
  color: #111827;
}
.deal-tile__rating-inline .fi {
  font-size: 11px;
  color: #F59E0B;
}
.deal-tile__name {
  margin: 0;
  font-size: 14.5px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
}
.deal-tile__meta {
  font-size: 12px;
  font-weight: 550;
  color: #6B7280;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.deal-tile__prices {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.deal-tile__new {
  font-size: 16px;
  font-weight: 800;
  color: var(--brand, #810100);
  line-height: 1.1;
}
.deal-tile__per {
  font-size: 11px;
  font-weight: 650;
  color: #9CA3AF;
}
.deal-tile__old {
  font-size: 12px;
  font-weight: 600;
  color: #9CA3AF;
  text-decoration: line-through;
}
.deal-tile__foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 600;
  color: #6B7280;
  line-height: 1.3;
}
.deal-tile__ends {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #9CA3AF;
  flex-shrink: 0;
}
.deal-tile__timer.deal-countdown {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
  margin: 0;
}
.deal-tile__timer.deal-countdown--expired .deal-countdown__num {
  color: #DC2626;
}
.deal-tile .deal-countdown--compact .deal-countdown__unit {
  min-width: 30px;
  padding: 4px 5px;
  border-radius: 7px;
  background: #fff;
  border: 1px solid rgba(129, 1, 0, 0.14);
}
.deal-tile .deal-countdown--compact .deal-countdown__num {
  font-size: 12px;
  color: var(--green, #810100);
}
.deal-tile .deal-countdown--compact .deal-countdown__label {
  font-size: 7px;
  margin-top: 2px;
}
.deal-tile .deal-countdown--compact .deal-countdown__sep {
  font-size: 12px;
  padding: 0;
  color: #C4C4C4;
}
.deal-tile__dot {
  opacity: 0.55;
}
.deal-tile__tier {
  letter-spacing: 0.02em;
}
.deal-tile__prices .deal-tile__rating-inline {
  margin-left: 4px;
}

/* View all — emoji + red fade */
.deal-day-more {
  position: relative;
  display: block;
  margin: 12px 16px 4px;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
}
.deal-day-more__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, #810100 0%, #b91c1c 48%, #ef4444 100%);
  opacity: 1;
}
.deal-day-more__fade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, transparent 45%, rgba(0,0,0,0.12) 100%);
  pointer-events: none;
}
.deal-day-more__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 14px;
}
.deal-day-more__emoji {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}
.deal-day-more__text {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.deal-day-more__count {
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 12px;
  font-weight: 800;
}
.deal-day-more .fi {
  font-size: 18px;
  line-height: 1;
  opacity: 0.9;
}
.deal-day-more:active {
  transform: scale(0.99);
}
.deal-day-more:active .deal-day-more__fade {
  filter: brightness(0.95);
}
@media (max-width: 380px) {
  .deal-tile__media {
    flex-basis: 96px;
    width: 96px;
    height: 96px;
  }
  .deal-tile,
  .deal-tile--row { min-height: 96px; }
  .deal-tile__name { font-size: 13.5px; }
  .deal-tile__off { font-size: 9px; padding: 3px 6px; }
}

.deals-grid .deal-card,
.deals-scroll .deal-card {
  min-width: 0;
  max-width: none;
  width: 100%;
}

.deals-scroll .deal-card {
  min-width: 72%;
  scroll-snap-align: start;
}

.deal-card {
  background: var(--paper);
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(129, 1, 0, 0.08);
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(129, 1, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.deal-card--scroll .deal-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.deal-card__img {
  position: relative;
  aspect-ratio: 4/3;
}

.deal-card__img img { width: 100%; height: 100%; object-fit: cover; }

.deal-card__discount {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, var(--deal-red, #DC2626) 0%, var(--deal-red-dark, #B91C1C) 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 8px var(--deal-shadow, rgba(220, 38, 38, 0.35));
}

.deal-card__body { padding: 12px 14px 14px; }

.deal-card__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-heading);
  margin: 0 0 8px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.deal-card__prices {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.deal-card__new {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-price);
  line-height: 1;
}

.deal-card__per {
  font-size: 11px;
  font-weight: 600;
  color: var(--green-muted);
}

.deal-card__old {
  font-size: 12px;
  color: #9CA3AF;
  text-decoration: line-through;
}

.deal-card__timer-wrap {
  background: var(--brand-soft);
  border: 1px solid rgba(129, 1, 0, 0.1);
  border-radius: 12px;
  padding: 8px 10px;
  margin-bottom: 12px;
}

.deal-card__timer-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--green-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.deal-card__form {
  margin-top: auto;
}

.deal-card__btn {
  width: 100%;
  padding: 11px 12px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: transform .15s, background .15s;
}

.deal-card__btn:active {
  transform: scale(.98);
  background: var(--green-dark);
}

/* Featured Deal of the Day */
.deal-featured {
  margin: 0 20px;
  background: linear-gradient(135deg, var(--deal-bg-start, #FEF2F2) 0%, var(--deal-bg-end, var(--brand-soft)) 100%);
  border: 2px solid var(--deal-border, #FECACA);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.deal-featured__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 0;
}

.deal-featured .deal-countdown__unit {
  background: var(--paper);
  border: 1px solid rgba(129, 1, 0, 0.12);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.deal-featured .deal-countdown__num {
  color: var(--green);
}

.deal-featured .deal-countdown__label {
  color: var(--green-muted);
}

.deal-featured .deal-countdown__sep {
  color: #D1D5DB;
}

.deal-featured__head > div:first-child {
  flex: 1;
  min-width: 0;
}

.deal-featured__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--deal-red, #DC2626);
  background: var(--deal-red-light, #FEE2E2);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 6px;
}

.deal-featured__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-heading);
  margin: 0;
  line-height: 1.2;
}

.deal-featured__body {
  display: flex;
  gap: 14px;
  padding: 14px 16px 16px;
}

.deal-featured__img {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
}

.deal-featured__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deal-featured__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.deal-featured__desc {
  font-size: 12px;
  color: #6B7280;
  margin: 6px 0 12px;
  line-height: 1.4;
}

.deal-featured__btn {
  width: 100%;
  padding: 10px 14px;
  background: var(--deal-red, #DC2626);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

/* Countdown Timer */
.deal-countdown {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.deal-countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #1F2937;
  border-radius: 8px;
  padding: 4px 8px;
  min-width: 36px;
}

.deal-countdown__num {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.deal-countdown__label {
  font-size: 8px;
  color: #9CA3AF;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 2px;
}

.deal-countdown__sep {
  font-size: 16px;
  font-weight: 800;
  color: #DC2626;
  line-height: 1;
}

.deal-countdown--compact {
  margin: 0;
  justify-content: center;
}

.deal-countdown--compact .deal-countdown__unit {
  min-width: 34px;
  padding: 5px 6px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid rgba(129, 1, 0, 0.12);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.deal-countdown--compact .deal-countdown__num {
  font-size: 14px;
  font-weight: 800;
  color: var(--green);
}

.deal-countdown--compact .deal-countdown__label {
  font-size: 8px;
  color: var(--green-muted);
  font-weight: 700;
  margin-top: 3px;
}

.deal-countdown--compact .deal-countdown__sep {
  font-size: 14px;
  font-weight: 700;
  color: #D1D5DB;
  padding: 0 1px;
}

.deal-countdown--expired .deal-countdown__num {
  color: #EF4444;
}

/* Hot Deals: full-width weekly + monthly banners, 1 at a time */
.section--deal-banners-hero {
  margin-bottom: 10px;
  padding-top: 2px;
}
.section--deal-banners-hero .section-head {
  padding-left: 16px;
  padding-right: 16px;
  margin-bottom: 10px;
}

.deal-banner-carousel {
  --dbc-ease: cubic-bezier(0.32, 0.72, 0, 1);
  margin: 0 16px 4px;
  position: relative;
}
.deal-banner-carousel--hero {
  margin: 0 16px 2px;
}
.deal-banner-carousel--compact {
  margin: 0;
}
.deal-banner-carousel__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: #f3f4f6;
}
.deal-banner-carousel--hero .deal-banner-carousel__viewport {
  aspect-ratio: 2 / 1;
  width: 100%;
  border-radius: 16px;
}
.deal-banner-carousel--compact .deal-banner-carousel__viewport {
  border-radius: 12px;
}
.deal-banner-carousel__track {
  display: flex;
  flex-direction: row;
  height: 100%;
  width: 100%;
  transform: translate3d(0, 0, 0);
  transition: transform 0.55s var(--dbc-ease);
  will-change: transform;
}
.deal-banner-carousel__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: block;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}
.deal-banner-carousel__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.deal-banner-carousel__kind {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: #111827;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.deal-banner-carousel__badge {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(129, 1, 0, 0.92);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.deal-banner-carousel__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.28) 55%, transparent 100%);
}
.deal-banner-carousel__timer-wrap {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.deal-banner-carousel__timer-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}
.deal-banner-carousel__timer.deal-countdown {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin: 0;
}
.deal-banner-carousel .deal-countdown--compact .deal-countdown__unit {
  min-width: 32px;
  padding: 5px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  border: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.deal-banner-carousel .deal-countdown--compact .deal-countdown__num {
  font-size: 13px;
  font-weight: 800;
  color: var(--green, #810100);
}
.deal-banner-carousel .deal-countdown--compact .deal-countdown__label {
  font-size: 7px;
  font-weight: 700;
  color: #6B7280;
  margin-top: 2px;
}
.deal-banner-carousel .deal-countdown--compact .deal-countdown__sep {
  font-size: 13px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.85);
  padding: 0 1px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.deal-banner-carousel .deal-countdown--expired .deal-countdown__num {
  color: #DC2626;
}
.deal-banner-carousel--hero .deal-banner-carousel__kind,
.deal-banner-carousel--hero .deal-banner-carousel__badge {
  font-size: 12px;
  padding: 6px 12px;
}
.deal-banner-carousel--hero .deal-banner-carousel__timer-wrap {
  left: 14px;
  right: 14px;
  bottom: 14px;
}
.deal-banner-carousel--hero .deal-countdown--compact .deal-countdown__unit {
  min-width: 34px;
  padding: 6px 7px;
}
.deal-banner-carousel--hero .deal-countdown--compact .deal-countdown__num {
  font-size: 14px;
}
.deal-banner-carousel__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 10px 0 2px;
}
.deal-banner-carousel__dot {
  width: 7px;
  height: 7px;
  border: 0;
  padding: 0;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.18);
  cursor: pointer;
  transition: width 0.25s var(--dbc-ease), background 0.25s ease;
}
.deal-banner-carousel__dot.is-active {
  width: 18px;
  background: var(--brand, #810100);
}
.deal-banner-carousel--hero .deal-banner-carousel__dots {
  padding-top: 12px;
}
@media (max-width: 380px) {
  .section--deal-banners-hero .section-head {
    padding-left: 14px;
    padding-right: 14px;
  }
  .deal-banner-carousel,
  .deal-banner-carousel--hero {
    margin-left: 14px;
    margin-right: 14px;
  }
  .deal-banner-carousel--hero .deal-banner-carousel__viewport {
    border-radius: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .deal-banner-carousel__track {
    transition: none !important;
  }
}

/* Coupon in checkout */
.coupon-section {
  margin: 0 16px 12px;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  background: var(--paper, #fff);
  border-radius: 18px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  padding: 14px;
  box-shadow: none;
}

.coupon-form {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  background: transparent;
}

.coupon-form input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid #E5E7EB;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111827;
  background: #F9FAFB;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.coupon-form input::placeholder {
  color: #9CA3AF;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 1;
}

.coupon-form input:focus {
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 18%, transparent);
}

.bottom-nav__offer img {
    width: 76px;
    height: 76px;
    object-fit: contain;
    object-position: center;
    display: block;
    aspect-ratio: 1 / 1;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.coupon-form button {
  flex: 0 0 auto;
  height: 44px;
  padding: 0 18px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.coupon-form button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.coupon-inline-msg {
  margin: 8px 2px 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.coupon-applied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--brand-soft);
  border: 1px solid #c47a78;
  border-radius: 10px;
  padding: 10px 14px;
  margin-top: 0;
}

.coupon-applied span { font-size: 13px; color: #9a3412; font-weight: 600; }
.coupon-applied button {
  background: none; border: none; color: #DC2626;
  font-size: 12px; font-weight: 600; cursor: pointer; font-family: inherit;
}

/* Product grid — mobile-first 2-column (max-width app shell) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 12px;
  padding: 0 16px 8px;
  width: 100%;
  box-sizing: border-box;
  align-items: stretch;
}
.product-grid > .product-card {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
}

.section:last-of-type {
  padding-bottom: 0;
  margin-bottom: 8px;
}

.product-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  transition: transform 0.2s ease;
  border: 0;
  box-shadow: none;
}

.product-card:active {
  transform: scale(0.985);
}

/* Shared media slot — always a stable square */
.product-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f4f5f7;
  border: 0;
  box-shadow: none;
  flex-shrink: 0;
  border-radius: 12px;
}

/* ── Home / grid product card — clean layout ── */
.product-card--home,
.product-card--grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 10px;
  border-radius: 16px;
  background: #fff !important;
  overflow: visible;
  border: 0;
  box-shadow: none !important;
  box-sizing: border-box;
  height: 100%;
}
.product-card--home::before,
.product-card--home::after,
.product-card--grid::before,
.product-card--grid::after {
  display: none !important;
  content: none !important;
}

.product-card--home .product-card__media,
.product-card--grid .product-card__media {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f4f5f7;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none !important;
  border: 0 !important;
  box-sizing: border-box;
  margin: 0;
  flex: 0 0 auto;
}
.product-card--home .product-card__media:not(.is-ready):not(:has(.product-card__ph)),
.product-card--grid .product-card__media:not(.is-ready):not(:has(.product-card__ph)) {
  background: linear-gradient(90deg, #f0f1f3 0%, #ffffff 42%, #f0f1f3 84%);
  background-size: 200% 100%;
  animation: bzSkelShimmer 1.15s ease-in-out infinite;
}
.product-card--home .product-card__media::before,
.product-card--home .product-card__media::after,
.product-card--grid .product-card__media::before,
.product-card--grid .product-card__media::after {
  display: none !important;
  content: none !important;
}

.product-card--home .product-card__media-link,
.product-card--grid .product-card__media-link {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  box-sizing: border-box;
  background: transparent !important;
}

.product-card--home .product-card__image,
.product-card--grid .product-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none !important;
}

.product-card--home .product-card__ph,
.product-card--grid .product-card__ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: #f4f5f7 !important;
  color: #9ca3af !important;
  box-shadow: none !important;
  border: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
}
.product-card--home .product-card__ph .fi,
.product-card--grid .product-card__ph .fi {
  display: inline-flex !important;
  font-size: clamp(22px, 8vw, 30px);
  line-height: 1;
  opacity: 0.7;
}
.product-card--home.product-card--no-img .product-card__media,
.product-card--grid.product-card--no-img .product-card__media {
  background: #f4f5f7 !important;
}
.product-card--home.product-card--no-img .product-card__media-link,
.product-card--grid.product-card--no-img .product-card__media-link {
  padding: 0;
  display: block;
}

.product-card--home .product-card__body,
.product-card--grid .product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  padding: 10px 2px 2px;
  background: transparent !important;
  gap: 0;
}
.product-card--home .product-card__meta-row,
.product-card--grid .product-card__meta-row {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  min-height: 20px;
}
.product-card--home .product-card__meta-row .product-card__eyebrow,
.product-card--grid .product-card__meta-row .product-card__eyebrow {
  display: none;
}
.product-card--home .food-type,
.product-card--grid .food-type {
  width: 18px;
  height: 18px;
  border-width: 1.5px;
  border-radius: 3px;
  background: #fff;
  flex-shrink: 0;
}
.product-card--home .food-type--veg,
.product-card--grid .food-type--veg {
  border-color: #28a745;
}
.product-card--home .food-type--veg .food-type__mark,
.product-card--grid .food-type--veg .food-type__mark {
  width: 8px;
  height: 8px;
  background: #28a745;
}
.product-card--home .food-type--nonveg,
.product-card--grid .food-type--nonveg {
  border-color: #b91c1c;
}
.product-card--home .product-card__rating,
.product-card--grid .product-card__rating {
  margin-left: auto;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e8f8f0;
  color: #1a9e50;
  font-size: 12px;
  font-weight: 600;
}
.product-card--home .product-card__rating .fi,
.product-card--grid .product-card__rating .fi {
  font-size: 11px;
  color: #1a9e50;
}
.product-card--home .product-card__rating small,
.product-card--grid .product-card__rating small {
  font-weight: 400;
  color: #4caf7d;
  font-size: 11px;
}
.product-card--home .product-card__name,
.product-card--grid .product-card__name {
  font-size: 13.5px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  margin: 0 0 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-width: 0;
  min-height: calc(1.3em * 2);
}
.product-card--home .product-card__name-btn,
.product-card--grid .product-card__name-btn {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  width: 100%;
  text-align: left;
}
.product-card--home .product-card__meta,
.product-card--grid .product-card__meta {
  margin-top: 2px;
  margin-bottom: 0;
}
.product-card--home .product-card__footer,
.product-card--grid .product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  margin-top: auto;
  width: 100%;
  min-width: 0;
}
.product-card--home .product-card__price-row,
.product-card--grid .product-card__price-row {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  overflow: visible;
}
.product-card--home .product-card__price-row--deal,
.product-card--grid .product-card__price-row--deal {
  gap: 3px;
}
.product-card--home .product-card__mrp,
.product-card--grid .product-card__mrp {
  font-size: 12.5px;
  font-weight: 500;
  color: #9ca3af;
  line-height: 1.2;
}
.product-card--home .product-card__price,
.product-card--grid .product-card__price {
  font-size: 15px;
  font-weight: 800;
  color: #111;
  letter-spacing: -0.3px;
}
.product-card--home .product-card__price--deal,
.product-card--grid .product-card__price--deal {
  background: #f5c518;
  color: #111;
  font-size: 15px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 5px;
  display: inline-block;
  letter-spacing: -0.3px;
  line-height: 1.2;
}
.product-card--home .product-card__per,
.product-card--grid .product-card__per {
  display: none;
}
/* Red category-style Add — in footer next to price (home/grid) */
.product-card__add {
  margin: 0;
  flex-shrink: 0;
}
.product-card--home .product-card__add .btn-add--io,
.product-card--grid .product-card__add .btn-add--io {
  width: auto;
  min-width: 72px;
  max-width: 96px;
  height: 32px;
  min-height: 32px;
  padding: 0 30px 0 10px;
  border: 0 !important;
  background: var(--brand, #810100) !important;
  border-radius: 9px;
  color: #fff !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  justify-content: flex-start;
  box-shadow: none !important;
}
.product-card--home .product-card__add .btn-add--io .btn-add__label,
.product-card--grid .product-card__add .btn-add--io .btn-add__label {
  color: #fff;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 11px;
}
.product-card--home .product-card__add .btn-add--io .btn-add__icon,
.product-card--grid .product-card__add .btn-add--io .btn-add__icon {
  display: flex !important;
  background: #fff;
  color: var(--brand, #810100);
}
.product-card--home .product-card__add .btn-add--io.btn-add--in-cart,
.product-card--grid .product-card__add .btn-add--io.btn-add--in-cart {
  background: var(--brand-dark, #5c0000) !important;
  border: 0 !important;
  color: #fff !important;
  pointer-events: none;
  padding: 0 30px 0 10px;
}
.product-card--home .product-card__add .btn-add--io.btn-add--in-cart .btn-add__label,
.product-card--grid .product-card__add .btn-add--io.btn-add--in-cart .btn-add__label {
  color: #fff;
  font-size: 11px;
}
.product-card--home .product-card__footer,
.product-card--grid .product-card__footer {
  justify-content: space-between;
  align-items: center;
}

.product-card__media-link {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
}

.product-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Empty placeholder — fills square media slot */
.product-card__ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f5f7;
  border: 0;
  box-shadow: none;
  color: #9ca3af;
  border-radius: inherit;
  box-sizing: border-box;
}
.product-card__ph .fi {
  display: inline-flex;
  font-size: clamp(22px, 8vw, 30px);
  line-height: 1;
  opacity: 0.7;
}
.product-card--no-img .product-card__media {
  background: #f4f5f7;
}

/* FSSAI-style veg / non-veg marks */
.food-type {
  width: 14px;
  height: 14px;
  border: 1.5px solid;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--paper);
  box-sizing: border-box;
}
.food-type--veg { border-color: #15803d; }
.food-type--veg .food-type__mark {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #15803d;
}
.food-type--nonveg { border-color: #b91c1c; }
.food-type--nonveg .food-type__mark {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 7px solid #b91c1c;
  background: transparent;
}

.product-card__meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 16px;
  margin-bottom: 6px;
}
.product-card__meta-row .product-card__eyebrow {
  margin: 0;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-card__rating {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(243, 244, 246, 0.95);
  color: #111827;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
}
.product-card__rating .fi {
  font-size: 10px;
  color: #f59e0b;
}
.product-card__rating small {
  font-weight: 650;
  color: #9ca3af;
  font-size: 10px;
}
.product-card__name-btn {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  letter-spacing: inherit;
}
.product-card__mrp {
  font-size: 12px;
  font-weight: 600;
  color: #9ca3af;
  text-decoration: line-through;
}
.product-card__price--deal {
  color: #111827;
}

.product-card__badge,
.product-card__age,
.product-card__unit {
  position: absolute;
  z-index: 2;
  font-size: 10px;
  font-weight: 750;
  line-height: 1;
  pointer-events: none;
}

.product-card__badge {
  top: 10px;
  left: 10px;
  background: #111827;
  color: #fff;
  padding: 6px 9px;
  border-radius: 999px;
}

.product-card__age {
  top: 10px;
  left: 10px;
  background: #dc2626;
  color: #fff;
  padding: 5px 7px;
  border-radius: 8px;
}
.product-card__badge ~ .product-card__age { left: auto; right: 48px; top: 10px; }

.product-card__unit {
  left: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(17, 24, 39, 0.88);
  color: #fff;
  padding: 5px 8px;
  border-radius: 999px;
}
.product-card__unit .fi { font-size: 11px; }

.product-card__wish-form { margin: 0; }
.product-card__wish {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  width: 32px;
  height: 32px;
  border: 0 !important;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.42) !important;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: none !important;
  cursor: pointer;
  padding: 0;
  filter: none;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.product-card__wish .icon,
.product-card__wish .icon--heart,
.product-card__wish .icon--heart-filled {
  width: 18px;
  height: 18px;
  color: #fff !important;
}
.product-card__wish.is-on,
.product-card__wish.is-on .icon,
.product-card__wish.is-on .icon--heart,
.product-card__wish.is-on .icon--heart-filled {
  color: #fff !important;
}
.product-card__wish:active { transform: scale(0.9); }
.product-card__wish--plain {
  position: static;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  box-shadow: none !important;
  background: rgba(0, 0, 0, 0.42) !important;
  border: 0 !important;
  filter: none;
  color: #fff;
}

.product-card__body {
  padding: 12px 12px 13px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.product-card__eyebrow {
  margin: 0 0 4px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ca3af;
}

.product-card__name {
  margin: 0;
  font-size: 13.5px;
  font-weight: 750;
  color: #111827;
  letter-spacing: -0.01em;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__meta {
  margin: 4px 0 0;
  font-size: 11px;
  font-weight: 550;
  color: #9ca3af;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  width: 100%;
  min-width: 0;
}
.product-card__footer > [data-no-pdraw] {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.product-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.product-card__price {
  font-size: 1.05rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
}

.product-card__per {
  font-size: 11px;
  font-weight: 650;
  color: #9ca3af;
  text-transform: lowercase;
}

.btn-add {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: var(--brand, #810100);
  color: #fff;
  border: 0;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  transition: transform 0.12s ease, background 0.15s ease;
  cursor: pointer;
}
.btn-add:active { transform: scale(0.94); }
.btn-add--round { border-radius: 12px; }
.btn-add--in-cart {
  background: var(--green-dark, #5c0000);
}

/* Compact Uiverse-style Add — brand red, same height as old + (32px) */
.btn-add--io {
  width: auto;
  min-width: 72px;
  max-width: 96px;
  height: 32px;
  padding: 0 30px 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 9px;
  font-family: inherit;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  box-sizing: border-box;
  box-shadow: none !important;
}
.btn-add--io .btn-add__label {
  position: relative;
  z-index: 1;
  pointer-events: none;
}
.btn-add--io .btn-add__icon {
  background: #fff;
  position: absolute;
  right: 3px;
  top: 3px;
  bottom: 3px;
  width: 26px;
  height: auto;
  margin: 0;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  box-shadow: none !important;
  transition: width 0.28s ease;
  color: var(--brand, #810100);
  pointer-events: none;
  box-sizing: border-box;
}
.btn-add--io .btn-add__icon .icon,
.btn-add--io .btn-add__icon .fi,
.btn-add--io .btn-add__icon .icon--sm {
  width: 13px;
  height: 13px;
  font-size: 13px;
  line-height: 1;
  flex-shrink: 0;
  color: var(--brand, #810100) !important;
  stroke: currentColor;
}
@media (hover: hover) {
  .btn-add--io:hover {
    transform: none;
  }
  .btn-add--io:hover .btn-add__icon {
    width: calc(100% - 6px);
  }
}
.btn-add--io:active {
  transform: scale(0.97);
}
.btn-add--io:active .btn-add__icon {
  transform: none;
}
.btn-add--io.btn-add--in-cart {
  background: var(--brand-dark, #5c0000);
  box-shadow: none !important;
}

/* List variant (categories) */
.product-card--list {
  flex-direction: row;
  align-items: stretch;
  gap: 12px;
  padding: 12px;
  margin-bottom: 10px;
  border-radius: 18px;
}
.product-card--list .product-card__media {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  align-self: center;
  background: #f4f5f7;
}
.product-card--list .product-card__media-link {
  padding: 0;
  display: block;
  box-sizing: border-box;
}
.product-card--list .product-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-card--list .product-card__image,
.product-card--list .product-card__ph {
  border-radius: 12px;
}
.product-card--list.product-card--no-img .product-card__media-link {
  padding: 0;
}
.product-card--list .product-card__body {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0;
}
.product-card--list .product-card__copy {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.product-card--list .product-card__name {
  font-size: 14.5px;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
.product-card--list .product-card__price-row { margin-top: 6px; }
.product-card--list .product-card__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  align-self: stretch;
}
.product-card--list .product-card__badge { top: 8px; left: 8px; padding: 5px 7px; font-size: 9px; }
.product-card--list .product-card__unit { left: 8px; bottom: 8px; }
.product-card--list .product-card__wish { top: 8px; right: 8px; }

/* Legacy aliases (wishlist/older JS hooks) */
.product-card__image-wrap { position: relative; overflow: hidden; }
.product-card__wishlist-form { margin: 0; }

/* ── Product detail drawer ── */
.pdraw-root {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.pdraw-root.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}
.pdraw-root__scrim {
  position: absolute;
  inset: 0;
  background: rgba(15, 18, 30, 0.5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.pdraw-root.is-open .pdraw-root__scrim { opacity: 1; }

/* Shell: close sits above the sheet, outside the drawer */
.pdraw-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  max-height: min(92vh, 820px);
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(calc(100% + 56px));
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.pdraw-root.is-open .pdraw-shell {
  transform: translateY(0);
}
.pdraw-shell .pdraw__close,
.pdraw-shell .pdraw {
  pointer-events: auto;
}

.pdraw {
  position: relative;
  width: 100%;
  max-height: min(84vh, 720px);
  background: var(--paper-bright);
  border: 0;
  border-radius: 30px 30px 0 0;
  display: flex;
  flex-direction: column;
  transform: none;
  overflow: hidden;
  box-shadow: 0 -18px 60px rgba(15, 18, 30, 0.28);
}

/* Beat liquid-glass's `.pdraw > * { position: relative }` */
.pdraw > .pdraw__handle { position: absolute; z-index: 4; }
.pdraw > .pdraw__media { position: relative; }

/* Grab handle floating over the media */
.pdraw__handle {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 42px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 1px 4px rgba(15, 18, 30, 0.25);
}

/* Close button — above drawer, outside sheet */
.pdraw__close {
  position: relative;
  top: auto;
  right: auto;
  z-index: 2;
  width: 40px;
  height: 40px;
  margin: 0 0 12px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #1f2937;
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 6px 18px rgba(15, 18, 30, 0.28);
  transition: background 0.18s ease, transform 0.18s ease, color 0.18s ease;
}
.pdraw__close:hover {
  background: #f3f4f6;
  color: #111827;
  transform: rotate(90deg);
}
.pdraw__close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.pdraw__media {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  overflow: hidden;
  flex-shrink: 0;
}
.pdraw__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.pdraw-root.is-open .pdraw__media img { transform: scale(1); }
/* Fade the photo into the body so the sheet feels layered */
.pdraw__media::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 48px;
  background: linear-gradient(to top, var(--paper-bright), transparent);
  pointer-events: none;
}
.pdraw__ph {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #b45309;
  font-size: 2.6rem;
}
.pdraw__body {
  position: relative;
  margin-top: -22px;
  padding: 20px 20px calc(22px + env(safe-area-inset-bottom, 0px));
  background: var(--paper-bright);
  border-radius: 24px 24px 0 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-height: 0;
}
.pdraw__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pdraw__badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--brand);
  border: 0;
  border-radius: 999px;
  padding: 5px 11px;
  background: var(--brand-soft);
}
.pdraw__rating {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  font-size: 12px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.25);
}
.pdraw__rating .fi { color: #f59e0b; font-size: 11px; }
.pdraw__rating small { color: rgba(146, 64, 14, 0.7); font-weight: 650; }
.pdraw__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 850;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
}
.pdraw__price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.pdraw__mrp {
  font-size: 14px;
  color: #9ca3af;
  text-decoration: line-through;
  font-weight: 600;
}
.pdraw__price {
  font-size: 1.6rem;
  font-weight: 850;
  color: var(--brand);
  letter-spacing: -0.03em;
  line-height: 1;
}
.pdraw__price--deal { color: var(--brand); }
.pdraw__per {
  font-size: 12px;
  color: #6b7280;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.05);
}
.pdraw__desc {
  margin: 2px 0 4px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #4b5563;
  white-space: pre-wrap;
}
.pdraw__desc--empty { color: #9ca3af; font-style: italic; }

/* Auth-page CTA inside product drawer */
.pdraw__cta.bz-auth__cta--io {
  margin-top: 10px;
  width: 100%;
  max-width: 100%;
}
.pdraw__cta.bz-auth__cta--io.is-disabled,
.pdraw__cta.bz-auth__cta--io:disabled {
  opacity: 0.92;
  cursor: default;
  pointer-events: none;
}

/* ── Product bundles — brand-red card, corner border fade ── */
.section--bundles {
  margin-bottom: 12px;
  padding: 0 8px;
}
.bundles-day-box {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 14px 12px 12px;
  background:
    linear-gradient(
      135deg,
      rgba(129, 1, 0, 0.18) 0%,
      rgba(129, 1, 0, 0.06) 22%,
      rgba(255, 255, 255, 0.97) 48%,
      rgba(255, 255, 255, 0.97) 58%,
      rgba(129, 1, 0, 0.07) 82%,
      rgba(129, 1, 0, 0.16) 100%
    ) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
/* Border fade: top-left + bottom-right corners */
.bundles-day-box.liquid-glass::before {
  background: linear-gradient(
    135deg,
    rgba(129, 1, 0, 0.72) 0%,
    rgba(129, 1, 0, 0.32) 14%,
    rgba(129, 1, 0, 0.08) 28%,
    transparent 42%,
    transparent 58%,
    rgba(129, 1, 0, 0.08) 72%,
    rgba(129, 1, 0, 0.32) 86%,
    rgba(129, 1, 0, 0.72) 100%
  ) !important;
}
.bundles-day-box__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 10px;
  min-width: 0;
}
.bundles-day-box__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  min-width: 0;
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: -0.03em;
  color: #3d0000;
  line-height: 1.2;
}
.bundles-day-box__emoji {
  flex-shrink: 0;
  font-size: 1.1em;
  line-height: 1;
  filter: drop-shadow(0 1px 0 rgba(129, 1, 0, 0.28));
}
.bundles-day-box__link {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 750;
  color: #810100;
  text-decoration: none;
}
.bundles-day-box__link:active {
  opacity: 0.75;
}
.bundles-day-box .bundles-marquee {
  margin: 0;
  padding: 0;
  width: 100%;
}
.bundles-day-box .bundles-marquee__viewport {
  width: 100%;
  overflow: hidden;
  mask-image: none;
  -webkit-mask-image: none;
}
.bundles-day-box .bundles-marquee__track,
.bundles-day-box .bundles-marquee--static .bundles-marquee__track {
  padding: 0;
  gap: 0;
  box-sizing: border-box;
}
.bundles-day-box .bundles-marquee--static .bundles-marquee__track {
  width: 100%;
  display: block;
}
/* Flat content flush on red card — no inner card shell */
.bundles-day-box .bundle-row,
.bundles-day-box .bundle-row:active {
  display: flex;
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-radius: 0 !important;
  padding: 0;
  gap: 12px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.bundles-day-box .bundle-row:active {
  opacity: 0.88;
  transform: none;
}
.bundles-day-box .bundle-row::before,
.bundles-day-box .bundle-row::after {
  display: none !important;
  content: none !important;
}
.bundles-day-box .bundle-row__media,
.bundles-day-box .bundle-row__media--ph,
.bundles-day-box .bundle-row__ph {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}
.bundles-day-box .bundle-row__media {
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
  border-radius: 14px;
  overflow: hidden;
}
.bundles-day-box .bundle-row__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}
.bundles-day-box .bundle-row__media--ph {
  display: grid;
  place-items: center;
  background: rgba(129, 1, 0, 0.10) !important;
}
.bundles-day-box .bundle-row__ph {
  width: auto;
  height: auto;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  color: rgba(129, 1, 0, 0.75);
  background: transparent !important;
}
.bundles-day-box .bundle-row__body {
  padding: 0;
  min-width: 0;
  flex: 1 1 auto;
}
.bundles-day-box .bundle-row__badge,
.bundles-day-box .bundle-row__badge--soft {
  background: rgba(129, 1, 0, 0.10);
  color: #810100;
  border: 0;
}
.bundles-day-box .bundle-row__title {
  font-size: 15px;
}
.bundles-day-box .bundle-row__price {
  font-size: 1.05rem;
  color: #3d0000;
}
.bundles-day-box .bundle-row__cta {
  padding: 7px 11px;
  font-size: 12px;
  border-radius: 10px;
  box-shadow: none !important;
}
/* Marquee (2+): horizontal cards still flat, sized to fit card */
.bundles-day-box .bundles-marquee:not(.bundles-marquee--static) .bundles-marquee__track {
  display: flex;
  gap: 16px;
  width: max-content;
}
.bundles-day-box .bundles-marquee:not(.bundles-marquee--static) .bundle-row {
  flex: 0 0 min(260px, calc(100% - 0px));
  width: min(260px, 78vw);
  max-width: 280px;
}
.bundles-day-box .bundles-marquee--static .bundle-row {
  flex: none;
  width: 100%;
  max-width: 100%;
}
@media (max-width: 380px) {
  .section--bundles {
    padding: 0 6px;
  }
  .bundles-day-box {
    padding: 12px 10px 10px;
  }
  .bundles-day-box__title {
    font-size: 0.98rem;
  }
  .bundles-day-box .bundle-row__media {
    width: 76px;
    height: 76px;
    flex-basis: 76px;
  }
}

.bundles-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 16px;
}
.bundles-stack--home { padding: 0 16px; }

/* Home: continuous horizontal marquee (2+ bundles only) */
.bundles-marquee {
  margin: 0;
  padding: 0 0 6px;
}
.bundles-marquee__viewport {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}
.bundles-marquee__track {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 12px;
  width: max-content;
  padding: 2px 16px;
  will-change: transform;
  animation: bundlesMarquee 18s linear infinite;
}
.bundles-marquee.is-paused .bundles-marquee__track,
.bundles-marquee:hover .bundles-marquee__track {
  animation-play-state: paused;
}
.bundles-marquee--static .bundles-marquee__viewport {
  overflow: visible;
  mask-image: none;
  -webkit-mask-image: none;
}
.bundles-marquee--static .bundles-marquee__track {
  animation: none;
  will-change: auto;
  width: 100%;
  padding: 2px 16px;
}
.bundles-marquee--static .bundle-row {
  flex: 1 1 auto;
  width: 100%;
  max-width: none;
}
@keyframes bundlesMarquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .bundles-marquee__track {
    animation: none !important;
  }
  .bundles-marquee__viewport {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    mask-image: none;
    -webkit-mask-image: none;
  }
}

.bundles-marquee .bundle-row {
  flex: 0 0 min(280px, 78vw);
  width: min(280px, 78vw);
  max-width: 280px;
}
/* Home red card: content fills the card (no floating inner tile) */
.bundles-day-box .bundles-marquee--static .bundle-row,
.bundles-day-box .bundles-marquee--static .bundles-marquee__track .bundle-row {
  flex: none !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.bundles-day-box .bundles-marquee:not(.bundles-marquee--static) .bundle-row {
  flex: 0 0 min(260px, 78vw);
  width: min(260px, 78vw);
  max-width: 280px;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.bundle-row {
  display: flex;
  align-items: stretch;
  gap: 14px;
  width: 100%;
  padding: 12px;
  background: var(--paper-bright);
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  box-shadow: none;
  transition: transform 0.15s ease;
}
.bundle-row:active { transform: scale(0.985); }

.bundle-row__media {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
}
.bundle-row__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bundle-row__ph {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #810100;
  font-size: 1.45rem;
  background: linear-gradient(
    145deg,
    rgba(129, 1, 0, 0.20) 0%,
    rgba(129, 1, 0, 0.08) 100%
  );
}
.bundle-row__media--ph {
  background: linear-gradient(
    145deg,
    rgba(129, 1, 0, 0.20) 0%,
    rgba(129, 1, 0, 0.08) 100%
  );
}
.bundle-row__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 2px 2px 2px 0;
}
.bundle-row__top {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bundle-row__badge {
  display: inline-flex;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--brand);
  border: 0;
  border-radius: 999px;
  padding: 4px 9px;
  background: var(--brand-soft);
}
.bundle-row__badge--soft {
  color: var(--ink-soft);
  background: rgba(17, 24, 39, 0.06);
}
.bundle-row__count {
  font-size: 11px;
  font-weight: 650;
  color: #9ca3af;
}
.bundle-row__title {
  margin: 0;
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bundle-row__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 2px;
}
.bundle-row__price {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.bundle-row__cta {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  font-weight: 750;
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 7px 11px;
  background: var(--brand);
  box-shadow: none;
}
.bundle-row__cta .fi { font-size: 14px; line-height: 1; }

.bnd-page {
  max-width: 560px;
  margin: 0 auto;
  padding: 4px 0 calc(28px + env(safe-area-inset-bottom, 0px));
}
.bnd-page__head {
  padding: 6px 16px 12px;
}
.bnd-page__eyebrow {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}
.bnd-page__title {
  margin: 0 0 4px;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.bnd-page__sub {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
}

.bnd-search {
  padding: 0 16px 12px;
}
.bnd-search__shell {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--paper-bright);
  border: 0;
  border-radius: 16px;
  padding: 6px 6px 6px 14px;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
}
.bnd-search__icon {
  color: var(--brand);
  font-size: 16px;
  flex-shrink: 0;
}
.bnd-search__shell input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  outline: none;
  padding: 10px 0;
}
.bnd-search__shell input::placeholder { color: #9ca3af; font-weight: 500; }
.bnd-search__clear {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #6b7280;
  text-decoration: none;
  border-radius: 50%;
  flex-shrink: 0;
}
.bnd-search__go {
  flex-shrink: 0;
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  box-shadow: none;
}
.bnd-search__go:active { transform: scale(0.98); }

.bnd-empty {
  margin: 8px 16px;
  padding: 40px 22px;
  text-align: center;
  border: 0;
  border-radius: 18px;
  background: var(--paper-bright);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}
.bnd-empty__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 14px;
}
.bnd-empty h2 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}
.bnd-empty p {
  margin: 0 0 16px;
  font-size: 13.5px;
  color: #6b7280;
}

.bnd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 16px;
  border: 0;
  border-radius: 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none !important;
  filter: none !important;
}
.bnd-btn--solid {
  background: linear-gradient(145deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
}
.bnd-btn--ghost {
  background: var(--paper);
  color: var(--ink);
}
.bnd-btn--full { width: 100%; }
.bnd-btn:active { transform: scale(0.98); }

/* Bundle detail — full-bleed hero, no floating white card */
.app-main:has(.bnd-detail) {
  padding-bottom: 0;
  background: #fff;
}
.bnd-detail {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 0 calc(88px + env(safe-area-inset-bottom, 0px));
  background: #fff;
}
.bnd-detail__hero {
  position: relative;
  aspect-ratio: 4 / 3;
  max-height: min(44vh, 360px);
  background: #F3F4F6;
  border: 0;
  overflow: hidden;
  border-radius: 0;
  margin: 0;
}
.bnd-detail__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bnd-detail__ph {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 2.6rem;
  color: var(--brand-muted);
  background: #F3F4F6;
}
.bnd-detail__back {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.16);
  font-size: 18px;
}
/* Flat body — replaces old overlapping panel card */
.bnd-detail__body,
.bnd-detail__panel {
  margin: 0;
  padding: 18px 16px 12px;
  background: #fff !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  position: relative;
  z-index: 1;
  isolation: auto;
  overflow: visible;
}
.bnd-detail__panel::before,
.bnd-detail__body::before {
  display: none !important;
  content: none !important;
}
.bnd-detail__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.bnd-detail__badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 0;
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--brand);
  background: var(--brand-soft);
}
.bnd-detail__count {
  font-size: 12px;
  font-weight: 650;
  color: #6b7280;
}
.bnd-detail__rating {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 750;
  color: var(--ink);
  background: rgba(17, 24, 39, 0.06);
  border-radius: 999px;
  padding: 4px 9px;
}
.bnd-detail__rating .fi { color: #f59e0b; font-size: 11px; }
.bnd-detail__rating small { color: #6b7280; font-weight: 650; }
.bnd-detail__title {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 4.5vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.2;
}
.bnd-detail__desc {
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #4b5563;
}
.bnd-detail__price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 0;
  border-radius: 14px;
  background: var(--cream);
}
.bnd-detail__price {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.03em;
}
.bnd-detail__price-note {
  font-size: 12px;
  font-weight: 650;
  color: #9ca3af;
}
.bnd-detail__section-title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
}
.bnd-detail__empty-items {
  margin: 0 0 16px;
  font-size: 13px;
  color: #9ca3af;
}
.bnd-items {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bnd-items__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 0;
  border-radius: 14px;
  background: var(--cream);
}
.bnd-items__row.is-missing { opacity: 0.55; }
.bnd-items__media {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper);
  flex-shrink: 0;
}
.bnd-items__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bnd-items__ph {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #9ca3af;
  font-size: 16px;
  background: var(--paper);
}
.bnd-items__copy {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.bnd-items__copy strong {
  font-size: 13.5px;
  font-weight: 750;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bnd-items__copy span {
  font-size: 12px;
  color: #6b7280;
  font-weight: 550;
}
.bnd-detail__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
}
.bnd-detail__bar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(var(--bottom-nav-height, 72px) + env(safe-area-inset-bottom, 0px));
  width: min(100%, var(--max-width, 430px));
  z-index: 40;
  padding: 10px 16px 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 28%);
  box-sizing: border-box;
  pointer-events: none;
}
.bnd-detail__bar > * {
  pointer-events: auto;
}
.bnd-detail__cta.bz-auth__cta--io {
  width: 100%;
  max-width: 100%;
  margin-top: 0;
}
.bnd-detail__cta.bz-auth__cta--io.is-added {
  cursor: pointer;
}

/* Wishlist page */
.wl-page {
  padding: 8px 16px 28px;
  max-width: 560px;
  margin: 0 auto;
}
.wl-page__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 2px 16px;
}
.wl-page__eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand, #810100);
}
.wl-page__title {
  margin: 4px 0 2px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #111827;
  line-height: 1.15;
}
.wl-page__sub {
  margin: 0;
  font-size: 13px;
  color: #6B7280;
  font-weight: 550;
}
.wl-page__clear {
  margin-top: 6px;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  color: #DC2626;
  cursor: pointer;
  white-space: nowrap;
}

.wl-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wl-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(17, 24, 39, 0.06);
}
.wl-item__thumb {
  flex: 0 0 84px;
  width: 84px;
  height: 84px;
  border-radius: 14px;
  overflow: hidden;
  background: #F3F4F6;
  display: block;
  text-decoration: none;
}
.wl-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wl-item__thumb--ph {
  display: grid;
  place-items: center;
  color: #9CA3AF;
  font-size: 24px;
}
.wl-item__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wl-item__top {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.wl-item__copy { flex: 1; min-width: 0; }
.wl-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 650;
  color: #9CA3AF;
}
.wl-item__meta .food-type { transform: scale(0.9); transform-origin: left center; }
.wl-item__rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #92400E;
}
.wl-item__rating .fi { color: #F59E0B; font-size: 11px; }
.wl-item__name {
  margin: 0;
  font-size: 14.5px;
  font-weight: 750;
  color: #111827;
  letter-spacing: -.01em;
  line-height: 1.3;
}
.wl-item__name a {
  color: inherit;
  text-decoration: none;
}
.wl-item__name .badge-18-plus {
  margin-left: 6px;
  vertical-align: middle;
}
.wl-item__heart-form { margin: 0; flex: 0 0 auto; }
.wl-item__heart {
  width: 36px;
  height: 36px;
  margin: -6px -4px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #E11D48;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.wl-item__heart .icon {
  width: 20px;
  height: 20px;
}
.wl-item__heart:hover,
.wl-item__heart.is-on {
  background: transparent;
  color: #E11D48;
}

.wl-item__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}
.wl-item__price {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}
.wl-item__price strong {
  font-size: 15px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -.01em;
}
.wl-item__price strong.is-deal { color: var(--brand, #810100); }
.wl-item__mrp {
  font-size: 12px;
  font-weight: 600;
  color: #9CA3AF;
  text-decoration: line-through;
}
.wl-item__price small {
  font-size: 11px;
  font-weight: 650;
  color: #9CA3AF;
}
.wl-item .btn-add--io {
  flex: 0 0 auto;
}

.wl-empty {
  text-align: center;
  padding: 48px 16px 36px;
}
.wl-empty__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: rgba(225, 29, 72, 0.08);
  color: #E11D48;
  font-size: 26px;
}
.wl-empty__title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  color: #111827;
}
.wl-empty__sub {
  margin: 0 0 18px;
  font-size: 13px;
  color: #6B7280;
  line-height: 1.45;
}
.wl-empty__cta {
  max-width: 240px;
  margin: 0 auto;
}

/* Legacy wishlist helpers (AJAX / older hooks) */
.wishlist-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 12px;
}
.wishlist-head__count {
  margin: 0;
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 500;
}
.wishlist-head__clear {
  background: none;
  border: none;
  color: #DC2626;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
}
.wishlist-hint {
  margin: 0 20px 14px;
  font-size: 12px;
  color: var(--gray-500);
}
.wishlist-empty__hint {
  font-size: 13px;
  color: var(--gray-500);
  margin: 8px 0 0;
}

@media (max-width: 360px) {
  .wl-page { padding-left: 12px; padding-right: 12px; }
  .wl-item__thumb { flex-basis: 72px; width: 72px; height: 72px; }
  .wl-page__title { font-size: 22px; }
}

.icon--heart-filled {
  color: #DC2626;
  width: 18px;
  height: 18px;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 4px 20px 0;
  font-size: 13px;
  color: var(--gray-400);
}

.breadcrumbs a { color: var(--gray-400); }
.breadcrumbs strong { color: var(--green); font-weight: 600; }

/* Filter row */
.filter-row {
  display: flex;
  gap: 12px;
  padding: 0 20px 16px;
}

.filter-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  background: var(--paper);
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
}

.filter-btn .icon { width: 16px; height: 16px; color: var(--gray-500); }

/* Chips */
.chips-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 20px 20px;
  scrollbar-width: none;
}
.chips-scroll::-webkit-scrollbar { display: none; }

.chips-scroll--sub {
  padding-top: 0;
  margin-top: -8px;
  padding-bottom: 16px;
}

.chip {
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  color: #fff;
  background: var(--green-muted);
  cursor: pointer;
  font-family: inherit;
}

.chip--active { background: var(--green); }

.chip-form { display: inline; }

/* Cart page */
.cart-page {
  padding: 4px 0 28px;
  max-width: 560px;
  margin: 0 auto;
}
.cart-page > .flash,
.app-main:has(.cart-page) > .flash {
  margin: 4px 16px 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}
.app-main:has(.cart-page) > .flash--success { color: var(--brand, #810100); }
.app-main:has(.cart-page) > .flash--error { color: #B91C1C; }

.cart-alert {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 4px 16px 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #92400E;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.45;
}
.cart-alert .fi {
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 16px;
  color: #B45309;
}
.cart-alert strong {
  font-weight: 750;
  color: #78350F;
}

.cart-list {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.cart-item {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: none;
  padding: 14px;
  display: flex;
  gap: 12px;
  position: relative;
}

.cart-item__thumb {
  width: 76px;
  height: 76px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  background: #F3F4F6;
  border: 0;
}
.cart-item__thumb--ph {
  display: grid;
  place-items: center;
  color: #9CA3AF;
  font-size: 22px;
}
.cart-item__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.cart-item__info { flex: 1; min-width: 0; }

.cart-item__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.cart-item__name {
  font-size: 14.5px;
  font-weight: 750;
  color: #111827;
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.cart-item__name .badge-18-plus {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 5px;
  border-radius: 4px;
  background: #EF4444;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  vertical-align: middle;
  line-height: 1.2;
}

.cart-item__remove {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  margin: -4px -4px 0 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  display: grid;
  place-items: center;
  color: #9CA3AF;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}
.cart-item__remove:active {
  color: #DC2626;
  background: rgba(220, 38, 38, 0.08);
}

.cart-item__weight {
  font-size: 12px;
  color: #6B7280;
  margin: 4px 0 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.cart-item__bundle {
  margin-top: 8px;
}
.cart-item__bundle-label {
  display: block;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand, #810100);
  margin-bottom: 2px;
}
.cart-item__bundle-list {
  margin: 0;
  padding: 0 0 0 14px;
  font-size: 11px;
  color: #6B7280;
  line-height: 1.4;
}
.cart-item__bundle-list li { margin-bottom: 1px; }

.cart-item__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.cart-item__price {
  font-size: 16px;
  font-weight: 800;
  color: var(--brand, #810100);
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(129, 1, 0, 0.06);
  border: 0;
  border-radius: 999px;
  padding: 3px 4px;
}

.qty-control button {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 0;
  border-radius: 50%;
  color: var(--brand, #810100);
  box-shadow: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, color 0.15s;
}

.qty-control button:active {
  transform: scale(0.92);
  background: var(--brand, #810100);
  color: #fff;
}

.qty-control span {
  font-size: 13px;
  font-weight: 750;
  min-width: 18px;
  text-align: center;
  color: #111827;
}

.qty-control .icon { width: 12px; height: 12px; }

/* Suggested pairings */
.pairings-head {
  padding: 4px 16px 10px;
}

.pairings-head h2 {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-heading);
  margin: 0;
  letter-spacing: -0.01em;
}

.pairings-head p {
  font-size: 12px;
  color: #6B7280;
  margin: 2px 0 0;
  font-weight: 550;
}

.pairings-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 16px 8px;
  margin-bottom: 20px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.pairings-scroll::-webkit-scrollbar { display: none; }

.pairing-card {
  width: 128px;
  flex: 0 0 128px;
  background: #fff;
  border-radius: 14px;
  box-shadow: none;
  border: 1px solid rgba(17, 24, 39, 0.06);
  overflow: hidden;
}

.pairing-card__img-wrap {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #F3F4F6;
}

.pairing-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pairing-card__add {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: var(--brand, #810100);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: none;
  cursor: pointer;
  color: #fff;
}
.pairing-card__add:active { transform: scale(0.94); }
.pairing-card__add .icon { color: #fff; width: 14px; height: 14px; }
.pairing-card__add--in-cart {
  background: var(--brand-dark, #5c0000);
  color: #fff;
  font-size: 13px;
}

.pairing-card__body { padding: 8px 10px 10px; }

.pairing-card__name {
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  color: #111827;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pairing-card__price {
  font-size: 13px;
  font-weight: 750;
  color: var(--brand, #810100);
  margin: 4px 0 0;
}

/* Order summary */
.summary-card {
  margin: 0 16px 24px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: none;
  padding: 18px 16px 16px;
}

.summary-card h2 {
  font-size: 15px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  margin-bottom: 10px;
}

.summary-row span:first-child { color: #6B7280; font-weight: 550; }
.summary-row span:last-child { font-weight: 700; color: #111827; }

.summary-divider {
  border: none;
  border-top: 1px dashed #E5E7EB;
  margin: 12px 0;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.summary-total span:first-child {
  font-size: 15px;
  font-weight: 800;
  color: #111827;
}

.summary-total span:last-child {
  font-size: 20px;
  font-weight: 800;
  color: var(--brand, #810100);
}

.cart-cta.bz-auth__cta--io {
  margin-top: 0;
}
.cart-cta.is-disabled,
.cart-cta[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}

.btn-checkout.bz-auth__cta--io {
  width: 100%;
  max-width: 100%;
  margin-top: 12px;
}
.btn-checkout.bz-auth__cta--io.is-disabled,
.btn-checkout.bz-auth__cta--io[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
  cursor: not-allowed;
}
.btn-checkout.bz-auth__cta--io:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.btn-checkout.bz-auth__cta--io.is-loading:disabled {
  opacity: 1;
  cursor: wait;
}

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 12px 0 0;
  font-size: 12px;
  color: #9CA3AF;
}

.secure-note .icon { width: 16px; height: 16px; color: #9CA3AF; }

/* Bottom nav — flush to ground, squared bar */
.bottom-nav {
  position: fixed;
  z-index: 150;
  bottom: 0;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: var(--max-width);
  background: #fff;
  border: 0;
  border-top: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 0;
  box-shadow: none;
  padding: 0 4px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  overflow: visible;
}

/* Scroll hide / show — springy slide, GPU transform */
.bottom-nav {
  --chrome-ease: cubic-bezier(0.32, 0.72, 0, 1);
  transition:
    transform 0.48s var(--chrome-ease),
    opacity 0.36s ease;
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}
.bottom-nav.is-scroll-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, calc(100% + 18px), 0);
}
html.keyboard-open .bottom-nav,
body.keyboard-open .bottom-nav,
html.search-float-open .bottom-nav {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translate3d(0, calc(100% + 18px), 0) !important;
  transition: transform 0.32s var(--chrome-ease, cubic-bezier(0.32, 0.72, 0, 1)), opacity 0.24s ease !important;
}
@media (prefers-reduced-motion: reduce) {
  .header,
  .bottom-nav {
    transition: none !important;
  }
  .header.is-scroll-hidden,
  .bottom-nav.is-scroll-hidden {
    transform: none;
    opacity: 0;
  }
}

.bottom-nav__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 6px 0 8px;
  min-height: 56px;
}

.bottom-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  text-decoration: none;
  position: relative;
  transition: transform 0.2s;
  min-width: 0;
}
.bottom-nav__item:active { transform: scale(0.95); }

/* Center “50 OFF” promo — square ratio, lifted above the bar */
.bottom-nav__item--offer {
  flex: 1.15;
  z-index: 2;
  gap: 2px;
  justify-content: flex-end;
  transform: none;
}
.bottom-nav__item--offer:active {
  transform: scale(0.96);
}
.bottom-nav__offer {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-top: -34px;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  line-height: 0;
  flex-shrink: 0;
}
.bottom-nav__offer img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  object-position: center;
  display: block;
  aspect-ratio: 1 / 1;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.bottom-nav__label--offer {
  font-size: 10px;
  font-weight: 700;
  color: var(--brand, #810100);
  margin-top: 0;
}
@media (max-width: 360px) {
  .bottom-nav__offer,
  .bottom-nav__offer img {
    width: 68px;
    height: 68px;
  }
  .bottom-nav__offer { margin-top: -28px; }
}

.bottom-nav__icon-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
  line-height: 0;
  transition: color 0.15s ease, background 0.15s ease;
}

.bottom-nav__icon-wrap .fi,
.bottom-nav__icon-wrap .icon,
.bottom-nav__icon-wrap svg {
  display: grid !important;
  place-items: center;
  width: 22px;
  height: 22px;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  vertical-align: 0 !important;
  font-size: 22px;
  flex-shrink: 0;
}

.bottom-nav__icon-wrap .fi::before {
  display: block !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: 0 !important;
  width: 22px;
  height: 22px;
  text-align: center;
}

.bottom-nav__item--active .bottom-nav__icon-wrap {
  background: transparent;
}

.bottom-nav__label {
  font-size: 10px;
  font-weight: 600;
  color: var(--gray-400);
  line-height: 1.2;
  text-align: center;
  transition: all 0.3s;
}

.bottom-nav__item--active .bottom-nav__label {
  color: var(--brand);
}

.bottom-nav__badge {
  position: absolute;
  top: 0px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  background: #DC2626;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 0 0 2px #fff;
  z-index: 2;
}

/* ── Nav offer tickets (floating codes, no panel) ── */
.offer50 {
  --o50-ease: cubic-bezier(0.32, 0.72, 0, 1);
  position: fixed;
  inset: 0;
  z-index: 340;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s;
}
.offer50.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}
.offer50[hidden] { display: none !important; }
.offer50.is-open[hidden] { display: block !important; }

.offer50__backdrop {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: transparent;
  opacity: 1;
}

.offer50__float {
  position: fixed;
  z-index: 1;
  left: 10px;
  bottom: 80px;
  width: min(360px, calc(100vw - 20px));
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding-bottom: 12px;
  transform: translate3d(0, 14px, 0) scale(0.97);
  opacity: 0;
  transform-origin: bottom center;
  transition:
    transform 0.4s var(--o50-ease),
    opacity 0.3s ease;
  pointer-events: none;
}
.offer50.is-open .offer50__float {
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.offer50__arrow {
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  background: #fff;
  transform: rotate(45deg);
  border-radius: 2px;
  z-index: 0;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.14));
  pointer-events: none;
}

.offer50__loading {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 10px;
  pointer-events: none;
}
.offer50__loading.is-on { display: flex; }
.offer50__spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(129, 1, 0, 0.18);
  border-top-color: var(--brand, #810100);
  animation: offer50Spin 0.8s linear infinite;
}
@keyframes offer50Spin {
  to { transform: rotate(360deg); }
}

.offer50__content {
  position: relative;
  z-index: 1;
  max-height: min(42dvh, 280px);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 4px 2px 8px;
  scrollbar-width: none;
}
.offer50__content::-webkit-scrollbar { display: none; }
.offer50__content.is-dim {
  opacity: 0.4;
  pointer-events: none;
}

.offer50__empty-msg {
  margin: 0;
  padding: 12px 14px;
  text-align: center;
  font-size: 13px;
  font-weight: 650;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.offer50__tickets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.offer-ticket__filter {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Horizontal holographic ticket */
.offer-ticket {
  --ot-w: min(300px, calc(100vw - 40px));
  --ot-h: 112px;
  --ot-perf: 10px;
  --ot-cut: 50%;

  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "header body footer";
  align-items: stretch;
  gap: 0.35rem;
  width: var(--ot-w);
  height: var(--ot-h);
  padding: 0 var(--ot-perf);
  margin: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  text-align: left;
  color: #111;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.18));
  animation: offerTicketFloat 3.2s ease-in-out infinite;
  will-change: transform;
}
.offer-ticket:nth-child(2) { animation-delay: 0.35s; }
.offer-ticket:nth-child(3) { animation-delay: 0.7s; }
.offer-ticket:active { transform: scale(0.985); }

@keyframes offerTicketFloat {
  50% { transform: translateY(-4px); }
}

.offer-ticket__bg {
  position: absolute;
  inset: 0;
  background-color: #fff;
  filter: url(#offerTicketBump);
  pointer-events: none;
  mask:
    radial-gradient(
      circle at 0 50%,
      #fff0 calc(var(--ot-perf) - 5px),
      #000 calc(var(--ot-perf) - 4px)
    ),
    radial-gradient(
      circle at 100% 50%,
      #fff0 calc(var(--ot-perf) - 5px),
      #000 calc(var(--ot-perf) - 4px)
    ),
    radial-gradient(circle 7px at center top, #000 98%, #0000 100%),
    radial-gradient(circle 7px at center bottom, #000 98%, #0000 100%),
    repeating-linear-gradient(
      0deg,
      #000 8px,
      #000 12px,
      #0000 13px,
      #0000 20px
    );
  mask-repeat: repeat-y, repeat-y, no-repeat, no-repeat, repeat-y;
  mask-size:
    100% calc(var(--ot-perf) * 2),
    100% calc(var(--ot-perf) * 2),
    14px 14px,
    14px 14px,
    2px 10px;
  mask-position:
    left calc(0.5 * var(--ot-perf)),
    right calc(0.5 * var(--ot-perf)),
    var(--ot-cut) top,
    var(--ot-cut) bottom,
    calc(var(--ot-cut) + 6px) 0;
  -webkit-mask-composite: source-in, xor, source-over, source-over;
  mask-composite: intersect, exclude, add, add;
}

.offer-ticket__bg--holo {
  background-image:
    linear-gradient(to right, #fe58, 90%, #0002),
    conic-gradient(
      at 50% 40%,
      #ccc,
      #ff6bfe,
      #00f9f8,
      #ddd,
      #0081fd,
      #eef0bc,
      #0081fd,
      #ff6bfe,
      #0002,
      #0081fd,
      #ddd,
      #01fefb,
      #ccc
    );
}
.offer-ticket__bg--holo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 20%, #f0f, #0000),
    repeating-radial-gradient(circle at 30% 80%, #fff, #f4a 48px, #eee 150px);
  mix-blend-mode: color-burn;
}
.offer-ticket__bg--holo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #f205, #f00, #0f0, #f205);
  mix-blend-mode: difference;
  animation: offerTicketBg 3s ease-in-out infinite alternate;
  background-size: 300% 100%;
}
@keyframes offerTicketBg {
  to { background-position: 500px 0; }
}

.offer-ticket__header {
  position: relative;
  grid-area: header;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px 0 8px;
  min-width: 52px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.55rem;
  letter-spacing: 1px;
  color: #ffffff9f;
  text-shadow: 0 0 0 #000;
  -webkit-text-stroke: 0.5px #fff;
  mix-blend-mode: difference;
  line-height: 1;
}
.offer-ticket__symbol {
  position: absolute;
  top: 6px;
  right: 0;
  rotate: 185deg;
  font-size: 0.85rem;
  color: #fff;
  line-height: 0.5;
  opacity: 0.25;
}
.offer-ticket__body {
  grid-area: body;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  padding: 6px 4px;
  font-weight: 400;
}
.offer-ticket__body em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111;
  opacity: 0.85;
}
.offer-ticket__code {
  font-size: 16px;
  font-weight: 850;
  letter-spacing: 0.08em;
  color: #111;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.offer-ticket__body > span {
  font-size: 10.5px;
  font-weight: 550;
  color: #222;
  opacity: 0.72;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.offer-ticket__footer {
  grid-area: footer;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 10px 6px 4px;
  min-width: 72px;
}
.offer-ticket__number {
  font-size: 10px;
  font-weight: 450;
  color: #111;
  text-align: center;
  white-space: nowrap;
}
.offer-ticket__bold { font-weight: 700; }
.offer-ticket.is-copied .offer-ticket__number { color: #065f46; }
.offer-ticket__barcode {
  width: 0;
  height: 22px;
  box-shadow:
    0 0 0 1px #000,
    3px 0 0 1px #000,
    5px 0 0 1px #000,
    8px 0 0 1px #000,
    11px 0 0 1px #000,
    12px 0 0 1px #000,
    16px 0 0 1px #000,
    20px 0 0 1px #000,
    22px 0 0 1px #000,
    26px 0 0 1px #000,
    27px 0 0 1px #000,
    30px 0 0 1px #000,
    33px 0 0 1px #000,
    36px 0 0 1px #000,
    38px 0 0 1px #000,
    42px 0 0 1px #000;
  transform: translateX(21px);
}
.offer-ticket__notes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  font-size: 2.4rem;
  color: #e7e7e7;
  mix-blend-mode: color-burn;
  transform: translateY(10%);
  z-index: 1;
  pointer-events: none;
  letter-spacing: 0.2em;
  white-space: nowrap;
}
.offer-ticket__notes:nth-child(2) { transform: translateY(38%); }
.offer-ticket__notes:nth-child(3) { transform: translateY(66%); }

.offer50__content.is-enter .offer-ticket {
  animation: offerTicketIn 0.55s var(--o50-ease) both, offerTicketFloat 3.2s ease-in-out 0.55s infinite;
}
.offer50__content.is-enter .offer-ticket:nth-child(1) { animation-delay: 0.04s, 0.55s; }
.offer50__content.is-enter .offer-ticket:nth-child(2) { animation-delay: 0.12s, 0.9s; }
.offer50__content.is-enter .offer-ticket:nth-child(3) { animation-delay: 0.2s, 1.25s; }
.offer50__content.is-enter .offer-ticket:nth-child(n+4) { animation-delay: 0.28s, 1.5s; }

@keyframes offerTicketIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

html.offer50-open .bottom-nav {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translate3d(0, 0, 0) !important;
  z-index: 345;
}
html.offer50-open .bottom-nav__item:not(.bottom-nav__item--offer) {
  opacity: 0.35;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
html.offer50-open .bottom-nav__item--offer {
  opacity: 1;
  z-index: 2;
}

@media (max-width: 360px) {
  .offer-ticket {
    --ot-h: 104px;
  }
  .offer-ticket__header { font-size: 1.35rem; min-width: 46px; }
  .offer-ticket__code { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .offer50,
  .offer50__float,
  .offer-ticket,
  .offer-ticket__bg--holo::after,
  .offer50__spinner {
    transition: none !important;
    animation: none !important;
  }
}

.section { margin-bottom: 20px; }

.section:last-child {
  margin-bottom: 8px;
}

.empty-cart {
  text-align: center;
  padding: 48px 24px 32px;
  color: #6B7280;
  max-width: 360px;
  margin: 0 auto;
}

.empty-cart__icon {
  font-size: 40px;
  margin: 0 0 12px;
  color: var(--brand, #810100);
  opacity: 0.55;
}
.empty-cart__title {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
}
.empty-cart__sub {
  margin: 0 0 22px;
  font-size: 13.5px;
  color: #6B7280;
  line-height: 1.45;
}
.empty-cart__cta.bz-auth__cta--io {
  margin-top: 0;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

/* Auth & extra pages */
.app-frame--auth {
  padding-bottom: 0;
  background: var(--cream);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.app-main--auth { padding-bottom: 24px; }
.app-main--no-nav { padding-bottom: 24px; }

/* Auth hero — matches app brand header */
.auth-hero {
  position: relative;
  background: linear-gradient(155deg, var(--green) 0%, var(--green-dark) 100%);
  padding: calc(20px + env(safe-area-inset-top, 0px)) 24px 52px;
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.auth-hero::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.auth-hero::after {
  content: '';
  position: absolute;
  bottom: 20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.auth-hero__back {
  position: absolute;
  top: calc(16px + env(safe-area-inset-top, 0px));
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--paper);
  color: #111827;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
}

.auth-hero__back .icon { width: 16px; height: 16px; }

.auth-hero__content {
  position: relative;
  z-index: 1;
  padding-top: 8px;
}

.auth-hero__name {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 700;
  margin: 14px 0 6px;
  letter-spacing: -0.02em;
}

.auth-hero__tagline {
  font-size: 14px;
  margin: 0;
  opacity: 0.92;
  font-weight: 500;
}

.auth-main {
  flex: 1;
  margin-top: -32px;
  padding: 0 20px calc(24px + env(safe-area-inset-bottom, 0px));
  position: relative;
  z-index: 2;
}

.auth-card {
  background: var(--paper);
  border-radius: 24px;
  padding: 26px 22px 22px;
  box-shadow: 0 16px 48px rgba(129, 1, 0, 0.1), 0 0 0 1px rgba(129, 1, 0, 0.06);
}

.auth-card .flash {
  margin: 0 0 16px;
}

.auth-card__head {
  text-align: center;
  margin-bottom: 24px;
}

.auth-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green);
  background: var(--brand-soft);
  border: 1px solid rgba(129, 1, 0, 0.12);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.auth-card__badge .fi { font-size: 12px; line-height: 0; }

.auth-card__title {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-heading);
  margin: 0 0 8px;
}

.auth-card__subtitle {
  font-size: 14px;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.5;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 18px;
  color: var(--gray-400);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #E5E7EB;
}

.auth-footer__link {
  color: var(--green);
  font-weight: 700;
  margin-left: 4px;
}

.auth-checkbox { font-size: 12px; line-height: 1.5; }

.brand-mark--auth-hero {
  width: auto;
  height: 72px;
  max-width: 200px;
  margin: 0 auto;
}

.brand-mark--auth-hero .brand-mark__img {
  width: auto;
  height: 100%;
  max-width: 200px;
  object-fit: contain;
}

.brand-mark--auth-hero .brand-mark__icon {
  font-size: 40px;
  color: #fff;
}

.auth-page { padding: 20px 24px 32px; }

.auth-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 20px;
}

.auth-back .icon { width: 18px; height: 18px; }

.auth-header { margin-bottom: 28px; }

.auth-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-heading);
  margin: 0 0 8px;
}

.auth-subtitle { font-size: 14px; color: var(--gray-500); margin: 0; }

.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-form--page { padding: 0 20px 24px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.input-wrap--auth {
  background: var(--cream);
  border: 1.5px solid #E5E7EB;
  border-radius: 14px;
  transition: border-color .2s, box-shadow .2s;
}

.input-wrap--auth:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(129, 1, 0, 0.12);
  background: var(--paper);
}

.input-wrap--auth .input-icon { color: var(--green); }

.input-wrap--password { padding-right: 6px; }
.pwd-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: 4px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--gray-500, #6B7280);
  cursor: pointer;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.pwd-toggle i { font-size: 18px; line-height: 1; }
.pwd-toggle.is-on,
.pwd-toggle:active { color: var(--green-dark, #5c0000); background: rgba(129, 1, 0, 0.08); }

.field-hint {
  min-height: 16px;
  margin: 6px 2px 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-400, #9CA3AF);
  line-height: 1.35;
}
.field-hint--error { color: #DC2626; }
.field-hint--ok { color: #059669; }
.input-wrap--auth.is-error {
  border-color: #F87171;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}
.input-wrap--auth.is-ok {
  border-color: #ffb088;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.15);
}
.label-optional {
  font-weight: 500;
  color: var(--gray-400, #9CA3AF);
  text-transform: none;
  letter-spacing: 0;
}

.welcome {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 40px 24px 32px;
}

.welcome__hero { text-align: center; margin-bottom: 24px; }

.welcome__logo {
  width: 160px;
  height: auto;
  min-height: 64px;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  overflow: visible;
}

.header__logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-mark__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}

.brand-mark__icon {
  font-size: 1.35em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.brand-mark__icon .fi { line-height: 0; }

.brand-mark--header {
  width: auto;
  height: 46px;
  max-width: 130px;
  flex-shrink: 0;
  border-radius: 0;
  background: transparent;
}

.brand-mark--header .brand-mark__img {
  width: auto;
  height: 46px;
  max-width: 100px;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.12));
}

.brand-mark--header .brand-mark__icon {
  font-size: 40px;
  color: #fff;
}

.brand-mark--sidebar,
.brand-mark--auth,
.brand-mark--auth-hero {
  width: auto;
  height: 44px;
  max-width: 130px;
  border-radius: 0;
  background: transparent;
}

.brand-mark--auth {
  height: 36px;
  max-width: 120px;
}

.brand-mark--sidebar .brand-mark__img,
.brand-mark--auth .brand-mark__img {
  width: auto;
  height: 100%;
  max-width: inherit;
  object-fit: contain;
}

.brand-mark--sidebar .brand-mark__icon,
.brand-mark--auth .brand-mark__icon {
  font-size: 18px;
  color: #fff;
}

.brand-mark--white .brand-mark__icon,
.brand-mark--white .brand-mark__icon .fi {
  color: #fff;
}

.brand-mark--white .brand-mark__img {
  filter: none;
}

.brand-mark--welcome {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.brand-mark--welcome .brand-mark__icon {
  font-size: 28px;
}

.icon--welcome-pin { width: 28px; height: 28px; color: var(--green); }

.welcome__brand {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--green);
  margin: 0;
}

.welcome__tagline {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.5;
  margin: 8px 0 0;
}

.welcome__illustration {
  flex: 1;
  border-radius: var(--radius-3xl);
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: var(--shadow-card);
}

.welcome__illustration img { width: 100%; height: 220px; object-fit: cover; }

.welcome__actions { display: flex; flex-direction: column; gap: 12px; }

.welcome__guest {
  text-align: center;
  font-size: 14px;
  color: var(--gray-500);
  margin-top: 8px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 6px;
}

.input-wrap {
  display: flex;
  align-items: center;
  background: var(--paper);
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 0 14px;
  transition: border-color .2s;
}

.input-wrap:focus-within { border-color: var(--green); }

.input-wrap--disabled { background: var(--cream-dark); }

.input-icon { width: 18px; height: 18px; color: var(--gray-400); margin-right: 10px; }

.input-wrap input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 14px 0;
  font-size: 14px;
  outline: none;
  font-family: inherit;
}

.form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-500);
}

.checkbox-label--block { margin: 4px 0; }

.link-green { color: var(--green); font-weight: 600; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 999px;
  border: none;
  text-align: center;
  transition: transform .15s;
}

.btn-primary--full { width: 100%; }
.btn-primary--auth {
  margin-top: 4px;
  padding: 15px 24px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(129, 1, 0, 0.28);
}
.btn-primary:active { transform: scale(.98); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--green);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 999px;
  border: 2px solid var(--green);
  text-align: center;
}

.btn-outline--full { width: 100%; }
.btn-outline--danger { color: #DC2626; border-color: #DC2626; }

.auth-footer {
  text-align: center;
  font-size: 14px;
  color: var(--gray-500);
  margin: 0;
}

.auth-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  padding-top: 20px;
  margin-top: 8px;
  border-top: 1px solid #F3F4F6;
}

.auth-legal a {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-400);
}

.auth-legal a:hover { color: var(--green); }

.demo-note {
  margin-top: 20px;
  padding: 12px 16px;
  background: #FEF3C7;
  border-radius: 12px;
  font-size: 12px;
  color: #92400E;
  text-align: center;
}

.flash {
  margin: 12px 20px 0;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
}

.flash--success { background: #F3E8E6; color: #9a3412; }
.flash--error { background: #FEE2E2; color: #991B1B; }

/* SweetAlert2 — app brand */
.swal2-container {
  z-index: 20000 !important;
}
.app-swal {
  border-radius: 20px !important;
  font-family: 'DM Sans', system-ui, sans-serif !important;
  padding: 1.5rem 1.25rem 1.35rem !important;
  width: min(92vw, 360px) !important;
  background: var(--paper) !important;
  box-shadow: 0 24px 48px rgba(28, 25, 23, 0.18) !important;
}
.app-swal .swal2-title {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #1C1917 !important;
  padding: 0 !important;
  margin: 0 0 8px !important;
}
.app-swal .swal2-html-container,
.app-swal .swal2-html-container.swal2-text {
  font-size: 0.92rem !important;
  color: #78716C !important;
  margin: 0 !important;
  line-height: 1.45 !important;
}
.app-swal .swal2-actions {
  margin: 1.25rem 0 0 !important;
  gap: 10px !important;
  width: 100% !important;
}
.app-swal__confirm,
.app-swal__cancel {
  border-radius: 14px !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  padding: 0.72rem 1.1rem !important;
  box-shadow: none !important;
  flex: 1 1 0 !important;
  margin: 0 !important;
}
.app-swal__cancel {
  background: var(--cream) !important;
  color: var(--ink) !important;
  border: 1.5px solid rgba(17, 24, 39, 0.12) !important;
}
.app-swal__cancel:hover {
  background: var(--cream-dark) !important;
}
.app-swal__icon.swal2-icon {
  margin: 0 auto 1rem !important;
  width: 3.25rem !important;
  height: 3.25rem !important;
  border-width: 2px !important;
}
.app-swal--danger .swal2-icon.swal2-warning {
  border-color: #FECACA !important;
  color: #DC2626 !important;
}
.app-swal--danger .swal2-icon.swal2-warning .swal2-icon-content {
  color: #DC2626 !important;
}
.app-swal__confirm--danger {
  background: #DC2626 !important;
  color: #fff !important;
}
.app-swal__confirm--danger:hover {
  background: #B91C1C !important;
}
.app-swal-toast {
  border-radius: 999px !important;
  font-family: 'DM Sans', system-ui, sans-serif !important;
  font-size: 0.875rem !important;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.14) !important;
}

/* Never dim the whole page for top toasts */
.swal2-container.app-swal-toast-wrap,
.swal2-container:has(.swal2-toast) {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  pointer-events: none !important;
  padding-top: calc(10px + env(safe-area-inset-top, 0px)) !important;
  align-items: flex-start !important;
}
/* Hide SweetAlert's unused select + any wrongly enhanced custom-select inside toasts */
.swal2-popup .swal2-select,
.swal2-container .swal2-select,
.swal2-popup .cs,
.swal2-toast .cs {
  display: none !important;
}
.swal2-toast .swal2-timer-progress-bar {
  display: none !important;
}

.app-toast {
  position: fixed;
  left: 50%;
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%) translateY(12px);
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.app-toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.app-toast--success {
  background: #111827;
  color: #fff;
}

.app-toast--error {
  background: #FEE2E2;
  color: #991B1B;
}

.page-top {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  padding: 16px 20px;
}

.page-top__title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
  margin: 0;
  text-align: center;
}

.page-back {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  border-radius: 50%;
  box-shadow: var(--shadow-card);
}

.page-back .icon { width: 20px; height: 20px; color: var(--green); }

/* ── Modern Profile ── */
.profile-page {
  padding: 0 0 28px;
}

.profile-hero {
  position: relative;
  text-align: center;
  padding: 8px 20px 22px;
  overflow: hidden;
}

.profile-hero__glow {
  position: absolute;
  left: 50%;
  top: -40px;
  width: 220px;
  height: 220px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(129, 1, 0, 0.18) 0%, rgba(129, 1, 0, 0) 70%);
  pointer-events: none;
}

.profile-avatar-form {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
}

.profile-avatar {
  position: relative;
  display: block;
  width: 104px;
  height: 104px;
  margin: 0 auto;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.profile-avatar__img {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid #fff;
  outline: 3px solid rgba(129, 1, 0, 0.35);
  background: #E5E7EB;
}

.profile-avatar__camera {
  position: absolute;
  right: 0;
  bottom: 2px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  border: 3px solid #fff;
}

.profile-avatar.is-uploading {
  opacity: 0.7;
  pointer-events: none;
}

.profile-avatar__hint {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-400);
}

.profile-hero__name {
  position: relative;
  z-index: 1;
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gray-800);
}

.profile-hero__email {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 14px;
  color: var(--gray-500);
  font-weight: 500;
}

.profile-hero__meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.profile-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(129, 1, 0, 0.08);
  color: var(--green-dark, #5c0000);
  font-size: 12px;
  font-weight: 700;
}

.profile-hero__meta .fi { font-size: 12px; }

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 20px 22px;
}

.profile-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 14px 8px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid rgba(17, 24, 39, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, border-color .15s ease;
}

.profile-stat:active { transform: scale(0.97); }

.profile-stat strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--green);
  line-height: 1.1;
}

.profile-stat span {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.profile-section {
  margin: 0 20px 18px;
}

.profile-section__title {
  margin: 0 0 10px 4px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-400);
}

.profile-menu {
  background: var(--paper);
  border-radius: 18px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  overflow: hidden;
}

.profile-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #F3F4F6;
  transition: background .12s ease;
}

.profile-link:last-child { border-bottom: none; }
.profile-link:active { background: #F9FAFB; }

.profile-link__icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #111827;
  font-size: 18px;
}
.profile-link--danger .profile-link__icon {
  color: #DC2626;
}

.profile-link__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.profile-link__text strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-800);
}

.profile-link__text small {
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-400);
}

.profile-link__badge {
  background: #FEE2E2;
  color: #DC2626;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
}

.profile-link__chev {
  color: #D1D5DB;
  font-size: 18px;
}

.profile-link--danger .profile-link__text strong { color: #DC2626; }

.profile-logout {
  padding: 4px 20px 8px;
}

.profile-logout__btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  border-radius: 16px;
  border: 1.5px solid #FECACA;
  background: #FEF2F2;
  color: #DC2626;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}

.profile-logout__btn:active { transform: scale(0.98); }

/* Legacy menu styles (other pages may still use) */
.menu-list {
  margin: 0 20px 24px;
  background: var(--paper);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid #F3F4F6;
  font-size: 15px;
  font-weight: 500;
}

.menu-item:last-child { border-bottom: none; }

.menu-item__icon { width: 20px; height: 20px; color: var(--green); }

.menu-item span { flex: 1; }

.menu-item__badge {
  background: #FEE2E2;
  color: #DC2626;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  margin-right: 8px;
}

.menu-item__arrow { width: 18px; height: 18px; color: var(--gray-400); }

.menu-list__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-400);
  padding: 16px 20px 8px;
  margin: 0;
}

.menu-list--legal { margin-top: 8px; }

.menu-item__icon-fi {
  width: 20px;
  font-size: 18px;
  color: #111827;
  text-align: center;
  background: transparent;
}

.menu-item--danger span { color: #DC2626; }
.menu-item--danger .menu-item__icon-fi { color: #DC2626; }

/* Flutter WebView app — extra top spacing + dark status bar theme */
html.flutter-app .header,
html.flutter-app .auth-hero {
  padding-top: calc(15px + env(safe-area-inset-top, 0px));
}

html.flutter-app .auth-topbar {
  padding-top: calc(15px + env(safe-area-inset-top, 0px));
}

.logout-form { padding: 0 20px 24px; }

.checkout-form { padding-bottom: 24px; }

.checkout-section {
  margin: 0 20px 20px;
  background: var(--paper);
  border-radius: var(--radius-xl);
  padding: 18px;
  box-shadow: var(--shadow-card);
}

.checkout-section__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-heading);
  margin: 0 0 14px;
}

.checkout-section__title .icon { width: 18px; height: 18px; color: var(--green); }

.payment-options { display: flex; flex-direction: column; gap: 10px; }

.payment-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  font-size: 14px;
  cursor: pointer;
  position: relative;
}

.payment-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.payment-option--active {
  border-color: var(--green);
  background: rgba(129, 1, 0, 0.05);
}

.checkout-items { display: flex; flex-direction: column; gap: 12px; }

.checkout-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkout-item img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
}

.checkout-item__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.checkout-item__name {
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-item__qty { font-size: 11px; color: var(--gray-400); }

.checkout-item__price { font-size: 14px; font-weight: 700; color: var(--text-price); }

.success-page {
  text-align: center;
  padding: 60px 24px 32px;
}

.success-page__icon {
  width: 56px;
  height: 56px;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.success-page__icon .icon { width: 40px; height: 40px; color: #111827; }

.success-page__title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--green);
  margin: 0 0 8px;
}

.success-page__text { font-size: 14px; color: var(--gray-500); margin: 0 0 24px; }

.success-page__order-id {
  background: var(--paper);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.success-page__order-id span { font-size: 12px; color: var(--gray-400); }
.success-page__order-id strong { font-size: 18px; color: var(--green); }

.success-page__actions { display: flex; flex-direction: column; gap: 12px; }

/* ── Orders page (neutral, mobile-first) ── */
.orders-page {
  padding: 0 0 calc(20px + env(safe-area-inset-bottom, 0px));
  max-width: 560px;
  margin: 0 auto;
  background: linear-gradient(180deg, #f4f5f7 0%, #f9fafb 120px, #f9fafb 100%);
  min-height: 50vh;
}

.orders-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 16px 14px;
  padding: 16px;
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid #eceef2;
}

.orders-hero__eyebrow {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ca3af;
}

.orders-hero__title {
  margin: 0 0 4px;
  font-size: clamp(1.25rem, 5vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111827;
  line-height: 1.15;
}

.orders-hero__sub {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
}

.orders-hero__badge {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  color: #374151;
  font-size: 20px;
}

.orders-filters {
  display: flex;
  gap: 8px;
  padding: 0 16px 14px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.orders-filters::-webkit-scrollbar { display: none; }

.orders-filter {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid #e5e7eb;
  color: #6b7280;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.orders-filter em {
  font-style: normal;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  font-size: 11px;
  font-weight: 750;
  color: #4b5563;
}
.orders-filter.is-active {
  background: #111827;
  border-color: #111827;
  color: #fff;
}
.orders-filter.is-active em {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.orders-list {
  padding: 0 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-card {
  position: relative;
  background: var(--paper);
  border-radius: 18px;
  padding: 14px 14px 12px;
  border: 1px solid #eceef2;
  overflow: hidden;
}
/* Left accent bar removed — status uses liquid-glass top border-fade */

.order-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  padding-left: 8px;
}

.order-card__label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 2px;
}

.order-card__id {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #111827;
  word-break: break-all;
}

.order-card__date {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #9ca3af;
}

.order-card__status {
  display: inline-flex;
  align-items: center;
  max-width: 42%;
  font-size: 11px;
  font-weight: 750;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: #f3f4f6;
  color: #4b5563;
  flex-shrink: 0;
}

.order-card__body {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 0 12px 8px;
  min-width: 0;
}

.order-card__thumbs {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.order-card__thumbs img,
.order-card__more {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  object-fit: cover;
  border: 2px solid #fff;
  background: #f3f4f6;
  margin-left: -10px;
}
.order-card__thumbs img:first-child,
.order-card__thumbs .order-card__more:first-child { margin-left: 0; }
.order-card__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 750;
  color: #6b7280;
  background: #eef2f7;
}

.order-card__copy {
  min-width: 0;
  flex: 1;
}
.order-card__items {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.order-card__more-text {
  color: #6b7280;
  font-weight: 700;
}

.order-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0;
  padding: 0;
  font-size: 12px;
  font-weight: 500;
  color: #9ca3af;
}
.order-card__meta span {
  display: inline-flex;
  align-items: center;
}
.order-card__meta span + span::before {
  content: "·";
  margin-right: 10px;
  color: #d1d5db;
}

.order-card__foot {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 0 0 8px;
  border-top: 1px solid #f0f1f4;
}

.order-card__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.order-card__total span {
  font-size: 12px;
  font-weight: 600;
  color: #9ca3af;
}
.order-card__total strong {
  font-size: 1.15rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
}

.order-card__actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 8px;
  width: 100%;
}
.order-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, transform 0.1s ease;
  -webkit-tap-highlight-color: transparent;
}
.order-card__btn--primary {
  background: #111827;
  color: #fff;
  border-color: #111827;
}
.order-card__btn--ghost {
  background: var(--paper);
  color: #374151;
  border-color: #e5e7eb;
}
.order-card__btn:active {
  transform: scale(0.98);
}

.order-card__status--delivered { background: #ecfdf5; color: #047857; }
.order-card__status--cancelled { background: #fef2f2; color: #b91c1c; }
.order-card__status--processing { background: #fffbeb; color: #b45309; }
.order-card__status--shipped { background: #eff6ff; color: #1d4ed8; }

@media (min-width: 480px) {
  .order-card__foot {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .order-card__total {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .order-card__actions {
    width: auto;
    min-width: min(280px, 58%);
    flex: 1 1 auto;
  }
}

@media (max-width: 379px) {
  .orders-hero { margin-inline: 12px; padding: 14px; }
  .orders-filters,
  .orders-list { padding-inline: 12px; }
  .orders-empty { margin-inline: 12px; }
  .order-card__actions {
    grid-template-columns: 1fr;
  }
  .order-card__status { max-width: 46%; font-size: 10px; }
}

/* Live order tracking */
.track-page {
  padding: 12px 16px 28px;
  max-width: 560px;
  margin: 0 auto;
}
.track-hero {
  margin-bottom: 14px;
}
.track-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-500, #6B7280);
  text-decoration: none;
  margin-bottom: 10px;
}
.track-hero__eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-400, #9CA3AF);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.track-hero__title {
  margin: 4px 0 6px;
  font-size: 24px;
  font-weight: 800;
  color: var(--gray-900, #111827);
}
.track-hero__sub {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-500, #6B7280);
}
.track-hero__boy {
  margin: 10px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--green-dark, #5c0000);
}
.track-map-wrap {
  position: relative;
  z-index: 1;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: var(--paper);
}
/* Keep Leaflet's high-z controls/panes contained below the fixed header */
.track-map .leaflet-pane,
.track-map .leaflet-top,
.track-map .leaflet-bottom {
  z-index: 5;
}
.track-map {
  width: 100%;
  height: min(52vh, 360px);
  min-height: 260px;
  background: #E5E7EB;
}
.track-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-500, #6B7280);
}
.track-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.track-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.track-dot--home { background: #810100; }
.track-dot--rider { background: #2563EB; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2); }
.track-legend__rider {
  width: 22px;
  height: 22px;
  object-fit: contain;
  vertical-align: middle;
}
.track-meta {
  margin-top: 14px;
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid rgba(17, 24, 39, 0.06);
}
.track-meta__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-400, #9CA3AF);
  text-transform: uppercase;
  margin-bottom: 2px;
}
.track-meta strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-800, #1F2937);
  white-space: pre-wrap;
}
.track-marker { background: transparent !important; border: none !important; }
.track-marker__pin {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.track-marker__pin--home {
  width: 16px;
  height: 16px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: #810100;
}
.track-marker__pin--rider {
  background: #2563EB;
}
.track-marker--rider { z-index: 1000 !important; }
.track-rider {
  display: block;
  width: 40px;
  height: 40px;
  animation: track-rider-bob 1.6s ease-in-out infinite;
  will-change: transform;
}
.track-rider img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 6px 6px rgba(17, 24, 39, 0.35));
  pointer-events: none;
}
@keyframes track-rider-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  .track-rider { animation: none; }
}

.orders-empty {
  text-align: center;
  margin: 8px 16px 24px;
  padding: 36px 20px;
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid #eceef2;
  color: #6b7280;
}
.orders-empty--soft { padding: 28px 18px; }
.orders-empty__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #111827;
  font-size: 28px;
}
.orders-empty h2 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  color: #111827;
}
.orders-empty p {
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.45;
}
.orders-empty__cta.bz-auth__cta--io {
  max-width: 280px;
  margin: 4px auto 0;
}
.orders-empty__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  background: #111827;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  border: 1.5px solid #111827;
  transition: background 0.15s ease, color 0.15s ease;
}
.orders-empty__btn:active { background: #000; }
.orders-empty__btn--ghost {
  background: var(--paper);
  color: #111827;
  border-color: #d1d5db;
}
.orders-empty__btn--ghost:active { background: #f9fafb; }

.empty-state {
  text-align: center;
  padding: 60px 24px;
  color: var(--gray-500);
}

.empty-state--compact { padding: 32px 24px; }

.empty-state__icon .icon { width: 48px; height: 48px; color: var(--gray-400); margin: 0 auto 16px; }

.empty-state h2 { font-size: 18px; color: var(--text-heading); margin: 0 0 8px; }

.empty-state p { margin: 0 0 20px; font-size: 14px; }

.empty-state .btn-primary { display: inline-flex; padding: 12px 28px; }

/* Delivery addresses page */
.addr-page {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 16px calc(28px + env(safe-area-inset-bottom, 0px));
}

.addr-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 14px;
  padding: 16px;
  border-radius: 18px;
  background: var(--paper-glass);
}

.addr-hero__eyebrow {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ca3af;
}
.addr-hero__title {
  margin: 0 0 4px;
  font-size: clamp(1.25rem, 5vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111827;
}
.addr-hero__sub {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
}
.addr-hero__badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #f3f4f6;
  color: #111827;
  font-size: 20px;
  flex-shrink: 0;
}

.addr-card {
  position: relative;
  padding: 16px;
  border-radius: 18px;
  background: var(--paper-bright);
  margin-bottom: 14px;
}
.addr-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.addr-card__badge {
  display: inline-flex;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9a3412;
  background: #F3E8E6;
  padding: 5px 9px;
  border-radius: 999px;
}
.addr-card__label {
  font-size: 13px;
  font-weight: 750;
  color: #111827;
}
.addr-card__body {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.addr-card__pin {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #111827;
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
}
.addr-card__copy { min-width: 0; flex: 1; }
.addr-card__text {
  margin: 0 0 6px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.45;
  color: #111827;
  word-break: break-word;
}
.addr-card__coords {
  margin: 0;
  font-size: 12px;
  color: #9ca3af;
}
.addr-card__actions {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 8px;
}
.addr-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.12s ease;
}
.addr-card__btn:active { transform: scale(0.98); }
.addr-card__btn--primary {
  background: #111827;
  color: #fff;
}
.addr-card__btn--ghost {
  background: var(--paper);
  color: #374151;
  border-color: #e5e7eb;
}

.addr-empty {
  text-align: center;
  padding: 36px 20px;
  border-radius: 18px;
  background: var(--paper-bright);
  margin-bottom: 14px;
}
.addr-empty__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  font-size: 26px;
  color: #111827;
}
.addr-empty h2 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  color: #111827;
}
.addr-empty p {
  margin: 0 0 16px;
  font-size: 13.5px;
  color: #6b7280;
}

.addr-form__card {
  padding: 16px;
  border-radius: 18px;
  background: var(--paper-bright);
}
.addr-form__title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #111827;
}
.addr-form__hint {
  margin: 0 0 16px;
  font-size: 13px;
  color: #6b7280;
}
.addr-form__label {
  display: block;
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 750;
  color: #6b7280;
  letter-spacing: 0.02em;
}
.addr-form__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.addr-form__label-row .addr-form__label {
  margin: 0;
}
.addr-live-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(129, 1, 0, 0.28);
  background: #fff5f0;
  color: #810100;
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
}
.addr-live-btn .fi {
  font-size: 13px;
  line-height: 1;
}
.addr-live-btn:active {
  transform: scale(0.97);
}
.addr-live-btn.is-busy {
  opacity: 0.65;
  pointer-events: none;
}
.addr-live-status {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  line-height: 1.35;
}
.addr-live-status.is-ok { color: #047857; }
.addr-live-status.is-err { color: #b45309; }
.addr-form__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.addr-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: var(--paper);
  color: #6b7280;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.addr-chip input { position: absolute; opacity: 0; pointer-events: none; }
.addr-chip.is-active {
  background: #111827;
  border-color: #111827;
  color: #fff;
}
.addr-form__input {
  align-items: flex-start;
  min-height: 0;
  padding-top: 12px;
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.addr-form__input .input-icon,
.addr-form__input .fi {
  margin-top: 2px;
  color: #111827;
  flex-shrink: 0;
}
.addr-form__input textarea {
  flex: 1;
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  resize: vertical;
  min-height: 72px;
  padding: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  line-height: 1.45;
  outline: none;
}
.addr-form__actions {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 8px;
}
.addr-form__actions:has(.addr-form__submit:only-child) {
  grid-template-columns: 1fr;
}
.addr-form__submit { width: 100%; }
.addr-form__submit.bz-auth__cta--io {
  width: 100%;
  max-width: 100%;
  margin-top: 0;
}

.addr-note {
  margin: 4px 2px 0;
  font-size: 12.5px;
  color: #9ca3af;
  line-height: 1.45;
}
.addr-note a {
  color: #810100;
  font-weight: 700;
  text-decoration: none;
}

/* Legacy hooks */
.address-list { padding: 0 20px 20px; }
.address-card { border-radius: 18px; padding: 18px; }
.address-add { margin: 0 20px 24px; display: flex; text-decoration: none; }

a.btn-checkout { text-decoration: none; }


.qty-control .icon { width: 14px; height: 14px; }
.cart-item__remove .icon { width: 18px; height: 18px; }
.checkout-section .icon { width: 18px; height: 18px; }
.summary-row .icon { width: 14px; height: 14px; display: inline-block; }

input[type="checkbox"] { accent-color: var(--green); }
a.chip { display: inline-block; }

.btn-location {
  width: 100%;
  margin-top: 10px;
  padding: 12px 16px;
  background: var(--paper);
  border: 2px dashed var(--green);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}
.btn-location:hover { background: rgba(129, 1, 0, 0.05); }
.btn-location:disabled { opacity: .7; cursor: wait; }

.location-status {
  font-size: 12px;
  margin-top: 8px;
  padding: 0 4px;
  min-height: 18px;
}
.location-status--success { color: #9a3412; }
.location-status--error { color: #991B1B; }

.checkout-map {
  width: 100%;
  height: 260px;
  border-radius: 12px;
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
  z-index: 1;
  position: relative;
}
.checkout-map .leaflet-container { border-radius: 12px; }
.checkout-map .rm-map { border-radius: 12px; }

/* Quantity sheet — sticky to bottom, rounded top corners only */
.qty-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.42);
  z-index: 360;
  opacity: 0;
  transition: opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.qty-backdrop--open {
  display: block;
  opacity: 1;
}

.qty-popup {
  --qty-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: var(--max-width);
  background: #fff;
  border: 0;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -10px 36px rgba(17, 24, 39, 0.14);
  padding: 8px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 370;
  transform: translate3d(0, 110%, 0);
  opacity: 1;
  pointer-events: none;
  visibility: hidden;
  transition: transform 0.36s var(--qty-ease), visibility 0.36s;
  max-height: min(78dvh, 560px);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

html.search-float-open .qty-backdrop { z-index: 380; }
html.search-float-open .qty-popup { z-index: 390; }

.qty-popup--open {
  transform: translate3d(0, 0, 0);
  pointer-events: all;
  visibility: visible;
}

.qty-popup__handle {
  width: 36px;
  height: 4px;
  margin: 4px auto 10px;
  border-radius: 999px;
  background: #D1D5DB;
}

.qty-popup__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  gap: 12px;
}

.qty-popup__title {
  font-size: 16px;
  font-weight: 750;
  color: #111827;
  letter-spacing: -0.01em;
}

.qty-popup__close {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  color: #374151;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.qty-popup__close:active { transform: scale(0.96); background: #e5e7eb; }

.qty-popup__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.qty-popup__weights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.qty-weight-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  border: 1.5px solid rgba(17, 24, 39, 0.10);
  border-radius: 12px;
  background: #fafafa;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
  text-align: center;
  min-width: 0;
}

.qty-weight-opt input { display: none; }

.qty-weight-opt--active {
  border-color: var(--brand, #810100);
  background: rgba(129, 1, 0, 0.06);
}

.qty-weight-opt__label {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}
.qty-weight-opt__price {
  font-size: 12px;
  color: var(--text-price, #6B7280);
  font-weight: 600;
  margin-top: 3px;
}
.qty-weight-opt--active .qty-weight-opt__label {
  color: var(--brand, #810100);
}

.qty-popup__pieces {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.qty-piece-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 6px;
  border: 1.5px solid rgba(17, 24, 39, 0.10);
  border-radius: 12px;
  background: #fafafa;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
  text-align: center;
}

.qty-piece-opt input { display: none; }

.qty-piece-opt--active {
  border-color: var(--brand, #810100);
  background: rgba(129, 1, 0, 0.06);
}

.qty-piece-opt__label {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

.qty-piece-opt--active .qty-piece-opt__label {
  color: var(--brand, #810100);
}

.qty-piece-opt__price {
  font-size: 11px;
  color: var(--text-price, #6B7280);
  font-weight: 600;
  margin-top: 3px;
}

.qty-weight-opt:active,
.qty-piece-opt:active {
  transform: scale(0.98);
}

.qty-popup__cta.bz-auth__cta--io {
  width: 100%;
  max-width: 100%;
  margin-top: 6px;
}
.qty-popup__cta.bz-auth__cta--io.is-added {
  background: var(--brand-dark, #5c0000);
  cursor: default;
  pointer-events: none;
}
.qty-popup__cta.bz-auth__cta--io.is-loading:disabled {
  opacity: 1;
  cursor: wait;
}

/* Legacy class kept for any residual markup */
.qty-popup__btn {
  width: 100%;
  padding: 15px 16px;
  background: var(--brand, #810100);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 750;
  font-family: inherit;
  cursor: pointer;
  margin-top: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .qty-popup,
  .qty-backdrop {
    transition: none !important;
  }
}

/* Cart weight selector */
.cart-weight-select {
  width: 100%;
  margin-top: 6px;
  padding: 8px 10px;
  border: 1.5px solid var(--green);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  background: rgba(129, 1, 0, .04);
  font-family: inherit;
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='%230E4D34' viewBox='0 0 16 16'%3E%3Cpath d='M8 11.5l-5-5h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}

.cart-item__weight-form { margin: 0; }

/* ── Custom select (modern dropdown, enhances native <select>) ── */
.cs { position: relative; display: block; width: 100%; }
/* Keep the native <select> focusable (not display:none) so that HTML5
   "required" validation can still anchor its message; just make it invisible. */
.cs select {
  position: absolute !important;
  left: 12px;
  bottom: 0;
  width: 1px;
  height: 1px;
  padding: 0 !important;
  margin: 0 !important;
  opacity: 0;
  pointer-events: none;
  border: 0 !important;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.cs__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--paper);
  border: 1.5px solid #EAECEF;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  color: #1F2937;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.cs__btn:hover { border-color: #D8DBE0; }
.cs.cs--open .cs__btn { border-color: var(--green); }
.cs.cs--disabled .cs__btn { opacity: .55; cursor: not-allowed; }

.cs__label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cs__label--placeholder { color: #9CA3AF; font-weight: 500; }

.cs__caret {
  flex-shrink: 0;
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #9CA3AF;
  transition: transform .2s ease, border-top-color .2s ease;
}
.cs.cs--open .cs__caret { transform: rotate(180deg); border-top-color: var(--green); }

/* Borderless variant for selects living inside an icon-input wrapper */
.cs--bare { width: auto; flex: 1 1 auto; min-width: 0; }
.cs--bare .cs__btn {
  border: none;
  background: transparent;
  padding: 14px 0;
  border-radius: 0;
  color: inherit;
}

.cs__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--paper);
  border: 1.5px solid #EEF0F2;
  border-radius: 14px;
  padding: 6px;
  max-height: 260px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(.98);
  transform-origin: top;
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.cs.cs--open .cs__menu { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.cs.cs--up .cs__menu { top: auto; bottom: calc(100% + 6px); transform-origin: bottom; transform: translateY(6px) scale(.98); }
.cs.cs--up.cs--open .cs__menu { transform: translateY(0) scale(1); }

.cs__opt {
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: background .12s, color .12s;
}
.cs__opt:hover { background: #F4F6F8; }
.cs__opt.is-active { background: #fff4ed; color: var(--green); font-weight: 800; }
.cs__opt.is-disabled { color: #B6BDC6; cursor: not-allowed; }

.cs__opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.cs__opt-text { flex: 1; min-width: 0; }
.cs__opt-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.cs__menu-head {
  padding: 10px 12px 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9CA3AF;
}

.cs-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
  z-index: 20500;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s;
}
.cs-backdrop.is-visible { opacity: 1; visibility: visible; }

/* Bottom-sheet style picker (register city, etc.) */
.cs--sheet .cs__menu {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  top: auto !important;
  z-index: 21000;
  max-height: min(58vh, 420px);
  border-radius: 20px;
  padding: 8px;
  transform: translateY(12px);
  transform-origin: bottom center;
}
.cs--sheet.cs--open .cs__menu {
  transform: translateY(0);
}
.cs--sheet .cs__opt {
  padding: 14px 14px;
  font-size: 15px;
  border-radius: 13px;
}

/* City picker inside auth/register card */
.auth-card .city-picker {
  position: relative;
  overflow: visible;
}
.auth-card .city-picker .cs--bare {
  flex: 1;
  min-width: 0;
}
.auth-card .city-picker .cs--bare .cs__btn {
  padding: 14px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-700);
}
.auth-card .city-picker .cs--open .cs__btn {
  color: var(--green);
}

/* City / location gate — bottom drawer, burgundy shine */
.city-check-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  background: rgba(17, 24, 39, 0.48);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.city-check-card {
  position: relative;
  isolation: isolate;
  width: min(100%, var(--max-width));
  max-height: min(92vh, 720px);
  margin: 0 auto;
  padding: 26px 20px calc(22px + env(safe-area-inset-bottom, 0px));
  text-align: center;
  border-radius: 22px 22px 0 0;
  background:
    radial-gradient(120% 80% at 15% -10%, rgba(129, 1, 0, 0.22) 0%, transparent 55%),
    radial-gradient(90% 70% at 95% 0%, rgba(92, 0, 0, 0.16) 0%, transparent 50%),
    linear-gradient(180deg, var(--paper-bright) 0%, var(--paper) 48%, var(--cream) 100%);
  border: 1.5px solid rgba(129, 1, 0, 0.18);
  border-bottom: 0;
  box-shadow:
    0 -18px 48px rgba(129, 1, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  animation: citySheetUp 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-x: hidden;
  overflow-y: auto;
}

.city-check-card::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 4px;
  border-radius: 999px;
  background: rgba(129, 1, 0, 0.28);
  z-index: 3;
}

.city-check-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.35) 38%, transparent 58%),
    linear-gradient(180deg, rgba(129, 1, 0, 0.08) 0%, transparent 42%);
  mix-blend-mode: soft-light;
  animation: cityShine 3.6s ease-in-out infinite;
  z-index: 1;
}

.city-check-card > * {
  position: relative;
  z-index: 2;
}

@keyframes citySheetUp {
  from { transform: translateY(108%); opacity: 0.85; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes cityShine {
  0%, 100% { opacity: 0.35; transform: translateX(-8%); }
  50% { opacity: 0.7; transform: translateX(8%); }
}

.city-check__detecting { padding: 36px 0 18px; }
.city-check__detecting p,
.city-check__detecting .bz-text-loader-wrap__msg {
  color: var(--ink-soft);
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.city-check__spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(129, 1, 0, 0.14);
  border-top-color: var(--brand);
  border-radius: 50%;
  margin: 0 auto;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.city-check__icon {
  width: 56px;
  height: 56px;
  margin: 8px auto 14px;
  display: grid;
  place-items: center;
  font-size: 26px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(129, 1, 0, 0.28);
}

.city-check__unavailable h2,
.city-check__fallback h2 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand);
  margin: 0 0 8px;
}

.city-check__unavailable > p,
.city-check__fallback > p {
  font-size: 14px;
  color: var(--gray-500);
  margin: 0 0 8px;
  line-height: 1.5;
}

.city-check__cities {
  font-size: 12px;
  color: var(--ink-soft);
  background: var(--brand-soft);
  border: 1px solid rgba(129, 1, 0, 0.12);
  border-radius: 10px;
  padding: 10px 12px;
  margin: 12px 0 20px;
}
.city-check__cities strong { color: var(--brand); }

.city-check__request { text-align: left; }
.city-check__request h3 {
  font-size: 14px;
  font-weight: 750;
  color: var(--ink);
  margin: 0 0 12px;
}

.city-check__form { display: flex; flex-direction: column; gap: 10px; }

.city-check__input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(17, 24, 39, 0.12);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  background: var(--paper-bright);
  color: var(--ink);
  box-sizing: border-box;
}
.city-check__input:focus {
  border-color: var(--brand);
  box-shadow: var(--ui-ring);
}

.city-check__btn {
  width: 100%;
  padding: 13px;
  background: linear-gradient(145deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 750;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(129, 1, 0, 0.28);
}
.city-check__btn:hover { background: var(--brand-deep); }
.city-check__btn:active { transform: scale(0.98); }

.city-check__hint {
  margin: 0 0 12px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.45;
  color: #92400E;
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  border-radius: 10px;
  text-align: left;
}

.city-check__map-wrap {
  margin-top: 14px;
  text-align: left;
}

.city-check__map {
  position: relative;
  width: 100%;
  height: min(42vh, 280px);
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid rgba(129, 1, 0, 0.18);
  background: #E5E7EB;
  z-index: 1;
}

.city-check__map-tip {
  margin: 8px 0 10px;
  font-size: 12px;
  color: var(--ink-soft, #6B7280);
  line-height: 1.4;
}

.city-check__sent {
  background: var(--brand-soft);
  border: 1px solid rgba(129, 1, 0, 0.14);
  border-radius: 10px;
  padding: 16px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--brand-dark);
  line-height: 1.5;
}
.city-check__sent p { margin: 0; }

/* Categories Left Sidebar Layout */
.categories-layout {
  display: flex;
  height: calc(100vh - var(--header-bar-height) - var(--bottom-nav-height) - env(safe-area-inset-bottom, 0px));
  height: calc(100dvh - var(--header-bar-height) - var(--bottom-nav-height) - env(safe-area-inset-bottom, 0px));
  overflow: hidden;
  background: var(--cream);
}
html.flutter-app .categories-layout {
  height: calc(100vh - var(--header-bar-height-flutter) - var(--bottom-nav-height) - env(safe-area-inset-bottom, 0px));
  height: calc(100dvh - var(--header-bar-height-flutter) - var(--bottom-nav-height) - env(safe-area-inset-bottom, 0px));
}
body:has(.categories-layout) {
  overflow: hidden;
}
.app-main:has(.categories-layout) {
  overflow: hidden;
}
.categories-sidebar,
.categories-content {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
}

.categories-sidebar {
  width: 76px;
  flex: 0 0 76px;
  background: var(--cream);
  border-right: 1px solid rgba(129, 1, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  overflow-y: auto;
  scrollbar-width: none;
}
.categories-sidebar::-webkit-scrollbar {
  display: none;
}

.sidebar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  padding: 4px 6px;
  position: relative;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
}

.sidebar-item__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  background: var(--paper);
}
.sidebar-item__icon svg {
  width: 24px;
  height: 24px;
}
.sidebar-item__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-item__label {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-500);
  line-height: 1.25;
  max-width: 68px;
  display: block;
}

.sidebar-item--active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 3.5px;
  background: var(--green);
  border-radius: 0 4px 4px 0;
}

.sidebar-item--active .sidebar-item__label {
  color: var(--green);
  font-weight: 700;
}

.sidebar-item--active .sidebar-item__icon {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(129, 1, 0, 0.15);
  border: 2px solid #fff;
}

.categories-content {
  flex: 1;
  min-width: 0;
  height: 100%;
  overflow-y: auto;
  padding: 16px 8px 24px;
}

.categories-content .content-head {
  padding: 0 4px;
  margin-bottom: 12px;
}

.categories-content .content-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-800);
  margin: 0;
}

.categories-content .chips-scroll--sub {
  margin-bottom: 16px;
  padding: 0 4px 4px;
}

.product-grid--sidebar {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0;
}

.product-list {
  display: flex;
  flex-direction: column;
  padding: 0 4px 16px;
}

.product-grid--sidebar .product-card {
  border-radius: 16px;
}
.product-grid--sidebar .product-card__media {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  background: #f4f5f7;
}
.product-grid--sidebar .product-card__name {
  font-size: 12.5px;
  min-height: calc(1.3em * 2);
}
.product-grid--sidebar .product-card__meta {
  font-size: 10.5px;
}
.product-grid--sidebar .product-card__price {
  font-size: 14px;
}
.product-grid--sidebar .btn-add {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

/* ─────────────────────────────────────────────────────────────
   Desktop / tablet polish — keeps the mobile app frame look,
   but improves the wrapper area on larger screens.
   ───────────────────────────────────────────────────────────── */

@media (min-width: 768px) {
  html, body {
    background:
      radial-gradient(1200px 600px at 50% -10%, rgba(129, 1, 0,0.10), transparent 60%),
      linear-gradient(180deg, #F3F4F6 0%, #E5E7EB 100%);
    background-attachment: fixed;
  }
  body {
    padding: 24px 0;
  }
  .app-frame {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 80px -20px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.04);
  }
  .bottom-nav {
    /* Align grounded nav with the centered app frame */
    left: 0;
    right: 0;
  }
}

@media (min-width: 1024px) {
  body {
    padding: 36px 0;
  }
}

@media (max-width: 430px) {
  .search-bar input,
  .input-wrap input,
  .coupon-form input,
  .city-check__input,
  select,
  textarea {
    font-size: 16px;
  }
}

/* Tap targets — make sure buttons stay comfortably tappable on small phones */
@media (max-width: 360px) {
  .btn-primary { padding: 12px 16px; font-size: 14px; }
  .header__title { font-size: 16px; }
}

/* Better focus visibility for keyboard users (accessibility) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 1px solid #ffffff;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Honour the user's reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── App sidebar (menu drawer) ── */
.app-sidebar-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
  z-index: 20050 !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none !important;
  transition: opacity .25s, visibility .25s;
}

.app-sidebar-overlay.is-open,
.app-sidebar-overlay.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.app-sidebar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: min(285px, 88vw) !important;
  max-width: var(--max-width);
  height: 100% !important;
  height: 100dvh !important;
  background: var(--paper) !important;
  z-index: 20060 !important;
  /* Prefer left slide — more reliable than transform in some WebViews */
  transform: none !important;
  margin-left: -105% !important;
  transition: margin-left .28s cubic-bezier(.4, 0, .2, 1);
  display: flex !important;
  flex-direction: column;
  pointer-events: none;
  visibility: visible;
  box-shadow: none !important;
}

.app-sidebar.is-open,
.app-sidebar.open {
  margin-left: 0 !important;
  pointer-events: auto !important;
}

.app-sidebar__hero {
  background: var(--green);
  color: #fff;
  padding: calc(0px + env(safe-area-inset-top, 0px)) 18px 2px;
  position: relative;
  overflow: hidden;
  border-bottom-right-radius: 28px;
}

/* Soft decorative blobs (single-color, subtle) */
.app-sidebar__blob {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  pointer-events: none;
}
.app-sidebar__blob--a {
  width: 150px; height: 150px;
  top: -55px; right: -35px;
}
.app-sidebar__blob--b {
  width: 90px; height: 90px;
  bottom: -30px; left: 30%;
  background: rgba(255, 255, 255, 0.07);
}

.app-sidebar__close {
  position: absolute;
  top: calc(10px + env(safe-area-inset-top, 0px));
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--paper);
  border: 0;
  color: #111827;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  transition: transform .15s;
}
.app-sidebar__close:hover { background: var(--paper); transform: none; }
.app-sidebar__close:active { transform: scale(.94); }

.app-sidebar__user,
.app-sidebar__guest {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding: 12px 44px 12px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.app-sidebar__avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(255,255,255,.35));
  display: flex;
}
.app-sidebar__avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--green);
}
.app-sidebar__avatar--guest {
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.20);
  color: #fff;
  font-size: 20px;
}

.app-sidebar__user-meta { flex: 1; min-width: 0; }

.app-sidebar__greet {
  display: block;
  font-size: 11px;
  font-weight: 600;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.app-sidebar__user-meta strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-top: 1px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-sidebar__email {
  display: block;
  font-size: 11px;
  opacity: 0.85;
  margin-top: 1px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-sidebar__signin {
  flex-shrink: 0;
  align-self: center;
  background: var(--paper);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 999px;
  transition: transform .15s;
}
.app-sidebar__signin:hover { transform: translateY(-1px); }

.app-sidebar__nav {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0 16px;
  scrollbar-width: none;
}

.app-sidebar__nav::-webkit-scrollbar { display: none; }

.app-sidebar__section-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  padding: 16px 20px 6px;
  margin: 0;
}

.app-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0 10px;
}

.app-sidebar__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 14px;
  color: var(--gray-800);
  font-size: 14px;
  font-weight: 600;
  transition: background .18s, color .18s, transform .12s;
}

.app-sidebar__link:active { transform: scale(.98); }

.app-sidebar__link:hover {
  background: #F4FBF6;
}

.app-sidebar__link--active {
  background: #EAF8F0;
  color: var(--green-dark);
  font-weight: 700;
}

/* Accent bar for the active item */
.app-sidebar__link--active::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 22px;
  border-radius: 4px;
  background: var(--green);
}

.app-sidebar__icon {
  width: 28px;
  height: 28px;
  border-radius: 0;
  background: transparent;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform .18s ease;
}

.app-sidebar__link:hover .app-sidebar__icon { transform: scale(1.06); }

.app-sidebar__link--active .app-sidebar__icon {
  background: transparent;
  color: #111827;
}

.app-sidebar__link span:nth-child(2) { flex: 1; }

.app-sidebar__arrow {
  color: var(--gray-400);
  font-size: 16px;
  transition: transform .18s ease, color .18s ease;
}

.app-sidebar__link:hover .app-sidebar__arrow {
  transform: translateX(3px);
  color: var(--green);
}

.app-sidebar__footer {
  padding: 14px 18px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #F3F4F6;
  text-align: center;
}

.app-sidebar__footer p {
  margin: 0;
  font-size: 11px;
  color: var(--gray-400);
  line-height: 1.5;
}

.app-sidebar__store {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
}

/* ── Legal & support pages ── */
.legal-page {
  padding: 0 20px 32px;
}

.legal-page__updated {
  font-size: 12px;
  color: var(--gray-400);
  margin: 0 0 20px;
}

.legal-section {
  margin-bottom: 22px;
}

.legal-section h2 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-heading);
  margin: 0 0 8px;
}

.legal-section p,
.legal-section li {
  font-size: 14px;
  line-height: 1.65;
  color: var(--gray-500);
  margin: 0;
}

.legal-section ul {
  margin: 0;
  padding-left: 18px;
}

.faq-list {
  padding: 0 20px;
}

.faq-item {
  background: var(--paper);
  border: 1px solid #F3F4F6;
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.faq-item summary {
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-heading);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
  padding: 0 16px 14px;
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--gray-500);
}

.faq-footer {
  text-align: center;
  padding: 8px 20px 32px;
  font-size: 14px;
  color: var(--gray-500);
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 20px 20px;
}

.contact-card {
  background: var(--paper);
  border: 1px solid #F3F4F6;
  border-radius: 16px;
  padding: 14px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.contact-card--static { pointer-events: none; }

.contact-card__icon {
  width: 28px;
  height: 28px;
  border-radius: 0;
  background: transparent;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 10px;
}

.contact-card strong {
  display: block;
  font-size: 12px;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.contact-card span {
  display: block;
  font-size: 11px;
  line-height: 1.45;
  color: var(--gray-500);
  word-break: break-word;
}

.contact-form__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-heading);
  margin: 0 0 4px;
}

.input-wrap--textarea {
  align-items: stretch;
  padding: 12px 14px;
}

.input-wrap--textarea textarea {
  width: 100%;
  border: none;
  background: transparent;
  resize: vertical;
  min-height: 96px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
}

.delete-account__warn {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 20px;
}

.delete-account__warn i {
  color: #DC2626;
  font-size: 20px;
  margin-top: 2px;
}

.delete-account__warn p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #991B1B;
}

.delete-account__form,
.delete-account__login {
  margin-top: 20px;
}

.delete-account__alt {
  text-align: center;
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 20px;
}

/* ── Payment Gateway Modal ── */
.pay-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  z-index: 9990;
  display: block;
}

.pay-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 400px;
  background: var(--paper);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  z-index: 9995;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalSlideUp .3s cubic-bezier(.4, 0, .2, 1);
}

@keyframes modalSlideUp {
  from { transform: translate(-50%, -45%); opacity: 0; }
  to { transform: translate(-50%, -50%); opacity: 1; }
}

.pay-modal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #E5E7EB;
}

.pay-modal__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-800);
}

.pay-modal__close {
  background: none;
  border: none;
  font-size: 18px;
  color: var(--gray-400);
  cursor: pointer;
}

.pay-modal__body {
  padding: 20px;
  overflow-y: auto;
  max-height: 80vh;
}

.pay-modal__method-title {
  margin: 0 0 12px 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--green);
  text-align: center;
}

.pay-modal__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 4px;
}

.pay-modal__btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--green);
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  text-align: center;
  margin-top: 16px;
  transition: background .2s;
  box-sizing: border-box;
}

.pay-modal__btn:hover {
  background: var(--green-dark);
}

.pay-modal__btn--secondary {
  background: #E5E7EB;
  color: var(--gray-800);
  margin-top: 8px;
}

.pay-modal__btn--secondary:hover {
  background: #D1D5DB;
}

/* Spinner */
.pay-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #E5E7EB;
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spinnerSpin .8s linear infinite;
  margin: 0 auto;
}

@keyframes spinnerSpin {
  to { transform: rotate(360deg); }
}

/* Weekly deals theme sync overrides */
.section--weekly-deals {
  --deal-red: var(--green) !important;
  --deal-red-dark: var(--green-dark) !important;
  --deal-red-light: var(--green-light) !important;
  --deal-bg-start: #F8FAFC !important;
  --deal-bg-end: #F8FAFC !important;
  --deal-border: #E2E8F0 !important;
  --deal-shadow: rgba(0, 0, 0, 0.05) !important;
}

.section--weekly-deals .deal-featured__badge {
  color: #ffffff !important;
  background: var(--green) !important;
}

/* ── Age Verification Modal ── */
.age-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  z-index: 9996;
}

.age-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 400px;
  background: var(--paper);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  z-index: 9997;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 24px;
  align-items: center;
  text-align: center;
  animation: modalSlideUp .3s cubic-bezier(.4, 0, .2, 1);
  box-sizing: border-box;
}

.age-modal__icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.age-modal__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-800);
  margin: 0 0 10px 0;
}

.age-modal__text {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.5;
  margin: 0 0 20px 0;
}

.age-modal__actions {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 10px;
}

.age-modal__btn {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all .2s;
  text-align: center;
  box-sizing: border-box;
}

.age-modal__btn--yes {
  background: var(--green);
  color: #fff;
}

.age-modal__btn--yes:hover {
  background: var(--green-dark);
}

.age-modal__btn--no {
  background: #F3F4F6;
  color: var(--gray-800);
}

.age-modal__btn--no:hover {
  background: #E5E7EB;
}

/* ── Website Splash Screen ── */
.app-splash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.app-splash--fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.app-splash__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: splashContentEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes splashContentEntrance {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.app-splash__logo {
  width: 112px;
  height: 112px;
  object-fit: contain;
  margin-bottom: 22px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
}

.app-splash__icon {
  font-size: 64px;
  line-height: 1;
  margin-bottom: 22px;
  animation: pulseLogo 2s infinite ease-in-out;
}

@keyframes pulseLogo {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.app-splash .bz-text-loader-wrap {
  margin-top: 0;
}

/* ═══════════════════════════════════════════════════════════
   MODERN UI POLISH LAYER — additive, visual-only refresh
   ═══════════════════════════════════════════════════════════ */
:root {
  --shadow-soft: 0 2px 8px rgba(17,24,39,.05), 0 10px 26px rgba(17,24,39,.06);
  --shadow-float: 0 14px 34px rgba(129, 1, 0,.16);
  --ui-ring: 0 0 0 4px rgba(129, 1, 0,.16);
  --green-light: #9a3332;
  --green-shadow: rgba(129, 1, 0,.28);
  --green-glow: rgba(129, 1, 0,.55);
}

::selection { background: rgba(129, 1, 0,.22); color: #7c2d12; }

/* ── Primary button: brand orange + lift ── */
.btn-primary {
  background: linear-gradient(135deg, var(--green-light, #9a3332) 0%, var(--green) 46%, var(--green-dark) 100%);
  box-shadow: 0 8px 20px rgba(129, 1, 0,.24);
  position: relative;
  overflow: hidden;
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s, filter .2s;
}
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-20deg); transition: left .6s ease; pointer-events: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(129, 1, 0,.32); }
.btn-primary:hover::after { left: 140%; }
.btn-primary:active { transform: translateY(0) scale(.98); }

.btn-outline { transition: transform .2s, background .2s, box-shadow .2s; }
.btn-outline:hover { background: rgba(129, 1, 0,.08); transform: translateY(-2px); }

/* ── Add-to-cart ── */
.btn-add {
  box-shadow: 0 4px 12px rgba(129, 1, 0, 0.22);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s, background 0.2s;
}
.btn-add:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 18px rgba(129, 1, 0, 0.32);
}
.btn-add--io:hover {
  transform: none;
  box-shadow: none !important;
}
.btn-add:active { transform: scale(0.92); }
.btn-add--io:active { transform: scale(0.98); }

/* ── Product cards: soft lift shadow ── */
.product-card { border: 0; }
.product-card:hover {
  box-shadow:
    0 10px 24px rgba(17, 24, 39, 0.10),
    0 3px 6px rgba(17, 24, 39, 0.05);
}
.product-card__image { transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1); }
.product-card:hover .product-card__image { transform: scale(1.07); }
.product-card__badge {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.14);
}
.product-card__wishlist { transition: transform 0.2s, background 0.2s; }
.product-card__wishlist:hover { transform: scale(1.12); }


/* ── Inputs: soft modern focus ring ── */
.input-wrap { transition: border-color .15s, box-shadow .15s; }
.input-wrap:focus-within { border-color: var(--green); box-shadow: var(--ui-ring); }

/* ── Bottom nav: grounded solid bar (no float / no pill) ── */
.bottom-nav {
  background: #fff;
  border: 0;
  border-top: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 0;
  box-shadow: none;
}
.bottom-nav__icon-wrap {
  transition: color .15s ease;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}
.bottom-nav__item--active .bottom-nav__icon-wrap {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}
.bottom-nav__item--active .bottom-nav__icon-wrap .icon,
.bottom-nav__item--active .bottom-nav__icon-wrap .fi,
.bottom-nav__item--active .bottom-nav__icon-wrap svg {
  color: var(--brand) !important;
}
.bottom-nav__item--active .bottom-nav__label {
  font-weight: 750;
  color: var(--brand);
}

/* Keep active icon optically centered inside the pill */
.bottom-nav__item {
  min-width: 0;
}
.bottom-nav__label {
  width: 100%;
  text-align: center;
}

/* ── Section headings: subtle accent bar ── */
.section-head .section-title::before,
.section > .section-title:first-child::before {
  content: ""; display: inline-block; width: 4px; height: 1em;
  border-radius: 4px; margin-right: 9px; vertical-align: -2px;
  background: linear-gradient(180deg, var(--green-light, #9a3332), var(--green-dark));
}

/* ── Gentle entrance animation for main content blocks ── */
@media (prefers-reduced-motion: no-preference) {
  .app-main .section,
  .checkout-section, .summary-card, .coupon-section,
  .order-card, .auth-card, .success-page, .product-detail {
    animation: uiFadeUp .5s cubic-bezier(.22,1,.36,1) both;
  }
}
@keyframes uiFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* ── Nicer thin scrollbars on desktop ── */
@media (min-width: 431px) {
  .app-main ::-webkit-scrollbar { height: 6px; width: 6px; }
  .app-main ::-webkit-scrollbar-thumb { background: rgba(129, 1, 0,.3); border-radius: 999px; }
}

/* ── Cross-vertical consistency: smooth in-app scroll + accessible keyboard focus.
   Applies uniformly to grocery, cab and home-service pages. ── */
.app-main { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  .app-main { scroll-behavior: auto; }
}
.app-main a:focus-visible,
.app-main button:focus-visible,
.app-main input:focus-visible,
.app-main select:focus-visible,
.app-main textarea:focus-visible,
.bottom-nav__item:focus-visible,
.header__fab:focus-visible,
.header__profile:focus-visible {
  outline: none;
  box-shadow: var(--ui-ring);
}

/* ═══════════════════════════════════════════════════════════
   CREATIVE HEADER REFRESH
   ═══════════════════════════════════════════════════════════ */
/* Flat, single solid colour header (no gradient) */
.header__canvas {
  background: var(--green);
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  box-shadow: none;
}
/* Keep it a single flat colour — no light sweep, glows, mesh, or arc shadow */
.header__canvas::after { display: none; }
.header__glow--a,
.header__glow--b,
.header__mesh,
.header__arc { display: none; }

/* Header menu (burger) — icon only, no white circle */
.header__fab,
.header__fab--wish {
  background: transparent;
  color: #fff;
  border: 0;
  box-shadow: none;
  transition: transform .15s ease, opacity .15s;
}
.header__fab i,
.header__fab .fi { color: #fff; }
.header__fab--wish .icon { color: #fff; }
.header__fab:hover,
.header__fab--wish:hover { background: transparent; transform: none; opacity: 0.9; }
.header__fab:active,
.header__fab--wish:active { transform: scale(.94); }

/* Profile avatar: glowing gradient ring */
.header__profile {
  box-shadow: 0 0 0 2px rgba(255,255,255,.9), 0 0 0 5px rgba(255,255,255,.22), 0 8px 18px rgba(0,0,0,.2);
  transition: transform .18s;
}
.header__profile:hover { transform: translateY(-2px) scale(1.04); }

/* Brand logo: soft glow so it pops on the gradient */
.brand-mark--header img,
.header__brand img { filter: drop-shadow(0 3px 10px rgba(0,0,0,.22)); }
.header__brand-name { letter-spacing: -.01em; }

/* Search bar polish — soft square, brand accent (overrides above when needed) */
.header__search {
  background: #fff !important;
  border-radius: 14px !important;
}
.header__search-icon {
  background: rgba(129, 1, 0, 0.08) !important;
  box-shadow: none !important;
}
.header__search-icon .icon,
.header__search-icon .fi {
  color: var(--brand, #810100) !important;
}
/* Location pin: no chip bg / border (overrides search icon polish) */
.header__search--location .header__search-icon,
.header__search-icon--pin {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
@media (hover: hover) {
  .header__search:hover {
    transform: translateY(-1px);
    border-color: rgba(129, 1, 0, 0.18);
  }
  .header__search:hover .header__search-icon {
    transform: scale(1.05);
  }
  .header__search:hover .header__search-icon .icon {
    transform: rotate(-8deg) scale(1.06);
  }
}
@media (prefers-reduced-motion: reduce) {
  .header__canvas::after, .header__glow--a, .header__glow--b { animation: none; }
  .header__search,
  .header__search-icon,
  .header__search-icon .icon,
  .header__search-rotator > span {
    transition: none !important;
  }
}

/* ── Scroll performance (mobile / Flutter WebView) ── */
html.flutter-app body,
body {
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}
.product-card__badge {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
@media (hover: none) {
  .product-card:hover { box-shadow: none; }
  .home-zone--sheet .product-card:hover { box-shadow: none !important; }
  .product-card:hover .product-card__image { transform: none; }
  .btn-add:hover { transform: none; box-shadow: none; }
  .header__fab:hover,
  .header__fab--wish:hover,
  .header__search:hover,
  .header__profile:hover { transform: none; }
}
html.flutter-app .app-main .section,
html.flutter-app .checkout-section,
html.flutter-app .summary-card,
html.flutter-app .coupon-section,
html.flutter-app .order-card,
html.flutter-app .auth-card,
html.flutter-app .success-page,
html.flutter-app .product-detail {
  animation: none;
}

/* ── Invoice (in-app) ── */
.invoice-page {
  padding: 0 16px 28px;
}

.invoice-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 4px 0 14px;
}

.invoice-toolbar__back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-500);
  text-decoration: none;
}

.invoice-toolbar__print {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  border: none;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
}

.invoice-sheet {
  background: var(--paper);
  border-radius: 18px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  padding: 18px 16px 20px;
}

.invoice-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 3px solid var(--green);
}

.invoice-brand__logo {
  display: block;
  max-height: 52px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.invoice-meta__label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.invoice-meta__id {
  display: block;
  margin: 2px 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: var(--gray-800);
}

.invoice-meta__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.invoice-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #F3F4F6;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-500);
}
.invoice-pill b { color: var(--gray-800); font-weight: 800; }

.invoice-cols {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.invoice-block {
  background: #F9FAFB;
  border-radius: 12px;
  padding: 14px;
  border: 1px solid #F0F0F0;
}
.invoice-block h4 {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.invoice-block strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: 4px;
}
.invoice-block p {
  margin: 0 0 2px;
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.4;
}

.invoice-items-mobile {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.invoice-item {
  border: 1px solid #F0F0F0;
  border-radius: 12px;
  padding: 12px 14px;
  background: #FAFAFA;
}
.invoice-item__name {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--gray-800);
}
.invoice-item__row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 4px;
}
.invoice-item__total {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: 14px;
  color: var(--gray-800);
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px dashed #E5E7EB;
}

.invoice-table-wrap { display: none; overflow-x: auto; }
.invoice-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.invoice-table th {
  text-align: left;
  background: #F9FAFB;
  padding: 10px 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-500);
}
.invoice-table td { padding: 10px 12px; border-bottom: 1px solid #F0F0F0; }
.invoice-table .num { text-align: right; }

.invoice-totals {
  margin-top: 16px;
  background: #F9FAFB;
  border-radius: 12px;
  padding: 14px;
  border: 1px solid #F0F0F0;
}
.invoice-totals__row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 14px;
  color: var(--gray-500);
  font-weight: 600;
}
.invoice-totals__row--discount { color: #5c0000; }
.invoice-totals__row--grand {
  border-top: 2px solid #E5E7EB;
  margin-top: 8px;
  padding-top: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--green);
}

.invoice-foot {
  margin-top: 20px;
  text-align: center;
  color: var(--gray-400);
  font-size: 12px;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .invoice-head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
  .invoice-meta { text-align: right; }
  .invoice-meta__row { justify-content: flex-end; }
  .invoice-cols { flex-direction: row; gap: 14px; }
  .invoice-block { flex: 1; }
  .invoice-table-wrap { display: block; }
  .invoice-items-mobile { display: none; }
  .invoice-totals {
    width: 280px;
    margin-left: auto;
    background: transparent;
    border: none;
    padding: 0;
  }
}

@media print {
  .header,
  .bottom-nav,
  .app-sidebar,
  .app-splash,
  .qty-backdrop,
  .qty-popup,
  .city-check,
  .no-print,
  .invoice-toolbar { display: none !important; }
  .app-frame,
  .app-shell,
  .app-main { max-width: none !important; padding: 0 !important; margin: 0 !important; background: var(--paper) !important; box-shadow: none !important; }
  .invoice-page { padding: 0 !important; }
  .invoice-sheet { border: none !important; border-radius: 0 !important; padding: 12px !important; }
  .invoice-items-mobile { display: none !important; }
  .invoice-table-wrap { display: block !important; }
  .invoice-cols { flex-direction: row !important; }
  .invoice-block { background: transparent !important; border: none !important; padding: 0 !important; }
}

/* ═══════════════════════════════════════════════════════════
   FLAT DESIGN — remove ALL box-shadows & drop-shadows app-wide
   ═══════════════════════════════════════════════════════════ */
*, *::before, *::after { box-shadow: none !important; }
.brand-mark--header img,
.header__brand img { filter: none !important; }

/* Product cards (home/grid): flat — no elevation */
.product-card--home,
.product-card--grid,
.home-zone--sheet .section--products .product-card {
  box-shadow: none !important;
}

/* Search / location pills — inset only (no drop shadow) */
.header__search {
  box-shadow: inset 0 2px 6px rgba(17, 24, 39, 0.08) !important;
}
.header__search:focus-within,
.header__search--live:focus-within,
.header__search.is-opening {
  box-shadow:
    inset 0 2px 8px rgba(17, 24, 39, 0.10),
    inset 0 0 0 2px rgba(129, 1, 0, 0.12) !important;
}
.page-search__shell {
  box-shadow:
    0 6px 18px rgba(17, 24, 39, 0.10),
    0 1px 4px rgba(129, 1, 0, 0.06) !important;
}
.page-search__shell:focus-within {
  box-shadow:
    0 10px 24px rgba(17, 24, 39, 0.12),
    0 0 0 3px rgba(129, 1, 0, 0.12) !important;
}
.search-float .page-search__shell {
  box-shadow:
    0 8px 20px rgba(17, 24, 39, 0.12),
    0 2px 6px rgba(129, 1, 0, 0.08) !important;
}

/* ── Home only: #EDEBDE hero through categories; white sheet below ── */
.app-main:has(> .home-zone--cream) {
  background: var(--home-hero, #EDEBDE);
  overflow-x: clip;
}
.home-zone--cream {
  background: var(--home-hero, #EDEBDE);
  padding-bottom: 22px;
  position: relative;
  z-index: 0;
}
.home-zone--cream .section--categories {
  margin-bottom: 0;
  padding-bottom: 2px;
}
.home-zone--cream .category-item__icon {
  background: rgba(255, 255, 255, 0.55) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 0 !important;
  box-shadow: none !important;
}
.home-zone--cream .category-item__icon::before,
.home-zone--cream .category-item__icon::after {
  display: none !important;
  content: none !important;
}
.home-zone--sheet {
  --sheet-radius: 28px;
  background: #fff;
  border-radius: var(--sheet-radius) var(--sheet-radius) 0 0;
  margin-top: -16px;
  padding: 22px 0 calc(16px + env(safe-area-inset-bottom, 0px));
  box-shadow: none !important;
  border: 0;
  border-top: 1px solid rgba(17, 24, 39, 0.04);
  min-height: 45vh;
  position: relative;
  z-index: 2;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  /* Keep cream visible in the rounded corner notches */
  isolation: isolate;
}
.home-zone--sheet::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 4px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.12);
  z-index: 3;
  pointer-events: none;
}
.home-zone--sheet .section:first-child {
  margin-top: 0;
  padding-top: 8px;
}

/* Search pill under Popular Items title */
.section--products .section--home-search {
  margin: 0 0 14px;
  padding: 0 16px;
}
.section--home-search {
  margin: 0 0 10px;
  padding: 4px 16px 6px;
}
.section--home-search .home-sheet-search {
  width: 100%;
  margin: 0;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: inset 0 2px 6px rgba(17, 24, 39, 0.08) !important;
}
.header__search--location {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
}
.header__loc-change {
  flex-shrink: 0;
  margin-left: 6px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: rgba(129, 1, 0, 0.08);
  color: var(--brand, #810100);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.header__loc-change:hover,
.header__loc-change:focus-visible {
  background: rgba(129, 1, 0, 0.14);
  outline: none;
}
.header__loc-change .fi {
  font-size: 15px;
  line-height: 1;
}

/* Home Popular Items — reference product cards in 2-col grid */
.home-zone--sheet .section--products {
  width: 100%;
  overflow: hidden;
}
.home-zone--sheet .section--products .product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 12px;
  padding: 0 16px 12px;
  width: 100%;
  box-sizing: border-box;
  align-items: stretch;
}
.home-zone--sheet .section--products .product-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 100%;
  padding: 10px;
  background: #fff !important;
  border: 0 !important;
  border-radius: 16px;
  overflow: visible;
  position: relative;
  isolation: isolate;
  box-shadow: none !important;
  box-sizing: border-box;
}
.home-zone--sheet .section--products .product-card::before,
.home-zone--sheet .section--products .product-card::after {
  display: none !important;
  content: none !important;
}
.home-zone--sheet .section--products .product-card__media {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: #f4f5f7;
  box-shadow: none !important;
  border: 0 !important;
  box-sizing: border-box;
}
.home-zone--sheet .section--products .product-card__media-link {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  box-sizing: border-box;
  background: transparent !important;
}
.home-zone--sheet .section--products .product-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
}
.home-zone--sheet .section--products .product-card__ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #f4f5f7 !important;
  color: #9ca3af !important;
  box-shadow: none !important;
}
.home-zone--sheet .section--products .product-card__ph .fi {
  display: inline-flex !important;
  font-size: clamp(22px, 8vw, 30px);
  line-height: 1;
  opacity: 0.7;
}
.home-zone--sheet .section--products .product-card--no-img .product-card__media {
  background: #f4f5f7 !important;
}
.home-zone--sheet .section--products .product-card--no-img .product-card__media-link {
  padding: 0;
}
.home-zone--sheet .section--products .product-card__body {
  padding: 10px 2px 2px;
  width: 100%;
  min-width: 0;
  background: transparent !important;
}
.home-zone--sheet .section--products .product-card__name {
  font-size: 13.5px;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-width: 0;
  min-height: calc(1.3em * 2);
}
.home-zone--sheet .section--products .product-card__name-btn {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}
.home-zone--sheet .section--products .product-card__footer {
  padding-top: 8px;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}
.home-zone--sheet .section--products .product-card__price {
  font-size: 14px;
}
.home-zone--sheet .section--products .product-card__add .btn-add--io {
  height: 32px;
  min-height: 32px;
  min-width: 72px;
  max-width: 96px;
  padding: 0 30px 0 10px;
  font-size: 11px;
}
.home-zone--sheet .bundles-day-box .bundle-row::before,
.home-zone--sheet .bundles-day-box .bundle-row::after {
  display: none !important;
  content: none !important;
}

/* ── Home: Cab + Home Services twin tiles ── */
/* Service-landing header (shown when delivery is off for the area) */
.home-landing-head {
  margin: 8px 16px 14px;
}
.home-landing-head__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 850;
  letter-spacing: -0.02em;
  color: var(--ink, #111827);
  line-height: 1.15;
}
.home-landing-head__sub {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: #6b7280;
}
.home-landing-empty {
  margin: 48px 24px;
  padding: 36px 22px;
  text-align: center;
  border-radius: 24px;
  background: linear-gradient(165deg, #fff 0%, #f8fafc 100%);
  border: 1px dashed rgba(17, 24, 39, 0.12);
}
.home-landing-empty__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fef2f2;
  color: var(--brand, #810100);
  font-size: 1.5rem;
}
.home-landing-empty h1 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink, #111827);
}
.home-landing-empty p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #6b7280;
}

.home-verticals {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0 16px 18px;
  position: relative;
  z-index: 1;
}
.home-verticals:has(+ .home-address) {
  margin-bottom: 10px;
}

.home-verticals--duo {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Delivering-to strip under Cab / Services */
.home-address {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 16px 16px;
  padding: 12px 12px 12px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 24, 39, 0.06);
  text-decoration: none;
  color: inherit;
  position: relative;
  z-index: 1;
  transition: background 0.18s ease, transform 0.15s ease;
}
.home-address:active {
  transform: scale(0.99);
  background: rgba(255, 255, 255, 0.9);
}
.home-address__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(129, 1, 0, 0.1);
  color: var(--brand, #810100);
  font-size: 18px;
}
.home-address__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.home-address__eyebrow {
  font-size: 11px;
  font-weight: 650;
  color: #6B7280;
  line-height: 1.2;
}
.home-address__eyebrow strong {
  color: #111827;
  font-weight: 750;
}
.home-address__text {
  font-size: 13.5px;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-address--empty .home-address__text {
  color: #6B7280;
  font-weight: 650;
}
.home-address__action {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  font-weight: 750;
  color: var(--brand, #810100);
  white-space: nowrap;
}
.home-address__action .fi {
  font-size: 14px;
}
@media (max-width: 380px) {
  .home-address { margin-left: 14px; margin-right: 14px; }
}

/* ── Home vertical tiles — distinct creative modern designs ─── */
.home-vert {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-height: 150px;
  padding: 16px 14px 14px;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  isolation: isolate;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.home-vert:active { transform: scale(0.978); }

/* keep the semantic label + icon above decorative pseudos */
.home-vert__title,
.home-vert__sub,
.home-vert__icon,
.home-vert__live,
.home-vert__go { position: relative; z-index: 2; }
.home-vert__shine { display: none; }

.home-vert__icon .fi { display: block; line-height: 1; }

.home-vert__title {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 2px 0 0;
}

.home-vert__sub {
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.3;
  opacity: 0.82;
  max-width: 100%;
}

/* ─── Banner-Promo layout · shared skeleton (real photo bg) ───
   Layout: title top-left · real photo bleeding in on the right ·
   sub below title · white pill CTA bottom-left. Matches the
   promo-banner reference (photo blended into brand-color gradient). */
.home-vert--ride,
.home-vert--hs,
.home-vert--store {
  min-height: 158px;
  padding: 14px 14px 12px;
  justify-content: space-between;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center right;
}

/* Icon no longer needed — the real photo is the visual now */
.home-vert--ride .home-vert__icon,
.home-vert--hs .home-vert__icon,
.home-vert--store .home-vert__icon {
  display: none;
}

/* Live/Home pill badge, top-left */
.home-vert--ride .home-vert__live,
.home-vert--hs .home-vert__live,
.home-vert--store .home-vert__live {
  order: 1;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
}

/* Bold banner-style title */
.home-vert--ride .home-vert__title,
.home-vert--hs .home-vert__title,
.home-vert--store .home-vert__title {
  order: 2;
  z-index: 2;
  font-size: 1.28rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 6px 0 0;
}

/* Subtitle text */
.home-vert--ride .home-vert__sub,
.home-vert--hs .home-vert__sub,
.home-vert--store .home-vert__sub {
  order: 3;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
  margin-top: 4px;
  max-width: 64%;
}

/* White pill CTA — like "Order Now" in the reference */
.home-vert--ride .home-vert__go,
.home-vert--hs .home-vert__go,
.home-vert--store .home-vert__go {
  order: 4;
  position: static;
  z-index: 2;
  margin-top: 10px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 14px;
  width: auto;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.home-vert--ride .home-vert__go .fi,
.home-vert--hs .home-vert__go .fi,
.home-vert--store .home-vert__go .fi { font-size: 11px; }

/* ─── RIDE (Cab / Auto) · real car photo, dark-ember gradient ── */
.home-vert--ride {
  background-image:
    linear-gradient(100deg, rgba(8, 2, 2, 0.95) 0%, rgba(8, 2, 2, 0.86) 34%, rgba(8, 2, 2, 0.38) 60%, rgba(255, 96, 32, 0.10) 100%),
    url("../img/home-verticals/ride.jpg");
  border: 1px solid rgba(255, 120, 60, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 30px rgba(120, 20, 0, 0.35);
}
.home-vert--ride .home-vert__live {
  color: #ff9057;
  background: rgba(255, 96, 32, 0.16);
  border: 1px solid rgba(255, 96, 32, 0.42);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.home-vert--ride .home-vert__live::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: #ff5e1a;
  box-shadow: 0 0 8px #ff5e1a;
  animation: homeVertPulse 1.4s ease-in-out infinite;
}
.home-vert--ride .home-vert__live .fi { display: none; }
.home-vert--ride .home-vert__title {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}
.home-vert--ride .home-vert__sub {
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}
.home-vert--ride .home-vert__go {
  color: #1a0505;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 6px 16px rgba(0, 0, 0, 0.4);
}
.home-vert--ride .home-vert__go::before { content: "Order Now"; }
.home-vert--ride:hover .home-vert__go,
.home-vert--ride:focus-visible .home-vert__go,
.home-vert--ride:active .home-vert__go {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 #fff,
    0 8px 20px rgba(0, 0, 0, 0.5);
}

/* ─── HS (Services) · real cleaning photo, crimson gradient ──── */
.home-vert--hs {
  background-image:
    linear-gradient(100deg, rgba(90, 6, 6, 0.95) 0%, rgba(90, 6, 6, 0.86) 34%, rgba(90, 6, 6, 0.38) 60%, rgba(255, 90, 90, 0.08) 100%),
    url("../img/home-verticals/services.jpg");
  border: 1px solid rgba(255, 200, 200, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 14px 30px rgba(129, 1, 0, 0.35);
}
.home-vert--hs .home-vert__live {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.34);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.home-vert--hs .home-vert__live .fi { font-size: 10px; color: #ffe4b8; }
.home-vert--hs .home-vert__title {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.home-vert--hs .home-vert__sub {
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}
.home-vert--hs .home-vert__go {
  color: #7a0a0a;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 6px 16px rgba(0, 0, 0, 0.28);
}
.home-vert--hs .home-vert__go::before { content: "Book Now"; }
.home-vert--hs:hover .home-vert__go,
.home-vert--hs:focus-visible .home-vert__go,
.home-vert--hs:active .home-vert__go {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 #fff,
    0 8px 18px rgba(0, 0, 0, 0.32);
}

@keyframes homeVertNeon {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
@keyframes homeVertPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.35); }
}
@keyframes homeVertFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(6px, -6px); }
}

/* Solo ride tile stretches full width when HS off */
.home-verticals:not(.home-verticals--duo) .home-vert {
  min-height: 110px;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  gap: 10px 12px;
  padding: 14px;
}

.home-verticals:not(.home-verticals--duo) .home-vert__title {
  font-size: 1.15rem;
  flex: 1;
}

.home-verticals:not(.home-verticals--duo) .home-vert__sub {
  width: 100%;
  padding-left: 56px;
  margin-top: -4px;
}

.home-verticals:not(.home-verticals--duo) .home-vert__go {
  position: static;
  margin-left: auto;
}

/* Store home — mobile production polish */
@media (max-width: 430px) {
  .home-verticals {
    margin-left: 14px;
    margin-right: 14px;
    margin-bottom: 16px;
  }
  .home-verticals--duo .home-vert {
    min-height: 148px;
  }
  .home-verticals--duo .home-vert--ride,
  .home-verticals--duo .home-vert--hs,
  .home-verticals--duo .home-vert--store {
    padding: 12px 12px 10px;
  }
  .home-verticals--duo .home-vert__title {
    font-size: 1.05rem;
    max-width: 68%;
  }
  .home-verticals--duo .home-vert__sub {
    font-size: 0.66rem;
    line-height: 1.25;
    max-width: 70%;
  }
  .home-verticals--duo .home-vert__go {
    height: 26px;
    padding: 0 10px;
    font-size: 9.5px;
  }
  .section {
    margin-bottom: 18px;
  }
  .section-head {
    padding: 0 14px;
    margin-bottom: 12px;
  }
  .categories-scroll {
    gap: 12px;
    padding: 0 14px 2px;
  }
  .category-item {
    min-width: 64px;
    gap: 6px;
  }
  .category-item__icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
  }
  .category-item__label {
    font-size: 11px;
    text-align: center;
    max-width: 72px;
    line-height: 1.25;
  }
  .banner {
    margin: 0 14px;
    height: 148px;
    border-radius: 20px;
  }
  .banners-scroll {
    padding: 0 14px;
    gap: 12px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 8px;
    padding: 0 14px 8px;
  }
  .home-zone--cream {
    padding-bottom: 20px;
  }
  .home-zone--sheet {
    --sheet-radius: 24px;
    margin-top: -14px;
    padding-top: 20px;
  }
  .home-zone--sheet .section--products .product-grid {
    gap: 12px 8px;
    padding: 0 14px 12px;
  }
  .home-zone--sheet .section--products .product-card__name {
    font-size: 12.5px;
  }
}

@media (max-width: 360px) {
  .home-verticals--duo {
    gap: 8px;
  }
  .home-verticals--duo .home-vert {
    min-height: 124px;
  }
  .home-verticals--duo .home-vert__title {
    font-size: 0.92rem;
  }
  .home-verticals--duo .home-vert__sub {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

@keyframes homeVertGlow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes homeVertBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@media (prefers-reduced-motion: reduce) {
  .home-vert__shine,
  .home-vert__icon {
    animation: none !important;
  }
}

/* ── Auth screen (Bitazilla phone-first sheet) ─────────────── */
.app-frame--auth-phone {
  --auth-accent: #810100;
  --auth-accent-deep: #6b0a09;
  --auth-accent-hot: #5c0000;
  min-height: 100dvh;
  max-width: 430px;
  margin: 0 auto;
  background: var(--paper);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.auth-main--phone {
  margin-top: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  min-height: 100svh;
}
.bz-auth {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  min-height: 100svh;
  width: 100%;
}
.bz-auth__hero {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  min-height: 260px;
  padding: calc(36px + env(safe-area-inset-top, 0px)) 24px 72px;
  background: linear-gradient(160deg, #810100 0%, #6b0a09 60%, #5c0000 100%);
  overflow: hidden;
  transition: min-height 0.2s ease, padding 0.2s ease;
}
.bz-auth__hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
  will-change: transform, opacity;
  animation: bzAuthBubbleA 12s ease-in-out infinite;
}
.bz-auth__hero::after {
  content: '';
  position: absolute;
  bottom: 60px;
  left: -50px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
  will-change: transform, opacity;
  animation: bzAuthBubbleB 15s ease-in-out infinite;
}

/* Modern soft floating bubbles — drift + gentle scale + subtle opacity */
@keyframes bzAuthBubbleA {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
  50%      { transform: translate(-22px, 26px) scale(1.12); opacity: 0.82; }
}
@keyframes bzAuthBubbleB {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
  50%      { transform: translate(26px, -22px) scale(1.15); opacity: 0.82; }
}
.bz-auth__logo-mark {
  position: relative;
  z-index: 1;
  width: auto;
  height: auto;
  margin: 0 auto 8px;
  padding: 0;
  border-radius: 0;
  background: none;
  border: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  box-shadow: none;
}
.brand-mark--bz-auth,
.brand-mark--bz-auth .brand-mark__img,
.brand-mark--bz-auth .brand-mark__icon {
  width: 96px;
  height: 96px;
  margin: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
}
.brand-mark--bz-auth .brand-mark__icon {
  background: transparent;
  color: #fff;
  font-size: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bz-auth__brand {
  display: none;
}
.bz-auth__tagline {
  position: relative;
  z-index: 1;
  display: block;
  margin: 10px 0 0;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.2px;
  text-align: center;
}
.bz-auth__ticker {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  padding: 0 8px;
  box-sizing: border-box;
}
.bz-auth__ticker-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  max-width: 280px;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}
.bz-auth__ticker-label {
  margin: 0;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
  line-height: 1;
}
.bz-auth__ticker-sep {
  display: none;
}
.bz-auth__ticker-words {
  overflow: hidden;
  position: relative;
  height: 28px;
  width: 100%;
  max-width: 12em;
  padding: 0;
  background: none;
  border: 0;
  text-align: center;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 18%,
    #000 82%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 18%,
    #000 82%,
    transparent 100%
  );
}
.bz-auth__ticker-word {
  display: block;
  height: 28px;
  line-height: 28px;
  padding: 0;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-align: center;
  animation: bzTickerSpin 5.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes bzTickerSpin {
  0%, 8% { transform: translateY(0); }
  18%, 30% { transform: translateY(-100%); }
  40%, 52% { transform: translateY(-200%); }
  62%, 74% { transform: translateY(-300%); }
  84%, 100% { transform: translateY(-400%); }
}
@media (prefers-reduced-motion: reduce) {
  .bz-auth__ticker-word { animation: none; }
}
.bz-auth__sheet {
  position: relative;
  z-index: 10;
  flex: 0 0 auto;
  margin-top: -52px;
  background: var(--paper);
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.08);
  padding: 28px 22px calc(28px + env(safe-area-inset-bottom, 0px));
  scroll-margin-bottom: 24px;
}
.bz-auth__handle {
  width: 40px;
  height: 4px;
  margin: 0 auto 20px;
  border-radius: 99px;
  background: #e5e7eb;
}
@media (min-width: 400px) {
  .bz-auth__ticker-loader {
    flex-direction: row;
    gap: 10px;
    max-width: none;
    width: auto;
  }
  .bz-auth__ticker-sep {
    display: block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
  }
  .bz-auth__ticker-words {
    width: 8.5em;
    text-align: left;
  }
  .bz-auth__ticker-word { text-align: left; }
}
.bz-auth__title {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}
.bz-auth__sub {
  margin: 0 0 24px;
  font-size: 13.5px;
  color: #6b7280;
  line-height: 1.5;
}
.bz-auth__label {
  display: block;
  margin: 0 0 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #374151;
}
.bz-auth__tel {
  display: flex;
  align-items: center;
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  background: #fafafa;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.bz-auth__tel:focus-within {
  border-color: var(--auth-accent, #810100);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(129, 1, 0, 0.12);
}
.bz-auth__cc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 14px 14px 16px;
  font-size: 15px;
  font-weight: 600;
  color: #374151;
  border-right: 1.5px solid #e5e7eb;
  white-space: nowrap;
  user-select: none;
}
.bz-auth__flag { font-size: 18px; line-height: 1; }
.bz-auth__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: none;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 500;
  color: #111827;
  letter-spacing: 0.3px;
  font-family: inherit;
}
.bz-auth__input::placeholder { color: #d1d5db; font-weight: 400; }
.bz-auth__input--solo {
  width: 100%;
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  background: #fafafa;
  margin-bottom: 12px;
}
.bz-auth__input--solo:focus {
  border-color: var(--auth-accent, #810100);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(129, 1, 0, 0.12);
}
.bz-auth__otp {
  width: 100%;
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  background: #fafafa;
  padding: 16px;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.35em;
  text-align: center;
  outline: none;
  font-family: inherit;
  margin-bottom: 4px;
}
.bz-auth__otp:focus {
  border-color: var(--auth-accent, #810100);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(129, 1, 0, 0.12);
}
.bz-auth__cta {
  width: 100%;
  margin-top: 20px;
  min-height: 54px;
  padding: 16px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  font-family: inherit;
  background: linear-gradient(135deg, #810100, #6b0a09);
  box-shadow: 0 6px 20px rgba(129, 1, 0, 0.38);
  transition: opacity .2s, transform .1s;
}
.bz-auth__cta:hover { opacity: 0.93; }
.bz-auth__cta:active { transform: scale(0.98); }
.bz-auth__cta--dark {
  background: #111827;
  box-shadow: none;
}

/* Uiverse-style CTA — brand red (no orange on press/hover) */
.bz-auth__cta--io {
  --cta-accent: var(--brand, #810100);
  --cta-accent-deep: var(--brand-dark, #5c0000);
  --cta-accent-ink: var(--brand-deep, #3d0000);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 100%;
  min-height: 58px;
  height: 3.65em;
  margin-top: 22px;
  padding: 0.4em 3.8em 0.4em 1.35em;
  border: none;
  border-radius: 1em;
  background: var(--cta-accent);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: inset 0 0 1.6em -0.55em var(--cta-accent-ink);
  overflow: hidden;
  position: relative;
  opacity: 1;
  transform: none;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s ease, opacity 0.2s ease;
}
.bz-auth__cta--io:hover,
.bz-auth__cta--io:focus,
.bz-auth__cta--io:focus-visible,
.bz-auth__cta--io:active {
  opacity: 1;
  background: var(--cta-accent);
  color: #fff;
  outline: none;
}
.bz-auth__cta--io:active {
  transform: none;
  background: var(--cta-accent-deep);
}
.bz-auth__cta--io .bz-auth__cta-icon {
  position: absolute;
  right: 0.35em;
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(100% - 0.7em);
  width: 2.75em;
  margin-left: 1em;
  border-radius: 0.8em;
  background: #fff;
  color: var(--cta-accent);
  box-shadow: 0.08em 0.08em 0.5em 0.12em rgba(61, 0, 0, 0.22);
  transition: width 0.3s ease;
}
.bz-auth__cta--io .bz-auth__cta-icon svg {
  width: 1.2em;
  height: 1.2em;
  flex-shrink: 0;
  color: var(--cta-accent);
  transition: transform 0.3s ease;
}
.bz-auth__cta--io:active .bz-auth__cta-icon {
  transform: scale(0.96);
}
@media (hover: hover) and (pointer: fine) {
  .bz-auth__cta--io:hover {
    background: var(--cta-accent-deep);
  }
  .bz-auth__cta--io:hover .bz-auth__cta-icon {
    width: calc(100% - 0.7em);
  }
  .bz-auth__cta--io:hover .bz-auth__cta-icon svg {
    transform: translateX(0.1em);
  }
}
@media (max-width: 380px) {
  .bz-auth__cta--io {
    font-size: 16px;
    min-height: 54px;
    height: 3.45em;
    padding-left: 1.2em;
    padding-right: 3.5em;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bz-auth__cta--io .bz-auth__cta-icon,
  .bz-auth__cta--io .bz-auth__cta-icon svg {
    transition: none;
  }
  .bz-auth__cta--io:hover .bz-auth__cta-icon {
    width: 2.75em;
  }
}

/* Keyboard open: compress hero so the sheet stays usable */
html.keyboard-open .app-frame--auth-phone,
html.keyboard-open .auth-main--phone,
html.keyboard-open .bz-auth {
  min-height: 100%;
  height: auto;
}
html.keyboard-open .bz-auth__hero {
  flex: 0 0 auto;
  min-height: 0;
  justify-content: flex-end;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 20px 48px;
}
html.keyboard-open .bz-auth__logo-mark {
  width: auto;
  height: auto;
  margin-bottom: 4px;
  border-radius: 0;
  background: none;
  border: 0;
}
html.keyboard-open .brand-mark--bz-auth,
html.keyboard-open .brand-mark--bz-auth .brand-mark__img,
html.keyboard-open .brand-mark--bz-auth .brand-mark__icon {
  width: 56px;
  height: 56px;
  border-radius: 0;
}
html.keyboard-open .bz-auth__brand,
html.keyboard-open .bz-auth__ticker {
  display: none;
}
html.keyboard-open .bz-auth__tagline {
  display: block;
  font-size: 12px;
  margin-top: 6px;
}
html.keyboard-open .bz-auth__sheet {
  margin-top: -36px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}
.bz-auth__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
}
.bz-auth__divider::before,
.bz-auth__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #f0f0f0;
}
.bz-auth__divider span {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 500;
}
.bz-auth__email-icon {
  width: 16px;
  height: 16px;
}
.bz-auth__alt-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.bz-auth__alt-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1.5px solid #ececec;
  border-radius: 14px;
  color: #374151;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  background: var(--paper);
}
.bz-auth__alt-link:active {
  border-color: #fdc4a8;
  color: #810100;
}
.bz-auth__pass-block {
  margin: 4px 0 14px;
  padding: 12px 0 0;
  border-top: 1px solid #f3f4f6;
}
.bz-auth__pass-toggle {
  font-size: 13.5px;
  font-weight: 650;
  color: #374151;
}
.bz-auth__pass-toggle .bz-switch__track {
  /* OFF state already theme-tinted via bz-switch.css --green */
  flex-shrink: 0;
}
.bz-auth__pass-fields {
  margin-top: 12px;
}
.bz-auth__terms {
  margin: 20px 0 0;
  font-size: 11.5px;
  color: #9ca3af;
  text-align: center;
  line-height: 1.6;
}
.bz-auth__terms a {
  color: var(--auth-accent, #810100);
  text-decoration: none;
  font-weight: 500;
}
.bz-auth__actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
}
.bz-auth__textbtn {
  background: none;
  border: 0;
  padding: 0;
  color: var(--auth-accent, #810100);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
}
.bz-auth__legacy {
  margin-top: 14px;
}
.bz-auth__legacy summary {
  cursor: pointer;
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}
.bz-auth .flash { margin: 0 0 16px; }

.bz-auth--compact .bz-auth__hero {
  min-height: 0;
  flex: 0 0 auto;
  padding: calc(22px + env(safe-area-inset-top, 0px)) 24px 48px;
}
.bz-auth--compact .bz-auth__logo-mark {
  width: auto;
  height: auto;
  margin-bottom: 0;
  border-radius: 0;
  background: none;
  border: 0;
}
.bz-auth--compact .brand-mark--bz-auth,
.bz-auth--compact .brand-mark--bz-auth .brand-mark__img,
.bz-auth--compact .brand-mark--bz-auth .brand-mark__icon {
  width: 72px;
  height: 72px;
  border-radius: 0;
}
.bz-auth--compact .bz-auth__brand {
  display: none;
}
.bz-auth--compact .bz-auth__sheet {
  padding-top: 28px;
}
.bz-auth--compact .bz-auth__ticker {
  display: none;
}

.bz-auth__alert {
  margin: 0 0 16px;
  padding: 0 0 12px;
  border: 0;
  border-bottom: 1px solid #f3f4f6;
  background: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: #b91c1c;
}
.bz-auth__alert--error {
  background: none;
  border-color: #f3f4f6;
  color: #b91c1c;
}
.bz-auth__phone-strong {
  color: #111827;
  font-weight: 700;
}
.bz-auth__cta:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}
.bz-auth__cta.is-loading:disabled,
.bz-auth__cta--io.is-loading:disabled {
  opacity: 1;
  cursor: wait;
}
.bz-auth__textbtn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.bz-auth__textbtn--muted { color: #6b7280; }

/* Auth button loaders */
.bz-btn__label { position: relative; z-index: 1; }
.bz-btn__spinner {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.25em;
  height: 1.25em;
  margin: -0.625em 0 0 -0.625em;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 2;
}
.bz-auth__cta,
.bz-auth__cta--io,
.bz-otp__resend-btn {
  position: relative;
}
.bz-auth__cta.is-loading .bz-btn__label,
.bz-auth__cta--io.is-loading .bz-btn__label,
.bz-otp__resend-btn.is-loading .bz-btn__label {
  opacity: 0;
}
.bz-auth__cta.is-loading .bz-auth__cta-icon,
.bz-auth__cta--io.is-loading .bz-auth__cta-icon {
  opacity: 0;
  visibility: hidden;
}
.bz-auth__cta.is-loading .bz-btn__spinner,
.bz-auth__cta--io.is-loading .bz-btn__spinner,
.bz-otp__resend-btn.is-loading .bz-btn__spinner {
  opacity: 1;
  visibility: visible;
  animation: bzBtnSpin 0.7s linear infinite;
}
.bz-otp__resend-btn .bz-btn__spinner {
  border-color: rgba(129, 1, 0, 0.25);
  border-top-color: #810100;
}
@keyframes bzBtnSpin {
  to { transform: rotate(360deg); }
}

/* OTP verification — mobile-first full-sheet layout */
.bz-auth--otp {
  background: var(--paper);
  min-height: 100dvh;
  min-height: 100svh;
}
.bz-auth--otp .bz-auth__sheet {
  flex: 1 1 auto;
  margin-top: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 20px 20px calc(20px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.bz-auth--otp .bz-auth__handle { display: none; }
.bz-auth--otp,
.bz-auth--otp * {
  -webkit-tap-highlight-color: transparent;
}
.bz-otp__box::selection { background: transparent; color: inherit; }
.bz-otp__box::-moz-selection { background: transparent; color: inherit; }
.bz-auth__topbar {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 8px;
  padding: calc(8px + env(safe-area-inset-top, 0px)) 12px 10px;
  background: var(--paper);
  border-bottom: 1px solid #f3f4f6;
  position: sticky;
  top: 0;
  z-index: 20;
}
.bz-auth__back {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  text-decoration: none;
  background: #f3f4f6;
}
.bz-auth__back:active { background: #e5e7eb; }
.bz-auth__topbar-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 0;
}
.bz-auth__topbar-brand span {
  display: none;
}
.brand-mark--bz-auth-mini,
.brand-mark--bz-auth-mini .brand-mark__img,
.brand-mark--bz-auth-mini .brand-mark__icon {
  width: 36px;
  height: 36px;
  margin: 0;
  border-radius: 0;
  flex-shrink: 0;
  object-fit: contain;
  background: transparent;
}
.brand-mark--bz-auth-mini .brand-mark__icon {
  background: transparent;
  color: #810100;
  font-size: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bz-auth__topbar-spacer { width: 44px; height: 44px; }

.bz-otp {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}
.bz-otp__head { margin: 4px 0 8px; }
.bz-otp__status {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: none;
  color: #059669;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  transition: opacity .35s ease;
}
.bz-otp__status.is-fade,
.bz-otp__error.is-fade { opacity: 0; }
.bz-otp__error {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: none;
  color: #dc2626;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
}
.bz-otp__title {
  margin: 0 0 6px;
  font-size: clamp(1.35rem, 5vw, 1.55rem);
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.bz-otp__sub {
  margin: 0 0 10px;
  font-size: 0.92rem;
  color: #6b7280;
  line-height: 1.4;
}
.bz-otp__target {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid #f0f0f0;
  border-radius: 14px;
  background: #fafafa;
  font-size: 0.95rem;
  color: #111827;
}
.bz-otp__target strong,
.bz-otp__email-strong {
  font-weight: 800;
  word-break: break-word;
  min-width: 0;
}
.bz-otp__edit {
  color: #810100;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.88rem;
  flex-shrink: 0;
  padding: 6px 0;
}
.bz-otp__form { width: 100%; }
.bz-otp__boxes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin: 0 0 20px;
}
.bz-otp__boxes--6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}
.bz-otp__box {
  width: 100%;
  height: 56px;
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  background: var(--paper);
  text-align: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: #111827;
  outline: none;
  font-family: inherit;
  padding: 0;
  caret-color: #810100;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
}
.bz-otp__boxes--6 .bz-otp__box {
  height: 48px;
  font-size: 1.15rem;
  border-radius: 12px;
}
.bz-otp__box:focus {
  border-color: #810100;
  background: #fff7f3;
  box-shadow: none;
}
.bz-otp__box.is-filled {
  border-color: #111827;
  background: var(--paper);
}
.bz-otp__boxes.is-invalid .bz-otp__box {
  border-color: #fca5a5;
  background: #fffafa;
}
.bz-otp__cta {
  margin-top: 0;
  width: 100%;
  min-height: 56px;
}
.bz-otp__foot {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bz-otp__resend-form {
  display: block;
  margin: 0;
  width: 100%;
}
.bz-otp__resend-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  border: 1.5px solid #810100;
  border-radius: 14px;
  background: var(--paper);
  padding: 12px 16px;
  color: #810100;
  font-size: 0.95rem;
  font-weight: 750;
  cursor: pointer;
  font-family: inherit;
  position: relative;
}
.bz-otp__resend-btn:disabled {
  color: #9ca3af;
  border-color: #e5e7eb;
  background: #f9fafb;
  cursor: not-allowed;
}
.bz-otp__resend-btn.is-loading {
  border-color: #810100;
  background: #fff7f3;
}
.bz-otp__alt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.bz-otp__alt-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 12px;
  background: #f3f4f6;
  color: #374151;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}
.bz-otp__alt-link:active { background: #e5e7eb; }

@media (max-width: 380px) {
  .bz-otp__box { height: 50px; font-size: 1.25rem; }
  .bz-otp__boxes--6 .bz-otp__box { height: 42px; font-size: 1rem; gap: 5px; }
  .bz-otp__boxes { gap: 8px; }
  /* Keep Email OTP + Password side-by-side even on tiny mobile screens */
  .bz-auth__alt-row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .bz-auth__alt-link {
    padding: 10px 8px;
    font-size: 12.5px;
    min-height: 44px;
    gap: 5px;
  }
  .bz-auth__ticker-label { font-size: 10px; letter-spacing: 0.16em; }
  .bz-auth__ticker-words { height: 26px; }
  .bz-auth__ticker-word { height: 26px; line-height: 26px; font-size: 15px; }
  .bz-auth__hero { min-height: 220px; padding-bottom: 64px; }
  .bz-auth__sheet { margin-top: -48px; padding-left: 18px; padding-right: 18px; }
  .bz-auth--otp .bz-auth__sheet { padding-left: 16px; padding-right: 16px; }
}

.bz-auth__steps {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
}
.bz-auth__step {
  color: #9ca3af;
}
.bz-auth__step.is-done { color: #810100; }
.bz-auth__step.is-active { color: #111827; }
.bz-auth__step-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, #810100, #e5e7eb);
  border-radius: 99px;
}
.bz-auth__verified {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #F3E8E6;
  color: #047857;
  font-size: 12.5px;
  font-weight: 700;
}
.bz-auth__verified-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #10B981;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
}
.bz-auth__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.bz-auth__field { margin-bottom: 2px; }
.bz-auth__field .bz-auth__input--solo { margin-bottom: 12px; }
.bz-auth__textarea {
  width: 100%;
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  background: #fafafa;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  resize: vertical;
  min-height: 68px;
  margin-bottom: 10px;
  outline: none;
  color: #111827;
}
.bz-auth__textarea:focus {
  border-color: #810100;
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(129, 1, 0, 0.12);
}
.bz-auth__loc-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.bz-auth__chip {
  flex: 1;
  border: 1.5px solid rgba(129, 1, 0, 0.35);
  background: #fff5f0;
  color: #c2410c;
  border-radius: 12px;
  padding: 11px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.bz-auth__chip--ghost {
  background: var(--paper);
  border-color: #e5e7eb;
  color: #44403C;
}
.bz-auth__loc-status {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
}
.bz-auth__loc-status.is-ok { color: #047857; }
.bz-auth__map-block {
  margin-bottom: 8px;
}
.bz-auth__map-wrap {
  position: relative;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid #e5e7eb;
  background: #e5e7eb;
  isolation: isolate;
}
.bz-auth__map-wrap .bz-auth__map,
.bz-auth__map {
  position: absolute !important;
  inset: 0;
  height: 100% !important;
  min-height: 220px;
  width: 100% !important;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  z-index: 1;
}
/* Map / Clean / Satellite + locate overlay on the map */
.bz-auth__map-wrap > .rm-chrome {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 10px;
  z-index: 1200;
}
.bz-auth__map-wrap .leaflet-container {
  width: 100% !important;
  height: 100% !important;
  z-index: 1;
}
.bz-auth__map-hint {
  margin: 8px 0 0;
  font-size: 0.78rem;
  color: #A8A29E;
  text-align: center;
  background: transparent;
}
.bz-auth--profile .bz-auth__cta { margin-top: 14px; }

.app-frame--auth-phone:has(.bz-auth--otp) {
  max-width: 100%;
  overflow: visible;
}

