@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 {
  /* ROEYALS Strict 3-Color Theme: White Background, Red Velvet & Black Text/Decorations */
  --red-velvet: #6E1624;        /* Signature Primary Red Velvet */
  --red-velvet-dark: #4A0E17;   /* Deep Red Velvet Accent */
  --red-velvet-light: #8C182B;  /* Rose Velvet Highlight */
  --red-velvet-bright: #A81C34; /* Vivid Red Velvet Button Fill */
  
  --black: #000000;            /* Pure Crisp Black Typography */
  --black-surface: #111111;    /* Charcoal Text & Accents */
  --black-card: #1A1A1A;       /* Dark Element Contrast */
  
  --gold-bronze: #6E1624;      /* Red Velvet Primary Accent */
  --gold-bronze-dark: #4A0E17; /* Deep Red Velvet Accent */
  --gold-bronze-light: #8C182B;/* Rose Velvet */

.mode-tabs {
  display: none !important;
}
  
  --zus-blue: #6E1624;        /* Red Velvet Accent for Buttons & Links */
  --zus-blue-dark: #4A0E17;   /* Deep Red Velvet */
  --zus-navy: #FFFFFF;        /* White Canvas Surface */
  --zus-navy-dark: #FAFAFA;   /* Soft White Surface */
  --navy: #6E1624;            /* Primary Red Velvet */
  --navy-light: #8C182B;      /* Highlight Velvet */
  --navy-2: #4A0E17;          /* Deep Dark Velvet */
  --electric: #6E1624;        /* Red Velvet Highlight */
  --gold: #6E1624;            /* Red Velvet Highlight */
  --gold-light: #FAFAFA;      /* Soft White Tint */
  --ink: #000000;             /* High Contrast Pure Black Text */
  --muted: #444444;           /* Crisp Charcoal Body Text */
  --line: #E8D5D8;            /* Soft Red Velvet Tint Dividers */
  --paper: #FFFFFF;           /* Pristine White Canvas Backdrop */
  --panel: #FFFFFF;           /* Pure White Floating Cards */
  --soft: #FAFAFA;            /* Soft White Input Fill */
  --blue-soft: #FFFFFF;       /* Pure White Canvas Tint */
  --leaf: #10B981;            /* Status Green */
  --danger: #EF4444;          /* Vivid Red Alert */
  
  /* Ambient Red Velvet Shadows */
  --shadow-color: 110, 22, 36;
  --shadow-sm: 0 4px 16px rgba(110, 22, 36, 0.08);
  --shadow-md: 0 12px 32px rgba(110, 22, 36, 0.12);
  --shadow-lg: 0 24px 60px rgba(110, 22, 36, 0.18);
  --shadow-blue: 0 8px 24px rgba(110, 22, 36, 0.25);
  --shadow-gold: 0 6px 20px rgba(110, 22, 36, 0.3);
  --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.04);
  
  --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, #2B050B 0%, #4A0E17 50%, #6E1624 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 spin {
  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 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

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

/* CUSTOMER VIEW LAYOUT */
.customer-stage {
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  min-height: 100vh;
}

/* RESPONSIVE APP CONTAINER FOR ALL DEVICES (Mobile, Tablet, Desktop) */
.phone-frame {
  position: relative !important;
  top: 0 !important;
  width: 100% !important;
  max-width: 480px !important;
  margin: 0 auto !important;
  aspect-ratio: unset !important;
  background: var(--bg, #F8FAFC) !important;
  border-radius: 0 !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.04) !important;
  overflow: visible !important;
  min-height: 100vh !important;
  box-sizing: border-box !important;
}

/* Hide fake notch and simulated status bar on all devices */
.phone-frame::before,
.phone-status {
  display: none !important;
}

.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: linear-gradient(135deg, #6E1624 0%, #8C182B 100%) !important;
  color: #FFFFFF !important;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  padding: 14px 20px;
  border: none !important;
  border-radius: 14px !important;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(110, 22, 36, 0.28);
  cursor: pointer;
}

.primary-action:hover {
  background: linear-gradient(135deg, #8C182B 0%, #A81C34 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(110, 22, 36, 0.35);
}

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

.danger-btn {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%) !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.28) !important;
}

.danger-btn:hover {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%) !important;
}

/* 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(5, 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;
  transition: var(--transition);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.nav-3d-logo {
  width: 24px !important;
  height: 24px !important;
  border-radius: 7px !important;
  object-fit: cover !important;
  box-shadow: 0 3px 8px rgba(212, 175, 55, 0.45) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.bottom-nav button:hover .nav-3d-logo,
.bottom-nav button.is-active .nav-3d-logo {
  transform: scale(1.15) !important;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.7) !important;
}

.nav-3d-svg {
  width: 24px !important;
  height: 24px !important;
  transition: transform 0.2s ease !important;
}

.bottom-nav button:hover .nav-3d-svg,
.bottom-nav button.is-active .nav-3d-svg {
  transform: translateY(-2px) scale(1.12) !important;
}

.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));
}

/* ═══════════════════════════════════════════════
   PRESSO PAGE — Drink Calendar Tracker
   ═══════════════════════════════════════════════ */

/* Steam animation */
@keyframes pressoSteam {
  0%   { transform: translateY(0) scaleX(1); opacity: 0.6; }
  50%  { transform: translateY(-6px) scaleX(1.3); opacity: 0.3; }
  100% { transform: translateY(-12px) scaleX(0.8); opacity: 0; }
}

@keyframes pressoBounceIn {
  0%   { transform: scale(0) rotate(-10deg); opacity: 0; }
  50%  { transform: scale(1.2) rotate(5deg); opacity: 1; }
  70%  { transform: scale(0.9) rotate(-2deg); }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes pressoPopIn {
  0%   { transform: scale(0.3); opacity: 0; }
  60%  { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); }
}

@keyframes pressoGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(212, 165, 116, 0.4); }
  50%      { box-shadow: 0 0 20px rgba(212, 165, 116, 0.8), 0 0 40px rgba(212, 165, 116, 0.3); }
}

@keyframes pressoSlideUp {
  0%   { transform: translateY(30px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

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

@keyframes pressoWiggle {
  0%, 100% { transform: rotate(0deg); }
  25%      { transform: rotate(-3deg); }
  75%      { transform: rotate(3deg); }
}

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

/* Header */
.presso-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 20px 16px;
  background: linear-gradient(135deg, #F5E6D3 0%, #FAECD8 40%, #FFF8F0 100%);
  border-radius: 0 0 24px 24px;
  position: relative;
  overflow: hidden;
}

.presso-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.presso-logo-wrap {
  position: relative;
  background: linear-gradient(135deg, #FFF8F0, #F5E6D3);
  border-radius: 18px;
  padding: 6px;
  box-shadow: 0 4px 16px rgba(107, 66, 38, 0.2), 0 2px 4px rgba(107, 66, 38, 0.1);
}

.presso-logo-svg {
  display: block;
}

.presso-steam {
  animation: pressoSteam 2s ease-in-out infinite;
}
.presso-steam.steam-2 { animation-delay: 0.4s; }
.presso-steam.steam-3 { animation-delay: 0.8s; }

.presso-header-text h2 {
  font-family: var(--font-display, 'Inter', sans-serif);
  font-size: 1.6rem;
  font-weight: 900;
  color: #4A2C17;
  letter-spacing: -0.5px;
  margin: 0;
}

.presso-tagline {
  font-size: 0.85rem;
  color: #8B6A4F;
  font-weight: 600;
  margin: 2px 0 0;
  letter-spacing: 0.3px;
}

/* Month Navigation */
.presso-month-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 8px;
}

.presso-month-btn {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #F5E6D3, #FAECD8);
  border: 1px solid rgba(212, 165, 116, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6B4226;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(107, 66, 38, 0.1);
}

.presso-month-btn:hover {
  background: linear-gradient(135deg, #FAECD8, #F5E6D3);
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(107, 66, 38, 0.2);
}

.presso-month-btn:active {
  transform: scale(0.95);
}

.presso-month-label {
  font-family: var(--font-display, 'Inter', sans-serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: #4A2C17;
  letter-spacing: -0.3px;
  background: linear-gradient(90deg, #6B4226, #D4A574, #6B4226);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pressoShine 3s linear infinite;
}

/* Calendar */
.presso-calendar {
  padding: 4px 12px 12px;
}

.presso-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 8px 0;
  margin-bottom: 4px;
}

.presso-weekdays span {
  text-align: center;
  font-family: var(--font-display, 'Inter', sans-serif);
  font-size: 0.72rem;
  font-weight: 800;
  color: #A0876E;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.presso-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.presso-day {
  aspect-ratio: 1;
  border-radius: 14px;
  background: linear-gradient(135deg, #FAF5EF, #F5EDDF);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1.5px solid transparent;
  overflow: hidden;
}

.presso-day:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(107, 66, 38, 0.15);
}

.presso-day:active {
  transform: scale(0.95);
}

.presso-day-empty {
  background: transparent;
  border: none;
  cursor: default;
}
.presso-day-empty:hover {
  transform: none;
  box-shadow: none;
}

.presso-day-num {
  font-size: 0.65rem;
  font-weight: 700;
  color: #8B6A4F;
  position: absolute;
  top: 3px;
  right: 6px;
  z-index: 2;
}

.presso-day.has-drink {
  background: linear-gradient(135deg, #FFF8F0, #FAECD8);
  border-color: rgba(212, 165, 116, 0.45);
  box-shadow: 0 2px 8px rgba(212, 165, 116, 0.18);
}

.presso-day.has-drink:hover {
  border-color: rgba(212, 165, 116, 0.85);
  box-shadow: 0 6px 22px rgba(212, 165, 116, 0.35);
  transform: translateY(-2px) scale(1.06);
}

/* Multi-drink Badge on Calendar Day Cell */
.presso-day-badge {
  position: absolute;
  top: 3px;
  left: 4px;
  background: linear-gradient(135deg, #6B4226, #D4A574);
  color: #FFF;
  font-size: 0.58rem;
  font-weight: 900;
  padding: 1px 4px;
  border-radius: 6px;
  line-height: 1.1;
  box-shadow: 0 2px 4px rgba(0,0,0,0.25);
  z-index: 3;
  animation: pressoPopIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.presso-day.is-today {
  border-color: #D4A574;
  background: linear-gradient(135deg, #FFF0E0, #FFE8D0);
  animation: pressoGlow 2.5s ease-in-out infinite;
}

.presso-day.is-today .presso-day-num {
  color: #6B4226;
  font-weight: 900;
}

.presso-day.is-future {
  opacity: 0.4;
  cursor: default;
}
.presso-day.is-future:hover {
  transform: none;
  box-shadow: none;
}

/* Drink Icon in Calendar Cell */
.presso-drink-cell-icon {
  width: 28px;
  height: 28px;
  margin-top: 2px;
  animation: pressoBounceIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
  filter: drop-shadow(0 2px 3px rgba(107, 66, 38, 0.2));
}

.presso-day:nth-child(odd) .presso-drink-cell-icon {
  animation-delay: 0.05s;
}
.presso-day:nth-child(3n) .presso-drink-cell-icon {
  animation-delay: 0.1s;
}
.presso-day:nth-child(5n) .presso-drink-cell-icon {
  animation-delay: 0.15s;
}

.presso-day.has-drink:hover .presso-drink-cell-icon {
  animation: pressoWiggle 0.4s ease-in-out;
}

/* Stats Bar */
.presso-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 12px 14px;
}

.presso-stat-card {
  padding: 12px 8px;
  border-radius: 16px;
  background: linear-gradient(135deg, #FFF8F0, #FAECD8);
  border: 1px solid rgba(212, 165, 116, 0.3);
  text-align: center;
  animation: pressoPopIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
  box-shadow: 0 3px 12px rgba(107, 66, 38, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 84px;
}

.presso-stat-card:nth-child(2) { animation-delay: 0.1s; }
.presso-stat-card:nth-child(3) { animation-delay: 0.2s; }
.presso-stat-card:nth-child(4) { animation-delay: 0.3s; }

.presso-stat-emoji {
  font-size: 1.25rem;
  margin-bottom: 2px;
  animation: pressoFloat 3s ease-in-out infinite;
}

.presso-stat-value {
  font-family: var(--font-display, 'Inter', sans-serif);
  font-size: 1.05rem;
  font-weight: 900;
  color: #4A2C17;
  display: block;
  line-height: 1.15;
  word-break: break-word;
  max-width: 100%;
}

.presso-stat-label {
  font-size: 0.62rem;
  font-weight: 800;
  color: #A0876E;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-top: 3px;
  display: block;
}

/* ════════════════════════════════════════════════════
   FUTURISTIC 3D CARD DECK MODAL (Center Pop-up)
   ════════════════════════════════════════════════════ */

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

@keyframes pressoCardPopFlip {
  0% {
    transform: translate(-50%, -50%) scale(0.2) rotateY(-110deg) rotateZ(12deg);
    opacity: 0;
  }
  65% {
    transform: translate(-50%, -50%) scale(1.04) rotateY(10deg) rotateZ(-2deg);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1) rotateY(0deg) rotateZ(0deg);
    opacity: 1;
  }
}

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

@keyframes pressoShimmerGlow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.85; }
}

.presso-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: pressoModalFadeIn 0.25s ease forwards;
}

.presso-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 8, 6, 0.38) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  cursor: pointer;
}

.presso-deck-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 350px;
  background: transparent !important;
  border-radius: 28px;
  border: none !important;
  box-shadow: none !important;
  padding: 8px 10px;
  z-index: 2;
  animation: pressoCardPopFlip 0.5s cubic-bezier(0.34, 1.35, 0.64, 1) forwards;
  overflow: visible;
  box-sizing: border-box;
}

.presso-holo-ring {
  display: none !important;
}

/* Modal Header - Floating Glass Capsules */
.presso-deck-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  position: relative;
  z-index: 20;
}

.presso-deck-header-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.presso-deck-badge {
  font-family: var(--font-display, 'Inter', sans-serif);
  font-size: 0.82rem;
  font-weight: 800;
  color: #FFFFFF !important;
  background: rgba(28, 18, 14, 0.85) !important;
  border: 1.2px solid rgba(212, 165, 116, 0.5) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  padding: 6px 14px;
  border-radius: 50px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.2px;
}

.presso-deck-count {
  font-size: 0.76rem;
  font-weight: 700;
  color: #F5D77F !important;
  background: rgba(28, 18, 14, 0.85) !important;
  border: 1.2px solid rgba(212, 165, 116, 0.5) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  padding: 6px 12px;
  border-radius: 50px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.presso-deck-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(28, 18, 14, 0.88) !important;
  border: 1.2px solid rgba(212, 165, 116, 0.5) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  color: #FFFFFF !important;
  font-size: 0.95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  transition: all 0.25s ease;
}

.presso-deck-close:hover {
  background: rgba(212, 165, 116, 0.45) !important;
  transform: scale(1.1) rotate(90deg);
  color: #FFF;
}

/* 3D Stage & Overlapping Stack (Bertindih) */
.presso-cards-stage {
  perspective: 1200px;
  width: 100%;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 4px 0 10px;
}

.presso-cards-stack {
  position: relative;
  width: 270px;
  height: 310px;
  transform-style: preserve-3d;
}

/* Individual Stacked Card */
.presso-card-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  cursor: pointer;
  transition: transform 0.45s cubic-bezier(0.34, 1.25, 0.64, 1), opacity 0.4s ease, filter 0.4s ease, box-shadow 0.4s ease;
  transform-style: preserve-3d;
  user-select: none;
  -webkit-user-select: none;
}

/* Stack Offsets & Overlap (Bertindih) */
.presso-card-item.stack-0 {
  z-index: 10;
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  opacity: 1;
  pointer-events: auto;
  box-shadow: 0 16px 36px rgba(0,0,0,0.5), 0 0 25px rgba(212,165,116,0.22);
}

.presso-card-item.stack-1 {
  z-index: 9;
  transform: translate3d(12px, 12px, -30px) rotate(4deg) scale(0.94);
  opacity: 0.88;
  pointer-events: auto;
  filter: brightness(0.85);
  box-shadow: 0 10px 24px rgba(0,0,0,0.4);
}

.presso-card-item.stack-2 {
  z-index: 8;
  transform: translate3d(-10px, 22px, -60px) rotate(-4deg) scale(0.88);
  opacity: 0.72;
  pointer-events: auto;
  filter: brightness(0.7);
  box-shadow: 0 8px 18px rgba(0,0,0,0.35);
}

.presso-card-item.stack-3 {
  z-index: 7;
  transform: translate3d(8px, 28px, -90px) rotate(2deg) scale(0.82);
  opacity: 0.55;
  pointer-events: none;
  filter: brightness(0.55);
}

.presso-card-item.stack-hidden {
  z-index: 5;
  transform: translate3d(0, 36px, -120px) scale(0.75);
  opacity: 0;
  pointer-events: none;
}

/* 3D Flip Card Container */
.presso-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.34, 1.25, 0.64, 1);
  border-radius: 22px;
}

.presso-card-item.is-flipped .presso-card-inner {
  transform: rotateY(180deg);
}

/* Front & Back Faces */
.presso-card-front,
.presso-card-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
}

/* Front Face Styling */
.presso-card-front {
  background: linear-gradient(145deg, #FFFDF9 0%, #FDF4E7 50%, #F5E5D0 100%);
  border: 1.5px solid rgba(212, 165, 116, 0.45);
  padding: 16px 14px 12px;
  justify-content: space-between;
}

.presso-card-front-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.presso-card-tag {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #6B4226;
  background: rgba(212, 165, 116, 0.25);
  padding: 3px 8px;
  border-radius: 8px;
  border: 1px solid rgba(212, 165, 116, 0.4);
}

.presso-card-qty {
  font-family: var(--font-display, 'Inter', sans-serif);
  font-size: 0.72rem;
  font-weight: 900;
  color: #FFF;
  background: linear-gradient(135deg, #6B4226, #8B5E3C);
  padding: 2px 7px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(107, 66, 38, 0.25);
}

.presso-card-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 6px 0;
}

.presso-card-art {
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.presso-card-art svg {
  width: 100%;
  height: 100%;
  animation: pressoFloat 3s ease-in-out infinite;
  filter: drop-shadow(0 6px 12px rgba(107, 66, 38, 0.25));
}

.presso-card-art.has-real-img {
  width: 82px;
  height: 82px;
}

.presso-card-real-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  animation: pressoFloat 3s ease-in-out infinite;
  filter: drop-shadow(0 6px 14px rgba(60, 30, 10, 0.28));
}

.presso-card-drink-title {
  font-family: var(--font-display, 'Inter', sans-serif);
  font-size: 1.15rem;
  font-weight: 900;
  color: #381E0F;
  text-align: center;
  margin: 8px 0 2px;
  line-height: 1.15;
  letter-spacing: -0.3px;
}

.presso-card-subinfo {
  font-size: 0.72rem;
  color: #8B6A4F;
  font-weight: 600;
  text-align: center;
}

.presso-card-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(212, 165, 116, 0.25);
  border-radius: 12px;
  padding: 6px 8px;
}

.presso-card-meta-item {
  display: flex;
  flex-direction: column;
}

.presso-card-meta-item small {
  font-size: 0.58rem;
  font-weight: 700;
  color: #A0876E;
  text-transform: uppercase;
}

.presso-card-meta-item strong {
  font-size: 0.78rem;
  font-weight: 800;
  color: #4A2C17;
}

.presso-card-front-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.presso-card-reaction-pill {
  font-size: 1.15rem;
  padding: 2px 6px;
  background: rgba(212, 165, 116, 0.15);
  border-radius: 10px;
  animation: pressoWiggle 2s ease-in-out infinite;
}

.presso-card-flip-btn {
  font-size: 0.65rem;
  font-weight: 700;
  color: #6B4226;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  gap: 3px;
  opacity: 0.85;
}

/* Back Face Styling (Barista HUD & Tasting Notes) */
.presso-card-back {
  background: linear-gradient(150deg, #1D1510 0%, #2D2018 50%, #150E0A 100%);
  border: 1.5px solid rgba(212, 165, 116, 0.5);
  box-shadow: inset 0 0 20px rgba(212, 165, 116, 0.15);
  padding: 16px 14px 12px;
  transform: rotateY(180deg);
  color: #F5E6D3;
  justify-content: space-between;
}

.presso-back-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(212, 165, 116, 0.2);
  padding-bottom: 8px;
}

.presso-back-title {
  font-family: var(--font-display, 'Inter', sans-serif);
  font-size: 0.8rem;
  font-weight: 800;
  color: #D4A574;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.presso-back-code {
  font-size: 0.65rem;
  font-weight: 800;
  color: #A0876E;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 6px;
}

.presso-back-hud {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 8px 0;
}

.presso-hud-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.presso-hud-label {
  font-size: 0.6rem;
  font-weight: 700;
  color: #A0876E;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.presso-hud-val {
  font-size: 0.76rem;
  font-weight: 800;
  color: #FFF8F0;
}

.presso-hud-bar {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 2px;
}

.presso-hud-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #D4A574, #FFD54F);
  border-radius: 3px;
}

.presso-back-notes {
  background: rgba(212, 165, 116, 0.08);
  border: 1px dashed rgba(212, 165, 116, 0.25);
  border-radius: 10px;
  padding: 6px 8px;
  font-size: 0.68rem;
  color: #E2D1C3;
  line-height: 1.35;
}

.presso-back-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(212, 165, 116, 0.2);
  padding-top: 6px;
}

.presso-back-flip-btn {
  font-size: 0.65rem;
  font-weight: 700;
  color: #D4A574;
  background: transparent;
  border: none;
  cursor: pointer;
}

/* Deck Controls - Floating Glass Bar */
.presso-deck-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 8px 10px;
  position: relative;
  z-index: 20;
}

.presso-deck-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(28, 18, 14, 0.88) !important;
  border: 1.2px solid rgba(212, 165, 116, 0.5) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  color: #F5E6D3 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: all 0.25s cubic-bezier(0.34, 1.5, 0.64, 1);
}

.presso-deck-nav-btn:hover {
  background: rgba(212, 165, 116, 0.45) !important;
  transform: scale(1.12);
  color: #FFF !important;
}

.presso-deck-nav-btn:active {
  transform: scale(0.92);
}

.presso-deck-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(28, 18, 14, 0.8) !important;
  border: 1px solid rgba(212, 165, 116, 0.4) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  padding: 6px 12px;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.presso-deck-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(212, 165, 116, 0.4);
  transition: all 0.25s ease;
  cursor: pointer;
}

.presso-deck-dot.is-active {
  width: 18px;
  border-radius: 4px;
  background: linear-gradient(90deg, #D4A574, #FFF8F0);
  box-shadow: 0 0 10px rgba(212, 165, 116, 0.8);
}

.presso-deck-hint {
  text-align: center;
  margin-top: 4px;
  position: relative;
  z-index: 20;
}

.presso-deck-hint span {
  display: inline-block;
  font-size: 0.70rem;
  color: #FFFFFF !important;
  font-weight: 700;
  background: rgba(28, 18, 14, 0.8) !important;
  border: 1px solid rgba(212, 165, 116, 0.4) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  padding: 4px 14px;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.2px;
}

/* Streak Banner */
.presso-streak {
  margin: 8px 16px 100px;
  padding: 16px 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, #6B4226, #8B5E3C, #A07050);
  color: #FFF8F0;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 6px 24px rgba(107, 66, 38, 0.3);
  position: relative;
  overflow: hidden;
}

.presso-streak::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 248, 240, 0.08) 0%, transparent 60%);
  animation: pressoFloat 4s ease-in-out infinite;
}

.presso-streak-icon {
  font-size: 2rem;
  animation: pressoFloat 2s ease-in-out infinite;
  z-index: 1;
}

.presso-streak-text {
  z-index: 1;
}

.presso-streak-text strong {
  display: block;
  font-family: var(--font-display, 'Inter', sans-serif);
  font-size: 0.95rem;
  font-weight: 800;
}

.presso-streak-text span {
  font-size: 0.72rem;
  opacity: 0.8;
  font-weight: 500;
}

/* 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;
  width: 100%;
}

.phone-search > span {
  /* Hide the old "Search drinks" label */
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.phone-search-inner {
  position: relative;
  display: flex;
  align-items: center;
}

.phone-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 2;
  transition: all 0.25s ease;
}

.phone-search input,
.search-box input {
  width: 100%;
  background: linear-gradient(135deg, #F8F6F1, #F1EDE5);
  border: 1.5px solid rgba(212, 175, 55, 0.12);
  border-radius: 16px;
  padding: 13px 16px 13px 42px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #1E293B;
  outline: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04), inset 0 1px 2px rgba(0, 0, 0, 0.02);
  letter-spacing: 0.1px;
}

.phone-search input::placeholder {
  color: #94A3B8;
  font-weight: 500;
  letter-spacing: 0.1px;
}

.phone-search input:focus,
.search-box input:focus {
  background: #FFFFFF;
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1), 0 4px 16px rgba(212, 175, 55, 0.08);
}

.phone-search-inner:focus-within .phone-search-icon {
  stroke: #D4AF37;
  transform: translateY(-50%) scale(1.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 — 3D Zus Coffee-Inspired Layout */
.phone-menu-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 4px;
}

/* ─── 3D Drink Card (Glassmorphic Red Velvet) ─── */
.phone-menu-item {
  background: rgba(110, 22, 36, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 22px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(110, 22, 36, 0.08);
  box-shadow:
    0 4px 16px rgba(110, 22, 36, 0.06),
    0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: visible;
}

.phone-menu-item:hover,
.phone-menu-item:active {
  transform: translateY(-3px) scale(1.015);
  box-shadow:
    0 12px 32px rgba(110, 22, 36, 0.12),
    0 4px 10px rgba(0, 0, 0, 0.06);
  border-color: rgba(110, 22, 36, 0.15);
  background: rgba(110, 22, 36, 0.06);
}

/* ─── 3D Floating Drink Image ─── */
.phone-menu-item .drink-art {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  flex-shrink: 0;
  background: transparent !important;
  position: relative;
  transform: perspective(500px) rotateY(-5deg) translateZ(8px);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: drop-shadow(0 8px 16px rgba(110, 22, 36, 0.2))
          drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.phone-menu-item:hover .drink-art,
.phone-menu-item:active .drink-art {
  transform: perspective(500px) rotateY(-2deg) translateZ(14px) scale(1.06);
  filter: drop-shadow(0 14px 28px rgba(110, 22, 36, 0.25))
          drop-shadow(0 6px 10px rgba(0, 0, 0, 0.12));
}

/* 3D reflection glow beneath drink */
.phone-menu-item .drink-art::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 15%;
  right: 15%;
  height: 10px;
  background: radial-gradient(ellipse, rgba(110, 22, 36, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(4px);
  transition: all 0.4s ease;
}

.phone-menu-item:hover .drink-art::after {
  bottom: -12px;
  background: radial-gradient(ellipse, rgba(110, 22, 36, 0.25) 0%, transparent 70%);
  filter: blur(6px);
}

/* Drink image inside the 3D container */
.phone-menu-item .drink-art.has-image {
  overflow: hidden;
  background: transparent !important;
}

.phone-menu-item .drink-art-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

/* Drink text info */
.phone-menu-item > div:not(.drink-art) {
  flex: 1;
  min-width: 0;
}

.phone-menu-item h3 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  color: #1A0508;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.phone-menu-item p {
  font-size: 0.72rem;
  color: #6B4550;
  font-weight: 600;
  margin-top: 2px;
  line-height: 1.3;
}

/* ─── Add-to-Cart Button (Red Velvet 3D) ─── */
.phone-add {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(145deg, #8C182B 0%, #6E1624 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow:
    0 4px 12px rgba(110, 22, 36, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  flex-shrink: 0;
  border: none;
  cursor: pointer;
}

.phone-add:hover,
.phone-add:active {
  transform: scale(1.12) rotate(90deg);
  box-shadow:
    0 8px 20px rgba(110, 22, 36, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  background: linear-gradient(145deg, #A81C34 0%, #8C182B 100%);
}

/* (Legacy phone-cart-summary removed in favor of single-line floating place order bar) */

/* 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: linear-gradient(135deg, #4A0E17 0%, #2B050B 100%) !important;
  border-radius: 24px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(212, 175, 55, 0.3) !important;
  box-shadow: 0 8px 28px rgba(74, 14, 23, 0.35) !important;
  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) — Hidden everywhere to ensure mobile phone layout is always exclusive */
.ordering-workspace {
  display: none !important;
}

.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 & clean 2-column layout) */
.availability-list,
.merchant-menu-manage-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 680px) {
  .availability-list,
  .merchant-menu-manage-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

.availability-item {
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 20px !important;
  padding: 16px 18px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  font-family: var(--font-display) !important;
  color: #0F172A !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
  position: relative !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

.availability-item:hover {
  border-color: #CBD5E1 !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08) !important;
  transform: translateY(-2px) !important;
}

.availability-item.is-unavailable {
  background: #F8FAFC !important;
  border-color: #E2E8F0 !important;
  opacity: 0.8 !important;
}

.avail-card-top {
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
}

/* Drink thumbnail in availability list */
.drink-thumb {
  position: relative !important;
  width: 64px !important;
  height: 64px !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  border: 2px solid #E2E8F0 !important;
  background: #F8FAFC !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

.drink-thumb:hover {
  transform: scale(1.05) !important;
  border-color: #6E1624 !important;
  box-shadow: 0 4px 14px rgba(110, 22, 36, 0.15) !important;
}

.drink-thumb-placeholder {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(145deg, #F8FAFC 0%, #F1F5F9 100%) !important;
}

.drink-thumb-placeholder svg {
  opacity: 0.6 !important;
  color: #6E1624 !important;
}

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

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

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

.availability-item-info {
  flex: 1 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.avail-title-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
}

.availability-item-name {
  font-family: var(--font-display) !important;
  font-size: 1.08rem !important;
  font-weight: 800 !important;
  color: #2B050B !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  word-break: break-word !important;
}

.avail-meta-badges {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
  margin-top: 4px !important;
}

.avail-cat-pill {
  background: #F1F5F9 !important;
  color: #334155 !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  padding: 3px 10px !important;
  border-radius: 8px !important;
  text-transform: capitalize !important;
  border: 1px solid #E2E8F0 !important;
}

.avail-tag-pill {
  background: #FEF3C7 !important;
  color: #92400E !important;
  border: 1px solid #FDE68A !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  padding: 3px 10px !important;
  border-radius: 8px !important;
}

.avail-price-tag {
  font-size: 1.05rem !important;
  font-weight: 900 !important;
  color: #8C182B !important;
  margin-top: 6px !important;
}

.avail-card-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-top: 14px !important;
  border-top: 1.5px solid #F1F5F9 !important;
  margin-top: auto !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.avail-stock-control {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.avail-stock-label {
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}

.avail-stock-label.in-stock {
  color: #166534 !important;
}

.avail-stock-label.out-of-stock {
  color: #991B1B !important;
}

.avail-actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.edit-drink-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 8px 16px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #6E1624 0%, #4A0E17 100%) !important;
  color: #FFFFFF !important;
  font-family: var(--font-display) !important;
  font-size: 0.8rem !important;
  font-weight: 800 !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  box-shadow: 0 3px 10px rgba(110, 22, 36, 0.25) !important;
}

.edit-drink-btn:hover {
  background: #4A0E17 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 5px 14px rgba(110, 22, 36, 0.35) !important;
}

.delete-drink-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  border-radius: 10px !important;
  background: #FEE2E2 !important;
  border: 1px solid #FECACA !important;
  color: #DC2626 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.delete-drink-btn:hover {
  background: #DC2626 !important;
  color: #FFFFFF !important;
  transform: translateY(-1px) !important;
}

/* 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 {
    display: flex !important;
    width: 100% !important;
  }
  
  .phone-frame {
    width: 100% !important;
    max-width: 580px !important;
    margin: 0 auto !important;
  }
}

@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: max(16px, env(safe-area-inset-top, 16px)) 16px max(16px, env(safe-area-inset-bottom, 16px)) 16px !important;
  box-sizing: border-box !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
}
.auth-modal.is-visible {
  display: flex;
}
.auth-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(22, 29, 58, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.auth-modal-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: calc(100vh - 32px) !important;
  max-height: calc(100dvh - 32px) !important;
  display: flex;
  flex-direction: column;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
  background: #FFFFFF !important;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 20px 20px !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
  z-index: 2;
  box-sizing: border-box !important;
  margin: auto !important;
  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; }
}

@keyframes authModalShake {
  0%, 100% { transform: translateX(0) scale(1); }
  20%, 60% { transform: translateX(-8px) scale(1.02); }
  40%, 80% { transform: translateX(8px) scale(1.02); }
}

.auth-modal-card.shake-animation {
  animation: authModalShake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) !important;
}
.auth-modal-header {
  position: relative;
  text-align: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.auth-modal-close-btn {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid #CBD5E1;
  background: #F8FAFC;
  color: #475569;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
  padding: 0;
  line-height: 1;
}
.auth-modal-close-btn:hover {
  background: #E2E8F0;
  color: #0F172A;
  border-color: #94A3B8;
  transform: scale(1.06);
}
.auth-logo {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  margin-bottom: 12px;
  box-shadow: 0 6px 20px rgba(110, 22, 36, 0.2);
}
.auth-modal-header h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: #0F172A !important;
  letter-spacing: -0.3px;
}
.auth-modal-header p {
  font-size: 0.85rem;
  color: #64748B !important;
  margin-top: 4px;
  font-weight: 600;
}
.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.8rem;
  font-weight: 800;
  color: #1E293B !important;
}
.auth-field input, .auth-field select {
  width: 100%;
  background: #F8FAFC !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 14px !important;
  padding: 12px 16px !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: #0F172A !important;
  outline: none;
  transition: var(--transition);
}
.auth-field input:focus, .auth-field select:focus {
  border-color: #6E1624 !important;
  background: #FFFFFF !important;
  box-shadow: 0 0 0 4px rgba(110, 22, 36, 0.1) !important;
}
.auth-field input:-webkit-autofill,
.auth-field input:-webkit-autofill:hover,
.auth-field input:-webkit-autofill:focus {
  -webkit-text-fill-color: #0F172A !important;
  -webkit-box-shadow: 0 0 0 30px #F8FAFC inset !important;
  box-shadow: 0 0 0 30px #F8FAFC inset !important;
  border-color: #CBD5E1 !important;
}
.auth-error {
  color: #EF4444 !important;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
}
.auth-toggle {
  font-size: 0.85rem;
  color: #64748B !important;
  text-align: center;
  margin-top: 8px;
  font-weight: 600;
}
.auth-toggle button {
  background: none;
  border: none;
  color: #6E1624 !important;
  font-weight: 800 !important;
  cursor: pointer;
  padding: 0 4px;
  font-size: 0.85rem;
  text-decoration: underline;
}
.auth-toggle button:hover {
  color: #8C182B !important;
}

/* 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 {
  width: 100%;
  background: #F1F5F9 !important;
  color: #334155 !important;
  border: 1.5px solid #CBD5E1 !important;
  padding: 12px 20px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}
.secondary-action:hover {
  background: #E2E8F0 !important;
  color: #0F172A !important;
}

/* 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);
}
.status-badge.is-cancelled {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(220, 38, 38, 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 (Red Velvet Theme) */
.discover-hero-banner,
.menu-hero-banner {
  background: linear-gradient(135deg, #4A0E17 0%, #6E1624 50%, #8C182B 100%) !important;
  border-radius: 24px;
  padding: 18px 16px 16px;
  margin-bottom: 20px;
  box-shadow: 0 12px 32px rgba(74, 14, 23, 0.35) !important;
  border: 1px solid rgba(140, 24, 43, 0.4) !important;
  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(140, 24, 43, 0.4) 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) {
  html, body {
    background-color: var(--bg) !important;
    overflow-x: hidden !important;
  }

  .app-shell {
    min-height: 100vh;
    min-height: -webkit-fill-available;
    background-color: var(--bg) !important;
  }

  /* Hide desktop ordering workspace completely on mobile */
  .ordering-workspace {
    display: none !important;
  }

  .topbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    padding: calc(env(safe-area-inset-top, 6px) + 8px) 16px 10px !important;
    background: #2B050B !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25) !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .brand {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  .brand img {
    width: 32px !important;
    height: 32px !important;
    border-radius: 10px !important;
  }

  .brand strong {
    font-size: 1.15rem !important;
    letter-spacing: 0.5px !important;
  }

  .brand small {
    display: none !important;
  }

  .topbar .auth-bar {
    display: none !important;
  }

  .auth-login-btn {
    padding: 6px 14px !important;
    font-size: 0.8rem !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #D4AF37 0%, #AA7C11 100%) !important;
    color: #2B050B !important;
    border: none !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4) !important;
    white-space: nowrap !important;
  }

  .view {
    padding: 0 !important;
  }

  .view.is-visible {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .view:not(.is-visible) {
    display: none !important;
  }

  .customer-stage {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .phone-frame {
    position: relative !important;
    top: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    height: auto !important;
    min-height: 100vh !important;
    min-height: -webkit-fill-available !important;
    aspect-ratio: unset !important;
    background: var(--bg) !important;
    border-radius: 0 !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

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

  .phone-screen {
    width: 100% !important;
    min-height: 100vh !important;
    min-height: -webkit-fill-available !important;
    height: auto !important;
    border-radius: 0 !important;
    overflow: visible !important;
    background: var(--bg) !important;
  }

  .phone-pages {
    padding: 12px 16px calc(110px + env(safe-area-inset-bottom, 16px)) !important;
  }

  .phone-page {
    background: transparent !important;
  }

  .phone-page.is-active {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    animation: fadeSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  }

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

  /* ─── ZUS COFFEE & LUCKIN COFFEE MENU SCROLL LAYOUT ─── */
  .phone-menu-split-layout {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    align-items: flex-start !important;
    width: 100% !important;
    position: relative !important;
    margin-top: 10px !important;
  }

  .phone-category-sidebar {
    width: 70px !important;
    flex-shrink: 0 !important;
    position: sticky !important;
    top: 56px !important;
    max-height: calc(100vh - 165px) !important;
    overflow-y: auto !important;
    scrollbar-width: none !important;
    background: #FFFFFF !important;
    border-radius: 16px !important;
    padding: 6px 4px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-sizing: border-box !important;
    z-index: 50 !important;
  }

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

  .phone-category-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 9px 4px !important;
    border-radius: 12px !important;
    margin-bottom: 6px !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    color: #64748B !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    background: transparent !important;
    border: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .phone-category-item.is-active,
  .phone-category-item:hover {
    background: linear-gradient(135deg, #4A0E17 0%, #2B050B 100%) !important;
    color: #D4AF37 !important;
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
    box-shadow: 0 4px 14px rgba(74, 14, 23, 0.4) !important;
  }

  .phone-menu-content {
    flex: 1 !important;
    min-width: 0 !important;
  }

  /* Phone Menu List - Mobile 2-Column Grid (ZUS Coffee Style) */
  .phone-menu-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    padding-bottom: 120px !important;
  }


  .phone-active-order-card {
    background: linear-gradient(135deg, #4A0E17 0%, #2B050B 100%) !important;
    border-radius: 20px !important;
    padding: 16px !important;
    border: 1px solid rgba(212, 175, 55, 0.25) !important;
    box-shadow: 0 8px 24px rgba(74, 14, 23, 0.3) !important;
  }

  .active-order-badge {
    color: #D4AF37 !important;
    font-weight: 800 !important;
  }

  .active-order-status-chip {
    background: rgba(212, 175, 55, 0.15) !important;
    color: #FCE89B !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
  }

  .step-chip.active {
    background: linear-gradient(135deg, #D4AF37 0%, #AA7C11 100%) !important;
    color: #2B050B !important;
    font-weight: 800 !important;
  }

  /* ─── REDESIGNED PROFILE HEADER CARD (CLEAN & PREMIUM) ─── */
  .account-profile {
    background: linear-gradient(135deg, #4A0E17 0%, #2B050B 100%) !important;
    border: 1.5px solid #D4AF37 !important;
    border-radius: 22px !important;
    padding: 18px 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-shadow: 0 12px 30px rgba(74, 14, 23, 0.4), 0 0 25px rgba(212, 175, 55, 0.25) !important;
    margin-bottom: 20px !important;
    position: relative !important;
    overflow: hidden !important;
  }

  .account-avatar-wrap {
    position: relative !important;
    width: 54px !important;
    height: 54px !important;
    border-radius: 50% !important;
    border: 2px solid #D4AF37 !important;
    background: #2B050B !important;
    padding: 3px !important;
    box-shadow: 0 0 14px rgba(212, 175, 55, 0.4) !important;
    flex-shrink: 0 !important;
  }

  .account-avatar-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    display: block !important;
  }

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

  .account-profile h2 {
    margin: 2px 0 6px !important;
    font-size: 1.25rem !important;
    font-weight: 900 !important;
    color: #FFFFFF !important;
    letter-spacing: -0.01em !important;
    font-family: var(--font-display) !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6) !important;
  }

  .role-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    background: linear-gradient(135deg, #FCE89B 0%, #D4AF37 100%) !important;
    color: #2B050B !important;
    font-weight: 900 !important;
    font-size: 0.72rem !important;
    padding: 3px 10px !important;
    border-radius: 99px !important;
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3) !important;
  }

  /* ─── BRANDED HERO COVER CAFE CARDS (NO CIRCLE PROFILE PHOTO) ─── */
  .discover-cafe-card.branded-cover-card {
    background: #FFFFFF !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease !important;
    cursor: pointer !important;
  }

  .discover-cafe-card.branded-cover-card:hover,
  .discover-cafe-card.branded-cover-card:active {
    transform: translateY(-3px) !important;
    box-shadow: 0 14px 38px rgba(74, 14, 23, 0.18) !important;
  }

  .discover-cafe-hero-cover {
    height: 140px !important;
    background-size: cover !important;
    background-position: center !important;
    position: relative !important;
    padding: 14px 16px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }

  .cover-top-badges {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    z-index: 2 !important;
  }

  .cover-rating-badge {
    background: rgba(10, 20, 40, 0.75) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    color: #FCE89B !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    padding: 4px 10px !important;
    border-radius: 99px !important;
    border: 1px solid rgba(212, 175, 55, 0.35) !important;
  }

  .discover-status-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: rgba(16, 185, 129, 0.2) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    color: #34D399 !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    padding: 4px 10px !important;
    border-radius: 99px !important;
    border: 1px solid rgba(52, 211, 153, 0.4) !important;
  }

  .discover-status-dot {
    width: 6px !important;
    height: 6px !important;
    background: #34D399 !important;
    border-radius: 50% !important;
    box-shadow: 0 0 8px #34D399 !important;
  }

  .cover-title-wrap {
    z-index: 2 !important;
  }

  .cover-title-wrap h3 {
    margin: 0 0 2px !important;
    font-size: 1.2rem !important;
    font-weight: 900 !important;
    color: #FFFFFF !important;
    font-family: var(--font-display) !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7) !important;
    letter-spacing: -0.01em !important;
  }

  .cover-title-wrap p {
    margin: 0 !important;
    font-size: 0.78rem !important;
    color: #E2E8F0 !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.7) !important;
  }

  .discover-cafe-card-body {
    padding: 14px 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    background: #FFFFFF !important;
  }

  .discover-cafe-card-body .discover-cafe-meta {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
  }

  .discover-meta-tag {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    background: #F1F5F9 !important;
    color: #475569 !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    padding: 4px 8px !important;
    border-radius: 8px !important;
  }

  .discover-order-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: linear-gradient(135deg, #4A0E17 0%, #2B050B 100%) !important;
    color: #FCE89B !important;
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
    font-weight: 900 !important;
    font-size: 0.82rem !important;
    padding: 9px 14px !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(74, 14, 23, 0.3) !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .discover-order-btn:active {
    transform: scale(0.96) !important;
  }

  /* ─── MISSIONS & REWARDS PAGE STYLES (HIGH VISIBILITY) ─── */
  .missions-page-header h2 {
    color: #2B050B !important;
    font-size: 1.4rem !important;
    font-weight: 900 !important;
    font-family: var(--font-display) !important;
    margin: 0 0 14px !important;
  }

  .missions-tabs {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3) !important;
    margin-bottom: 18px !important;
    padding-bottom: 4px !important;
  }

  .missions-tab {
    background: transparent !important;
    border: none !important;
    color: #64748B !important;
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    padding: 8px 12px !important;
    cursor: pointer !important;
    position: relative !important;
    transition: color 0.2s ease !important;
  }

  .missions-tab.is-active {
    color: #AA7C11 !important;
    font-weight: 900 !important;
  }

  .missions-tab.is-active::after {
    content: '' !important;
    position: absolute !important;
    bottom: -6px !important;
    left: 0 !important;
    right: 0 !important;
    height: 3px !important;
    background: linear-gradient(90deg, #FCE89B, #D4AF37) !important;
    border-radius: 99px !important;
    box-shadow: 0 0 10px #D4AF37 !important;
  }

  /* ─── VIP CARD & ANIMATED CIRCULAR POINTS LOOP GRAPH ─── */
  .missions-vip-bar {
    background: linear-gradient(135deg, #4A0E17 0%, #2B050B 100%) !important;
    border: 1.5px solid #D4AF37 !important;
    border-radius: 22px !important;
    padding: 16px 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    box-shadow: 0 10px 30px rgba(74, 14, 23, 0.45), 0 0 25px rgba(212, 175, 55, 0.25) !important;
    margin-bottom: 20px !important;
    position: relative !important;
    overflow: hidden !important;
  }

  .missions-vip-left {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    flex: 1 !important;
    min-width: 0 !important;
  }

  .missions-vip-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: linear-gradient(135deg, #FCE89B 0%, #D4AF37 100%) !important;
    color: #2B050B !important;
    font-weight: 900 !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.05em !important;
    padding: 4px 12px !important;
    border-radius: 99px !important;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35) !important;
    width: fit-content !important;
  }

  .missions-level-wrap {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
  }

  .vip-level-header {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .vip-level-icon {
    font-size: 1.1rem !important;
  }

  .vip-level-title {
    font-size: 0.95rem !important;
    font-weight: 900 !important;
    color: #FFFFFF !important;
    letter-spacing: 0.03em !important;
  }

  .vip-level-subtitle,
  .vip-level-name {
    font-size: 0.78rem !important;
    color: #FCE89B !important;
    font-weight: 800 !important;
    margin: 0 !important;
    display: block !important;
  }

  .vip-level-bar {
    width: 100% !important;
    max-width: 170px !important;
    height: 8px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 99px !important;
    overflow: hidden !important;
    margin-top: 4px !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
  }

  .vip-level-fill {
    display: block !important;
    height: 100% !important;
    background: linear-gradient(90deg, #FCE89B, #D4AF37) !important;
    border-radius: 99px !important;
    box-shadow: 0 0 10px #D4AF37 !important;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  /* Points Loop SVG & Counter (Dead-Centered Inside Circle) */
  .missions-pts-loop-wrap {
    position: relative !important;
    width: 82px !important;
    height: 82px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }

  .pts-loop-svg {
    transform: rotate(-90deg) !important;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4)) !important;
    width: 82px !important;
    height: 82px !important;
  }

  .pts-loop-fill {
    animation: ptsLoopGlow 3s ease-in-out infinite alternate !important;
  }

  @keyframes ptsLoopGlow {
    0% { stroke-dashoffset: 65; filter: drop-shadow(0 0 2px #D4AF37); }
    50% { stroke-dashoffset: 30; filter: drop-shadow(0 0 10px #FCE89B); }
    100% { stroke-dashoffset: 55; filter: drop-shadow(0 0 4px #D4AF37); }
  }

  .pts-loop-content {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    pointer-events: none !important;
    z-index: 2 !important;
  }

/* ─── DRINK CUSTOMIZER SHEET MODAL ─── */
.customizer-modal-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(10, 15, 25, 0.75) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 99990 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.25s ease !important;
}

.customizer-modal-backdrop.is-visible {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.customizer-sheet {
  width: 100% !important;
  max-width: 480px !important;
  max-height: 90vh !important;
  background: #FFFFFF !important;
  border-radius: 28px 28px 0 0 !important;
  padding: 24px 20px 20px !important;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.4) !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  transform: translateY(100%) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  overflow: hidden !important;
}

.customizer-modal-backdrop.is-visible .customizer-sheet {
  transform: translateY(0) !important;
}

.customizer-close-btn {
  position: absolute !important;
  top: 16px !important;
  right: 18px !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: #F1F5F9 !important;
  color: #475569 !important;
  border: none !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 10 !important;
}

.customizer-header {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid #F1F5F9 !important;
  margin-bottom: 16px !important;
}

.customizer-img-wrap {
  width: 64px !important;
  height: 64px !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.8rem !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
}

.customizer-img-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.customizer-title-block h2 {
  margin: 0 0 2px !important;
  font-size: 1.15rem !important;
  font-weight: 900 !important;
  color: #0F172A !important;
  font-family: var(--font-display) !important;
}

.customizer-title-block p {
  margin: 0 0 4px !important;
  font-size: 0.75rem !important;
  color: #64748B !important;
  line-height: 1.3 !important;
}

.customizer-price {
  font-size: 0.95rem !important;
  font-weight: 900 !important;
  color: #2B050B !important;
}

.customizer-body {
  flex: 1 !important;
  overflow-y: auto !important;
  padding-right: 4px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;
}

.customizer-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.customizer-group.is-hidden,
.customizer-group[hidden],
.customizer-group[style*="display: none"],
.customizer-group[style*="display:none"] {
  display: none !important;
}

.customizer-label {
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  color: #1E293B !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.customizer-label .req-star {
  font-size: 0.7rem !important;
  color: #E11D48 !important;
  font-weight: 600 !important;
}

.customizer-options-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.opt-pill {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 8px 14px !important;
  border-radius: 12px !important;
  background: #F8FAFC !important;
  border: 1.5px solid #E2E8F0 !important;
  color: #334155 !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.opt-pill input {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.opt-pill.is-selected {
  background: #2B050B !important;
  color: #FCE89B !important;
  border-color: #D4AF37 !important;
  box-shadow: 0 4px 12px rgba(43, 5, 11, 0.25) !important;
}

.customizer-checkbox-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
}

.opt-check-item {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 12px !important;
  border-radius: 12px !important;
  background: #F8FAFC !important;
  border: 1.5px solid #E2E8F0 !important;
  color: #334155 !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.opt-check-item input {
  accent-color: #2B050B !important;
  width: 16px !important;
  height: 16px !important;
  cursor: pointer !important;
}

.opt-check-item.is-selected {
  background: rgba(212, 175, 55, 0.12) !important;
  border-color: #D4AF37 !important;
  color: #2B050B !important;
}

.customizer-footer {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding-top: 16px !important;
  border-top: 1px solid #F1F5F9 !important;
  margin-top: 14px !important;
}

.customizer-qty-ctrl {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: #F1F5F9 !important;
  padding: 4px 10px !important;
  border-radius: 14px !important;
}

.qty-btn {
  width: 32px !important;
  height: 32px !important;
  border-radius: 10px !important;
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  color: #0F172A !important;
  font-size: 1.1rem !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.qty-val {
  font-size: 1rem !important;
  font-weight: 900 !important;
  color: #0F172A !important;
  min-width: 20px !important;
  text-align: center !important;
}

.customizer-add-btn {
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: linear-gradient(135deg, #4A0E17 0%, #2B050B 100%) !important;
  color: #FCE89B !important;
  border: 1.5px solid #D4AF37 !important;
  padding: 14px 20px !important;
  border-radius: 16px !important;
  font-size: 0.95rem !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  box-shadow: 0 6px 20px rgba(74, 14, 23, 0.4) !important;
  transition: transform 0.15s ease !important;
}

.customizer-add-btn:active {
  transform: scale(0.97) !important;
}

  .balance-pts-val {
    font-size: 1.45rem !important;
    font-weight: 900 !important;
    color: #FCE89B !important;
    line-height: 1 !important;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.6) !important;
  }

  .pts-loop-content small {
    font-size: 0.62rem !important;
    font-weight: 900 !important;
    color: #D4AF37 !important;
    letter-spacing: 0.08em !important;
    margin-top: 2px !important;
  }

  /* ─── GAMIFIED 7-DAY DAILY CHECK-IN CARD ─── */
  .daily-checkin-card {
    background: linear-gradient(135deg, #4A0E17 0%, #2B050B 100%) !important;
    border: 1.5px solid rgba(212, 175, 55, 0.4) !important;
    border-radius: 24px !important;
    padding: 18px !important;
    margin-bottom: 22px !important;
    box-shadow: 0 10px 30px rgba(74, 14, 23, 0.4), 0 0 20px rgba(212, 175, 55, 0.2) !important;
  }

  .checkin-card-head {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin-bottom: 8px !important;
  }

  .checkin-streak-badge {
    display: inline-block !important;
    font-size: 0.68rem !important;
    font-weight: 900 !important;
    color: #2B050B !important;
    background: linear-gradient(135deg, #FCE89B 0%, #D4AF37 100%) !important;
    padding: 3px 10px !important;
    border-radius: 99px !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 4px !important;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3) !important;
  }

  .checkin-card-head h3 {
    margin: 0 !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
  }

  .checkin-current-day-badge {
    background: rgba(212, 175, 55, 0.15) !important;
    color: #FCE89B !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    padding: 4px 10px !important;
    border-radius: 99px !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
  }

  .checkin-desc {
    margin: 0 0 16px !important;
    font-size: 0.82rem !important;
    color: #E8D5D8 !important;
    line-height: 1.4 !important;
  }

  .checkin-desc strong {
    color: #FCE89B !important;
  }

  /* 7-Day Streak Pills Grid */
  .checkin-days-grid {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 6px !important;
    margin-bottom: 16px !important;
  }

  .checkin-day-pill {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    border-radius: 14px !important;
    padding: 10px 4px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    text-align: center !important;
    transition: transform 0.2s ease, background 0.2s ease !important;
  }

  .checkin-day-pill.is-active {
    background: linear-gradient(135deg, #D4AF37 0%, #AA7C11 100%) !important;
    border-color: #FCE89B !important;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4) !important;
    transform: translateY(-2px) !important;
  }

  .checkin-day-pill.is-active .day-num {
    color: #2B050B !important;
    font-weight: 900 !important;
  }

  .checkin-day-pill.is-active .day-pts {
    color: #2B050B !important;
    font-weight: 900 !important;
  }

  .checkin-day-pill.is-bonus {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(74, 14, 23, 0.6)) !important;
    border: 1.5px dashed #D4AF37 !important;
  }

  .checkin-day-pill .day-num {
    font-size: 0.62rem !important;
    color: #94A3B8 !important;
    font-weight: 700 !important;
  }

  .checkin-day-pill .day-pts {
    font-size: 0.72rem !important;
    color: #FCE89B !important;
    font-weight: 800 !important;
  }

  .checkin-day-pill .day-status-icon {
    font-size: 0.68rem !important;
    font-weight: 900 !important;
    color: #2B050B !important;
  }

  .reward-claim-btn {
    width: 100% !important;
    background: linear-gradient(135deg, #D4AF37 0%, #AA7C11 100%) !important;
    color: #2B050B !important;
    border: none !important;
    font-weight: 900 !important;
    font-size: 0.92rem !important;
    padding: 14px !important;
    border-radius: 16px !important;
    cursor: pointer !important;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45) !important;
    transition: transform 0.15s ease, background 0.2s ease !important;
  }

  .reward-claim-btn:active {
    transform: scale(0.98) !important;
  }

  /* Claimed Button State */
  .reward-claim-btn.is-claimed,
  .reward-action.is-claimed,
  .mission-action-btn.completed {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
    color: #FFFFFF !important;
    border: 1px solid #059669 !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35) !important;
    opacity: 0.95 !important;
    cursor: default !important;
  }

  /* Mission Action Buttons */
  .mission-action-btn {
    width: 100% !important;
    padding: 10px 12px !important;
    border-radius: 14px !important;
    font-weight: 800 !important;
    font-size: 0.85rem !important;
    cursor: pointer !important;
    transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease !important;
    text-align: center !important;
    display: block !important;
  }

  .mission-action-btn.start-btn {
    background: linear-gradient(135deg, #FFF1F2 0%, #FFE4E6 100%) !important;
    color: #9F1239 !important;
    border: 1.5px solid #E11D48 !important;
    box-shadow: 0 2px 8px rgba(225, 29, 72, 0.15) !important;
  }

  .mission-action-btn.start-btn:hover,
  .mission-action-btn.start-btn:active {
    background: #9F1239 !important;
    color: #FFFFFF !important;
    border-color: #9F1239 !important;
    box-shadow: 0 4px 14px rgba(159, 18, 57, 0.35) !important;
    transform: scale(0.98) !important;
  }

  .mission-action-btn.claimable {
    background: linear-gradient(135deg, #FFD700 0%, #F59E0B 100%) !important;
    color: #2B050B !important;
    border: none !important;
    font-weight: 900 !important;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.45) !important;
  }

  .mission-action-btn.claimable:active {
    transform: scale(0.98) !important;
  }

/* ─── TOAST NOTIFICATIONS (TOP RIGHT POPUP) ─── */
#toastContainer,
.toast-container {
  position: fixed !important;
  top: calc(env(safe-area-inset-top, 20px) + 16px) !important;
  right: 16px !important;
  left: auto !important;
  transform: none !important;
  z-index: 99999999 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 8px !important;
  max-width: calc(100vw - 32px) !important;
  width: auto !important;
  pointer-events: none !important;
}

.toast {
  pointer-events: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: rgba(15, 23, 42, 0.95) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  color: #FFFFFF !important;
  padding: 10px 16px !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  font-size: 0.84rem !important;
  font-weight: 800 !important;
  animation: toastSlideInRight 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  transition: opacity 0.3s ease, transform 0.3s ease !important;
}

.toast-error {
  background: rgba(127, 29, 29, 0.96) !important;
  border: 1px solid #EF4444 !important;
  color: #FEF2F2 !important;
}
.toast-success {
  background: rgba(20, 83, 45, 0.96) !important;
  border: 1px solid #22C55E !important;
  color: #F0FDF4 !important;
}
.toast-order, .toast-info {
  background: rgba(15, 23, 42, 0.96) !important;
  border: 1px solid #38BDF8 !important;
  color: #F0F9FF !important;
}

@keyframes toastSlideInRight {
  0% { transform: translateX(30px) scale(0.95); opacity: 0; }
  100% { transform: translateX(0) scale(1); opacity: 1; }
}

/* ─── WHATSAPP SIMULATED PUSH NOTIFICATION BANNER ─── */
.wa-push-banner {
  position: fixed !important;
  top: calc(env(safe-area-inset-top, 20px) + 12px) !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(-130px) !important;
  width: min(calc(100vw - 24px), 420px) !important;
  background: rgba(15, 23, 42, 0.97) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1.5px solid rgba(37, 211, 102, 0.45) !important;
  border-radius: 20px !important;
  padding: 12px 14px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 24px rgba(37, 211, 102, 0.25) !important;
  z-index: 999999999 !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease !important;
  opacity: 0 !important;
  pointer-events: auto !important;
}

.wa-push-banner.is-visible {
  transform: translateX(-50%) translateY(0) !important;
  opacity: 1 !important;
}

.wa-push-icon {
  width: 42px !important;
  height: 42px !important;
  background: #25D366 !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #FFFFFF !important;
  flex-shrink: 0 !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4) !important;
}

.wa-push-body {
  flex: 1 !important;
  min-width: 0 !important;
}

.wa-push-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 2px !important;
}

.wa-push-title {
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  color: #86EFAC !important;
  letter-spacing: -0.2px !important;
}

.wa-push-time {
  font-size: 0.7rem !important;
  color: #94A3B8 !important;
  font-weight: 600 !important;
}

.wa-push-text {
  font-size: 0.8rem !important;
  color: #F8FAFC !important;
  line-height: 1.35 !important;
  font-weight: 500 !important;
  margin: 0 !important;
  word-break: break-word !important;
}

.wa-push-text strong {
  color: #4ADE80 !important;
  font-weight: 900 !important;
  font-size: 0.95rem !important;
  letter-spacing: 1px !important;
}

.wa-push-autofill-btn {
  background: linear-gradient(135deg, #25D366, #16A34A) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 10px !important;
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  padding: 8px 12px !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3) !important;
  transition: transform 0.15s ease !important;
}

.wa-push-autofill-btn:active {
  transform: scale(0.94) !important;
}

  .checkin-info p {
    margin: 0 !important;
    font-size: 0.8rem !important;
    color: #E8D5D8 !important;
    font-weight: 600 !important;
  }

  .reward-action {
    background: linear-gradient(135deg, #D4AF37 0%, #AA7C11 100%) !important;
    color: #2B050B !important;
    border: none !important;
    font-weight: 900 !important;
    font-size: 0.85rem !important;
    padding: 10px 16px !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4) !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  /* ─── ZUS STYLE 2-COLUMN SQUARE MISSION CARDS ─── */
  .missions-list-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    margin-top: 14px !important;
  }

  .zus-square-card {
    background: #FFFFFF !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  }

  .zus-square-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 30px rgba(0, 82, 255, 0.15) !important;
  }

  .mission-top-box {
    height: 95px !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px !important;
    box-sizing: border-box !important;
  }

  .mission-icon-emoji {
    font-size: 2.4rem !important;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2)) drop-shadow(0 2px 6px rgba(212, 175, 55, 0.35)) !important;
    transition: transform 0.35s cubic-bezier(0.34, 1.5, 0.64, 1) !important;
    display: inline-block !important;
    animation: emojiFloat3D 3.5s ease-in-out infinite alternate !important;
  }

  @keyframes emojiFloat3D {
    0% { transform: translateY(0) scale(1) rotate(0deg); }
    50% { transform: translateY(-4px) scale(1.06) rotate(3deg); }
    100% { transform: translateY(2px) scale(0.98) rotate(-2deg); }
  }

  .zus-square-card:hover .mission-icon-emoji {
    transform: scale(1.22) translateY(-6px) rotate(8deg) !important;
    filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.28)) drop-shadow(0 0 12px rgba(255, 215, 0, 0.6)) !important;
  }

  .mission-tag {
    position: absolute !important;
    bottom: 8px !important;
    background: #6E1624 !important;
    color: #FFFFFF !important;
    font-size: 0.56rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.06em !important;
    padding: 3px 10px !important;
    border-radius: 99px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
    text-transform: uppercase !important;
  }

  .mission-body {
    padding: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    flex: 1 !important;
  }

  .mission-desc {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    color: #0F172A !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 2.2em !important;
  }

  .mission-progress-bars {
    display: flex !important;
    gap: 4px !important;
    margin: 4px 0 !important;
  }

  .bar-seg {
    flex: 1 !important;
    height: 5px !important;
    border-radius: 99px !important;
    background: #E2E8F0 !important;
    transition: background 0.3s ease !important;
  }

  .bar-seg.filled {
    background: linear-gradient(90deg, #6E1624 0%, #B45309 100%) !important;
    box-shadow: 0 0 8px rgba(180, 83, 9, 0.45) !important;
  }

  .mission-meta {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    font-size: 0.7rem !important;
  }

  .mission-pts {
    color: #6E1624 !important;
    font-weight: 800 !important;
  }

  .mission-time {
    color: #64748B !important;
    font-weight: 600 !important;
  }

  .mission-action-btn {
    width: 100% !important;
    padding: 8px 12px !important;
    border-radius: 99px !important;
    font-family: var(--font-display) !important;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    border: 1.5px solid #6E1624 !important;
    background: #FFF1F2 !important;
    color: #6E1624 !important;
    transition: all 0.2s cubic-bezier(0.34, 1.4, 0.64, 1) !important;
  }

  .mission-action-btn:hover {
    background: #6E1624 !important;
    color: #FFFFFF !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(110, 22, 36, 0.25) !important;
  }

  .mission-action-btn.claimable {
    background: linear-gradient(135deg, #FFD700 0%, #F59E0B 100%) !important;
    color: #2B050B !important;
    border: none !important;
    font-weight: 900 !important;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.45) !important;
    animation: btnPulseGlow 1.8s infinite ease-in-out !important;
  }

  .mission-action-btn.claimable:hover {
    transform: scale(1.04) !important;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.65) !important;
  }

  .mission-action-btn.completed {
    background: #10B981 !important;
    color: #FFFFFF !important;
    border: none !important;
    cursor: default !important;
  }

  .mission-action-btn.in-progress {
    background: #F8FAFC !important;
    border-color: #CBD5E1 !important;
    color: #64748B !important;
  }

  .mission-card-footer {
    background: #F8FAFC !important;
    border-top: 1px solid #F1F5F9 !important;
    padding: 6px 12px !important;
    text-align: center !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    color: #94A3B8 !important;
  }

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

/* ─── FLYING POINTS ANIMATION ─── */
.flying-pts-animation {
  position: fixed;
  z-index: 99999;
  pointer-events: none;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  color: #F59E0B;
  text-shadow: 0 4px 15px rgba(245, 158, 11, 0.8), 0 0 20px #0052FF;
  animation: floatPointsUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes floatPointsUp {
  0% {
    opacity: 1;
    transform: translateY(0) scale(0.8) rotate(-6deg);
  }
  35% {
    transform: translateY(-45px) scale(1.35) rotate(6deg);
  }
  100% {
    opacity: 0;
    transform: translateY(-130px) scale(0.9) rotate(0deg);
  }
}

/* ════════════════════════════════════════════════════
   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: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border: 1.5px solid #BFDBFE;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: #1E3A8A;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}

.help-action-card:hover {
  background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
  border-color: #93C5FD;
  transform: translateY(-1px);
}

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

.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;
}

/* Standalone View Layout Overrides */

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: linear-gradient(135deg, #FFF1F2 0%, #FFE4E6 100%);
  color: #9F1239;
  border: 1.5px solid #E11D48;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.15);
}

.mission-action-btn.start-btn:hover {
  background: #9F1239;
  color: #FFFFFF;
  border-color: #9F1239;
  box-shadow: 0 4px 14px rgba(159, 18, 57, 0.35);
  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, #9F1239 0%, #E11D48 100%);
  box-shadow: 0 1px 4px rgba(225, 29, 72, 0.35);
}

/* 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: #9F1239;
}

.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;
  padding: 16px 16px 12px;
  background: linear-gradient(135deg, #FFFFFF 0%, #F8F6F1 100%);
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(15, 23, 42, 0.03);
  position: relative;
  overflow: hidden;
}

.menu-top-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #D4AF37, #FCE89B, #D4AF37);
  border-radius: 20px 20px 0 0;
}

/* Store card row */
.menu-store-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.menu-store-icon-wrap {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: linear-gradient(135deg, #FFF8E1, #FAECD8);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(212, 175, 55, 0.25), 0 1px 3px rgba(212, 175, 55, 0.15);
}

.menu-store-icon-wrap svg {
  display: block;
}

.menu-store-info {
  flex: 1;
  min-width: 0;
}

.menu-store-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-store-info strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  color: #1E293B;
  letter-spacing: -0.3px;
}

.menu-pickup-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: linear-gradient(135deg, #ECFDF5, #D1FAE5);
  color: #059669;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  border: 1px solid rgba(5, 150, 105, 0.15);
  box-shadow: 0 1px 4px rgba(5, 150, 105, 0.1);
}

.menu-pickup-badge svg {
  flex-shrink: 0;
}

.menu-store-info small {
  display: block;
  font-size: 0.72rem;
  color: #64748B;
  font-weight: 600;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

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

.ticker-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.2px;
}

.ticker-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.ticker-chip:active {
  transform: scale(0.97);
}

.ticker-chip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.4), transparent);
  pointer-events: none;
}

.ticker-chip.chip-red {
  background: linear-gradient(135deg, #FFF1F2, #FFE4E6);
  color: #E11D48;
  border: 1.5px solid rgba(225, 29, 72, 0.15);
}

.ticker-chip.chip-orange {
  background: linear-gradient(135deg, #FFF7ED, #FFEDD5);
  color: #EA580C;
  border: 1.5px solid rgba(234, 88, 12, 0.15);
}

.ticker-chip.chip-orange small {
  background: linear-gradient(135deg, #EA580C, #DC2626);
  color: #FFFFFF;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.56rem;
  margin-left: 3px;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 1px 3px rgba(234, 88, 12, 0.3);
}

.ticker-chip.chip-pink {
  background: linear-gradient(135deg, #FDF2F8, #FCE7F3);
  color: #DB2777;
  border: 1.5px solid rgba(219, 39, 119, 0.15);
}

/* Split Sidebar Menu Layout — Light Red Velvet Transparent Theme */
.phone-menu-split-layout {
  display: flex;
  gap: 10px;
  min-height: 480px;
  margin-bottom: 16px;
  background: linear-gradient(165deg, rgba(110, 22, 36, 0.03) 0%, rgba(140, 24, 43, 0.05) 50%, rgba(74, 14, 23, 0.03) 100%);
  border-radius: 20px;
  padding: 8px;
  position: relative;
}

/* Subtle pattern overlay for depth */
.phone-menu-split-layout::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(110, 22, 36, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(140, 24, 43, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

/* ── Modern ROEYALS Category Sidebar ── */
.phone-category-sidebar {
  width: 70px !important;
  flex-shrink: 0 !important;
  background: #FDFBF9 !important;
  border-radius: 18px !important;
  padding: 6px 4px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
  border: 1px solid rgba(110, 22, 36, 0.08) !important;
  max-height: calc(100vh - 165px) !important;
  overflow-y: auto !important;
  scrollbar-width: none !important;
  box-shadow: 0 4px 18px rgba(110, 22, 36, 0.04) !important;
  box-sizing: border-box !important;
  position: sticky !important;
  top: 56px !important;
  z-index: 20 !important;
}

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

/* Category Item Base */
.phone-cat-sidebar-item,
.phone-category-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 8px 3px 7px !important;
  border-radius: 14px !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  cursor: pointer !important;
  position: relative !important;
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  width: 100% !important;
  box-sizing: border-box !important;
  outline: none !important;
  -webkit-tap-highlight-color: transparent !important;
  user-select: none !important;
}

.phone-cat-sidebar-item:hover,
.phone-category-item:hover {
  background: rgba(110, 22, 36, 0.04) !important;
}

.phone-cat-sidebar-item:focus,
.phone-category-item:focus {
  outline: none !important;
}

/* Active Category Item - Sleek Elevated White Card with Roeyals Burgundy & Gold indicator */
.phone-cat-sidebar-item.is-active,
.phone-category-item.is-active {
  background: #FFFFFF !important;
  border-color: rgba(110, 22, 36, 0.09) !important;
  box-shadow: 0 4px 16px rgba(110, 22, 36, 0.09), 0 1px 3px rgba(0, 0, 0, 0.03) !important;
}

.phone-cat-sidebar-item.is-active::before,
.phone-category-item.is-active::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 18% !important;
  height: 64% !important;
  width: 3.5px !important;
  background: linear-gradient(180deg, #8C182B 0%, #D4AF37 100%) !important;
  border-radius: 0 4px 4px 0 !important;
}

/* Icon Bubble */
.cat-icon-bubble {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: rgba(110, 22, 36, 0.04) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.18rem !important;
  margin-bottom: 4px !important;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease !important;
  line-height: 1 !important;
}

.phone-cat-sidebar-item.is-active .cat-icon-bubble,
.phone-category-item.is-active .cat-icon-bubble {
  background: linear-gradient(135deg, rgba(110, 22, 36, 0.08) 0%, rgba(212, 175, 55, 0.12) 100%) !important;
  transform: scale(1.08) !important;
}

/* Name Block */
.cat-text-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  line-height: 1.15 !important;
  margin-bottom: 2px !important;
  width: 100% !important;
}

.cat-main-title {
  font-family: var(--font-display) !important;
  font-size: 0.67rem !important;
  font-weight: 700 !important;
  color: #334155 !important;
  display: block !important;
  word-break: break-word !important;
  text-align: center !important;
  letter-spacing: -0.15px !important;
  line-height: 1.15 !important;
  transition: color 0.15s ease !important;
}

.phone-cat-sidebar-item.is-active .cat-main-title,
.phone-category-item.is-active .cat-main-title {
  color: #6E1624 !important;
  font-weight: 900 !important;
}

.cat-sub-title {
  font-size: 0.48rem !important;
  font-weight: 700 !important;
  color: #94A3B8 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.4px !important;
  margin-top: 1px !important;
  line-height: 1 !important;
}

.phone-cat-sidebar-item.is-active .cat-sub-title,
.phone-category-item.is-active .cat-sub-title {
  color: #8C182B !important;
  font-weight: 800 !important;
}

/* Legacy cat-name fallback */
.cat-name {
  font-family: var(--font-display) !important;
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  color: #334155 !important;
  line-height: 1.15 !important;
}

.phone-cat-sidebar-item.is-active .cat-name,
.phone-category-item.is-active .cat-name {
  color: #6E1624 !important;
  font-weight: 900 !important;
}

/* Category Badge Pills — Micro, Refined, Color-Coded */
.cat-badge-pill {
  font-size: 0.46rem !important;
  font-weight: 800 !important;
  padding: 1.5px 5px !important;
  border-radius: 6px !important;
  margin-top: 3px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 90% !important;
  box-sizing: border-box !important;
  line-height: 1.25 !important;
}

/* Badges Themes */
.cat-badge-pill.badge-gold {
  background: rgba(212, 175, 55, 0.14) !important;
  color: #92400E !important;
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
}

.cat-badge-pill.badge-emerald {
  background: rgba(16, 185, 129, 0.12) !important;
  color: #065F46 !important;
  border: 1px solid rgba(16, 185, 129, 0.28) !important;
}

.cat-badge-pill.badge-sky {
  background: rgba(14, 165, 233, 0.12) !important;
  color: #0369A1 !important;
  border: 1px solid rgba(14, 165, 233, 0.28) !important;
}

.cat-badge-pill.badge-crimson {
  background: rgba(140, 24, 43, 0.10) !important;
  color: #8C182B !important;
  border: 1px solid rgba(140, 24, 43, 0.24) !important;
}

.cat-badge-pill.badge-burgundy,
.cat-badge-pill.badge-blue {
  background: rgba(110, 22, 36, 0.08) !important;
  color: #6E1624 !important;
  border: 1px solid rgba(110, 22, 36, 0.18) !important;
}

.cat-badge-pill.badge-orange {
  background: rgba(212, 175, 55, 0.14) !important;
  color: #92400E !important;
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
}

.cat-badge-pill.badge-dark {
  background: #2B050B !important;
  color: #FFFFFF !important;
}

/* Right Menu Content Area — Transparent Red Velvet */
.phone-menu-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 8px;
  border: 1px solid rgba(110, 22, 36, 0.05);
}

/* Category Hero Banner (Red Velvet Signature Theme) */
.category-hero-banner {
  background: linear-gradient(135deg, #4A0E17 0%, #6E1624 50%, #8C182B 100%) !important;
  color: #FFFFFF !important;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 6px 20px rgba(74, 14, 23, 0.35) !important;
  border: 1.5px solid rgba(140, 24, 43, 0.4) !important;
  position: relative;
  overflow: hidden;
}

.category-hero-banner .hero-badge {
  font-size: 0.56rem;
  font-weight: 900;
  background: #D4AF37 !important;
  color: #2B050B !important;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

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

.category-hero-banner p {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.9) !important;
  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.25);
  color: #34D399;
  border-color: rgba(16, 185, 129, 0.4);
  font-weight: 800;
}

.phone-status-steps-row .step-chip.is-current {
  background: linear-gradient(135deg, #0052FF 0%, #2563EB 100%);
  color: #FFFFFF;
  border-color: #3B82F6;
  box-shadow: 0 0 12px rgba(0, 82, 255, 0.6);
  font-weight: 900;
  animation: pulse-active-chip 2s infinite ease-in-out;
}

.phone-status-steps-row .step-chip.is-current.is-pending {
  background: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
  border-color: #F87171;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.6);
}

.phone-status-steps-row .step-chip.is-current.is-accepted {
  background: linear-gradient(135deg, #0052FF 0%, #2563EB 100%);
  border-color: #60A5FA;
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.7);
}

.phone-status-steps-row .step-chip.is-current.is-preparing {
  background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
  border-color: #FBBF24;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.7);
}

.phone-status-steps-row .step-chip.is-current.is-completed {
  background: linear-gradient(135deg, #059669 0%, #10B981 100%);
  border-color: #34D399;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.7);
}

@keyframes pulse-active-chip {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

/* 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);
  transition: all 0.2s ease;
}

.phone-receipt-card.is-selected-receipt {
  border: 1.5px solid #6E1624;
  background: linear-gradient(135deg, #FFF9FA, #FFFFFF);
  box-shadow: 0 4px 14px rgba(110, 22, 36, 0.08);
}

.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;
}

/* Inline install button spinner */
.btn-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: btnSpin 0.7s linear infinite;
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
}

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

.landing-page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: #200104;
  color: #FAF0F2;
  font-family: 'Plus Jakarta Sans', 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.landing-page.landing-hidden {
  display: none !important;
}

/* Gradient text utilities */
.landing-gradient-text {
  background: linear-gradient(135deg, #FFFFFF 0%, #FCE89B 50%, #E5C158 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.landing-velvet-gradient-text {
  background: linear-gradient(135deg, #7D0A14 0%, #A51424 50%, #C91E33 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── MODERN FROSTED NAVIGATION BAR ─── */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(32, 1, 4, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}
.landing-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.landing-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #FFFFFF;
  transition: transform 0.2s ease;
}
.landing-brand:hover {
  transform: translateY(-1px);
}
.landing-brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.landing-brand span {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
  color: #FFFFFF;
}
.landing-nav-links {
  display: flex;
  gap: 32px;
}
.landing-nav-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.25s ease;
  position: relative;
  padding: 4px 0;
}
.landing-nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: #D4AF37;
  border-radius: 2px;
  transition: width 0.25s ease;
}
.landing-nav-links a:hover {
  color: #FFFFFF;
}
.landing-nav-links a:hover::after {
  width: 100%;
}

/* Top Nav Store Buttons */
.landing-nav-store-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.landing-nav-store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  line-height: 1;
}
.landing-nav-appstore {
  background: #FFFFFF;
  color: #110306;
  border: 1px solid #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
.landing-nav-appstore:hover {
  transform: translateY(-2px);
  background: #F4EBEB;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}
.landing-nav-playstore {
  background: linear-gradient(135deg, #D4AF37 0%, #AA7C11 100%);
  color: #1A0508;
  border: 1px solid rgba(212, 175, 55, 0.7);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}
.landing-nav-playstore:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #FDE494 0%, #D4AF37 100%);
  box-shadow: 0 6px 22px rgba(212, 175, 55, 0.55);
}
.landing-nav-store-btn svg {
  flex-shrink: 0;
}

/* ─── HERO SECTION ─── */
.landing-hero {
  position: relative;
  padding: 150px 24px 90px;
  overflow: hidden;
  background: radial-gradient(circle at 55% 25%, #5E0812 0%, #380308 50%, #1E0104 100%);
}
.landing-hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}
.landing-hero-text {
  max-width: 600px;
}
.landing-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 24px;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.landing-hero-text h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin: 0 0 20px;
}
.landing-hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.75;
  color: rgba(255, 245, 245, 0.86);
  margin: 0 0 34px;
  font-weight: 400;
}
.landing-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 20px;
}

/* Store Badge Buttons */
.landing-hero-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 26px;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 180px;
}
.landing-hero-appstore {
  background: #000000;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}
.landing-hero-appstore:hover {
  transform: translateY(-3px);
  background: #111111;
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 18px 40px rgba(255, 255, 255, 0.16);
}
.landing-hero-playstore {
  background: #0A1428;
  color: #FFFFFF;
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}
.landing-hero-playstore:hover {
  transform: translateY(-3px);
  background: #0F1E38;
  border-color: rgba(212, 175, 55, 0.9);
  box-shadow: 0 18px 40px rgba(212, 175, 55, 0.28);
}
.landing-hero-store-btn svg {
  flex-shrink: 0;
}
.store-badge-copy {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}
.store-badge-copy small {
  font-size: 0.68rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0.82;
  font-weight: 600;
  color: inherit;
}
.store-badge-copy strong {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: inherit;
}
.landing-hero-secondary-row {
  margin-top: 10px;
}
.landing-web-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #FCE89B;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.9;
  transition: all 0.2s ease;
}
.landing-web-link:hover {
  opacity: 1;
  color: #FFFFFF;
  transform: translateX(3px);
}

/* ─── HERO IPHONE VIDEO SHOWCASE MOCKUP ─── */
.landing-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.landing-phone-mockup {
  width: 320px;
  height: 640px;
  background: #0D0204;
  border-radius: 46px;
  border: 3.5px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.85),
    0 0 70px rgba(185, 28, 48, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
  animation: landingPhoneFloat 6s ease-in-out infinite;
  display: flex;
  flex-direction: column;
}
@keyframes landingPhoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.landing-phone-speaker {
  width: 44px;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 12;
}

.landing-phone-island {
  width: 96px;
  height: 25px;
  background: #000000;
  border-radius: 20px;
  position: absolute;
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 11;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.landing-phone-screen {
  width: 100%;
  height: 100%;
  position: relative;
  background: #000000;
  border-radius: 42px;
  overflow: hidden;
}

.landing-phone-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 42px;
  background: #000;
}

/* Video Control Glass Overlay Bar */
.video-overlay-bar {
  position: absolute;
  bottom: 14px;
  left: 12px;
  right: 12px;
  background: rgba(18, 2, 5, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.video-status-tag {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #FFFFFF;
  padding-left: 6px;
  letter-spacing: 0.3px;
  user-select: none;
}

.video-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #EF4444;
  box-shadow: 0 0 10px #EF4444;
  animation: videoLivePulse 1.8s ease-in-out infinite;
}

@keyframes videoLivePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.video-controls-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.video-ctrl-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.video-ctrl-btn:hover {
  background: #FFFFFF;
  color: #7D0A14;
  transform: scale(1.08);
}

.video-mute-btn {
  width: auto;
  border-radius: 999px;
  padding: 0 10px;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
}

/* ─── FLOATING DECORATIVE BADGES ─── */
.landing-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(28, 2, 5, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 12px 18px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 25px rgba(125, 10, 20, 0.3);
  z-index: 6;
  transition: transform 0.3s ease;
  pointer-events: none;
}
.landing-float-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.float-icon-fire {
  background: rgba(239, 68, 68, 0.18);
}
.float-icon-crown {
  background: rgba(212, 175, 55, 0.18);
}
.landing-float-text strong {
  display: block;
  color: #FFFFFF;
  font-size: 0.88rem;
  font-weight: 700;
}
.landing-float-text small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
}
.landing-float-1 {
  top: 10%;
  right: -32px;
  animation: landingFloat1 5s ease-in-out infinite;
}
.landing-float-2 {
  bottom: 18%;
  left: -36px;
  animation: landingFloat2 6s ease-in-out infinite 1s;
}
@keyframes landingFloat1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1.5deg); }
}
@keyframes landingFloat2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(-1.5deg); }
}

/* Hero ambient background glow */
.landing-hero-glow {
  position: absolute;
  top: -150px;
  right: -150px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(185, 28, 48, 0.22), transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════
   SIGNATURE MENU SHOWCASE (Clean White / Red Velvet Accents)
   ═══════════════════════════════════════════════════════ */
.landing-signatures {
  padding: 110px 24px;
  position: relative;
  background: #FFFFFF;
  color: #1A0508;
  border-top: 1px solid rgba(125, 10, 20, 0.08);
}
.landing-section-inner {
  max-width: 1140px;
  margin: 0 auto;
}
.landing-section-header {
  text-align: center;
  margin-bottom: 60px;
}
.landing-section-header.light-theme h2 {
  color: #1A0508;
}
.landing-section-header.light-theme p {
  color: #5C4549;
}
.landing-section-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.landing-section-badge.light-theme {
  background: rgba(125, 10, 20, 0.06);
  border-color: rgba(125, 10, 20, 0.16);
  color: #7D0A14;
}
.landing-section-badge.gold-badge {
  background: rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.4);
  color: #FCE89B;
}
.landing-section-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.7rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.landing-section-header p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Signatures 4-Column Grid */
.landing-signatures-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.landing-sig-card {
  background: #FAF7F5;
  border: 1px solid rgba(125, 10, 20, 0.08);
  border-radius: 24px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.landing-sig-card:hover {
  background: #FFFFFF;
  transform: translateY(-8px);
  border-color: rgba(125, 10, 20, 0.28);
  box-shadow: 0 24px 50px rgba(125, 10, 20, 0.12), 0 4px 12px rgba(0, 0, 0, 0.03);
}
.sig-card-tag {
  align-self: flex-start;
  background: rgba(125, 10, 20, 0.08);
  color: #7D0A14;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.sig-card-tag.highlight {
  background: #7D0A14;
  color: #FFFFFF;
}
.sig-card-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: rgba(125, 10, 20, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}
.landing-sig-card:hover .sig-card-icon-wrap {
  transform: scale(1.08) rotate(4deg);
}
.landing-sig-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.22rem;
  font-weight: 800;
  color: #1A0508;
  margin: 0 0 8px;
  line-height: 1.3;
}
.landing-sig-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #6A5054;
  margin: 0 0 22px;
  flex-grow: 1;
}
.sig-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(125, 10, 20, 0.06);
}
.sig-card-price {
  font-weight: 800;
  font-size: 1.05rem;
  color: #7D0A14;
}
.sig-card-pill {
  font-size: 0.72rem;
  color: #7C6064;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════
   FEATURES SECTION (Clean Modern Red Velvet Grid)
   ═══════════════════════════════════════════════════════ */
.landing-features {
  padding: 110px 24px;
  position: relative;
  background: #250205;
}
.landing-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.landing-feature-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 38px 32px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.landing-feature-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(185, 28, 48, 0.45);
  transform: translateY(-5px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(125, 10, 20, 0.3);
}
.landing-feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  background: linear-gradient(135deg, #7D0A14 0%, #B91C30 100%);
  box-shadow: 0 8px 24px rgba(125, 10, 20, 0.45);
}
.landing-feature-icon span {
  font-size: 1.6rem;
}
.landing-feature-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 12px;
}
.landing-feature-card p {
  font-size: 0.94rem;
  line-height: 1.7;
  color: rgba(255, 245, 245, 0.78);
  margin: 0;
}

/* ═══════════════════════════════════════════════════════
   HOW IT WORKS SECTION (Clean Minimalist White)
   ═══════════════════════════════════════════════════════ */
.landing-how {
  padding: 110px 24px;
  position: relative;
  background: #FAF7F5;
  color: #1A0508;
}
.landing-steps-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
}
.landing-step-card {
  flex: 1;
  max-width: 320px;
  background: #FFFFFF;
  border: 1px solid rgba(125, 10, 20, 0.08);
  border-radius: 24px;
  padding: 38px 26px;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(125, 10, 20, 0.04);
}
.landing-step-card:hover {
  background: #FFFFFF;
  border-color: rgba(125, 10, 20, 0.25);
  transform: translateY(-6px);
  box-shadow: 0 22px 45px rgba(125, 10, 20, 0.12);
}
.landing-step-number {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, #7D0A14 0%, #C91E33 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 14px;
}
.landing-step-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.landing-step-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  color: #1A0508;
  margin: 0 0 10px;
}
.landing-step-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #6A5054;
  margin: 0;
}
.landing-step-connector {
  display: flex;
  align-items: center;
  padding-top: 75px;
  color: #7D0A14;
}

/* ═══════════════════════════════════════════════════════
   VIP APP DOWNLOAD BANNER (Red Velvet Luxury Card)
   ═══════════════════════════════════════════════════════ */
.landing-cta-banner {
  padding: 20px 24px 110px;
  background: #FAF7F5;
}
.landing-cta-card {
  background: linear-gradient(135deg, #640812 0%, #3B0308 60%, #1A0103 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 32px;
  padding: 64px 44px;
  text-align: center;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  position: relative;
  overflow: hidden;
}
.landing-cta-content {
  max-width: 650px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.landing-cta-card h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 16px 0 14px;
  line-height: 1.15;
}
.landing-cta-card p {
  font-size: 1.15rem;
  color: rgba(255, 245, 245, 0.88);
  margin: 0 auto 34px;
  line-height: 1.7;
}
.landing-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.landing-cta-web-link {
  margin-top: 20px;
}
.landing-cta-web-link a {
  color: #FCE89B;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.9;
  transition: all 0.2s ease;
}
.landing-cta-web-link a:hover {
  opacity: 1;
  color: #FFFFFF;
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.landing-footer {
  background: #140103;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 50px 24px 34px;
}
.landing-footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.landing-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.landing-footer-brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}
.landing-footer-brand strong {
  display: block;
  color: #FFFFFF;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
}
.landing-footer-brand small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
}
.landing-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}
.landing-footer-links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
}
.landing-footer-links a:hover {
  color: #FFFFFF;
}
.landing-footer-bottom p {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.8rem;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════
   LANDING PAGE RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .landing-signatures-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .landing-hero {
    padding: 120px 20px 60px;
  }
  .landing-hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .landing-hero-text {
    max-width: 100%;
  }
  .landing-hero-text h1 {
    font-size: 2.6rem;
  }
  .landing-hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .landing-hero-actions {
    justify-content: center;
  }
  .landing-hero-visual {
    order: -1;
  }
  .landing-float-card {
    display: none !important;
  }
  .landing-phone-mockup {
    width: 270px;
    height: 540px;
  }
  .video-overlay-bar {
    padding: 5px 8px;
    bottom: 10px;
    left: 8px;
    right: 8px;
  }
  .video-status-tag {
    font-size: 0.68rem;
    padding-left: 2px;
  }
  .landing-features-grid {
    grid-template-columns: 1fr;
  }
  .landing-steps-row {
    flex-direction: column;
    align-items: center;
  }
  .landing-step-connector {
    transform: rotate(90deg);
    padding: 10px 0;
  }
  .landing-section-header h2 {
    font-size: 2.1rem;
  }
  .landing-cta-card {
    padding: 48px 24px;
  }
  .landing-cta-card h2 {
    font-size: 2.1rem;
  }
  .landing-nav-links {
    display: none;
  }
}

@media (max-width: 480px) {
  .landing-nav-inner {
    padding: 12px 14px;
    gap: 8px;
  }
  .landing-brand {
    gap: 8px;
  }
  .landing-brand img {
    width: 32px;
    height: 32px;
  }
  .landing-brand span {
    font-size: 1rem;
  }
  .landing-nav-store-btn {
    padding: 7px 11px;
    font-size: 0.7rem;
    gap: 5px;
  }
  .landing-hero {
    padding: 100px 16px 50px;
  }
  .landing-hero-text h1 {
    font-size: 2.1rem;
  }
  .landing-hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  .landing-hero-store-btn {
    width: 100%;
    justify-content: center;
    min-width: unset;
  }
  .landing-phone-mockup {
    width: 250px;
    height: 500px;
    border-radius: 38px;
  }
  .landing-phone-screen {
    border-radius: 34px;
  }
  .landing-phone-video {
    border-radius: 34px;
  }
  .landing-float-card {
    display: none;
  }
  .landing-signatures-grid {
    grid-template-columns: 1fr;
  }
  .landing-signatures,
  .landing-features,
  .landing-how,
  .landing-cta-banner {
    padding: 70px 16px;
  }
  .landing-section-header h2 {
    font-size: 1.85rem;
  }
}

/* ═══════════════════════════════════════════════════════
   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;
}
.merchant-pos-header {
  background: linear-gradient(135deg, #4A0E17 0%, #2B050B 100%) !important;
  border-bottom: 2px solid #8C182B !important;
  padding: 12px 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-shadow: 0 4px 20px rgba(43, 5, 11, 0.3) !important;
}
.merchant-brand-logo {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
}
.merchant-brand-logo img {
  width: 42px !important;
  height: 42px !important;
  border-radius: 12px !important;
  object-fit: contain !important;
  background: #2B050B !important;
  border: 1.5px solid #D4AF37 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
  flex-shrink: 0 !important;
}
.merchant-brand-logo strong {
  color: #FFFFFF !important;
  font-size: 1.25rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.5px !important;
  display: block !important;
}
.merchant-brand-logo small {
  color: #D4AF37 !important;
  font-weight: 800 !important;
  font-size: 0.68rem !important;
  letter-spacing: 1.2px !important;
  display: block !important;
  text-transform: uppercase !important;
}
.merchant-exit-btn {
  background: #8C182B !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(212, 175, 55, 0.4) !important;
  border-radius: 12px !important;
  padding: 9px 18px !important;
  text-decoration: none !important;
  font-weight: 800 !important;
  font-size: 0.82rem !important;
  box-shadow: 0 4px 14px rgba(140, 24, 43, 0.4) !important;
  transition: all 0.2s ease !important;
}
.merchant-exit-btn:hover {
  background: #A81C34 !important;
  transform: translateY(-1px) !important;
}

/* ═══ MERCHANT LIVE CONNECTION STATUS BADGE ═══ */
.merchant-net-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  border-radius: 12px !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  padding: 8px 14px !important;
  backdrop-filter: blur(8px) !important;
  transition: all 0.25s ease !important;
  user-select: none !important;
  cursor: default !important;
}
.merchant-net-badge.is-connected {
  background: rgba(16, 185, 129, 0.16) !important;
  border: 1.5px solid rgba(16, 185, 129, 0.45) !important;
  color: #FFFFFF !important;
}
.merchant-net-badge.is-connected .net-dot {
  width: 9px !important;
  height: 9px !important;
  border-radius: 50% !important;
  background: #10B981 !important;
  box-shadow: 0 0 8px #10B981 !important;
  display: inline-block !important;
  animation: netPulseGreen 2s infinite ease-in-out !important;
}
.merchant-net-badge.is-syncing {
  background: rgba(245, 158, 11, 0.2) !important;
  border: 1.5px solid rgba(245, 158, 11, 0.55) !important;
  color: #FEF3C7 !important;
}
.merchant-net-badge.is-syncing .net-dot {
  width: 9px !important;
  height: 9px !important;
  border-radius: 50% !important;
  background: #F59E0B !important;
  box-shadow: 0 0 8px #F59E0B !important;
  display: inline-block !important;
  animation: netPulseYellow 1.2s infinite ease-in-out !important;
}
.merchant-net-badge.is-offline {
  background: rgba(239, 68, 68, 0.2) !important;
  border: 1.5px solid rgba(239, 68, 68, 0.55) !important;
  color: #FEE2E2 !important;
}
.merchant-net-badge.is-offline .net-dot {
  width: 9px !important;
  height: 9px !important;
  border-radius: 50% !important;
  background: #EF4444 !important;
  box-shadow: 0 0 8px #EF4444 !important;
  display: inline-block !important;
}
@keyframes netPulseGreen {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}
@keyframes netPulseYellow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Always display merchant section on merchant.html */
.merchant-pos-body #merchant,
body.is-merchant-view #merchant {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

#merchant {
  background: #F8FAFC !important;
  color: #0F172A !important;
  min-height: calc(100vh - 70px) !important;
  padding: 28px 32px 60px !important;
}

.merchant-layout {
  max-width: 1400px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: 280px minmax(0, 1fr) !important;
  gap: 22px !important;
  align-items: start !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 1100px) {
  .merchant-layout {
    grid-template-columns: 250px minmax(0, 1fr) !important;
    gap: 16px !important;
  }
}

@media (max-width: 900px) {
  #merchant {
    padding: 16px 16px 80px !important;
  }
  .merchant-layout {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .summary-metrics {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

@media (max-width: 640px) {
  #merchant {
    padding: 12px 12px 70px !important;
  }
  .summary-metrics {
    grid-template-columns: 1fr 1fr !important;
  }
  .merchant-nav-pills {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  .merchant-nav-pill {
    padding: 10px 12px !important;
    font-size: 0.8rem !important;
    text-align: center !important;
  }
}

/* Sidebar */
.merchant-sidebar {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
}

.merchant-profile-card {
  background: #FFFFFF !important;
  border: 1.5px solid rgba(110, 22, 36, 0.15) !important;
  border-radius: 20px !important;
  padding: 16px !important;
  box-shadow: 0 6px 24px rgba(110, 22, 36, 0.06) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  width: 100% !important;
}

.merchant-profile-top {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  width: 100% !important;
}

.shop-avatar-wrap {
  position: relative !important;
  flex-shrink: 0 !important;
}

.shop-avatar {
  width: 52px !important;
  height: 52px !important;
  border-radius: 14px !important;
  background: #8C182B !important;
  color: #FFFFFF !important;
  font-size: 1.5rem !important;
  font-weight: 900 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  border: 2px solid #FFFFFF !important;
}

.shop-avatar.has-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.shop-photo-upload-btn {
  position: absolute !important;
  bottom: -4px !important;
  right: -4px !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  background: #8C182B !important;
  color: #FFFFFF !important;
  border: 2px solid #FFFFFF !important;
  font-size: 0.65rem !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.merchant-profile-text {
  flex: 1 !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.merchant-profile-text h3 {
  margin: 4px 0 2px !important;
  font-size: 1.02rem !important;
  font-weight: 900 !important;
  color: #2B050B !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.merchant-profile-text p {
  margin: 0 !important;
  font-size: 0.72rem !important;
  color: #4B5563 !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.live-badge {
  background: rgba(34, 197, 94, 0.15) !important;
  color: #16A34A !important;
  border: 1px solid rgba(34, 197, 94, 0.3) !important;
  font-size: 0.62rem !important;
  font-weight: 800 !important;
  padding: 2px 7px !important;
  border-radius: 99px !important;
  display: inline-block !important;
  transition: all 0.2s ease !important;
}

.live-badge.is-ready {
  background: #DCFCE7 !important;
  color: #15803D !important;
  border: 1px solid #86EFAC !important;
}

.live-badge.is-busy {
  background: #FEF3C7 !important;
  color: #B45309 !important;
  border: 1px solid #FCD34D !important;
}

.live-badge.is-closed {
  background: #FEE2E2 !important;
  color: #B91C1C !important;
  border: 1px solid #FCA5A5 !important;
}

/* Live Operating Status Control Toggle Group - Fittable 100% 3-Column Grid */
.store-live-toggle-group {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 4px !important;
  margin-top: 2px !important;
  background: #F8FAFC !important;
  padding: 4px !important;
  border-radius: 12px !important;
  border: 1px solid #E2E8F0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.status-toggle-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  padding: 6px 4px !important;
  border-radius: 8px !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  border: 1.5px solid transparent !important;
  background: transparent !important;
  color: #64748B !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  white-space: nowrap !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.status-toggle-btn:hover {
  background: rgba(0, 0, 0, 0.04) !important;
  color: #1E293B !important;
}

/* Active Ready State (Green) */
.status-toggle-btn.is-ready.is-active {
  background: #DCFCE7 !important;
  color: #15803D !important;
  border-color: #86EFAC !important;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.2) !important;
}

/* Active Busy State (Amber/Yellow) */
.status-toggle-btn.is-busy.is-active {
  background: #FEF3C7 !important;
  color: #B45309 !important;
  border-color: #FCD34D !important;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.2) !important;
}

/* Active Closed State (Red) */
.status-toggle-btn.is-closed.is-active {
  background: #FEE2E2 !important;
  color: #B91C1C !important;
  border-color: #FCA5A5 !important;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.2) !important;
}

.status-dot-pulse {
  font-size: 0.62rem !important;
  line-height: 1 !important;
}

/* Customer App Closed Notice Banner */
.store-closed-banner {
  background: linear-gradient(135deg, #7F1D1D 0%, #991B1B 100%) !important;
  color: #FFFFFF !important;
  padding: 10px 16px !important;
  border-radius: 14px !important;
  margin: 10px 0 16px 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(153, 27, 27, 0.3) !important;
}

/* Nav Pills */
.merchant-nav-pills {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  background: #FFFFFF !important;
  border: 1.5px solid rgba(110, 22, 36, 0.12) !important;
  padding: 10px !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 20px rgba(110, 22, 36, 0.05) !important;
}

.merchant-nav-pill {
  width: 100% !important;
  text-align: left !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  color: #4A0E17 !important;
  padding: 13px 18px !important;
  border-radius: 14px !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.merchant-nav-pill:hover {
  background: #FAFAFA !important;
  color: #6E1624 !important;
}

.merchant-nav-pill.is-active {
  background: linear-gradient(135deg, #4A0E17 0%, #6E1624 100%) !important;
  color: #FFFFFF !important;
  font-weight: 900 !important;
  box-shadow: 0 6px 18px rgba(74, 14, 23, 0.35) !important;
}

/* ═══ MANAGER PIN KEYPAD STYLES ═══ */
.pin-keypad {
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}
.pin-key {
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  aspect-ratio: 1 / 1;
  width: 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.pin-key:hover {
  background: #F1F5F9 !important;
  border-color: #CBD5E1 !important;
}
.pin-key:active,
.pin-key.pin-key-active {
  background: #E2E8F0 !important;
  transform: scale(0.92) !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06) !important;
}
.pin-key[data-key="clear"]:hover {
  background: #FFE4E6 !important;
  border-color: #FDA4AF !important;
}
.pin-key[data-key="clear"]:active,
.pin-key[data-key="clear"].pin-key-active {
  background: #FECDD3 !important;
  transform: scale(0.92) !important;
}
.pin-key[data-key="backspace"]:hover {
  background: #E2E8F0 !important;
  border-color: #CBD5E1 !important;
}
.pin-key[data-key="backspace"]:active,
.pin-key[data-key="backspace"].pin-key-active {
  background: #CBD5E1 !important;
  transform: scale(0.92) !important;
}
@keyframes pinShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-10px); }
  40%, 80% { transform: translateX(10px); }
}
.pin-shake {
  animation: pinShake 0.4s ease !important;
}

/* Performance Metric Card */
.metric-card {
  background: #FFFFFF !important;
  border: 1.5px solid rgba(110, 22, 36, 0.12) !important;
  border-radius: 20px !important;
  padding: 20px !important;
  box-shadow: 0 4px 20px rgba(110, 22, 36, 0.05) !important;
}

.metric-card .eyebrow {
  color: #8C182B !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  margin-bottom: 4px !important;
}

.metric-card h3 {
  color: #2B050B !important;
  font-size: 1.08rem !important;
  font-weight: 900 !important;
  margin: 0 0 16px !important;
}

.summary-metrics {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
}

.summary-metrics > div {
  background: #FAFAFA !important;
  border: 1px solid rgba(110, 22, 36, 0.1) !important;
  padding: 12px 10px !important;
  border-radius: 14px !important;
  text-align: center !important;
}

.metric-val {
  display: block !important;
  font-size: 1.25rem !important;
  font-weight: 900 !important;
  color: #6E1624 !important;
}

.summary-metrics small {
  color: #64748B !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
}

/* Yesterday's Sales Section */
.yesterday-sales-row {
  margin-top: 16px !important;
  padding-top: 0 !important;
}

.yesterday-divider {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 12px !important;
}

.yesterday-divider::before,
.yesterday-divider::after {
  content: "" !important;
  flex: 1 !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(110, 22, 36, 0.15), transparent) !important;
}

.yesterday-divider span {
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: #94A3B8 !important;
  white-space: nowrap !important;
}

.yesterday-stats {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 6px !important;
  margin-bottom: 8px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.yesterday-stat {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  background: #F8FAFC !important;
  border: 1px solid rgba(100, 116, 139, 0.12) !important;
  border-radius: 9px !important;
  padding: 6px 5px !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.yesterday-icon {
  font-size: 0.88rem !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
}

.yesterday-stat div {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  overflow: hidden !important;
  flex: 1 !important;
}

.yesterday-stat strong {
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  color: #475569 !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.yesterday-stat small {
  font-size: 0.52rem !important;
  font-weight: 700 !important;
  color: #94A3B8 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Sales Comparison Badge */
.sales-comparison {
  text-align: center !important;
}

.comparison-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  padding: 4px 10px !important;
  border-radius: 20px !important;
  letter-spacing: 0.01em !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.comparison-badge.is-up {
  background: linear-gradient(135deg, #ECFDF5, #D1FAE5) !important;
  color: #047857 !important;
  border: 1px solid rgba(4, 120, 87, 0.2) !important;
}

.comparison-badge.is-down {
  background: linear-gradient(135deg, #FFF1F2, #FFE4E6) !important;
  color: #BE123C !important;
  border: 1px solid rgba(190, 18, 60, 0.2) !important;
}

.comparison-badge.is-neutral {
  background: #F1F5F9 !important;
  color: #64748B !important;
  border: 1px solid rgba(100, 116, 139, 0.15) !important;
}

/* Workspace Panes */
.merchant-workspace {
  background: #FFFFFF !important;
  border: 1.5px solid rgba(110, 22, 36, 0.12) !important;
  border-radius: 24px !important;
  padding: 24px !important;
  box-shadow: 0 6px 24px rgba(110, 22, 36, 0.06) !important;
  min-height: 550px !important;
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
}

.merchant-tab-pane {
  display: none;
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.merchant-tab-pane.is-active {
  display: block !important;
}

.pane-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-bottom: 20px !important;
  border-bottom: 1px solid rgba(110, 22, 36, 0.12) !important;
  margin-bottom: 24px !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
}

.pane-header .eyebrow {
  color: #8C182B !important;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  margin: 0 0 2px !important;
}

.pane-header h2 {
  color: #2B050B !important;
  font-size: 1.4rem !important;
  font-weight: 900 !important;
  margin: 0 !important;
}

.pane-header p {
  color: #4B5563 !important;
  font-size: 0.8rem !important;
  margin: 2px 0 0 !important;
}

/* Action Buttons inside Pane */
.pane-header .primary-action,
.pane-header .small-action {
  background: #8C182B !important;
  color: #FFFFFF !important;
  border: none !important;
  padding: 10px 20px !important;
  border-radius: 12px !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  box-shadow: 0 4px 15px rgba(140, 24, 43, 0.4) !important;
  transition: all 0.2s ease !important;
}
.pane-header .primary-action:hover,
.pane-header .small-action:hover {
  background: #A81C34 !important;
  transform: translateY(-1px) !important;
}

/* ─── Merchant Category Filter Bar & Section Dividers ─── */
.merchant-cat-filter-bar {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  overflow-x: auto !important;
  padding: 4px 2px 14px !important;
  margin-bottom: 8px !important;
  scrollbar-width: thin !important;
  -webkit-overflow-scrolling: touch !important;
}

.merchant-cat-filter-bar::-webkit-scrollbar {
  height: 4px !important;
}

.merchant-cat-filter-bar::-webkit-scrollbar-thumb {
  background: #CBD5E1 !important;
  border-radius: 4px !important;
}

.merchant-cat-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #FFFFFF !important;
  color: #475569 !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 20px !important;
  padding: 6px 14px !important;
  font-size: 0.80rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
  outline: none !important;
}

.merchant-cat-pill:hover {
  background: #F8FAFC !important;
  border-color: #CBD5E1 !important;
  color: #0F172A !important;
}

.merchant-cat-pill.is-active {
  background: linear-gradient(135deg, #6E1624 0%, #8C182B 100%) !important;
  color: #FFFFFF !important;
  border-color: #6E1624 !important;
  box-shadow: 0 4px 14px rgba(110, 22, 36, 0.25) !important;
}

.merchant-cat-pill .pill-count {
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  padding: 1px 6px !important;
  border-radius: 10px !important;
  background: #F1F5F9 !important;
  color: #475569 !important;
}

.merchant-cat-pill.is-active .pill-count {
  background: rgba(255, 255, 255, 0.22) !important;
  color: #FFFFFF !important;
}

/* Category Section Divider in Manage Grid */
.merchant-cat-section-divider {
  grid-column: 1 / -1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 10px 14px !important;
  background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%) !important;
  border: 1px solid #E2E8F0 !important;
  border-left: 4px solid #8C182B !important;
  border-radius: 12px !important;
  margin-top: 10px !important;
  margin-bottom: 2px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.merchant-cat-section-title {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.merchant-cat-section-title .section-icon {
  font-size: 1.25rem !important;
  line-height: 1 !important;
}

.merchant-cat-section-title .section-name {
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin: 0 !important;
}

.merchant-cat-section-divider .section-count {
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  color: #64748B !important;
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  padding: 3px 9px !important;
  border-radius: 14px !important;
}

/* Drink Management Grid (Clean 2-Column Responsive Layout) */
.merchant-menu-manage-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 680px) {
  .merchant-menu-manage-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

/* Category Grid */
.categories-list-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  gap: 16px !important;
}

.merchant-cat-card {
  background: #FFFFFF !important;
  border: 1.5px solid rgba(110, 22, 36, 0.12) !important;
  border-radius: 18px !important;
  padding: 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-shadow: 0 4px 16px rgba(110, 22, 36, 0.05) !important;
}

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

.merchant-cat-icon {
  font-size: 1.5rem !important;
}

.merchant-cat-info strong {
  color: #2B050B !important;
  font-size: 0.95rem !important;
  display: block !important;
}

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

/* Store Settings Form */
.shop-settings-panel {
  background: #FFFFFF !important;
  border: 1.5px solid rgba(110, 22, 36, 0.12) !important;
  border-radius: 20px !important;
  padding: 24px !important;
}

.settings-form-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 18px !important;
}

@media (max-width: 640px) {
  .settings-form-grid {
    grid-template-columns: 1fr !important;
  }
}

.settings-form-grid .full-span {
  grid-column: 1 / -1 !important;
}

.settings-form-grid label {
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  color: #6E1624 !important;
  margin-bottom: 6px !important;
  display: block !important;
}

.settings-form-grid input,
.settings-form-grid textarea {
  width: 100% !important;
  background: #FFFFFF !important;
  border: 1.5px solid rgba(110, 22, 36, 0.2) !important;
  border-radius: 12px !important;
  padding: 10px 14px !important;
  color: #0F172A !important;
  font-size: 0.88rem !important;
  box-sizing: border-box !important;
}

/* ════════════════════════════════════════════════════
   CLEAN MOBILE DRINK MENU & CARDS SYSTEM
   ════════════════════════════════════════════════════ */
.phone-menu-layout {
  display: flex !important;
  gap: 8px !important;
  align-items: flex-start !important;
  padding: 0 4px !important;
}

.phone-menu-content {
  flex: 1 !important;
  min-width: 0 !important;
}
/* ════════════════════════════════════════════════════
   ZUS COFFEE-INSPIRED DRINK TILES (BIG CIRCULAR HERO DRINKS)
   ════════════════════════════════════════════════════ */
.phone-menu-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px 8px !important;
  padding: 4px 0 110px !important; /* Clearance for bottom floating cart bar */
  width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 330px) {
  .phone-menu-list {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
}

@media (min-width: 768px) {
  .phone-menu-list {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)) !important;
    gap: 16px !important;
  }
}

/* ─── Hero Product Tile Container (Clean ZUS Coffee presentation) ─── */
.phone-menu-item,
.hero-product-tile {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: center !important;
  background: #FFFFFF !important;
  border: 1px solid rgba(226, 232, 240, 0.6) !important;
  border-radius: 20px !important;
  padding: 8px 6px 14px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
  transition: all 0.24s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  position: relative !important;
  width: 100% !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  user-select: none !important;
  -webkit-tap-highlight-color: transparent !important;
  overflow: hidden !important;
}

/* Hover & Active Press State Animation */
.phone-menu-item:hover {
  transform: translateY(-3px) scale(1.015) !important;
  border-color: rgba(110, 22, 36, 0.18) !important;
  box-shadow: 0 8px 20px -3px rgba(110, 22, 36, 0.1) !important;
}

.phone-menu-item:active {
  transform: scale(0.97) !important;
  background: #FAF8F6 !important;
  transition: transform 0.1s ease !important;
}

/* Top Floating Badge (Top Right Corner like ZUS Coffee) */
.hero-drink-header {
  position: absolute !important;
  top: 6px !important;
  right: 6px !important;
  left: auto !important;
  z-index: 10 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.hero-drink-badge {
  font-size: 0.50rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.4px !important;
  padding: 2px 6px !important;
  border-radius: 999px !important;
  background: #6E1624 !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 6px rgba(110, 22, 36, 0.25) !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
}

.hero-drink-badge-placeholder {
  display: none !important;
}

/* Large ZUS Coffee-style Circular Drink Disc */
.hero-drink-visual {
  position: relative !important;
  width: 100% !important;
  max-width: 136px !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, #FFFFFF 0%, #F1F5F9 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 2px auto 8px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05), inset 0 0 0 1px rgba(0, 0, 0, 0.04) !important;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease !important;
}

.phone-menu-item:hover .hero-drink-visual {
  transform: scale(1.04) !important;
  box-shadow: 0 8px 22px rgba(110, 22, 36, 0.12), inset 0 0 0 1px rgba(110, 22, 36, 0.1) !important;
}

.hero-drink-radial-glow {
  display: none !important;
}

/* Big Hero Drink Image (Zoomed in & centered inside the circle like ZUS Coffee) */
.hero-drink-img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 50% !important;
  position: relative !important;
  z-index: 2 !important;
  background: transparent !important;
  border: none !important;
  transform: scale(1.06) !important;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.phone-menu-item:hover .hero-drink-img {
  transform: scale(1.14) !important;
}

.hero-drink-svg-cup {
  max-width: 82% !important;
  max-height: 88% !important;
  object-fit: contain !important;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.12)) !important;
}

/* Fallback visual if drink has no image */
.hero-drink-fallback-art {
  width: auto !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  z-index: 2 !important;
  background: transparent !important;
}

/* Bottom Typography & Details Hierarchy */
.hero-drink-info {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  padding: 0 2px !important;
  position: relative !important;
  z-index: 2 !important;
  box-sizing: border-box !important;
}

/* Secondary Tagline / Category (ZUS Warm Caramel/Amber uppercase style) */
.phone-menu-item .hero-drink-category {
  font-size: 0.63rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  color: #B45309 !important;
  margin-bottom: 3px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
  display: block !important;
}

/* Product Title: bold, clear heading with tight leading, centered, 2-line wrap */
.phone-menu-item .hero-drink-title,
.phone-menu-item h3.hero-drink-title,
.hero-product-tile h3 {
  font-size: 0.90rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  color: #1E293B !important;
  margin: 0 0 5px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
  text-align: center !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  min-height: 2.3em !important;
  letter-spacing: -0.2px !important;
  padding: 0 2px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Price Display: clean primary price in dark bold text with optional strike-through */
.phone-menu-item .hero-drink-price-row {
  display: flex !important;
  align-items: baseline !important;
  justify-content: center !important;
  gap: 5px !important;
  flex-wrap: wrap !important;
  margin-top: auto !important;
  width: 100% !important;
}

.phone-menu-item .hero-drink-price {
  font-size: 0.98rem !important;
  font-weight: 900 !important;
  color: #0F172A !important;
  letter-spacing: -0.3px !important;
}

.phone-menu-item .hero-drink-orig-price {
  font-size: 0.70rem !important;
  font-weight: 600 !important;
  color: #94A3B8 !important;
  text-decoration: line-through !important;
}

/* Sold Out Overlay */
.phone-menu-item.is-soldout {
  opacity: 0.65 !important;
  cursor: not-allowed !important;
}

.hero-drink-soldout-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(255, 255, 255, 0.78) !important;
  backdrop-filter: blur(2px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 10 !important;
}

.hero-drink-soldout-overlay span {
  background: #1E293B !important;
  color: #FFFFFF !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  padding: 4px 12px !important;
  border-radius: 999px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* ════════════════════════════════════════════════════
   FLOATING PLACE ORDER ACTION BAR (RESPONSIVE FOR ALL DEVICES)
   ════════════════════════════════════════════════════ */
.phone-cart-summary {
  display: none !important;
  position: fixed !important;
  bottom: calc(74px + env(safe-area-inset-bottom, 12px)) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: calc(100% - 24px) !important;
  max-width: 380px !important;
  z-index: 9999 !important;
  box-sizing: border-box !important;
  margin: 0 auto !important;
  pointer-events: auto !important;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, opacity 0.25s ease !important;
}

/* Strictly only visible on the Order (Menu) page */
.phone-cart-summary.is-menu-visible {
  display: flex !important;
  flex-direction: column !important;
}

.phone-menu-split-layout {
  padding-bottom: 130px !important;
}

/* 1. MINIMALIST EMPTY STATE */
.phone-cart-summary.is-empty {
  background: rgba(255, 255, 255, 0.98) !important;
  border: 1.2px solid rgba(110, 22, 36, 0.16) !important;
  border-radius: 18px !important;
  padding: 10px 14px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(110, 22, 36, 0.04) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

.cart-minimal-empty {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.cart-empty-text-wrap {
  text-align: left !important;
}

.cart-empty-heading {
  display: block !important;
  font-family: var(--font-display) !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  color: #1E293B !important;
  letter-spacing: -0.01em !important;
}

.cart-empty-sub {
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  color: #64748B !important;
  margin: 1px 0 0 !important;
  line-height: 1.2 !important;
}

.cart-minimal-browse-btn {
  width: 100% !important;
  padding: 7px 12px !important;
  background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%) !important;
  border: 1px solid #E2E8F0 !important;
  color: #6E1624 !important;
  font-family: var(--font-display) !important;
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  border-radius: 9px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  transition: all 0.2s ease !important;
}

.cart-minimal-browse-btn:active {
  transform: scale(0.98) !important;
  background: #E2E8F0 !important;
}

/* 2. MINIMALIST ACTIVE STATE — Sleek 1-Line White & Velvet Pill */
.phone-cart-summary.is-active-order {
  background: linear-gradient(145deg, #4A0811 0%, #2B0309 60%, #150104 100%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
  border-radius: 50px !important;
  padding: 6px 6px 6px 14px !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 18px rgba(255, 255, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
  animation: cartBarSlideUp 0.35s cubic-bezier(0.34, 1.4, 0.64, 1) forwards !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
}

@keyframes cartBarSlideUp {
  0% { transform: translate(-50%, 20px) scale(0.96); opacity: 0; }
  100% { transform: translate(-50%, 0) scale(1); opacity: 1; }
}

.cart-singleline-active {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  gap: 8px !important;
  box-sizing: border-box !important;
}

.cart-singleline-info {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
  min-width: 0 !important;
}

.cart-qty-badge {
  background: #FFFFFF !important;
  color: #3C0A10 !important;
  font-family: var(--font-display) !important;
  font-size: 0.78rem !important;
  font-weight: 900 !important;
  padding: 3px 8px !important;
  border-radius: 12px !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  line-height: 1.2 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
  letter-spacing: 0.2px !important;
}

.cart-singleline-price {
  font-family: var(--font-display) !important;
  font-size: 1.15rem !important;
  font-weight: 900 !important;
  color: #FFFFFF !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
  letter-spacing: -0.01em !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}

.cart-singleline-checkout-btn {
  padding: 8px 16px !important;
  background: #FFFFFF !important;
  color: #3C0A10 !important;
  border: none !important;
  border-radius: 50px !important;
  font-family: var(--font-display) !important;
  font-size: 0.86rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.02em !important;
  cursor: pointer !important;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  transition: all 0.2s cubic-bezier(0.34, 1.4, 0.64, 1) !important;
}

.cart-singleline-checkout-btn:hover {
  transform: translateY(-1px) scale(1.02) !important;
  background: #F8FAFC !important;
  box-shadow: 0 5px 16px rgba(255, 255, 255, 0.35), 0 3px 10px rgba(0, 0, 0, 0.3) !important;
}

.cart-singleline-checkout-btn:active {
  transform: translateY(1px) scale(0.97) !important;
}

.cart-singleline-checkout-btn .btn-arrow {
  transition: transform 0.2s ease !important;
  font-size: 0.80rem !important;
}

.cart-singleline-checkout-btn:hover .btn-arrow {
  transform: translateX(3px) !important;
}

@media (max-width: 360px) {
  .phone-cart-summary {
    width: calc(100% - 16px) !important;
    bottom: calc(68px + env(safe-area-inset-bottom, 8px)) !important;
  }
  .phone-cart-summary.is-active-order {
    padding: 5px 5px 5px 10px !important;
  }
  .cart-singleline-price {
    font-size: 1.02rem !important;
  }
  .cart-singleline-checkout-btn {
    padding: 7px 12px !important;
    font-size: 0.78rem !important;
  }
}

/* ════════════════════════════════════════════════════
   UN-CROPPED FULL LOGO DISPLAY & PWA ICON ENHANCEMENTS
   ════════════════════════════════════════════════════ */
.brand img,
.splash-logo,
.auth-logo,
.install-banner-icon,
.install-loading-logo,
.nav-3d-logo,
.merchant-brand img,
.topbar .brand img {
  object-fit: contain !important;
  background: #2B050B !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
}

@media (max-width: 900px) {
  .landing-float-card {
    display: none !important;
  }
}

/* ════════════════════════════════════════════════════
   ORDERS HISTORY BUTTON CARD & MODAL STYLING
   ════════════════════════════════════════════════════ */
.orders-history-btn-section {
  margin: 14px 0 10px;
  width: 100%;
}

.orders-history-action-card {
  width: 100% !important;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF9FA 100%) !important;
  border: 1.5px solid rgba(110, 22, 36, 0.18) !important;
  border-radius: 18px !important;
  padding: 14px 16px !important;
  box-shadow: 0 4px 18px rgba(110, 22, 36, 0.08), 0 1px 3px rgba(0, 0, 0, 0.03) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  text-align: left !important;
  -webkit-tap-highlight-color: transparent !important;
}

.orders-history-action-card:hover,
.orders-history-action-card:active {
  transform: translateY(-2px) scale(0.99) !important;
  border-color: #6E1624 !important;
  background: #FFF5F7 !important;
  box-shadow: 0 8px 24px rgba(110, 22, 36, 0.15) !important;
}

.history-card-left {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-width: 0 !important;
  flex: 1 !important;
}

.history-card-icon-wrap {
  width: 42px !important;
  height: 42px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #FFE4E8 0%, #FFD1D8 100%) !important;
  border: 1px solid rgba(110, 22, 36, 0.15) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.3rem !important;
  flex-shrink: 0 !important;
  box-shadow: 0 2px 8px rgba(110, 22, 36, 0.08) !important;
}

.history-card-text {
  min-width: 0 !important;
  flex: 1 !important;
}

.history-card-title-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.history-card-title-row strong {
  font-family: var(--font-display) !important;
  font-size: 0.94rem !important;
  font-weight: 800 !important;
  color: #2B050B !important;
}

.history-count-pill {
  background: #6E1624 !important;
  color: #FFFFFF !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  padding: 2px 8px !important;
  border-radius: 99px !important;
  white-space: nowrap !important;
}

.history-card-text small {
  display: block !important;
  font-size: 0.74rem !important;
  font-weight: 600 !important;
  color: #64748B !important;
  margin-top: 2px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.history-card-chevron {
  font-size: 1.4rem !important;
  font-weight: 900 !important;
  color: #6E1624 !important;
  opacity: 0.7 !important;
  flex-shrink: 0 !important;
  transition: transform 0.2s ease !important;
}

.orders-history-action-card:hover .history-card-chevron {
  transform: translateX(3px) !important;
  opacity: 1 !important;
}

/* Orders Modal Card (Aesthetic & Compact - Fits Screen with 3 Cards Scroll View) */
.orders-history-modal-card {
  max-width: 410px !important;
  width: 94% !important;
  max-height: min(88vh, 620px) !important;
  max-height: min(88dvh, 620px) !important;
  display: flex !important;
  flex-direction: column !important;
  border-radius: 22px !important;
  padding: 18px 16px 14px !important;
  margin: auto !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.orders-history-modal-card .auth-modal-header {
  margin-bottom: 10px !important;
  text-align: center !important;
  flex-shrink: 0 !important;
}

.orders-history-modal-card .auth-modal-header h2 {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  letter-spacing: -0.2px !important;
  margin: 0 0 2px !important;
}

.orders-history-modal-card .auth-modal-header p {
  font-size: 0.74rem !important;
  color: #64748B !important;
  font-weight: 600 !important;
  margin: 0 !important;
  line-height: 1.35 !important;
}

.orders-history-modal-card .order-history-list {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  max-height: 395px !important; /* Shows at least 3 receipts with 4th peeking to indicate scrolling */
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
  padding: 2px 3px 6px !important;
  gap: 10px !important;
  display: flex !important;
  flex-direction: column !important;
  scroll-behavior: smooth !important;
}

.orders-history-modal-card .order-history-list::-webkit-scrollbar {
  width: 5px !important;
}
.orders-history-modal-card .order-history-list::-webkit-scrollbar-track {
  background: #F1F5F9 !important;
  border-radius: 99px !important;
}
.orders-history-modal-card .order-history-list::-webkit-scrollbar-thumb {
  background: #CBD5E1 !important;
  border-radius: 99px !important;
}
.orders-history-modal-card .order-history-list::-webkit-scrollbar-thumb:hover {
  background: #94A3B8 !important;
}

.orders-history-modal-card .phone-receipt-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 14px !important;
  padding: 11px 13px !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
  transition: all 0.2s ease !important;
}

.orders-history-modal-card .phone-receipt-card:hover {
  border-color: #6E1624 !important;
  box-shadow: 0 4px 14px rgba(110, 22, 36, 0.08) !important;
}

.orders-history-modal-card .receipt-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 6px !important;
}

.orders-history-modal-card .receipt-head strong {
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  color: #0F172A !important;
}

.orders-history-modal-card .receipt-head small {
  font-size: 0.66rem !important;
  color: #64748B !important;
  font-weight: 600 !important;
  display: block !important;
  margin-top: 1px !important;
}

.orders-history-modal-card .receipt-head .status-badge {
  font-size: 0.62rem !important;
  padding: 2.5px 7px !important;
  border-radius: 6px !important;
  font-weight: 800 !important;
  letter-spacing: 0.3px !important;
}

/* Receipt Coffee Details Box */
.receipt-coffee-box {
  background: #F8FAFC !important;
  border: 1px solid #EEF2F6 !important;
  border-radius: 10px !important;
  padding: 7px 10px !important;
  margin: 6px 0 8px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
}

.receipt-coffee-line {
  display: flex !important;
  align-items: flex-start !important;
  gap: 7px !important;
  font-size: 0.78rem !important;
  line-height: 1.35 !important;
}

.receipt-coffee-icon {
  font-size: 0.85rem !important;
  line-height: 1.1 !important;
  flex-shrink: 0 !important;
  margin-top: 1px !important;
}

.receipt-coffee-desc {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
}

.receipt-coffee-name {
  font-weight: 700 !important;
  color: #1E293B !important;
  font-size: 0.8rem !important;
}

.receipt-coffee-name strong {
  color: #6E1624 !important;
  font-weight: 900 !important;
  margin-right: 3px !important;
}

.receipt-coffee-specs {
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  color: #64748B !important;
  display: block !important;
  margin-top: 1px !important;
  letter-spacing: 0.15px !important;
}

.receipt-coffee-more {
  font-size: 0.67rem !important;
  font-weight: 800 !important;
  color: #6E1624 !important;
  padding-left: 21px !important;
  margin-top: 1px !important;
}

.orders-history-modal-card .receipt-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-top: 6px !important;
  margin-top: 6px !important;
  border-top: 1px dashed #E2E8F0 !important;
}

.orders-history-modal-card .receipt-total {
  font-size: 0.92rem !important;
  font-weight: 900 !important;
  color: #6E1624 !important;
}

.orders-history-modal-card .reorder-btn {
  background: linear-gradient(135deg, #6E1624 0%, #4A0E17 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  font-family: var(--font-display) !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(110, 22, 36, 0.2) !important;
  transition: transform 0.15s ease !important;
}

.orders-history-modal-card .reorder-btn:active {
  transform: scale(0.96) !important;
}

.orders-history-modal-card > button.secondary-action {
  flex-shrink: 0 !important;
  margin-top: 10px !important;
  padding: 10px 14px !important;
  border-radius: 12px !important;
  font-weight: 800 !important;
  font-size: 0.84rem !important;
}

/* ── Roeyals Profile Modal Card (Aesthetic, Compact & Properly Scaled) ── */
#roeyalsProfileModal {
  align-items: center !important;
  justify-content: center !important;
  padding: 12px !important;
}

#roeyalsProfileModal .auth-modal-card {
  position: relative !important;
  width: 90% !important;
  max-width: 320px !important;
  max-height: min(82vh, 520px) !important;
  overflow-y: auto !important;
  border-radius: 18px !important;
  padding: 13px 12px 10px !important;
  margin: auto !important;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(0, 0, 0, 0.06) !important;
  box-sizing: border-box !important;
  scrollbar-width: thin !important;
}

#roeyalsProfileModal .roeyals-profile-close-x {
  position: absolute !important;
  top: 9px !important;
  right: 9px !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  background: #F1F5F9 !important;
  border: 1px solid #E2E8F0 !important;
  color: #64748B !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  padding: 0 !important;
  line-height: 1 !important;
  transition: all 0.15s ease !important;
  z-index: 5 !important;
}

#roeyalsProfileModal .roeyals-profile-close-x:active {
  background: #E2E8F0 !important;
  transform: scale(0.92) !important;
}

#roeyalsProfileModal .roeyals-profile-header,
#roeyalsProfileModal .auth-modal-header {
  text-align: center !important;
  margin-bottom: 7px !important;
  padding: 0 16px !important;
}

#roeyalsProfileModal .roeyals-profile-badge {
  width: 32px !important;
  height: 32px !important;
  border-radius: 9px !important;
  background: linear-gradient(135deg, #6E1624, #8C182B) !important;
  color: #FFF !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.05rem !important;
  margin: 0 auto 4px !important;
  box-shadow: 0 3px 10px rgba(110, 22, 36, 0.22) !important;
}

#roeyalsProfileModal .auth-modal-header h2 {
  font-size: 0.98rem !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

#roeyalsProfileModal .auth-modal-header p {
  font-size: 0.66rem !important;
  color: #64748B !important;
  font-weight: 600 !important;
  margin: 2px 0 0 !important;
  line-height: 1.25 !important;
}

#roeyalsProfileModal .roeyals-profile-dismiss-btn {
  margin-top: 4px !important;
  width: 100% !important;
  background: transparent !important;
  color: #64748B !important;
  border: none !important;
  padding: 5px 8px !important;
  border-radius: 8px !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

#roeyalsProfileModal .roeyals-profile-dismiss-btn:hover {
  background: #F1F5F9 !important;
  color: #0F172A !important;
}

/* Ensure full width and clean appearance for all profile inputs including date on iOS/WebKit */
#roeyalsProfileModal input[type="text"],
#roeyalsProfileModal input[type="tel"],
#roeyalsProfileModal input[type="date"],
#roeyalsProfileModal .roeyals-profile-input {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  box-sizing: border-box !important;
  height: 33px !important;
  min-height: 33px !important;
  max-height: 33px !important;
  line-height: normal !important;
  padding: 0 9px !important;
  border: 1.2px solid #CBD5E1 !important;
  border-radius: 8px !important;
  font-size: 0.76rem !important;
  font-weight: 600 !important;
  color: #0F172A !important;
  background: #FFFFFF !important;
  outline: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

#roeyalsProfileModal input[type="date"]::-webkit-date-and-time-value {
  text-align: left !important;
}

#roeyalsProfileModal input:focus {
  border-color: #8C182B !important;
  box-shadow: 0 0 0 2px rgba(140, 24, 43, 0.12) !important;
}

.phone-screen,
.phone-pages,
.phone-page[data-phone-page="home"] {
  background: #FFFFFF !important;
  color: #000000 !important;
}
.phone-page[data-phone-page="home"] {
  padding-bottom: 16px !important;
}

/* ── 3D ULTRA-PREMIUM HOME HERO BANNER (Matching Image 1) ── */
.rc-home-hero {
  position: relative;
  border-radius: 0 0 32px 32px;
  overflow: hidden;
  padding: 34px 20px 26px;
  text-align: center;
  margin-bottom: 0;
  background: linear-gradient(165deg, #4A0E17 0%, #2B050B 50%, #0F0204 100%) !important;
  box-shadow: 0 12px 36px rgba(43, 5, 11, 0.45), 0 0 20px rgba(212, 175, 55, 0.15);
  border-bottom: 2px solid rgba(212, 175, 55, 0.35);
  transform-style: preserve-3d;
}
.rc-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, #4A0E17 0%, #2B050B 50%, #0F0204 100%) !important;
  z-index: 0;
}
.rc-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 20%, rgba(212, 175, 55, 0.25) 0%, rgba(140, 24, 43, 0.2) 40%, transparent 75%);
  z-index: 1;
  animation: heroGlowPulse 4s ease-in-out infinite alternate;
}
@keyframes heroGlowPulse {
  0% { opacity: 0.6; transform: scale(0.98); }
  100% { opacity: 1; transform: scale(1.04); }
}
.rc-hero-content {
  position: relative;
  z-index: 2;
  transform: translateZ(10px);
}
.rc-hero-title {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 2.3rem;
  font-weight: 900;
  color: #FFFFFF !important;
  letter-spacing: 0.5px;
  margin: 0 0 4px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 232, 157, 0.25);
}
.rc-hero-tagline {
  font-size: 0.84rem;
  color: #FFE89D !important;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  margin: 0 0 16px;
  font-weight: 800;
  opacity: 1;
  text-shadow: 0 0 14px rgba(255, 232, 157, 0.45);
}
.rc-hero-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.65) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #FFFFFF !important;
  border: 1.2px solid rgba(212, 175, 55, 0.5) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease;
}
.rc-hero-status:hover {
  transform: scale(1.04);
}
.rc-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981, 0 0 4px #FFFFFF;
  animation: rc-pulse 2s ease-in-out infinite;
}
@keyframes rc-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}
.rc-status-divider {
  opacity: 0.4;
}

/* ── GREETING BAR (Matching Image 1) ── */
.rc-greeting-bar {
  padding: 20px 20px 8px;
}
.rc-greeting-sub {
  font-size: 0.74rem;
  color: #6E1624;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-weight: 800;
  margin: 0 0 2px;
}
.rc-greeting-name {
  font-size: 1.35rem;
  font-weight: 900;
  color: #000000;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.rc-wave-emoji {
  display: inline-block;
  animation: waveHand 2.2s ease-in-out infinite;
  transform-origin: 70% 70%;
}
@keyframes waveHand {
  0%, 100% { transform: rotate(0deg); }
  15% { transform: rotate(14deg); }
  30% { transform: rotate(-12deg); }
  45% { transform: rotate(14deg); }
  60% { transform: rotate(-4deg); }
  75% { transform: rotate(10deg); }
}

/* ── 3D QUICK ACTIONS (Matching Image 1) ── */
.rc-quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 12px 18px;
}
.rc-action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 20px 10px 16px;
  border-radius: 20px;
  background: #FFFFFF !important;
  border: 1.5px solid rgba(110, 22, 36, 0.12) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05), 0 2px 6px rgba(110, 22, 36, 0.03), inset 0 1px 0 #FFFFFF !important;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
  -webkit-tap-highlight-color: transparent;
  transform-style: preserve-3d;
}
.rc-action-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(212, 175, 55, 0.6) !important;
  background: #FFFFFF !important;
  box-shadow: 0 14px 30px rgba(110, 22, 36, 0.16), 0 0 14px rgba(212, 175, 55, 0.25) !important;
}
.rc-action-card:active {
  transform: translateY(1px) scale(0.96);
  box-shadow: 0 4px 12px rgba(110, 22, 36, 0.12) !important;
}
.rc-action-icon {
  font-size: 1.85rem;
  line-height: 1;
  animation: floatActionIcon 3s ease-in-out infinite alternate;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.12));
}
.rc-action-card:nth-child(2) .rc-action-icon {
  animation-delay: 0.5s;
}
.rc-action-card:nth-child(3) .rc-action-icon {
  animation-delay: 1s;
}
@keyframes floatActionIcon {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-3px) scale(1.05); }
}
.rc-action-label {
  font-size: 0.82rem;
  font-weight: 800;
  color: #6E1624 !important;
  letter-spacing: 0.3px;
}

/* ── 3D PROMO CAROUSEL SLIDER (Matching Image 1) ── */
.rc-promo-carousel-wrap {
  margin: 8px 0 18px;
  position: relative;
}

.rc-promo-slider {
  display: flex !important;
  gap: 14px !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  padding: 6px 18px 10px !important;
}

.rc-promo-slider::-webkit-scrollbar {
  display: none !important;
}

.rc-promo-slide {
  flex: 0 0 calc(100% - 24px) !important;
  min-width: 280px !important;
  max-width: 360px !important;
  scroll-snap-align: center !important;
  border-radius: 24px !important;
  padding: 20px 22px !important;
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  cursor: pointer !important;
  box-shadow: 0 12px 32px rgba(43, 5, 11, 0.4), 0 0 16px rgba(212, 175, 55, 0.18) !important;
  transition: transform 0.3s cubic-bezier(0.34, 1.3, 0.64, 1), box-shadow 0.3s ease !important;
  border: 1.5px solid rgba(232, 185, 35, 0.45) !important;
}

.rc-promo-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 232, 157, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.rc-promo-slide:hover {
  transform: translateY(-3px) scale(1.01) !important;
  box-shadow: 0 16px 38px rgba(43, 5, 11, 0.5), 0 0 22px rgba(212, 175, 55, 0.3) !important;
}

.rc-promo-slide:active {
  transform: scale(0.98) !important;
}

.slide-b1f1 {
  background: linear-gradient(135deg, #4A0E17 0%, #6E1624 50%, #9B1C31 100%) !important;
}

.slide-rm299,
.slide-rm499 {
  background: linear-gradient(135deg, #2B050B 0%, #540D17 50%, #7A1424 100%) !important;
  border-color: rgba(255, 215, 0, 0.55) !important;
}

.slide-rm399,
.slide-rm599 {
  background: linear-gradient(135deg, #3C121B 0%, #631926 50%, #8F1F33 100%) !important;
  border-color: rgba(251, 191, 36, 0.55) !important;
}

.slide-rm699 {
  background: linear-gradient(135deg, #2E0B12 0%, #5B1320 50%, #8B1B2E 100%) !important;
  border-color: rgba(52, 211, 153, 0.55) !important;
}

.rc-promo-slide-content {
  flex: 1 !important;
  min-width: 0 !important;
  z-index: 2 !important;
}

.rc-promo-badge {
  display: inline-block !important;
  font-size: 0.64rem !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: #FFFFFF !important;
  background: rgba(0, 0, 0, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  padding: 3px 10px !important;
  border-radius: 99px !important;
  margin-bottom: 7px !important;
}

.badge-gold {
  background: linear-gradient(135deg, #FFD700, #B8860B) !important;
  color: #2B050B !important;
  border: none !important;
}

.badge-amber {
  background: linear-gradient(135deg, #F59E0B, #B45309) !important;
  color: #FFFFFF !important;
  border: none !important;
}

.badge-emerald {
  background: linear-gradient(135deg, #10B981, #047857) !important;
  color: #FFFFFF !important;
  border: none !important;
}

.rc-promo-title {
  font-family: var(--font-display) !important;
  font-size: 1.45rem !important;
  font-weight: 900 !important;
  color: #FFFFFF !important;
  margin: 0 0 4px !important;
  line-height: 1.1 !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.rc-promo-title small {
  font-size: 0.68rem !important;
  color: #FFE89D !important;
  background: rgba(255, 255, 255, 0.18) !important;
  padding: 2px 7px !important;
  border-radius: 6px !important;
  vertical-align: middle !important;
  margin-left: 4px !important;
  font-weight: 800 !important;
}

.rc-promo-sub {
  font-size: 0.78rem !important;
  color: #F1F5F9 !important;
  margin: 0 0 14px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  opacity: 0.94 !important;
}

.rc-promo-cta-btn {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
  color: #2B050B !important;
  font-family: var(--font-display) !important;
  font-size: 0.82rem !important;
  font-weight: 900 !important;
  padding: 8px 16px !important;
  border-radius: 12px !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(255, 165, 0, 0.45) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  transition: all 0.2s cubic-bezier(0.34, 1.4, 0.64, 1) !important;
}

.rc-promo-cta-btn:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 6px 18px rgba(255, 165, 0, 0.6) !important;
}

.rc-promo-cta-btn:active {
  transform: scale(0.96) !important;
}

.rc-promo-slide-art {
  width: 78px !important;
  height: 78px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  flex-shrink: 0 !important;
}

.promo-duck-mascot {
  width: 88px !important;
  height: 88px !important;
  max-width: 88px !important;
  max-height: 88px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.45)) drop-shadow(0 0 10px rgba(255, 215, 0, 0.35)) !important;
  animation: promoDuckBob 3s ease-in-out infinite alternate !important;
  pointer-events: none !important;
  transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1) !important;
}

@keyframes promoDuckBob {
  0% { transform: translateY(0) rotate(0deg) scale(1); }
  50% { transform: translateY(-5px) rotate(-2deg) scale(1.04); }
  100% { transform: translateY(2px) rotate(2deg) scale(1); }
}

.rc-promo-slide:hover .promo-duck-mascot {
  transform: scale(1.1) rotate(-3deg) !important;
}

/* CAROUSEL INDICATOR DOTS */
.rc-promo-dots {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  margin-top: 6px !important;
}

.promo-dot {
  width: 6px !important;
  height: 6px !important;
  border-radius: 99px !important;
  background: #CBD5E1 !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
}

.promo-dot.is-active {
  width: 22px !important;
  background: #6E1624 !important;
}

/* ── SECTION HEADER (Bold Dark Burgundy) ── */
.rc-section-header {
  padding: 16px 20px 10px;
}
.rc-section-header h3 {
  font-size: 1.15rem;
  font-weight: 900;
  color: #2B050B !important;
  margin: 0;
  letter-spacing: 0.3px;
}

/* ── POPULAR PICKS HORIZONTAL SCROLL (White Cards + Sharp Text) ── */
.rc-popular-scroll {
  display: flex;
  gap: 14px;
  padding: 4px 20px 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.rc-popular-scroll::-webkit-scrollbar { display: none; }
.rc-popular-card {
  flex: 0 0 138px;
  scroll-snap-align: start;
  border-radius: 18px;
  background: #FFFFFF !important;
  border: 1px solid rgba(74, 14, 23, 0.12) !important;
  box-shadow: 0 4px 16px rgba(74, 14, 23, 0.07) !important;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  user-select: none;
}
.rc-popular-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(74, 14, 23, 0.14) !important;
  border-color: #8C182B !important;
}
.rc-popular-card:active {
  transform: scale(0.95);
  border-color: #4A0E17 !important;
}
.rc-popular-img {
  position: relative;
  width: 100%;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  border-bottom: 1px solid rgba(74, 14, 23, 0.08);
  overflow: hidden;
  background: #FDF4F5;
}
.rc-popular-img.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.rc-popular-card:hover .rc-popular-img.has-image img {
  transform: scale(1.08);
}
.rc-popular-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: linear-gradient(135deg, #FFE066 0%, #D4AF37 100%);
  color: #2B050B;
  font-size: 0.52rem;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 99px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  letter-spacing: 0.2px;
  line-height: 1.2;
  z-index: 2;
}
.rc-popular-card strong {
  display: block;
  padding: 10px 10px 2px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #2B050B !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rc-popular-card small {
  display: block;
  padding: 0 10px 10px;
  font-size: 0.74rem;
  color: #8C1D2F !important;
  font-weight: 800;
}

/* ── STORE INFO CARD (Clean White Card) ── */
.rc-store-info-card {
  margin: 6px 16px 20px;
  padding: 22px;
  border-radius: 22px;
  background: #FFFFFF !important;
  border: 1px solid rgba(74, 14, 23, 0.12) !important;
  box-shadow: 0 6px 22px rgba(74, 14, 23, 0.08) !important;
}
.rc-store-info-card h4 {
  font-size: 1.05rem;
  font-weight: 900;
  color: #2B050B !important;
  margin: 0 0 16px;
  letter-spacing: 0.4px;
}
.rc-info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
}
.rc-info-row + .rc-info-row {
  border-top: 1px solid rgba(74, 14, 23, 0.08);
}
.rc-info-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(74, 14, 23, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(74, 14, 23, 0.12);
}
.rc-info-row strong {
  display: block;
  font-size: 0.84rem;
  font-weight: 800;
  color: #2B050B !important;
  margin-bottom: 2px;
}
.rc-info-row p {
  font-size: 0.76rem;
  color: #4B5563 !important;
  margin: 0;
  line-height: 1.4;
  font-weight: 600;
}

/* ── HOME FOOTER (Muted Dark Text) ── */
.rc-home-footer {
  text-align: center;
  padding: 20px 20px 12px !important;
  margin-bottom: 0 !important;
  opacity: 0.85;
}
.rc-footer-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: contain;
  background: #2B050B;
  border: 1px solid rgba(74, 14, 23, 0.2);
  margin-bottom: 8px;
}
.rc-home-footer p {
  font-size: 0.78rem;
  font-weight: 800;
  color: #2B050B !important;
  margin: 0 0 2px;
}
.rc-home-footer small {
  font-size: 0.65rem;
  color: #6B7280 !important;
  font-weight: 600;
}

/* ══════════════════════════════════════════════════════════
   DAILY CLAIM BUTTON & STREAK STYLING
   ══════════════════════════════════════════════════════════ */
.reward-claim-btn,
button[data-claim-reward] {
  width: 100% !important;
  margin-top: 14px !important;
  padding: 14px 20px !important;
  border-radius: 16px !important;
  background: #8C182B !important;
  color: #FFFFFF !important;
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 16px rgba(140, 24, 43, 0.4) !important;
  transition: all 0.25s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  -webkit-tap-highlight-color: transparent !important;
}
.reward-claim-btn:hover:not(:disabled),
button[data-claim-reward]:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.01) !important;
  box-shadow: 0 8px 24px rgba(140, 24, 43, 0.6) !important;
  background: #A81C34 !important;
}
.reward-claim-btn:active:not(:disabled),
button[data-claim-reward]:active:not(:disabled) {
  transform: scale(0.98) !important;
}
.reward-claim-btn:disabled,
button[data-claim-reward]:disabled,
.reward-claim-btn.is-claimed,
button[data-claim-reward].is-claimed {
  background: rgba(100, 116, 139, 0.18) !important;
  color: #64748B !important;
  border: 1px solid rgba(100, 116, 139, 0.25) !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  opacity: 0.75 !important;
  pointer-events: none !important;
  touch-action: none !important;
}

/* ══════════════════════════════════════════════════════════
   PORTRAIT LOCK & DESKTOP RESTRICTION STYLES
   ══════════════════════════════════════════════════════════ */

/* Landscape rotation lock overlay (Mobile max-width 1024px in landscape) */
.portrait-lock-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #000000;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}
@media screen and (orientation: landscape) and (max-height: 500px) and (max-width: 1024px) {
  .portrait-lock-overlay {
    display: flex !important;
  }
}
.portrait-lock-card {
  background: #FFFFFF;
  border: 2px solid #6E1624;
  padding: 32px 24px;
  border-radius: 24px;
  max-width: 360px;
  box-shadow: 0 12px 36px rgba(110, 22, 36, 0.15);
}
.portrait-lock-icon {
  font-size: 3rem;
  margin-bottom: 12px;
  animation: phoneRotate 2.5s ease-in-out infinite alternate;
}
@keyframes phoneRotate {
  0%   { transform: rotate(-90deg); }
  50%, 100% { transform: rotate(0deg); }
}
.portrait-lock-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #6E1624;
  margin: 0 0 8px;
}
.portrait-lock-card p {
  font-size: 0.84rem;
  color: #000000;
  margin: 0;
  line-height: 1.5;
}

/* Desktop screen restriction (> 1024px width) — Triggered on Open App click */
.desktop-restricted-screen {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999998;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #000000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.desktop-restricted-screen,
.desktop-restricted-screen.is-visible {
  display: none !important;
}
/* Disable desktop restriction and portrait lock on Landing Page and Merchant POS so marketing site & POS work seamlessly on desktop/tablet/landscape */
.merchant-pos-body .desktop-restricted-screen,
.merchant-pos-body .portrait-lock-overlay,
body:has(#landingPage:not(.landing-hidden)) .portrait-lock-overlay,
body:has(#landingPage:not(.landing-hidden)) .desktop-restricted-screen {
  display: none !important;
}
.desktop-restricted-card {
  position: relative;
  background: #FFFFFF;
  border: 2px solid #6E1624;
  padding: 44px 36px 32px;
  border-radius: 28px;
  max-width: 460px;
  box-shadow: 0 20px 60px rgba(110, 22, 36, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.desktop-restricted-card .modal-close-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #FAFAFA;
  border: 1px solid #E2D5D7;
  color: #6E1624;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.desktop-restricted-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 20px;
  background: #FFFFFF;
  box-shadow: 0 8px 24px rgba(110, 22, 36, 0.15), 0 0 0 2px #6E1624;
  margin-bottom: 20px;
}
.desktop-restricted-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #6E1624;
  margin: 0 0 10px;
}
.desktop-restricted-card p {
  font-size: 0.88rem;
  color: #000000;
  margin: 0 0 24px;
  line-height: 1.5;
}
.desktop-qr-box {
  background: #FAFAFA;
  border: 1px solid #E2D5D7;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  width: 100%;
}
.desktop-qr-code {
  background: #FFFFFF;
  padding: 12px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.desktop-qr-hint {
  font-size: 0.78rem !important;
  color: #6E1624 !important;
  margin: 0 !important;
  font-weight: 700 !important;
}
.desktop-restricted-badges {
  display: flex;
  gap: 10px;
  font-size: 0.75rem;
  color: #6E1624;
  font-weight: 700;
}
.desktop-restricted-badges span {
  background: #FAFAFA;
  padding: 6px 14px;
  border-radius: 30px;
  border: 1px solid #E2D5D7;
}

/* ══════════════════════════════════════════════════════════
   HIGH-CONTRAST TYPOGRAPHY & VISIBILITY ENHANCEMENTS
   ══════════════════════════════════════════════════════════ */

/* Missions & Rewards Tab Headers */
.missions-page-header h2 {
  color: #6E1624 !important;
  font-weight: 900 !important;
  font-size: 1.4rem !important;
  text-align: center !important;
  margin: 12px 0 16px !important;
}

.missions-tabs {
  display: flex !important;
  justify-content: space-around !important;
  border-bottom: 2px solid #E8D5D8 !important;
  margin-bottom: 18px !important;
  gap: 4px !important;
}

.missions-tab {
  flex: 1 !important;
  background: transparent !important;
  border: none !important;
  color: #333333 !important;
  font-weight: 800 !important;
  font-size: 0.88rem !important;
  padding: 10px 4px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  position: relative !important;
  opacity: 0.75 !important;
  text-align: center !important;
  white-space: nowrap !important;
}

.missions-tab:hover {
  opacity: 1 !important;
  color: #6E1624 !important;
}

.missions-tab.is-active {
  color: #6E1624 !important;
  opacity: 1 !important;
  font-weight: 900 !important;
  border-bottom: 3px solid #6E1624 !important;
  margin-bottom: -2px !important;
}

/* Section Headings ("My Rewards", "Redeem Vouchers & Perks") */
.missions-section-heading h3,
.reward-section-heading h3 {
  color: #6E1624 !important;
  font-size: 1.15rem !important;
  font-weight: 900 !important;
  margin: 18px 0 12px !important;
  letter-spacing: 0.3px !important;
}

/* Rewards Cards & Redeem Buttons */
.reward-card-interactive {
  background: #FFFFFF !important;
  border: 1px solid #E8D5D8 !important;
  border-radius: 18px !important;
  padding: 14px 16px !important;
  margin-bottom: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
}

.reward-card-info strong {
  color: #000000 !important;
  font-size: 0.95rem !important;
  font-weight: 900 !important;
  display: block !important;
  margin-bottom: 3px !important;
}

.reward-card-info p {
  color: #333333 !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  margin: 0 !important;
  line-height: 1.4 !important;
}

/* Redeem Points Button on Cards */
.reward-redeem-btn {
  background: #6E1624 !important;
  color: #FFFFFF !important;
  font-weight: 900 !important;
  font-size: 0.82rem !important;
  padding: 10px 18px !important;
  border-radius: 14px !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(110, 22, 36, 0.3) !important;
  flex-shrink: 0 !important;
  transition: transform 0.2s ease !important;
}

.reward-redeem-btn:active {
  transform: scale(0.95) !important;
}

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

.my-rewards-empty-icon {
  font-size: 3rem !important;
  margin-bottom: 12px !important;
}

.my-rewards-empty p {
  color: #000000 !important;
  font-size: 1.1rem !important;
  font-weight: 900 !important;
  margin: 0 0 6px !important;
}

.my-rewards-empty small {
  color: #444444 !important;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  display: block !important;
}

/* Bottom Navigation Bar High-Contrast Typography */
.phone-bottom-nav {
  background: #FFFFFF !important;
  border-top: 1px solid #E8D5D8 !important;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06) !important;
}

.phone-nav-item {
  color: #444444 !important;
  font-weight: 700 !important;
  font-size: 0.74rem !important;
  opacity: 0.85 !important;
  transition: all 0.2s ease !important;
}

.phone-nav-item:hover,
.phone-nav-item:active {
  opacity: 1 !important;
  color: #6E1624 !important;
}

.phone-nav-item.is-active {
  color: #6E1624 !important;
  font-weight: 900 !important;
  opacity: 1 !important;
}

.phone-nav-item svg,
.phone-nav-item span {
  color: inherit !important;
}

/* ════════════════════════════════════════════════════
   ULTRA HIGH-CONTRAST MODAL & TEXT VISIBILITY FIXES
   ════════════════════════════════════════════════════ */

/* Modal Backdrop & Card Container */
.auth-modal-card,
.modal-card {
  background: #FFFFFF !important;
  color: #0F172A !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  border-radius: 24px !important;
  padding: 24px 20px 20px !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
}

/* Modal Headers & Titles */
.auth-modal-header h2,
.modal-header h2,
#authTitle,
#settingsModal h2 {
  font-family: var(--font-display) !important;
  font-size: 1.55rem !important;
  font-weight: 900 !important;
  color: #0F172A !important;
  letter-spacing: -0.4px !important;
  margin-bottom: 4px !important;
}

.auth-modal-header p,
.modal-header p,
#authSubtitle,
#settingsModal p {
  font-size: 0.88rem !important;
  color: #475569 !important;
  font-weight: 600 !important;
}

/* Form Field Labels */
.auth-field label,
.form-group label {
  font-family: var(--font-display) !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  color: #1E293B !important;
  margin-bottom: 6px !important;
  display: block !important;
}

/* Inputs & Selects */
.auth-field input,
.auth-field select,
#authEmail,
#authPassword,
#authName,
#authRole {
  width: 100% !important;
  background: #F8FAFC !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 14px !important;
  padding: 13px 16px !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  color: #0F172A !important;
  outline: none !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03) !important;
}

.auth-field input:focus,
.auth-field select:focus,
#authEmail:focus,
#authPassword:focus {
  background: #FFFFFF !important;
  border-color: #6E1624 !important;
  box-shadow: 0 0 0 4px rgba(110, 22, 36, 0.12), inset 0 1px 2px rgba(0, 0, 0, 0.02) !important;
}

/* Chrome / iOS Safari Autofill High Contrast Fix */
.auth-field input:-webkit-autofill,
.auth-field input:-webkit-autofill:hover,
.auth-field input:-webkit-autofill:focus,
#authEmail:-webkit-autofill,
#authPassword:-webkit-autofill {
  -webkit-text-fill-color: #0F172A !important;
  -webkit-box-shadow: 0 0 0 40px #F1F5F9 inset !important;
  box-shadow: 0 0 0 40px #F1F5F9 inset !important;
  border-color: #94A3B8 !important;
}

/* Primary Action Submit Button (#authSubmitBtn) */
#authSubmitBtn,
.auth-form .primary-action,
.auth-modal-card .primary-action {
  width: 100% !important;
  background: linear-gradient(135deg, #6E1624 0%, #8C182B 100%) !important;
  color: #FFFFFF !important;
  font-family: var(--font-display) !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  padding: 14px 20px !important;
  border: none !important;
  border-radius: 14px !important;
  text-align: center !important;
  box-shadow: 0 6px 20px rgba(110, 22, 36, 0.35) !important;
  cursor: pointer !important;
  margin-top: 8px !important;
}

#authSubmitBtn:hover,
.auth-form .primary-action:hover {
  background: linear-gradient(135deg, #8C182B 0%, #A81C34 100%) !important;
  box-shadow: 0 8px 24px rgba(110, 22, 36, 0.45) !important;
}

/* Toggle Link Text at Bottom ("New to ROEYALS? Create account") */
#authToggleText,
.auth-toggle {
  color: #475569 !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  text-align: center !important;
  margin-top: 12px !important;
}

#authToggleBtn,
.auth-toggle button {
  background: none !important;
  border: none !important;
  color: #6E1624 !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  padding: 2px 6px !important;
  font-size: 0.88rem !important;
  text-decoration: underline !important;
}

#authToggleBtn:hover,
.auth-toggle button:hover {
  color: #A81C34 !important;
}

/* Settings Modal Specifics */
#settingsModal .settings-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 14px 16px !important;
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 14px !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  color: #0F172A !important;
  margin-bottom: 8px !important;
}

#accountSignOutBtn,
#settingsModal .danger-btn {
  width: 100% !important;
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%) !important;
  color: #FFFFFF !important;
  font-family: var(--font-display) !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  padding: 14px 20px !important;
  border: none !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3) !important;
  cursor: pointer !important;
}

#settingsModal .secondary-action {
  width: 100% !important;
  background: #F1F5F9 !important;
  color: #334155 !important;
  border: 1.5px solid #CBD5E1 !important;
  padding: 12px 20px !important;
  border-radius: 14px !important;
  font-family: var(--font-display) !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  text-align: center !important;
  cursor: pointer !important;
  margin-top: 8px !important;
}

#settingsModal .secondary-action:hover {
  background: #E2E8F0 !important;
  color: #0F172A !important;
}

/* ════════════════════════════════════════════════════
   iOS SAFARI MOBILE FORM & BUTTON OVERRIDES (-webkit-appearance fix)
   ════════════════════════════════════════════════════ */
#authModal *,
#settingsModal * {
  -webkit-text-size-adjust: 100% !important;
}

#authModal button,
#authModal input,
#authModal select,
#settingsModal button,
#settingsModal input {
  -webkit-appearance: none !important;
  appearance: none !important;
}

#authModal h2,
#authTitle {
  color: #0F172A !important;
  -webkit-text-fill-color: #0F172A !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 1.55rem !important;
  font-weight: 900 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#authModal p,
#authSubtitle {
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#authSubmitBtn {
  -webkit-appearance: none !important;
  appearance: none !important;
  background-color: #6E1624 !important;
  background-image: linear-gradient(135deg, #6E1624 0%, #8C182B 100%) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  padding: 14px 20px !important;
  border: none !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 20px rgba(110, 22, 36, 0.35) !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  margin-top: 10px !important;
}

#authSubmitBtn:disabled {
  opacity: 0.7 !important;
  background-color: #6E1624 !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

#authToggleBtn {
  -webkit-appearance: none !important;
  appearance: none !important;
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  color: #6E1624 !important;
  -webkit-text-fill-color: #6E1624 !important;
  font-weight: 800 !important;
  text-decoration: underline !important;
  display: inline-block !important;
  visibility: visible !important;
}

/* ════════════════════════════════════════════════════
/* ════════════════════════════════════════════════════
   SAFE CLEARANCE FOR FIXED BOTTOM NAVIGATION BAR (ZERO WHITE GAP)
   ════════════════════════════════════════════════════ */
.phone-pages {
  padding-bottom: 0 !important;
}

.phone-page,
.phone-page[data-phone-page="home"],
.phone-page[data-phone-page="menu"],
.phone-page[data-phone-page="presso"],
.phone-page[data-phone-page="rewards"],
.phone-page[data-phone-page="account"],
.phone-page[data-phone-page="order"],
.phone-page[data-phone-page="orders"] {
  padding-bottom: calc(68px + env(safe-area-inset-bottom, 10px)) !important;
  min-height: auto !important;
}

.rc-home-footer {
  padding: 16px 20px 10px !important;
  margin-bottom: 0 !important;
}

/* ════════════════════════════════════════════════════
   POS MODIFIERS & CUSTOMIZATION MANAGER STYLES
   ════════════════════════════════════════════════════ */
.modifiers-manager-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
  gap: 20px !important;
  margin-top: 16px !important;
}

.modifier-cat-card {
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 20px !important;
  padding: 20px !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04) !important;
  display: flex !important;
  flex-direction: column !important;
  transition: all 0.2s ease !important;
}

.modifier-cat-card:hover {
  border-color: #CBD5E1 !important;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08) !important;
}

.mod-cat-header {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding-bottom: 14px !important;
  border-bottom: 1.5px solid #F1F5F9 !important;
  margin-bottom: 14px !important;
}

.mod-cat-title {
  font-family: var(--font-display) !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin: 0 !important;
}

.mod-cat-desc {
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  color: #64748B !important;
  margin: 2px 0 0 0 !important;
}

.mod-item-count {
  color: #6E1624 !important;
  font-weight: 700 !important;
}

.mod-items-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  flex: 1 !important;
}

.mod-empty-hint {
  text-align: center !important;
  padding: 24px 12px !important;
  color: #94A3B8 !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  background: #F8FAFC !important;
  border-radius: 12px !important;
  border: 1px dashed #CBD5E1 !important;
}

.modifier-item-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding: 10px 14px !important;
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 14px !important;
  transition: all 0.15s ease !important;
}

.modifier-item-row:hover {
  background: #F1F5F9 !important;
  border-color: #CBD5E1 !important;
}

.modifier-item-row.is-unavailable {
  opacity: 0.6 !important;
  background: #FEF2F2 !important;
  border-color: #FECDD3 !important;
}

.mod-item-info {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  min-width: 0 !important;
  flex: 1 !important;
}

.mod-name {
  font-size: 0.86rem !important;
  font-weight: 800 !important;
  color: #0F172A !important;
}

.mod-price-pill {
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  padding: 3px 8px !important;
  border-radius: 8px !important;
  white-space: nowrap !important;
}

.mod-price-pill.free {
  background: #F1F5F9 !important;
  color: #475569 !important;
  border: 1px solid #E2E8F0 !important;
}

.mod-price-pill.paid {
  background: #FEF3C7 !important;
  color: #92400E !important;
  border: 1px solid #FDE68A !important;
}

.mod-default-badge {
  background: #DCFCE7 !important;
  color: #166534 !important;
  font-size: 0.65rem !important;
  font-weight: 800 !important;
  padding: 2px 6px !important;
  border-radius: 6px !important;
  text-transform: uppercase !important;
}

.mod-item-actions {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-shrink: 0 !important;
}

.mod-stock-toggle-btn {
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  padding: 5px 10px !important;
  border-radius: 10px !important;
  border: 1px solid transparent !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.mod-stock-toggle-btn.in-stock {
  background: #DCFCE7 !important;
  color: #166534 !important;
  border-color: #BBF7D0 !important;
}

.mod-stock-toggle-btn.in-stock:hover {
  background: #BBF7D0 !important;
}

.mod-stock-toggle-btn.out-of-stock {
  background: #FEE2E2 !important;
  color: #991B1B !important;
  border-color: #FECACA !important;
}

.mod-stock-toggle-btn.out-of-stock:hover {
  background: #FECACA !important;
}

.mod-btn-edit {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  color: #1E293B !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  padding: 5px 10px !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.mod-btn-edit:hover {
  background: #F1F5F9 !important;
  border-color: #94A3B8 !important;
}

.mod-btn-delete {
  background: #FEE2E2 !important;
  border: 1px solid #FECACA !important;
  color: #DC2626 !important;
  font-size: 0.75rem !important;
  padding: 5px 8px !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.mod-btn-delete:hover {
  background: #DC2626 !important;
  color: #FFFFFF !important;
}

/* ══════════════════════════════════════════════════════════
   REDEEM CONFIRMATION MODAL & MY REWARDS CARDS
   ══════════════════════════════════════════════════════════ */
.redeem-confirm-card {
  max-width: 360px !important;
  border-radius: 26px !important;
  background: linear-gradient(165deg, #2B050B 0%, #150205 100%) !important;
  border: 1.5px solid rgba(212, 175, 55, 0.45) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(212, 175, 55, 0.2) !important;
  padding: 24px 20px !important;
  text-align: center !important;
  color: #FFFFFF !important;
}

.redeem-confirm-badge {
  font-size: 2.8rem !important;
  margin-bottom: 8px !important;
  animation: floatActionIcon 2.5s ease-in-out infinite alternate !important;
}

.redeem-confirm-title {
  font-family: var(--font-display) !important;
  font-size: 1.3rem !important;
  font-weight: 900 !important;
  color: #FFFFFF !important;
  margin: 0 0 6px !important;
}

.redeem-confirm-sub {
  font-size: 0.82rem !important;
  color: #E2E8F0 !important;
  margin: 0 0 16px !important;
  line-height: 1.4 !important;
}

.redeem-confirm-box {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 16px !important;
  padding: 12px 14px !important;
  margin-bottom: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  text-align: left !important;
}

.redeem-confirm-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-size: 0.78rem !important;
  color: #E2E8F0 !important;
}

.redeem-confirm-divider {
  height: 1px !important;
  background: rgba(255, 255, 255, 0.12) !important;
  margin: 2px 0 !important;
}

.redeem-confirm-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
}

.redeem-cancel-btn {
  padding: 12px !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  font-size: 0.86rem !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.redeem-cancel-btn:hover {
  background: rgba(255, 255, 255, 0.2) !important;
}

.redeem-submit-btn {
  padding: 12px !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
  border: none !important;
  color: #2B050B !important;
  font-weight: 900 !important;
  font-size: 0.86rem !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(255, 165, 0, 0.4) !important;
  transition: all 0.2s ease !important;
}

.redeem-submit-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(255, 165, 0, 0.55) !important;
}

/* ── MY REWARDS LIST & VOUCHER CARDS ── */
.my-rewards-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding: 4px 0 20px !important;
}

.my-rewards-empty {
  text-align: center !important;
  padding: 40px 16px !important;
  background: #FFFFFF !important;
  border-radius: 20px !important;
  border: 1px solid rgba(110, 22, 36, 0.1) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

.my-rewards-empty-icon {
  font-size: 3rem !important;
  margin-bottom: 10px !important;
  animation: floatActionIcon 3s ease-in-out infinite alternate !important;
}

.my-rewards-empty p {
  font-family: var(--font-display) !important;
  font-size: 1rem !important;
  font-weight: 900 !important;
  color: #0F172A !important;
  margin: 0 0 4px !important;
}

.my-rewards-empty small {
  font-size: 0.78rem !important;
  color: #64748B !important;
  display: block !important;
  max-width: 260px !important;
  margin: 0 auto !important;
  line-height: 1.3 !important;
}

.my-reward-card {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 14px 16px !important;
  background: #FFFFFF !important;
  border: 1.5px solid rgba(110, 22, 36, 0.14) !important;
  border-radius: 18px !important;
  box-shadow: 0 4px 16px rgba(110, 22, 36, 0.06) !important;
  transition: all 0.25s ease !important;
}

.my-reward-card.is-applied {
  border-color: #10B981 !important;
  background: #F0FDF4 !important;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.15) !important;
}

.my-reward-card.is-used {
  opacity: 0.6 !important;
  background: #F8FAFC !important;
  border-color: #E2E8F0 !important;
}

.my-reward-icon {
  font-size: 1.8rem !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  background: rgba(110, 22, 36, 0.06) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.my-reward-info {
  flex: 1 !important;
  min-width: 0 !important;
}

.my-reward-info strong {
  display: block !important;
  font-family: var(--font-display) !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin-bottom: 4px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.my-reward-meta {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}

.my-reward-code-pill {
  font-size: 0.68rem !important;
  font-weight: 900 !important;
  color: #6E1624 !important;
  background: rgba(110, 22, 36, 0.08) !important;
  padding: 2px 7px !important;
  border-radius: 6px !important;
  letter-spacing: 0.3px !important;
}

.my-reward-date {
  font-size: 0.68rem !important;
  color: #64748B !important;
  font-weight: 600 !important;
}

.my-reward-use-btn {
  padding: 8px 14px !important;
  background: linear-gradient(135deg, #6E1624 0%, #4A0E17 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 10px !important;
  font-family: var(--font-display) !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  box-shadow: 0 3px 10px rgba(110, 22, 36, 0.25) !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
}

.my-reward-use-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(110, 22, 36, 0.35) !important;
}

.my-reward-use-btn.is-applied {
  background: #10B981 !important;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.3) !important;
}

.my-reward-status-chip.is-used {
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  color: #64748B !important;
  background: #E2E8F0 !important;
  padding: 4px 10px !important;
  border-radius: 8px !important;
}

/* ══════════════════════════════════════════════════════════
   ZUS COFFEE STYLE ORDER CONFIRMATION MODAL
   ══════════════════════════════════════════════════════════ */
.zus-confirm-card {
  max-width: 420px !important;
  border-radius: 26px !important;
  padding: 24px 20px 20px !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
  background: #FFFFFF !important;
  border: 1.5px solid rgba(110, 22, 36, 0.15) !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35) !important;
}

.zus-confirm-body {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  padding: 10px 0 !important;
}

.zus-section-title {
  font-family: var(--font-display) !important;
  font-size: 1.15rem !important;
  font-weight: 900 !important;
  color: #111827 !important;
  letter-spacing: -0.01em !important;
  margin-bottom: -4px !important;
}

/* ZUS ORDER ITEM CARD */
.zus-order-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.zus-order-item {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 14px !important;
  background: #FFFFFF !important;
  border: 1px solid #E5E7EB !important;
  border-radius: 18px !important;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04) !important;
  position: relative !important;
}

.zus-item-avatar {
  width: 58px !important;
  height: 58px !important;
  border-radius: 50% !important;
  background: #F3F4F6 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.06) !important;
}

.zus-drink-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.zus-item-main {
  flex: 1 !important;
  min-width: 0 !important;
}

.zus-item-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
}

.zus-item-name {
  font-family: var(--font-display) !important;
  font-size: 0.98rem !important;
  font-weight: 800 !important;
  color: #111827 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.zus-edit-btn {
  background: none !important;
  border: none !important;
  color: #0088A8 !important;
  font-family: var(--font-display) !important;
  font-size: 0.82rem !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  padding: 2px 6px !important;
  border-radius: 6px !important;
  letter-spacing: 0.5px !important;
  transition: all 0.15s ease !important;
  flex-shrink: 0 !important;
}

.zus-edit-btn:hover {
  background: rgba(0, 136, 168, 0.1) !important;
  color: #006077 !important;
}

.zus-item-price {
  font-family: var(--font-display) !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  color: #1F2937 !important;
  margin: 2px 0 6px !important;
}

.zus-item-details {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

.zus-item-qty {
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  color: #374151 !important;
}

.zus-item-customs {
  font-size: 0.72rem !important;
  color: #4B5563 !important;
  font-weight: 600 !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}

.zus-delete-btn {
  background: none !important;
  border: none !important;
  color: #9CA3AF !important;
  cursor: pointer !important;
  padding: 6px !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.15s ease !important;
  align-self: flex-end !important;
  margin-bottom: -4px !important;
}

.zus-delete-btn:hover {
  color: #DC2626 !important;
  background: #FEE2E2 !important;
}

/* REMARKS CARD */
.zus-remarks-card,
.zus-payment-card,
.zus-summary-card {
  background: #F9FAFB !important;
  border: 1px solid #E5E7EB !important;
  border-radius: 18px !important;
  padding: 14px 16px !important;
}

.zus-label {
  font-family: var(--font-display) !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  color: #374151 !important;
  display: block !important;
  margin-bottom: 8px !important;
}

.zus-remarks-input {
  width: 100% !important;
  background: #FFFFFF !important;
  border: 1.5px solid #D1D5DB !important;
  border-radius: 12px !important;
  padding: 10px 14px !important;
  font-size: 0.84rem !important;
  color: #111827 !important;
  font-weight: 600 !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.zus-remarks-input:focus {
  border-color: #6E1624 !important;
  box-shadow: 0 0 0 3px rgba(110, 22, 36, 0.12) !important;
}

/* PAYMENT OPTIONS */
.zus-payment-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
}

.zus-payment-option {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 12px !important;
  background: #FFFFFF !important;
  border: 1.5px solid #E5E7EB !important;
  border-radius: 14px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.zus-payment-option input {
  display: none !important;
}

.zus-pay-radio-dot {
  width: 14px !important;
  height: 14px !important;
  border-radius: 50% !important;
  border: 2px solid #CBD5E1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  transition: all 0.15s ease !important;
}

.zus-payment-option.is-active {
  border-color: #6E1624 !important;
  background: #FFF5F6 !important;
}

.zus-payment-option.is-active .zus-pay-radio-dot {
  border-color: #6E1624 !important;
  background: #6E1624 !important;
  box-shadow: inset 0 0 0 2px #FFFFFF !important;
}

.zus-pay-text {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
}

.zus-pay-text strong {
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  color: #111827 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

.zus-pay-text small {
  font-size: 0.65rem !important;
  color: #6B7280 !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;
}

/* FPX BANK SELECTOR */
.zus-fpx-bank-wrap {
  margin-top: 10px !important;
  padding-top: 10px !important;
  border-top: 1px dashed #E5E7EB !important;
  animation: fadeIn 0.2s ease !important;
}

.zus-sublabel {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: #4B5563 !important;
  display: block !important;
  margin-bottom: 4px !important;
}

.zus-fpx-select {
  width: 100% !important;
  background: #FFFFFF !important;
  border: 1.5px solid #D1D5DB !important;
  border-radius: 10px !important;
  padding: 8px 12px !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: #111827 !important;
  outline: none !important;
  cursor: pointer !important;
}

/* SUMMARY CARD */
.zus-summary-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-size: 0.82rem !important;
  color: #4B5563 !important;
  padding: 3px 0 !important;
}

.zus-summary-row strong {
  color: #111827 !important;
  font-weight: 800 !important;
}

.zus-total-row {
  padding-top: 8px !important;
  margin-top: 4px !important;
  border-top: 1px solid #E5E7EB !important;
}

.zus-total-row span {
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  color: #111827 !important;
}

.zus-total-price {
  font-size: 1.25rem !important;
  font-weight: 900 !important;
  color: #6E1624 !important;
  letter-spacing: -0.02em !important;
}

/* ══════════════════════════════════════════════════════════
   ROEYALS COFFEE CLUB TIER RANKING SYSTEM (ZUS STYLE)
   ══════════════════════════════════════════════════════════ */
.tier-nav-bar {
  display: flex !important;
  gap: 8px !important;
  margin-bottom: 16px !important;
  overflow-x: auto !important;
  padding: 4px 2px !important;
  scrollbar-width: none !important;
}
.tier-nav-bar::-webkit-scrollbar {
  display: none !important;
}

.tier-nav-pill {
  flex: 1 !important;
  white-space: nowrap !important;
  padding: 10px 14px !important;
  border-radius: 14px !important;
  font-family: var(--font-display) !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  border: 1.5px solid #E2E8F0 !important;
  background: #FFFFFF !important;
  color: #64748B !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
  text-align: center !important;
}

.tier-nav-pill:hover {
  border-color: #CBD5E1 !important;
  color: #1E293B !important;
  transform: translateY(-1px) !important;
}

.tier-nav-pill.is-active {
  background: linear-gradient(135deg, #6E1624 0%, #4A0E17 100%) !important;
  color: #FFFFFF !important;
  border-color: #6E1624 !important;
  box-shadow: 0 6px 18px rgba(110, 22, 36, 0.35) !important;
}

/* 3D SHOWCASE HERO CARD */
.tier-showcase-card {
  background: linear-gradient(145deg, #FFFFFF 0%, #FFFDF9 100%) !important;
  border: 1.5px solid rgba(110, 22, 36, 0.15) !important;
  border-radius: 24px !important;
  padding: 22px 18px !important;
  margin-bottom: 22px !important;
  box-shadow: 0 10px 30px rgba(110, 22, 36, 0.08) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  position: relative !important;
  overflow: hidden !important;
}

.tier-hero-art {
  width: 90px !important;
  height: 90px !important;
  position: relative !important;
  margin-bottom: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.tier-mascot-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  filter: drop-shadow(0 8px 16px rgba(110, 22, 36, 0.25)) !important;
  animation: mascotFloat 3s ease-in-out infinite alternate !important;
}

@keyframes mascotFloat {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-6px) rotate(2deg); }
}

.tier-art-floating-crown {
  position: absolute !important;
  top: -8px !important;
  right: -4px !important;
  font-size: 1.5rem !important;
  filter: drop-shadow(0 4px 8px rgba(212, 175, 55, 0.5)) !important;
  animation: crownBob 2s ease-in-out infinite alternate !important;
}

@keyframes crownBob {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-4px) scale(1.1); }
}

.tier-hero-info {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.tier-active-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: rgba(110, 22, 36, 0.08) !important;
  border: 1px solid rgba(110, 22, 36, 0.25) !important;
  padding: 4px 12px !important;
  border-radius: 99px !important;
  font-family: var(--font-display) !important;
  font-size: 0.72rem !important;
  font-weight: 900 !important;
  color: #6E1624 !important;
  letter-spacing: 0.8px !important;
  margin-bottom: 8px !important;
}

.tier-current-headline {
  font-family: var(--font-display) !important;
  font-size: 1.15rem !important;
  font-weight: 900 !important;
  color: #111827 !important;
  margin: 0 0 6px !important;
  letter-spacing: -0.01em !important;
}

.tier-next-subtext {
  font-size: 0.82rem !important;
  color: #4B5563 !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  margin: 0 0 16px !important;
  max-width: 90% !important;
}

/* PROGRESS BAR */
.tier-progress-box {
  width: 100% !important;
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 16px !important;
  padding: 12px 14px !important;
  margin-bottom: 12px !important;
  box-sizing: border-box !important;
}

.tier-progress-head {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 0.76rem !important;
  color: #64748B !important;
  font-weight: 700 !important;
  margin-bottom: 8px !important;
}

.tier-progress-head strong {
  color: #6E1624 !important;
  font-weight: 900 !important;
}

.tier-progress-track {
  width: 100% !important;
  height: 8px !important;
  background: #E2E8F0 !important;
  border-radius: 99px !important;
  overflow: hidden !important;
}

.tier-progress-fill {
  display: block !important;
  height: 100% !important;
  background: linear-gradient(90deg, #6E1624 0%, #D4AF37 100%) !important;
  border-radius: 99px !important;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* 10-CUP MILESTONE PILL */
.tier-milestone-pill {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: #FFFBEB !important;
  border: 1.5px solid #FDE68A !important;
  border-radius: 14px !important;
  padding: 10px 14px !important;
  text-align: left !important;
  box-sizing: border-box !important;
}

.milestone-icon {
  font-size: 1.3rem !important;
  flex-shrink: 0 !important;
}

.milestone-text strong {
  font-size: 0.8rem !important;
  font-weight: 800 !important;
  color: #B45309 !important;
  display: block !important;
}

.milestone-text small {
  font-size: 0.72rem !important;
  color: #92400E !important;
  font-weight: 600 !important;
  display: block !important;
}

/* HIERARCHY PERK CARDS */
.tier-hierarchy-section {
  width: 100% !important;
  margin-top: 10px !important;
}

.tier-hierarchy-header h4 {
  font-family: var(--font-display) !important;
  font-size: 0.98rem !important;
  font-weight: 900 !important;
  color: #111827 !important;
  margin: 0 0 12px !important;
  letter-spacing: -0.01em !important;
}

.tier-perk-cards {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.tier-perk-card {
  background: #FFFFFF !important;
  border: 1.5px solid #E5E7EB !important;
  border-radius: 18px !important;
  padding: 16px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03) !important;
  transition: all 0.2s ease !important;
}

.tier-perk-card.is-current {
  border-color: #6E1624 !important;
  box-shadow: 0 6px 20px rgba(110, 22, 36, 0.12) !important;
}

.tier-perk-card.is-highness-card {
  background: linear-gradient(145deg, #FFFDF8 0%, #FFFBEA 100%) !important;
  border-color: rgba(212, 175, 55, 0.45) !important;
}

.tier-perk-card.is-highness-card.is-current {
  border-color: #D4AF37 !important;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.25) !important;
}

.tier-perk-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 12px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid #F3F4F6 !important;
}

.tier-perk-title-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.tier-perk-title-wrap .tier-icon {
  font-size: 1.4rem !important;
}

.tier-perk-title-wrap strong {
  font-family: var(--font-display) !important;
  font-size: 0.94rem !important;
  font-weight: 900 !important;
  color: #111827 !important;
  display: block !important;
}

.tier-perk-title-wrap small {
  font-size: 0.7rem !important;
  color: #6B7280 !important;
  font-weight: 600 !important;
  display: block !important;
}

.tier-status-chip {
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  padding: 4px 10px !important;
  border-radius: 99px !important;
  background: #F3F4F6 !important;
  color: #6B7280 !important;
}

.tier-status-chip.is-unlocked {
  background: #DCFCE7 !important;
  color: #166534 !important;
  border: 1px solid #BBF7D0 !important;
}

.tier-status-chip.is-vip {
  background: #FEF3C7 !important;
  color: #92400E !important;
  border: 1px solid #FDE68A !important;
}

.tier-perk-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.tier-perk-list li {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 0.78rem !important;
  color: #374151 !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
}

.tier-perk-list strong {
  color: #111827 !important;
  font-weight: 800 !important;
}

.perk-check {
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  background: #F0FDF4 !important;
  color: #16A34A !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.68rem !important;
  font-weight: 900 !important;
  flex-shrink: 0 !important;
}

.is-highness-card .perk-check {
  background: #FEF3C7 !important;
  color: #D97706 !important;
}

/* ── CLICKABLE VIP RANK BOX ── */
#phoneVipCard,
#phoneVipCardIndex {
  cursor: pointer !important;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease !important;
}

#phoneVipCard:hover,
#phoneVipCardIndex:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 32px rgba(110, 22, 36, 0.35), 0 0 16px rgba(212, 175, 55, 0.3) !important;
}

#phoneVipCard:active,
#phoneVipCardIndex:active {
  transform: scale(0.98) !important;
}

/* ── ROEYAL TIER CHARACTER MASCOT BADGES (Child & Knight) ── */
.tier-knight-character-wrap,
.tier-mascot-character-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  margin: 0 4px !important;
}

.knight-duck-card-img,
.tier-mascot-duck-img {
  width: 54px !important;
  height: 54px !important;
  max-width: 54px !important;
  max-height: 54px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 8px rgba(255, 215, 0, 0.4)) !important;
  animation: knightDuckHover 3s ease-in-out infinite alternate !important;
  pointer-events: none !important;
}

@keyframes knightDuckHover {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-3px) rotate(-3deg) scale(1.06); }
  100% { transform: translateY(1px) rotate(2deg); }
}

/* ── ROEYAL CLUB DEDICATED SUB-PAGE HEADER ── */
.roeyal-club-page-header {
  margin-bottom: 18px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.roeyal-club-back-bar {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 99px !important;
  padding: 6px 14px !important;
  font-family: var(--font-display) !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  color: #6E1624 !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  width: fit-content !important;
  transition: all 0.2s ease !important;
}

.roeyal-club-back-bar:hover {
  background: #FFF1F2 !important;
  border-color: #FECDD3 !important;
  transform: translateX(-2px) !important;
}

.roeyal-club-page-header h2 {
  font-family: var(--font-display) !important;
  font-size: 1.35rem !important;
  font-weight: 900 !important;
  color: #111827 !important;
  margin: 0 !important;
  letter-spacing: -0.02em !important;
}

/* ── ZUS REDEEM VOUCHER ROW (ABOVE REMARKS) ── */
.zus-voucher-card {
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 18px !important;
  padding: 12px 16px !important;
  margin-bottom: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
}

.zus-voucher-card:hover {
  border-color: #CBD5E1 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

.zus-voucher-card.has-voucher {
  background: linear-gradient(135deg, #ECFDF5 0%, #F0FDF4 100%) !important;
  border-color: #10B981 !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.12) !important;
}

.zus-voucher-left {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-width: 0 !important;
}

.zus-voucher-icon {
  font-size: 1.4rem !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}

.zus-voucher-texts {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
}

.zus-voucher-title {
  font-family: var(--font-display) !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  color: #111827 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.zus-voucher-card.has-voucher .zus-voucher-title {
  color: #065F46 !important;
}

.zus-voucher-sub {
  font-size: 0.72rem !important;
  color: #64748B !important;
  font-weight: 600 !important;
}

.zus-voucher-card.has-voucher .zus-voucher-sub {
  color: #047857 !important;
  font-weight: 700 !important;
}

.zus-voucher-action-btn {
  background: #F8FAFC !important;
  border: 1.5px solid #E2E8F0 !important;
  color: #334155 !important;
  border-radius: 99px !important;
  padding: 6px 14px !important;
  font-family: var(--font-display) !important;
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
}

.zus-voucher-action-btn:hover {
  background: #E2E8F0 !important;
}

.zus-voucher-action-btn.is-active-btn {
  background: #FFF1F2 !important;
  border-color: #FECDD3 !important;
  color: #E11D48 !important;
}

/* ── ORDER CONFIRM MODAL OVERLAY & CARD ── */
#orderConfirmModal,
#redeemConfirmModal,
#voucherPickerModal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  display: none;
}

#orderConfirmModal.is-visible,
#redeemConfirmModal.is-visible,
#voucherPickerModal.is-visible {
  display: block !important;
}

.modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(15, 23, 42, 0.65) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  padding: 0 !important;
  z-index: 99999 !important;
  animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

@media (min-width: 600px) {
  .modal-overlay {
    align-items: center !important;
    padding: 20px !important;
  }
}

/* ── ZUS CHECKOUT & CONFIRMATION MODAL ── */
.zus-confirm-card {
  background: #FFFFFF !important;
  border-radius: 28px 28px 0 0 !important;
  max-width: 500px !important;
  width: 100% !important;
  max-height: 88vh !important;
  max-height: 88dvh !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25) !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  animation: slideUpModal 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

@media (min-width: 600px) {
  .zus-confirm-card {
    border-radius: 28px !important;
    max-height: 85vh !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3) !important;
  }
}

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

.confirm-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 20px 20px 14px !important;
  border-bottom: 1px solid #F1F5F9 !important;
  flex-shrink: 0 !important;
  background: #FFFFFF !important;
}

.confirm-header h2 {
  font-family: var(--font-display) !important;
  font-size: 1.22rem !important;
  font-weight: 900 !important;
  color: #6E1624 !important;
  margin: 0 !important;
  letter-spacing: -0.02em !important;
}

.modal-close {
  background: #F1F5F9 !important;
  border: none !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  color: #64748B !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.modal-close:hover {
  background: #E2E8F0 !important;
  color: #0F172A !important;
  transform: scale(1.05) !important;
}

.zus-confirm-body {
  padding: 16px 18px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  overflow-y: auto !important;
  flex: 1 !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: thin !important;
}

.zus-section-title {
  font-family: var(--font-display) !important;
  font-size: 1rem !important;
  font-weight: 900 !important;
  color: #111827 !important;
  margin-bottom: 10px !important;
}

.zus-order-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-bottom: 12px !important;
}

.zus-order-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  background: #FFFFFF !important;
  border: 1.5px solid #F1F5F9 !important;
  border-radius: 18px !important;
  padding: 12px 14px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
}

.zus-item-avatar {
  width: 52px !important;
  height: 52px !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  background: #F8FAFC !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.zus-drink-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.zus-item-main {
  flex: 1 !important;
  min-width: 0 !important;
}

.zus-item-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 2px !important;
}

.zus-item-name {
  font-family: var(--font-display) !important;
  font-size: 0.95rem !important;
  font-weight: 900 !important;
  color: #111827 !important;
}

.zus-edit-btn {
  color: #0284C7 !important;
  font-weight: 800 !important;
  font-size: 0.78rem !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  padding: 0 !important;
  text-decoration: underline !important;
}

.zus-edit-btn:hover {
  color: #0369A1 !important;
}

.zus-item-price {
  font-weight: 900 !important;
  font-size: 0.92rem !important;
  color: #111827 !important;
  margin-bottom: 3px !important;
}

.zus-item-details {
  font-size: 0.75rem !important;
  color: #64748B !important;
  line-height: 1.35 !important;
}

.zus-item-qty {
  font-weight: 800 !important;
  color: #334155 !important;
  margin-right: 6px !important;
}

.zus-item-customs {
  margin: 2px 0 0 !important;
  color: #64748B !important;
  font-size: 0.73rem !important;
}

.zus-delete-btn {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 12px !important;
  padding: 8px !important;
  color: #94A3B8 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
}

.zus-delete-btn:hover {
  background: #FFF1F2 !important;
  border-color: #FECDD3 !important;
  color: #E11D48 !important;
}

.zus-remarks-card {
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 16px !important;
  padding: 12px 14px !important;
  margin-bottom: 12px !important;
}

.zus-label {
  font-family: var(--font-display) !important;
  font-size: 0.8rem !important;
  font-weight: 800 !important;
  color: #1E293B !important;
  display: block !important;
  margin-bottom: 6px !important;
}

.zus-sublabel {
  font-size: 0.73rem !important;
  font-weight: 700 !important;
  color: #475569 !important;
  display: block !important;
  margin-bottom: 6px !important;
}

.zus-remarks-input {
  width: 100% !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 12px !important;
  padding: 9px 12px !important;
  font-size: 0.82rem !important;
  color: #1E293B !important;
  outline: none !important;
  box-sizing: border-box !important;
  font-family: inherit !important;
  transition: border-color 0.2s ease !important;
}

.zus-remarks-input:focus {
  border-color: #6E1624 !important;
}

.zus-payment-card {
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 16px !important;
  padding: 12px 14px !important;
  margin-bottom: 12px !important;
}

.zus-payment-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
}

.zus-payment-option {
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 14px !important;
  padding: 10px 8px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  position: relative !important;
}

.zus-payment-option input[type="radio"] {
  display: none !important;
}

.zus-pay-radio-dot {
  width: 16px !important;
  height: 16px !important;
  border-radius: 50% !important;
  border: 2px solid #CBD5E1 !important;
  flex-shrink: 0 !important;
  position: relative !important;
  transition: all 0.2s ease !important;
}

.zus-payment-option.is-active .zus-pay-radio-dot {
  border-color: #6E1624 !important;
}

.zus-payment-option.is-active .zus-pay-radio-dot::after {
  content: "" !important;
  position: absolute !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: #6E1624 !important;
  top: 2px !important;
  left: 2px !important;
}

.zus-payment-option.is-active {
  border-color: #6E1624 !important;
  background: #FFF1F2 !important;
}

.zus-pay-text {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
}

.zus-pay-text strong {
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  color: #111827 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.zus-pay-text small {
  font-size: 0.67rem !important;
  color: #64748B !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.zus-fpx-bank-wrap {
  margin-top: 8px !important;
  padding-top: 8px !important;
  border-top: 1px solid #F1F5F9 !important;
}

.zus-fpx-select {
  width: 100% !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 12px !important;
  padding: 9px 12px !important;
  font-size: 0.8rem !important;
  color: #1E293B !important;
  outline: none !important;
  font-weight: 700 !important;
  box-sizing: border-box !important;
}

.zus-summary-card {
  background: #F8FAFC !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 16px !important;
  padding: 12px 14px !important;
  margin-bottom: 6px !important;
}

.zus-summary-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-size: 0.8rem !important;
  color: #475569 !important;
  margin-bottom: 5px !important;
}

.zus-total-row {
  border-top: 1px solid #E2E8F0 !important;
  padding-top: 8px !important;
  margin-top: 8px !important;
  margin-bottom: 0 !important;
  font-size: 1rem !important;
  font-weight: 900 !important;
  color: #111827 !important;
}

.zus-total-price {
  font-size: 1.2rem !important;
  color: #111827 !important;
  font-weight: 900 !important;
}

.confirm-footer {
  padding: 12px 18px 24px !important;
  display: grid !important;
  grid-template-columns: 1fr 1.6fr !important;
  gap: 10px !important;
  background: #FFFFFF !important;
  border-top: 1px solid #F1F5F9 !important;
  flex-shrink: 0 !important;
}

.confirm-footer .secondary-action {
  background: #F1F5F9 !important;
  color: #334155 !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 14px !important;
  font-family: var(--font-display) !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  padding: 12px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.confirm-footer .secondary-action:hover {
  background: #E2E8F0 !important;
}

.confirm-footer .primary-action {
  background: linear-gradient(135deg, #6E1624 0%, #4A0E17 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 14px !important;
  font-family: var(--font-display) !important;
  font-size: 0.92rem !important;
  font-weight: 900 !important;
  padding: 12px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(110, 22, 36, 0.35) !important;
  transition: all 0.2s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
}

.confirm-footer .primary-action:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(110, 22, 36, 0.45) !important;
}

/* ════════════════════════════════════════════════════
   ZUS COFFEE-STYLE MODERN AUTH MODAL & BOTTOM SHEET
   ════════════════════════════════════════════════════ */
/* ════════════════════════════════════════════════════
   LUXURY MINIMALIST & FUTURISTIC AUTH MODAL (Centered, Glassmorphism, 3D)
   ════════════════════════════════════════════════════ */
.zus-auth-modal {
  position: fixed !important;
  inset: 0 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 999999 !important;
  padding: 16px !important;
}

.zus-auth-modal.is-visible {
  display: flex !important;
}

.zus-auth-modal .auth-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 30, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fadeIn 0.25s ease-out forwards;
}

.zus-auth-card {
  position: relative !important;
  width: 100% !important;
  max-width: 405px !important;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  color: #0F172A !important;
  border-radius: 26px !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  padding: 24px 22px 26px !important;
  box-shadow: 0 24px 60px -12px rgba(15, 23, 42, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.8) inset !important;
  animation: modalPopInCenter 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  max-height: calc(100vh - 32px) !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  z-index: 2 !important;
  box-sizing: border-box !important;
}

@keyframes modalPopInCenter {
  0% { transform: scale(0.92) translateY(12px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.zus-auth-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Cancel out of auth flow allowed anytime (Apple Guideline 5.1.1(v)) */
.auth-modal.is-mandatory .zus-auth-close,
.auth-modal.is-mandatory #authCloseBtn,
.zus-auth-modal.is-mandatory .zus-auth-close {
  display: flex !important;
}

.zus-auth-close:hover {
  background: #F1F5F9;
  color: #0F172A;
  transform: scale(1.06);
}

.zus-auth-header {
  text-align: center;
  margin-bottom: 16px;
}

.zus-logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px !important;
  height: 56px !important;
  max-width: 56px !important;
  max-height: 56px !important;
  margin: 0 auto 8px !important;
  perspective: 600px;
  flex-shrink: 0 !important;
}

.zus-logo-glow {
  position: absolute;
  inset: -6px;
  border-radius: 24px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.4) 0%, rgba(110, 22, 36, 0) 70%);
  animation: auraPulse3D 3s ease-in-out infinite alternate;
  z-index: 0;
}

.zus-auth-logo {
  width: 56px !important;
  height: 56px !important;
  max-width: 56px !important;
  max-height: 56px !important;
  object-fit: contain !important;
  border-radius: 16px;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 22px rgba(110, 22, 36, 0.24);
  animation: float3DLogo 4s ease-in-out infinite alternate;
  flex-shrink: 0 !important;
  display: block !important;
}

@keyframes float3DLogo {
  0% { transform: translateY(0px) rotateY(-4deg) rotateX(2deg); }
  100% { transform: translateY(-5px) rotateY(4deg) rotateX(-2deg); }
}

@keyframes auraPulse3D {
  0% { opacity: 0.4; transform: scale(0.95); }
  100% { opacity: 0.9; transform: scale(1.1); }
}

.zus-auth-title {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 900;
  color: #0F172A !important;
  -webkit-text-fill-color: #0F172A !important;
  margin: 0 0 3px;
  letter-spacing: -0.3px;
}

.zus-auth-subtitle {
  font-size: 0.78rem;
  color: #64748B !important;
  -webkit-text-fill-color: #64748B !important;
  font-weight: 600;
  margin: 0;
  line-height: 1.35;
}

/* Mode Switch (Sign In / Create Account) */
.zus-auth-mode-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #F1F5F9;
  padding: 3px;
  border-radius: 14px;
  margin-bottom: 14px;
  gap: 3px;
}

.zus-switch-btn {
  background: transparent;
  border: none;
  padding: 9px 12px;
  border-radius: 11px;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 800;
  color: #64748B;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.zus-switch-btn.is-active {
  background: #FFFFFF;
  color: #6E1624;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Sign in with Apple Button (Apple HIG Guideline 4.8) */
.zus-apple-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #000000;
  border: 1.5px solid #000000;
  border-radius: 14px;
  padding: 11px 18px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  color: #FFFFFF;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  margin-bottom: 8px;
}

.zus-apple-btn:hover {
  background: #1C1917;
  border-color: #1C1917;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.zus-apple-btn:active {
  transform: scale(0.99);
}

/* Google Sign-in Card Button */
.zus-google-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 11px 18px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  color: #1E293B;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.zus-google-btn:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.zus-google-btn:active {
  transform: scale(0.99);
}

.zus-google-icon {
  flex-shrink: 0;
}

/* Divider */
.zus-auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 14px 0 12px;
  color: #94A3B8;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.zus-auth-divider::before,
.zus-auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #E2E8F0;
}

.zus-auth-divider span {
  padding: 0 8px;
}

/* Method Switch (Mobile vs Email) */
.zus-method-switch {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.zus-method-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 11px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.zus-method-btn.is-active {
  background: #FEF2F2;
  border-color: #FECDD3;
  color: #6E1624;
  font-weight: 800;
}

/* Form Styles */
.zus-auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.zus-field-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

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

.zus-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: #1E293B;
}

.zus-pwd-req {
  font-size: 0.7rem;
  color: #94A3B8;
  font-weight: 600;
}

.zus-input-box {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
}

.zus-input-icon {
  position: absolute !important;
  left: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 18px !important;
  height: 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #94A3B8 !important;
  pointer-events: none !important;
  z-index: 5 !important;
  transition: color 0.2s ease !important;
}

.zus-input-box:focus-within .zus-input-icon {
  color: #6E1624 !important;
}

.zus-input-box .zus-input,
.zus-input-box input.zus-input,
.zus-input {
  width: 100% !important;
  box-sizing: border-box !important;
  background: #F8FAFC !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 14px !important;
  padding: 12px 14px 12px 52px !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  color: #0F172A !important;
  line-height: 1.4 !important;
  transition: all 0.2s ease !important;
}

.zus-input::placeholder {
  color: #94A3B8 !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
}

.zus-input:focus {
  outline: none !important;
  background: #FFFFFF !important;
  border-color: #6E1624 !important;
  box-shadow: 0 0 0 3.5px rgba(110, 22, 36, 0.1) !important;
}

/* Phone Input Wrap */
.zus-phone-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.zus-country-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #F1F5F9;
  border: 1.5px solid #CBD5E1;
  border-radius: 14px;
  padding: 12px 14px;
  flex-shrink: 0;
  font-size: 0.88rem;
}

.zus-country-badge span {
  font-size: 1rem;
  line-height: 1;
}

.zus-country-badge strong {
  color: #1E293B;
  font-weight: 800;
}

.zus-phone-input {
  padding-left: 14px !important;
  padding-right: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
}

.zus-input-hint {
  font-size: 0.7rem;
  color: #64748B;
  font-weight: 600;
}

/* Password Eye Toggle */
.zus-pwd-input {
  padding-left: 52px !important;
  padding-right: 48px !important;
}

.zus-pwd-eye {
  position: absolute !important;
  right: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: none !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  padding: 6px !important;
  color: #94A3B8 !important;
  border-radius: 8px !important;
  z-index: 5 !important;
  transition: all 0.18s ease !important;
}

.zus-pwd-eye:hover {
  color: #0F172A !important;
  transform: translateY(-50%) scale(1.08) !important;
}

/* Welcome Perk Banner */
.zus-perk-banner {
  display: flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.5) 0%, rgba(254, 249, 238, 0.95) 100%);
  border: 1px solid #FDE68A;
  border-radius: 13px;
  padding: 9px 12px;
}

.zus-perk-badge {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 3px 6px;
  border-radius: 6px;
  flex-shrink: 0;
}

.zus-perk-text {
  font-size: 0.74rem;
  color: #78350F;
  font-weight: 600;
  line-height: 1.35;
}

.zus-auth-error {
  display: none !important;
}

@keyframes shakeX {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.zus-auth-card.shake-animation {
  animation: shakeX 0.45s ease-in-out forwards !important;
}

/* Submit Action Button */
.zus-submit-btn {
  background: linear-gradient(135deg, #6E1624 0%, #8C182B 100%) !important;
  color: #FFFFFF !important;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 900;
  padding: 13px 18px;
  border: none;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(110, 22, 36, 0.32);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.2px;
}

.zus-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(110, 22, 36, 0.42);
}

.zus-submit-btn:active {
  transform: scale(0.99);
}

/* Status Icon Wrap & OTP */
.zus-status-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.zus-otp-input {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  letter-spacing: 8px;
  font-size: 1.35rem;
  font-weight: 900;
  padding: 11px;
  border: 2px solid #16A34A;
  border-radius: 14px;
  color: #0F172A;
  background: #F0FDF4;
  transition: all 0.2s ease;
}

.zus-otp-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.zus-sublink {
  background: none;
  border: none;
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748B;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.18s ease;
}

.zus-sublink:hover {
  color: #0F172A;
}

/* ════════════════════════════════════════════════════
   DYNAMIC PROMO SYSTEM STYLING
   ════════════════════════════════════════════════════ */

/* ─── Promo Code Input Section (Home Carousel) ─── */
.promo-code-input-section {
  margin: 12px 0 6px;
  padding: 0 4px;
}

.promo-code-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  border-radius: 16px;
  padding: 4px 6px 4px 14px;
  box-shadow: 0 4px 16px rgba(43, 5, 11, 0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.promo-code-input-wrap:focus-within {
  border-color: #D4AF37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2), 0 8px 24px rgba(43, 5, 11, 0.12);
}

.promo-code-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1E293B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 0;
}

.promo-code-input::placeholder {
  color: #94A3B8;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
}

.promo-code-input:focus {
  outline: none;
}

.promo-code-apply-btn {
  background: linear-gradient(135deg, #6E1624 0%, #4A0E17 100%);
  color: #FFFFFF;
  border: none;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 9px 18px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(110, 22, 36, 0.3);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.promo-code-apply-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(110, 22, 36, 0.4);
}

.promo-code-apply-btn:active {
  transform: scale(0.96);
}

.promo-code-apply-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.promo-code-feedback {
  font-size: 0.78rem;
  font-weight: 700;
  margin: 6px 0 0 8px;
  min-height: 18px;
  transition: all 0.2s ease;
}

.promo-code-feedback.is-error {
  color: #EF4444;
}

.promo-code-feedback.is-success {
  color: #10B981;
}

/* ─── Rewards Countdown Timer Badge ─── */
.my-reward-countdown {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #D97706;
  background: #FEF3C7;
  padding: 3px 8px;
  border-radius: 8px;
  margin-top: 4px;
  border: 1px solid rgba(217, 119, 6, 0.25);
  animation: pulse-countdown 2s infinite ease-in-out;
}

@keyframes pulse-countdown {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.75; }
}

.my-reward-countdown.is-expired-countdown {
  color: #94A3B8;
  background: #F1F5F9;
  border-color: #E2E8F0;
  animation: none;
}

.my-reward-card.is-expired {
  opacity: 0.55;
  filter: grayscale(0.5);
  pointer-events: none;
}

.my-reward-status-chip.is-expired {
  background: #F1F5F9;
  color: #94A3B8;
  border: 1px solid #E2E8F0;
}

/* ─── Merchant POS Promos Grid & Cards ─── */
.merchant-promos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.merchant-promo-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.merchant-promo-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: #CBD5E1;
}

.merchant-promo-card.is-inactive {
  opacity: 0.55;
  background: #F8FAFC;
  border-style: dashed;
}

.merchant-promo-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.merchant-promo-badge {
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 8px;
}

.merchant-promo-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 900;
  color: #0F172A;
}

.merchant-promo-desc {
  margin: 0;
  font-size: 0.82rem;
  color: #64748B;
  line-height: 1.4;
}

.merchant-promo-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.promo-meta-chip {
  font-size: 0.72rem;
  font-weight: 700;
  color: #334155;
  background: #F1F5F9;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #E2E8F0;
}

.promo-meta-chip.promo-code-chip {
  background: #FEF3C7;
  color: #92400E;
  border-color: #FDE68A;
  font-family: monospace;
  font-weight: 800;
}

.promo-toggle-btn {
  border: none;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.18s ease;
  background: #FEE2E2;
  color: #991B1B;
}

.promo-toggle-btn.is-on {
  background: #DCFCE7;
  color: #166534;
}

.merchant-promo-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #F1F5F9;
}

/* ─── Merchant POS Poster Grid & Cards ─── */
.merchant-poster-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.merchant-poster-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.09);
  border-color: #CBD5E1;
}

.merchant-poster-card.is-active-popup {
  border-color: #10B981;
  box-shadow: 0 0 0 2.5px rgba(16, 185, 129, 0.3), 0 8px 24px rgba(16, 185, 129, 0.12);
}

.merchant-poster-thumb-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  background: #0B0F19;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.merchant-poster-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.merchant-poster-card:hover .merchant-poster-thumb {
  transform: scale(1.03);
}

.merchant-poster-active-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #059669;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.45);
}

.merchant-poster-type-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(8px);
  color: #F8FAFC;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.merchant-poster-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.merchant-poster-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 900;
  color: #0F172A;
}

.merchant-poster-desc {
  margin: 0;
  font-size: 0.82rem;
  color: #64748B;
  line-height: 1.4;
}

.merchant-poster-action-btn-chip {
  align-self: flex-start;
  font-size: 0.74rem;
  font-weight: 800;
  background: #FFFBEB;
  color: #92400E;
  border: 1px solid #FDE68A;
  padding: 3px 10px;
  border-radius: 8px;
}

.merchant-poster-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 12px 16px;
  background: #F8FAFC;
  border-top: 1px solid #F1F5F9;
}

.btn-set-active-poster {
  width: 100%;
  background: #F1F5F9;
  color: #334155;
  border: 1px solid #CBD5E1;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-set-active-poster:hover {
  background: #6E1624;
  color: #FFFFFF;
  border-color: #6E1624;
}

/* ─── Promo Discount Value Field (Fix RM prefix text overlap) ─── */
.promo-value-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

#promoDiscountValue {
  padding-left: 56px !important;
  padding-right: 18px !important;
  font-weight: 800 !important;
  font-size: 1.15rem !important;
  letter-spacing: 0.5px;
}

#promoValuePrefix {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 900;
  color: #6E1624;
  font-size: 1.05rem;
  letter-spacing: -0.5px;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  z-index: 2;
}

#promoValueSuffix {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 900;
  color: #6E1624;
  font-size: 1.05rem;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  z-index: 2;
}

/* ════════════════════════════════════════════════════
   PROMO CELEBRATION MODAL — Full-Page with Confetti
   ════════════════════════════════════════════════════ */
#promoCelebrationModal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1000000 !important;
  display: none;
}
#promoCelebrationModal.is-visible {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.celebrate-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(10, 12, 28, 0.82) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  z-index: 1 !important;
  animation: fadeIn 0.3s ease-out forwards !important;
}

.celebrate-confetti-canvas {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
}

.celebrate-card {
  position: relative !important;
  z-index: 3 !important;
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-radius: 28px !important;
  width: calc(100% - 32px) !important;
  max-width: 400px !important;
  padding: 0 !important;
  box-shadow:
    0 32px 80px -12px rgba(110, 22, 36, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset,
    0 0 100px rgba(212, 175, 55, 0.15) !important;
  overflow: hidden !important;
  animation: celebrateCardIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

@keyframes celebrateCardIn {
  0% { transform: scale(0.7) translateY(40px); opacity: 0; }
  60% { transform: scale(1.03) translateY(-4px); opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.celebrate-banner {
  background: linear-gradient(135deg, #6E1624 0%, #4A0E17 60%, #2D080E 100%) !important;
  padding: 32px 24px 28px !important;
  text-align: center !important;
  position: relative !important;
  overflow: hidden !important;
}

.celebrate-banner::before {
  content: "" !important;
  position: absolute !important;
  top: -40px !important;
  left: -40px !important;
  width: 140px !important;
  height: 140px !important;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%) !important;
  border-radius: 50% !important;
  animation: celebrateGlow 3s ease-in-out infinite alternate !important;
}

.celebrate-banner::after {
  content: "" !important;
  position: absolute !important;
  bottom: -30px !important;
  right: -30px !important;
  width: 120px !important;
  height: 120px !important;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%) !important;
  border-radius: 50% !important;
}

@keyframes celebrateGlow {
  0% { opacity: 0.5; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1.2); }
}

.celebrate-emoji {
  font-size: 3.2rem !important;
  line-height: 1 !important;
  margin-bottom: 12px !important;
  display: block !important;
  animation: celebrateEmojiBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both !important;
}

@keyframes celebrateEmojiBounce {
  0% { transform: scale(0) rotate(-20deg); opacity: 0; }
  60% { transform: scale(1.3) rotate(5deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.celebrate-banner-title {
  font-family: var(--font-display) !important;
  font-size: 1.1rem !important;
  font-weight: 900 !important;
  color: rgba(255, 255, 255, 0.92) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  margin: 0 !important;
  animation: celebrateFadeUp 0.5s ease-out 0.35s both !important;
}

@keyframes celebrateFadeUp {
  0% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.celebrate-body {
  padding: 24px 22px 8px !important;
  text-align: center !important;
}

.celebrate-promo-title {
  font-family: var(--font-display) !important;
  font-size: 1.45rem !important;
  font-weight: 900 !important;
  color: #111827 !important;
  margin: 0 0 6px !important;
  letter-spacing: -0.02em !important;
  line-height: 1.2 !important;
  animation: celebrateFadeUp 0.5s ease-out 0.45s both !important;
}

.celebrate-promo-desc {
  font-size: 0.86rem !important;
  color: #475569 !important;
  font-weight: 600 !important;
  margin: 0 0 16px !important;
  line-height: 1.5 !important;
  animation: celebrateFadeUp 0.5s ease-out 0.55s both !important;
}

.celebrate-discount-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 8px 18px !important;
  border-radius: 99px !important;
  font-family: var(--font-display) !important;
  font-size: 0.9rem !important;
  font-weight: 900 !important;
  margin-bottom: 6px !important;
  animation: celebrateBadgePop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.65s both !important;
}

@keyframes celebrateBadgePop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

.celebrate-discount-badge.type-fixed {
  background: linear-gradient(135deg, #FEF3C7, #FFFBEB) !important;
  color: #92400E !important;
  border: 1.5px solid #FDE68A !important;
  box-shadow: 0 2px 12px rgba(212, 175, 55, 0.18) !important;
}

.celebrate-discount-badge.type-percent {
  background: linear-gradient(135deg, #DBEAFE, #EFF6FF) !important;
  color: #1E40AF !important;
  border: 1.5px solid #93C5FD !important;
  box-shadow: 0 2px 12px rgba(59, 130, 246, 0.15) !important;
}

.celebrate-discount-badge.type-free {
  background: linear-gradient(135deg, #D1FAE5, #ECFDF5) !important;
  color: #065F46 !important;
  border: 1.5px solid #6EE7B7 !important;
  box-shadow: 0 2px 12px rgba(16, 185, 129, 0.18) !important;
}

.celebrate-discount-badge.type-amount {
  background: linear-gradient(135deg, #FCE7F3, #FDF2F8) !important;
  color: #9D174D !important;
  border: 1.5px solid #F9A8D4 !important;
  box-shadow: 0 2px 12px rgba(236, 72, 153, 0.15) !important;
}

.celebrate-footer {
  padding: 8px 22px 26px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  animation: celebrateFadeUp 0.5s ease-out 0.75s both !important;
}

.celebrate-use-now-btn {
  width: 100% !important;
  padding: 14px !important;
  border: none !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #6E1624 0%, #4A0E17 100%) !important;
  color: #FFFFFF !important;
  font-family: var(--font-display) !important;
  font-size: 0.95rem !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  box-shadow: 0 6px 20px rgba(110, 22, 36, 0.35) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

.celebrate-use-now-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 28px rgba(110, 22, 36, 0.45) !important;
}

.celebrate-use-now-btn:active {
  transform: translateY(0) scale(0.98) !important;
}

.celebrate-use-later-btn {
  width: 100% !important;
  padding: 12px !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 14px !important;
  background: #F8FAFC !important;
  color: #475569 !important;
  font-family: var(--font-display) !important;
  font-size: 0.86rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.celebrate-use-later-btn:hover {
  background: #F1F5F9 !important;
  border-color: #CBD5E1 !important;
  color: #334155 !important;
}

.celebrate-saved-toast {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1000001 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
  background: rgba(10, 12, 28, 0.6) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  animation: fadeIn 0.25s ease-out forwards !important;
}

.celebrate-saved-card {
  background: #FFFFFF !important;
  border-radius: 22px !important;
  padding: 28px 28px 24px !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2) !important;
  border: 1.5px solid #E2E8F0 !important;
  text-align: center !important;
  max-width: 340px !important;
  width: 100% !important;
  animation: celebrateCardIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.celebrate-saved-emoji {
  font-size: 2.4rem !important;
  display: block !important;
  margin-bottom: 10px !important;
}

.celebrate-saved-title {
  font-family: var(--font-display) !important;
  font-size: 1.1rem !important;
  font-weight: 900 !important;
  color: #111827 !important;
  margin: 0 0 4px !important;
}

.celebrate-saved-sub {
  font-size: 0.82rem !important;
  color: #64748B !important;
  font-weight: 600 !important;
  margin: 0 0 16px !important;
  line-height: 1.45 !important;
}

.celebrate-saved-btn-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.celebrate-saved-rewards-btn {
  background: linear-gradient(135deg, #6E1624, #4A0E17) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 11px 24px !important;
  font-family: var(--font-display) !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 14px rgba(110, 22, 36, 0.3) !important;
}

.celebrate-saved-rewards-btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(110, 22, 36, 0.4) !important;
}

.celebrate-saved-ok-btn {
  background: #F1F5F9 !important;
  color: #475569 !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 12px !important;
  padding: 9px 24px !important;
  font-family: var(--font-display) !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.celebrate-saved-ok-btn:hover {
  background: #E2E8F0 !important;
  color: #1E293B !important;
}

@keyframes celebrateSavedFadeOut {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.92); }
}

/* ════════════════════════════════════════════════════
   LOUD & CLEAR INCOMING ORDER VISUAL ALERT
   ════════════════════════════════════════════════════ */
@keyframes merchantScreenFlashGlow {
  0% {
    box-shadow: inset 0 0 0 5px #10B981, 0 0 35px rgba(16, 185, 129, 0.45);
  }
  50% {
    box-shadow: inset 0 0 0 8px #F59E0B, 0 0 60px rgba(245, 158, 11, 0.65);
  }
  100% {
    box-shadow: inset 0 0 0 5px #10B981, 0 0 35px rgba(16, 185, 129, 0.45);
  }
}

body.merchant-new-order-flashing {
  animation: merchantScreenFlashGlow 0.65s ease-in-out 4 !important;
}

/* ════════════════════════════════════════════════════
   DAILY PROMO POSTER MODAL (Non-fullpage Floating Card)
   ════════════════════════════════════════════════════ */
.daily-poster-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top, 16px)) 16px max(16px, env(safe-area-inset-bottom, 16px));
  box-sizing: border-box;
}

.daily-poster-modal.is-visible {
  display: flex !important;
}

.daily-poster-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: posterFadeIn 0.28s ease-out;
}

.daily-poster-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  max-height: min(86vh, 660px);
  display: flex;
  flex-direction: column;
  background: #111827;
  border-radius: 26px;
  box-shadow: 0 25px 65px -10px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.16);
  overflow: hidden;
  z-index: 2;
  margin: auto;
  animation: posterCardPop 0.34s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

@keyframes posterCardPop {
  0% {
    opacity: 0;
    transform: scale(0.86) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Close button on Top Right Corner */
.daily-poster-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.82);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  line-height: 1;
  padding: 0;
}

.daily-poster-close-btn:hover,
.daily-poster-close-btn:active {
  transform: scale(1.12);
  background: rgba(225, 29, 72, 0.95);
  border-color: #FFFFFF;
}

/* Poster Image Area */
.daily-poster-media {
  position: relative;
  width: 100%;
  max-height: calc(min(86vh, 660px) - 86px);
  overflow: hidden;
  background: #0B0F19;
  display: flex;
  align-items: center;
  justify-content: center;
}

.daily-poster-img {
  width: 100%;
  height: 100%;
  max-height: calc(min(86vh, 660px) - 86px);
  object-fit: contain;
  display: block;
}

/* Bottom Actions & Details Bar */
.daily-poster-footer {
  padding: 14px 18px 16px;
  background: linear-gradient(180deg, #182032 0%, #0F172A 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.daily-poster-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.daily-poster-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.daily-poster-title {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.daily-poster-badge {
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 99px;
  background: linear-gradient(135deg, #10B981, #059669);
  color: #FFFFFF;
  flex-shrink: 0;
}

.daily-poster-desc {
  margin: 0;
  font-size: 0.78rem;
  color: #94A3B8;
  line-height: 1.35;
  font-weight: 500;
}

.daily-poster-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.daily-poster-action-btn {
  width: 100%;
  background: linear-gradient(135deg, #E6A756 0%, #C48232 100%);
  color: #1A0E03;
  border: none;
  border-radius: 14px;
  padding: 12px 18px;
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 20px -4px rgba(230, 167, 86, 0.45);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.daily-poster-action-btn:hover,
.daily-poster-action-btn:active {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.daily-poster-dismiss-text {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  padding: 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.daily-poster-dismiss-text:hover {
  color: #FFFFFF;
}

/* ─── Merchant Poster Settings Components ─── */
.switch-toggle {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}

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

.switch-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #CBD5E1;
  border-radius: 34px;
  transition: all 0.25s ease;
}

.switch-slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background-color: #FFFFFF;
  border-radius: 50%;
  transition: all 0.25s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.switch-toggle input:checked + .switch-slider {
  background-color: #10B981;
}

.switch-toggle input:checked + .switch-slider:before {
  transform: translateX(24px);
}

.preset-badge-btn {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #334155;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}

.preset-badge-btn:hover {
  background: #E2E8F0;
  border-color: #94A3B8;
  color: #0F172A;
}

.preset-badge-btn.is-selected {
  background: #FEF3C7;
  border-color: #F59E0B;
  color: #92400E;
}

@media (max-width: 900px) {
  .poster-settings-container {
    grid-template-columns: 1fr !important;
  }
}

/* ════════════════════════════════════════════════════
   REFERRAL SYSTEM STYLES
   ════════════════════════════════════════════════════ */
.landing-referral-banner {
  background: linear-gradient(135deg, rgba(110, 22, 36, 0.95) 0%, rgba(140, 24, 43, 0.95) 100%);
  border-bottom: 1.5px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  padding: 10px 16px;
  position: relative;
  z-index: 99;
  animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.landing-referral-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  text-align: center;
}

.landing-referral-badge {
  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 100%);
  color: #78350F;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 99px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.landing-referral-text {
  color: #FFFFFF;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
}

.landing-referral-text strong {
  color: #FDE68A;
  font-family: monospace;
  font-size: 0.96rem;
  letter-spacing: 1px;
}

.landing-referral-cta {
  background: #FFFFFF;
  color: #6E1624;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 5px 14px;
  border-radius: 99px;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}

.landing-referral-cta:hover {
  transform: scale(1.05);
}

.referral-copy-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.referral-copy-btn:active {
  transform: scale(0.96);
}

/* ════════════════════════════════════════════════════
   ROEYALS PUSH NOTIFICATIONS & REALTIME ALERTS SYSTEM
   ════════════════════════════════════════════════════ */

/* Universal In-App Floating Push Notification Banner */
.roeyals-push-banner {
  position: fixed !important;
  top: calc(env(safe-area-inset-top, 20px) + 12px) !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(-140%) !important;
  width: min(calc(100vw - 24px), 440px) !important;
  background: rgba(15, 23, 42, 0.96) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1.5px solid rgba(212, 175, 55, 0.45) !important;
  border-radius: 20px !important;
  padding: 12px 16px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 24px rgba(212, 175, 55, 0.2) !important;
  z-index: 999999999 !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.roeyals-push-banner.is-visible {
  transform: translateX(-50%) translateY(0) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.roeyals-push-banner.is-order-ready {
  border-color: rgba(34, 197, 94, 0.6) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 24px rgba(34, 197, 94, 0.3) !important;
}

.roeyals-push-banner.is-new-order {
  border-color: rgba(245, 158, 11, 0.65) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 24px rgba(245, 158, 11, 0.3) !important;
}

.push-banner-icon-wrap {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  overflow: hidden;
}

.push-banner-content {
  flex: 1;
  min-width: 0;
}

.push-banner-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.push-banner-source {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #D4AF37;
}

.push-banner-time {
  font-size: 0.68rem;
  color: #94A3B8;
  font-weight: 600;
}

.push-banner-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 2px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.push-banner-body {
  font-size: 0.78rem;
  color: #CBD5E1;
  margin: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.push-banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.push-banner-action-btn {
  background: linear-gradient(135deg, #D4AF37, #B8860B);
  color: #1A130B;
  border: none;
  border-radius: 10px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease;
}

.push-banner-action-btn:hover {
  transform: scale(1.04);
}

.push-banner-close-btn {
  background: none;
  border: none;
  color: #94A3B8;
  font-size: 1rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

/* Notification Bell Button & Badge in Navbars */
.notif-bell-btn {
  position: relative;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.notif-bell-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.notif-badge-pill {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #EF4444;
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 2px 5px;
  border-radius: 99px;
  min-width: 18px;
  text-align: center;
  border: 2px solid #0F172A;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.5);
  animation: pulseBadge 1.5s infinite;
}

@keyframes pulseBadge {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* Customer Notification Center Modal */
.notif-modal-card {
  max-width: 440px !important;
  width: 92% !important;
  background: #FFFFFF !important;
  border-radius: 24px !important;
  padding: 20px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35) !important;
  color: #0F172A !important;
}

.notif-list-container {
  max-height: 380px;
  overflow-y: auto;
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notif-card-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  transition: all 0.18s ease;
  cursor: pointer;
}

.notif-card-item:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
}

.notif-card-item.is-unread {
  background: #EFF6FF;
  border-color: #BFDBFE;
}

.notif-item-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.notif-item-content {
  flex: 1;
  min-width: 0;
}

.notif-item-title {
  font-size: 0.84rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 3px;
}

.notif-item-msg {
  font-size: 0.76rem;
  color: #475569;
  margin: 0 0 4px;
  line-height: 1.35;
}

.notif-item-time {
  font-size: 0.68rem;
  color: #94A3B8;
  font-weight: 600;
}

/* Merchant Broadcast Composer Pane */
.broadcast-composer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
}

@media (max-width: 900px) {
  .broadcast-composer-grid {
    grid-template-columns: 1fr;
  }
}

.broadcast-preset-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.preset-chip {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #334155;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.preset-chip:hover {
  background: #6E1624;
  color: #FFFFFF;
  border-color: #6E1624;
}

/* Phone Mockup Preview for Push Notification */
.phone-notif-mockup {
  background: #000000;
  border-radius: 28px;
  padding: 16px 14px;
  border: 4px solid #1E293B;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  color: #FFFFFF;
}

.phone-mockup-lockscreen {
  background: linear-gradient(180deg, #1E1B4B 0%, #0F172A 100%);
  border-radius: 20px;
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.phone-lockscreen-time {
  text-align: center;
}

.phone-lockscreen-time h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
}

.phone-lockscreen-time p {
  font-size: 0.72rem;
  color: #94A3B8;
  margin: 2px 0 0;
}

.phone-lockscreen-card {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  padding: 10px 12px;
}

.lockscreen-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.lockscreen-card-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 2px;
}

.lockscreen-card-body {
  font-size: 0.72rem;
  color: #E2E8F0;
  margin: 0;
  line-height: 1.35;
}

/* Order Ready Celebration Modal */
.order-ready-modal-card {
  text-align: center;
  background: #FFFFFF !important;
  color: #0F172A !important;
  border-radius: 28px !important;
  padding: 28px 20px !important;
  max-width: 380px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4) !important;
}

.order-ready-badge-ring {
  width: 80px;
  height: 80px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10B981, #059669);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
  animation: bounceRing 1.6s infinite ease-in-out;
}

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

.pickup-code-display-box {
  background: #F8FAFC;
  border: 2px dashed #10B981;
  border-radius: 14px;
  padding: 12px;
  margin: 14px 0;
}

.pickup-code-large {
  font-size: 1.8rem;
  font-weight: 900;
  color: #0F172A;
  letter-spacing: 0.05em;
  font-family: monospace;
}

/* ════════════════════════════════════════════════════
   ORDER MODIFIER BADGES (Clean & Legible)
   ════════════════════════════════════════════════════ */
.order-mod-badges-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 5px;
  align-items: center;
}

.order-mod-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 7px;
  letter-spacing: 0.2px;
  line-height: 1.3;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.order-mod-badge.mod-ice {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
}

.order-mod-badge.mod-hot {
  background: #FFF7ED;
  color: #C2410C;
  border: 1px solid #FED7AA;
}

.order-mod-badge.mod-sweet {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
}

.order-mod-badge.mod-size {
  background: #F1F5F9;
  color: #334155;
  border: 1px solid #CBD5E1;
}

.order-mod-badge.mod-milk {
  background: #F3E8FF;
  color: #6B21A8;
  border: 1px solid #DDD6FE;
}

.order-mod-badge.mod-addon {
  background: #FDF2F8;
  color: #9D174D;
  border: 1px solid #FBCFE8;
}

.order-mod-badge.mod-standard {
  background: #F8FAFC;
  color: #64748B;
  border: 1px solid #E2E8F0;
}














