/* ============================================================================
   BEGGY — ORDER IT. TRACK IT. IT NEVER COMES.
   Phone-first, Beggy-styled design with brutalist punchlines.
   ============================================================================ */

:root, [data-theme="light"] {
  /* Light Theme (Default) */
  --bg-dark: #F6F8FA;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F1F5F9;
  --bg-elevated: #FFFFFF;
  --border-color: rgba(0, 0, 0, 0.08);
  --border-bright: rgba(0, 0, 0, 0.16);

  --beggy-orange: #FC8019;
  --beggy-orange-glow: rgba(252, 128, 25, 0.25);
  --beggy-green: #059669;
  --beggy-green-glow: rgba(5, 150, 105, 0.2);
  --beggy-red: #EF4444;

  --text-main: #0F172A;
  --text-sub: #475569;
  --text-muted: #64748B;

  --header-bg: rgba(255, 255, 255, 0.94);
  --input-bg: #FFFFFF;
  --chip-bg: #FFFFFF;
  --card-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  --modal-backdrop: rgba(15, 23, 42, 0.6);

  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

[data-theme="dark"] {
  /* Dark Theme */
  --bg-dark: #07090E;
  --bg-card: #111520;
  --bg-card-hover: #181E2E;
  --bg-elevated: #1F263B;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-bright: rgba(255, 255, 255, 0.16);

  --beggy-orange: #FC8019;
  --beggy-orange-glow: rgba(252, 128, 25, 0.28);
  --beggy-green: #10B981;
  --beggy-green-glow: rgba(16, 185, 129, 0.25);
  --beggy-red: #EF4444;

  --text-main: #F8FAFC;
  --text-sub: #94A3B8;
  --text-muted: #64748B;

  --header-bg: rgba(7, 9, 14, 0.88);
  --input-bg: #111520;
  --chip-bg: rgba(255, 255, 255, 0.04);
  --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --modal-backdrop: rgba(0, 0, 0, 0.8);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body.beggy-body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-family);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
  padding-bottom: 70px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* ====================================================================
   APP HEADER
   ==================================================================== */
.app-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.header-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

.brand-logo-img {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--beggy-orange);
  line-height: 1.1;
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* City Selector Dropdown */
.city-selector-wrap {
  position: relative;
}

.city-selector-btn {
  background: var(--chip-bg);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.city-selector-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-bright);
}

.city-chevron {
  font-size: 0.6rem;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.city-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 240px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  padding: 6px;
  z-index: 1010;
  animation: fadeIn 0.15s ease;
}

.city-option {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: background 0.15s ease;
}

.city-option strong {
  font-size: 0.86rem;
  color: var(--text-main);
}

.city-option span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.city-option:hover {
  background: var(--bg-card-hover);
}

.city-option.active {
  background: rgba(252, 128, 25, 0.14);
  border-left: 3px solid var(--beggy-orange);
}

.city-option.active strong {
  color: var(--beggy-orange);
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-bill-btn {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--beggy-green);
  padding: 7px 12px;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.header-bill-btn:hover {
  background: rgba(16, 185, 129, 0.18);
}

.bill-badge {
  background: var(--beggy-green);
  color: #FFFFFF;
  padding: 1px 6px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 900;
}

.header-theme-btn {
  background: var(--chip-bg);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.header-theme-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-bright);
  transform: scale(1.05);
}

.header-cart-btn {
  background: var(--chip-bg);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
}

.header-cart-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-bright);
}

.cart-count-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--beggy-orange);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 900;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px var(--beggy-orange-glow);
}

/* ====================================================================
   HERO TICKER: Live Meme Ticker + 1 Button
   ==================================================================== */
.hero-ticker-section {
  max-width: 700px;
  margin: 32px auto 20px;
  padding: 0 16px;
  text-align: center;
}

.ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #F87171;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.ticker-dot {
  width: 8px;
  height: 8px;
  background: #EF4444;
  border-radius: 50%;
  animation: pulseDot 1.4s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

.ticker-counter-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.ticker-curr {
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 900;
  color: var(--beggy-green);
  line-height: 1;
}

.ticker-number {
  font-size: clamp(2.8rem, 9vw, 4.4rem);
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 4px 20px rgba(16, 185, 129, 0.2);
}

.ticker-subtitle {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-sub);
  margin-top: 8px;
}

.hero-cta-wrap {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero-craving-btn {
  background: linear-gradient(135deg, #FC8019 0%, #E66A00 100%);
  color: #FFFFFF;
  border: none;
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 800;
  padding: 16px 36px;
  border-radius: var(--radius-xl);
  cursor: pointer;
  box-shadow: 0 10px 28px var(--beggy-orange-glow);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-craving-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(252, 128, 25, 0.45);
}

.hero-craving-btn:active {
  transform: translateY(0);
}

.hero-tiny-truth {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  font-style: italic;
}

/* ====================================================================
   DUEL SCREEN: Full-screen Interstitial for ?c= / Challenge Links
   ==================================================================== */
.duel-screen {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.duel-card {
  max-width: 480px;
  width: 100%;
  background: var(--bg-card);
  border: 1.5px solid rgba(252, 128, 25, 0.4);
  border-radius: var(--radius-xl);
  padding: 36px 24px 30px;
  text-align: center;
  box-shadow: var(--card-shadow);
  animation: popIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .duel-card {
  background: linear-gradient(180deg, #161B29 0%, #0D111A 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(252, 128, 25, 0.15);
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.duel-skull-badge {
  display: inline-block;
  background: rgba(252, 128, 25, 0.18);
  color: var(--beggy-orange);
  border: 1px solid rgba(252, 128, 25, 0.4);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.duel-headline {
  font-size: clamp(1.7rem, 5vw, 2.3rem);
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 8px;
}

.duel-name, .duel-dish {
  color: var(--beggy-orange);
}

.duel-substory {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-sub);
  margin-bottom: 22px;
}

.duel-rupee-box {
  background: var(--bg-card-hover);
  border: 1px dashed rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  margin-bottom: 24px;
}

.duel-rupee-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--beggy-green);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.duel-rupee-amt {
  font-size: 3rem;
  font-weight: 900;
  color: var(--beggy-green);
  line-height: 1;
  letter-spacing: -0.03em;
  text-shadow: 0 4px 16px var(--beggy-green-glow);
}

.duel-rupee-foot {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.duel-taunt {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-sub);
  margin-bottom: 14px;
}

.duel-accept-btn {
  width: 100%;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  border: none;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  cursor: pointer;
  box-shadow: 0 8px 24px var(--beggy-green-glow);
  transition: all 0.2s ease;
}

.duel-accept-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.4);
}

.duel-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 18px;
}

/* Active Duel Strip */
.active-duel-strip {
  position: sticky;
  top: 65px;
  z-index: 990;
  background: rgba(99, 102, 241, 0.12);
  border-bottom: 1px solid rgba(99, 102, 241, 0.3);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.84rem;
  color: #4338CA;
}

[data-theme="dark"] .active-duel-strip {
  background: #1E1B4B;
  border-bottom: 1px solid #4338CA;
  color: #C7D2FE;
}

.active-duel-strip strong {
  color: var(--text-main);
}

[data-theme="dark"] .active-duel-strip strong {
  color: #FFFFFF;
}
  justify-content: center;
  gap: 10px;
  font-size: 0.84rem;
  color: #C7D2FE;
}

.ads-dismiss {
  background: none;
  border: none;
  color: #A5B4FC;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0 6px;
}

/* ====================================================================
   BROWSE SECTION
   ==================================================================== */
.browse-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px;
}

/* Satire Promo Banner */
.satire-promo-banner {
  background: rgba(252, 128, 25, 0.08);
  border: 1px dashed rgba(252, 128, 25, 0.35);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.spb-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.spb-text {
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.4;
}

.spb-text code {
  background: rgba(252, 128, 25, 0.2);
  color: var(--beggy-orange);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 800;
}

/* Search & Filters */
.browse-controls {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.search-input-wrap {
  position: relative;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  color: var(--text-muted);
}

.search-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.92rem;
  padding: 13px 40px 13px 40px;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--beggy-orange);
  box-shadow: 0 0 0 3px var(--beggy-orange-glow);
}

.search-clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
}

.cuisine-chips-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.cuisine-chips-scroll::-webkit-scrollbar {
  display: none;
}

.c-chip {
  background: var(--chip-bg);
  border: 1px solid var(--border-color);
  color: var(--text-sub);
  padding: 8px 16px;
  border-radius: 20px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.c-chip:hover {
  background: var(--bg-card-hover);
  color: var(--text-main);
}

.c-chip.active {
  background: var(--beggy-orange);
  border-color: var(--beggy-orange);
  color: #FFFFFF;
  box-shadow: 0 4px 14px var(--beggy-orange-glow);
}

/* Kitchens Header */
.kitchens-header {
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.kitchens-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.kitchens-count-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-card-hover);
  padding: 2px 8px;
  border-radius: 12px;
}

.kitchens-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Kitchens Grid */
.kitchens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

/* Individual Kitchen Card */
.kitchen-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.kitchen-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-bright);
}

.kc-banner-wrap {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.kc-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.kitchen-card:hover .kc-banner-img {
  transform: scale(1.03);
}

.kc-satire-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(7, 9, 14, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #F8FAFC;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  backdrop-filter: blur(8px);
}

.kc-eta-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.75);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  backdrop-filter: blur(8px);
}

.kc-info {
  padding: 14px;
}

.kc-name-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.kc-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.kc-rating {
  background: #047857;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.kc-cuisines {
  font-size: 0.78rem;
  color: var(--text-sub);
  margin-bottom: 12px;
}

/* Dishes inside kitchen */
.kc-dishes-list {
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kc-dish-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dish-text-col {
  flex: 1;
}

.dish-veg-tag {
  font-size: 0.7rem;
  margin-right: 4px;
}

.dish-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.dish-price {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 2px;
}

.dish-action-col {
  flex-shrink: 0;
}

/* Delivery Style ADD button */
.btn-add-dish {
  background: rgba(252, 128, 25, 0.1);
  border: 1.5px solid var(--beggy-orange);
  color: var(--beggy-orange);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-add-dish:hover {
  background: var(--beggy-orange);
  color: #FFFFFF;
}

/* Quantity Controls in Cart / Dishes */
.qty-stepper {
  display: flex;
  align-items: center;
  background: var(--beggy-orange);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-btn {
  background: none;
  border: none;
  color: #FFFFFF;
  width: 28px;
  height: 28px;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:active {
  background: rgba(0, 0, 0, 0.2);
}

.qty-val {
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0 4px;
  min-width: 18px;
  text-align: center;
}

/* ====================================================================
   GLOBAL FLOATING CART BAR
   ==================================================================== */
.floating-cart-bar {
  position: fixed;
  bottom: 14px;
  left: 16px;
  right: 16px;
  max-width: 500px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--beggy-orange);
  box-shadow: var(--card-shadow);
  border-radius: var(--radius-xl);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 999;
  animation: slideUp 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .floating-cart-bar {
  background: #161B29;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), 0 0 20px var(--beggy-orange-glow);
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.floating-cart-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fc-count {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-sub);
}

.fc-sep {
  color: var(--border-bright);
}

.fc-total {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--text-main);
}

.floating-cart-btn {
  background: var(--beggy-orange);
  color: #FFFFFF;
  border: none;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 9px 18px;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--beggy-orange-glow);
}

/* ====================================================================
   CART DRAWER & PAINFUL MATH
   ==================================================================== */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  background: var(--bg-card);
  z-index: 1050;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .cart-drawer {
  background: var(--bg-dark);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  background: var(--modal-backdrop);
  backdrop-filter: blur(6px);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.cart-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-card);
}

.cart-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-title-row h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
}

.close-cart-btn {
  background: none;
  border: none;
  color: var(--text-sub);
  font-size: 1.5rem;
  cursor: pointer;
}

.cart-location-info {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.cart-items-container {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.ci-info {
  flex: 1;
}

.ci-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.ci-price {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-sub);
  margin-top: 2px;
}

/* Painful Delivery Fees Breakdown */
.cart-bill-details {
  padding: 16px 20px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bill-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--text-sub);
}

.bill-surge {
  color: #F87171;
  font-weight: 700;
}

.bill-grand-total {
  border-top: 1px dashed var(--border-bright);
  padding-top: 8px;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--text-main);
}

.bill-grand-total strong {
  color: var(--beggy-orange);
  font-size: 1.25rem;
}

.bill-pain-warning {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #FCA5A5;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  margin-top: 6px;
  text-align: center;
}

.cart-footer {
  padding: 16px 20px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
}

.checkout-beggy-btn {
  width: 100%;
  background: linear-gradient(135deg, #FC8019 0%, #E66A00 100%);
  color: #FFFFFF;
  border: none;
  font-family: inherit;
  padding: 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  box-shadow: 0 8px 24px var(--beggy-orange-glow);
  transition: all 0.2s ease;
}

.checkout-beggy-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-text {
  font-size: 0.98rem;
  font-weight: 800;
}

.btn-subtext {
  font-size: 0.72rem;
  opacity: 0.85;
}

/* ====================================================================
   CHECKOUT MODAL
   ==================================================================== */
.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: var(--modal-backdrop);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.2s ease;
}

.checkout-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  max-width: 440px;
  width: 100%;
  padding: 24px 20px;
  box-shadow: var(--card-shadow);
}

[data-theme="dark"] .checkout-card {
  border-color: var(--border-bright);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

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

.co-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
}

.co-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
}

.co-address-box {
  background: var(--bg-card-hover);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.co-pin {
  font-size: 1.2rem;
}

.co-addr-text strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-main);
}

.co-addr-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.co-sec-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-sub);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.co-pay-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.co-pay-row {
  background: var(--bg-card-hover);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.co-pay-row.active {
  border-color: var(--beggy-orange);
  background: rgba(252, 128, 25, 0.08);
}

.co-pay-row.disabled {
  opacity: 0.45;
}

.pay-info strong {
  display: block;
  font-size: 0.84rem;
  color: var(--text-main);
}

.pay-info span {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.pay-check {
  margin-left: auto;
  color: var(--beggy-orange);
  font-weight: 900;
}

.co-slam-box {
  background: var(--bg-card-hover);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 16px;
}

.co-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.co-total-row span {
  font-size: 0.86rem;
  color: var(--text-sub);
  font-weight: 600;
}

.co-big-total {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--beggy-green);
  transition: all 0.3s ease;
}

.co-big-total.slammed {
  color: #10B981;
  text-decoration: line-through;
  animation: strikeThrough 0.3s ease forwards;
}

.co-place-order-btn {
  width: 100%;
  background: linear-gradient(135deg, #FC8019 0%, #D95A00 100%);
  color: #FFFFFF;
  border: none;
  font-family: inherit;
  padding: 16px 14px;
  border-radius: var(--radius-lg);
  cursor: pointer;
  box-shadow: 0 10px 30px var(--beggy-orange-glow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: all 0.2s ease;
}

.co-place-order-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(252, 128, 25, 0.45);
}

.btn-place-title {
  font-size: 1.05rem;
  font-weight: 900;
}

.btn-place-sub {
  font-size: 0.74rem;
  opacity: 0.9;
}

.co-tiny-disclaimer {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
}

/* ====================================================================
   TRACKING SCREEN: The 11-Minute Rider Mini-Movie
   ==================================================================== */
.tracking-screen {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
}

.tracking-top-bar {
  padding: 12px 16px;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 20;
}

.tt-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tt-pulse {
  animation: pulseDot 1s infinite;
  font-size: 0.8rem;
}

.tt-info strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-main);
}

.tt-info span {
  font-size: 0.72rem;
  color: var(--text-sub);
}

.tracking-speed-controls {
  display: flex;
  gap: 6px;
}

.speed-btn {
  background: var(--bg-card-hover);
  border: 1px solid var(--border-color);
  color: var(--text-sub);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.speed-btn:hover {
  color: var(--text-main);
}

.speed-btn.active {
  background: var(--beggy-orange);
  color: #FFFFFF;
  border-color: var(--beggy-orange);
}

.tracking-map-container {
  flex: 1;
  position: relative;
  width: 100%;
}

#tracking-map {
  width: 100%;
  height: 100%;
}

/* Map ETA Chip */
.map-eta-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 800;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  gap: 8px;
}

.eta-val {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--beggy-orange);
  font-variant-numeric: tabular-nums;
}

.eta-sub {
  font-size: 0.72rem;
  color: var(--text-sub);
}

/* Rider Chat Bubble */
.rider-chat-bubble {
  position: absolute;
  top: 70px;
  left: 14px;
  right: 14px;
  max-width: 360px;
  z-index: 850;
  background: var(--bg-card);
  border: 1.5px solid #6366F1;
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDown {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.rc-avatar {
  font-size: 1.5rem;
}

.rc-sender {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  color: #818CF8;
  margin-bottom: 2px;
}

.rc-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

/* Tracking Bottom Card */
.tracking-bottom-card {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 16px 20px 20px;
  z-index: 20;
}

/* Timeline */
.track-timeline {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  position: relative;
}

.track-timeline::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--border-color);
  z-index: 1;
}

.tl-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.tl-dot {
  width: 16px;
  height: 16px;
  background: var(--bg-card-hover);
  border: 2px solid var(--border-bright);
  border-radius: 50%;
  transition: all 0.2s ease;
}

.tl-step.active .tl-dot {
  background: var(--beggy-orange);
  border-color: var(--beggy-orange);
  box-shadow: 0 0 10px var(--beggy-orange-glow);
}

.tl-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
}

.tl-step.active .tl-label {
  color: var(--beggy-orange);
}

.track-dish-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 14px;
}

.track-dish-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
}

.track-dish-info span {
  font-size: 0.76rem;
  color: var(--text-sub);
}

.track-dish-amount {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--beggy-green);
}

.track-actions {
  display: flex;
  justify-content: center;
}

.btn-panic {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #F87171;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-panic:hover {
  background: rgba(239, 68, 68, 0.2);
}

/* Panic Modal */
.panic-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  background: var(--modal-backdrop);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.panic-card {
  background: var(--bg-card);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: var(--radius-xl);
  max-width: 400px;
  width: 100%;
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--card-shadow);
}

[data-theme="dark"] .panic-card {
  background: #181D29;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
}

.panic-card h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 10px;
}

.panic-card p {
  font-size: 0.92rem;
  color: var(--text-sub);
  margin-bottom: 8px;
}

.panic-affiliate-box {
  background: rgba(255, 153, 0, 0.08);
  border: 1.5px solid rgba(255, 153, 0, 0.35);
  border-radius: var(--radius-lg);
  padding: 14px;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-amazon-affiliate {
  background: linear-gradient(135deg, #FF9900 0%, #E68A00 100%);
  color: #111;
  text-decoration: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(255, 153, 0, 0.35);
  transition: all 0.2s ease;
}

.btn-amazon-affiliate:hover {
  background: #FFA724;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 153, 0, 0.5);
}

.amz-disclaimer {
  font-size: 0.7rem;
  color: #94A3B8;
  line-height: 1.3;
}

.panic-roast {
  font-size: 0.84rem;
  color: #F87171 !important;
  font-style: italic;
  margin-bottom: 20px !important;
}

.panic-resume-btn {
  width: 100%;
  background: #10B981;
  color: #FFFFFF;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
}

/* ====================================================================
   REVEAL SCREEN: Pure Black • Giant Rupees • 1-Tap WhatsApp
   ==================================================================== */
.reveal-screen {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: #000000;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  overflow-y: auto;
  animation: fadeIn 0.4s ease;
}

.reveal-container {
  max-width: 440px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.reveal-punchline-block {
  margin-top: 10px;
}

.reveal-main-title {
  font-size: clamp(1.4rem, 4.5vw, 1.85rem);
  font-weight: 900;
  color: #F8FAFC;
  line-height: 1.2;
}

.reveal-giant-rupees {
  font-size: clamp(4.5rem, 15vw, 6.5rem);
  font-weight: 900;
  color: #10B981;
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 6px 0 0;
  text-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
}

.r-curr {
  font-size: 0.6em;
  vertical-align: top;
}

.reveal-sub-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #94A3B8;
}

.reveal-detail-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #CBD5E1;
}

.pill-dot {
  color: var(--beggy-orange);
}

.pill-highlight {
  color: #F87171;
}

/* Screenshot Bank Receipt Card */
.reveal-bank-receipt {
  width: 100%;
  background: #0D1017;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 16px;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.r-receipt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.r-bank-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #38BDF8;
}

.r-receipt-time {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.r-receipt-dish-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 6px 0 4px;
}

.r-dish-title {
  font-size: 1rem;
  font-weight: 800;
  color: #FFFFFF;
}

.r-dish-original {
  font-size: 0.88rem;
  color: #94A3B8;
  text-decoration: line-through;
  font-weight: 700;
}

.r-receipt-coupon-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(16, 185, 129, 0.12);
  border: 1px dashed rgba(16, 185, 129, 0.4);
  border-radius: 6px;
  padding: 4px 8px;
  margin-bottom: 8px;
}

.r-coupon-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: #10B981;
}

.r-coupon-disc {
  font-size: 0.72rem;
  font-weight: 800;
  color: #10B981;
}

.r-receipt-amt {
  display: block;
  font-size: 1.05rem;
  font-weight: 900;
  color: #10B981;
  margin-bottom: 2px;
}

.r-receipt-msg {
  font-size: 0.78rem;
  color: #CBD5E1;
  margin: 0;
}

.r-receipt-foot {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--text-muted);
  font-family: monospace;
}

/* Zepto 10-Minute Craving Card on Reveal Screen */
.reveal-zepto-card {
  width: 100%;
  background: linear-gradient(180deg, #180D24 0%, #0E0716 100%);
  border: 1.5px solid rgba(112, 32, 188, 0.45);
  border-radius: var(--radius-lg);
  padding: 16px;
  text-align: left;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(112, 32, 188, 0.2);
  margin-bottom: 12px;
}

.rzc-header {
  margin-bottom: 12px;
}

.rzc-tag {
  display: inline-block;
  background: rgba(112, 32, 188, 0.18);
  border: 1px solid rgba(112, 32, 188, 0.45);
  color: #B250FF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 6px;
}

.rzc-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.rzc-desc {
  font-size: 0.78rem;
  color: #E2E8F0;
  line-height: 1.4;
  margin: 0;
}

.btn-zepto-reveal {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #7020bc 0%, #52158c 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  box-shadow: 0 4px 14px rgba(112, 32, 188, 0.4);
  transition: all 0.2s ease;
}

.btn-zepto-reveal:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(112, 32, 188, 0.6);
  color: #FFFFFF;
}

.rzc-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.rzc-btn-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rzc-btn-text strong {
  font-size: 0.88rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}

.rzc-btn-text span {
  font-size: 0.72rem;
  font-weight: 600;
  color: #E9D5FF;
}

/* Amazon Savings Recipe Kit Box on Reveal Screen */
.reveal-amazon-card {
  width: 100%;
  background: #111622;
  border: 1.5px solid rgba(255, 153, 0, 0.4);
  border-radius: var(--radius-lg);
  padding: 16px;
  text-align: left;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(255, 153, 0, 0.12);
}

.rac-header {
  margin-bottom: 12px;
}

.rac-tag {
  display: inline-block;
  background: rgba(255, 153, 0, 0.15);
  border: 1px solid rgba(255, 153, 0, 0.35);
  color: #FF9900;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 6px;
}

.rac-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.rac-desc {
  font-size: 0.78rem;
  color: #CBD5E1;
  line-height: 1.4;
  margin: 0;
}

.btn-amazon-reveal {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #FF9900 0%, #E68A00 100%);
  color: #111827;
  text-decoration: none;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  box-shadow: 0 4px 14px rgba(255, 153, 0, 0.35);
  transition: all 0.2s ease;
}

.btn-amazon-reveal:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 153, 0, 0.5);
  color: #111827;
}

.rac-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.rac-btn-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rac-btn-text strong {
  font-size: 0.88rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
}

.rac-btn-text span {
  font-size: 0.72rem;
  font-weight: 700;
  color: #374151;
}

.rac-disclaimer {
  display: block;
  font-size: 0.64rem;
  color: #64748B;
  margin-top: 8px;
  text-align: center;
  line-height: 1.3;
}

/* Actions */
.reveal-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reveal-name-field-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  margin-bottom: 4px;
}

.reveal-name-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #94A3B8;
}

.reveal-name-input {
  width: 100%;
  background: #111520;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 14px;
  transition: all 0.2s ease;
}

.reveal-name-input:focus {
  outline: none;
  border-color: #25D366;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.25);
}

.btn-reveal-whatsapp {
  width: 100%;
  background: #25D366;
  color: #064E3B;
  text-decoration: none;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 900;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: all 0.2s ease;
}

.btn-reveal-whatsapp:hover {
  background: #22C55E;
  transform: translateY(-2px);
}

.btn-reveal-whatsapp.disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
  filter: grayscale(0.5);
  box-shadow: none;
  transform: none;
}

/* Multi-Platform Quick Share Grid */
.social-share-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
  margin: 4px 0;
}

@media (max-width: 360px) {
  .social-share-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.btn-share-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-share-social .ss-icon {
  font-size: 1rem;
  line-height: 1;
}

.btn-share-social:hover {
  transform: translateY(-2px);
}

.btn-share-twitter {
  background: #000000;
  border-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}
.btn-share-twitter:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: #111827;
}

.btn-share-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #FFFFFF;
  box-shadow: 0 3px 12px rgba(220, 39, 67, 0.35);
}

.btn-share-telegram {
  background: #229ED9;
  color: #FFFFFF;
  box-shadow: 0 3px 12px rgba(34, 158, 217, 0.35);
}
.btn-share-telegram:hover {
  background: #1D8DC3;
}

.btn-share-linkedin {
  background: #0A66C2;
  color: #FFFFFF;
  box-shadow: 0 3px 12px rgba(10, 102, 194, 0.35);
}
.btn-share-linkedin:hover {
  background: #08529C;
}

.btn-share-copy {
  background: #1E293B;
  border-color: rgba(255, 255, 255, 0.15);
  color: #F1F5F9;
}
.btn-share-copy:hover {
  background: #334155;
  color: #FFFFFF;
}

.btn-share-native {
  background: linear-gradient(135deg, #FF5200 0%, #EA580C 100%);
  color: #FFFFFF;
  box-shadow: 0 3px 12px rgba(255, 82, 0, 0.35);
}
.btn-share-native:hover {
  background: linear-gradient(135deg, #FF661A 0%, #F97316 100%);
}

/* Easy-to-Paste Challenge Templates Box */
.reveal-templates-box {
  width: 100%;
  background: #0D111A;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 14px;
  text-align: left;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  margin: 4px 0;
}

.rtb-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 10px;
}

.rtb-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #F8FAFC;
}

.rtb-sub {
  font-size: 0.72rem;
  color: #94A3B8;
}

.rtb-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 8px;
  scrollbar-width: none;
}
.rtb-tabs::-webkit-scrollbar {
  display: none;
}

.rtb-tab {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.rtb-tab:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

.rtb-tab.active {
  background: #25D366;
  border-color: #25D366;
  color: #064E3B;
  font-weight: 800;
}

.rtb-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rtb-preview-text {
  width: 100%;
  background: #141A26;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: #E2E8F0;
  font-family: monospace, inherit;
  font-size: 0.78rem;
  line-height: 1.45;
  padding: 10px;
  resize: none;
  outline: none;
  min-height: 80px;
}

.rtb-preview-text:focus {
  border-color: #38BDF8;
}

.btn-copy-template {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  padding: 11px 16px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
}

.btn-copy-template:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-1px);
}

.btn-reveal-download {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-bright);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-reveal-restart {
  background: none;
  border: none;
  color: var(--text-sub);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  padding: 6px;
  transition: color 0.15s ease;
}

.btn-reveal-restart:hover {
  color: #FFFFFF;
}

.reveal-founder-subtle {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.founder-chai-link {
  background: none;
  border: none;
  color: var(--beggy-orange);
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

/* Shock Proof Screenshot Card Live Preview & 1-Tap Share */
.shock-preview-box {
  width: 100%;
  background: #0D1017;
  border: 1.5px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-lg);
  padding: 14px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 24px rgba(16, 185, 129, 0.15);
  margin: 6px 0;
}

.spb-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.spb-title {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #10B981;
  text-transform: uppercase;
}

.spb-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: #94A3B8;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 12px;
}

.spb-canvas-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px 0 12px;
}

.receipt-canvas-preview {
  width: 100%;
  max-width: 260px;
  height: auto;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.8), 0 0 16px rgba(16, 185, 129, 0.25);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  display: block;
  margin: 0 auto;
}

.spb-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.btn-share-with-image {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  padding: 13px 18px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
}

.btn-share-with-image:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.5);
}

.swi-icon {
  font-size: 1.1rem;
}

/* ====================================================================
   POST-DELIVERY CELEBRATION MODAL (AMAZON INGREDIENTS RECIPE KIT)
   ==================================================================== */
.pdm-overlay {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(10, 14, 22, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.25s ease;
}

.pdm-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  max-width: 460px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 26px 22px 18px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 82, 0, 0.2);
  border: 1.5px solid rgba(255, 82, 0, 0.4);
  text-align: center;
  scrollbar-width: thin;
}

[data-theme="dark"] .pdm-card {
  background: linear-gradient(180deg, #1C202B 0%, #13161F 100%);
}

.pdm-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

[data-theme="dark"] .pdm-close-btn {
  background: rgba(255, 255, 255, 0.08);
}

.pdm-close-btn:hover {
  background: #EF4444;
  border-color: #EF4444;
  color: #FFFFFF;
}

.pdm-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #059669;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}

[data-theme="dark"] .pdm-badge {
  color: #10B981;
}

.pdm-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 4px;
}

.pdm-sub {
  font-size: 0.9rem;
  color: var(--text-sub);
  margin-bottom: 16px;
}

.pdm-sub strong {
  color: #10B981;
  font-weight: 800;
}

.pdm-section {
  background: rgba(255, 153, 0, 0.06);
  border: 1.5px solid rgba(255, 153, 0, 0.35);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 14px;
  text-align: left;
}

[data-theme="dark"] .pdm-section {
  background: rgba(255, 153, 0, 0.08);
}

/* TIER 1: FUND THE FOUNDER IN POST-DELIVERY MODAL */
.pdm-tip-section {
  border-color: rgba(245, 158, 11, 0.4);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.08) 0%, rgba(255, 82, 0, 0.04) 100%);
}

[data-theme="dark"] .pdm-tip-section {
  border-color: rgba(245, 158, 11, 0.35);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.1) 0%, rgba(255, 82, 0, 0.05) 100%);
}

.pdm-tip-tag {
  color: #D97706;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

[data-theme="dark"] .pdm-tip-tag {
  color: #F59E0B;
}

/* Amount Pills Row in Post-Delivery Modal */
.pdm-pills-row {
  display: flex;
  gap: 8px;
  margin: 12px 0 10px;
  justify-content: space-between;
}

.pdm-pill {
  flex: 1;
  background: rgba(0, 0, 0, 0.05);
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 8px 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

[data-theme="dark"] .pdm-pill {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #E5E7EB;
}

.pdm-pill:hover {
  background: rgba(255, 82, 0, 0.15);
  border-color: #FF5200;
  color: var(--text-main);
}

.pdm-pill.active {
  background: linear-gradient(135deg, #FF5200, #EA580C);
  border-color: #FF5200;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(255, 82, 0, 0.35);
}

.pdm-custom-wrap {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.pdm-custom-input-box {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--input-bg);
  border: 1.5px solid rgba(255, 82, 0, 0.5);
  border-radius: 8px;
  padding: 0 10px;
}

.pdm-custom-currency {
  font-size: 0.9rem;
  font-weight: 800;
  color: #FF5200;
  margin-right: 4px;
}

.pdm-custom-input {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 8px 0;
  outline: none;
}

.pdm-custom-apply-btn {
  background: #FF5200;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 0 14px;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pdm-custom-apply-btn:hover {
  background: #EA580C;
}

/* 1-Tap UPI Button */
.pdm-upi-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #FF5200 0%, #EA580C 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 4px 16px rgba(255, 82, 0, 0.35);
  transition: all 0.2s ease;
}

.pdm-upi-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(255, 82, 0, 0.5);
  color: #FFFFFF;
}

.pdm-upi-btn .pdm-btn-text strong {
  font-size: 0.92rem;
  font-weight: 800;
  color: #FFFFFF;
}

.pdm-upi-btn .pdm-btn-text span {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

/* Desktop QR & Copy Quick Reveal */
.pdm-desktop-pay {
  margin-top: 10px;
  text-align: center;
}

.pdm-qr-toggle-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.2s ease;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pdm-qr-toggle-btn:hover {
  color: #F59E0B;
}

.pdm-qr-box {
  margin-top: 8px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeIn 0.2s ease;
}

[data-theme="dark"] .pdm-qr-box {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.12);
}

.pdm-qr-img {
  width: 150px;
  height: 150px;
  border-radius: 8px;
  background: #FFFFFF;
  padding: 6px;
}

.pdm-qr-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.pdm-qr-info span {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-align: center;
}

.pdm-copy-upi-btn {
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

[data-theme="dark"] .pdm-copy-upi-btn {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.pdm-copy-upi-btn:hover {
  background: #10B981;
  border-color: #10B981;
  color: #FFFFFF;
}

/* Sleek Visual Divider between Founder and Amazon Deal */
.pdm-divider {
  text-align: center;
  position: relative;
  margin: 12px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdm-divider::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-color);
  z-index: 1;
}

.pdm-divider span {
  position: relative;
  z-index: 2;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  background: var(--bg-card);
  padding: 0 10px;
}

[data-theme="dark"] .pdm-divider span {
  background: #171B24;
}

/* Zepto 10-Minute Section in Post-Delivery Modal */
.pdm-zepto-section {
  background: linear-gradient(180deg, rgba(112, 32, 188, 0.1) 0%, rgba(112, 32, 188, 0.03) 100%);
  border: 1.5px solid rgba(112, 32, 188, 0.45);
  border-radius: var(--radius-lg);
  padding: 14px;
  text-align: left;
  margin-bottom: 4px;
}

.pdm-zepto-tag {
  background: rgba(112, 32, 188, 0.18) !important;
  border: 1px solid rgba(112, 32, 188, 0.45) !important;
  color: #B250FF !important;
}

.pdm-zepto-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #7020bc 0%, #52158c 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 4px 16px rgba(112, 32, 188, 0.4);
  transition: all 0.2s ease;
}

.pdm-zepto-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(112, 32, 188, 0.6);
  color: #FFFFFF;
}

.pdm-zepto-btn .pdm-btn-text strong {
  color: #FFFFFF !important;
}

.pdm-zepto-btn .pdm-btn-text span {
  color: #E9D5FF !important;
}

.pdm-sec-tag {
  display: inline-block;
  background: rgba(255, 153, 0, 0.15);
  border: 1px solid rgba(255, 153, 0, 0.35);
  color: #FF9900;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
  margin-bottom: 6px;
}

.pdm-sec-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.pdm-sec-desc {
  font-size: 0.78rem;
  color: var(--text-sub);
  margin-bottom: 12px;
  line-height: 1.4;
}

.pdm-amazon-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #FF9900 0%, #E68A00 100%);
  color: #111827;
  text-decoration: none;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 4px 16px rgba(255, 153, 0, 0.3);
  transition: all 0.2s ease;
}

.pdm-amazon-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(255, 153, 0, 0.45);
  color: #111827;
}

.pdm-btn-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.pdm-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.pdm-btn-text strong {
  font-size: 0.92rem;
  font-weight: 800;
  color: #111827;
}

.pdm-btn-text span {
  font-size: 0.72rem;
  color: #374151;
  font-weight: 600;
}

.pdm-amazon-disclosure {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin: 8px 0 0;
  text-align: center;
}

.pdm-next-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #FF5200 0%, #EA580C 100%);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255, 82, 0, 0.35);
  transition: all 0.2s ease;
}

.pdm-next-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(255, 82, 0, 0.5);
}

.pdm-footer {
  margin-top: 10px;
}

.pdm-dismiss-link {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.pdm-dismiss-link:hover {
  color: var(--text-main);
}

/* Share Feedback Toast */
.share-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #111827;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 100002;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  font-size: 0.85rem;
  font-weight: 700;
  animation: toastIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.share-toast .st-icon {
  color: #10B981;
  font-size: 1rem;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translate(-50%, 15px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* ====================================================================
   THE BILL YOU KEPT (PASSBOOK MODAL)
   ==================================================================== */
.passbook-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: var(--modal-backdrop);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.passbook-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  max-width: 460px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  box-shadow: var(--card-shadow);
}

[data-theme="dark"] .passbook-card {
  border-color: var(--border-bright);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.pb-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.pb-header h2 {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text-main);
}

.pb-sub {
  font-size: 0.76rem;
  color: var(--text-sub);
}

.pb-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
}

.pb-roast-banner {
  background: rgba(252, 128, 25, 0.1);
  border: 1px solid rgba(252, 128, 25, 0.3);
  color: #FDBA74;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  font-style: italic;
}

.pb-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.pb-stat {
  background: var(--bg-card-hover);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
}

.pb-s-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.pb-s-val {
  display: block;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--beggy-green);
  margin: 2px 0;
}

.pb-s-note {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.pb-founder-box {
  background: rgba(236, 72, 153, 0.08);
  border: 1px solid rgba(236, 72, 153, 0.25);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 18px;
}

.pb-founder-info strong {
  display: block;
  font-size: 0.82rem;
  color: #F472B6;
}

.pb-founder-info p {
  font-size: 0.72rem;
  color: var(--text-sub);
  margin-top: 2px;
}

.pb-upi-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.upi-id-pill {
  font-family: monospace;
  background: rgba(0, 0, 0, 0.3);
  color: #FFFFFF;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
}

.btn-copy-upi {
  background: #EC4899;
  border: none;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
}

.pb-history-wrap {
  margin-bottom: 16px;
}

.pb-hist-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-sub);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.pb-history-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 180px;
  overflow-y: auto;
}

.pb-item {
  background: var(--bg-card-hover);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pb-item-dish {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
}

.pb-item-meta {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.pb-item-amt {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--beggy-green);
}

.pb-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
}

.pb-reset-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  cursor: pointer;
}

.pb-reset-btn:hover {
  color: #EF4444;
}

.pb-done-btn {
  background: var(--bg-card-hover);
  border: 1px solid var(--border-bright);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* ====================================================================
   SEO & FAQ SECTION
   ==================================================================== */
.beggy-seo-guide {
  background: var(--bg-card-hover);
  border-top: 1px solid var(--border-color);
  padding: 48px 16px 36px;
  margin-top: 40px;
}

[data-theme="dark"] .beggy-seo-guide {
  background: #090C12;
}

.seo-guide-container {
  max-width: 800px;
  margin: 0 auto;
}

.seo-guide-header {
  text-align: center;
  margin-bottom: 30px;
}

.seo-guide-badge {
  display: inline-block;
  background: rgba(252, 128, 25, 0.12);
  border: 1px solid rgba(252, 128, 25, 0.3);
  color: var(--beggy-orange);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 12px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.seo-guide-title {
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 8px;
}

.seo-guide-intro {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.6;
}

.seo-faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.seo-faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--card-shadow);
}

.seo-faq-q {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
}

.seo-faq-q::-webkit-details-marker { display: none; }

.seo-faq-a {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.6;
  margin-top: 8px;
}

/* Footer */
.app-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 24px 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.76rem;
}

[data-theme="dark"] .app-footer {
  background: transparent;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.footer-logo-img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.footer-logo {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--beggy-orange);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ====================================================================
   PLATFORM DRAFT & SHARE ASSISTANT MODAL (LINKEDIN & INSTA STORY)
   ==================================================================== */
.draft-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100050;
  background: rgba(10, 15, 26, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.2s ease-out;
}

.draft-modal-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px 20px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 30px rgba(16, 185, 129, 0.15);
  color: #FFFFFF;
}

.draft-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #9CA3AF;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.draft-modal-close:hover {
  background: #EF4444;
  color: #FFFFFF;
}

.draft-modal-header {
  margin-bottom: 16px;
}

.draft-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #10B981;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.draft-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: #FFFFFF;
  margin: 0 0 6px;
}

.draft-sub {
  font-size: 0.82rem;
  color: #9CA3AF;
  margin: 0;
  line-height: 1.4;
}

.draft-preview-wrap {
  margin-bottom: 16px;
}

.draft-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  color: #94A3B8;
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.draft-textarea {
  width: 100%;
  background: #0B0F19;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 12px;
  font-family: inherit;
  font-size: 0.82rem;
  color: #E2E8F0;
  line-height: 1.45;
  resize: none;
  box-sizing: border-box;
}

.draft-textarea:focus {
  outline: none;
  border-color: #10B981;
}

.draft-steps-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.draft-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  color: #CBD5E1;
  line-height: 1.35;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #2563EB;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
}

.draft-modal-actions {
  display: flex;
  gap: 10px;
}

.btn-draft-copy {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 12px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-draft-copy:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-draft-proceed {
  flex: 1.4;
  background: linear-gradient(135deg, #0A66C2 0%, #004182 100%);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 800;
  padding: 12px 14px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(10, 102, 194, 0.35);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-draft-proceed:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(10, 102, 194, 0.5);
}

.btn-draft-proceed.insta-btn {
  background: linear-gradient(135deg, #E1306C 0%, #C13584 50%, #833AB4 100%);
  box-shadow: 0 4px 14px rgba(225, 48, 108, 0.35);
}

.btn-draft-proceed.insta-btn:hover {
  box-shadow: 0 6px 20px rgba(225, 48, 108, 0.5);
}

/* Mobile Adjustments */
@media (max-width: 600px) {
  .header-bill-btn .bill-label {
    display: none;
  }

  .kitchens-grid {
    grid-template-columns: 1fr;
  }

  .ticker-counter-row {
    flex-wrap: wrap;
  }
}

/* ====================================================================
   ZEPTO SLIDE BANNER (5-SECOND LANDING — SUBTLE, NON-INTRUSIVE)
   ==================================================================== */
.zsb-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99990;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.zsb-banner.show {
  transform: translateY(0);
}

.zsb-inner {
  background: rgba(18, 10, 28, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(112, 32, 188, 0.5);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  gap: 16px;
}

.zsb-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.zsb-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.zsb-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.zsb-text strong {
  font-size: 0.9rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.3;
}

.zsb-text span {
  font-size: 0.74rem;
  color: #E2E8F0;
  font-weight: 500;
}

.zsb-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.zsb-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #7020bc 0%, #52158c 100%);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 9px 16px;
  border-radius: 10px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(112, 32, 188, 0.4);
  transition: all 0.2s ease;
}

.zsb-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(112, 32, 188, 0.6);
  color: #FFFFFF;
}

.zsb-close {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94A3B8;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.zsb-close:hover {
  background: #EF4444;
  border-color: #EF4444;
  color: #FFFFFF;
}

/* ====================================================================
   GLOBAL BACK BUTTONS & MULTI-LEVEL NAVIGATION CONTROLS
   ==================================================================== */

/* 1. Reveal Screen Top Bar & Back Button */
.reveal-top-bar {
  position: sticky;
  top: 0;
  width: 100%;
  max-width: 440px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 12px;
}

.reveal-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.reveal-back-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateX(-2px);
}

.reveal-top-pill {
  font-size: 0.75rem;
  font-weight: 800;
  color: #10B981;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 4px 12px;
  border-radius: 9999px;
  letter-spacing: 0.04em;
}

/* 2. Tracking Screen Back / Exit Button */
.btn-track-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  font-family: inherit;
}

.btn-track-back:hover {
  background: rgba(239, 68, 68, 0.16);
  border-color: #EF4444;
  color: #EF4444;
  transform: translateX(-2px);
}

/* 3. Cart Drawer Back Controls */
.cart-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.cart-back-btn:hover {
  background: var(--surface);
  color: var(--primary);
  border-color: var(--primary);
}

.cart-keep-browsing-btn {
  width: 100%;
  margin-top: 10px;
  padding: 11px 14px;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-sub);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.cart-keep-browsing-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-color: var(--text-sub);
}

/* 4. Checkout Modal Back Controls */
.co-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.co-back-btn:hover {
  background: var(--surface);
  color: var(--primary);
  border-color: var(--primary);
}

.co-cancel-btn {
  width: 100%;
  margin-top: 10px;
  padding: 10px 14px;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-sub);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.co-cancel-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-color: var(--text-sub);
}

/* 5. Post-Delivery Modal Back Controls */
.pdm-top-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 12px;
}

.pdm-back-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #E2E8F0;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.pdm-back-top-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}

.pdm-back-home-btn {
  width: 100%;
  margin-top: 8px;
  padding: 10px 14px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #94A3B8;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.pdm-back-home-btn:hover {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

/* 6. Passbook Back Button */
.pb-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.pb-back-btn:hover {
  background: var(--surface);
  color: var(--primary);
}

/* 7. Duel Skip / Back Button */
.duel-skip-btn {
  width: 100%;
  margin-top: 8px;
  padding: 10px 14px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #94A3B8;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.duel-skip-btn:hover {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

