/* =====================================================================
   riSofly Digital Store — Claude Warm Aesthetic (Peach & White Theme)
   Inspired by Claude AI: Warm alabaster paper, terracotta peach & coral,
   pure crisp white surfaces, refined typography, and smooth UX/UI.
   ===================================================================== */

:root {
  /* Warm Paper & Surface Backgrounds */
  --bg-deep: #FAF8F5;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --bg-modal: #FFFFFF;
  --bg-subtle: #F5F1EB;
  --bg-peach-tint: #FDF3EE;
  --bg-peach-light: #FAECE4;

  /* Claude Brand Terracotta Peach & Corals */
  --claude-peach: #D97757;
  --claude-peach-hover: #C66343;
  --claude-peach-glow: rgba(217, 119, 87, 0.22);
  --claude-peach-subtle: rgba(217, 119, 87, 0.10);
  --claude-coral: #E07A5F;
  --claude-coral-glow: rgba(224, 122, 95, 0.20);
  
  /* Legacy mapping variables mapped to Claude Warm Palette */
  --neon-cyan: #D97757;
  --neon-cyan-glow: rgba(217, 119, 87, 0.22);
  --neon-cyan-subtle: rgba(217, 119, 87, 0.10);
  
  --neon-magenta: #E07A5F;
  --neon-magenta-glow: rgba(224, 122, 95, 0.20);
  --neon-magenta-subtle: rgba(224, 122, 95, 0.10);

  /* Sophisticated Status Colors */
  --neon-green: #2D6A4F;
  --neon-green-glow: rgba(45, 106, 79, 0.20);
  --sage-bg: #EDF7F2;

  /* Typography: Claude Warm Charcoal & Slate */
  --text-main: #1F1E1D;
  --text-muted: #68625D;
  --text-dim: #948C84;

  /* Soft Warm Dividers & Borders */
  --border-subtle: #E8E2D9;
  --border-active: #D97757;
  --border-magenta: rgba(224, 122, 95, 0.35);
  --border-hover: #D5CEC5;

  /* Clean Modern Editorial Typography */
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Smooth Claude Shadows */
  --shadow-sm: 0 1px 3px rgba(45, 30, 20, 0.04), 0 1px 2px rgba(45, 30, 20, 0.02);
  --shadow-md: 0 4px 14px rgba(45, 30, 20, 0.06), 0 1px 3px rgba(45, 30, 20, 0.03);
  --shadow-lg: 0 10px 30px rgba(45, 30, 20, 0.08), 0 2px 8px rgba(45, 30, 20, 0.04);
  --shadow-peach: 0 4px 16px rgba(217, 119, 87, 0.22);
}

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

html, body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  -webkit-touch-callout: none !important;
  -webkit-user-select: none;
  user-select: none;
}

/* Allow text selection only on inputs, fields, and credentials */
input, textarea, [contenteditable="true"], .font-mono, .order-code-text, .delivery-field-value, .delivery-url-snippet {
  -webkit-user-select: text !important;
  user-select: text !important;
}

img {
  -webkit-user-drag: none;
  user-drag: none;
}

/* Claude ambient warm background lighting */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(140px);
  z-index: 0;
}

.glow-cyan {
  width: 380px;
  height: 380px;
  background: rgba(217, 119, 87, 0.08);
  top: -100px;
  left: -80px;
}

.glow-magenta {
  width: 420px;
  height: 420px;
  background: rgba(244, 215, 195, 0.45);
  bottom: 12%;
  right: -100px;
}

/* ==========================================
   TOP STICKY HEADER (CLEAN MODERN TECH BAR)
   ========================================== */
.cyber-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 6px 10px;
  box-shadow: 0 1px 4px rgba(45, 30, 20, 0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

/* User Profile Capsule (Squircle Avatar + Name + Balance) */
.user-chip-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  cursor: pointer;
  padding: 2px 8px 2px 2px;
  border-radius: 20px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.user-chip-wrap:hover {
  background: #FFFFFF;
  border-color: var(--claude-peach);
  box-shadow: 0 2px 8px rgba(217, 119, 87, 0.15);
}

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

.user-avatar-squircle {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--claude-coral) 0%, var(--claude-peach) 100%);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(217, 119, 87, 0.3);
  flex-shrink: 0;
}

.avatar-letter {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
}

.user-status-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon-green);
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 4px rgba(45, 106, 79, 0.4);
}

.user-chip-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  gap: 1px;
}

.user-chip-name-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.user-chip-name {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60px;
  line-height: 1.15;
}

.user-chip-balance-row {
  display: flex;
  align-items: center;
  gap: 3px;
}

.user-chip-balance {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  color: var(--claude-peach);
  line-height: 1.15;
  white-space: nowrap;
}

/* Header Action Controls */
.header-actions-wrap {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.topup-btn-mini {
  background: linear-gradient(135deg, var(--claude-coral) 0%, var(--claude-peach) 100%);
  border: none;
  color: #FFFFFF;
  border-radius: 14px;
  padding: 4px 10px;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: all 0.2s ease;
  line-height: 1.15;
  font-family: var(--font-heading);
  letter-spacing: 0.2px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(217, 119, 87, 0.25);
}

.topup-btn-mini:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(217, 119, 87, 0.35);
}

.topup-btn-mini:active {
  transform: scale(0.95);
}

/* Hidden channel and referral buttons per user request */
.header-channel-pill,
#headerChannelBtn,
.cyber-btn-ref,
#headerRefBtn {
  display: none !important;
}

.cyber-btn-lang {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 4px 8px;
  border-radius: 14px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: all 0.2s ease;
  font-family: var(--font-heading);
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.cyber-btn-lang:hover {
  border-color: var(--claude-peach);
  color: var(--claude-peach);
}

.cyber-btn-lang:active {
  transform: scale(0.96);
  background: var(--bg-peach-tint);
}

.cyber-btn-admin {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 4px 8px;
  border-radius: 14px;
  font-size: 9.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  flex-shrink: 0;
}

.cyber-btn-admin:hover {
  border-color: var(--claude-peach);
  color: var(--claude-peach);
}

.channel-btn-text, .ref-btn-text {
  display: none;
}

@media (min-width: 600px) {
  .channel-btn-text, .ref-btn-text {
    display: inline;
  }
}

@media (max-width: 480px) {
  #currencyToggleBtn {
    display: none !important;
  }
}

@media (max-width: 375px) {
  .cyber-header {
    padding: 6px 8px;
  }
  .header-inner {
    gap: 6px;
  }
  .user-chip-wrap {
    padding: 2px 6px 2px 2px;
    gap: 5px;
  }
  .user-chip-name {
    max-width: 50px;
    font-size: 10px;
  }
  .user-chip-balance {
    font-size: 11.5px;
  }
  .topup-btn-mini, .cyber-btn-admin, .cyber-btn-ref, .cyber-btn-lang {
    padding: 4px 6px;
    font-size: 10px;
  }
}

@media (max-width: 340px) {
  .user-chip-name-row {
    display: none;
  }
}

/* ==========================================
   MAIN CONTENT CONTAINER
   ========================================== */
.main-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 12px 14px calc(110px + env(safe-area-inset-bottom, 0px));
}

/* ==========================================
   MARKETPLACE HERO SHOWCASE
   ========================================== */
.marketplace-hero-section {
  text-align: center;
  padding: 8px 4px 10px;
  position: relative;
}

.hero-eyebrow-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.hero-dash {
  color: var(--claude-peach);
  font-weight: 700;
  opacity: 0.8;
}

.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--claude-peach);
  text-transform: uppercase;
}

.hero-headline-kh {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}

.hero-subline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 16px;
}

.subline-item {
  color: var(--text-muted);
}

.subline-dot {
  color: var(--claude-coral);
  font-size: 10px;
}

/* Quick Brand Shortcut Launcher */
.brand-launcher-row {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 6px 12px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  justify-content: space-evenly;
}

@media (min-width: 540px) {
  .brand-launcher-row {
    justify-content: center;
    gap: 16px;
  }
}

.brand-launcher-row::-webkit-scrollbar {
  display: none;
}

.brand-chip {
  flex-shrink: 0;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
}

.brand-chip:active {
  transform: scale(0.92);
}

.brand-squircle {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(45, 30, 20, 0.05), 0 1px 2px rgba(45, 30, 20, 0.03);
  transition: all 0.22s ease;
}

.brand-free-tag {
  position: absolute;
  top: -4px;
  right: -3px;
  background: linear-gradient(135deg, var(--claude-coral), var(--claude-peach));
  color: #FFFFFF;
  font-size: 8px;
  font-weight: 800;
  padding: 1.5px 5px;
  border-radius: 6px;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(217, 119, 87, 0.35);
  letter-spacing: 0.3px;
  pointer-events: none;
  z-index: 2;
}

.brand-chip:hover .brand-squircle,
.brand-chip:active .brand-squircle {
  border-color: var(--claude-peach);
  box-shadow: 0 4px 14px rgba(217, 119, 87, 0.2), 0 2px 6px rgba(45, 30, 20, 0.04);
  transform: translateY(-2px);
}

.brand-svg-logo {
  display: block;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-chip:hover .brand-svg-logo,
.brand-chip:active .brand-svg-logo {
  transform: scale(1.1);
}

.brand-name {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--text-main);
  font-family: var(--font-heading);
  transition: color 0.2s ease;
}

.brand-chip:hover .brand-name,
.brand-chip:active .brand-name {
  color: var(--claude-peach);
}

/* ========================================================
   SUBTLE FLOATING CLAUDE AGENTS PIXEL MASCOT / PET
   ======================================================== */
.claude-floating-pet {
  position: fixed;
  bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  right: 12px;
  z-index: 98;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
}

.claude-floating-pet.hidden-pet {
  opacity: 0;
  transform: scale(0.5);
  pointer-events: none;
}

/* Mascot Stage Card */
.pet-stage-card {
  position: relative;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(217, 119, 87, 0.32);
  border-radius: 16px;
  padding: 4px 8px 3px 8px;
  box-shadow: 0 6px 20px rgba(45, 30, 20, 0.08), 0 0 12px rgba(217, 119, 87, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: petFloat 2.6s ease-in-out infinite alternate;
}

.pet-sprites-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

/* Each Mascot Unit - all 3 always displayed */
.pet-mascot-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  position: relative;
  transition: transform 0.18s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pet-mascot-unit:hover {
  transform: scale(1.15) translateY(-3px);
}

.pet-mascot-unit:active {
  transform: scale(0.92);
}

/* Jump Animation on Tap */
.pet-mascot-unit.jumping {
  animation: petUnitJump 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes petUnitJump {
  0% { transform: scale(1) translateY(0); }
  40% { transform: scale(1.2) translateY(-10px) rotate(3deg); }
  70% { transform: scale(0.95) translateY(2px) rotate(-2deg); }
  100% { transform: scale(1) translateY(0); }
}

.pet-unit-sprite-box {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 40px;
  height: 38px;
}

.pet-sprite-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: pixelated;
  pointer-events: none;
}

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

/* Mini Floating Sparkle Particles */
.pet-sparkle-fly {
  position: absolute;
  pointer-events: none;
  font-size: 11px;
  line-height: 1;
  z-index: 100;
  animation: petSparkleFly 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes petSparkleFly {
  0% { transform: translate(0, 0) scale(0.5); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(1.3); opacity: 0; }
}

/* Mini Speech Bubble */
.pet-speech-bubble {
  position: absolute;
  bottom: calc(100% + 6px);
  right: 0;
  background: #FFFFFF;
  border: 1px solid rgba(217, 119, 87, 0.35);
  border-radius: 12px;
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(45, 30, 20, 0.1), 0 0 8px rgba(217, 119, 87, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  animation: bubblePop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 101;
}

@keyframes bubblePop {
  0% { transform: scale(0.5) translateY(6px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.pet-speech-bubble .bubble-spark {
  font-size: 10px;
}

/* Dismiss 'x' Button */

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

/* Mini Floating Sparkle Particles */
.pet-sparkle-fly {
  position: absolute;
  pointer-events: none;
  font-size: 11px;
  line-height: 1;
  z-index: 100;
  animation: petSparkleFly 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes petSparkleFly {
  0% { transform: translate(0, 0) scale(0.5); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(1.3); opacity: 0; }
}

/* Mini Speech Bubble */
.pet-speech-bubble {
  position: absolute;
  bottom: calc(100% + 6px);
  right: 0;
  background: rgba(14, 7, 36, 0.94);
  border: 1px solid rgba(217, 119, 87, 0.45);
  border-radius: 12px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 0 8px rgba(217, 119, 87, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  animation: bubblePop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 101;
}

@keyframes bubblePop {
  0% { transform: scale(0.5) translateY(6px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.pet-speech-bubble .bubble-spark {
  font-size: 10px;
}

/* Dismiss 'x' Button */
.pet-dismiss-btn {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(14, 7, 36, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #bbb;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  opacity: 0.6;
  transition: opacity 0.2s ease, transform 0.15s ease;
  z-index: 102;
}

.pet-dismiss-btn:hover,
.pet-dismiss-btn:active {
  opacity: 1;
  color: #fff;
  transform: scale(1.15);
  border-color: #ff9d7d;
}

.claude-floating-pet.hidden-pet {
  opacity: 0;
  transform: scale(0.5);
  pointer-events: none;
}

/* Dual Hero Quick-Category Cards (Hidden per user request) */
.hero-quick-cards-grid {
  display: none !important;
}

.hero-quick-card {
  background: rgba(16, 10, 38, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.18);
  border-radius: 16px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

.hero-quick-card:active {
  transform: scale(0.96);
}

.hero-quick-card.active {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.18) 0%, rgba(224, 36, 195, 0.18) 100%);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 18px var(--neon-cyan-glow);
}

.hero-card-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.hero-card-icon-box.cyan {
  background: radial-gradient(circle, rgba(0, 240, 255, 0.25) 0%, rgba(10, 5, 25, 0.8) 100%);
  border-color: rgba(0, 240, 255, 0.4);
  color: var(--neon-cyan);
}

.hero-card-icon-box.magenta {
  background: radial-gradient(circle, rgba(224, 36, 195, 0.25) 0%, rgba(10, 5, 25, 0.8) 100%);
  border-color: rgba(224, 36, 195, 0.4);
  color: #ff77eb;
}

.hero-card-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.hero-card-title {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

.hero-card-subtitle {
  font-size: 10px;
  font-weight: 600;
  color: #38bdf8;
  margin-top: 2px;
  font-family: var(--font-body);
}

.hero-card-arrow {
  color: var(--text-dim);
  font-size: 13px;
  transition: all 0.2s ease;
  margin-left: auto;
}

.hero-quick-card.active .hero-card-arrow {
  color: var(--neon-cyan);
  transform: translateX(2px);
}

/* Trust / Value Features Strip */
.trust-feature-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
  margin-bottom: 14px;
}

.trust-badge {
  background: rgba(16, 10, 36, 0.75);
  border: 1px solid rgba(0, 240, 255, 0.18);
  border-radius: 12px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(8px);
}

.trust-icon {
  font-size: 12px;
}

/* Catalog Section Header */
.catalog-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 0 4px;
}

.catalog-eyebrow {
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--neon-cyan);
  text-transform: uppercase;
  display: block;
  margin-bottom: 3px;
}

.catalog-title-kh {
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.catalog-count-pill {
  font-size: 11px;
  font-weight: 600;
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.2);
  padding: 3px 10px;
  border-radius: 12px;
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.count-pulse {
  font-size: 8px;
  color: var(--neon-green);
  animation: pulse-glow 1.5s infinite;
}

.promo-desc b {
  color: #fff;
}

.promo-cta-btn {
  flex-shrink: 0;
  background: var(--neon-magenta);
  color: #fff;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 18px;
  box-shadow: 0 0 10px var(--neon-magenta-glow);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.promo-cta-btn:active {
  transform: scale(0.95);
}

/* ==========================================
   CONTROLS & SEARCH
   ========================================== */
.controls-section {
  margin-bottom: 16px;
}

.search-row-container {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.search-row-container .search-wrap {
  flex: 1;
  margin-bottom: 0;
  position: relative;
}

.search-row-container .catalog-count-pill {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 7px 12px;
  border-radius: 16px;
  background: var(--bg-peach-tint);
  border: 1px solid rgba(217, 119, 87, 0.25);
  color: var(--claude-peach);
  font-weight: 700;
  font-size: 11px;
}

.search-icon-svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
  transition: color 0.2s ease;
}

.search-wrap:focus-within .search-icon-svg {
  color: var(--claude-peach);
}

.search-wrap {
  position: relative;
  margin-bottom: 12px;
}

.cyber-input {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 10px 16px 10px 38px;
  color: var(--text-main);
  font-size: 13px;
  outline: none;
  transition: all 0.2s ease;
  font-family: var(--font-body);
  box-shadow: var(--shadow-sm);
}

.search-wrap .cyber-input {
  padding-left: 38px !important;
  padding-right: 38px !important;
}

.cyber-input:focus {
  border-color: var(--claude-peach);
  box-shadow: 0 0 0 3px rgba(217, 119, 87, 0.15);
  background: #FFFFFF;
}

.clear-search-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 14px;
  cursor: pointer;
  padding: 4px;
}

.categories-bar {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 0 2px 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10px, black calc(100% - 10px), transparent);
  mask-image: linear-gradient(to right, transparent, black 10px, black calc(100% - 10px), transparent);
}

.categories-bar::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  flex-shrink: 0;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  border-radius: 16px;
  padding: 7px 14px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.22s ease;
  box-shadow: var(--shadow-sm);
}

.cat-pill .cat-icon {
  font-size: 13px;
  color: var(--claude-peach);
  transition: transform 0.2s ease;
}

.cat-pill:hover {
  border-color: var(--claude-peach);
  color: var(--claude-peach);
}

.cat-pill.active {
  background: linear-gradient(135deg, var(--claude-coral) 0%, var(--claude-peach) 100%);
  border-color: var(--claude-peach);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(217, 119, 87, 0.25);
}

.cat-pill.active .cat-icon {
  color: #FFFFFF;
  filter: none;
  transform: scale(1.1);
}

.cat-pill:active {
  transform: scale(0.95);
}

.results-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  font-size: 11px;
  color: var(--text-dim);
}

.results-count {
  font-weight: 600;
  color: var(--neon-cyan);
}

.results-tag {
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================
   PRODUCT GRID & NEW LUXURY CARDS
   ========================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
}

@media (min-width: 680px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

@media (min-width: 1080px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

/* Shimmer Skeleton Cards */
.skeleton-card {
  background: #FFFFFF;
  border: 1px solid #ECE7E1;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 285px;
  position: relative;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

.skeleton-header {
  height: 28px;
  background: transparent;
  border-bottom: none;
  padding: 10px 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.skeleton-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.skeleton-line {
  background: linear-gradient(90deg, #F5F1EB 25%, #FAECE4 50%, #F5F1EB 75%);
  background-size: 200% 100%;
  animation: skel-shimmer 1.6s infinite ease-in-out;
  border-radius: 6px;
}

.skeleton-line.title {
  height: 14px;
  width: 80%;
}

.skeleton-line.subtitle {
  height: 10px;
  width: 45%;
}

.skeleton-footer {
  padding: 8px 12px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: none;
  background: transparent;
}

.skeleton-pill {
  width: 48px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, #F5F1EB 25%, #FAECE4 50%, #F5F1EB 75%);
  background-size: 200% 100%;
  animation: skel-shimmer 1.6s infinite ease-in-out;
}

.skeleton-btn {
  width: 52px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, #FAECE4 25%, #FDF3EE 50%, #FAECE4 75%);
  background-size: 200% 100%;
  animation: skel-shimmer 1.6s infinite ease-in-out;
}

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

.product-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #ECE7E1;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.035), 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease;
  overflow: hidden;
  cursor: pointer;
}

.product-card:hover {
  border-color: #DFD7CE;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 30, 20, 0.07), 0 2px 6px rgba(0, 0, 0, 0.03);
}

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

.product-card.out-of-stock {
  opacity: 0.72;
}

/* Top Badges (Warranty on Left, Instant Delivery on Right) */
.card-top-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 8px 3px 8px;
  box-sizing: border-box;
  gap: 4px;
}

.card-warranty-pill {
  display: inline-flex;
  align-items: center;
  padding: 2.5px 7px;
  border-radius: 999px;
  background: #FFF8F5;
  border: 1px solid #F6D2C2;
  color: #BE4D2E;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1px;
  line-height: 1.25;
  white-space: nowrap;
}

.card-instant-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2.5px 7px;
  border-radius: 999px;
  background: #FEE77F;
  border: 1px solid #F5CD4E;
  color: #724700;
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: 0.1px;
  line-height: 1.25;
  box-shadow: 0 2px 6px rgba(254, 218, 92, 0.35);
  white-space: nowrap;
}

.card-instant-pill.manual {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1E40AF;
  box-shadow: none;
}

/* Center Brand Logo / Media Stage */
.card-media-stage {
  padding: 8px 10px 12px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 85px;
  background: transparent;
}

.card-media-logo {
  max-width: 92px;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(45, 30, 20, 0.05));
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .card-media-logo {
  transform: scale(1.05);
}

/* Dividers */
.card-divider-line {
  height: 1px;
  background: #F0ECE6;
  width: 100%;
}

.card-divider-faint {
  height: 1px;
  background: #F3EFEA;
  margin: 7px 0;
  width: 100%;
}

/* Content Area */
.card-content-area {
  padding: 8px 10px 10px 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
  gap: 3px;
}

.card-category-label {
  font-size: 9.5px;
  font-weight: 700;
  color: #8C8782;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 58%;
  font-family: var(--font-heading);
}

.card-stock-label {
  display: inline-flex;
  align-items: center;
  gap: 3.5px;
  font-size: 9.5px;
  font-weight: 700;
  color: #2E7D32;
  white-space: nowrap;
}

.card-stock-label.out {
  color: #DC2626;
}

.card-stock-label .stock-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2E7D32;
  display: inline-block;
  flex-shrink: 0;
}

.card-stock-label.out .stock-dot {
  background: #DC2626;
}

.card-item-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #141413;
  margin: 0 0 3px 0;
  line-height: 1.3;
  letter-spacing: -0.15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 35px;
}

.card-item-description {
  font-size: 10.5px;
  color: #6B6661;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 28px;
}

/* Bottom Action Bar */
.card-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-top: auto;
}

.card-price-stack {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.card-main-price {
  font-size: 17px;
  font-weight: 900;
  color: #141413;
  letter-spacing: -0.3px;
  line-height: 1.1;
  font-family: var(--font-heading);
}

.card-duration-subtitle {
  font-size: 9.5px;
  color: #8C8782;
  margin-top: 2px;
  font-weight: 500;
  letter-spacing: 0.1px;
  font-family: var(--font-mono, monospace);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: #BD4D2D;
  color: #FFFFFF !important;
  border: none;
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(189, 77, 45, 0.32);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.card-buy-btn:hover {
  background: #AA4224;
  box-shadow: 0 5px 14px rgba(189, 77, 45, 0.42);
  transform: translateY(-1px);
}

.card-buy-btn:active {
  transform: scale(0.96);
}

.card-buy-btn.btn-restock {
  background: #E8E2D9;
  color: #55504A !important;
  box-shadow: none;
}

/* ==========================================
   EMPTY STATE
   ========================================== */
.empty-state {
  text-align: center;
  padding: 40px 20px;
}

.empty-icon {
  font-size: 40px;
  margin-bottom: 12px;
  opacity: 0.6;
}

.empty-state h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  color: #fff;
  margin-bottom: 6px;
}

.empty-state p {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.cyber-btn-outline {
  background: transparent;
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-heading);
  transition: all 0.2s ease;
}

.cyber-btn-outline:active {
  background: var(--neon-cyan);
  color: #000;
}

/* ==========================================
   FLOATING NAVIGATION DOCK (CLEAN ELEVATED DOCK)
   ========================================== */
.cyber-floating-dock {
  position: fixed;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  left: 14px;
  right: 14px;
  max-width: 440px;
  margin: 0 auto;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(217, 119, 87, 0.22);
  border-radius: 30px;
  padding: 6px 10px;
  box-shadow: 0 10px 30px rgba(45, 30, 20, 0.08), 0 2px 8px rgba(0, 0, 0, 0.03);
}

.dock-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.dock-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 4px;
  border-radius: 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.dock-tab:active {
  transform: scale(0.9);
}

.dock-tab.active {
  color: var(--claude-peach);
  background: var(--bg-peach-tint);
  box-shadow: 0 2px 8px rgba(217, 119, 87, 0.15);
  position: relative;
}

.dock-tab.active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  width: 14px;
  height: 2.5px;
  background: var(--claude-peach);
  border-radius: 4px;
  box-shadow: 0 0 6px rgba(217, 119, 87, 0.4);
}

.dock-tab.active .dock-icon-wrap {
  transform: translateY(-1px);
  color: var(--claude-peach);
  filter: none;
}

.dock-tab.active .dock-label {
  color: var(--claude-peach);
  font-weight: 700;
}

.dock-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 24px;
  font-size: 19px;
  transition: all 0.2s ease;
}

.dock-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
  font-family: var(--font-body);
  transition: color 0.2s ease;
  line-height: 1.1;
}

.dock-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  background: var(--neon-magenta);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  line-height: 16px;
  border-radius: 10px;
  padding: 0 4px;
  text-align: center;
  box-shadow: 0 0 10px var(--neon-magenta-glow);
  display: none;
}

.dock-badge.has-items {
  display: inline-block !important;
  animation: pulse-glow 2s infinite ease-in-out;
}

/* ==========================================
   MODAL DIALOG (CLAUDE PEACH & WHITE)
   ========================================== */
.cyber-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(32, 26, 22, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: fadeIn 0.2s ease-out;
}

.cyber-modal-backdrop[hidden] {
  display: none !important;
}

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

.cyber-modal {
  position: relative;
  background: #FFFFFF !important;
  color: #1F1E1D !important;
  border-top: 1px solid #E8E2D9 !important;
  border-left: none !important;
  border-right: none !important;
  border-radius: 28px 28px 0 0 !important;
  width: 100%;
  max-width: 600px;
  max-height: 86vh;
  overflow-y: auto;
  padding: 20px 18px calc(24px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -14px 48px rgba(45, 30, 20, 0.16) !important;
  animation: slideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cyber-modal::before {
  content: "";
  display: block;
  width: 44px;
  height: 4.5px;
  background: #E8E2D9;
  border-radius: 4px;
  margin: -6px auto 14px;
}

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

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F5F1EB;
  border: 1px solid #E8E2D9;
  color: #68625D;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.modal-close-btn:hover,
.modal-close-btn:active {
  background: #FAF8F5;
  color: #1F1E1D;
  border-color: #D97757;
  transform: scale(0.96);
}

.modal-badge-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.modal-cat-badge {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  color: #D97757;
  background: #FDF3EE;
  padding: 3px 8px;
  border-radius: 8px;
  border: 1px solid rgba(217, 119, 87, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.modal-cat-badge svg,
.modal-cat-badge img {
  display: block;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.modal-delivery-badge {
  font-size: 10px;
  font-weight: 700;
  color: #C66343;
  background: #FAECE4;
  padding: 3px 8px;
  border-radius: 8px;
  border: 1px solid rgba(198, 99, 67, 0.25);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: #1F1E1D;
  margin-bottom: 10px;
  line-height: 1.25;
}

.modal-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}

.modal-price {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 900;
  color: #1F1E1D;
  text-shadow: none;
}

.modal-stock-badge {
  font-size: 12px;
  font-weight: 700;
  color: #2D6A4F;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Bulk discount banner inside modal */
.modal-bulk-banner {
  background: #FDF3EE;
  border: 1px solid rgba(217, 119, 87, 0.25);
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  box-shadow: 0 1px 3px rgba(45, 30, 20, 0.04);
}

.bulk-spark {
  color: #D97757;
  font-size: 16px;
}

.bulk-text {
  font-size: 12px;
  color: #68625D;
}

.bulk-text b {
  color: #D97757;
}

/* Quantity stepper & presets - Claude Warm Peach & White */
.modal-qty-section {
  background: #FAF8F5 !important;
  border: 1px solid #E8E2D9 !important;
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 1px 3px rgba(45, 30, 20, 0.04) !important;
}

.qty-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

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

.qty-label {
  font-size: 13px;
  font-weight: 700;
  color: #1F1E1D;
  font-family: var(--font-heading);
  letter-spacing: 0.3px;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid #E8E2D9;
  border-radius: 10px;
  padding: 2px 4px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1px solid #E8E2D9;
  color: #1F1E1D;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
  line-height: 1;
  box-shadow: 0 1px 2px rgba(45, 30, 20, 0.05);
}

.qty-btn:active {
  background: #FDF3EE;
  color: #D97757;
  transform: scale(0.92);
}

.qty-val {
  width: 36px;
  text-align: center;
  background: transparent;
  border: none;
  color: #1F1E1D;
  font-size: 15px;
  font-weight: 800;
  font-family: var(--font-heading);
  outline: none;
}

.qty-subtotal {
  font-size: 13.5px;
  font-weight: 700;
  color: #68625D;
  font-family: var(--font-heading);
  text-align: right;
  white-space: nowrap;
}

.qty-subtotal b {
  color: #D97757;
  font-size: 16px;
  font-weight: 900;
  text-shadow: none;
}

.subtotal-strikethrough {
  text-decoration: line-through;
  color: #948C84;
  font-size: 13px;
  font-weight: 600;
  margin-right: 5px;
  opacity: 0.85;
}

.qty-preset-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
  width: 100%;
}

.qty-preset-chip {
  padding: 8px 0;
  border-radius: 9px;
  background: #FFFFFF;
  border: 1px solid #E8E2D9;
  color: #68625D;
  font-size: 12px;
  font-weight: 800;
  font-family: var(--font-heading);
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.qty-preset-chip:hover {
  border-color: #D97757;
  color: #1F1E1D;
  background: #FAF8F5;
}

.qty-preset-chip.active {
  background: linear-gradient(135deg, #E07A5F 0%, #D97757 100%) !important;
  border-color: #D97757 !important;
  color: #ffffff !important;
  box-shadow: 0 3px 12px rgba(217, 119, 87, 0.35);
  transform: translateY(-1px);
}

.modal-promo-bonus-row {
  margin-top: 8px;
  width: 100%;
}

.promo-bonus-callout {
  font-size: 12px;
  font-weight: 700;
  color: #059669;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 8px;
  padding: 6px 10px;
  display: block;
  text-align: center;
  line-height: 1.35;
  animation: fadeInPromo 0.2s ease-in-out;
}

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

/* ==========================================
   PREMIUM 3D ONLINE STICKERS
   ========================================== */
.dock-sticker-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), filter 0.22s ease;
  display: block;
}

.dock-tab.active .dock-sticker-img {
  transform: scale(1.18) translateY(-2px);
  filter: drop-shadow(0 4px 10px rgba(0, 240, 255, 0.6));
}

.sticker-icon-sm {
  width: 16px;
  height: 16px;
  object-fit: contain;
  vertical-align: -2.5px;
  display: inline-block;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}

.sticker-icon-badge {
  width: 14px;
  height: 14px;
  object-fit: contain;
  vertical-align: -2px;
  display: inline-block;
}

.sticker-icon-xs {
  width: 12px;
  height: 12px;
  object-fit: contain;
  vertical-align: -1.5px;
  display: inline-block;
}

.cat-sticker-img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  vertical-align: -2.5px;
  margin-right: 4px;
  display: inline-block;
}

.hero-sticker-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.card-brand-sticker {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: block;
}

/* Description box */
.modal-desc-box {
  background: #FAF8F5;
  border: 1px solid #E8E2D9;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.modal-desc-box h4 {
  font-size: 11px;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  color: #68625D;
  text-transform: uppercase;
  font-variant: small-caps;
  margin-bottom: 6px;
  font-weight: 700;
}

.modal-desc-box p,
#modalDescription {
  font-size: 13px;
  color: #1F1E1D;
  line-height: 1.55;
  white-space: pre-wrap;
  margin-bottom: 8px;
  font-variant: normal;
  letter-spacing: normal;
}

.warranty-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #2D6A4F;
  font-weight: 600;
}

/* ==========================================
   PROMO / CTF FLAG CODE BOX
   ========================================== */
.modal-promo-box {
  background: #FAF8F5;
  border: 1px dashed #E8E2D9;
  border-radius: 14px;
  padding: 10px 12px;
  margin-bottom: 16px;
  transition: all 0.2s ease;
}

.modal-promo-box:focus-within {
  border-color: #D97757;
  box-shadow: 0 0 0 3px rgba(217, 119, 87, 0.12);
}

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

.promo-title {
  font-size: 11px;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  color: #1F1E1D;
  text-transform: uppercase;
  font-weight: 700;
}

.promo-hint-badge {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border-radius: 6px;
  background: #FDF3EE;
  color: #D97757;
  border: 1px solid rgba(217, 119, 87, 0.25);
}

.promo-input-group {
  display: flex;
  gap: 8px;
}

.promo-input {
  flex: 1;
  font-family: monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid #E8E2D9;
  color: #1F1E1D;
  outline: none;
  transition: border-color 0.2s ease;
}

.promo-input::placeholder {
  color: #948C84;
  font-size: 11px;
  font-family: var(--font-body);
  text-transform: none;
}

.promo-input:focus {
  border-color: #D97757;
}

.promo-apply-btn {
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 10px;
  white-space: nowrap;
  cursor: pointer;
  background: linear-gradient(135deg, #E07A5F, #D97757);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 2px 8px rgba(217, 119, 87, 0.25);
  transition: all 0.2s ease;
}

.promo-apply-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(217, 119, 87, 0.35);
}

.promo-status-msg {
  font-size: 11px;
  line-height: 1.35;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 6px;
  display: block;
}

.promo-status-msg.success {
  background: rgba(0, 255, 136, 0.12);
  border: 1px solid rgba(0, 255, 136, 0.4);
  color: var(--neon-green);
}

.promo-status-msg.error {
  background: rgba(255, 51, 102, 0.12);
  border: 1px solid rgba(255, 51, 102, 0.4);
  color: #ff4d6d;
}

/* Sleek Applied Promo Code Card */
.promo-applied-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #EFFCF6;
  border: 1px solid #A7F3D0;
  border-radius: 12px;
  padding: 8px 12px;
  margin-top: 6px;
  box-shadow: 0 1px 3px rgba(16, 185, 129, 0.08);
  animation: fadeInPromo 0.25s ease-out;
}

.promo-applied-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.promo-applied-tag {
  font-size: 12px;
  font-weight: 700;
  font-family: monospace;
  color: #065F46;
  background: #D1FAE5;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.promo-applied-save {
  font-size: 12px;
  font-weight: 800;
  color: #059669;
  letter-spacing: 0.3px;
}

.promo-applied-remove-btn {
  background: #FEE2E2;
  border: 1px solid #FECACA;
  color: #DC2626;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1;
}

.promo-applied-remove-btn:hover {
  background: #FCA5A5;
  color: #991B1B;
}

.promo-applied-remove-btn:active {
  transform: scale(0.95);
}

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

.flag-prize-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: #050212;
  background: linear-gradient(135deg, #00ff88 0%, #00f0ff 100%);
  padding: 3px 8px;
  border-radius: 6px;
  margin-left: 6px;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.4);
  animation: pulse-glow 1.5s infinite alternate;
}

@keyframes pulse-glow {
  0% { transform: scale(0.98); filter: brightness(1); }
  100% { transform: scale(1.02); filter: brightness(1.2); }
}

/* =====================================================================
   PURCHASE MODAL — CLAUDE PEACH & WHITE THEME
   ===================================================================== */
#productModal .cyber-modal {
  background: #FFFFFF !important;
  color: #1F1E1D !important;
  border-top: 1px solid #E8E2D9 !important;
  border-left: none !important;
  border-right: none !important;
  border-radius: 28px 28px 0 0 !important;
  box-shadow: 0 -14px 48px rgba(45, 30, 20, 0.16) !important;
}

/* Elegant Drag Handle Indicator at Modal Top */
#productModal .cyber-modal::before {
  content: "";
  display: block;
  width: 44px;
  height: 4.5px;
  background: #E8E2D9;
  border-radius: 4px;
  margin: -6px auto 14px;
}

#productModal .modal-close-btn {
  background: #F5F1EB;
  border: 1px solid #E8E2D9;
  color: #68625D;
  font-weight: 700;
  transition: all 0.2s ease;
}

#productModal .modal-close-btn:hover,
#productModal .modal-close-btn:active {
  background: #FAF8F5;
  color: #1F1E1D;
  border-color: #D97757;
}

#productModal .modal-cat-badge {
  background: #FDF3EE;
  color: #D97757;
  border: 1px solid rgba(217, 119, 87, 0.25);
  font-weight: 700;
}

#productModal .modal-delivery-badge {
  background: #FAECE4;
  color: #C66343;
  border: 1px solid rgba(198, 99, 67, 0.25);
  font-weight: 700;
}

#productModal .modal-share-chip {
  background: #FAF8F5;
  border: 1px solid #E8E2D9;
  color: #68625D;
  font-weight: 600;
  margin-right: 34px;
  border-radius: 8px;
  padding: 4px 10px;
}

#productModal .modal-share-chip:hover {
  background: #FDF3EE;
  color: #D97757;
  border-color: #D97757;
}

#productModal .modal-title {
  color: #1F1E1D;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

#productModal .modal-price {
  color: #1F1E1D;
  font-size: 26px;
  font-weight: 900;
  text-shadow: none;
}

#productModal .modal-stock-badge {
  color: #2D6A4F;
  font-weight: 700;
}

#productModal .modal-bulk-banner {
  display: none !important;
}

#productModal .bulk-text {
  color: #68625D;
  font-size: 12px;
}

#productModal .bulk-text b {
  color: #D97757;
}

#productModal .bulk-spark {
  color: #D97757;
}

/* Package Options */
#productModal .modal-options-section {
  background: #FAF8F5;
  border: 1px solid #E8E2D9;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 1px 3px rgba(45, 30, 20, 0.04);
}

#productModal .options-label {
  color: #1F1E1D;
  font-weight: 700;
}

#productModal .options-count-badge {
  background: #F5F1EB;
  color: #68625D;
  border-color: #E8E2D9;
}

#productModal .options-chips-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 8px !important;
  margin-bottom: 8px !important;
}

#productModal .option-chip-btn {
  flex: 1 1 calc(25% - 8px) !important;
  min-width: 72px !important;
  background: #F7F5F0 !important;
  border: 1.5px solid #E6DFD3 !important;
  border-radius: 12px !important;
  padding: 10px 4px !important;
  color: #383430 !important;
  box-shadow: 0 1px 3px rgba(45, 30, 20, 0.05) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  cursor: pointer !important;
  text-align: center !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  -webkit-tap-highlight-color: transparent !important;
}

#productModal .option-chip-btn .opt-duration {
  color: #44403C !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  text-align: center !important;
  display: block !important;
  transition: color 0.15s ease !important;
}

#productModal .option-chip-btn .opt-price {
  color: #D97706 !important;
  font-size: 13.5px !important;
  font-weight: 900 !important;
  font-family: 'Rajdhani', var(--font-heading), sans-serif !important;
  line-height: 1.1 !important;
  display: block !important;
  transition: color 0.15s ease !important;
}

#productModal .option-chip-btn:hover {
  border-color: #D4AF37 !important;
  background: #EFE9DE !important;
  transform: translateY(-1px) !important;
}

#productModal .option-chip-btn:active {
  transform: scale(0.96) !important;
}

#productModal .option-chip-btn.active {
  background: linear-gradient(135deg, #FFC81A 0%, #FFA500 100%) !important;
  border-color: #E59500 !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
  transform: translateY(-1.5px) !important;
}

#productModal .option-chip-btn.active .opt-duration {
  color: #120F08 !important;
  font-weight: 800 !important;
}

#productModal .option-chip-btn.active .opt-price {
  color: #000000 !important;
  font-weight: 900 !important;
}

#productModal .option-chip-btn.is-out {
  opacity: 0.72;
  background: #F5F1EB;
  border-color: #E0D9CF;
}

#productModal .option-chip-btn .opt-out-tag {
  font-size: 9px;
  font-weight: 700;
  color: #DC2626;
  background: rgba(220, 38, 38, 0.1);
  padding: 1px 6px;
  border-radius: 4px;
  line-height: 1.2;
}

#productModal .option-chip-btn.active.is-out {
  background: linear-gradient(135deg, #A8A29E 0%, #78716C 100%) !important;
  border-color: #78716C !important;
  box-shadow: 0 4px 14px rgba(120, 113, 108, 0.3) !important;
}

#productModal .option-chip-btn.active.is-out .opt-out-tag {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

/* Quantity Section on White Modal */
#productModal .modal-qty-section {
  background: #FAF8F5 !important;
  border: 1px solid #E8E2D9 !important;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 1px 3px rgba(45, 30, 20, 0.04) !important;
}

#productModal .qty-label {
  color: #1F1E1D;
}

#productModal .qty-stepper {
  background: #FFFFFF;
  border: 1px solid #E8E2D9;
}

#productModal .qty-btn {
  background: #FFFFFF;
  border: 1px solid #E8E2D9;
  color: #1F1E1D;
}

#productModal .qty-btn:active {
  background: #FDF3EE;
  color: #D97757;
}

#productModal .qty-val {
  color: #1F1E1D;
}

#productModal .qty-subtotal {
  color: #68625D;
}

#productModal .qty-subtotal b {
  color: #D97757;
  text-shadow: none;
}

#productModal .qty-preset-chip {
  background: #FFFFFF;
  border: 1px solid #E8E2D9;
  color: #68625D;
}

#productModal .qty-preset-chip:hover {
  border-color: #D97757;
  color: #1F1E1D;
}

#productModal .qty-preset-chip.active {
  background: linear-gradient(135deg, #E07A5F 0%, #D97757 100%) !important;
  border-color: #D97757 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(217, 119, 87, 0.35);
}

/* Description & Warranty */
#productModal .modal-desc-box {
  background: #FAF8F5;
  border: 1px solid #E8E2D9;
  border-radius: 14px;
}

#productModal #txt-desc-title {
  color: #68625D;
  font-weight: 700;
  font-size: 11px;
}

#productModal #modalDescription {
  color: #1F1E1D;
  font-size: 13px;
  line-height: 1.55;
  font-variant: normal !important;
  letter-spacing: normal;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 6px;
  margin-bottom: 12px;
}

#productModal .modal-feature-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.45;
  color: #68625D;
  font-weight: 500;
}

#productModal .feat-bullet {
  color: #D97757;
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 2px;
}

#productModal .feat-text {
  flex: 1;
}

#productModal .warranty-item {
  color: #2D6A4F;
  font-weight: 600;
  font-size: 12px;
}

#productModal #modalWarranty {
  color: #2D6A4F;
}

/* Promo Code Box */
#productModal .modal-promo-box {
  background: #FAF8F5;
  border: 1px dashed #E8E2D9;
  border-radius: 14px;
}

#productModal .promo-title {
  color: #1F1E1D;
  font-weight: 700;
  font-size: 12px;
}

#productModal .promo-input {
  background: #FFFFFF;
  border: 1px solid #E8E2D9;
  color: #1F1E1D;
  border-radius: 10px;
}

#productModal .promo-input::placeholder {
  color: #948C84;
}

#productModal .promo-apply-btn {
  background: linear-gradient(135deg, #E07A5F, #D97757);
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(217, 119, 87, 0.25);
}

#productModal .promo-apply-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(217, 119, 87, 0.35);
}

/* Dual Footer */
#productModal .modal-footer-dual {
  margin-top: 16px;
  gap: 10px;
}

#productModal .cyber-btn-secondary {
  background: #F5F1EB;
  border: 1px solid #E8E2D9;
  color: #1F1E1D;
  font-weight: 700;
  border-radius: 14px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

#productModal .cyber-btn-secondary:hover {
  background: #FAF8F5;
  border-color: #D97757;
}

#productModal .cyber-btn-order {
  background: linear-gradient(135deg, #E07A5F 0%, #D97757 100%);
  border: none;
  color: #FFFFFF;
  font-weight: 800;
  border-radius: 14px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 16px rgba(217, 119, 87, 0.35);
  transition: all 0.2s ease;
}

#productModal .cyber-btn-order:active {
  transform: scale(0.97);
  filter: brightness(0.95);
}

#productModal .cyber-btn-order:disabled,
#productModal .cyber-btn-order.btn-out-of-stock {
  background: #E8E2D9 !important;
  border: 1px solid #D8D0C5 !important;
  color: #8C827A !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  transform: none !important;
  filter: none !important;
}

#productModal .cyber-btn-secondary:disabled,
#productModal .cyber-btn-secondary.disabled {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  background: #F0EBE3 !important;
  border-color: #D8D0C5 !important;
  color: #8C827A !important;
}

/* ==========================================
   BREACH PROTOCOL & HACKER CTF UI
   ========================================== */
.cyber-btn-ctf {
  background: linear-gradient(135deg, rgba(255, 0, 128, 0.2) 0%, rgba(0, 240, 255, 0.2) 100%);
  border: 1px solid var(--neon-magenta);
  color: var(--neon-cyan);
  padding: 6px 10px;
  border-radius: 8px;
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255, 0, 128, 0.2);
  transition: all 0.2s ease;
}

.cyber-btn-ctf:active {
  transform: scale(0.95);
  box-shadow: 0 0 15px var(--neon-magenta);
}

.breach-launch-btn {
  width: 100%;
  margin-top: 10px;
  padding: 10px 14px;
  background: linear-gradient(135deg, rgba(255, 0, 128, 0.25) 0%, rgba(0, 240, 255, 0.25) 100%);
  border: 1px dashed var(--neon-cyan);
  border-radius: 10px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.2);
  transition: all 0.2s ease;
  animation: pulse-glow 2s infinite alternate;
}

.breach-launch-btn:active {
  transform: scale(0.98);
  filter: brightness(1.2);
}

/* Breach Protocol Modal */
.breach-modal {
  max-width: 440px;
  background: #080414;
  border: 1px solid var(--neon-cyan);
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.25), inset 0 0 20px rgba(0, 240, 255, 0.05);
  padding: 16px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}

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

.breach-badge {
  font-size: 10px;
  font-weight: 800;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  color: var(--neon-cyan);
  text-transform: uppercase;
}

.breach-status-pill {
  font-size: 9px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(0, 255, 136, 0.15);
  color: var(--neon-green);
  border: 1px solid rgba(0, 255, 136, 0.4);
}

.breach-title {
  font-size: 16px;
  font-family: var(--font-heading);
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.5px;
  margin: 2px 0;
}

.breach-subtitle {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.3;
  margin-bottom: 12px;
}

/* Timer */
.breach-timer-container {
  background: rgba(14, 8, 32, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 8px 12px;
  margin-bottom: 12px;
}

.breach-timer-header {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  font-family: var(--font-heading);
  margin-bottom: 6px;
}

.breach-timer-header b {
  color: var(--neon-cyan);
  font-family: monospace;
  font-size: 13px;
}

.breach-timer-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.breach-timer-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--neon-cyan) 0%, var(--neon-magenta) 100%);
  border-radius: 3px;
  transition: width 1s linear, background 0.3s ease;
}

/* HUD Target & Buffer */
.breach-hud {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.hud-target-box, .hud-buffer-box {
  background: rgba(12, 6, 26, 0.7);
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: 10px;
  padding: 8px 10px;
}

.hud-label {
  display: block;
  font-size: 9px;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--text-dim);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.hud-seq-row, .hud-buffer-row {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.hud-node {
  font-family: monospace;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
}

.hud-node.matched {
  background: rgba(0, 255, 136, 0.2);
  border-color: var(--neon-green);
  color: var(--neon-green);
  box-shadow: 0 0 8px rgba(0, 255, 136, 0.4);
}

.hud-node.buffer-slot {
  border-style: dashed;
  color: var(--neon-cyan);
}

/* Direction Hint */
.breach-direction-hint {
  font-size: 10px;
  font-family: var(--font-heading);
  color: var(--text-dim);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.breach-direction-hint b {
  color: var(--neon-cyan);
  font-weight: 800;
}

/* 6x6 Matrix Grid */
.breach-matrix-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
  margin-bottom: 12px;
  padding: 8px;
  background: rgba(10, 5, 22, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 12px;
}

.matrix-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
  font-size: 11px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.4);
  background: rgba(20, 10, 40, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  cursor: not-allowed;
  user-select: none;
  transition: all 0.15s ease;
}

.matrix-cell.active-scope {
  color: #fff;
  background: rgba(0, 240, 255, 0.12);
  border-color: var(--neon-cyan);
  cursor: pointer;
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.25);
}

.matrix-cell.active-scope:hover,
.matrix-cell.active-scope:active {
  background: var(--neon-cyan);
  color: #050212;
  box-shadow: 0 0 15px var(--neon-cyan);
  transform: scale(1.05);
}

.matrix-cell.selected {
  background: rgba(0, 255, 136, 0.2);
  border-color: var(--neon-green);
  color: var(--neon-green);
  opacity: 0.5;
  cursor: not-allowed;
}

/* Console Log */
.breach-console {
  font-family: monospace;
  font-size: 10px;
  color: var(--neon-cyan);
  background: rgba(6, 3, 14, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 12px;
  min-height: 28px;
  line-height: 1.4;
  word-break: break-all;
}

/* Victory Box */
.breach-victory-box {
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid var(--neon-green);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  margin-bottom: 12px;
  animation: pulse-glow 1.5s infinite alternate;
}

.victory-icon {
  font-size: 32px;
  margin-bottom: 4px;
}

.victory-title {
  font-size: 13px;
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--neon-green);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.victory-desc {
  font-size: 11px;
  color: var(--text-main);
  margin-bottom: 10px;
}

.victory-flag-wrap {
  margin-bottom: 12px;
}

.victory-flag {
  font-family: monospace;
  font-size: 14px;
  font-weight: 800;
  padding: 10px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px dashed var(--neon-green);
  border-radius: 8px;
  color: var(--neon-green);
  margin-bottom: 8px;
  letter-spacing: 1px;
  user-select: all;
  cursor: pointer;
  transition: all 0.2s ease;
}

.victory-flag:active {
  background: rgba(0, 255, 136, 0.15);
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.4);
}

.victory-copy-btn {
  width: 100%;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 800;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.victory-copy-btn:hover,
.victory-copy-btn:active {
  background: var(--neon-cyan);
  color: #050212;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.victory-copy-btn.copied {
  background: rgba(0, 255, 136, 0.2);
  border-color: var(--neon-green);
  color: var(--neon-green);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.victory-claim-btn {
  background: linear-gradient(135deg, #00ff88 0%, #00f0ff 100%) !important;
  color: #050212 !important;
  font-weight: 900;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
}

.breach-footer {
  display: flex;
  justify-content: flex-end;
}

.cyber-btn-order {
  width: 100%;
  background: linear-gradient(135deg, var(--neon-cyan) 0%, #0099ff 100%);
  color: #050212;
  border: none;
  border-radius: 14px;
  padding: 14px;
  font-size: 15px;
  font-weight: 900;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 0 20px var(--neon-cyan-glow);
  transition: all 0.2s ease;
}

.cyber-btn-order:active {
  transform: scale(0.98);
  filter: brightness(1.2);
}

/* Profile styles handled in top header */

/* ==========================================
   PRODUCT CARD FAVORITES & ACTIONS
   ========================================== */
.card-fav-btn {
  position: static;
  background: #FAF7F2;
  border: 1px solid rgba(232, 226, 217, 0.75);
  color: #948C84;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(45, 30, 20, 0.02);
}

.card-fav-btn:hover {
  background: #FFFFFF;
  border-color: rgba(217, 119, 87, 0.35);
  color: #D97757;
  transform: scale(1.08);
}

.card-fav-btn.active {
  color: #D97706;
  border-color: #FCD34D;
  background: #FFF8E7;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.15);
}

.card-bottom-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-quick-cart-btn {
  background: #FFFFFF;
  border: 1px solid #E8E2D9;
  color: #68625D;
  border-radius: 8px;
  padding: 4px 6px;
  font-size: 10.5px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

.card-quick-cart-btn:active {
  transform: scale(0.92);
  background: #FDF3EE;
  color: #D97757;
}

/* ==========================================
   FLOATING CART BAR
   ========================================== */
.floating-cart-bar {
  position: fixed;
  bottom: 74px;
  left: 16px;
  right: 16px;
  max-width: 500px;
  margin: 0 auto;
  z-index: 95;
  background: rgba(17, 9, 44, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--neon-cyan);
  border-radius: 16px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 30px rgba(0, 240, 255, 0.35);
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.cart-bar-icon-wrap {
  position: relative;
  font-size: 22px;
}

.cart-badge-count {
  position: absolute;
  top: -5px;
  right: -8px;
  background: var(--neon-magenta);
  color: #fff;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
}

.cart-bar-info {
  display: flex;
  flex-direction: column;
}

.cart-bar-items {
  font-size: 11px;
  color: var(--text-muted);
}

.cart-bar-total {
  font-size: 16px;
  font-weight: 800;
  color: var(--neon-green);
  text-shadow: 0 0 10px var(--neon-green-glow);
}

.cart-bar-checkout-btn {
  background: linear-gradient(135deg, var(--neon-cyan), #00a6ff);
  color: #050212;
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 800;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s;
}

.cart-bar-checkout-btn:active {
  transform: scale(0.96);
}

/* ==========================================
   MODAL DUAL FOOTER
   ========================================== */
.modal-footer-dual {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 10px;
  margin-top: 14px;
}

.cyber-btn-secondary {
  background: #F5F1EB;
  border: 1px solid #E8E2D9;
  color: #1F1E1D;
  border-radius: 14px;
  padding: 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}

.cyber-btn-secondary:active,
.cyber-btn-secondary:hover {
  background: #FAF8F5;
  border-color: #D97757;
  color: #1F1E1D;
}

/* ==========================================
   DEPOSIT & PAYMENT METHOD CARDS
   ========================================== */
.promo-highlight {
  background: #FDF3EE !important;
  border-color: rgba(217, 119, 87, 0.3) !important;
  color: #1F1E1D !important;
  margin-bottom: 14px;
}

/* Segmented Deposit Method Nav Tabs */
.deposit-tabs-nav {
  display: flex;
  gap: 8px;
  background: #F5F1EB;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid #E8E2D9;
  margin-bottom: 12px;
}

.deposit-tab-pill {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  border: 1px solid transparent;
  color: #68625D;
  border-radius: 9px;
  padding: 9px 8px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: all 0.2s ease;
}

.deposit-tab-pill:hover {
  color: #1F1E1D;
  background: rgba(0, 0, 0, 0.03);
}

.deposit-tab-pill.active {
  background: #FFFFFF;
  border-color: #E8E2D9;
  color: #1F1E1D;
  box-shadow: 0 2px 6px rgba(45, 30, 20, 0.06);
}

.deposit-tab-pill[data-dep-tab="usdt"].active {
  background: #FFFFFF;
  border-color: #E8E2D9;
  color: #1F1E1D;
  box-shadow: 0 2px 6px rgba(45, 30, 20, 0.06);
}

.dep-tab-icon {
  width: 13px;
  height: 13px;
  object-fit: contain;
  vertical-align: middle;
  flex-shrink: 0;
  display: inline-block;
}

/* Method Cards */
.dep-card-binance {
  background: #FFFDF8;
  border: 1px solid #F4DC8C;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 2px 8px rgba(243, 186, 47, 0.08);
}

.dep-card-usdt {
  background: #FAFCFA;
  border: 1px solid #D5EBE2;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 2px 8px rgba(38, 161, 123, 0.05);
}

.dep-badge-binance {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #B47D00;
  background: #FFF4D2;
  border: 1px solid #F4DC8C;
  border-radius: 6px;
  padding: 3px 8px;
}

.dep-badge-usdt {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #1A7F60;
  background: #EAF7F2;
  border: 1px solid #A8DFC9;
  border-radius: 6px;
  padding: 3px 8px;
}

/* Step-by-step Clean Instructions */
.dep-steps-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #FAF8F5;
  border: 1px dashed #E8E2D9;
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 10px;
}

.dep-step-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11px;
  color: #68625D;
  line-height: 1.45;
}

.dep-step-num {
  font-weight: 800;
  font-family: var(--font-heading);
  color: #D97757;
  min-width: 14px;
}

/* Quick Amount Presets */
.dep-quick-amounts {
  display: flex;
  gap: 6px;
}

.dep-amt-chip {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid #E8E2D9;
  color: #1F1E1D;
  border-radius: 7px;
  padding: 6px 4px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.dep-amt-chip:hover, .dep-amt-chip:active {
  background: #FDF3EE;
  border-color: #D97757;
  color: #D97757;
  transform: translateY(-1px);
}

.dep-amt-chip.active {
  background: #FDF3EE;
  border-color: #D97757;
  color: #D97757;
  font-weight: 800;
  box-shadow: 0 0 0 2px rgba(217, 119, 87, 0.2);
}

.khqr-amt-chip.active {
  background: #FFEBEB !important;
  border-color: #E01A22 !important;
  color: #E01A22 !important;
  box-shadow: 0 0 0 2px rgba(224, 26, 34, 0.25) !important;
}

.btn-binance-submit {
  background: linear-gradient(135deg, #F3BA2F, #E0A81E) !important;
  color: #1F1E1D !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(243, 186, 47, 0.3) !important;
}

.btn-binance-submit:hover {
  box-shadow: 0 4px 20px rgba(243, 186, 47, 0.45) !important;
}

.btn-usdt-submit {
  background: linear-gradient(135deg, #26A17B, #1A7F60) !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(38, 161, 123, 0.25) !important;
}

.btn-usdt-submit:hover {
  box-shadow: 0 4px 20px rgba(38, 161, 123, 0.4) !important;
}

.deposit-method-card {
  background: #FAF8F5;
  border: 1px solid #E8E2D9;
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 12px;
}

.deposit-method-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.dep-icon {
  font-size: 24px;
}

.dep-title {
  font-size: 13px;
  font-weight: 700;
  color: #1F1E1D;
}

.dep-subtitle {
  font-size: 10.5px;
  color: #68625D;
  font-variant: small-caps;
  letter-spacing: 0.3px;
}

.copy-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid #E8E2D9;
  border-radius: 8px;
  padding: 4px 6px;
}

.copy-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #1F1E1D;
  font-size: 11px;
  font-family: monospace;
  outline: none;
  padding: 4px;
}

.copy-btn {
  background: linear-gradient(135deg, #E07A5F, #D97757);
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

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

.deposit-notice {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 10px 0;
  text-align: center;
}

/* ==========================================
   CART ITEMS LIST & SUMMARY
   ========================================== */
.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 240px;
  overflow-y: auto;
  margin-bottom: 14px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FAF8F5;
  border: 1px solid #E8E2D9;
  border-radius: 14px;
  padding: 10px 12px;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
  margin-right: 10px;
}

.cart-item-name {
  font-size: 13px;
  font-weight: 700;
  color: #1F1E1D;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-size: 12px;
  color: #D97757;
  font-weight: 800;
}

.cart-item-stepper {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-btn-step {
  width: 26px;
  height: 26px;
  background: #FFFFFF;
  border: 1px solid #E8E2D9;
  color: #1F1E1D;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(45, 30, 20, 0.04);
  transition: all 0.15s ease;
}

.cart-btn-step:active {
  background: #FDF3EE;
  color: #D97757;
}

.cart-item-qty {
  font-size: 13px;
  font-weight: 700;
  min-width: 18px;
  text-align: center;
  color: #1F1E1D;
}

.cart-btn-del {
  background: #FEF2F2;
  border: 1px solid #FEE2E2;
  color: #DC2626;
  border-radius: 8px;
  width: 26px;
  height: 26px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-left: 6px;
  transition: all 0.15s ease;
}

.cart-btn-del:active {
  background: #FEE2E2;
}

.cart-empty-state, .orders-empty-state {
  text-align: center;
  padding: 30px 10px;
  color: #68625D;
}

.cart-summary-box {
  background: #FAF8F5;
  border: 1px solid #E8E2D9;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #68625D;
}

.discount-line {
  color: #2D6A4F;
  font-weight: 600;
}

.total-line {
  font-size: 16px;
  font-weight: 800;
  color: #1F1E1D;
  border-top: 1px solid #E8E2D9;
  padding-top: 6px;
  margin-top: 4px;
}

.total-line b {
  color: #D97757;
  font-weight: 900;
}

/* ==========================================
   ORDERS LIST
   ========================================== */
.orders-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 280px;
  overflow-y: auto;
}

.order-card {
  background: #FAF8F5;
  border: 1px solid #E8E2D9;
  border-radius: 14px;
  padding: 12px 14px;
}

.order-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.order-id-badge {
  font-size: 10px;
  font-family: var(--font-heading);
  color: #D97757;
  background: #FDF3EE;
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid rgba(217, 119, 87, 0.25);
  font-weight: 700;
}

.order-date {
  font-size: 10px;
  color: #948C84;
}

.order-prod-name {
  font-size: 13px;
  font-weight: 700;
  color: #1F1E1D;
  margin-bottom: 6px;
}

.order-code-box {
  background: #EDF7F2;
  border: 1px dashed rgba(45, 106, 79, 0.4);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.order-code-text {
  font-family: monospace;
  font-size: 11px;
  color: #2D6A4F;
  word-break: break-all;
  font-weight: 600;
}

/* ==========================================
   STRUCTURED DELIVERY LINKS & MULTI-ITEMS
   ========================================== */
.delivery-pending-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFFDF8;
  border: 1px solid #F4DC8C;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 11.5px;
  color: #B7791F;
  font-weight: 600;
}

.delivery-links-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: 6px;
}

.delivery-links-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  background: #FDF3EE;
  border: 1px solid rgba(217, 119, 87, 0.22);
  border-radius: 10px;
}

.delivery-links-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #D97757;
}

.delivery-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2D6A4F;
  box-shadow: 0 0 6px rgba(45, 106, 79, 0.5);
  display: inline-block;
}

.copy-all-btn {
  background: #FFFFFF;
  border: 1px solid rgba(217, 119, 87, 0.35);
  color: #D97757;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 1px 3px rgba(217, 119, 87, 0.08);
}

.copy-all-btn:hover {
  background: #D97757;
  color: #FFFFFF;
}

.copy-all-btn.copied {
  background: #2D6A4F;
  border-color: #2D6A4F;
  color: #FFFFFF;
}

.delivery-links-grid {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.delivery-link-card {
  background: #FFFFFF;
  border: 1px solid #E8E2D9;
  border-radius: 12px;
  padding: 8px 10px;
  box-shadow: 0 1px 4px rgba(45, 30, 20, 0.03);
  transition: all 0.2s ease;
}

.delivery-link-card:hover {
  border-color: rgba(217, 119, 87, 0.35);
  box-shadow: 0 3px 10px rgba(217, 119, 87, 0.08);
}

.delivery-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  gap: 8px;
}

.delivery-card-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #1F1E1D;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.delivery-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #D97757;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.delivery-service {
  font-size: 11px;
  color: #68625D;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.delivery-card-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.link-open-pill {
  background: linear-gradient(135deg, #E07A5F 0%, #D97757 100%);
  color: #FFFFFF !important;
  border: none;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 10.5px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(217, 119, 87, 0.25);
  line-height: 1.2;
}

.link-open-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(217, 119, 87, 0.35);
}

.link-copy-pill {
  background: #FAF8F5;
  color: #68625D;
  border: 1px solid #E8E2D9;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  line-height: 1.2;
}

.link-copy-pill:hover {
  background: #FFFFFF;
  color: #1F1E1D;
  border-color: #D97757;
}

.link-copy-pill.copied {
  background: #2D6A4F;
  border-color: #2D6A4F;
  color: #FFFFFF;
}

.delivery-url-row {
  background: #FAF8F5;
  border: 1px solid #ECE7DF;
  border-radius: 8px;
  padding: 6px 8px;
}

.delivery-url-snippet {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10.5px;
  color: #68625D;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.delivery-url-snippet.font-mono {
  font-size: 11px;
  color: #1F1E1D;
  font-weight: 600;
  white-space: pre-wrap;
  word-break: break-all;
}

/* Account Credentials Delivery Cards */
.delivery-link-card.account-card {
  border-left: 3px solid #D97757;
}

.delivery-account-fields {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}

.delivery-field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FAF8F5;
  border: 1px solid #ECE7DF;
  border-radius: 8px;
  padding: 6px 10px;
  gap: 8px;
}

.delivery-field-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  flex: 1;
}

.delivery-field-label {
  font-size: 9px;
  text-transform: uppercase;
  color: #948C84;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.delivery-field-value {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11.5px;
  color: #1F1E1D;
  font-weight: 600;
  word-break: break-all;
  white-space: pre-wrap;
  line-height: 1.35;
}

.delivery-prod-tip {
  margin-top: 4px;
  font-size: 10.5px;
  color: #948C84;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Universal hidden attribute enforcement */
[hidden],
[hidden="true"],
.cyber-toast[hidden],
.verify-status[hidden],
.cyber-modal-backdrop[hidden],
.admin-subpanel[hidden] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.cyber-toast {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #FFFFFF;
  border: 1px solid #E8E2D9;
  box-shadow: 0 8px 30px rgba(45, 30, 20, 0.12), 0 2px 8px rgba(217, 119, 87, 0.15);
  color: #1F1E1D;
  border-radius: 30px;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 700;
  z-index: 999999;
  display: none;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.cyber-toast.show {
  display: flex !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateX(-50%) translateY(0) !important;
}

/* ==========================================
   DEPOSIT IN-APP VERIFY FORM
   ========================================== */
.deposit-verify-box {
  background: #FAF8F5;
  border: 1px solid #E8E2D9;
  border-radius: 14px;
  padding: 14px;
  margin-top: 14px;
  margin-bottom: 12px;
  box-shadow: none;
}

.deposit-verify-box h4 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #1F1E1D;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.method-toggle-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.method-toggle-btn {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid #E8E2D9;
  color: #68625D;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: all 0.2s ease;
}

.method-toggle-btn.active {
  background: #FDF3EE;
  border-color: #D97757;
  color: #D97757;
  box-shadow: 0 1px 4px rgba(217, 119, 87, 0.15);
}

.verify-input-wrap {
  display: flex;
  gap: 8px;
}

.cyber-input {
  background: #FFFFFF;
  border: 1px solid #E8E2D9;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 12px;
  color: #1F1E1D;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.cyber-input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.2);
}

.verify-status {
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: opacity 0.2s ease;
}

.verify-status.success {
  background: rgba(0, 255, 136, 0.15);
  border: 1px solid var(--neon-green);
  color: var(--neon-green);
}

.verify-status.pending {
  background: rgba(255, 183, 3, 0.15);
  border: 1px solid #ffb703;
  color: #ffb703;
}

.verify-status.error {
  background: rgba(255, 50, 50, 0.15);
  border: 1px solid #ff6666;
  color: #ff6666;
}

/* ==========================================
   DELIVERY MODAL
   ========================================== */
.delivery-order-id {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  color: #68625D;
  background: #F5F1EB;
  border: 1px solid #E8E2D9;
  padding: 2px 8px;
  border-radius: 6px;
  margin-top: 4px;
}

.delivery-product-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #FAF8F5;
  border: 1px solid #E8E2D9;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #1F1E1D;
  font-weight: 600;
}

.delivery-code-box {
  background: #EDF7F2;
  border: 1px solid rgba(45, 106, 79, 0.35);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
  box-shadow: none;
}

.delivery-code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 700;
  color: #2D6A4F;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
}

.delivery-code-textarea {
  width: 100%;
  height: 90px;
  background: #FFFFFF;
  border: 1px solid rgba(45, 106, 79, 0.35);
  border-radius: 8px;
  color: #1F1E1D;
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 12px;
  line-height: 1.5;
  padding: 10px;
  resize: none;
  outline: none;
  box-sizing: border-box;
}

.delivery-note {
  font-size: 11px;
  color: #68625D;
  text-align: center;
  line-height: 1.4;
  margin: 6px 0;
}

/* ==========================================
   INSUFFICIENT BALANCE MODAL
   ========================================== */
.insuf-stats-card {
  background: #FAF8F5;
  border: 1px solid #E8E2D9;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.insuf-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #68625D;
}

.insuf-stat-row b {
  color: #1F1E1D;
  font-family: var(--font-heading);
}

.insuf-stat-row.shortage-row {
  border-top: 1px solid #E8E2D9;
  padding-top: 8px;
  margin-top: 4px;
  font-weight: 700;
}

.insuf-stat-row.shortage-row span {
  color: #D97757;
  font-weight: 800;
}

/* ==========================================
   HEADER CONTROLS: ADMIN & REFERRAL BUTTONS
   ========================================== */
.cyber-btn-admin {
  background: #FFFFFF;
  border: 1px solid #E8E2D9;
  color: #B47D00;
  padding: 6px 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(45, 30, 20, 0.05);
  transition: all 0.2s;
  font-weight: 700;
}

.cyber-btn-admin:hover, .cyber-btn-admin:active {
  background: #FFF8E7;
  border-color: #F4DC8C;
  color: #B47D00;
  transform: scale(0.96);
}

.cyber-btn-ref {
  background: #FDF3EE;
  border: 1px solid rgba(217, 119, 87, 0.3);
  color: #D97757;
  padding: 6px 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(217, 119, 87, 0.1);
  transition: all 0.2s;
  font-weight: 700;
}

.cyber-btn-ref:hover, .cyber-btn-ref:active {
  background: #D97757;
  color: #FFFFFF;
  transform: scale(0.96);
}

/* ==========================================
   REFERRAL MODAL
   ========================================== */
.ref-link-card {
  background: #FAF8F5;
  border: 1px solid #E8E2D9;
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 12px;
}

.ref-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.ref-stat-box {
  background: #FFFFFF;
  border: 1px solid #E8E2D9;
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ref-stat-label {
  font-size: 10px;
  color: #68625D;
  text-transform: uppercase;
  font-family: var(--font-heading);
}

.ref-stat-val {
  font-size: 15px;
  font-family: var(--font-heading);
  color: #1F1E1D;
  font-weight: 800;
}

.ref-history-list {
  background: #FAF8F5;
  border: 1px solid #E8E2D9;
  border-radius: 12px;
  padding: 8px;
  max-height: 160px;
  overflow-y: auto;
}

.ref-history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px;
  border-bottom: 1px solid #E8E2D9;
  font-size: 11px;
  color: #1F1E1D;
}

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

/* ==========================================
   ADMIN DASHBOARD MODAL
   ========================================== */
.admin-tab-row {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  border-bottom: 1px solid #E8E2D9;
  padding-bottom: 8px;
}

.admin-tab-btn {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid #E8E2D9;
  color: #68625D;
  padding: 8px 6px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: all 0.2s;
}

.admin-tab-btn.active {
  background: #FDF3EE;
  border-color: #D97757;
  color: #D97757;
  box-shadow: 0 1px 4px rgba(217, 119, 87, 0.15);
}

.admin-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.admin-metric-card {
  background: #FAF8F5;
  border: 1px solid #E8E2D9;
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.adm-met-lbl {
  font-size: 11px;
  color: #68625D;
  text-transform: uppercase;
  font-family: var(--font-heading);
}

.adm-met-val {
  font-size: 18px;
  font-family: var(--font-heading);
  color: #1F1E1D;
  font-weight: 800;
}

.adm-met-sub {
  font-size: 10px;
  color: #948C84;
}

.adm-mini-btn {
  background: #FDF3EE;
  border: 1px solid rgba(217, 119, 87, 0.3);
  color: #D97757;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
  align-self: flex-start;
  transition: all 0.2s;
}

.adm-mini-btn:hover {
  background: #D97757;
  color: #FFFFFF;
}

.admin-bybit-item {
  background: #FAF8F5;
  border: 1px solid #E8E2D9;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 8px;
}

.admin-bybit-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.admin-bybit-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.adm-btn-approve {
  flex: 1;
  background: #EDF7F2;
  border: 1px solid rgba(45, 106, 79, 0.4);
  color: #2D6A4F;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.adm-btn-approve:hover {
  background: #2D6A4F;
  color: #FFFFFF;
}

.adm-btn-reject {
  background: #FEF2F2;
  border: 1px solid #FEE2E2;
  color: #DC2626;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.adm-btn-reject:hover {
  background: #DC2626;
  color: #FFFFFF;
}

/* ==========================================
   ADMIN 2FA AUTHENTICATION MODAL
   ========================================== */
.admin-auth-box {
  background: #FAF8F5;
  border: 1px solid #E8E2D9;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
}

.admin-auth-desc {
  font-size: 12px;
  color: #68625D;
  line-height: 1.5;
  margin-bottom: 14px;
}

.admin-auth-input-group {
  position: relative;
  margin-bottom: 14px;
}

.admin-auth-input {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #E8E2D9;
  color: #1F1E1D;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.admin-auth-input:focus {
  border-color: #D97757;
  box-shadow: 0 0 0 3px rgba(217, 119, 87, 0.15);
}

.admin-otp-input {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #D97757;
  color: #D97757;
  padding: 12px;
  border-radius: 10px;
  font-size: 26px;
  font-family: monospace;
  font-weight: 800;
  letter-spacing: 10px;
  text-align: center;
  box-sizing: border-box;
  outline: none;
  box-shadow: 0 2px 8px rgba(217, 119, 87, 0.15);
}

.admin-otp-input::placeholder {
  color: rgba(217, 119, 87, 0.35);
  letter-spacing: 6px;
}

.admin-logout-btn {
  background: #FEF2F2;
  border: 1px solid #FEE2E2;
  color: #DC2626;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
}

.admin-logout-btn:hover {
  background: #DC2626;
  color: #FFFFFF;
}

.adm-chip-btn {
  background: #FFFFFF;
  border: 1px solid #E8E2D9;
  color: #68625D;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.adm-chip-btn:hover {
  background: #FDF3EE;
  border-color: #D97757;
  color: #D97757;
}

.adm-chip-btn.active {
  background: #D97757;
  border-color: #D97757;
  color: #FFFFFF;
  font-weight: 700;
}

/* ==========================================
   SUPPLIER HUB STYLES
   ========================================== */
.supplier-hub-card {
  background: #FAF8F5;
  border: 1px solid #E8E2D9;
  border-radius: 14px;
  padding: 12px;
}

.supplier-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  background: #EDF7F2;
  color: #2D6A4F;
  border: 1px solid rgba(45, 106, 79, 0.35);
}

.supplier-badge.offline {
  background: #FEF2F2;
  color: #DC2626;
  border-color: #FEE2E2;
}

.supplier-badge.degraded {
  background: #FFF8E7;
  color: #B47D00;
  border-color: #F4DC8C;
}

.supplier-prod-item {
  background: #FAF8F5;
  border: 1px solid #E8E2D9;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.supplier-prod-item.disabled {
  opacity: 0.65;
  border-color: rgba(255, 50, 50, 0.3);
  background: rgba(30, 10, 15, 0.4);
}

.supplier-prod-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.supplier-prod-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-muted);
}

.supplier-cost-tag {
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
}

.supplier-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
}

.supplier-prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 10px;
  border-radius: 8px;
  margin-top: 4px;
}

@media (max-width: 360px) {
  .supplier-prod-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

.supplier-toggle-btn {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.supplier-toggle-btn.active {
  background: rgba(0, 255, 136, 0.15);
  color: var(--neon-green);
  border-color: var(--neon-green);
}

.supplier-toggle-btn.disabled {
  background: rgba(255, 50, 50, 0.15);
  color: #ff5555;
  border-color: #ff5555;
}

.supplier-order-item {
  background: rgba(14, 7, 36, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 11px;
}

/* ==========================================
   MINI APP ADMIN CONTROL EXTENSIONS
   ========================================== */
.cyber-btn-admin-strip {
  background: linear-gradient(135deg, rgba(255, 183, 3, 0.2), rgba(251, 133, 0, 0.25));
  border: 1px solid #ffb703;
  color: #ffb703;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  padding: 5px 9px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 0 10px rgba(255, 183, 3, 0.25);
  transition: all 0.2s ease;
}

.cyber-btn-admin-strip:hover, .cyber-btn-admin-strip:active {
  background: #ffb703;
  color: #000;
  transform: scale(0.96);
}

.prod-badge-custom {
  background: rgba(255, 183, 3, 0.15);
  color: #ffb703;
  border: 1px solid rgba(255, 183, 3, 0.4);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.prod-badge-wholesale {
  background: rgba(0, 240, 255, 0.12);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 240, 255, 0.35);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.prod-desc-preview {
  font-size: 11px;
  color: var(--text-dim);
  background: rgba(0, 0, 0, 0.25);
  border-left: 2px solid #ffb703;
  padding: 4px 8px;
  border-radius: 4px;
  line-height: 1.4;
  margin-top: 4px;
  word-break: break-word;
}

.adm-order-card {
  background: rgba(14, 7, 36, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.2s;
}

.adm-order-card.pending {
  border-color: rgba(255, 183, 3, 0.4);
  background: rgba(25, 14, 40, 0.9);
  box-shadow: 0 0 12px rgba(255, 183, 3, 0.1);
}

.adm-order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.adm-order-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.adm-order-badge.pending {
  background: rgba(255, 183, 3, 0.2);
  color: #ffb703;
  border: 1px solid #ffb703;
}

.adm-order-badge.completed {
  background: rgba(0, 255, 136, 0.15);
  color: var(--neon-green);
  border: 1px solid var(--neon-green);
}

.adm-order-words-box {
  background: rgba(0, 240, 255, 0.06);
  border-left: 3px solid var(--neon-cyan);
  padding: 8px 10px;
  border-radius: 4px;
  font-size: 11px;
  color: #e0f2fe;
  line-height: 1.4;
}

.adm-order-fulfill-box {
  background: rgba(0, 255, 136, 0.05);
  border: 1px dashed rgba(0, 255, 136, 0.35);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ==========================================
   FREE VIP INVITE BANNER (CLEAN & ANIMATED)
   ========================================== */
.canva-space-section {
  padding: 0;
}

.canva-space-bottom {
  margin-top: 14px;
  margin-bottom: 24px;
}

.canva-card.canva-card-compact {
  background: #FFFFFF;
  border: 1px solid #E8E2D9;
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 2px 10px rgba(45, 30, 20, 0.05);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

/* Ambient animated top border glow */
.canva-card.canva-card-compact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, #E07A5F 40%, #D97757 70%, transparent);
  animation: canvaBorderPulse 3.5s ease-in-out infinite alternate;
}

.canva-card.canva-card-compact::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle at 30% 20%, rgba(217, 119, 87, 0.04), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.canva-card.canva-card-compact:hover {
  border-color: #D97757;
  box-shadow: 0 4px 18px rgba(217, 119, 87, 0.15);
  transform: translateY(-2px);
}

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

/* Category Tab Pill for Canva Free */
.cat-pill-canva {
  background: #FFFFFF !important;
  border: 1px solid #E8E2D9 !important;
  color: #68625D !important;
}

.cat-pill-canva.active,
.cat-pill-canva:active {
  background: linear-gradient(135deg, #E07A5F, #D97757) !important;
  border-color: #D97757 !important;
  color: #FFFFFF !important;
}

.canva-tab-free-tag {
  background: #FDF3EE;
  color: #D97757;
  font-size: 7.5px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 4px;
  margin-left: 3px;
  line-height: 1;
}

.canva-compact-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.canva-compact-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  width: 100%;
}

.canva-mini-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #FAF6F0;
  border: 1px solid #E8E2D9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(45, 30, 20, 0.05);
}

.canva-compact-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  gap: 3px;
}

.canva-compact-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.canva-compact-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #1F1E1D;
  font-family: var(--font-heading);
  line-height: 1.25;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.canva-free-tag {
  font-size: 9px;
  font-weight: 900;
  color: #D97757;
  background: #FDF3EE;
  border: 1px solid rgba(217, 119, 87, 0.25);
  padding: 2px 7px;
  border-radius: 20px;
  letter-spacing: 0.6px;
  flex-shrink: 0;
  line-height: 1.2;
}

.canva-compact-sub {
  font-size: 11px;
  color: #68625D;
  margin: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.canva-compact-btn {
  width: 100%;
  height: 38px;
  background: linear-gradient(135deg, #E07A5F 0%, #D97757 100%);
  color: #FFFFFF;
  border: none;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(217, 119, 87, 0.3);
  font-family: var(--font-heading);
  letter-spacing: 0.4px;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

/* Button Shimmer sweep */
.canva-compact-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  animation: canvaBtnShimmer 3.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.canva-compact-btn:hover {
  filter: brightness(1.05);
  box-shadow: 0 4px 16px rgba(217, 119, 87, 0.4);
  transform: translateY(-1px);
}

.canva-compact-btn:active {
  transform: scale(0.975);
}

.canva-btn-rocket,
.canva-compact-btn .sticker-icon-sm {
  width: 17px;
  height: 17px;
  object-fit: contain;
  flex-shrink: 0;
  animation: canvaRocketHover 2.6s ease-in-out infinite alternate;
}

.canva-btn-arrow {
  font-size: 13px;
  font-weight: 900;
  margin-left: 2px;
  animation: canvaArrowNudge 1.6s ease-in-out infinite;
}

/* Responsive side-by-side on wide screens */
@media (min-width: 560px) {
  .canva-compact-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .canva-compact-left {
    width: auto;
  }
  .canva-compact-btn {
    width: auto;
    padding: 0 20px;
    flex-shrink: 0;
  }
}

/* Animations */
@keyframes canvaBorderPulse {
  0% { opacity: 0.4; }
  100% { opacity: 1; }
}

@keyframes canvaIconPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.25);
  }
  100% {
    transform: scale(1.04);
    box-shadow: 0 0 18px rgba(0, 240, 255, 0.55);
  }
}

@keyframes canvaBadgeGlow {
  0% {
    box-shadow: 0 0 6px rgba(255, 33, 149, 0.25);
    border-color: rgba(255, 33, 149, 0.45);
  }
  100% {
    box-shadow: 0 0 14px rgba(255, 33, 149, 0.75);
    border-color: rgba(255, 33, 149, 0.9);
  }
}

@keyframes canvaBtnShimmer {
  0% { left: -120%; }
  35%, 100% { left: 160%; }
}

@keyframes canvaRocketHover {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(2px, -2px) rotate(5deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes canvaArrowNudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(3px); }
}

/* ==========================================
   USER ACCOUNT PROFILE MODAL
   ========================================== */
.account-profile-card {
  background: rgba(18, 11, 44, 0.7);
  border: 1px solid rgba(0, 240, 255, 0.22);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.account-avatar-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.account-avatar-squircle {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.28) 0%, rgba(224, 36, 195, 0.28) 100%);
  border: 2px solid rgba(0, 240, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.35);
  flex-shrink: 0;
}

.acc-avatar-letter {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 0 8px var(--neon-cyan);
}

.acc-online-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--neon-green);
  border: 2px solid #070312;
  box-shadow: 0 0 8px var(--neon-green);
}

.account-identity-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 3px;
}

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

.account-display-name {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}

.account-vip-pill {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 170, 0, 0.2));
  border: 1px solid #ffd700;
  color: #ffd700;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.account-handle-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #94a3b8;
}

.account-handle {
  color: var(--neon-cyan);
  font-weight: 600;
}

.account-dot-sep {
  opacity: 0.5;
}

.account-uid-label b {
  color: #e2e8f0;
}

.account-custom-id-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 4, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 6px 10px;
}

.acc-id-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}

.acc-id-lbl {
  color: var(--text-muted);
  font-weight: 700;
  font-family: var(--font-heading);
}

.acc-id-val {
  color: #fff;
  font-weight: 700;
  font-family: monospace;
}

.acc-copy-id-btn {
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--neon-cyan);
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.acc-copy-id-btn:active {
  transform: scale(0.95);
  background: var(--neon-cyan);
  color: #050212;
}

/* Balance Card */
.account-balance-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.1) 0%, rgba(0, 255, 136, 0.08) 100%);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.acc-bal-lbl {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  display: block;
}

.acc-bal-value {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--neon-cyan);
  text-shadow: 0 0 10px var(--neon-cyan-glow);
  line-height: 1.2;
  margin-top: 2px;
}

.acc-deposit-btn {
  background: linear-gradient(135deg, var(--neon-green), #00c4cc);
  border: none;
  color: #050212;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(0, 255, 136, 0.35);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.acc-deposit-btn:active {
  transform: scale(0.96);
}

/* Stats Grid */
.account-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.acc-stat-box {
  background: rgba(18, 11, 44, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.acc-stat-box:hover {
  border-color: rgba(0, 240, 255, 0.3);
  background: rgba(24, 15, 58, 0.8);
}

.acc-stat-icon {
  font-size: 20px;
}

.acc-stat-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.acc-stat-number {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.acc-stat-desc {
  font-size: 10.5px;
  color: #94a3b8;
  margin-top: 1px;
}

/* Referral Banner */
.account-referral-banner {
  background: linear-gradient(135deg, rgba(224, 36, 195, 0.12), rgba(0, 240, 255, 0.08));
  border: 1px solid rgba(224, 36, 195, 0.35);
  border-radius: 14px;
  padding: 10px 12px;
  margin-bottom: 12px;
}

.acc-ref-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.acc-ref-icon-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.acc-ref-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.acc-ref-title {
  font-size: 12.5px;
  color: #fff;
  display: block;
}

.acc-ref-sub {
  font-size: 10.5px;
  color: #ff77ea;
  margin: 1px 0 0;
}

.acc-ref-open-btn {
  background: linear-gradient(135deg, #e024c3, #7d2ae8);
  border: none;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.acc-ref-open-btn:active {
  transform: scale(0.95);
}

/* Actions List */
.account-actions-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.account-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(18, 11, 44, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 10px 12px;
  color: #cbd5e1;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  width: 100%;
}

.account-action-row:hover,
.account-action-row:active {
  background: rgba(28, 18, 68, 0.7);
  border-color: rgba(0, 240, 255, 0.25);
  color: #fff;
}

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

.acc-action-icon {
  font-size: 16px;
}

.acc-action-text {
  font-size: 12px;
  font-weight: 600;
}

.acc-action-arrow {
  color: #64748b;
  font-size: 14px;
}

/* Modal Product Package / Duration Options Selector */
.modal-options-section {
  margin: 10px 0 14px;
  padding: 11px 12px;
  background: rgba(14, 10, 32, 0.7);
  border: 1px solid rgba(0, 240, 255, 0.22);
  border-radius: 12px;
  backdrop-filter: blur(8px);
}

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

.options-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  gap: 5px;
}

.options-count-badge {
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(0, 240, 255, 0.15);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.options-chips-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.options-chips-row::-webkit-scrollbar {
  display: none;
}

.option-chip-btn {
  flex: 1;
  min-width: 95px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  color: var(--text-secondary);
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}

.option-chip-btn .opt-duration {
  font-weight: 700;
  color: #fff;
  font-size: 11px;
  line-height: 1.2;
}

.option-chip-btn .opt-price {
  font-size: 12px;
  font-weight: 800;
  color: var(--neon-green);
  line-height: 1.2;
}

.option-chip-btn:hover {
  background: rgba(0, 240, 255, 0.08);
  border-color: rgba(0, 240, 255, 0.4);
}

.option-chip-btn.active {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.22), rgba(224, 36, 195, 0.22));
  border-color: var(--neon-cyan);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.45), inset 0 0 8px rgba(0, 240, 255, 0.15);
  transform: translateY(-1px);
}

.option-chip-btn.active .opt-duration {
  color: var(--neon-cyan);
}

/* Catalog Card Options Pill */
.card-options-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(0, 240, 255, 0.08);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 240, 255, 0.22);
  margin-top: 5px;
  letter-spacing: 0.3px;
}

/* Store Catalog Options & Sorting Toolbar */
.store-options-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.sort-select-box {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 140px;
}

.sort-icon-decor {
  position: absolute;
  left: 9px;
  font-size: 13px;
  color: #D97757;
  pointer-events: none;
  z-index: 1;
}

.cyber-select-sort {
  width: 100%;
  padding: 6px 12px 6px 26px;
  background: #FFFFFF;
  border: 1px solid #E8E2D9;
  border-radius: 10px;
  color: #1F1E1D;
  font-size: 11px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D97757' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 12px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(45, 30, 20, 0.04);
}

.cyber-select-sort:focus,
.cyber-select-sort:hover {
  border-color: #D97757;
  box-shadow: 0 0 0 3px rgba(217, 119, 87, 0.12);
}

.cyber-select-sort option {
  background: #FFFFFF;
  color: #1F1E1D;
}

.quick-options-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.quick-opt-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1px solid #E8E2D9;
  color: #68625D;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(45, 30, 20, 0.03);
}

.quick-opt-pill .opt-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #948C84;
  transition: background 0.2s ease;
}

.quick-opt-pill:hover {
  border-color: #D97757;
  color: #1F1E1D;
}

.quick-opt-pill.active {
  background: #FDF3EE;
  border-color: #D97757;
  color: #D97757;
  box-shadow: 0 1px 4px rgba(217, 119, 87, 0.15);
}

.quick-opt-pill.active .opt-dot {
  background: #D97757;
  box-shadow: 0 0 6px rgba(217, 119, 87, 0.4);
}

/* Store Options & Preferences in Account Modal */
.account-settings-card {
  margin-top: 14px;
  padding: 12px 14px;
  background: #FAF8F5;
  border: 1px solid #E8E2D9;
  border-radius: 14px;
}

.settings-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.settings-icon {
  font-size: 16px;
}

.settings-title {
  font-size: 12px;
  font-weight: 700;
  color: #1F1E1D;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.settings-option-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid #E8E2D9;
}

.settings-option-item:last-child {
  border-bottom: none;
  padding-bottom: 2px;
}

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

.settings-opt-text b {
  font-size: 12px;
  color: #1F1E1D;
}

.settings-opt-sub {
  font-size: 10px;
  color: #68625D;
}

.settings-toggle-group {
  display: flex;
  background: #F5F1EB;
  border-radius: 8px;
  padding: 2px;
  border: 1px solid #E8E2D9;
}

.settings-pill-btn {
  padding: 4px 9px;
  border-radius: 6px;
  background: transparent;
  border: none;
  color: #68625D;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.settings-pill-btn.active {
  background: #D97757;
  color: #FFFFFF;
  box-shadow: 0 1px 4px rgba(217, 119, 87, 0.3);
}

.settings-switch {
  width: 40px;
  height: 22px;
  border-radius: 12px;
  background: #E8E2D9;
  border: 1px solid #D5CEC5;
  position: relative;
  cursor: pointer;
  transition: all 0.22s ease;
  padding: 0;
}

.switch-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.settings-switch.active {
  background: #D97757;
  border-color: #D97757;
  box-shadow: 0 0 10px rgba(217, 119, 87, 0.35);
}

.settings-switch.active .switch-thumb {
  left: 20px;
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

/* ==========================================
   THEME ACCENT VARIANTS
   ========================================== */
body[data-theme-accent="violet"] {
  --neon-cyan: #b5179e;
  --neon-cyan-glow: rgba(181, 23, 158, 0.45);
  --neon-cyan-subtle: rgba(181, 23, 158, 0.15);
  --border-subtle: rgba(181, 23, 158, 0.22);
  --border-active: rgba(181, 23, 158, 0.65);
}

body[data-theme-accent="green"] {
  --neon-cyan: #2D6A4F;
  --neon-cyan-glow: rgba(45, 106, 79, 0.45);
  --neon-cyan-subtle: rgba(45, 106, 79, 0.15);
  --border-subtle: rgba(45, 106, 79, 0.22);
  --border-active: rgba(45, 106, 79, 0.65);
}

body[data-theme-accent="gold"] {
  --neon-cyan: #ffb703;
  --neon-cyan-glow: rgba(255, 183, 3, 0.45);
  --neon-cyan-subtle: rgba(255, 183, 3, 0.15);
  --border-subtle: rgba(255, 183, 3, 0.22);
  --border-active: rgba(255, 183, 3, 0.65);
}

body[data-theme-accent="rose"] {
  --neon-cyan: #ff007f;
  --neon-cyan-glow: rgba(255, 0, 127, 0.45);
  --neon-cyan-subtle: rgba(255, 0, 127, 0.15);
  --border-subtle: rgba(255, 0, 127, 0.22);
  --border-active: rgba(255, 0, 127, 0.65);
}

/* Toolbar Left Layout Group */
.toolbar-left-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 170px;
}

.view-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 31px;
  border-radius: 9px;
  background: #FFFFFF;
  border: 1px solid #E8E2D9;
  color: #68625D;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(45, 30, 20, 0.04);
  flex-shrink: 0;
}

.view-toggle-btn:hover {
  border-color: #D97757;
  color: #D97757;
  box-shadow: 0 2px 8px rgba(217, 119, 87, 0.2);
}

/* Compact List View for Product Grid */
.product-grid.list-view {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-grid.list-view .product-card {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 12px;
  min-height: unset;
}

.product-grid.list-view .card-visual-header {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
  flex-shrink: 0;
}

.product-grid.list-view .card-header-actions {
  display: none;
}

.product-grid.list-view .card-body {
  flex: 1;
  padding: 0 10px;
  min-width: 0;
}

.product-grid.list-view .card-title {
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.product-grid.list-view .card-options-tag,
.product-grid.list-view .card-bulk-tag {
  display: none;
}

.product-grid.list-view .card-bottom {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.product-grid.list-view .card-price {
  font-size: 13.5px;
}

.product-grid.list-view .card-btn {
  padding: 6px 12px;
  font-size: 11px;
}

.product-grid.list-view .card-quick-cart-btn {
  display: none;
}

/* Share Button in Product Modal */
.modal-share-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--neon-cyan);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: auto;
  margin-right: 34px;
}

.modal-share-chip:hover {
  background: var(--neon-cyan);
  color: #050212;
  box-shadow: 0 0 10px var(--neon-cyan-glow);
}

/* Orders History Filter Row */
.orders-filter-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.orders-filter-chip {
  padding: 5px 12px;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1px solid #E8E2D9;
  color: #68625D;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(45, 30, 20, 0.03);
}

.orders-filter-chip:hover {
  border-color: #D97757;
  color: #1F1E1D;
}

.orders-filter-chip.active {
  background: #FDF3EE;
  border-color: #D97757;
  color: #D97757;
  box-shadow: 0 1px 4px rgba(217, 119, 87, 0.15);
}

/* Theme Accent Color Picker */
.theme-accent-picker {
  display: flex;
  align-items: center;
  gap: 8px;
}

.accent-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-color);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.accent-dot:hover {
  transform: scale(1.15);
}

.accent-dot.active {
  border-color: #D97757;
  box-shadow: 0 0 10px rgba(217, 119, 87, 0.35);
  transform: scale(1.12);
}

/* ==========================================================================
   DAILY LUCKY WHEEL STYLES (Clean & Compact)
   ========================================================================== */

/* Header Spin Button */
.cyber-btn-spin {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #FDF3EE;
  border: 1px solid rgba(217, 119, 87, 0.3);
  color: #D97757;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(217, 119, 87, 0.1);
}

.cyber-btn-spin:hover {
  background: #D97757;
  color: #FFFFFF;
  border-color: #D97757;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(217, 119, 87, 0.25);
}

.spin-ready-pulse {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 7px;
  height: 7px;
  background: #2D6A4F;
  border-radius: 50%;
  box-shadow: 0 0 6px #2D6A4F;
  animation: spinPulseGlow 1.8s infinite;
  pointer-events: none;
}

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

/* Brand Launcher Spin Chip */
.brand-squircle.brand-spin {
  background: #FFFFFF;
  border: 1px solid #E8E2D9;
  box-shadow: 0 2px 8px rgba(45, 30, 20, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.brand-spin-emoji {
  font-size: 20px;
  animation: spinWiggle 3.5s ease-in-out infinite;
}

@keyframes spinWiggle {
  0%, 80%, 100% { transform: rotate(0deg); }
  85% { transform: rotate(-15deg); }
  90% { transform: rotate(15deg); }
  95% { transform: rotate(-8deg); }
}

/* Account Tab Spin Banner */
.account-spin-banner {
  background: #FAF8F5;
  border: 1px solid #E8E2D9;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}

.account-spin-banner:hover {
  border-color: #D97757;
  box-shadow: 0 4px 18px rgba(217, 119, 87, 0.1);
}

.acc-spin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.acc-spin-icon-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.acc-spin-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.acc-spin-title {
  font-size: 13px;
  color: #1F1E1D;
  font-weight: 700;
  display: block;
}

.acc-spin-sub {
  font-size: 11px;
  color: #68625D;
  margin: 2px 0 0 0;
}

.acc-spin-open-btn {
  background: linear-gradient(135deg, #E07A5F 0%, #D97757 100%);
  color: #FFFFFF;
  border: none;
  padding: 6px 14px;
  border-radius: 18px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(217, 119, 87, 0.25);
  transition: all 0.15s ease;
}

.acc-spin-open-btn:active {
  transform: scale(0.96);
}

/* Modal Inner Structure */
.spin-modal {
  padding: 20px 16px;
  background: #FFFFFF !important;
  border: 1px solid #E8E2D9 !important;
  box-shadow: 0 10px 40px rgba(45, 30, 20, 0.16) !important;
}

.spin-modal.spinning .spin-center-hub,
.spin-modal.spinning .spin-execute-btn,
.spin-modal.spinning .modal-close-btn {
  pointer-events: none !important;
  cursor: default !important;
}

.spin-modal.spinning .modal-close-btn {
  opacity: 0.3 !important;
}

.spin-sound-btn {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F5F1EB;
  border: 1px solid #E8E2D9;
  color: #68625D;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.spin-sound-btn:hover,
.spin-sound-btn:active {
  background: #FAF8F5;
  color: #D97757;
  border-color: #D97757;
  transform: scale(1.08);
}

.spin-sound-btn.muted {
  color: #948C84;
  border-color: #E8E2D9;
  background: #F5F1EB;
}

.spin-modal-header {
  text-align: center;
  margin-bottom: 10px;
}

.spin-pill-badge {
  display: inline-block;
  background: #FDF3EE;
  border: 1px solid rgba(217, 119, 87, 0.3);
  color: #D97757;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 2px 8px;
  border-radius: 12px;
  margin-bottom: 4px;
}

.spin-modal-title {
  font-size: 18px;
  font-weight: 900;
  color: #1F1E1D;
  letter-spacing: 0.5px;
  margin: 2px 0;
}

.spin-modal-sub {
  font-size: 11px;
  color: #68625D;
  margin: 0;
}

/* ==========================================================================
   Luxury Spin Wheel Engine — Claude Peach & Gold Cyber Aesthetic
   ========================================================================== */

/* Wheel Canvas & Bezel Container */
.spin-wheel-wrapper {
  position: relative;
  width: 270px;
  height: 270px;
  margin: 14px auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Outer Metallic Bezel with LED Ring */
.spin-bezel-outer {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #D4AF37 0deg,
    #F59E0B 45deg,
    #D97757 90deg,
    #E07A5F 135deg,
    #D4AF37 180deg,
    #F59E0B 225deg,
    #D97757 270deg,
    #E07A5F 315deg,
    #D4AF37 360deg
  );
  box-shadow: 
    0 8px 24px rgba(217, 119, 87, 0.28),
    0 2px 8px rgba(45, 30, 20, 0.12),
    inset 0 0 4px rgba(255, 255, 255, 0.6);
  z-index: 5;
  pointer-events: none;
}

.spin-bezel-leds {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.spin-led-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFFBEB;
  box-shadow: 0 0 6px #F59E0B, 0 0 10px rgba(245, 158, 11, 0.6);
  transform: translate(-50%, -50%);
  transition: all 0.15s ease;
}

.is-spinning .spin-led-dot:nth-child(even) {
  animation: ledFlashEven 0.3s infinite alternate;
}
.is-spinning .spin-led-dot:nth-child(odd) {
  animation: ledFlashOdd 0.3s infinite alternate;
}

@keyframes ledFlashEven {
  0% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.8); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1.3); box-shadow: 0 0 10px #FFD166, 0 0 14px #D97757; }
}

@keyframes ledFlashOdd {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(1.3); box-shadow: 0 0 10px #FFD166, 0 0 14px #D97757; }
  100% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.8); }
}

/* 3D Pointer Needle */
.spin-needle-indicator {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  transform-origin: 50% 9px;
  z-index: 25;
  width: 26px;
  height: 34px;
  pointer-events: none;
  transition: transform 0.05s cubic-bezier(0.1, 0.9, 0.2, 1);
  will-change: transform;
}

.spin-needle-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.spin-needle-indicator.needle-tick {
  transform: translateX(-50%) rotate(-18deg) scale(1.15);
}

/* Canvas Element */
.spin-wheel-canvas {
  width: 254px;
  height: 254px;
  border-radius: 50%;
  position: relative;
  z-index: 10;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.15);
  transition: transform 4.6s cubic-bezier(0.12, 0.9, 0.18, 1);
  will-change: transform;
}

/* Center Interactive Hub / Button */
.spin-center-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFFFFF 0%, #FAF8F5 100%);
  border: 3px solid #D97757;
  box-shadow: 
    0 4px 16px rgba(217, 119, 87, 0.35),
    0 2px 6px rgba(0, 0, 0, 0.1),
    inset 0 2px 4px rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.spin-center-hub:hover {
  transform: translate(-50%, -50%) scale(1.08);
  border-color: #C66343;
  box-shadow: 0 6px 20px rgba(217, 119, 87, 0.45);
}

.spin-center-hub:active {
  transform: translate(-50%, -50%) scale(0.95);
}

.spin-hub-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(217, 119, 87, 0.4);
  animation: hubPulse 2s infinite ease-out;
  pointer-events: none;
}

@keyframes hubPulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  70% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}

.spin-hub-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.spin-hub-icon {
  font-size: 15px;
  color: #D97757;
  filter: drop-shadow(0 1px 2px rgba(217, 119, 87, 0.3));
}

.spin-hub-label {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.8px;
  color: #1F1E1D;
  margin-top: 2px;
}

/* Fullscreen/Overlaid Confetti Canvas */
.spin-confetti-canvas {
  position: absolute;
  inset: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  pointer-events: none;
  z-index: 30;
}

/* Sound Toggle Floating Button */
.spin-sound-btn {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #FAF8F5;
  border: 1px solid #E8E2D9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
  color: #D97757;
  transition: all 0.15s ease;
  z-index: 30;
}

.spin-sound-btn:hover {
  background: #FDF3EE;
  border-color: #D97757;
  transform: scale(1.06);
}

/* Prizes Preview Row */
.spin-prizes-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 12px 0 6px;
}

.spin-prize-chip {
  background: #FFFFFF;
  border: 1px solid #E8E2D9;
  border-radius: 10px;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 1px 3px rgba(45, 30, 20, 0.04);
  transition: all 0.2s ease;
}

.spin-prize-chip .prize-emoji {
  font-size: 15px;
}

.spin-prize-chip .prize-val {
  font-size: 11px;
  font-weight: 800;
  color: #1F1E1D;
  margin: 2px 0 1px;
}

.spin-prize-chip .prize-tag {
  font-size: 8px;
  color: #68625D;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.spin-prize-chip.prize-jackpot {
  background: #FDF3EE;
  border-color: rgba(217, 119, 87, 0.45);
  box-shadow: 0 2px 8px rgba(217, 119, 87, 0.15);
}
.spin-prize-chip.prize-jackpot .prize-val {
  color: #D97757;
  font-weight: 900;
}
.spin-prize-chip.prize-jackpot .prize-tag {
  color: #C66343;
}

.spin-prize-chip.prize-gold {
  border-color: rgba(245, 158, 11, 0.4);
}
.spin-prize-chip.prize-gold .prize-val {
  color: #B47D00;
}
.spin-prize-chip.prize-gold .prize-tag {
  color: #B47D00;
}

.spin-prize-chip.prize-silver {
  border-color: rgba(45, 106, 79, 0.35);
}
.spin-prize-chip.prize-silver .prize-val {
  color: #2D6A4F;
}
.spin-prize-chip.prize-silver .prize-tag {
  color: #2D6A4F;
}

.spin-prize-chip.prize-promo {
  border-color: rgba(224, 122, 95, 0.4);
}
.spin-prize-chip.prize-promo .prize-val {
  color: #E07A5F;
}
.spin-prize-chip.prize-promo .prize-tag {
  color: #E07A5F;
}

/* Main Action Button */
.spin-action-area {
  margin-top: 10px;
}

.spin-execute-btn {
  width: 100%;
  height: 46px;
  background: linear-gradient(135deg, #E07A5F 0%, #D97757 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(217, 119, 87, 0.35);
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.spin-execute-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  filter: grayscale(0.4);
  box-shadow: none;
}

.spin-execute-btn:not(:disabled):hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 6px 22px rgba(217, 119, 87, 0.45);
}

.spin-execute-btn:not(:disabled):active {
  transform: translateY(1px);
}

/* Celebration Winner Card */
.spin-celebration-card {
  margin-top: 14px;
  background: #FFFFFF;
  border: 2px solid #D97757;
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  animation: celebrationSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(217, 119, 87, 0.22), 0 2px 8px rgba(0, 0, 0, 0.05);
}

@keyframes celebrationSlideUp {
  from { opacity: 0; transform: translateY(16px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.celebration-particles {
  font-size: 20px;
  margin-bottom: 4px;
}

.celebration-title {
  font-size: 13px;
  font-weight: 900;
  color: #D97757;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.celebration-amount {
  font-size: 26px;
  font-weight: 900;
  color: #1F1E1D;
  margin: 4px 0;
  letter-spacing: -0.5px;
}

.celebration-subtitle {
  font-size: 12px;
  color: #68625D;
}

.spin-promo-box {
  animation: promoPulse 2s infinite ease-in-out;
}

@keyframes promoPulse {
  0%, 100% { border-color: #D97757; box-shadow: 0 0 8px rgba(217, 119, 87, 0.15); }
  50% { border-color: #E07A5F; box-shadow: 0 0 16px rgba(217, 119, 87, 0.3); }
}

.spin-footer-note {
  margin-top: 10px;
  font-size: 10px;
  color: #64748b;
  text-align: center;
}

/* ==========================================================================
   Sandromania-style My API Card in Account Profile
   ========================================================================== */
.account-my-api-card {
  background: #FAF8F5;
  border: 1px solid #E8E2D9;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(45, 30, 20, 0.04);
}

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

.my-api-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.my-api-icon {
  font-size: 18px;
}

.my-api-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.my-api-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #1F1E1D;
}

.my-api-status-badge {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  text-transform: lowercase;
}

.my-api-status-badge.active {
  background: rgba(34, 197, 94, 0.15);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.my-api-status-badge.disabled {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.my-api-docs-link {
  font-size: 11.5px;
  font-weight: 700;
  color: #D97757;
  text-decoration: none;
  background: rgba(217, 119, 87, 0.1);
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid rgba(217, 119, 87, 0.25);
  transition: all 0.15s ease;
}

.my-api-docs-link:hover {
  background: #D97757;
  color: #FFFFFF;
}

.my-api-intro {
  font-size: 12px;
  line-height: 1.5;
  color: #68625D;
  margin: 0 0 12px 0;
}

.my-api-key-box {
  background: #FFFFFF;
  border: 1px solid #E8E2D9;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
}

.my-api-key-lbl-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.my-api-lbl {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #948C84;
}

.my-api-disc-badge {
  font-size: 10px;
  font-weight: 800;
  color: #D97757;
  background: rgba(217, 119, 87, 0.12);
  padding: 1px 6px;
  border-radius: 4px;
}

.my-api-key-display-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.my-api-key-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #1F1E1D;
  background: #FAF8F5;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #E8E2D9;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-api-copy-btn {
  background: #FAF8F5;
  border: 1px solid #E8E2D9;
  color: #1F1E1D;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.my-api-copy-btn:hover {
  background: #D97757;
  color: #FFFFFF;
  border-color: #D97757;
}

.my-api-balance-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  margin-bottom: 12px;
  color: #68625D;
}

.my-api-bal-label {
  font-weight: 600;
}

.my-api-bal-val {
  color: #1F1E1D;
  font-weight: 800;
}

.my-api-actions-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.my-api-action-btn {
  background: #FFFFFF;
  border: 1px solid #E8E2D9;
  color: #68625D;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.my-api-action-btn:hover {
  background: #FAF8F5;
  color: #1F1E1D;
  border-color: #D97757;
}

.my-api-help-btn {
  font-size: 11.5px;
  font-weight: 600;
  color: #68625D;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  transition: color 0.15s ease;
}

.my-api-help-btn:hover {
  color: #D97757;
  text-decoration: underline;
}

/* ==========================================
   POPUP NOTICE BANNER & MODAL ENHANCEMENT
   ========================================== */
#noticeModal {
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
  z-index: 99999 !important;
}

#noticeModal .cyber-modal {
  border-radius: 20px !important;
  border: 1px solid rgba(217, 119, 87, 0.3) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 25px rgba(217, 119, 87, 0.15) !important;
  background: #FFFFFF !important;
  max-width: 380px !important;
  padding: 0 0 18px 0 !important;
  overflow: hidden !important;
}

.notice-modal-banner-wrap {
  width: 100%;
  height: 140px;
  position: relative;
  overflow: hidden;
  background: #201a16;
}

.notice-modal-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.notice-modal-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.6));
}

.notice-modal-content {
  padding: 16px 20px 6px 20px;
  text-align: center;
}

/* =====================================================================
   Khmer Pchum Ben Festival Theme (Limited 10-Day Special Event)
   Features: Royal Gold, Angkor Amber, Lotus Blossoms & Floating Lanterns
   Auto-deactivates after 10 days to return app to normal
   ===================================================================== */
body.pchum-ben-theme {
  --bg-deep: #FBF7EE;
  --bg-subtle: #F6EEDD;
  --bg-card: #FFFFFF;
  --bg-peach-tint: #FDF5E6;
  --bg-peach-light: #F9EBCF;

  /* Royal Angkor Gold & Lotus Palette */
  --claude-peach: #D4AF37;
  --claude-peach-hover: #BF9B30;
  --claude-peach-glow: rgba(212, 175, 55, 0.28);
  --claude-peach-subtle: rgba(212, 175, 55, 0.12);
  --claude-coral: #E5A93C;
  --claude-coral-glow: rgba(229, 169, 60, 0.25);

  --neon-cyan: #D4AF37;
  --neon-cyan-glow: rgba(212, 175, 55, 0.30);
  --neon-cyan-subtle: rgba(212, 175, 55, 0.12);

  --neon-magenta: #E25B88; /* Lotus flower pink */
  --neon-magenta-glow: rgba(226, 91, 136, 0.25);
  --neon-magenta-subtle: rgba(226, 91, 136, 0.10);

  --border-subtle: #E9DECA;
  --border-active: #D4AF37;
  --border-hover: #DECBA4;
  --border-magenta: rgba(226, 91, 136, 0.35);

  --shadow-peach: 0 4px 18px rgba(212, 175, 55, 0.25);
}

/* Header Warm Golden Trim */
body.pchum-ben-theme .cyber-header {
  background: rgba(251, 247, 238, 0.92);
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.08);
}

/* Golden Amber Ambient Glows */
body.pchum-ben-theme .glow-cyan {
  background: rgba(212, 175, 55, 0.15);
}
body.pchum-ben-theme .glow-magenta {
  background: rgba(226, 91, 136, 0.10);
}

/* Pchum Ben Floating Ambience (Lanterns & Petals) */
.pchum-ben-ambience {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.pchum-ben-sky-lantern {
  position: absolute;
  font-size: 22px;
  filter: drop-shadow(0 0 10px rgba(255, 170, 0, 0.7));
  opacity: 0.8;
  animation: floatUpLantern 14s infinite ease-in-out;
}

.sl-1 { left: 8%; bottom: -40px; animation-duration: 16s; animation-delay: 0s; }
.sl-2 { left: 88%; bottom: -40px; animation-duration: 18s; animation-delay: 4s; font-size: 20px; }
.sl-3 { left: 24%; bottom: -40px; animation-duration: 22s; animation-delay: 8s; font-size: 16px; opacity: 0.6; }
.sl-4 { left: 72%; bottom: -40px; animation-duration: 19s; animation-delay: 11s; font-size: 18px; opacity: 0.7; }

.pchum-ben-lotus-petal {
  position: absolute;
  font-size: 18px;
  filter: drop-shadow(0 0 6px rgba(255, 117, 143, 0.5));
  opacity: 0.75;
  animation: driftPetal 12s infinite ease-in-out;
}

.lp-1 { left: 15%; top: -30px; animation-duration: 14s; animation-delay: 1s; }
.lp-2 { left: 45%; top: -30px; animation-duration: 17s; animation-delay: 5s; font-size: 14px; }
.lp-3 { left: 82%; top: -30px; animation-duration: 13s; animation-delay: 3s; font-size: 16px; }
.lp-4 { left: 32%; top: -30px; animation-duration: 10s; animation-delay: 7s; font-size: 14px; color: #FFD700; }
.lp-5 { left: 65%; top: -30px; animation-duration: 12s; animation-delay: 9s; font-size: 12px; color: #FFD700; }

@keyframes floatUpLantern {
  0% {
    transform: translateY(0) translateX(0) scale(0.9);
    opacity: 0;
  }
  15% {
    opacity: 0.85;
  }
  50% {
    transform: translateY(-50vh) translateX(25px) scale(1);
  }
  85% {
    opacity: 0.85;
  }
  100% {
    transform: translateY(-110vh) translateX(-20px) scale(1.05);
    opacity: 0;
  }
}

@keyframes driftPetal {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0;
  }
  20% {
    opacity: 0.8;
  }
  50% {
    transform: translateY(50vh) translateX(35px) rotate(180deg);
  }
  80% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(110vh) translateX(-25px) rotate(360deg);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pchum-ben-ambience {
    display: none;
  }
}

/* Pchum Ben Hero Showcase Card */
.pchum-ben-hero-card {
  position: relative;
  margin: 10px 12px 14px 12px;
  border-radius: 18px;
  background: linear-gradient(135deg, #FFFFFF, #FAF5E8);
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.16), 0 2px 6px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pchum-ben-hero-banner-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #111;
  max-height: 180px;
}

.pchum-ben-hero-img {
  width: 100%;
  height: 100%;
  max-height: 180px;
  object-fit: cover;
  display: block;
}

.pchum-ben-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(20, 15, 10, 0.65) 100%);
  pointer-events: none;
}

.pchum-ben-badge-pill {
  position: absolute;
  bottom: 10px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(20, 16, 12, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: 30px;
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 700;
}

.pchum-ben-badge-pill .pchum-ben-badge-text {
  color: #FFD700;
  letter-spacing: 0.3px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 5px;
}

.pchum-ben-days-tag {
  background: linear-gradient(135deg, #FFB703, #FB8500);
  color: #1A120B;
  font-size: 10px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.pchum-ben-greetings-bar {
  padding: 10px 14px 12px 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(251, 245, 232, 0.95));
  border-top: 1px solid rgba(212, 175, 55, 0.25);
}

.pchum-ben-greeting-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.greeting-highlight {
  font-size: 13px;
  font-weight: 800;
  color: #B8860B;
  letter-spacing: -0.2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.greeting-sub {
  font-size: 11.5px;
  color: #6C584C;
  line-height: 1.4;
}

/* Product Cards Golden Accents under Pchum Ben Theme */
body.pchum-ben-theme .product-card {
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.08);
}

body.pchum-ben-theme .product-card:hover {
  border-color: #D4AF37;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.20);
}

body.pchum-ben-theme .cat-pill.active {
  background: linear-gradient(135deg, #E5A93C, #D4AF37);
  color: #FFFFFF;
  border-color: #D4AF37;
  box-shadow: 0 3px 12px rgba(212, 175, 55, 0.35);
}

body.pchum-ben-theme .cyber-btn-order {
  background: linear-gradient(135deg, #E5A93C, #D4AF37);
  border-color: #D4AF37;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.28);
  color: #FFFFFF;
}

body.pchum-ben-theme .cyber-btn-spin {
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.35);
}

body.pchum-ben-theme .topup-btn-mini {
  background: linear-gradient(135deg, #E5A93C, #D4AF37);
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.30);
}

body.pchum-ben-theme .product-price-val {
  color: #B8860B;
}

/* Modal styling in Pchum Ben Theme */
body.pchum-ben-theme #noticeModal .cyber-modal {
  border: 1px solid rgba(212, 175, 55, 0.5) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(212, 175, 55, 0.25) !important;
}

/* ==========================================
   ADMIN CUSTOMER CONTROL CENTER & DOSSIER
   ========================================== */
.admin-filter-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.admin-filter-chips::-webkit-scrollbar {
  display: none;
}

.admin-filter-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.12));
  color: var(--text-muted, #94a3b8);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.admin-filter-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main, #fff);
}

.admin-filter-chip.active {
  background: #FDF3EE;
  border-color: #D97757;
  color: #D97757;
  box-shadow: 0 1px 6px rgba(217, 119, 87, 0.2);
}

.admin-filter-chip.alert-chip {
  border-color: rgba(255, 68, 68, 0.35);
  color: #ff6666;
}

.admin-filter-chip.alert-chip.active {
  background: rgba(255, 68, 68, 0.15);
  border-color: #ff4444;
  color: #ff4444;
  box-shadow: 0 0 8px rgba(255, 68, 68, 0.3);
}

.admin-cust-card {
  background: #FAF8F5;
  border: 1px solid #E8E2D9;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.15s ease, border-color 0.2s ease;
}

.admin-cust-card:hover {
  border-color: rgba(217, 119, 87, 0.4);
}

.admin-cust-card.has-problem {
  border-color: rgba(255, 68, 68, 0.45);
  background: linear-gradient(180deg, #FAF8F5 0%, rgba(255, 68, 68, 0.04) 100%);
}

.admin-cust-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.admin-cust-user {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.admin-cust-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffb703, #D97757);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: #000;
  flex-shrink: 0;
}

.admin-cust-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.admin-cust-name {
  font-size: 13px;
  font-weight: 800;
  color: #1F1E1D;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-cust-meta {
  font-size: 11px;
  color: #68625D;
  display: flex;
  align-items: center;
  gap: 4px;
}

.admin-cust-bal {
  font-size: 15px;
  font-weight: 800;
  font-family: var(--font-heading);
  text-align: right;
  flex-shrink: 0;
}

.admin-cust-stats {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: #68625D;
  background: rgba(0, 0, 0, 0.03);
  padding: 6px 10px;
  border-radius: 8px;
}

.admin-cust-stat-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.admin-cust-stat-item b {
  color: #1F1E1D;
}

.admin-problem-banner {
  background: rgba(255, 68, 68, 0.08);
  border: 1px dashed rgba(255, 68, 68, 0.45);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #DC2626;
}

.admin-cust-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.adm-cust-btn {
  flex: 1;
  min-width: 75px;
  padding: 6px 8px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 7px;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.adm-cust-btn-dossier {
  background: #FDF3EE;
  border-color: rgba(217, 119, 87, 0.4);
  color: #D97757;
}
.adm-cust-btn-dossier:hover {
  background: #D97757;
  color: #fff;
}

.adm-cust-btn-add {
  background: #EDF7F2;
  border-color: rgba(45, 106, 79, 0.35);
  color: #2D6A4F;
}
.adm-cust-btn-add:hover {
  background: #2D6A4F;
  color: #fff;
}

.adm-cust-btn-deduct {
  background: #FEF2F2;
  border-color: rgba(220, 38, 38, 0.25);
  color: #DC2626;
}
.adm-cust-btn-deduct:hover {
  background: #DC2626;
  color: #fff;
}

.adm-cust-btn-copy {
  background: #FAF8F5;
  border-color: #E8E2D9;
  color: #68625D;
  flex: 0 0 auto;
  min-width: 32px;
  padding: 6px 8px;
}

/* Fund Action Switch */
.fund-action-btn {
  background: #FAF8F5;
  border: 1px solid #E8E2D9;
  color: #68625D;
  padding: 9px 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.fund-action-btn.active[data-action="add"] {
  background: #EDF7F2;
  border-color: #2D6A4F;
  color: #2D6A4F;
  box-shadow: 0 1px 4px rgba(45, 106, 79, 0.2);
}

.fund-action-btn.active[data-action="deduct"] {
  background: #FEF2F2;
  border-color: #DC2626;
  color: #DC2626;
  box-shadow: 0 1px 4px rgba(220, 38, 38, 0.2);
}

.adm-fund-preset-btn {
  background: #FAF8F5;
  border: 1px solid #E8E2D9;
  color: #1F1E1D;
  padding: 5px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}

.adm-fund-preset-btn:hover {
  background: #FDF3EE;
  border-color: #D97757;
  color: #D97757;
}

/* Dossier inspector components */
.dossier-stat-pill {
  background: #FAF8F5;
  border: 1px solid #E8E2D9;
  border-radius: 8px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}

.dossier-stat-pill .lbl {
  font-size: 9px;
  color: #68625D;
  text-transform: uppercase;
}

.dossier-stat-pill .val {
  font-size: 13px;
  font-weight: 800;
  color: #1F1E1D;
}

.dossier-row-card {
  background: #FAF8F5;
  border: 1px solid #E8E2D9;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.dossier-row-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #68625D;
}

.dossier-tag {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.dossier-tag-completed {
  background: #EDF7F2;
  color: #2D6A4F;
  border: 1px solid rgba(45, 106, 79, 0.3);
}

.dossier-tag-pending {
  background: #FFFBEB;
  color: #B45309;
  border: 1px solid rgba(180, 83, 9, 0.3);
}

.dossier-tag-expired {
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid rgba(220, 38, 38, 0.3);
}

.dossier-code-box {
  background: #F4EFEA;
  border: 1px dashed #D6CEC5;
  border-radius: 6px;
  padding: 6px 8px;
  font-family: monospace;
  font-size: 11px;
  color: #1F1E1D;
  display: flex;
  justify-content: space-between;
  align-items: center;
  word-break: break-all;
}





/* =====================================================================
   Full-Bleed Square KHQR Frame Enhancement
   ===================================================================== */
.qr-frame {
  width: 270px;
  max-width: 88vw;
  margin: 10px auto;
  background: #ffffff;
  border-radius: 16px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border: 1.5px solid rgba(255, 184, 0, 0.35);
}

.qr-frame img, #khqrImg {
  width: 100% !important;
  height: auto !important;
  max-width: 260px !important;
  display: block;
  border-radius: 8px;
}


/* =====================================================================
   RM MODS (FREE FIRE) — BLACK & ELECTRIC GOLD LUXURY GAMING THEME
   Follows RM MODS logo palette: Pitch Black, Gunmetal Slate, Electric Gold
   Strict 2-Column Product Grid (2 in one row) as in the second image
   ===================================================================== */

:root, body.rm-mods-theme {
  --bg-deep: #0A0A0D !important;
  --bg-surface: #121217 !important;
  --bg-card: #151520 !important;
  --bg-card-hover: #1C1C2A !important;
  --bg-modal: #13131A !important;
  --bg-subtle: #191924 !important;
  --bg-peach-tint: rgba(255, 184, 0, 0.08) !important;
  --bg-peach-light: rgba(255, 184, 0, 0.16) !important;

  /* Electric Yellow Gold Accents */
  --claude-peach: #FFB800 !important;
  --claude-peach-hover: #FFA000 !important;
  --claude-peach-glow: rgba(255, 184, 0, 0.35) !important;
  --claude-peach-subtle: rgba(255, 184, 0, 0.15) !important;
  --claude-coral: #FFC700 !important;
  --claude-coral-glow: rgba(255, 199, 0, 0.30) !important;

  --neon-cyan: #FFB800 !important;
  --neon-cyan-glow: rgba(255, 184, 0, 0.35) !important;
  --neon-cyan-subtle: rgba(255, 184, 0, 0.15) !important;

  --neon-magenta: #FF9500 !important;
  --neon-magenta-glow: rgba(255, 149, 0, 0.30) !important;
  --neon-magenta-subtle: rgba(255, 149, 0, 0.15) !important;

  --neon-green: #10B981 !important;
  --neon-green-glow: rgba(16, 185, 129, 0.25) !important;
  --sage-bg: rgba(16, 185, 129, 0.12) !important;

  /* Text: Pure Crisp White & Slate Chrome */
  --text-main: #FFFFFF !important;
  --text-muted: #A3A3B8 !important;
  --text-dim: #717188 !important;

  /* Gold Hairline Borders */
  --border-subtle: rgba(255, 184, 0, 0.22) !important;
  --border-active: #FFB800 !important;
  --border-hover: rgba(255, 184, 0, 0.50) !important;
  --border-magenta: rgba(255, 149, 0, 0.35) !important;

  --shadow-peach: 0 4px 20px rgba(255, 184, 0, 0.30) !important;
}

body.rm-mods-theme {
  background-color: #0A0A0D !important;
  color: #FFFFFF !important;
}

/* Ambient Battle-Royale Glows */
body.rm-mods-theme .glow-cyan {
  background: rgba(255, 184, 0, 0.14) !important;
}

body.rm-mods-theme .glow-magenta {
  background: rgba(255, 140, 0, 0.10) !important;
}

/* Sticky Header in Black & Gold */
body.rm-mods-theme .cyber-header {
  background: rgba(10, 10, 13, 0.95) !important;
  backdrop-filter: blur(24px) !important;
  border-bottom: 1px solid rgba(255, 184, 0, 0.25) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
}

body.rm-mods-theme .user-chip-wrap {
  background: #14141C !important;
  border: 1px solid rgba(255, 184, 0, 0.35) !important;
}

body.rm-mods-theme .user-chip-name {
  color: #FFFFFF !important;
  font-weight: 700 !important;
}

body.rm-mods-theme .user-chip-balance {
  color: #FFB800 !important;
  font-weight: 900 !important;
}

body.rm-mods-theme .topup-btn-mini {
  background: linear-gradient(135deg, #FFC700, #FFB800) !important;
  color: #0B0B0E !important;
  font-weight: 900 !important;
  box-shadow: 0 2px 10px rgba(255, 184, 0, 0.35) !important;
  border: none !important;
}

body.rm-mods-theme .cyber-btn-admin,
body.rm-mods-theme .cyber-btn-spin,
body.rm-mods-theme .cyber-btn-lang {
  background: #161622 !important;
  border: 1px solid rgba(255, 184, 0, 0.35) !important;
  color: #FFFFFF !important;
}

body.rm-mods-theme .cyber-btn-admin span,
body.rm-mods-theme .cyber-btn-spin span,
body.rm-mods-theme .cyber-btn-lang b {
  color: #FFB800 !important;
}

body.rm-mods-theme .spin-ready-pulse {
  background: #FFB800 !important;
  box-shadow: 0 0 8px #FFB800 !important;
}

/* Hero Banner Card */
body.rm-mods-theme .pchum-ben-hero-card {
  background: linear-gradient(135deg, #14141E, #1A1A28) !important;
  border: 1px solid rgba(255, 184, 0, 0.40) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 184, 0, 0.15) !important;
}

body.rm-mods-theme .pchum-ben-badge-pill {
  background: rgba(12, 12, 16, 0.88) !important;
  border: 1px solid rgba(255, 184, 0, 0.5) !important;
}

body.rm-mods-theme .pchum-ben-badge-text {
  color: #FFB800 !important;
  font-weight: 900 !important;
}

body.rm-mods-theme .pchum-ben-days-tag {
  background: linear-gradient(135deg, #FFC700, #FF8C00) !important;
  color: #0B0B0E !important;
  font-weight: 900 !important;
}

body.rm-mods-theme .pchum-ben-greetings-bar {
  background: #14141D !important;
  border-top: 1px solid rgba(255, 184, 0, 0.20) !important;
}

body.rm-mods-theme .greeting-highlight {
  color: #FFB800 !important;
  font-weight: 900 !important;
}

body.rm-mods-theme .greeting-sub {
  color: #A3A3B8 !important;
}

/* Brand Launcher Squircles */
body.rm-mods-theme .brand-squircle {
  background: #161622 !important;
  border: 1px solid rgba(255, 184, 0, 0.25) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

body.rm-mods-theme .brand-chip:hover .brand-squircle,
body.rm-mods-theme .brand-chip.active .brand-squircle {
  border-color: #FFB800 !important;
  box-shadow: 0 0 16px rgba(255, 184, 0, 0.4) !important;
}

body.rm-mods-theme .brand-name {
  color: #FFFFFF !important;
}

/* Search Box & Count */
body.rm-mods-theme .search-wrap {
  background: #14141C !important;
  border: 1px solid rgba(255, 184, 0, 0.25) !important;
}

body.rm-mods-theme .cyber-input {
  color: #FFFFFF !important;
}

body.rm-mods-theme .catalog-count-pill {
  background: rgba(255, 184, 0, 0.12) !important;
  border: 1px solid rgba(255, 184, 0, 0.35) !important;
  color: #FFB800 !important;
  font-weight: 800 !important;
}

/* Categories Filter Pills */
body.rm-mods-theme .cat-pill {
  background: #151520 !important;
  border: 1px solid rgba(255, 184, 0, 0.20) !important;
  color: #FFFFFF !important;
}

body.rm-mods-theme .cat-pill.active {
  background: linear-gradient(135deg, #FFC700, #FFB800) !important;
  color: #0B0B0E !important;
  border-color: #FFB800 !important;
  font-weight: 900 !important;
  box-shadow: 0 4px 14px rgba(255, 184, 0, 0.35) !important;
}

body.rm-mods-theme .cat-pill.active .cat-name,
body.rm-mods-theme .cat-pill.active .cat-icon {
  color: #0B0B0E !important;
}

/* =====================================================================
   STRICT 2 IN ONE ROW PRODUCT GRID
   ===================================================================== */
.product-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 10px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin-bottom: 95px !important;
}

@media (min-width: 680px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
}

/* Product Cards Styling */
body.rm-mods-theme .product-card {
  background: #151520 !important;
  border: 1px solid rgba(255, 184, 0, 0.22) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

body.rm-mods-theme .product-card:hover {
  border-color: #FFB800 !important;
  box-shadow: 0 6px 20px rgba(255, 184, 0, 0.25), 0 0 12px rgba(255, 184, 0, 0.15) !important;
  transform: translateY(-2px) !important;
}

body.rm-mods-theme .card-banner-stage {
  position: relative !important;
  width: 100% !important;
  height: 112px !important;
  overflow: hidden !important;
  background: #0B0B0E !important;
}

body.rm-mods-theme .card-full-banner-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  transition: transform 0.3s ease !important;
}

body.rm-mods-theme .product-card:hover .card-full-banner-img {
  transform: scale(1.05) !important;
}

body.rm-mods-theme .card-banner-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.05) 50%, rgba(20,20,30,0.95) 100%) !important;
  pointer-events: none !important;
}

body.rm-mods-theme .card-top-badges {
  position: absolute !important;
  top: 6px !important;
  left: 6px !important;
  right: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  z-index: 2 !important;
  pointer-events: none !important;
}

body.rm-mods-theme .card-warranty-pill {
  background: rgba(10, 10, 15, 0.85) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 184, 0, 0.5) !important;
  color: #FFB800 !important;
  font-size: 8.5px !important;
  font-weight: 800 !important;
  padding: 2.5px 6px !important;
  border-radius: 999px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5) !important;
}

body.rm-mods-theme .card-instant-pill {
  background: linear-gradient(135deg, #FFC700, #FFB800) !important;
  border: none !important;
  color: #0B0B0E !important;
  font-size: 8.5px !important;
  font-weight: 900 !important;
  padding: 2.5px 6.5px !important;
  border-radius: 999px !important;
  box-shadow: 0 2px 6px rgba(255, 184, 0, 0.35) !important;
}

body.rm-mods-theme .card-divider-line {
  display: none !important;
}

body.rm-mods-theme .card-content-area {
  padding: 8px 10px 10px 10px !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
}

body.rm-mods-theme .card-category-label {
  color: #A0A0B5 !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
}

body.rm-mods-theme .card-stock-label {
  color: #10B981 !important;
  font-size: 9.5px !important;
  font-weight: 800 !important;
}

body.rm-mods-theme .card-stock-label.out {
  color: #EF4444 !important;
}

body.rm-mods-theme .card-item-title {
  color: #FFFFFF !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  margin: 2px 0 6px 0 !important;
  min-height: 34px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

body.rm-mods-theme .card-action-bar {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 6px !important;
  margin-top: auto !important;
  padding-top: 6px !important;
}

body.rm-mods-theme .card-price-stack {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  min-width: 0 !important;
  flex: 1 !important;
}

body.rm-mods-theme .card-from-label {
  font-size: 8.5px !important;
  font-weight: 600 !important;
  color: #8E8E9F !important;
  line-height: 1.1 !important;
  margin-bottom: 3px !important;
  white-space: nowrap !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
}

body.rm-mods-theme .card-main-price {
  color: #FFB800 !important;
  font-size: 15.5px !important;
  font-weight: 900 !important;
  font-family: 'Rajdhani', var(--font-heading), sans-serif !important;
  line-height: 1 !important;
  letter-spacing: 0.3px !important;
  white-space: nowrap !important;
}

body.rm-mods-theme .btn-buy-card {
  width: auto !important;
  min-width: 50px !important;
  height: 27px !important;
  min-height: 27px !important;
  max-height: 27px !important;
  padding: 0 11px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  border-radius: 7px !important;
  background: linear-gradient(135deg, #FFC000 0%, #FFA500 100%) !important;
  color: #0A0A0E !important;
  border: 1px solid rgba(255, 235, 140, 0.4) !important;
  box-shadow: 0 2px 6px rgba(255, 168, 0, 0.22) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  letter-spacing: 0.2px !important;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

body.rm-mods-theme .btn-buy-card:hover {
  background: linear-gradient(135deg, #FFC81A 0%, #FFB01A 100%) !important;
  box-shadow: 0 3px 10px rgba(255, 184, 0, 0.35) !important;
  transform: translateY(-1px) !important;
}

body.rm-mods-theme .btn-buy-card:active {
  transform: scale(0.96) !important;
  box-shadow: 0 1px 3px rgba(255, 168, 0, 0.2) !important;
}

body.rm-mods-theme .cyber-btn-order {
  background: linear-gradient(135deg, #FFC000 0%, #FFA500 100%) !important;
  border: 1px solid rgba(255, 235, 140, 0.35) !important;
  color: #0B0B0E !important;
  font-weight: 800 !important;
  border-radius: 12px !important;
  box-shadow: 0 3px 12px rgba(255, 184, 0, 0.3) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

body.rm-mods-theme .cyber-btn-order:hover {
  box-shadow: 0 4px 18px rgba(255, 184, 0, 0.45) !important;
  transform: translateY(-1px) !important;
}

/* =====================================================================
   RM MODS PRO CYBER DOCK (BESPOKE, ORIGINAL GAMING DOCK)
   ===================================================================== */
body.rm-mods-theme .cyber-floating-dock {
  position: fixed !important;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
  left: 12px !important;
  right: 12px !important;
  max-width: 440px !important;
  margin: 0 auto !important;
  z-index: 999 !important;
  background: rgba(12, 12, 18, 0.95) !important;
  backdrop-filter: blur(28px) !important;
  -webkit-backdrop-filter: blur(28px) !important;
  border: 1px solid rgba(255, 184, 0, 0.25) !important;
  border-top: 2px solid #FFC700 !important;
  border-radius: 18px !important;
  padding: 6px 8px 6px 8px !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.85), 0 0 20px rgba(255, 184, 0, 0.15) !important;
}

body.rm-mods-theme .dock-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-around !important;
  gap: 2px !important;
  position: relative !important;
}

body.rm-mods-theme .dock-tab {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 6px 2px 4px 2px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 12px !important;
  color: #7E7E94 !important;
  cursor: pointer !important;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-decoration: none !important;
  position: relative !important;
}

body.rm-mods-theme .dock-indicator-pip {
  position: absolute !important;
  top: 0px !important;
  left: 50% !important;
  transform: translateX(-50%) scaleX(0) !important;
  width: 16px !important;
  height: 2.5px !important;
  background: #FFC700 !important;
  border-radius: 4px !important;
  box-shadow: 0 0 8px #FFB800 !important;
  transition: transform 0.22s ease !important;
}

body.rm-mods-theme .dock-tab.active .dock-indicator-pip {
  transform: translateX(-50%) scaleX(1) !important;
}

body.rm-mods-theme .dock-icon-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 24px !important;
  margin-bottom: 3px !important;
  transition: transform 0.2s ease, color 0.2s ease, filter 0.2s ease !important;
}

body.rm-mods-theme .dock-svg-icon {
  width: 20px !important;
  height: 20px !important;
  stroke: currentColor !important;
  transition: all 0.2s ease !important;
}

body.rm-mods-theme .dock-tab:hover {
  color: #FFFFFF !important;
}

body.rm-mods-theme .dock-tab.active {
  color: #FFB800 !important;
  background: rgba(255, 184, 0, 0.08) !important;
}

body.rm-mods-theme .dock-tab.active .dock-svg-icon {
  stroke: #FFC700 !important;
  filter: drop-shadow(0 0 6px rgba(255, 199, 0, 0.65)) !important;
  transform: translateY(-1px) !important;
}

body.rm-mods-theme .dock-label {
  font-size: 10px !important;
  font-weight: 700 !important;
  font-family: 'Kantumruy Pro', 'Inter', sans-serif !important;
  letter-spacing: 0.2px !important;
  color: inherit !important;
  transition: all 0.2s ease !important;
}

body.rm-mods-theme .dock-tab.active .dock-label {
  color: #FFC700 !important;
  font-weight: 900 !important;
  text-shadow: 0 0 10px rgba(255, 184, 0, 0.4) !important;
}

/* Modals in RM MODS Dark Aesthetic */
body.rm-mods-theme .cyber-modal {
  background: #14141C !important;
  border: 1px solid rgba(255, 184, 0, 0.35) !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.8), 0 0 24px rgba(255, 184, 0, 0.2) !important;
  color: #FFFFFF !important;
}

body.rm-mods-theme .modal-title {
  color: #FFFFFF !important;
}

body.rm-mods-theme .modal-price {
  color: #FFB800 !important;
}

body.rm-mods-theme .modal-cat-badge {
  background: rgba(255, 184, 0, 0.12) !important;
  color: #FFB800 !important;
  border: 1px solid rgba(255, 184, 0, 0.3) !important;
}

body.rm-mods-theme .modal-desc-box {
  background: #191924 !important;
  border: 1px solid rgba(255, 184, 0, 0.2) !important;
  color: #E2E8F0 !important;
}

body.rm-mods-theme .modal-desc-box h4 {
  color: #FFB800 !important;
}

body.rm-mods-theme .modal-desc-box p {
  color: #A3A3B8 !important;
}

body.rm-mods-theme .cyber-btn-secondary {
  background: #1B1B26 !important;
  border: 1px solid rgba(255, 184, 0, 0.25) !important;
  color: #FFFFFF !important;
}

/* =====================================================================
   MODAL CONFIRM BUTTON & FLOATING DOCK ELEVATION FIX
   ===================================================================== */
.cyber-modal-backdrop {
  z-index: 10000 !important;
}

body.modal-open .cyber-floating-dock,
body:has(.cyber-modal-backdrop:not([hidden])) .cyber-floating-dock {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(150%) !important;
}

.cyber-modal {
  padding-bottom: calc(36px + env(safe-area-inset-bottom, 0px)) !important;
  max-height: 88vh !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

/* =====================================================================
   BAKONG KHQR DEPOSIT & BLACK INPUT STYLING
   ===================================================================== */
body.rm-mods-theme .dep-card-khqr {
  background: #151520 !important;
  border: 1.5px solid rgba(255, 184, 0, 0.35) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
}

body.rm-mods-theme .cyber-input,
body.rm-mods-theme input.cyber-input,
body.rm-mods-theme #khqrAmountInput,
body.rm-mods-theme .verify-input-wrap input {
  background: #0B0B10 !important;
  border: 1.5px solid rgba(255, 184, 0, 0.35) !important;
  color: #FFFFFF !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  font-size: 14.5px !important;
  font-weight: 800 !important;
  font-family: 'Rajdhani', var(--font-heading), sans-serif !important;
  letter-spacing: 0.3px !important;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.6) !important;
  transition: all 0.2s ease !important;
}

body.rm-mods-theme .cyber-input:focus,
body.rm-mods-theme input.cyber-input:focus,
body.rm-mods-theme #khqrAmountInput:focus,
body.rm-mods-theme .verify-input-wrap input:focus {
  background: #050508 !important;
  border-color: #FFB800 !important;
  box-shadow: 0 0 12px rgba(255, 184, 0, 0.4), inset 0 2px 5px rgba(0, 0, 0, 0.6) !important;
  color: #FFFFFF !important;
}

body.rm-mods-theme .cyber-input::placeholder,
body.rm-mods-theme #khqrAmountInput::placeholder {
  color: #6C6C82 !important;
  font-weight: 500 !important;
  font-family: var(--font-body), sans-serif !important;
}

/* Quick Amount Chips ($1, $2, $5, $10, $20) */
body.rm-mods-theme .dep-amt-chip,
body.rm-mods-theme .khqr-amt-chip {
  background: #1A1A26 !important;
  border: 1.5px solid rgba(255, 184, 0, 0.25) !important;
  color: #E2E2EA !important;
  border-radius: 10px !important;
  padding: 8px 16px !important;
  font-weight: 800 !important;
  font-size: 13.5px !important;
  font-family: 'Rajdhani', var(--font-heading), sans-serif !important;
  letter-spacing: 0.3px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
  cursor: pointer !important;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.rm-mods-theme .dep-amt-chip:hover,
body.rm-mods-theme .khqr-amt-chip:hover {
  background: #242436 !important;
  border-color: #FFB800 !important;
  color: #FFFFFF !important;
  transform: translateY(-1px) !important;
}

body.rm-mods-theme .dep-amt-chip.active,
body.rm-mods-theme .khqr-amt-chip.active {
  background: linear-gradient(135deg, #FFC81A 0%, #FFA500 100%) !important;
  color: #0A0A0E !important;
  font-weight: 900 !important;
  border-color: #E59500 !important;
  box-shadow: 0 4px 14px rgba(255, 165, 0, 0.35) !important;
  transform: translateY(-1.5px) !important;
}
