/* =====================================================================
   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;
}

/* 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;
}

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

/* ==========================================
   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;
}

.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 .option-chip-btn {
  background: #FFFFFF;
  border: 1px solid #E8E2D9;
  color: #68625D;
  box-shadow: 0 1px 2px rgba(45, 30, 20, 0.04);
}

#productModal .option-chip-btn .opt-duration {
  color: #1F1E1D;
  font-weight: 700;
}

#productModal .option-chip-btn .opt-price {
  color: #D97757;
  font-weight: 800;
}

#productModal .option-chip-btn:hover {
  border-color: #D97757;
  background: #FAF8F5;
}

#productModal .option-chip-btn.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);
}

#productModal .option-chip-btn.active .opt-duration {
  color: #FFFFFF !important;
}

#productModal .option-chip-btn.active .opt-price {
  color: #FFFFFF !important;
}

/* 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);
}

/* ==========================================
   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;
}

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

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

/* 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;
}

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

.spin-needle-indicator {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  transform-origin: 50% 15%;
  z-index: 25;
  color: #D97757;
  font-size: 22px;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(45, 30, 20, 0.3));
  pointer-events: none;
  transition: transform 0.04s ease-out;
}

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

.spin-wheel-canvas {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(45, 30, 20, 0.12), inset 0 0 10px rgba(0, 0, 0, 0.05);
  transition: transform 4.6s cubic-bezier(0.12, 0.9, 0.18, 1);
  will-change: transform;
}

.spin-center-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid #D97757;
  box-shadow: 0 2px 10px rgba(217, 119, 87, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  cursor: pointer;
  transition: all 0.15s ease;
}

.spin-center-hub:hover {
  transform: translate(-50%, -50%) scale(1.06);
  border-color: #C66343;
}

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

.spin-hub-icon {
  font-size: 14px;
  color: #D97757;
}

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

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

.spin-prize-chip {
  background: #FAF8F5;
  border: 1px solid #E8E2D9;
  border-radius: 8px;
  padding: 6px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.2s ease;
}

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

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

.spin-prize-chip .prize-tag {
  font-size: 8px;
  color: #68625D;
  font-weight: 700;
}

.spin-prize-chip.prize-05 {
  border-color: rgba(217, 119, 87, 0.35);
}
.spin-prize-chip.prize-05 .prize-val {
  color: #D97757;
}
.spin-prize-chip.prize-05 .prize-tag {
  color: #D97757;
}

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

.spin-prize-chip.prize-15 {
  border-color: rgba(243, 186, 47, 0.45);
}
.spin-prize-chip.prize-15 .prize-val {
  color: #B47D00;
}
.spin-prize-chip.prize-15 .prize-tag {
  color: #B47D00;
}

.spin-prize-chip.prize-20 {
  border-color: rgba(184, 84, 212, 0.35);
}
.spin-prize-chip.prize-20 .prize-val {
  color: #b854d4;
}
.spin-prize-chip.prize-20 .prize-tag {
  color: #b854d4;
}

.spin-prize-chip.jackpot {
  background: #FDF3EE;
  border-color: #D97757;
  box-shadow: 0 0 10px rgba(217, 119, 87, 0.25);
  animation: jackpotChipGlow 2.4s infinite ease-in-out;
}

.spin-prize-chip.jackpot .prize-val {
  color: #D97757;
  font-weight: 900;
}

.spin-prize-chip.jackpot .jackpot-tag {
  color: #C66343;
  font-weight: 900;
  letter-spacing: 0.3px;
}

@keyframes jackpotChipGlow {
  0%, 100% { border-color: #D97757; box-shadow: 0 0 8px rgba(217, 119, 87, 0.2); }
  50% { border-color: #E07A5F; box-shadow: 0 0 14px rgba(224, 122, 95, 0.35); }
}

/* Action Area */
.spin-action-area {
  margin-top: 8px;
}

.spin-execute-btn {
  width: 100%;
  height: 42px;
  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.4px;
  transition: all 0.2s ease;
}

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

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

.spin-cooldown-box {
  background: #FAF8F5;
  border: 1px solid #E8E2D9;
  border-radius: 10px;
  padding: 10px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: #68625D;
}

.cooldown-text {
  font-family: monospace;
  font-size: 12px;
  color: #D97757;
  font-weight: 700;
}

/* Celebration Card */
.spin-celebration-card {
  margin-top: 12px;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.12) 0%, rgba(0, 240, 255, 0.08) 100%);
  border: 1px solid #00ff88;
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  animation: celebrationSlideUp 0.35s ease-out;
  box-shadow: 0 0 25px rgba(0, 255, 136, 0.25);
}

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

.celebration-particles {
  font-size: 18px;
  margin-bottom: 2px;
}

.celebration-title {
  font-size: 13px;
  font-weight: 900;
  color: #00ff88;
  letter-spacing: 0.5px;
}

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

.celebration-desc {
  font-size: 11px;
  color: #68625D;
  margin-bottom: 10px;
}

.celebration-close-btn {
  width: 100%;
  padding: 8px;
  font-size: 11px;
  font-weight: 800;
  border-radius: 8px;
  background: rgba(0, 255, 136, 0.15);
  border: 1px solid #00ff88;
  color: #00ff88;
  cursor: pointer;
  transition: all 0.15s ease;
}

.celebration-close-btn:hover {
  background: #00ff88;
  color: #000;
}

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