/* ============================================
   DUA - Retailer App  (Premium, No-SVG)
   ============================================ */

:root {
  --bleu: #BE8848;
  --bleu-700: #8A6234;
  --bleu-500: #CFA67D;
  --bleu-bg: #F5ECE2;
  --bleu-grad: linear-gradient(135deg, #BE8848 0%, #CFA67D 100%);
  --bleu-grad-soft: linear-gradient(135deg, #F5ECE2 0%, #EDD9BD 100%);

  --green: #16A34A;
  --green-bg: #DCFCE7;
  --whatsapp: #25D366;
  --red: #DC2626;
  --amber: #F59E0B;

  --ink-900: #0A0F1F;
  --ink-700: #2A3548;
  --ink-500: #64748B;
  --ink-400: #94A3B8;
  --ink-300: #CBD5E1;

  --bg: #FBF6EE;
  --bg-soft: #F2E8D5;
  --bg-input: #F2E8D5;
  --line: #E5DAC0;
  --line-soft: #EFE3CA;
  --cream: #FBF6EE;
  --card-cream: #FFFCF5;

  --shadow-card: 0 1px 2px rgba(10,15,31,0.04), 0 4px 18px rgba(10,15,31,0.04);
  --shadow-strong: 0 8px 24px rgba(10,15,31,0.10);
  --shadow-bleu: 0 8px 24px rgba(190, 136, 72, 0.30);

  /* Override shared design-system.css blue tokens with Dua tan palette */
  --primary: #BE8848;
  --primary-dark: #8A6234;
  --primary-light: #CFA67D;
  --primary-bg: #F5ECE2;
  --primary-gradient: linear-gradient(135deg, #BE8848 0%, #CFA67D 100%);
  --shadow-primary: 0 8px 24px rgba(190, 136, 72, 0.30);
}

body { font-family: 'Poppins', sans-serif; }

/* === html2canvas guard: every <button> in retailer screens must strip
       native chrome so the download capture renders custom styling
       instead of the browser default. === */
.mobile-frame button {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  outline: none;
  font-family: inherit;
  cursor: pointer;
}

/* ============================================
   Status / App bar
   ============================================ */
.bleu-status {
  height: 44px;
  padding: 14px 24px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; font-weight: 600; color: var(--ink-900);
  flex-shrink: 0;
}
.bleu-status .icons { display: flex; gap: 6px; font-size: 12px; }

.bleu-appbar {
  padding: 6px 18px 14px;
  display: flex; align-items: center; justify-content: space-between;
}
.bleu-appbar .ab-back {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-700);
}
.bleu-appbar .ab-title {
  flex: 1; text-align: center;
  font-size: 16px; font-weight: 700;
  color: var(--ink-900);
}
.bleu-appbar .ab-spacer { width: 38px; }

/* ============================================
   Centered title block
   ============================================ */
.bleu-title-block { padding: 12px 24px 22px; text-align: center; }
.bleu-title-block .t-title {
  font-size: 24px; font-weight: 700; color: var(--ink-900);
  letter-spacing: -0.6px; line-height: 1.2;
}
.bleu-title-block .t-sub {
  font-size: 13px; color: var(--ink-500); margin-top: 8px;
  line-height: 1.55;
}

/* ============================================
   Logo
   ============================================ */
.bleu-logo {
  font-weight: 700; color: var(--bleu);
  letter-spacing: -1px;
  display: inline-flex; align-items: baseline; gap: 2px;
}
.bleu-logo .leaf {
  display: inline-block;
  width: 0.32em; height: 0.32em;
  background: var(--green);
  border-radius: 50% 0;
  transform: rotate(45deg) translateY(-0.4em);
}

/* ============================================
   Primary CTA
   ============================================ */
.bleu-cta {
  width: 100%;
  background: var(--bleu);
  color: white;
  border: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  text-align: center;
  padding: 16px 20px;
  border-radius: 14px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: var(--shadow-bleu);
}
.bleu-cta:active { transform: scale(0.985); }
.bleu-cta.green { background: var(--whatsapp); box-shadow: 0 8px 24px rgba(37,211,102,0.3); }
.bleu-cta.outline {
  background: var(--card-cream); color: var(--bleu);
  border: 1.5px solid var(--bleu-bg); box-shadow: none;
}

/* ============================================
   Step indicator
   ============================================ */
.step-dots {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; margin: 6px 0 8px;
}
.step-dot {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--card-cream);
  color: var(--ink-400);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  border: 1.5px solid var(--line);
}
.step-dot.active { background: var(--bleu); color: white; border-color: var(--bleu); box-shadow: 0 4px 12px rgba(190,136,72,0.25); }
.step-dot.done { background: var(--green); color: white; border-color: var(--green); }
.step-line { width: 36px; height: 2px; background: var(--line); }
.step-line.done { background: var(--green); }
.step-labels {
  display: flex; justify-content: center; gap: 36px;
  padding: 0 18px 14px;
  font-size: 10px; color: var(--ink-500); font-weight: 600;
  letter-spacing: 0.3px;
}
.step-labels span.active { color: var(--bleu); }

/* ============================================
   Form
   ============================================ */
.form-section { padding: 0 22px; }
.form-section-title {
  font-size: 11px; font-weight: 700;
  color: var(--ink-500);
  margin-bottom: 10px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.input-block { margin-bottom: 14px; }
.input-block .lbl {
  font-size: 11px; color: var(--ink-500);
  margin-bottom: 6px; margin-left: 4px;
  font-weight: 500;
}
.input-bleu {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-input);
  border: 1.5px solid transparent;
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px; font-weight: 500;
  color: var(--ink-900);
  outline: none;
  transition: all 0.15s;
}
.input-bleu::placeholder { color: var(--ink-400); font-weight: 400; }
.input-bleu:focus { background: var(--card-cream); border-color: var(--bleu); }

/* ============================================
   OTP boxes
   ============================================ */
.otp-row {
  display: flex; justify-content: center; gap: 10px;
  margin: 24px 0 14px;
}
.otp-box {
  width: 46px; height: 54px;
  background: var(--card-cream);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  text-align: center;
  font-size: 20px; font-weight: 700;
  color: var(--ink-900);
  font-family: 'Poppins', sans-serif;
}
.otp-box.filled { border-color: var(--bleu); background: var(--bleu-bg); color: var(--bleu); }

/* ============================================
   Language rows
   ============================================ */
.lang-row {
  display: flex; align-items: center; gap: 14px;
  padding: 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  margin-bottom: 10px;
  background: var(--card-cream);
  cursor: pointer;
  transition: all 0.15s;
}
.lang-row.selected {
  border-color: var(--bleu);
  background: var(--bleu-bg);
  box-shadow: 0 4px 14px rgba(190,136,72,0.10);
}
.lang-code {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  color: var(--ink-700);
  flex-shrink: 0;
}
.lang-row.selected .lang-code {
  background: var(--bleu); color: white;
}
.lang-name { font-weight: 600; font-size: 15px; color: var(--ink-900); }
.lang-en { font-size: 11px; color: var(--ink-500); margin-top: 2px; font-weight: 500; }
.lang-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid var(--ink-300);
  flex-shrink: 0;
}
.lang-row.selected .lang-check {
  background: var(--bleu);
  border-color: var(--bleu);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 10px;
}

/* ============================================
   REAL PRODUCT PHOTOS
   ============================================ */
.prod-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  user-select: none;
}
.prod-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.prod-stage.sz-sm  { width: 56px; height: 72px; padding: 4px; border-radius: 10px; }
.prod-stage.sz-md  { width: 84px; height: 104px; padding: 6px; border-radius: 12px; }
.prod-stage.sz-lg  { width: 100%; height: 110px; padding: 8px; border-radius: 12px; }
.prod-stage.sz-xl  { width: 100%; height: 100%; padding: 8px; border-radius: 0; }
.prod-stage.sz-hero { width: 180px; height: 240px; padding: 12px; border-radius: 24px; }

/* Background variants matching brand product colors */
.prod-stage.bg-blue   { background: linear-gradient(135deg, #F5ECE2, #EDD9BD); }
.prod-stage.bg-cyan   { background: linear-gradient(135deg, #F5ECE2, #EDD9BD); }
.prod-stage.bg-purple { background: linear-gradient(135deg, #F5ECE2, #EDD9BD); }
.prod-stage.bg-orange { background: linear-gradient(135deg, #FFF7ED, #FFEDD5); }
.prod-stage.bg-pink   { background: linear-gradient(135deg, #FDF2F8, #FCE7F3); }
.prod-stage.bg-teal   { background: linear-gradient(135deg, #F0FDFA, #CCFBF1); }
.prod-stage.bg-amber  { background: linear-gradient(135deg, #FEFCE8, #FEF3C7); }
.prod-stage.bg-soft   { background: var(--bg-soft); }

/* ============================================
   REALISTIC BOTTLE COMPONENT (CSS-only, no SVG)
   Looks like a 3D rendered cleaning bottle
   ============================================ */
.bottle {
  position: relative;
  width: 60px; height: 88px;
  display: inline-block;
}
.bottle .cap {
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 24px; height: 12px;
  background: linear-gradient(180deg, #1F2937 0%, #0F172A 100%);
  border-radius: 4px 4px 2px 2px;
  z-index: 3;
  box-shadow: inset 0 -2px 3px rgba(255,255,255,0.1), 0 1px 2px rgba(0,0,0,0.3);
}
.bottle .neck {
  position: absolute;
  top: 10px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 6px;
  background: linear-gradient(90deg, rgba(0,0,0,0.18) 0%, rgba(255,255,255,0.18) 50%, rgba(0,0,0,0.18) 100%);
  z-index: 2;
}
.bottle .shoulder {
  position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: 48px; height: 10px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.bottle .body {
  position: absolute;
  top: 22px; left: 0; right: 0; bottom: 0;
  border-radius: 6px 6px 10px 10px;
  overflow: hidden;
  box-shadow:
    inset 0 -8px 16px rgba(0,0,0,0.22),
    inset 6px 0 12px rgba(0,0,0,0.12),
    inset -3px 0 8px rgba(255,255,255,0.15),
    0 8px 16px rgba(0,0,0,0.10);
}
.bottle .body::before {
  content: '';
  position: absolute;
  top: 8px; left: 6px;
  width: 4px; bottom: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.45), rgba(255,255,255,0.10));
  border-radius: 4px;
  filter: blur(1px);
}
.bottle .label {
  position: absolute;
  top: 32%; left: 8%; right: 8%; height: 50%;
  background: var(--card-cream);
  border-radius: 3px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0,0,0,0.10);
  padding: 2px;
}
.bottle .label .lb-brand {
  font-size: 7px; font-weight: 800;
  letter-spacing: 0.2px;
  line-height: 1;
}
.bottle .label .lb-type {
  font-size: 6px; font-weight: 700;
  color: var(--ink-700);
  margin-top: 2px;
  letter-spacing: 0.5px;
}
.bottle .label .lb-bar {
  width: 60%; height: 1px;
  background: var(--ink-300);
  margin: 2px 0;
}
.bottle .label .lb-size {
  font-size: 5px; font-weight: 600;
  color: var(--ink-500);
}

/* Size variants */
.bottle.b-lg { width: 84px; height: 124px; }
.bottle.b-lg .cap { width: 32px; height: 16px; top: 0; border-radius: 5px 5px 2px 2px; }
.bottle.b-lg .neck { top: 14px; width: 28px; height: 8px; }
.bottle.b-lg .shoulder { top: 20px; width: 64px; height: 12px; }
.bottle.b-lg .body { top: 30px; }
.bottle.b-lg .label .lb-brand { font-size: 10px; }
.bottle.b-lg .label .lb-type { font-size: 9px; }
.bottle.b-lg .label .lb-size { font-size: 7px; }

.bottle.b-sm { width: 38px; height: 56px; }
.bottle.b-sm .cap { width: 16px; height: 8px; }
.bottle.b-sm .neck { top: 6px; width: 14px; height: 4px; }
.bottle.b-sm .shoulder { top: 8px; width: 30px; height: 6px; }
.bottle.b-sm .body { top: 14px; }
.bottle.b-sm .label .lb-brand { font-size: 5px; }
.bottle.b-sm .label .lb-type { font-size: 4px; }
.bottle.b-sm .label .lb-bar, .bottle.b-sm .label .lb-size { display: none; }

/* Color variants - applied to .shoulder + .body */
.b-blue   .shoulder, .b-blue   .body { background: linear-gradient(180deg, #CFA67D 0%, #BE8848 50%, #8A6234 100%); }
.b-cyan   .shoulder, .b-cyan   .body { background: linear-gradient(180deg, #CFA67D 0%, #BE8848 50%, #8A6234 100%); }
.b-purple .shoulder, .b-purple .body { background: linear-gradient(180deg, #CFA67D 0%, #BE8848 50%, #8A6234 100%); }
.b-orange .shoulder, .b-orange .body { background: linear-gradient(180deg, #FB923C 0%, #F97316 50%, #C2410C 100%); }
.b-pink   .shoulder, .b-pink   .body { background: linear-gradient(180deg, #F472B6 0%, #EC4899 50%, #BE185D 100%); }
.b-teal   .shoulder, .b-teal   .body { background: linear-gradient(180deg, #2DD4BF 0%, #14B8A6 50%, #0F766E 100%); }
.b-amber  .shoulder, .b-amber  .body { background: linear-gradient(180deg, #FACC15 0%, #EAB308 50%, #A16207 100%); }

/* Brand color in label */
.b-blue   .lb-brand { color: #BE8848; }
.b-cyan   .lb-brand { color: #BE8848; }
.b-purple .lb-brand { color: #BE8848; }
.b-orange .lb-brand { color: #F97316; }
.b-pink   .lb-brand { color: #EC4899; }
.b-teal   .lb-brand { color: #14B8A6; }
.b-amber  .lb-brand { color: #EAB308; }

/* Bottle stage (background + shadow) for product showcase */
.bottle-stage {
  display: flex; align-items: flex-end; justify-content: center;
  position: relative;
}
.bottle-stage::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%; transform: translateX(-50%);
  width: 70%; height: 6px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.18), transparent 70%);
  filter: blur(3px);
}

/* ============================================
   PREMIUM PRODUCT CARDS (no SVG)
   Each product is a colored tile + product label
   ============================================ */
.prod-list { padding: 0 18px; }

.prod-card {
  display: flex; align-items: center; gap: 14px;
  padding: 14px;
  background: var(--card-cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 12px;
  transition: all 0.15s;
}
.prod-card:hover { border-color: var(--bleu); transform: translateY(-1px); box-shadow: var(--shadow-card); }

.prod-thumb {
  width: 64px; height: 78px;
  border-radius: 12px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative;
  flex-shrink: 0;
  box-shadow: inset 0 -8px 16px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
  overflow: hidden;
}
.prod-thumb::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 32%;
  background: linear-gradient(180deg, rgba(255,255,255,0.25), transparent);
}
.prod-thumb .pt-brand {
  font-size: 9px; font-weight: 700; color: white;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.prod-thumb .pt-type {
  font-size: 11px; font-weight: 800; color: white;
  letter-spacing: 0.6px; line-height: 1;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
  margin-top: 2px;
  text-align: center;
}
.prod-thumb .pt-cap {
  position: absolute;
  top: 6px; left: 50%; transform: translateX(-50%);
  width: 18px; height: 4px;
  background: rgba(0,0,0,0.4);
  border-radius: 2px;
}

/* Color variants */
.pt-blue   { background: linear-gradient(160deg, #BE8848 0%, #8A6234 100%); }
.pt-teal   { background: linear-gradient(160deg, #BE8848 0%, #8A6234 100%); }
.pt-purple { background: linear-gradient(160deg, #BE8848 0%, #8A6234 100%); }
.pt-orange { background: linear-gradient(160deg, #FB923C 0%, #C2410C 100%); }
.pt-pink   { background: linear-gradient(160deg, #EC4899 0%, #BE185D 100%); }
.pt-cyan   { background: linear-gradient(160deg, #CFA67D 0%, #8A6234 100%); }
.pt-amber  { background: linear-gradient(160deg, #FACC15 0%, #A16207 100%); }

.prod-body { flex: 1; min-width: 0; }
.prod-name { font-weight: 600; font-size: 15px; color: var(--ink-900); }
.prod-size { font-size: 12px; color: var(--ink-500); margin-top: 2px; }
.prod-price {
  font-size: 16px; font-weight: 700; color: var(--ink-900);
}
.add-circle {
  width: 36px; height: 36px;
  background: var(--bleu); color: white;
  border: none; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(190,136,72,0.25);
}

/* ============================================
   Search bar
   ============================================ */
.search-box {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-input);
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 16px;
}
.search-box i { color: var(--ink-400); font-size: 14px; }
.search-box input {
  border: none; background: transparent; outline: none;
  font-family: 'Poppins', sans-serif; font-size: 14px;
  flex: 1; color: var(--ink-900);
}

/* ============================================
   Cart row
   ============================================ */
.cart-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.cart-row:last-child { border-bottom: none; }
.cart-thumb {
  width: 48px; height: 60px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 800; color: white;
  box-shadow: inset 0 -6px 12px rgba(0,0,0,0.12);
}
.cart-body { flex: 1; min-width: 0; }
.cart-name { font-weight: 600; font-size: 14px; color: var(--ink-900); }
.cart-size { font-size: 11px; color: var(--ink-500); margin-top: 2px; }
.cart-price { font-size: 14px; font-weight: 700; color: var(--ink-900); margin-top: 4px; }
.qty-pill {
  display: inline-flex; align-items: center;
  background: var(--bleu); color: white;
  border-radius: 999px; overflow: hidden;
  box-shadow: 0 4px 12px rgba(190,136,72,0.20);
}
.qty-pill button {
  width: 30px; height: 30px; border: none;
  background: transparent; color: white;
  font-weight: 700; font-size: 14px;
}
.qty-pill .qv { padding: 0 6px; font-size: 13px; font-weight: 700; min-width: 20px; text-align: center; }

/* ============================================
   Bill rows
   ============================================ */
.bill-row {
  display: flex; justify-content: space-between;
  font-size: 13px; padding: 8px 0;
  color: var(--ink-700);
}
.bill-row.total {
  font-weight: 700; color: var(--ink-900); font-size: 16px;
  border-top: 1px solid var(--line);
  margin-top: 6px; padding-top: 12px;
}

/* ============================================
   Bottom nav
   ============================================ */
.bleu-nav {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--card-cream);
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-around;
  padding: 10px 8px 24px;
  z-index: 20;
}
.bleu-nav-item {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px;
  background: none; border: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  padding: 0;
  color: var(--ink-400);
  font-size: 10px; font-weight: 600;
  font-family: 'Poppins', sans-serif;
}
.bleu-nav-item i { font-size: 18px; }
.bleu-nav-item.active { color: var(--bleu); }

/* ============================================
   Upload card (Aadhaar verification rows)
   No SVG - uses CSS card mockup
   ============================================ */
.up-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 14px;
}
.up-thumb {
  width: 80px; height: 52px;
  border-radius: 8px;
  background: linear-gradient(135deg, #FED7AA 0%, #FFEDD5 100%);
  display: flex; flex-direction: column; justify-content: center;
  padding: 6px 8px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid #FBBF24;
}
.up-thumb.selfie { background: linear-gradient(135deg, #F5ECE2 0%, #EDD9BD 100%); border-color: #CFA67D; }
.up-thumb .ut-row {
  height: 4px; background: rgba(180, 83, 9, 0.35); border-radius: 2px; margin-bottom: 3px;
}
.up-thumb .ut-row.short { width: 60%; }
.up-thumb .ut-row.mid { width: 80%; }
.up-thumb .ut-tag {
  position: absolute; bottom: 4px; right: 4px;
  font-size: 5px; font-weight: 800; color: white;
  background: var(--bleu);
  padding: 1px 4px; border-radius: 2px;
}
.up-thumb.selfie .ut-row { background: rgba(30, 64, 175, 0.4); }
.up-title { font-size: 13px; font-weight: 600; color: var(--ink-900); }
.up-sub { font-size: 11px; color: var(--ink-500); margin-top: 2px; }
.up-check {
  width: 32px; height: 32px;
  border-radius: 50%; background: var(--green);
  color: white; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(22,163,74,0.30);
  flex-shrink: 0;
}

/* ============================================
   Map (CSS only, premium look)
   ============================================ */
.map-mock {
  height: 200px;
  border-radius: 16px;
  margin: 0 18px 14px;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #F5ECE2 0%, #EDD9BD 100%);
}
.map-mock::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 28px 28px;
}
.map-mock::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(34,197,94,0.18), transparent 40%),
    radial-gradient(ellipse at 80% 70%, rgba(34,197,94,0.15), transparent 35%);
}
.map-pin-red {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -90%);
  color: var(--red);
  font-size: 38px;
  filter: drop-shadow(0 6px 10px rgba(220,38,38,0.35));
  z-index: 2;
}
.map-pulse {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100px; height: 100px;
  border: 2px solid rgba(220,38,38,0.3);
  border-radius: 50%;
}
.map-locate {
  position: absolute; bottom: 14px; right: 14px;
  width: 40px; height: 40px;
  background: var(--card-cream); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--bleu);
  box-shadow: var(--shadow-strong);
  z-index: 2;
}

/* ============================================
   Splash (premium minimal)
   ============================================ */
/* Splash — solid brand caramel */
.splash-screen {
  flex: 1; display: flex; flex-direction: column;
  background: #BE8848;
  padding: 0;
  position: relative;
  overflow: hidden;
  color: #FBF6EE;
}
.splash-screen .bleu-status { color: #FBF6EE; }
.splash-inner {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 32px 32px 48px;
  position: relative; z-index: 2;
  text-align: center;
}
.splash-mark {
  width: 168px; height: auto;
  display: block;
  object-fit: contain;
  margin: 4px auto 22px;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.22));
}
.splash-eyebrow {
  display: flex; align-items: center; justify-content: center;
  gap: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 10px; font-weight: 600;
  letter-spacing: 5px;
  color: rgba(251,246,238,0.72);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.splash-eyebrow .rule {
  display: inline-block;
  width: 28px; height: 1px;
  background: rgba(251,246,238,0.45);
}
.splash-tagline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 38px; font-weight: 500;
  font-style: italic;
  color: #FBF6EE;
  letter-spacing: 0.2px;
  line-height: 1.1;
  text-shadow: 0 2px 14px rgba(0,0,0,0.18);
}
.splash-ornament {
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  margin: 20px auto 16px;
}
.splash-ornament .dot {
  width: 4px; height: 4px;
  background: rgba(251,246,238,0.55);
  border-radius: 50%;
}
.splash-ornament .diamond {
  width: 8px; height: 8px;
  background: #FBF6EE;
  transform: rotate(45deg);
  box-shadow: 0 0 0 1.5px rgba(251,246,238,0.3);
}
.splash-hero {
  margin: auto -32px -48px;
  width: calc(100% + 64px);
  display: block;
  object-fit: cover;
  filter: drop-shadow(0 -8px 20px rgba(0,0,0,0.20));
}
.splash-screen .home-indicator { background: rgba(251,246,238,0.4); }

/* ============================================
   Order Tracking (no scooter — premium icon hero)
   ============================================ */
.track-hero {
  background: linear-gradient(135deg, #F5ECE2 0%, #EDD9BD 100%);
  margin: 0 18px 14px;
  border-radius: 18px;
  padding: 22px 20px;
  display: flex; align-items: center; gap: 16px;
  position: relative; overflow: hidden;
}
.track-hero::after {
  content: '';
  position: absolute; right: -30px; bottom: -30px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(190,136,72,0.10), transparent 70%);
  border-radius: 50%;
}
.track-hero .th-icon {
  width: 60px; height: 60px;
  background: var(--bleu); color: white;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  box-shadow: 0 8px 18px rgba(190,136,72,0.30);
  flex-shrink: 0; z-index: 2;
}
.track-hero .th-body { z-index: 2; flex: 1; }
.track-hero .th-status {
  display: inline-block;
  background: var(--green-bg); color: var(--green);
  font-size: 10px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
  letter-spacing: 0.3px;
  margin-bottom: 6px;
}
.track-hero .th-line { font-size: 14px; font-weight: 600; color: var(--ink-900); }
.track-hero .th-eta { font-size: 22px; font-weight: 700; color: var(--bleu); margin-top: 6px; line-height: 1; }
.track-hero .th-eta small { font-size: 11px; color: var(--ink-500); font-weight: 500; margin-left: 4px; }

/* Timeline */
.track-line { position: relative; padding-left: 30px; }
.track-line::before {
  content: ''; position: absolute;
  left: 9px; top: 6px; bottom: 6px;
  width: 2px; background: var(--line);
}
.track-item {
  position: relative; margin-bottom: 16px;
  display: flex; justify-content: space-between; align-items: center;
}
.track-item:last-child { margin-bottom: 0; }
.track-item::before {
  content: ''; position: absolute;
  left: -25px; top: 5px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--card-cream);
  border: 2px solid var(--ink-300);
}
.track-item.done::before {
  background: var(--green); border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-bg);
}
.track-item.active::before {
  background: var(--bleu); border-color: var(--bleu);
  box-shadow: 0 0 0 4px rgba(190,136,72,0.15);
}
.track-item .tl-label { font-size: 14px; font-weight: 600; color: var(--ink-900); }
.track-item .tl-time { font-size: 11px; color: var(--ink-500); font-weight: 500; }

.partner-card {
  background: var(--card-cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex; align-items: center; gap: 12px;
}
.partner-card .pc-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bleu-grad);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
  flex-shrink: 0;
}
.partner-card .pc-call {
  width: 38px; height: 38px;
  background: var(--green); color: white;
  border: none; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(22,163,74,0.25);
}
.partner-card .pc-chat {
  width: 38px; height: 38px;
  background: var(--bleu); color: white;
  border: none; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(190,136,72,0.25);
}

/* ============================================
   Wallet card (premium gradient)
   ============================================ */
.wallet-card {
  background: var(--bleu-grad);
  color: white;
  padding: 22px;
  border-radius: 20px;
  margin: 0 18px 18px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(190,136,72,0.30);
}
.wallet-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 70%);
}
.wallet-card::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.10), transparent 70%);
}
.wallet-card .w-label { font-size: 12px; opacity: 0.9; font-weight: 500; position: relative; z-index: 2; }
.wallet-card .w-amt { font-size: 30px; font-weight: 700; margin-top: 6px; letter-spacing: -0.6px; position: relative; z-index: 2; }
.wallet-card .w-plus {
  position: absolute; top: 18px; right: 18px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.22);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  color: white;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.wallet-card .w-chip {
  position: absolute; bottom: 18px; right: 18px;
  font-size: 9px; font-weight: 700; letter-spacing: 0.5px;
  opacity: 0.7; z-index: 2;
}

/* ============================================
   Profile
   ============================================ */
.profile-top {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 22px 18px;
}
.avatar-init {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--bleu-grad);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 22px;
  letter-spacing: -0.5px;
  box-shadow: 0 8px 18px rgba(190,136,72,0.24);
  flex-shrink: 0;
}
.avatar-init.sm { width: 44px; height: 44px; font-size: 15px; }
.profile-name { font-size: 18px; font-weight: 700; color: var(--ink-900); }
.profile-phone { font-size: 13px; color: var(--ink-500); margin-top: 2px; }

.menu-card {
  background: var(--card-cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.menu-card .menu-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
}
.menu-card .menu-row:last-child { border-bottom: none; }
.menu-row .mi {
  width: 36px; height: 36px;
  background: var(--bleu-bg);
  color: var(--bleu);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}
.menu-row .mt { flex: 1; font-size: 14px; font-weight: 500; color: var(--ink-900); }
.menu-row .ma { color: var(--ink-400); font-size: 12px; }

/* ============================================
   Sidebar drawer
   ============================================ */
.drawer-screen { background: rgba(15,23,42,0.5); flex: 1; display: flex; }
.drawer {
  width: 280px;
  background: var(--card-cream);
  display: flex; flex-direction: column;
  padding: 18px 0;
  box-shadow: 4px 0 24px rgba(0,0,0,0.10);
}
.drawer-dim { flex: 1; position: relative; }
.drawer-dim::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(15,23,42,0.5);
}
.drawer-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px;
  margin: 2px 12px;
  border-radius: 12px;
  cursor: pointer;
}
.drawer-item.active {
  background: var(--bleu-bg);
}
.drawer-item .di-icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-500);
  font-size: 14px;
}
.drawer-item.active .di-icon {
  background: var(--bleu);
  color: white;
  border-radius: 10px;
}
.drawer-item .di-label {
  font-size: 14px; font-weight: 500;
  color: var(--ink-700);
}
.drawer-item.active .di-label { color: var(--bleu); font-weight: 600; }
.drawer-item .di-trail {
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  margin-left: auto;
}

/* ============================================
   Store front photo (CSS-only premium mock)
   ============================================ */
.store-photo {
  height: 240px;
  border-radius: 18px;
  margin: 0 18px 14px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #1E40AF 0%, #1E3A8A 30%, #1E293B 30%, #0F172A 100%);
  box-shadow: 0 8px 24px rgba(0,0,0,0.16);
}
/* Sky gradient + sun */
.store-photo::before {
  content: '';
  position: absolute;
  top: 12px; left: 14px;
  width: 50px; height: 50px;
  background: radial-gradient(circle, rgba(252,211,77,0.55), transparent 65%);
  border-radius: 50%;
}
/* Signboard */
.store-sign {
  position: absolute;
  top: 30px; left: 14%; right: 14%;
  background: linear-gradient(180deg, #FCD34D 0%, #F59E0B 100%);
  border: 2px solid #92400E;
  text-align: center;
  padding: 10px 12px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 13px; line-height: 1.2;
  color: #B91C1C;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.40), inset 0 2px 4px rgba(255,255,255,0.4);
  z-index: 3;
  font-family: 'Poppins', sans-serif;
}
.store-sign small {
  display: block;
  font-size: 9px; font-weight: 600;
  color: #1F2937; margin-top: 2px; letter-spacing: 1px;
}
/* Store interior (visible through doors) */
.store-interior {
  position: absolute;
  left: 14%; right: 14%;
  top: 90px; bottom: 0;
  background: linear-gradient(180deg, #92400E 0%, #1F2937 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 8px;
}
.store-interior .shelf {
  background: rgba(254, 240, 138, 0.15);
  border-radius: 2px;
  position: relative;
}
.store-interior .shelf::before, .store-interior .shelf::after {
  content: '';
  position: absolute; left: 0; right: 0;
  height: 1px;
  background: rgba(252, 211, 77, 0.4);
}
.store-interior .shelf::before { top: 33%; }
.store-interior .shelf::after { top: 66%; }

/* Door divider */
.store-door {
  position: absolute;
  left: 50%; top: 90px; bottom: 0;
  width: 4px;
  background: rgba(0,0,0,0.6);
  z-index: 2;
  transform: translateX(-50%);
}
/* Side walls */
.store-photo > .wall-l {
  position: absolute;
  left: 0; top: 90px; bottom: 0;
  width: 14%;
  background: linear-gradient(90deg, #1F2937, #374151);
}
.store-photo > .wall-r {
  position: absolute;
  right: 0; top: 90px; bottom: 0;
  width: 14%;
  background: linear-gradient(-90deg, #1F2937, #374151);
}
.retake-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bleu-bg); color: var(--bleu);
  padding: 10px 18px;
  border-radius: 999px; border: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 600; font-size: 13px;
  margin: 0 auto 18px;
  display: flex; width: fit-content;
}

/* ============================================
   Success hero (no SVG, premium icon)
   ============================================ */
.success-hero {
  width: 110px; height: 110px;
  margin: 40px auto 24px;
  position: relative;
}
.success-hero .ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--green-bg);
}
.success-hero .ring.r2 {
  inset: 10px;
  background: #BBF7D0;
}
.success-hero .check {
  position: absolute; inset: 22px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  box-shadow: 0 12px 24px rgba(22,163,74,0.32);
}
.success-hero::before, .success-hero::after {
  content: '';
  position: absolute;
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
}
.success-hero::before { top: -4px; right: 20px; }
.success-hero::after { bottom: 10px; left: -2px; width: 8px; height: 8px; opacity: 0.5; }

/* Lock hero for OTP */
.lock-hero {
  width: 80px; height: 80px;
  margin: 32px auto 24px;
  background: var(--bleu-bg);
  border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  color: var(--bleu); font-size: 32px;
  position: relative;
}
.lock-hero::after {
  content: '';
  position: absolute;
  width: 100px; height: 100px;
  border: 2px solid var(--bleu-bg);
  border-radius: 28px;
}

/* ============================================
   Warm cream canvas (override shared white bg)
   ============================================ */
.mobile-frame { background: var(--cream); }
html.in-iframe, html.in-iframe body, body.in-iframe { background: var(--cream) !important; }
