@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
  /* ZUS Coffee Signature Modern Palette */
  --zus-blue: #0052FF;        /* ZUS Signature Vibrant Electric Blue */
  --zus-blue-dark: #003ECC;   /* ZUS Deep Royal Blue */
  --zus-navy: #0F1E36;        /* ZUS Signature Midnight Navy */
  --zus-navy-dark: #0B1424;   /* Deepest Navy Surface */
  --navy: #0F1E36;
  --navy-light: #162A4A;
  --navy-2: #0B1424;
  --electric: #0052FF;        /* Vibrant Electric Accent */
  --gold: #F7C948;            /* ZUS Gold Reward Highlight */
  --gold-light: #FFFBEB;      /* Warm Amber Soft Tint */
  --ink: #0F172A;             /* High Contrast Slate Dark Text */
  --muted: #64748B;           /* Crisp Slate Grey Description Text */
  --line: #E2E8F0;            /* Delicate Clean Dividers */
  --paper: #F4F6FB;           /* Clean Modern Cool Slate Backdrop */
  --panel: #FFFFFF;           /* Pure White Floating Cards */
  --soft: #F1F5F9;            /* Soft Slate Input/Pill Fill */
  --blue-soft: #EFF6FF;       /* Soft Blue Tint */
  --leaf: #10B981;            /* Emerald Green status */
  --danger: #EF4444;          /* Vivid Red Alert */
  
  /* ZUS Glass & Ambient Glow Shadows */
  --shadow-color: 15, 30, 54;
  --shadow-sm: 0 4px 16px rgba(15, 30, 54, 0.05);
  --shadow-md: 0 12px 32px rgba(15, 30, 54, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 30, 54, 0.14);
  --shadow-blue: 0 8px 24px rgba(0, 82, 255, 0.28);
  --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.02);
  
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: 'Outfit', 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

/* ════════════════════════════════════════════════════
   SPLASH / LOADING SCREEN
   ════════════════════════════════════════════════════ */
.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #0B1424 0%, #0F1E36 50%, #162A4A 100%);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.splash-screen.splash-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.splash-logo-wrap {
  position: relative;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.splash-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 50%;
  animation: splashPulse 2s ease-in-out infinite;
  filter: drop-shadow(0 8px 24px rgba(0, 82, 255, 0.4));
}

.splash-ring {
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
  border-top-color: #0052FF;
  border-right-color: rgba(0, 82, 255, 0.3);
  border-radius: 50%;
  animation: splashSpin 1.2s linear infinite;
}

.splash-brand {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: 0.12em;
  text-shadow: 0 2px 14px rgba(0, 82, 255, 0.4);
}

.splash-tagline {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.04em;
  margin-top: -8px;
}

.splash-dots {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.splash-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0052FF;
  animation: splashDot 1.4s ease-in-out infinite;
}
.splash-dots span:nth-child(2) { animation-delay: 0.2s; }
.splash-dots span:nth-child(3) { animation-delay: 0.4s; }

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

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

@keyframes splashDot {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1.2); }
}

/* ════════════════════════════════════════════════════
   KEYFRAMES & CORE ANIMATIONS
   ════════════════════════════════════════════════════ */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0px); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

@keyframes glowPulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 82, 255, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(0, 82, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 82, 255, 0); }
}

.animate-fade-in {
  animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: #F4F6FB;
  background-image: 
    radial-gradient(at 0% 0%, rgba(0, 82, 255, 0.05) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(56, 189, 248, 0.04) 0px, transparent 50%),
    radial-gradient(at 50% 100%, rgba(247, 201, 72, 0.03) 0px, transparent 50%);
  background-attachment: fixed;
  touch-action: pan-x pan-y;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  line-height: 1.5;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  touch-action: pan-x pan-y;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

button,
input,
select,
textarea {
  font-family: inherit;
  color: inherit;
  touch-action: manipulation;
}

/* Prevent iOS Safari from zooming when focusing input fields */
@media screen and (max-width: 768px) {
  input,
  select,
  textarea {
    font-size: 16px !important;
  }
}

button {
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
  touch-action: manipulation;
}

/* APP SHELL CONTAINER */
.app-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ZUS SIGNATURE TOPBAR */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: linear-gradient(135deg, #0F1E36 0%, #162A4A 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(15, 30, 54, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: var(--transition);
}

.brand:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(0, 82, 255, 0.3);
  transition: var(--transition);
}

.brand:hover img {
  transform: scale(1.04);
  box-shadow: 0 0 20px rgba(0, 82, 255, 0.5), 0 0 0 2px rgba(0, 82, 255, 0.4);
}

.brand span {
  display: flex;
  flex-direction: column;
}

.brand strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: 0.02em;
}

.brand small {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.74rem;
  font-weight: 500;
  margin-top: 1px;
}

/* SEGMENT MODE TABS (ZUS Pill Style) */
.mode-tabs,
.store-controls {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.mode-tab,
.status-button {
  padding: 8px 20px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  transition: var(--transition);
}

.mode-tab:hover,
.status-button:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.mode-tab.is-active,
.status-button.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, #0052FF 0%, #1D4ED8 100%);
  box-shadow: 0 4px 16px rgba(0, 82, 255, 0.4);
}

/* VIEW SWITCHER */
.view {
  display: none;
  padding: clamp(16px, 3vw, 40px);
  animation: fadeIn 0.4s ease-out;
}

.view.is-visible {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* CUSTOMER VIEW LAYOUT */
.customer-stage {
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: clamp(24px, 4vw, 48px);
  max-width: 1440px;
  margin: 0 auto;
  align-items: start;
}

/* SMARTPHONE MOCKUP FRAME (ZUS Modern Frame) */
.phone-frame {
  position: sticky;
  top: 100px;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  background: #0B1424;
  border-radius: 48px;
  padding: 12px;
  box-shadow: 
    0 30px 80px -15px rgba(11, 20, 36, 0.45),
    0 0 0 3px #13223B,
    0 0 0 8px #0B1424,
    inset 0 0 0 2px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: var(--transition);
}

/* Phone Bezel Top Notch (Dynamic Island Style) */
.phone-frame::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 20px;
  background: #000000;
  border-radius: 14px;
  z-index: 10;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px 4px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.7rem;
  font-weight: 700;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9;
  letter-spacing: -0.01em;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--paper);
  border-radius: 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mobile-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 20px 16px;
  color: #ffffff;
}

.mobile-header p {
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.85;
}

.mobile-header h1 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 2px;
}

/* Round functional buttons inside phone */
.round-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transition: var(--transition);
}

.round-icon:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.logo-icon img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.alert-icon span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--danger);
  position: absolute;
  top: 10px;
  right: 10px;
  box-shadow: 0 0 0 2px #ffffff;
}

.phone-pages {
  position: relative;
  z-index: 2;
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
  padding: 56px 16px 85px;
}

.phone-pages::-webkit-scrollbar {
  display: none;
}

.phone-page {
  display: none;
  opacity: 0;
}

.phone-page.is-active {
  display: block;
  animation: fadeSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* PREMIUM MEMBERSHIP CARD */
.membership-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  border-radius: 20px;
  padding: 16px;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.membership-card::after {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 168, 59, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.membership-card span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.75;
  font-weight: 600;
}

.membership-card strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  display: block;
  margin-top: 2px;
  color: #ffffff;
}

.membership-card [data-reward-points] {
  color: var(--gold);
  font-size: 1.45rem;
  font-weight: 800;
}

.membership-card .progress-track {
  grid-column: 1 / -1;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 99px;
  margin-top: 8px;
  overflow: hidden;
}

.membership-card .progress-track span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold) 0%, #ffdf79 100%);
  border-radius: 99px;
  transition: width 0.5s ease-out;
}

/* PREMIUM PROMO CARD */
.promo-card {
  position: relative;
  height: 180px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: var(--transition);
}

.promo-card:hover {
  transform: translateY(-2px);
}

.promo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.promo-card:hover img {
  transform: scale(1.03);
}

.promo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(18, 32, 72, 0.9) 0%, rgba(18, 32, 72, 0.2) 80%, transparent 100%);
}

.promo-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
  max-width: 80%;
}

.promo-copy p {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.promo-copy h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 8px;
}

.promo-copy span {
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: 99px;
  backdrop-filter: blur(5px);
  align-self: flex-start;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ORDER PANEL & QUICK ACTION */
.order-panel {
  background: var(--panel);
  border-radius: 20px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(var(--shadow-color), 0.04);
}

.pickup-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--blue-soft);
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.pickup-badge span {
  opacity: 0.75;
}

.address-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.address-line > span {
  background: var(--blue-soft);
  color: var(--navy);
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.address-line strong {
  display: block;
  font-size: 0.88rem;
  color: var(--navy);
  font-family: var(--font-display);
}

.address-line p {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.35;
}

.primary-action {
  width: 100%;
  background: var(--navy);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 12px;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(var(--shadow-color), 0.2);
}

.primary-action:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
}

.primary-action:active {
  transform: translateY(1px);
}

/* REWARDS AND DAILY LOGIN */
.rewards-card,
.reward-checkin {
  background: var(--panel);
  border-radius: 20px;
  padding: 18px;
  border: 1px solid rgba(43, 79, 191, 0.05);
  box-shadow: 0 8px 24px rgba(43, 79, 191, 0.03);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rewards-card {
  background: linear-gradient(-45deg, var(--navy-light) 0%, var(--navy-2) 100%);
  color: #ffffff;
}

.rewards-card p,
.reward-checkin p {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.rewards-card h2,
.reward-checkin h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  margin-top: 4px;
  color: var(--navy-2);
}

.rewards-card span,
.reward-checkin span {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
  display: block;
  margin-top: 4px;
}

.reward-action {
  background: linear-gradient(135deg, var(--gold) 0%, #D28D22 100%);
  color: var(--navy-2);
  padding: 10px 20px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(229, 168, 59, 0.25);
  transition: var(--transition);
}

.reward-action:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 16px rgba(229, 168, 59, 0.4);
}

.reward-action:disabled {
  background: var(--soft);
  color: var(--muted);
  cursor: not-allowed;
}

/* QUICK ACTION LIST */
.quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.quick-actions button {
  background: var(--panel);
  border: 1px solid rgba(var(--shadow-color), 0.04);
  border-radius: 20px;
  padding: 14px;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.quick-actions button:hover {
  transform: translateY(-2px);
}
.quick-actions strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--navy);
}

.quick-actions span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.3;
}

/* BOTTOM FIXED NAV FOR PHONE */
.bottom-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(43, 79, 191, 0.06);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 8px));
  box-shadow: 0 -8px 30px rgba(43, 79, 191, 0.05);
}

.bottom-nav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  color: #94A3B8;
  transition: var(--transition);
  padding: 6px 4px;
  border-radius: 14px;
  position: relative;
}

.nav-icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  transition: var(--transition);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.bottom-nav button.is-active {
  color: var(--navy);
  background: var(--blue-soft);
}

.bottom-nav button.is-active .nav-icon {
  transform: scale(1.12) translateY(-1px);
  filter: drop-shadow(0 2px 4px rgba(15, 23, 42, 0.25));
}

/* PHONE MENU VIEW SECTION */
.phone-section-head {
  padding: 12px 4px 10px;
  color: #ffffff;
}

.phone-section-head p {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.phone-section-head h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  margin-top: 2px;
  line-height: 1.2;
  color: #FFFFFF;
}

.phone-search {
  display: block;
  margin-bottom: 12px;
  width: 100%;
}

.phone-search input,
.search-box input {
  width: 100%;
  background: var(--panel);
  border: 1px solid rgba(var(--shadow-color), 0.08);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.85rem;
  color: var(--ink);
  outline: none;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.phone-search input:focus,
.search-box input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(var(--shadow-color), 0.1);
}

.phone-filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 16px;
  scrollbar-width: none;
}

.phone-filter-row::-webkit-scrollbar {
  display: none;
}

.phone-filter-row button {
  background: #FFFFFF;
  border: 1px solid var(--line);
  color: var(--navy);
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.phone-filter-row button:hover {
  background: var(--soft);
}

.phone-filter-row button.is-active {
  background: var(--navy);
  color: #FFFFFF;
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
}

/* LIST OF DRINKS IN PHONE */
.phone-menu-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phone-menu-item {
  background: var(--panel);
  border-radius: 20px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(43, 79, 191, 0.05);
  box-shadow: 0 6px 18px rgba(43, 79, 191, 0.03);
  transition: var(--transition);
}

.phone-menu-item:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 10px 24px rgba(43, 79, 191, 0.07);
  border-color: rgba(43, 79, 191, 0.1);
}

.phone-menu-item .drink-art {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
}

.phone-menu-item div {
  flex: 1;
  min-width: 0;
}

.phone-menu-item h3 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--navy-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-menu-item p {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
  margin-top: 2px;
}

.phone-add {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(43, 79, 191, 0.2);
  transition: var(--transition);
}

.phone-add:hover {
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 6px 16px rgba(43, 79, 191, 0.35);
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--electric) 100%);
}

/* PHONE CART PREVIEW */
.phone-cart-summary {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  border-radius: 20px;
  padding: 14px 16px;
  color: #ffffff;
  margin-top: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.phone-cart-summary div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.phone-cart-summary p {
  font-size: 0.75rem;
  opacity: 0.8;
}

.phone-cart-summary strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
}

.phone-cart-summary button {
  width: 100%;
  background: var(--gold);
  color: var(--navy-2);
  padding: 10px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  transition: var(--transition);
  text-align: center;
}

.phone-cart-summary button:hover {
  background: #f7b943;
}

/* REWARDS SUBPAGE IN PHONE */
.rewards-hero {
  background: var(--navy);
  color: #ffffff;
  border-radius: 20px;
  padding: 20px 16px;
  margin-bottom: 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rewards-hero p {
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.rewards-hero h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  margin: 6px 0;
  color: #FFFFFF;
}

.rewards-hero .progress-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 99px;
  margin: 14px auto;
  max-width: 85%;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rewards-hero .progress-track span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold) 0%, #F8D347 50%, var(--gold) 100%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite linear;
  border-radius: 99px;
  box-shadow: 0 0 8px rgba(229, 168, 59, 0.5);
}

.rewards-hero small {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.reward-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.reward-card-interactive {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 6px 20px rgba(15, 30, 54, 0.05);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.reward-card-interactive::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 4px;
  background: linear-gradient(180deg, #0052FF 0%, #38BDF8 100%);
  border-radius: 0 4px 4px 0;
}

.reward-card-interactive:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 82, 255, 0.12);
  border-color: rgba(0, 82, 255, 0.3);
}

.reward-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 82, 255, 0.08);
}

.reward-card-info {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.reward-card-info strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  color: #0F1E36;
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}

.reward-card-info p {
  font-size: 0.74rem;
  color: #64748B;
  font-weight: 500;
  line-height: 1.35;
}

.reward-redeem-btn {
  background: linear-gradient(135deg, #0052FF 0%, #1D4ED8 100%);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 12px;
  border: none;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 82, 255, 0.28);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.reward-redeem-btn:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #1D4ED8 0%, #003ECC 100%);
  box-shadow: 0 6px 18px rgba(0, 82, 255, 0.4);
}

/* ACCOUNT VIEW */
.account-profile {
  background: var(--panel);
  border-radius: 24px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(43, 79, 191, 0.05);
  box-shadow: 0 8px 24px rgba(43, 79, 191, 0.03);
  margin-bottom: 20px;
}

.account-profile img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 0 3px rgba(43, 79, 191, 0.15), 0 8px 20px rgba(43, 79, 191, 0.2);
  transition: var(--transition);
}
.account-profile:hover img {
  transform: rotate(5deg) scale(1.05);
  box-shadow: 0 0 0 3px rgba(43, 79, 191, 0.25), 0 12px 24px rgba(43, 79, 191, 0.35);
}

.account-profile p {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
}

.account-profile h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-2);
  margin-top: 1px;
}

.account-profile span {
  font-size: 0.72rem;
  color: var(--navy-light);
  font-weight: 700;
}

.account-list {
  background: var(--panel);
  border-radius: 22px;
  border: 1px solid rgba(43, 79, 191, 0.05);
  box-shadow: 0 8px 24px rgba(43, 79, 191, 0.03);
  overflow: hidden;
}

.account-list article {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(43, 79, 191, 0.04);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.account-list article:hover {
  background: rgba(43, 79, 191, 0.02);
}

.account-list article:last-child {
  border-bottom: none;
}

.account-list span {
  font-size: 0.65rem;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.account-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.88rem;
  color: var(--navy);
  margin-top: 2px;
}


/* ORDERING WORKSPACE (DESKTOP GRID) */
.ordering-workspace {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
}

.discover-panel,
.menu-panel,
.cart-panel,
.status-panel,
.availability-panel,
.schema-panel,
.pos-panel {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(43, 79, 191, 0.08);
  transition: var(--transition);
}

.discover-panel:hover,
.menu-panel:hover,
.cart-panel:hover,
.status-panel:hover,
.availability-panel:hover,
.schema-panel:hover,
.pos-panel:hover {
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border-color: rgba(43, 79, 191, 0.15);
}

.discover-panel,
.menu-panel,
.status-panel {
  grid-column: 1;
}

.cart-panel {
  position: sticky;
  top: 100px;
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: start;
}

.section-heading,
.menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--electric);
  letter-spacing: 0.05em;
}

h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.service-chip,
.order-code {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--leaf);
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 12px;
  border-radius: 99px;
}

.order-code {
  color: var(--navy);
  background: var(--blue-soft);
  font-family: monospace;
}

/* CAFE LIST (NEARBY DISCOVERY) */
.cafe-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.cafe-row {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(43, 79, 191, 0.08);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: center;
  transition: var(--transition);
  cursor: pointer;
}

.cafe-row:hover {
  transform: translateY(-3px);
  border-color: var(--navy-light);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-md), 0 10px 20px rgba(43, 79, 191, 0.04);
}

.cafe-avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
}

.cafe-row h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
}

.cafe-row p {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 1px;
}

.open-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--leaf);
  display: inline-block;
  margin-top: 4px;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.icon-button {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.icon-button:hover {
  background: var(--line);
}

/* DRINKS MENU GRID */
.menu-shell {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
}

.category-rail {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-pill {
  padding: 12px 16px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--soft);
  text-align: left;
  transition: var(--transition);
}

.filter-pill:hover {
  color: var(--navy);
  background: var(--line);
}

.filter-pill.is-active {
  background: var(--navy);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(11, 43, 92, 0.15);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

/* MENU PRODUCT CARD */
.menu-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.menu-card:hover {
  transform: translateY(-3px);
  border-color: var(--navy-light);
  box-shadow: var(--shadow-md);
}

/* Redesigned 3D-Look Illustrated Cups */
.drink-art {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--drink-top) 0%, var(--drink-bottom) 100%);
  position: relative;
  box-shadow: 
    0 10px 20px rgba(0, 0, 0, 0.12),
    inset 0 -8px 0 rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.menu-card:hover .drink-art {
  transform: scale(1.05) rotate(3deg);
}

/* Cream cup lid shadow/glare overlay */
.drink-art::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 20%;
  right: 20%;
  height: 12px;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 99px;
  filter: blur(1px);
}

.drink-art::after {
  content: "";
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 80%);
  border-radius: 50%;
}

.menu-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.drink-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: 0.02em;
  margin-bottom: 2px;
}

.menu-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
}

.menu-card p {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.35;
  flex: 1;
}

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

.price-row strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
}

.small-action {
  background: var(--navy);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  transition: var(--transition);
}

.small-action:hover:not(:disabled) {
  background: var(--navy-light);
  transform: scale(1.03);
}

.small-action:disabled {
  background: var(--soft);
  color: var(--muted);
  cursor: not-allowed;
}

/* DESKTOP SIDEBAR CART */
.cart-body {
  min-height: 100px;
  background: var(--soft);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 16px;
  border: 1px dashed var(--line);
}

.empty-cart {
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
  padding: 20px 10px;
}

.cart-line-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.cart-line-header strong {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--navy);
  display: block;
}

.cart-line-header p {
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: 2px;
}

.cart-line > p {
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: 6px;
}

.quantity-stepper {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--panel);
  padding: 4px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.quantity-stepper button {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition);
}

.quantity-stepper button:hover {
  background: var(--line);
}

.quantity-stepper strong {
  font-size: 0.85rem;
  min-width: 14px;
  text-align: center;
}

.customizer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.customizer label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
}

.customizer select {
  width: 100%;
  background: var(--soft);
  border: 1px solid rgba(43, 79, 191, 0.08);
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  outline: none;
  margin-top: 6px;
  transition: var(--transition);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%232B4FBF' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
}

.customizer select:hover {
  background-color: var(--blue-soft);
  border-color: var(--navy-light);
}

.customizer select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(43, 79, 191, 0.1);
  background-color: #ffffff;
}

.cart-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

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

.total-row span {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

.total-row strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
}

/* LIVE TIMELINE PROGRESS TRACKER */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.status-popup {
  background: var(--panel);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.status-pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--electric);
  position: relative;
  flex-shrink: 0;
}

.status-pulse::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--electric);
  animation: pulse 1.8s infinite ease-in-out;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

.status-popup.is-completed .status-pulse {
  background: var(--leaf);
}

.status-popup.is-completed .status-pulse::after {
  border-color: var(--leaf);
}

.status-popup strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--navy);
  display: block;
}

.status-popup p {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
}

.status-chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.status-chip-row span {
  padding: 6px 12px;
  border-radius: 99px;
  background: var(--soft);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  transition: var(--transition);
}

.status-chip-row span.is-done {
  background: var(--blue-soft);
  color: var(--navy);
}

.status-chip-row span.is-current {
  background: var(--navy);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(var(--shadow-color), 0.15);
}

/* MERCHANT DASHBOARD DESIGN */
.merchant-layout,
.plan-layout {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.merchant-header,
.plan-intro {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #ffffff;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.merchant-header h1,
.plan-intro h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #ffffff;
}

.merchant-header p,
.plan-intro p {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-top: 8px;
  max-width: 600px;
}

/* ════════════════════════════════════════════════════
   SHOP PROFILE PHOTO PANEL
   ════════════════════════════════════════════════════ */
.shop-profile-panel {
  background: var(--panel);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.shop-profile-card {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 16px;
}

.shop-photo-container {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  border: 3px solid var(--line);
}

.shop-photo-container:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy-light);
}

.shop-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--soft) 0%, var(--blue-soft) 100%);
  color: var(--muted);
  gap: 8px;
}

.shop-photo-placeholder svg {
  opacity: 0.5;
}

.shop-photo-placeholder span {
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.7;
}

.shop-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shop-photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #ffffff;
}

.shop-photo-container:hover .shop-photo-overlay {
  opacity: 1;
}

.shop-photo-overlay svg {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.shop-photo-overlay span {
  font-size: 0.72rem;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.shop-profile-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shop-profile-info h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
}

.shop-profile-info p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

.shop-profile-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 99px;
  width: fit-content;
}

.shop-profile-status.is-open {
  background: rgba(16, 185, 129, 0.1);
  color: var(--leaf);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.shop-profile-status.is-closed {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.shop-profile-status.is-busy {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.shop-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #ffffff;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(var(--shadow-color), 0.2);
  width: fit-content;
}

.shop-upload-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--shadow-color), 0.3);
}

/* ════════════════════════════════════════════════════
   MENU MANAGEMENT — DRINK PHOTOS
   ════════════════════════════════════════════════════ */
.menu-management-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.add-drink-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #ffffff;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(var(--shadow-color), 0.15);
}

.add-drink-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(var(--shadow-color), 0.25);
}

.add-drink-btn svg {
  flex-shrink: 0;
}

.delete-drink-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.delete-drink-btn:hover {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
  transform: scale(1.05);
}

/* Availability toggles (enhanced with thumbnails) */
.availability-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}

.availability-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  color: var(--navy);
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}

.availability-item:hover {
  border-color: rgba(var(--shadow-color), 0.15);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Drink thumbnail in availability list */
.drink-thumb {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid var(--line);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.drink-thumb:hover {
  transform: scale(1.06);
  border-color: var(--navy-light);
  box-shadow: 0 4px 14px rgba(var(--shadow-color), 0.2);
}

.drink-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--soft) 0%, var(--blue-soft) 100%);
}

.drink-thumb-placeholder svg {
  opacity: 0.5;
  color: var(--navy);
}

.drink-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.drink-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  color: #ffffff;
}

.drink-thumb:hover .drink-thumb-overlay {
  opacity: 1;
}

.availability-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.availability-item-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.availability-item-meta {
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 600;
  margin-top: 2px;
}

.availability-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.edit-drink-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.edit-drink-btn:hover {
  background: var(--navy);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Drink image in menu cards (when photo is available) */
.drink-art.has-image {
  background: none !important;
}

.drink-art.has-image::before,
.drink-art.has-image::after {
  display: none;
}

.drink-art-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Cafe avatar with image */
.cafe-avatar.has-image {
  padding: 0;
  overflow: hidden;
}

.cafe-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}


/* iOS Toggle switch styling */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch span {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: var(--soft);
  border-radius: 34px;
  transition: .3s;
}

.switch span::before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: .3s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.switch input:checked + span {
  background-color: var(--leaf);
}

.switch input:checked + span::before {
  transform: translateX(20px);
}

/* QUEUE BOARD */
.queue-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.queue-column {
  background: rgba(var(--shadow-color), 0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  min-height: 400px;
}

.queue-column h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--line);
}

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

.queue-card {
  background: var(--panel);
  border-radius: var(--radius-sm);
  padding: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.queue-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

.queue-meta strong {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 800;
}

.queue-card h3 {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--navy);
}

.queue-card p {
  font-size: 0.78rem;
  color: var(--muted);
}

.muted-action {
  width: 100%;
  text-align: center;
  background: var(--soft);
  color: var(--navy);
  padding: 8px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  transition: var(--transition);
}

.muted-action:hover:not(:disabled) {
  background: var(--line);
}

.muted-action:disabled {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  cursor: not-allowed;
}

/* PLAN ROADMAP WORKSPACE */
.milestone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.milestone-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.milestone-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.milestone-card span {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.milestone-card h2 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.milestone-card p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}

.schema-panel ul {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.schema-panel li {
  font-size: 0.85rem;
  color: var(--ink);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.schema-panel li::before {
  content: "✓";
  color: var(--leaf);
  font-weight: 700;
}

.pos-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  overflow: hidden;
}

.pos-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pos-copy h2 {
  margin-bottom: 8px;
}

.pos-copy p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

.pos-panel img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

/* RESPONSIVE STYLING */
@media (max-width: 1024px) {
  .customer-stage {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .phone-frame {
    position: static;
    max-width: 380px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .topbar {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px;
  }
  
  .mode-tabs,
  .store-controls {
    width: 100%;
    justify-content: stretch;
  }
  
  .mode-tab,
  .status-button {
    flex: 1;
    text-align: center;
  }
  
  .ordering-workspace {
    grid-template-columns: 1fr;
  }
  
  .cart-panel {
    position: static;
  }
  
  .pos-panel {
    grid-template-columns: 1fr;
  }
  
  .pos-panel img {
    height: 180px;
  }
}

/* ════════════════════════════════════════════════════
   ADDITIONAL ROEYALS PRODUCTION STYLES
   ════════════════════════════════════════════════════ */

/* Offline Indicator */
.offline-indicator {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--danger);
  color: #ffffff;
  text-align: center;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transform: translateY(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.offline-indicator.is-visible {
  transform: translateY(0);
}

/* PWA Install Banner */
.install-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  width: 90%;
  max-width: 450px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  z-index: 999;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.install-banner.is-visible {
  transform: translateX(-50%) translateY(0);
}
.install-banner-content {
  display: flex;
  align-items: center;
  gap: 12px;
}
.install-banner-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}
.install-banner-content strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
}
.install-banner-content p {
  font-size: 0.8rem;
  color: var(--muted);
}
.install-banner-actions {
  display: flex;
  gap: 12px;
}
.install-dismiss {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  background: var(--soft);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  transition: var(--transition);
}
.install-dismiss:hover {
  background: var(--line);
}
.install-accept {
  flex: 2;
  padding: 10px;
  border-radius: 10px;
  background: var(--navy);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  transition: var(--transition);
}
.install-accept:hover {
  background: var(--navy-light);
}

/* Toast Notification Container */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-left: 4px solid var(--navy);
  box-shadow: var(--shadow-md);
  border-radius: 8px;
  padding: 14px 20px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  max-width: 400px;
  pointer-events: auto;
  animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes toastIn {
  from { transform: translateX(120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
.toast-success { border-left-color: var(--leaf); }
.toast-error { border-left-color: var(--danger); }
.toast-order { border-left-color: var(--gold); }
.toast-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Auth Modal Overlay & Box */
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.auth-modal.is-visible {
  display: flex;
}
.auth-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(22, 29, 58, 0.5);
  backdrop-filter: blur(8px);
}
.auth-modal-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-lg);
  z-index: 2;
  animation: modalScaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes modalScaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.auth-modal-header {
  text-align: center;
  margin-bottom: 24px;
}
.auth-logo {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.auth-modal-header h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy);
}
.auth-modal-header p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 4px;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auth-field label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
}
.auth-field input, .auth-field select {
  width: 100%;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.88rem;
  outline: none;
  transition: var(--transition);
}
.auth-field input:focus, .auth-field select:focus {
  border-color: var(--navy);
  background: var(--panel);
}
.auth-error {
  color: var(--danger);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
}
.auth-toggle {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  margin-top: 8px;
}
.auth-toggle button {
  background: none;
  border: none;
  color: var(--navy-light);
  font-weight: 700;
  cursor: pointer;
  padding: 0 4px;
}
.auth-toggle button:hover {
  text-decoration: underline;
}

/* Auth Topbar Status */
.auth-bar {
  display: flex;
  align-items: center;
  gap: 16px;
}
.auth-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.auth-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  font-family: var(--font-display);
}
.auth-user-detail {
  display: flex;
  flex-direction: column;
}
.auth-user-detail strong {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}
.auth-user-detail span {
  font-size: 0.7rem;
  color: var(--muted);
}
.auth-login-btn {
  background: var(--navy);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
}
.auth-login-btn:hover {
  background: var(--navy-light);
}
.auth-signout-btn {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
}
.auth-signout-btn:hover {
  color: var(--danger);
  border-color: var(--danger);
}

/* Order Confirmation Modal */
.order-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 1010;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.order-confirm-modal.is-visible {
  display: flex;
}
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(22, 29, 58, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.order-confirm-card {
  width: 100%;
  max-width: 420px;
  background: var(--panel);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: modalScaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.confirm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.confirm-header h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
}
.modal-close {
  font-size: 1.1rem;
  color: var(--muted);
}
.confirm-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.confirm-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--soft);
  padding: 12px;
  border-radius: var(--radius-sm);
}
.drink-art-sm {
  width: 48px;
  height: 48px;
  margin: 0;
}
.confirm-item strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--navy);
}
.confirm-item p {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
}
.confirm-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.confirm-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}
.confirm-row span {
  color: var(--muted);
}
.confirm-row strong {
  color: var(--navy);
}
.confirm-total {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  font-size: 1rem;
}
.confirm-total strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
  font-weight: 800;
}
.confirm-footer {
  display: flex;
  gap: 12px;
  padding: 20px 24px;
  background: var(--soft);
  border-top: 1px solid var(--line);
}
.secondary-action {
  flex: 1;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
}
.secondary-action:hover {
  background: var(--line);
}

/* Sold Out Styling */
.is-soldout {
  opacity: 0.65;
}
.is-soldout .drink-art {
  filter: grayscale(0.8);
}
.is-soldout::before {
  content: "SOLD OUT";
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--danger);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.05em;
  z-index: 10;
}

/* Merchant Column Badge */
.queue-badge {
  background: var(--navy);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 6px;
  display: inline-block;
  vertical-align: middle;
}

/* Cafe Select Active State */
.cafe-row.is-selected {
  border-color: var(--navy);
  border-width: 1.5px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(225, 234, 255, 0.95) 100%);
  box-shadow: var(--shadow-md), 0 12px 28px rgba(43, 79, 191, 0.08), inset 0 2px 4px rgba(255, 255, 255, 0.8);
}

/* Order History (Account Page) */
.order-history {
  margin-top: 24px;
  border-top: 1px solid rgba(43, 79, 191, 0.08);
  padding-top: 20px;
}
.order-history-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy-2);
  margin-bottom: 14px;
}
.order-history-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.order-history-card {
  background: var(--panel);
  border: 1px solid rgba(43, 79, 191, 0.05);
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 4px 12px rgba(43, 79, 191, 0.02);
  transition: var(--transition);
}
.order-history-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(43, 79, 191, 0.06);
  border-color: rgba(43, 79, 191, 0.1);
}
.order-history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.order-history-header strong {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--navy-2);
}
.status-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 99px;
  background: var(--soft);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}
.status-badge.is-current {
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(43, 79, 191, 0.2);
}
.status-badge.is-done {
  background: linear-gradient(135deg, #2F8B68 0%, #22674C 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(47, 139, 104, 0.2);
}
.order-history-card p {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
  margin-top: 6px;
}

/* Daily Summary Counters */
.daily-summary-panel {
  background: var(--panel);
  border: 1px solid rgba(var(--shadow-color), 0.05);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  padding: 20px;
}
.daily-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 12px;
}
.summary-stat {
  background: var(--soft);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--line);
}
.summary-stat span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
}
.summary-stat strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
}
.summary-stat.is-alert {
  background: rgba(186, 63, 59, 0.05);
  border-color: rgba(186, 63, 59, 0.15);
}
.summary-stat.is-alert strong {
  color: var(--danger);
}

@media (max-width: 480px) {
  .toast-container {
    left: 12px;
    right: 12px;
    top: 12px;
  }
  .toast {
    min-width: 0;
    width: 100%;
  }
}

/* ════════════════════════════════════════════════════
   ROEYALS ROYAL BLUE THEME
   ════════════════════════════════════════════════════ */

/* Mobile Header ZUS */
.mobile-header-zus {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 48px 20px 14px;
  color: var(--navy-2);
}
.zus-greeting {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  letter-spacing: -0.01em;
}
.header-logo-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 2px rgba(255, 255, 255, 0.8);
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
}
.header-logo-badge:hover {
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 6px 16px rgba(43, 79, 191, 0.25), 0 0 0 2px #ffffff;
}
.header-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ZUS Horizontal Stats Row */
.zus-stats-row {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  padding: 0 4px;
}
.zus-stat-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 12px 14px;
  box-shadow: 0 8px 24px rgba(43, 79, 191, 0.05), inset 0 2px 4px rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.7);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 78px;
  overflow: hidden;
  transition: var(--transition);
}
.zus-stat-card:hover {
  transform: translateY(-3px) scale(1.02);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(43, 79, 191, 0.12);
  border-color: rgba(43, 79, 191, 0.2);
}
.zus-stat-label {
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
}
.zus-stat-val {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-2);
  margin-top: 4px;
  z-index: 1;
}
.zus-stat-icon {
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-size: 1.35rem;
  opacity: 0.15;
  font-weight: 900;
  user-select: none;
  transition: var(--transition);
}
.zus-stat-card:hover .zus-stat-icon {
  transform: scale(1.2) rotate(-8deg);
  opacity: 0.25;
}
.zus-stat-card:nth-child(3) .zus-stat-icon {
  font-size: 1.4rem;
  opacity: 0.22;
  color: var(--navy);
}

/* ZUS Large Hero Card */
.zus-hero-card {
  background: linear-gradient(-45deg, var(--navy-2), var(--navy), var(--navy-light), var(--electric));
  background-size: 300% 300%;
  animation: gradientShift 8s ease infinite;
  border-radius: 30px;
  padding: 24px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(43, 79, 191, 0.18), inset 0 2px 4px rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 24px;
  height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.zus-hero-card::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(108, 155, 242, 0.3) 0%, transparent 70%);
  pointer-events: none;
}
.zus-hero-card::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
  pointer-events: none;
}
.zus-hero-title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  background: linear-gradient(to bottom, #FFFFFF 60%, rgba(255, 255, 255, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Cups Showcase */
.zus-cups-showcase {
  position: relative;
  height: 165px;
  width: 100%;
  margin-top: 15px;
}
.zus-cup-item {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.zus-cup-item:hover {
  z-index: 10;
  transform: scale(1.1) translateY(-6px) !important;
}

/* Positioning of ZUS overlapping cups */
.cup-left {
  left: 6px;
  bottom: 0;
  transform: rotate(-10deg);
  z-index: 1;
}
.cup-center {
  left: 50%;
  transform: translateX(-50%);
  bottom: 12px;
  z-index: 3;
}
.cup-right {
  right: 6px;
  bottom: 0;
  transform: rotate(10deg);
  z-index: 2;
}

/* Cup label text styling */
.cup-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 8px;
  color: #FFFFFF;
  text-align: center;
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.cup-label strong {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.cup-label small {
  font-size: 0.62rem;
  opacity: 0.95;
}

/* CSS Cup Models */
.cup-glass, .cup-mug {
  width: 68px;
  height: 88px;
  position: relative;
  border-radius: 6px 6px 22px 22px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}
.cup-glass {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.cup-glass::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8px;
  width: 8px;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.25) 0%, transparent 100%);
}
.cup-glass::after {
  content: "";
  position: absolute;
  top: 0;
  right: 8px;
  width: 4px;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
}
.cup-gradient-liquid {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 82%;
  border-radius: 0 0 20px 20px;
}
.buttercreme-gradient {
  background: linear-gradient(to top, #b57a3e 0%, #dfbf93 60%, #fffdec 100%);
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.4);
}
.spanish-gradient {
  background: linear-gradient(to top, #3b220e 0%, #764e2d 35%, #cfb395 70%, #ffffff 100%);
  background-size: 100% 200%;
  animation: swirlSlow 8s ease-in-out infinite alternate;
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.3);
}
@keyframes swirlSlow {
  0% { background-position: 0% 0%; }
  100% { background-position: 0% 100%; }
}
.cup-lid-ice {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 16px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.2) 100%);
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 6px 6px 0 0;
}

/* Royal Blue Mug (Center signature cup) */
.cup-mug.auburn-mug {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  width: 74px;
  height: 94px;
  box-shadow: 0 12px 28px rgba(43, 79, 191, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 6px 6px 24px 24px;
}
.mug-handle {
  position: absolute;
  right: -14px;
  top: 20px;
  width: 18px;
  height: 48px;
  border: 6px solid var(--navy);
  border-left: none;
  border-radius: 0 16px 16px 0;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.25);
  z-index: -1;
}
.cup-center:hover .cup-mug.auburn-mug {
  border-color: rgba(255, 255, 255, 0.3);
}
.mug-crest {
  font-size: 1.45rem;
  filter: drop-shadow(0 0 8px rgba(229, 168, 59, 0.8));
  animation: crestPulse 2s infinite alternate ease-in-out;
}
@keyframes crestPulse {
  0% { transform: scale(1) translateY(0); filter: drop-shadow(0 0 4px rgba(229, 168, 59, 0.6)); }
  100% { transform: scale(1.08) translateY(-2px); filter: drop-shadow(0 0 12px rgba(229, 168, 59, 0.95)); }
}
.mug-lid {
  position: absolute;
  top: 0;
  left: -2px;
  right: -2px;
  height: 14px;
  background: #FFFFFF;
  border-radius: 6px 6px 4px 4px;
  box-shadow: inset 0 -2px 4px rgba(0,0,0,0.15), 0 2px 4px rgba(0,0,0,0.2);
}

/* Mode Selection Circles */
.zus-modes-row {
  display: flex;
  justify-content: space-around;
  padding: 16px 0 8px;
}
.zus-mode-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  width: 100px;
  transition: var(--transition);
}
.mode-icon-holder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(43, 79, 191, 0.05), inset 0 2px 4px rgba(255,255,255,0.8);
  border: 1px solid rgba(43, 79, 191, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  margin-bottom: 12px;
  position: relative;
  transition: var(--transition);
}
.zus-mode-circle:hover .mode-icon-holder {
  transform: translateY(-5px) scale(1.08);
  box-shadow: 0 16px 32px rgba(43, 79, 191, 0.16), 0 0 0 4px rgba(43, 79, 191, 0.1);
  color: #FFFFFF;
  border-color: rgba(43, 79, 191, 0.1);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}
.mode-icon-svg {
  width: 34px;
  height: 34px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.zus-mode-circle:hover .mode-icon-svg {
  transform: scale(1.1) rotate(-4deg);
}
.zus-mode-circle strong {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--navy-2);
  letter-spacing: 0.06em;
}

/* Coming soon flag badge */
.coming-soon-badge {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy-2) 100%);
  color: #FFFFFF;
  font-size: 0.52rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 99px;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(43, 79, 191, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: badgeBreathe 2s infinite alternate ease-in-out;
}
@keyframes badgeBreathe {
  0% { transform: translateX(-50%) scale(1); }
  100% { transform: translateX(-50%) scale(1.06); }
}

/* Floating speech bubble banner */
.zus-order-bubble {
  background: linear-gradient(135deg, var(--navy-2) 0%, var(--navy) 100%);
  color: #FFFFFF;
  padding: 11px 20px;
  border-radius: 16px;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
  width: fit-content;
  margin: 18px auto 0;
  box-shadow: 0 8px 24px rgba(43, 79, 191, 0.25);
  position: relative;
  border: 1px solid rgba(255,255,255,0.1);
  animation: bubbleBounce 3s infinite ease-in-out;
}
@keyframes bubbleBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Discover & Menu Hero Banners */
.discover-hero-banner,
.menu-hero-banner {
  background: linear-gradient(135deg, #0F1E36 0%, #162A4A 100%);
  border-radius: 24px;
  padding: 18px 16px 16px;
  margin-bottom: 20px;
  box-shadow: 0 12px 32px rgba(15, 30, 54, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.discover-hero-banner::before,
.menu-hero-banner::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 82, 255, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.discover-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px 10px;
  color: #FFFFFF;
  position: relative;
  z-index: 2;
}
.discover-subtitle {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.discover-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-top: 2px;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-transform: none;
}

/* Header Badge Logo */
.header-logo-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}
.header-logo-badge:hover {
  transform: scale(1.08) rotate(3deg);
}
.header-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

/* Discover Search Box */
.discover-search {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border-radius: 14px;
  padding: 10px 14px;
  gap: 10px;
  margin-bottom: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  position: relative;
  z-index: 2;
}
.discover-search:focus-within {
  border-color: var(--navy-light);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.15), 0 0 0 3px rgba(15, 23, 42, 0.12);
  transform: translateY(-1px);
}
.discover-search-icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.25);
}
.discover-search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: #0F172A;
  font-weight: 700;
}
.discover-search input::placeholder {
  color: #475569;
  font-weight: 600;
  opacity: 1;
}

/* Discover Section Title — High Contrast Dark Navy for Light Background */
.discover-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  margin-bottom: 12px;
}
.discover-section-title h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #0F172A !important;
  letter-spacing: -0.01em;
  text-shadow: none !important;
}
.discover-count {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  color: #0F172A;
  background: #FFE5D9;
  padding: 4px 12px;
  border-radius: 99px;
  border: 1px solid rgba(15, 23, 42, 0.12);
}

/* Discover Cafe Card (ZUS Store Card) */
.discover-cafe-card {
  background: #FFFFFF;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(15, 30, 54, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.9);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.discover-cafe-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(0, 82, 255, 0.15);
  border-color: rgba(0, 82, 255, 0.3);
}
.discover-cafe-card:active {
  transform: translateY(-1px) scale(0.99);
}

/* Banner Top */
.discover-cafe-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 10px;
}
.discover-cafe-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  padding: 0;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(15, 30, 54, 0.12));
}
.discover-cafe-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}
.discover-cafe-status {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 5px 13px;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--leaf);
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.discover-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 8px var(--leaf);
  animation: glowPulse 2s infinite ease-in-out;
}
 
/* Cafe Info */
.discover-cafe-info {
  padding: 6px 18px 16px;
  color: var(--ink);
}
.discover-cafe-info h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.discover-cafe-info > p {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}
.discover-cafe-meta {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.discover-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #F1F5F9;
  padding: 5px 11px;
  border-radius: 99px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--navy);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

/* Cafe Action Bar (ZUS Electric Blue Button) */
.discover-cafe-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #0052FF 0%, #1D4ED8 100%);
  border-top: 1px solid rgba(226, 232, 240, 0.5);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  transition: var(--transition);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.discover-cafe-card:hover .discover-cafe-action {
  background: linear-gradient(135deg, #1D4ED8 0%, #003ECC 100%);
  color: #FFFFFF;
}

/* Coming Soon Placeholder */
.discover-coming-soon {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 2px dashed rgba(43, 79, 191, 0.15);
  border-radius: 20px;
  padding: 26px 18px;
  text-align: center;
  color: var(--muted);
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.4);
  transition: var(--transition);
}
.discover-coming-soon:hover {
  border-color: rgba(43, 79, 191, 0.25);
  background: rgba(255, 255, 255, 0.8);
}
.discover-coming-icon {
  font-size: 2.2rem;
  margin-bottom: 8px;
  display: block;
  animation: float 3s ease-in-out infinite;
}
.discover-coming-soon p {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 4px;
}
.discover-coming-soon small {
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
  opacity: 1;
}

/* ════════════════════════════════════════════════════
   CAFE DETAIL PAGE HEADER
   ════════════════════════════════════════════════════ */
.cafe-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 4px 14px;
  color: #FFFFFF;
  position: relative;
  z-index: 2;
}
.cafe-back-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 6px 14px 6px 10px;
  border-radius: 99px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}
.cafe-back-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}
.cafe-detail-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: #FFFFFF;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* ════════════════════════════════════════════════════
   PWA STANDALONE MODE — NATIVE APP EXPERIENCE
   ════════════════════════════════════════════════════
   When installed as a PWA (home screen / desktop app),
   the layout transforms to a full-screen mobile app.
   Normal browser layout is completely unaffected.
   ════════════════════════════════════════════════════ */

/* ════════════════════════════════════════════════════
   RESPONSIVE APP LAYOUTS
   ════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .topbar {
    padding: 10px 16px;
  }

  .brand small {
    display: none;
  }

  .view {
    padding: 12px !important;
  }

  .customer-stage {
    display: flex !important;
    flex-direction: column !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  .phone-frame {
    position: relative !important;
    top: 0 !important;
    width: 100% !important;
    max-width: 460px !important;
    margin: 0 auto !important;
    height: auto !important;
    min-height: 580px !important;
    aspect-ratio: unset !important;
    background: #0B1424 !important;
    border-radius: 28px !important;
    padding: 0 !important;
    box-shadow: 0 16px 40px rgba(15, 30, 54, 0.15) !important;
    overflow: hidden !important;
  }

  .phone-frame::before,
  .phone-status {
    display: none !important;
  }

  .phone-screen {
    width: 100% !important;
    min-height: 580px !important;
    height: auto !important;
    border-radius: 28px !important;
    overflow: hidden !important;
  }

  .phone-pages {
    padding: 12px 16px 90px !important;
  }

  .bottom-nav {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 999 !important;
    border-radius: 0 !important;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 8px)) !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    box-shadow: 0 -4px 30px rgba(15, 23, 42, 0.08) !important;
  }

  .install-banner {
    display: none !important;
  }
}

/* ════════════════════════════════════════════════════
   TOP DRINKS & HERO SHOWCASE STYLING
   ════════════════════════════════════════════════════ */
.top-drinks-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #FFC4B0;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.zus-cup-item.has-top-photo .cup-glass {
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden;
}

.cup-fit-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px 18px 12px 12px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
  transition: transform 0.4s ease;
}

.zus-cup-item:hover .cup-fit-image {
  transform: scale(1.08);
}

/* ════════════════════════════════════════════════════
   SHOP SETTINGS & EDIT DRINK BUTTONS
   ════════════════════════════════════════════════════ */
.shop-settings-panel {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

.settings-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.settings-form-grid .full-span {
  grid-column: span 2;
}

.edit-drink-btn {
  background: rgba(43, 79, 191, 0.08);
  color: var(--navy);
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.edit-drink-btn:hover {
  background: var(--navy);
  color: #FFFFFF;
}

/* ════════════════════════════════════════════════════
   FUN ANIMATED REWARDS PAGE STYLING
   ════════════════════════════════════════════════════ */
.rewards-tier-badge {
  display: inline-block;
  background: linear-gradient(135deg, #FFC4B0 0%, #FFA69E 100%);
  color: #0F172A;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  box-shadow: 0 4px 14px rgba(255, 166, 158, 0.4);
}

.rewards-pts-display {
  font-size: 2.5rem !important;
  font-weight: 900;
  color: #FFFFFF;
  text-shadow: 0 4px 20px rgba(255, 196, 176, 0.3);
}

.rewards-pts-display small {
  font-size: 1.1rem;
  opacity: 0.85;
}

.progress-track {
  position: relative;
  overflow: visible !important;
}

.progress-glow-head {
  position: absolute;
  right: -10px;
  top: -12px;
  font-size: 1.1rem;
  animation: crownPulse 1.8s ease-in-out infinite;
  filter: drop-shadow(0 2px 8px rgba(255, 196, 176, 0.8));
}

@keyframes crownPulse {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.25) translateY(-3px); }
}

.progress-milestones {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
}

.checkin-badge {
  font-size: 0.65rem;
  font-weight: 900;
  color: #EF4444;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.reward-card-interactive {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.reward-card-interactive:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 23, 42, 0.2);
  box-shadow: var(--shadow-md);
}

.reward-icon-box {
  font-size: 1.8rem;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reward-card-info {
  flex: 1;
  margin: 0 12px;
}

.reward-card-info strong {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0F172A;
  display: block;
}

.reward-card-info p {
  font-size: 0.72rem;
  color: #64748B;
  font-weight: 500;
}

.reward-redeem-btn {
  background: var(--navy);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 12px;
  transition: var(--transition);
}

.reward-redeem-btn:hover {
  background: var(--electric);
  color: #0F172A;
  transform: scale(1.05);
}

/* ════════════════════════════════════════════════════
   ACCOUNT NAVIGATION CARDS & MODALS
   ════════════════════════════════════════════════════ */
.account-avatar-wrap {
  position: relative;
}

.avatar-vip-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  font-size: 1rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.role-pill {
  display: inline-block;
  background: var(--soft);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
  margin-top: 4px;
}

.account-nav-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.account-nav-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  width: 100%;
  text-align: left;
}

.account-nav-card:hover {
  transform: translateX(4px);
  border-color: rgba(15, 23, 42, 0.25);
  box-shadow: var(--shadow-md);
}

.nav-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.nav-card-text {
  flex: 1;
  margin: 0 14px;
}

.nav-card-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  color: #0F172A;
}

.nav-card-text small {
  font-size: 0.72rem;
  color: #64748B;
  font-weight: 500;
}

.nav-chevron {
  font-size: 1.4rem;
  color: #94A3B8;
  font-weight: 300;
}

.voucher-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--soft);
  border: 1.5px dashed var(--electric);
  padding: 14px;
  border-radius: 14px;
  margin-bottom: 10px;
}

.voucher-tag {
  background: var(--navy);
  color: #FFF;
  font-size: 0.6rem;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 6px;
}

.voucher-copy-btn {
  background: var(--navy);
  color: #FFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 10px;
}

.invite-banner-card {
  text-align: center;
  background: var(--gold-light);
  padding: 20px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 196, 176, 0.4);
}

.invite-gift-icon {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.referral-box {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.referral-box input {
  font-size: 0.78rem !important;
  background: #FFF;
  border: 1px solid var(--line);
  padding: 8px;
  border-radius: 10px;
  flex: 1;
}

.referral-copy-btn {
  background: var(--navy);
  color: #FFF;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 10px;
}

.help-action-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #DCFCE7;
  border: 1px solid #86EFAC;
  padding: 14px;
  border-radius: 14px;
  text-decoration: none;
  color: #14532D;
  margin-bottom: 14px;
}

.help-icon {
  font-size: 1.8rem;
}

.faq-item {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.faq-item strong {
  font-size: 0.82rem;
  color: #0F172A;
  display: block;
  margin-bottom: 4px;
}

.faq-item p {
  font-size: 0.75rem;
  color: #475569;
}

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

.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: #F8FAFC;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0F172A;
}

.badge-active {
  background: #DCFCE7;
  color: #15803D;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 8px;
}

body.pwa-standalone .view {
  padding: 0 !important;
  height: 100dvh;
  overflow: hidden;
}

body.pwa-standalone .discover-header {
  padding-top: 0 !important;
}

body.pwa-standalone .cafe-detail-header {
  padding-top: calc(20px + env(safe-area-inset-top, 10px));
}

body.pwa-standalone .toast-container {
  top: calc(12px + env(safe-area-inset-top, 0px)) !important;
}

body.pwa-standalone html,
body.pwa-standalone {
  background: var(--paper) !important;
  overscroll-behavior: none;
  -webkit-overflow-scrolling: touch;
}

/* ════════════════════════════════════════════════════
   MISSIONS & REWARDS PAGE — ZUS-STYLE LAYOUT
   ════════════════════════════════════════════════════ */

/* Page Header */
.missions-page-header {
  text-align: center;
  padding: 16px 0 8px;
}

.missions-page-header h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--navy-2);
  letter-spacing: -0.02em;
}

/* Tab Navigation */
.missions-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #E2E8F0;
  margin-bottom: 16px;
  padding: 0 4px;
}

.missions-tab {
  flex: 1;
  padding: 10px 6px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: #94A3B8;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.missions-tab.is-active {
  color: var(--navy-2);
  font-weight: 800;
}

.missions-tab.is-active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 10%;
  right: 10%;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px 2px 0 0;
}

/* VIP Badge & Balance Bar (Fun Animated UI) */
.missions-vip-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border-radius: 16px;
  padding: 14px 18px;
  margin-bottom: 16px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.25);
}

.animate-card-glow {
  position: relative;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
  background-size: 200% 200%;
  animation: vipCardGradient 6s ease infinite;
  overflow: hidden;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.animate-card-glow::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 60%);
  animation: vipGlowRotate 10s linear infinite;
  pointer-events: none;
}

@keyframes vipCardGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes vipGlowRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.missions-vip-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  z-index: 2;
}

.missions-vip-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #0F172A;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
  align-self: flex-start;
}

.animate-badge-pulse {
  animation: crownPulse 2s ease-in-out infinite;
}

@keyframes crownPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35); }
  50% { transform: scale(1.05); box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6); }
}

.vip-level-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.vip-level-name {
  font-size: 0.58rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
}

.vip-level-bar {
  width: 110px;
  height: 5px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 99px;
  overflow: hidden;
}

.vip-level-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #F59E0B 0%, #FBBF24 100%);
  border-radius: 99px;
  transition: width 0.4s ease;
}

.missions-balance {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  position: relative;
  z-index: 2;
}

.missions-balance-label {
  font-size: 0.58rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.missions-pts-group {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.missions-balance-pts {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: #FBBF24;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
}

.animate-pts-num {
  animation: ptsPulse 3s ease-in-out infinite;
}

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

.missions-balance-unit {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

/* Mission Action Buttons */
.mission-action-btn {
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.62rem;
  font-weight: 900;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
}

.mission-action-btn.start-btn {
  background: #2563EB;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.mission-action-btn.start-btn:hover {
  background: #1D4ED8;
  transform: translateY(-1px);
}

.mission-action-btn.in-progress {
  background: #F0F9FF;
  color: #1E3A5F;
  border: 1px solid #BAE6FD;
}

.mission-action-btn.claimable {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #FFFFFF;
  box-shadow: 0 3px 12px rgba(239, 68, 68, 0.4);
  animation: claimButtonPulse 1.8s ease-in-out infinite;
}

@keyframes claimButtonPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 3px 12px rgba(239, 68, 68, 0.4); }
  50% { transform: scale(1.05); box-shadow: 0 6px 18px rgba(239, 68, 68, 0.65); }
}

.mission-action-btn.completed {
  background: #DCFCE7;
  color: #166534;
  border: 1px solid #BBF7D0;
  cursor: default;
}

.my-reward-item-card {
  margin-bottom: 10px;
}

/* Tab Panels */
.missions-tab-panel {
  display: none;
}

.missions-tab-panel.is-active {
  display: block;
  animation: missionsFadeIn 0.3s ease;
}

@keyframes missionsFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Section Heading */
.missions-section-heading {
  margin-bottom: 14px;
}

.missions-section-heading h3 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--navy-2);
  letter-spacing: -0.01em;
}

/* Missions Grid 2x2 */
.missions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Individual Mission Card */
.mission-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.mission-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.02) 100%);
}

.mission-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
  border-color: rgba(15, 23, 42, 0.15);
}

/* Mission Tag */
.mission-tag {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  align-self: flex-start;
  line-height: 1.3;
}

/* Mission Description */
.mission-desc {
  font-size: 0.72rem;
  font-weight: 600;
  color: #1E293B;
  line-height: 1.4;
}

/* Progress Dots */
.mission-progress-dots {
  display: flex;
  gap: 4px;
  align-items: center;
}

.mission-progress-dots .dot {
  flex: 1;
  height: 5px;
  border-radius: 3px;
  background: #E2E8F0;
  transition: background 0.3s ease;
}

.mission-progress-dots .dot.filled {
  background: linear-gradient(90deg, #2563EB 0%, #3B82F6 100%);
  box-shadow: 0 1px 4px rgba(37, 99, 235, 0.3);
}

/* Mission Meta (pts + time) */
.mission-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mission-pts {
  font-size: 0.68rem;
  font-weight: 800;
  color: #2563EB;
}

.mission-time {
  font-size: 0.62rem;
  font-weight: 600;
  color: #94A3B8;
}

/* Mission Footer (status + frequency) */
.mission-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}

.mission-status {
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.mission-status.completed {
  background: #DCFCE7;
  color: #166534;
  border: 1px solid #BBF7D0;
}

.mission-status.in-progress {
  background: #F0F9FF;
  color: #1E3A5F;
  border: 1px solid #BAE6FD;
}

.mission-status.claimable {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
  cursor: pointer;
  animation: claimPulse 2s ease-in-out infinite;
}

@keyframes claimPulse {
  0%, 100% { box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3); }
  50% { box-shadow: 0 4px 16px rgba(239, 68, 68, 0.5); }
}

.mission-frequency {
  font-size: 0.58rem;
  font-weight: 600;
  color: #94A3B8;
}

/* My Rewards Empty State */
.my-rewards-empty {
  text-align: center;
  padding: 40px 16px;
}

.my-rewards-empty-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  animation: giftBounce 3s ease-in-out infinite;
}

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

.my-rewards-empty p {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--navy-2);
  margin-bottom: 4px;
}

.my-rewards-empty small {
  font-size: 0.72rem;
  color: #94A3B8;
  font-weight: 500;
}

/* ════════════════════════════════════════════════════
   CATEGORY SIDEBAR & SPLIT LAYOUT (MATCHING SCREENSHOT)
   ════════════════════════════════════════════════════ */

/* Menu Top Bar */
.menu-top-bar {
  margin-bottom: 10px;
}

.menu-store-info {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.menu-store-info strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--navy-2);
}

.menu-store-info small {
  font-size: 0.72rem;
  color: #64748B;
  font-weight: 600;
}

/* Promo Tickets Ticker */
.promo-ticker-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: none;
  margin-bottom: 8px;
}

.promo-ticker-scroll::-webkit-scrollbar {
  display: none;
}

.ticker-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.ticker-chip.chip-red {
  background: #FFF1F2;
  color: #E11D48;
  border: 1px dashed #FECDD3;
}

.ticker-chip.chip-orange {
  background: #FFF7ED;
  color: #EA580C;
  border: 1px dashed #FFEDD5;
}

.ticker-chip.chip-orange small {
  background: #EA580C;
  color: #FFFFFF;
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 0.58rem;
  margin-left: 2px;
}

.ticker-chip.chip-pink {
  background: #FDF2F8;
  color: #DB2777;
  border: 1px dashed #FBCFE8;
}

/* Split Sidebar Menu Layout */
.phone-menu-split-layout {
  display: flex;
  gap: 10px;
  min-height: 480px;
  margin-bottom: 16px;
}

/* Left Category Sidebar */
.phone-category-sidebar {
  width: 90px;
  flex-shrink: 0;
  background: #F8FAFC;
  border-radius: 16px;
  padding: 6px 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid #E2E8F0;
  max-height: 580px;
  overflow-y: auto;
  scrollbar-width: none;
}

.phone-category-sidebar::-webkit-scrollbar {
  display: none;
}

/* Sidebar Category Item */
.phone-cat-sidebar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 4px;
  border-radius: 12px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  width: 100%;
}

.phone-cat-sidebar-item:hover {
  background: #EDF2F7;
}

.phone-cat-sidebar-item.is-active {
  background: #FFFFFF;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.phone-cat-sidebar-item.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3.5px;
  background: #0052FF;
  border-radius: 0 4px 4px 0;
}

.cat-icon {
  font-size: 1.25rem;
  margin-bottom: 2px;
}

.cat-name {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  color: #475569;
  line-height: 1.2;
}

.phone-cat-sidebar-item.is-active .cat-name {
  color: #0F172A;
  font-weight: 900;
}

/* Category Badge Pill */
.cat-badge-pill {
  font-size: 0.52rem;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 10px;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.cat-badge-pill.badge-blue {
  background: #0052FF;
  color: #FFFFFF;
}

.cat-badge-pill.badge-orange {
  background: #FF6B00;
  color: #FFFFFF;
}

.cat-badge-pill.badge-dark {
  background: #0F172A;
  color: #FFFFFF;
}

/* Right Menu Content Area */
.phone-menu-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Category Hero Banner */
.category-hero-banner {
  background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
  color: #FFFFFF;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 4px 16px rgba(30, 58, 138, 0.2);
  position: relative;
  overflow: hidden;
}

.category-hero-banner .hero-badge {
  font-size: 0.56rem;
  font-weight: 900;
  background: #F59E0B;
  color: #0F172A;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.06em;
}

.category-hero-banner h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  margin: 4px 0 2px;
  color: #FFFFFF;
}

.category-hero-banner p {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

/* Merchant Category Management Grid */
.categories-list-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.merchant-cat-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.merchant-cat-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.merchant-cat-icon {
  font-size: 1.4rem;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.merchant-cat-info strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  color: #0F172A;
}

.merchant-cat-info small {
  font-size: 0.72rem;
  color: #64748B;
}

.merchant-cat-actions {
  display: flex;
  gap: 6px;
}

/* ════════════════════════════════════════════════════
   MENU TOP NAV & ORDERS TRACKING PAGE STYLES
   ════════════════════════════════════════════════════ */

.menu-top-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.menu-back-cafe-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #F1F5F9;
  color: #0F172A;
  border: 1px solid #E2E8F0;
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.menu-back-cafe-btn:hover {
  background: #E2E8F0;
}

/* Orders Page Styles */
.orders-page-header {
  margin-bottom: 14px;
}

.orders-page-header h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--navy-2);
}

.orders-page-header p {
  font-size: 0.72rem;
  color: #64748B;
  font-weight: 500;
}

/* Active Order Card */
.phone-active-order-card {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 18px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.active-order-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.active-order-badge {
  font-size: 0.55rem;
  font-weight: 900;
  color: #10B981;
  letter-spacing: 0.06em;
}

.active-order-head h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  color: #FFFFFF;
  margin-top: 2px;
}

.active-order-status-chip {
  background: rgba(255, 255, 255, 0.12);
  color: #FBBF24;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 800;
}

.active-order-cafe {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  margin-bottom: 12px;
}

.phone-status-steps-row {
  display: flex;
  gap: 6px;
}

.phone-status-steps-row .step-chip {
  flex: 1;
  text-align: center;
  padding: 5px 2px;
  border-radius: 8px;
  font-size: 0.6rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid transparent;
}

.phone-status-steps-row .step-chip.is-done {
  background: rgba(16, 185, 129, 0.2);
  color: #34D399;
  border-color: rgba(16, 185, 129, 0.3);
}

.phone-status-steps-row .step-chip.is-current {
  background: linear-gradient(135deg, #0052FF 0%, #2563EB 100%);
  color: #FFFFFF;
  border-color: #3B82F6;
  box-shadow: 0 2px 8px rgba(0, 82, 255, 0.4);
}

/* Past Receipts List */
.orders-history-section {
  margin-top: 10px;
}

.orders-section-heading {
  margin-bottom: 10px;
}

.orders-section-heading h3 {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--navy-2);
}

.phone-orders-history-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-receipt-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

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

.receipt-head strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 900;
  color: #0F172A;
}

.receipt-head small {
  font-size: 0.68rem;
  color: #64748B;
}

.receipt-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px dashed #E2E8F0;
}

.receipt-total {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--navy-2);
}

.reorder-btn {
  background: #F1F5F9;
  color: #0F172A;
  border: 1px solid #CBD5E1;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.reorder-btn:hover {
  background: #0052FF;
  color: #FFFFFF;
  border-color: #0052FF;
}


/* ═══════════════════════════════════════════════════════
   LANDING PAGE — Full Marketing Landing
   ═══════════════════════════════════════════════════════ */

/* App hidden utility */
.app-shell.app-hidden {
  display: none !important;
}

.landing-page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: #060B18;
  color: #E2E8F0;
  font-family: 'Plus Jakarta Sans', 'Outfit', system-ui, sans-serif;
  overflow-x: hidden;
}
.landing-page.landing-hidden {
  display: none !important;
}

/* Gradient text utility */
.landing-gradient-text {
  background: linear-gradient(135deg, #3B82F6, #8B5CF6, #F59E0B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── NAV ─── */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(6, 11, 24, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.landing-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.landing-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}
.landing-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
.landing-brand span {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
}
.landing-nav-links {
  display: flex;
  gap: 28px;
}
.landing-nav-links a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
}
.landing-nav-links a:hover {
  color: #fff;
}
.landing-cta-btn {
  background: linear-gradient(135deg, #3B82F6, #6366F1);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}
.landing-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
}

/* ─── HERO ─── */
.landing-hero {
  position: relative;
  padding: 140px 24px 80px;
  overflow: hidden;
}
.landing-hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.landing-hero-badge {
  display: inline-block;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: #60A5FA;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.landing-hero-text h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 20px;
}
.landing-hero-subtitle {
  font-size: 1.12rem;
  line-height: 1.7;
  color: #94A3B8;
  margin: 0 0 32px;
  max-width: 500px;
}
.landing-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.landing-primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #3B82F6, #6366F1);
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}
.landing-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.4);
}
.landing-secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}
.landing-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Hero stats row */
.landing-hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
}
.landing-stat strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
}
.landing-stat span {
  font-size: 0.78rem;
  color: #64748B;
  font-weight: 500;
}
.landing-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
}

/* ─── HERO PHONE MOCKUP ─── */
.landing-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.landing-phone-mockup {
  width: 280px;
  height: 560px;
  background: #111827;
  border-radius: 36px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(59, 130, 246, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  position: relative;
  animation: landingPhoneFloat 6s ease-in-out infinite;
}
@keyframes landingPhoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.landing-phone-notch {
  width: 120px;
  height: 28px;
  background: #060B18;
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.landing-phone-screen-img {
  padding: 8px 16px 16px;
}
.landing-app-preview {
  background: linear-gradient(180deg, #0F172A, #1E293B);
  border-radius: 16px;
  padding: 20px 16px;
  min-height: 400px;
}
.landing-preview-header {
  margin-bottom: 16px;
}
.landing-preview-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #F59E0B;
  margin-bottom: 6px;
}
.landing-app-preview h3 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}
.landing-preview-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 20px;
  color: #64748B;
  font-size: 0.78rem;
}
.landing-preview-cafe {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 14px;
}
.landing-preview-cafe-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  flex-shrink: 0;
}
.landing-preview-cafe-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.landing-preview-cafe-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.landing-preview-cafe-info strong {
  color: #fff;
  font-size: 0.88rem;
}
.landing-preview-cafe-info span {
  font-size: 0.72rem;
  color: #64748B;
}
.landing-preview-open {
  color: #10B981 !important;
  font-weight: 600;
}
.landing-preview-cta {
  background: linear-gradient(135deg, #3B82F6, #6366F1);
  color: #fff;
  text-align: center;
  padding: 12px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.88rem;
}

/* Floating cards */
.landing-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  z-index: 3;
}
.landing-float-card span {
  font-size: 1.4rem;
}
.landing-float-card strong {
  display: block;
  color: #fff;
  font-size: 0.82rem;
}
.landing-float-card small {
  color: #64748B;
  font-size: 0.7rem;
}
.landing-float-1 {
  top: 15%;
  right: -10px;
  animation: landingFloat1 5s ease-in-out infinite;
}
.landing-float-2 {
  bottom: 20%;
  left: -20px;
  animation: landingFloat2 6s ease-in-out infinite 1s;
}
@keyframes landingFloat1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}
@keyframes landingFloat2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(-2deg); }
}

/* Hero background glow */
.landing-hero-glow {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ─── FEATURES SECTION ─── */
.landing-features,
.landing-how,
.landing-merchants {
  padding: 100px 24px;
  position: relative;
}
.landing-features {
  background: #0A1128;
}
.landing-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.landing-section-header {
  text-align: center;
  margin-bottom: 56px;
}
.landing-section-badge {
  display: inline-block;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.2);
  color: #A78BFA;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.landing-section-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
}
.landing-section-header p {
  font-size: 1.05rem;
  color: #64748B;
  max-width: 540px;
  margin: 0 auto;
}
.landing-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.landing-feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 32px 28px;
  transition: all 0.35s;
}
.landing-feature-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.landing-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.landing-feature-icon span {
  font-size: 1.5rem;
}
.landing-feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}
.landing-feature-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #94A3B8;
  margin: 0;
}

/* ─── HOW IT WORKS SECTION ─── */
.landing-how {
  background: #060B18;
}
.landing-steps-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
}
.landing-step-card {
  flex: 1;
  max-width: 300px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.35s;
}
.landing-step-card:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.landing-step-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, #3B82F6, #8B5CF6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
}
.landing-step-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}
.landing-step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}
.landing-step-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #94A3B8;
  margin: 0;
}
.landing-step-connector {
  display: flex;
  align-items: center;
  padding-top: 60px;
  color: #334155;
}

/* ─── MERCHANTS SECTION ─── */
.landing-merchants {
  background: #0A1128;
}
.landing-merchants-card {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.06), rgba(139, 92, 246, 0.04));
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: 28px;
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.landing-merchants-text h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin: 12px 0 16px;
}
.landing-merchants-text > p {
  font-size: 1rem;
  line-height: 1.7;
  color: #94A3B8;
  margin: 0 0 24px;
}
.landing-merchants-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.landing-merchants-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: #CBD5E1;
}
.landing-merchants-visual {
  display: flex;
  justify-content: center;
}
.landing-merchants-preview {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 20px;
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.landing-preview-queue-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 14px 16px;
}
.landing-q-code {
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
  font-family: 'Outfit', monospace;
}
.landing-q-status {
  font-size: 0.78rem;
  font-weight: 600;
}
.landing-q-status.q-pending { color: #F59E0B; }
.landing-q-status.q-preparing { color: #3B82F6; }
.landing-q-status.q-completed { color: #10B981; }
.landing-q-action {
  font-size: 0.78rem;
  font-weight: 600;
  color: #60A5FA;
  cursor: default;
}

/* ─── FOOTER ─── */
.landing-footer {
  background: #060B18;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 24px;
}
.landing-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.landing-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.landing-footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
.landing-footer-brand strong {
  display: block;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
}
.landing-footer-brand small {
  color: #64748B;
  font-size: 0.78rem;
}
.landing-footer-links {
  display: flex;
  gap: 28px;
}
.landing-footer-links a {
  color: #64748B;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}
.landing-footer-links a:hover { color: #CBD5E1; }
.landing-footer-bottom p {
  color: #334155;
  font-size: 0.78rem;
  margin: 0;
}

/* ─── LANDING PAGE RESPONSIVE ─── */
@media (max-width: 900px) {
  .landing-hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .landing-hero-text h1 {
    font-size: 2.4rem;
  }
  .landing-hero-subtitle {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .landing-hero-actions {
    justify-content: center;
  }
  .landing-hero-stats {
    justify-content: center;
  }
  .landing-hero-visual {
    order: -1;
  }
  .landing-phone-mockup {
    width: 240px;
    height: 480px;
  }
  .landing-features-grid {
    grid-template-columns: 1fr;
  }
  .landing-steps-row {
    flex-direction: column;
    align-items: center;
  }
  .landing-step-connector {
    transform: rotate(90deg);
    padding-top: 0;
  }
  .landing-merchants-card {
    grid-template-columns: 1fr;
    padding: 36px 24px;
  }
  .landing-section-header h2 {
    font-size: 1.8rem;
  }
  .landing-merchants-text h2 {
    font-size: 1.8rem;
  }
  .landing-nav-links {
    display: none;
  }
}

@media (max-width: 480px) {
  .landing-hero {
    padding: 120px 16px 60px;
  }
  .landing-hero-text h1 {
    font-size: 2rem;
  }
  .landing-hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .landing-primary-btn,
  .landing-secondary-btn {
    width: 100%;
    justify-content: center;
  }
  .landing-hero-stats {
    flex-wrap: wrap;
    gap: 16px;
  }
  .landing-phone-mockup {
    width: 220px;
    height: 440px;
  }
  .landing-float-card {
    display: none;
  }
  .landing-features,
  .landing-how,
  .landing-merchants {
    padding: 60px 16px;
  }
}

/* ═══════════════════════════════════════════════════════
   INSTALL LOADING OVERLAY
   ═══════════════════════════════════════════════════════ */
.install-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(6, 11, 24, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.install-loading-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.install-loading-card {
  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 44px 36px;
  width: 90%;
  max-width: 380px;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.install-loading-logo-wrap {
  position: relative;
  width: 84px;
  height: 84px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.install-loading-logo {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  object-fit: contain;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0, 82, 255, 0.3);
}
.install-loading-ring {
  position: absolute;
  inset: -6px;
  border-radius: 26px;
  border: 3px solid transparent;
  border-top-color: #3B82F6;
  border-right-color: #8B5CF6;
  animation: installSpin 1s linear infinite;
}
@keyframes installSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.install-loading-card h3 {
  font-family: 'Outfit', sans-serif;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 8px;
}
.install-loading-card p {
  color: #64748B;
  font-size: 0.88rem;
  margin: 0 0 28px;
}
.install-progress-bar {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 12px;
  position: relative;
}
.install-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #3B82F6, #8B5CF6, #F59E0B);
  border-radius: 100px;
  transition: width 0.15s ease-out;
}
.install-progress-percent {
  color: #60A5FA;
  font-weight: 700;
  font-size: 0.85rem;
  font-family: 'Outfit', monospace;
}

/* iOS PWA Install Steps */
.ios-install-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 10px;
  text-align: left;
}
.ios-step-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--soft);
  padding: 12px 16px;
  border-radius: 14px;
}
.ios-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}
.ios-step-item p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--navy);
  line-height: 1.45;
}


