/* ==========================================================================
   SPICYSHOP — STYLESHEET OFICIAL
   Paleta tomada del logo SpicyShop:
   - Rojo fuego (#E8121A)    ["SPICY" + el ají]
   - Rojo profundo (#9E0E14) [biselado / sombras]
   - Naranja llama (#FF6B0F) [las llamas]
   - Dorado (#FFC42E)        ["SHOP"]
   - Blanco cromado (#FFFFFF)
   - Negro cálido (#0B0203)  [fondo]

   Los nombres de variable con "blue"/"cyan"/"mint" quedaron de la marca
   anterior. Se conservan a propósito como alias: los usan cientos de reglas
   más abajo y renombrarlas no cambiaría ni un pixel. Lo que vale es el valor.
   ========================================================================== */

:root {
  /* Fondos: negro cálido, con tinte rojo en vez de azul */
  --bg-deep: #0B0203;
  --bg-surface: #16060A;
  --bg-card: #1C070B;
  --bg-card-hover: #2A0B10;
  --bg-glass: rgba(20, 5, 8, 0.88);

  /* Bordes con glow rojo */
  --border-subtle: rgba(232, 18, 26, 0.18);
  --border-card: rgba(232, 18, 26, 0.30);
  --border-blue: rgba(232, 18, 26, 0.60);
  --border-cyan: rgba(255, 107, 15, 0.48);
  --border-mint: rgba(255, 196, 46, 0.35);

  /* Colores de marca SPICYSHOP */
  --brand-blue: #E8121A;
  --brand-blue-deep: #9E0E14;
  --brand-blue-glow: rgba(232, 18, 26, 0.50);
  --brand-cyan: #FF6B0F;
  --brand-cyan-glow: rgba(255, 107, 15, 0.40);
  --brand-gold: #FFC42E;
  --brand-gold-glow: rgba(255, 196, 46, 0.40);
  --brand-white: #FFFFFF;

  /* Aliases de compatibilidad */
  --brand-navy: #16060A;
  --mint-primary: #FF6B0F;
  --mint-light: #FF9A3C;
  --mint-glow: rgba(255, 107, 15, 0.32);
  --dyz-mint: #E8121A;
  --dyz-cyan: #FF6B0F;
  --dyz-gold: #FFC42E;
  --dyz-dark: #0B0203;

  --cyan-primary: #FF6B0F;
  --cyan-dark: #E8121A;
  --cyan-glow: rgba(255, 107, 15, 0.38);

  --gold-primary: #FFC42E;
  --gold-glow: rgba(255, 196, 46, 0.32);

  /* Gradientes */
  --grad-btn-primary: linear-gradient(135deg, #9E0E14 0%, #E8121A 50%, #FF6B0F 100%);
  --grad-blue: linear-gradient(135deg, #9E0E14 0%, #FF6B0F 100%);
  --grad-gold: linear-gradient(135deg, #FFE9A8 0%, #FFC42E 50%, #E09A00 100%);
  --grad-chrome: linear-gradient(180deg, #ffffff 0%, #E1D0CB 50%, #B89B94 100%);
  --grad-binance: linear-gradient(135deg, #fcd535 0%, #f0b90b 100%);

  /* Texto */
  --text-pure: #ffffff;
  --text-secondary: #E8D5D2;
  --text-muted: #A88E8B;
  --text-dark: #7A6260;

  /* Layout — bordes redondeados marcados */
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 30px;
  --safe-bottom: max(16px, env(safe-area-inset-bottom));
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html, body {
  background-color: var(--bg-deep);
  color: var(--text-pure);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ambient Radial Mesh con estética gamer cyberpunk de SpicyShop */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: 
    radial-gradient(circle at 50% -10%, rgba(232, 18, 26, 0.24) 0%, transparent 60%),
    radial-gradient(circle at 90% 20%, rgba(255, 107, 15, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 10% 75%, rgba(158, 14, 20, 0.14) 0%, transparent 50%),
    linear-gradient(180deg, transparent 75%, rgba(21, 2, 1, 0.98) 100%);
  pointer-events: none;
  z-index: -1;
}

/* Utilities */
.text-mint { color: var(--mint-primary) !important; }
.text-cyan { color: var(--cyan-primary) !important; }
.text-gold { color: var(--gold-primary) !important; }
.blue-text-shimmer {
  background: linear-gradient(135deg, #ffffff 0%, #FF9A3C 45%, #E8121A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(232, 18, 26, 0.4));
}
.gold-text-shimmer {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   1. NAVBAR & BRANDING (MOCKUP STYLE)
   ========================================================================== */
.top-announcement {
  display: none !important;
}

.store-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(1, 4, 18, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(232, 18, 26, 0.2);
  transition: all 0.3s ease;
}

.store-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 780px;
  margin: 0 auto;
  padding: 12px 16px;
}

.brand-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  text-decoration: none;
  color: #fff;
}

.brand-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #170704;
  border: 1.5px solid #FF4200;
  box-shadow: 0 0 14px rgba(255, 66, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.brand-link:hover .brand-icon-wrap {
  transform: scale(1.04);
  border-color: #FF6B0F;
  box-shadow: 0 0 20px rgba(255, 76, 0, 0.55);
}
.brand-badge-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  user-select: none;
}
.brand-badge-lux {
  font-size: 0.86rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.04em;
  font-family: 'Outfit', sans-serif;
}
.brand-badge-store {
  font-size: 0.62rem;
  font-weight: 800;
  color: #FF4200;
  letter-spacing: 0.05em;
  font-family: 'Outfit', sans-serif;
  margin-top: 1px;
}
.brand-badge-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-main {
  font-size: 1.5rem;
  font-weight: 950;
  letter-spacing: -0.01em;
  line-height: 1;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
}
.brand-main span {
  color: #FF4200;
  text-shadow: 0 0 14px rgba(255, 66, 0, 0.6);
}

.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Despacho Automatico 24/7 Pill */
.fleet-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #160503;
  border: 1.2px solid rgba(255, 66, 0, 0.28);
  padding: 6px 14px;
  border-radius: 9999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.live-dot-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #00e676;
  box-shadow: 0 0 8px #00e676;
  flex-shrink: 0;
}

.status-pill-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: center;
}
.status-line-top {
  font-size: 0.68rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.status-line-time {
  font-size: 0.78rem;
  font-weight: 800;
  color: #FF4200;
  letter-spacing: 0.02em;
}

/* Circular Shield Owner Button */
.btn-owner-shield {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1E0702;
  border: 1.2px solid rgba(232, 18, 26, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C0978D;
  text-decoration: none;
  transition: all 0.25s ease;
}
.btn-owner-shield:hover {
  color: #ffffff;
  border-color: #FF5500;
  box-shadow: 0 0 14px rgba(255, 85, 0, 0.4);
  transform: scale(1.05);
}

/* ==========================================================================
   2. SUPPORT & COMMUNITY BANNER CARD
   ========================================================================== */
.support-banner-section {
  max-width: 600px;
  margin: 16px auto 0 auto;
  padding: 0 12px;
}
.support-banner-card {
  background: #160503;
  border: 1px solid rgba(232, 18, 26, 0.28);
  border-radius: 18px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}
.support-banner-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.support-icon-glow {
  min-width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.support-icon-glow svg {
  color: #E8121A;
}
.support-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.support-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}
.support-sub {
  font-size: 0.8rem;
  color: #B5978F;
  line-height: 1.35;
}
.support-banner-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}
.support-pill-btn {
  background: #170704;
  border: 1px solid rgba(232, 18, 26, 0.28);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}
.support-pill-btn:hover {
  border-color: #FF4200;
  background: #260C06;
  box-shadow: 0 0 14px rgba(255, 66, 0, 0.25);
}
.support-btn-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.support-wa-icon {
  font-size: 1.35rem;
  color: #25d366;
  flex-shrink: 0;
}
.wa-channel-circle-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}
.support-btn-labels {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}
.support-btn-top,
.support-btn-bottom {
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
}
.support-btn-arrow {
  color: #96665A;
  flex-shrink: 0;
}

/* Modal Selector de Soporte WhatsApp */
.support-modal-card {
  max-width: 440px;
  width: 100%;
  background: #1C0703;
  border: 1.5px solid rgba(232, 18, 26, 0.4);
  border-radius: 24px;
  padding: 24px 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(232, 18, 26, 0.2);
}
.support-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.support-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.support-modal-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}
.support-modal-desc {
  font-size: 0.82rem;
  color: #C0978D;
  margin-bottom: 18px;
  line-height: 1.45;
  text-align: left;
}
.support-options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wa-support-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(42, 11, 4, 0.9);
  border: 1.2px solid rgba(37, 211, 102, 0.35);
  border-radius: 16px;
  padding: 14px 16px;
  text-decoration: none;
  transition: all 0.25s ease;
}
.wa-support-card:hover {
  background: rgba(64, 18, 8, 0.95);
  border-color: #25d366;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.3);
  transform: translateY(-2px);
}
.wa-card-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.wa-avatar-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}
.wa-card-details {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 2px;
}
.wa-card-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
}
.wa-card-number {
  font-size: 0.8rem;
  font-weight: 600;
  color: #25d366;
  font-family: monospace;
}
.wa-card-status {
  font-size: 0.72rem;
  font-weight: 700;
  color: #25d366;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.3);
  padding: 4px 10px;
  border-radius: 20px;
}
.support-btn-labels {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}
.support-btn-top {
  font-size: 0.68rem;
  font-weight: 700;
  color: #ffffff;
}
.support-btn-bottom {
  font-size: 0.68rem;
  font-weight: 600;
  color: #E1D0CB;
}

/* ==========================================================================
   3. STORE CONTAINER & STEP 1 CARD
   ========================================================================== */
.store-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 12px 60px 12px;
}

.hero-welcome {
  display: none !important;
}

/* ==========================================================================
   4. STEP 1: UID VERIFICATION CARD
   ========================================================================== */
.uid-card-section {
  max-width: 600px;
  margin: 14px auto 0 auto;
  padding: 0 12px;
}
.glass-card.uid-card {
  background: #160503;
  border: 1px solid rgba(232, 18, 26, 0.28);
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  display: none;
}

.card-step-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.step-num-badge {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: #E8121A;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}
.card-step-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}
.card-step-sub {
  font-size: 0.82rem;
  color: #B5978F;
  margin-top: 3px;
  line-height: 1.35;
}

/* Inputs stacked vertically */
.uid-input-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.input-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.01em;
}

.input-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.input-icon {
  position: absolute;
  left: 16px;
  color: #96665A;
  pointer-events: none;
  transition: color 0.2s ease;
  z-index: 2;
}

.lux-input {
  width: 100%;
  height: 52px;
  background: #170704;
  border: 1px solid rgba(232, 18, 26, 0.28);
  border-radius: 12px;
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 600;
  padding: 0 16px 0 48px;
  outline: none;
  transition: all 0.2s ease;
}
.lux-input::placeholder {
  color: #96665A;
  opacity: 1;
}
.lux-input:focus {
  border-color: #E8121A;
  box-shadow: 0 0 0 3px rgba(255, 59, 0, 0.25);
  background: #240A05;
}
.lux-input:focus + .input-icon {
  color: #E8121A;
}

.select-wrapper {
  position: relative;
}
.lux-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 42px;
  color: #ffffff;
}
.select-chevron-icon {
  position: absolute;
  right: 16px;
  color: #C0978D;
  pointer-events: none;
  z-index: 2;
}

.btn-verify-account {
  width: 100%;
  height: 52px;
  background: #E8121A;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(255, 59, 0, 0.35);
  transition: all 0.2s ease;
  margin-top: 4px;
}
.btn-verify-account:hover {
  background: #E63500;
  box-shadow: 0 6px 20px rgba(255, 59, 0, 0.5);
}
.btn-verify-account:active {
  transform: translateY(0);
}
.btn-verify-account:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* Security Divider */
.uid-secure-divider {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: 24px !important;
  margin-bottom: 4px !important;
  width: 100% !important;
  padding: 0 4px !important;
}
.secure-divider-line {
  flex: 1 !important;
  height: 1px !important;
  background: #612615 !important;
  border-top: 1px solid #682917 !important;
}
.secure-badge-wrap {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #BD8C7D !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  letter-spacing: 0.01em !important;
}
.secure-badge-wrap svg,
.secure-shield-icon {
  color: #BD8C7D !important;
  stroke: #BD8C7D !important;
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
}

/* Holographic Player Card */
.player-holo-card {
  margin-top: 18px;
  background: linear-gradient(135deg, rgba(61, 18, 8, 0.75), rgba(0, 210, 160, 0.08));
  border: 1.5px solid var(--border-mint);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  animation: slideFadeIn 0.3s ease forwards;
}

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

.player-avatar-box {
  position: relative;
  width: 52px;
  height: 52px;
}
.player-avatar-img, .player-avatar-fallback {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 2px solid var(--cyan-primary);
  box-shadow: 0 0 12px var(--cyan-glow);
  object-fit: cover;
}
.player-avatar-fallback {
  background: #3D1208;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-primary);
  font-size: 1.5rem;
}
.avatar-verified-check {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--mint-primary);
  color: #140406;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-card);
}

.player-info-box {
  flex: 1;
  min-width: 180px;
}
.player-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.player-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}
.player-level-badge {
  background: rgba(255, 149, 87, 0.15);
  border: 1px solid var(--border-cyan);
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan-primary);
}
.player-meta-row {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.meta-separator {
  margin: 0 6px;
  opacity: 0.4;
}

.player-status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 210, 160, 0.12);
  border: 1px solid var(--mint-primary);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--mint-light);
}

/* ==========================================================================
   4. FLEET STOCK CAROUSEL / STATS
   ========================================================================== */
.fleet-section {
  margin-top: 36px;
}
.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.section-title-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title-left h3 {
  font-size: 1.15rem;
  font-weight: 800;
}
.live-indicator-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--mint-light);
  font-weight: 700;
}

.fleet-scroll-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.fleet-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.fleet-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-subtle);
}
.fleet-card.highlight-gold {
  border-color: rgba(255, 196, 46, 0.35);
  background: linear-gradient(180deg, rgba(255, 196, 46, 0.05), var(--bg-card));
}

.fleet-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.fleet-item-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}
.fleet-icon-bubble {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.fleet-icon-bubble.cyan { background: rgba(255, 149, 87, 0.15); color: var(--cyan-primary); }
.fleet-icon-bubble.gold { background: rgba(255, 196, 46, 0.15); color: var(--gold-primary); }
.fleet-icon-bubble.mint { background: rgba(0, 210, 160, 0.15); color: var(--mint-primary); }
.fleet-icon-bubble.purple { background: rgba(247, 85, 168, 0.15); color: #FC84C0; }

.fleet-item-val {
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.fleet-item-sub {
  font-size: 0.75rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}
.fleet-item-sub b {
  color: var(--text-secondary);
}
.fleet-item-sub .dot { opacity: 0.4; }

/* ==========================================================================
   5. CATALOG & FILTER PILLS
   ========================================================================== */
.catalog-section {
  margin-top: 40px;
}
.catalog-header {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  margin-bottom: 26px;
}

.filter-pill-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 6px;
  background: linear-gradient(180deg, rgba(28, 7, 11, 0.9) 0%, rgba(26, 6, 3, 0.9) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  scrollbar-width: none;
  /* Que la barra abrace a las pestañas en vez de estirarse vacía. */
  align-self: flex-start;
  max-width: 100%;
}
.filter-pill-bar::-webkit-scrollbar { display: none; }

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}
.cat-pill-icon {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: rgba(232, 18, 26, 0.10);
  border: 1px solid var(--border-subtle);
  transition: all .2s ease;
}
.cat-pill:hover {
  color: #fff;
  background: rgba(232, 18, 26, 0.10);
}
.cat-pill.active {
  background: var(--grad-btn-primary);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 20px var(--brand-blue-glow);
}
.cat-pill.active .cat-pill-icon {
  background: rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 255, 255, 0.28);
}
.cat-pill.active svg { stroke: #ffffff !important; }

/* Contador de productos dentro de cada pestaña */
.cat-pill-count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  margin-left: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-subtle);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
  color: inherit;
}

.cat-pill.active .cat-pill-count {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

@media (max-width: 768px) {
  .cat-pill {
    padding: 8px 13px;
    font-size: 0.78rem;
    gap: 6px;
  }
  .cat-pill-count {
    min-width: 18px;
    height: 18px;
    font-size: 0.65rem;
  }
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}

.product-card {
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(232, 18, 26, 0.14) 0%, transparent 62%),
    linear-gradient(180deg, #1C070B 0%, #12040A 100%);
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
/* Filo de neón azul en el borde superior, como el contorno del logo. */
.product-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-cyan), transparent);
  opacity: 0.55;
}
.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-blue);
  box-shadow: 0 16px 40px rgba(232, 18, 26, 0.28), 0 0 0 1px rgba(255, 107, 15, 0.18);
}
.product-card:hover::before { opacity: 1; }

.card-top-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: var(--grad-gold);
  color: #140406;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--gold-glow);
  text-transform: uppercase;
}

.card-image-wrap {
  width: 88px;
  height: 88px;
  margin-bottom: 18px;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(232, 18, 26, 0.16) 0%, rgba(255, 107, 15, 0.05) 100%);
  border: 1px solid var(--border-subtle);
}
/* El resplandor vive detrás de la imagen, no sobre ella. */
.card-image-wrap::after {
  content: "";
  position: absolute;
  inset: -22%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-blue-glow) 0%, transparent 68%);
  filter: blur(10px);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}
.card-thumb-img {
  position: relative;
  z-index: 1;
  width: 74%;
  height: 74%;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease;
}
.product-card:hover .card-thumb-img {
  transform: scale(1.08) rotate(3deg);
}

.card-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 6px;
}
.card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 14px;
  min-height: 36px;
}

/* El cuerpo empuja al pie hacia abajo: así el precio y el botón quedan a la
   misma altura en todas las tarjetas, tengan o no selector de cantidad. */
.card-body { flex: 1 1 auto; }
.card-foot { margin-top: auto; }

/* Nota corta: solo se usa en el catálogo compacto de celular */
.card-note {
  display: none;
}

.card-stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(0, 210, 160, 0.08);
  border: 1px solid var(--border-mint);
  color: var(--mint-light);
  margin-bottom: 16px;
}

/* Quantity controls inside card */
/* La etiqueta va arriba y el stepper abajo a lo ancho. En una sola fila el
   "+" se salía de la tarjeta cuando el tope era de 3 cifras. */
.card-qty-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(26, 6, 3, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 10px;
  margin-bottom: 14px;
}
.card-qty-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.qty-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.qty-limit-tag {
  font-size: 0.66rem;
  font-weight: 800;
  color: var(--brand-gold);
  background: rgba(255, 196, 46, 0.12);
  border: 1px solid rgba(255, 196, 46, 0.30);
  padding: 2px 7px;
  border-radius: 6px;
  white-space: nowrap;
}
.qty-stepper {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.qty-stepper .card-qty-input { flex: 1 1 auto; width: auto; min-width: 0; }
.qty-stepper .btn-qty { flex: 0 0 auto; }
.btn-qty {
  width: 36px;
  height: 36px;
  background: rgba(255, 66, 0, 0.15);
  color: #fff;
  border: 1.5px solid rgba(255, 66, 0, 0.5);
  border-radius: 9px;
  font-size: 1.15rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  touch-action: manipulation;
}
.btn-qty:hover {
  background: #FF4200;
  color: #ffffff;
  border-color: #FF4200;
  transform: scale(1.06);
}
.btn-qty:active {
  transform: scale(0.92);
}
.btn-qty:hover {
  background: var(--mint-primary);
  color: #140406;
  border-color: var(--mint-primary);
}
.qty-number {
  font-size: 0.95rem;
  font-weight: 800;
  width: 28px;
  text-align: center;
}
.card-qty-input {
  width: 56px;
  height: 36px;
  background: #030814;
  border: 1.5px solid rgba(255, 76, 0, 0.5);
  border-radius: 9px;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 900;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  -moz-appearance: textfield;
}
.card-qty-input:focus {
  outline: none;
  border-color: #FF4200;
  box-shadow: 0 0 10px rgba(255, 66, 0, 0.4);
}
.card-qty-input::-webkit-outer-spin-button,
.card-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Modal Quantity Controls (LBBOOST Style) */
.modal-qty-container {
  background: rgba(33, 11, 6, 0.85);
  border: 1.5px solid rgba(255, 76, 0, 0.35);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 10px 0 14px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.05);
}
.modal-qty-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.modal-qty-label {
  font-size: 0.82rem;
  font-weight: 800;
  color: #E1D0CB;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Outfit', sans-serif;
}
.modal-unit-price {
  font-size: 0.78rem;
  font-weight: 700;
  color: #FF9A3C;
  background: rgba(255, 149, 87, 0.12);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 149, 87, 0.3);
  font-family: 'Outfit', sans-serif;
}
.modal-qty-stepper-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 10px;
}
.btn-modal-qty {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 66, 0, 0.15);
  border: 1.5px solid rgba(255, 66, 0, 0.5);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.btn-modal-qty:hover {
  background: #FF4200;
  color: #ffffff;
  transform: scale(1.05);
  box-shadow: 0 0 16px rgba(255, 66, 0, 0.6);
}
.btn-modal-qty:active {
  transform: scale(0.95);
}
.modal-qty-input {
  width: 86px;
  height: 44px;
  background: #030814;
  border: 1.5px solid rgba(255, 76, 0, 0.55);
  border-radius: 10px;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 900;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6);
  -moz-appearance: textfield;
}
.modal-qty-input:focus {
  outline: none;
  border-color: #FF9A3C;
  box-shadow: 0 0 16px rgba(255, 66, 0, 0.5);
}
.modal-qty-input::-webkit-outer-spin-button,
.modal-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.modal-qty-presets {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.btn-qty-preset {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #B89B94;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: 'Outfit', sans-serif;
  user-select: none;
}
.btn-qty-preset:hover, .btn-qty-preset.active {
  background: rgba(255, 66, 0, 0.25);
  border-color: #FF4200;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(255, 66, 0, 0.4);
}

/* Owner Maintenance Top Banner */
.owner-maint-banner {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: linear-gradient(90deg, #9a3412 0%, #c2410c 50%, #ea580c 100%);
  color: #ffffff;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(234, 88, 12, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
.owner-maint-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-maint-panel {
  background: #140406;
  color: #f8fafc;
  padding: 4px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.15s ease;
}
.btn-maint-panel:hover {
  background: #2A130F;
  border-color: #ffffff;
}

/* Full-Screen Maintenance Display */
.maintenance-backdrop {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, #36140C 0%, #020611 100%);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.maintenance-card {
  max-width: 480px;
  width: 100%;
  background: rgba(34, 12, 8, 0.9);
  border: 1.5px solid rgba(255, 76, 0, 0.35);
  border-radius: 24px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(255, 66, 0, 0.2);
  backdrop-filter: blur(16px);
  animation: maintFadeIn 0.3s ease;
}
@keyframes maintFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}
.maintenance-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 950;
  font-size: 2.2rem;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.maint-logo-lux { color: #ffffff; }
.maint-logo-store { color: #FF4200; }
.maintenance-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 196, 46, 0.12);
  border: 1px solid rgba(255, 196, 46, 0.4);
  color: #FFC42E;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}
.maint-radar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFC42E;
  box-shadow: 0 0 10px #FFC42E;
  animation: maintPulse 1.6s infinite;
}
@keyframes maintPulse {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
  100% { transform: scale(0.9); opacity: 1; }
}
.maintenance-icon-glow {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 66, 0, 0.12);
  border: 1.5px solid rgba(255, 66, 0, 0.4);
  color: #FF9A3C;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  box-shadow: 0 0 30px rgba(255, 66, 0, 0.35);
}
.maintenance-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.maintenance-msg {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #B89B94;
  margin-bottom: 26px;
}
.maintenance-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.btn-maint-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  transition: all 0.2s ease;
}
.btn-maint-wa {
  background: rgba(37, 211, 102, 0.15);
  border: 1.5px solid rgba(37, 211, 102, 0.45);
  color: #4ade80;
}
.btn-maint-wa:hover {
  background: #25d366;
  color: #140406;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
}
.maintenance-footnote {
  font-size: 0.74rem;
  color: #8B6C64;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Owner Maintenance Toggle Button */
.btn-maintenance-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Outfit', sans-serif;
  user-select: none;
}
.btn-maintenance-toggle.is-online {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}
.btn-maintenance-toggle.is-online:hover {
  background: rgba(16, 185, 129, 0.22);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.35);
}
.btn-maintenance-toggle.is-online .maint-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}
.btn-maintenance-toggle.is-active {
  background: rgba(239, 68, 68, 0.16);
  border: 1.5px solid #ef4444;
  color: #fca5a5;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.35);
  animation: maintAlertPulse 1.8s infinite;
}
@keyframes maintAlertPulse {
  0% { box-shadow: 0 0 6px rgba(239, 68, 68, 0.3); }
  50% { box-shadow: 0 0 18px rgba(239, 68, 68, 0.7); }
  100% { box-shadow: 0 0 6px rgba(239, 68, 68, 0.3); }
}
.btn-maintenance-toggle.is-active .maint-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 10px #ef4444;
}

/* Card Bottom pricing & CTA */
.card-price-line {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}
.card-pricing-block {
  min-width: 0;
}
.card-instant-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand-cyan);
  background: rgba(255, 107, 15, 0.10);
  border: 1px solid rgba(255, 107, 15, 0.28);
  padding: 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.card-instant-tag svg { width: 11px; height: 11px; }
.card-price-ars {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 0 18px rgba(255, 107, 15, 0.25);
}
.card-price-usdt {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.btn-card-buy {
  width: 100%;
  height: 48px;
  background: var(--grad-btn-primary);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(232, 18, 26, 0.35);
  transition: all 0.2s ease;
}
.btn-card-buy:hover {
  box-shadow: 0 6px 20px rgba(232, 18, 26, 0.55);
  transform: translateY(-2px);
}
.btn-card-buy:active {
  transform: translateY(0);
}

/* Producto sin saldo de proveedor: se muestra, pero no se puede comprar. */
.product-card.sin-stock {
  /* El apagado va sobre el CONTENIDO, no sobre la tarjeta entera: con
     `opacity` en la tarjeta se volvía translúcida y el fondo de marca se
     colaba por detrás del texto. La superficie queda opaca. */
  filter: grayscale(0.85);
  cursor: not-allowed;
}
.product-card.sin-stock > * {
  opacity: 0.55;
}
.product-card.sin-stock:hover {
  transform: none;
  border-color: var(--border-card);
  box-shadow: none;
}
.card-tag-agotado {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #7f1d1d;
  color: #fecaca;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 8px;
  text-transform: uppercase;
  z-index: 2;
}
.btn-card-buy.agotado {
  background: rgba(184, 155, 148, 0.18);
  color: #B89B94;
  box-shadow: none;
  cursor: not-allowed;
}
.btn-card-buy.agotado:hover {
  transform: none;
  box-shadow: none;
}

/* ==========================================================================
   6. CHECKOUT BOTTOM SHEET / MODAL (MOBILE-FIRST)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 9, 18, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 16px;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-sheet-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-mint);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px 26px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6), 0 0 30px var(--mint-glow);
  position: relative;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-sheet-card {
  transform: translateY(0) scale(1);
}

/* Drag handle on mobile */
.sheet-drag-handle {
  display: none;
  width: 44px;
  height: 4px;
  border-radius: 2px;
  background: var(--text-dark);
  margin: -8px auto 14px;
}

.sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.sheet-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sheet-badge-mini {
  width: 38px;
  height: 38px;
}
.sheet-title {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.1;
}
.sheet-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.sheet-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.15s ease;
}
.sheet-close-btn:hover { color: #fff; }

/* Order Summary Box */
.sheet-summary-box {
  background: #1C0A06;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 18px;
}
.summary-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.summary-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.summary-item-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}
.summary-player-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.summary-player-sub b {
  color: var(--text-secondary);
}
.summary-qty-badge {
  background: rgba(255, 149, 87, 0.12);
  border: 1px solid var(--border-cyan);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--cyan-primary);
}

.summary-divider {
  height: 1px;
  background: dashed var(--border-subtle);
  margin: 12px 0;
}

.summary-pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.price-title {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.price-val-ars {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--mint-light);
}
.price-usdt-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(240, 185, 11, 0.12);
  border: 1px solid rgba(240, 185, 11, 0.4);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 800;
  color: #f0b90b;
}
.binance-mini-logo {
  width: 16px;
  height: 16px;
}

/* Gateway Selector Tabs */
.gateway-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}
.gateway-option {
  background: #220D08;
  border: 1.5px solid var(--border-subtle);
  border-radius: 14px;
  padding: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  transition: all 0.2s ease;
}
.gateway-option input[type="radio"] {
  display: none;
}
.gateway-option:hover {
  border-color: var(--text-dark);
}
.gateway-option.active {
  border-color: var(--mint-primary);
  background: rgba(0, 210, 160, 0.08);
  box-shadow: 0 0 16px var(--mint-glow);
}
.gateway-option[data-gateway="binance"].active {
  border-color: #f0b90b;
  background: rgba(240, 185, 11, 0.08);
  box-shadow: 0 0 16px rgba(240, 185, 11, 0.3);
}

.gateway-content {
  display: flex;
  align-items: center;
  gap: 10px;
}
.gateway-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.gateway-icon-wrap.mint { background: rgba(0, 210, 160, 0.15); color: var(--mint-primary); }
.gateway-icon-wrap.gold { background: rgba(240, 185, 11, 0.15); color: #f0b90b; }

.gateway-meta {
  display: flex;
  flex-direction: column;
}
.gateway-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
}
.gateway-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.gateway-check {
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: color 0.2s ease;
}
.gateway-option.active .gateway-check {
  color: var(--mint-primary);
}
.gateway-option[data-gateway="binance"].active .gateway-check {
  color: #f0b90b;
}

/* Gateway Details */
.gateway-details-card {
  animation: slideFadeIn 0.25s ease;
}

.gateway-instructions {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 14px;
}

.alias-copy-box {
  background: #1A0906;
  border: 1px solid var(--border-mint);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s ease;
}
.alias-copy-box:hover {
  background: #260E08;
  border-color: var(--mint-light);
}
.alias-left {
  display: flex;
  flex-direction: column;
}
.alias-label {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.alias-text {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--mint-primary);
}
.alias-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 210, 160, 0.15);
  color: var(--mint-light);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
}
.alias-holder {
  font-size: 0.75rem;
  color: var(--text-dark);
  margin: 8px 0 20px 4px;
}

.btn-primary-checkout {
  width: 100%;
  height: 52px;
  background: var(--grad-btn-primary);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(232, 18, 26, 0.45);
  transition: all 0.25s ease;
}
.btn-primary-checkout:hover {
  box-shadow: 0 8px 25px rgba(0, 210, 160, 0.45);
}
.btn-primary-checkout:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* ==========================================================================
   BINANCE PAY VIEW
   ========================================================================== */
.binance-pay-box {
  background: #1C0A06;
  border: 1.5px solid rgba(240, 185, 11, 0.4);
  border-radius: var(--radius-md);
  padding: 16px;
}

.binance-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.binance-logo-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #f0b90b;
}
.binance-timer {
  background: rgba(240, 185, 11, 0.15);
  color: #f0b90b;
  font-family: monospace;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
}

.binance-amount-box {
  text-align: center;
  background: rgba(240, 185, 11, 0.05);
  border: 1px dashed rgba(240, 185, 11, 0.3);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 14px;
}
.amount-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.amount-val-usdt {
  font-size: 1.7rem;
  font-weight: 900;
  color: #fff;
  margin: 2px 0;
}
.crypto-tag {
  color: #f0b90b;
  font-size: 1.1rem;
}
.amount-rate-note {
  font-size: 0.72rem;
  color: var(--text-dark);
}

.binance-qr-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.qr-canvas-wrap {
  width: 110px;
  height: 110px;
  min-width: 110px;
  background: #fff;
  border-radius: 12px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.binance-qr-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.binance-id-block {
  flex: 1;
}
.id-label {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.id-copy-row {
  background: #2C100A;
  border: 1px solid rgba(240, 185, 11, 0.4);
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  margin-top: 2px;
  margin-bottom: 8px;
}
.pay-id-number {
  font-size: 1rem;
  font-weight: 900;
  color: #f0b90b;
  letter-spacing: 0.05em;
}
.id-copy-row i {
  color: var(--text-muted);
}
.order-ref-label {
  font-size: 0.7rem;
  color: var(--text-dark);
}
.order-ref-number {
  font-size: 0.8rem;
  font-family: monospace;
  font-weight: 700;
  color: var(--cyan-primary);
  display: block;
}

.btn-binance-app {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 44px;
  background: var(--grad-binance);
  color: #1e2026;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 12px;
  transition: transform 0.2s ease;
}
.btn-binance-app:hover {
  transform: translateY(-2px);
}

.binance-radar-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(34, 13, 8, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 12px;
  font-size: 0.78rem;
  color: var(--cyan-primary);
}
.radar-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--cyan-primary);
  box-shadow: 0 0 0 0 rgba(255, 149, 87, 0.7);
  animation: pulseCyan 1.5s infinite;
}
@keyframes pulseCyan {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 149, 87, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(255, 149, 87, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 149, 87, 0); }
}

.btn-check-binance {
  width: 100%;
  height: 44px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.btn-check-binance:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: var(--cyan-primary);
}

/* ==========================================================================
   7. SUCCESS CELEBRATION OVERLAY
   ========================================================================== */
.success-screen {
  text-align: center;
  padding: 16px 0 8px;
  animation: slideFadeIn 0.35s ease;
}
.success-sticker-wrap {
  width: 100px;
  height: 100px;
  margin: 0 auto 16px;
  animation: bounceSticker 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes bounceSticker {
  0% { transform: scale(0.4) rotate(-10deg); opacity: 0; }
  70% { transform: scale(1.1) rotate(5deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); }
}
.success-sticker-img {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 20px var(--mint-glow));
}
.success-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--mint-light);
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.success-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.success-receipt-card {
  background: #1A0906;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 20px;
  text-align: left;
}
.receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  margin-bottom: 8px;
}
.receipt-row:last-child { margin-bottom: 0; }
.receipt-row span { color: var(--text-muted); }
.receipt-id {
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--cyan-primary);
  font-weight: 700;
}

/* ==========================================================================
   8. TOASTS
   ========================================================================== */
.toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 90%;
  max-width: 400px;
  pointer-events: none;
}

.toast {
  background: #2C0F08;
  border: 1px solid var(--border-mint);
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
  animation: toastDrop 0.3s ease forwards;
}
.toast.error {
  border-color: #f43f5e;
  background: #1e0911;
  color: #fda4af;
}

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

/* ==========================================================================
   9. 500% RESPONSIVE MOBILE BREAKPOINTS
   ========================================================================== */

/* Tablets and small desktops */
@media (max-width: 992px) {
  .fleet-scroll-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Devices (< 768px) */
@media (max-width: 768px) {
  .store-nav {
    padding: 10px 12px;
  }
  .fleet-status-pill {
    padding: 5px 12px;
    gap: 8px;
  }
  .status-line-top {
    font-size: 0.65rem;
  }
  .status-line-time {
    font-size: 0.75rem;
  }
  .support-banner-section {
    padding: 0;
  }
  .support-banner-card {
    padding: 14px 16px;
    gap: 12px;
  }
  .support-title {
    font-size: 1rem;
  }
  .support-sub {
    font-size: 0.78rem;
  }
  .support-banner-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }
  .support-pill-btn {
    padding: 8px 10px;
    border-radius: 12px;
    gap: 6px;
  }
  .support-btn-top, .support-btn-bottom {
    font-size: 0.74rem;
  }
  .hero-welcome {
    display: none !important;
  }
  .glass-card.uid-card {
    padding: 20px 16px;
    border-radius: 18px;
  }
  .card-step-title {
    font-size: 1.15rem;
  }
  .card-step-sub {
    font-size: 0.8rem;
  }

  .hide-mobile {
    display: none !important;
  }

  .store-container {
    padding: 8px 12px 60px 12px;
  }

  .brand-main {
    font-size: 1.35rem;
  }

  /* UID inputs stacked on mobile */
  .uid-input-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Fleet horizontal swipe on mobile */
  .fleet-scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    gap: 12px;
  }
  .fleet-scroll-container::-webkit-scrollbar { display: none; }
  
  .fleet-card {
    min-width: 220px;
    flex: 0 0 220px;
    scroll-snap-align: start;
  }

  /* Products 2 columnas en mobile - estilo catálogo */
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  /* Convert checkout modal to App-like Bottom Sheet */
  .modal-backdrop {
    padding: 0;
    align-items: flex-end;
  }

  .modal-sheet-card {
    max-width: 100%;
    border-radius: 26px 26px 0 0;
    padding: 18px 18px calc(24px + var(--safe-bottom)) 18px;
    max-height: 92vh;
    transform: translateY(100%);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
  }

  .sheet-drag-handle {
    display: block;
  }

  .modal-backdrop.active .modal-sheet-card {
    transform: translateY(0);
  }

  .binance-qr-row {
    flex-direction: column;
    text-align: center;
  }
  .binance-id-block {
    width: 100%;
  }

  /* Toast stays visible below notch */
  .toast-container {
    top: 60px;
  }


  /* ── Catálogo compacto en celular ──────────────────────────────────────
     Misma tarjeta que en desktop, reordenada para que entren todos los
     productos sin scrollear media pantalla por cada uno: icono + nombre
     arriba, precio abajo, y la tarjeta entera hace de botón.            */
  .product-card {
    padding: 12px 11px;
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: flex-start;
    position: relative;
  }

  /* Lo que en celular sobra: ocupa alto y no aporta */
  .product-card .card-desc,
  .product-card .card-price-usdt,
  .product-card .btn-card-buy,
  .product-card .card-instant-tag,
  .product-card .price-dec {
    display: none;
  }

  /* En el catálogo compacto el precio va suelto, sin la línea separadora. */
  .product-card .card-price-line {
    display: block;
    margin-bottom: 0;
    padding-top: 0;
    border-top: none;
  }
  /* El aura del ícono es para la tarjeta grande; acá sólo ensucia. */
  .product-card .card-image-wrap::after { display: none; }
  .product-card::before { display: none; }

  /* Icono y nombre en una fila */
  .product-card .card-body {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
  }

  .product-card .card-image-wrap {
    width: 40px;
    height: 40px;
    min-height: 0;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    background: none;
    border: none;
    display: grid;
    place-items: center;
  }

  .product-card .card-thumb-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.45));
  }

  .product-card .card-title {
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    color: #fff;
    min-width: 0;
    word-break: break-word;
  }

  /* Los sellos flotan sobre la tarjeta: en celular el nombre pasaba por
     debajo y quedaba ilegible. Van en su propia franja arriba de todo y el
     cuerpo arranca despues. */
  .product-card .card-tag-agotado,
  .product-card .card-top-tag {
    top: 8px;
    right: 8px;
    font-size: 0.56rem;
    padding: 2px 6px;
    border-radius: 6px;
    max-width: calc(100% - 16px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .product-card:has(.card-tag-agotado) .card-body,
  .product-card:has(.card-top-tag) .card-body {
    margin-top: 16px;
  }

  .product-card .card-foot {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .product-card .card-pricing-block {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    display: block;
  }

  .product-card .card-price-ars {
    font-size: 1.12rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--brand-cyan);
  }

  /* La nota corta reemplaza a la descripción larga */
  .product-card .card-note {
    display: block;
    font-size: 0.69rem;
    color: var(--text-muted);
    line-height: 1.3;
  }

  /* Badge como chip en el flujo: arriba de todo, sin taparle el nombre */
  .product-card .card-top-tag {
    position: static;
    align-self: flex-start;
    margin: 0;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Tarjeta elegida: mismo azul de la marca */
  .product-card.selected {
    border-color: var(--brand-blue);
    background: linear-gradient(160deg, rgba(232, 18, 26, 0.18), var(--bg-card));
    box-shadow: 0 0 0 1px var(--brand-blue), 0 10px 30px rgba(232, 18, 26, 0.2);
  }

  .product-card .card-qty-row {
    margin: 4px 0 0;
    padding: 4px 8px;
  }
}
  /* Extra small screens (iPhone SE, etc < 380px) */
@media (max-width: 380px) {
  .brand-sub { display: none; }
  .gateway-selector { grid-template-columns: 1fr; }
}

/* ==========================================================================
   10. OWNER / ADMIN PANEL — MODERN FULL-HEIGHT RESPONSIVE SIDEBAR
   ========================================================================== */
:root {
  --dyz-dark: #0B0203;
  --dyz-mint: #E8121A;
  --dyz-cyan: #FF9A3C;
  --dyz-gold: #FFC42E;
  --dyz-surface: #16060A;
  --dyz-card: #1c070b;
  --dyz-border: rgba(232, 18, 26, 0.2);
}

.owner-layout {
  display: flex;
  min-height: 100vh;
  width: 100%;
  background: var(--bg-deep);
  position: relative;
}

/* Sidebar Full-Height Fixed: jamás se corta */
.owner-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 260px;
  height: 100vh;
  background: linear-gradient(180deg, #020614 0%, #1C0704 100%);
  border-right: 1px solid rgba(232, 18, 26, 0.22);
  box-shadow: 6px 0 30px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1000;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 18px 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(232, 18, 26, 0.35) transparent;
}

.owner-sidebar::-webkit-scrollbar {
  width: 4px;
}
.owner-sidebar::-webkit-scrollbar-thumb {
  background: rgba(232, 18, 26, 0.35);
  border-radius: 4px;
}

/* Brand Header en Sidebar */
.owner-brand-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px 16px 6px;
  border-bottom: 1px solid rgba(232, 18, 26, 0.18);
  margin-bottom: 14px;
}

.brand-emblem-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-sticker-img-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  border: 1.5px solid rgba(232, 18, 26, 0.5);
  box-shadow: 0 0 14px rgba(232, 18, 26, 0.4);
}

.btn-sidebar-close {
  display: none;
  background: transparent;
  border: none;
  color: #B89B94;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
}
.btn-sidebar-close:hover { color: #fff; }

/* Lista de Navegación */
.owner-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.owner-nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 14px;
  border-radius: 9px;
  color: #B89B94;
  font-size: 0.84rem;
  font-family: var(--font-mono);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
  user-select: none;
  border: 1px solid transparent;
}

.owner-nav-item svg {
  color: #8B6C64;
  transition: all 0.16s ease;
  flex-shrink: 0;
}

.owner-nav-item:hover {
  background: rgba(232, 18, 26, 0.1);
  color: #ffffff;
  border-color: rgba(232, 18, 26, 0.25);
  transform: translateX(3px);
}
.owner-nav-item:hover svg {
  color: #FF6B0F;
}

.owner-nav-item.active {
  background: linear-gradient(90deg, rgba(232, 18, 26, 0.22) 0%, rgba(232, 18, 26, 0.05) 100%);
  color: #ffffff;
  border: 1px solid rgba(232, 18, 26, 0.45);
  border-left: 4px solid #E8121A;
  box-shadow: 0 0 16px rgba(232, 18, 26, 0.25);
}

.owner-nav-item.active svg {
  color: #FF6B0F !important;
  filter: drop-shadow(0 0 8px rgba(255, 107, 15, 0.6));
}

/* Footer de Sidebar */
.owner-sidebar-footer {
  padding: 12px 6px 4px 6px;
  border-top: 1px solid rgba(232, 18, 26, 0.18);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.owner-user-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(26, 7, 4, 0.8);
  border: 1px solid rgba(232, 18, 26, 0.18);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.76rem;
  font-family: var(--font-mono);
}

.owner-footer-btns {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.btn-sidebar-store {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #FF9A3C;
  text-decoration: none;
  background: rgba(232, 18, 26, 0.12);
  border: 1px solid rgba(232, 18, 26, 0.3);
  padding: 6px 12px;
  border-radius: 7px;
  transition: all 0.15s ease;
}
.btn-sidebar-store:hover {
  background: rgba(232, 18, 26, 0.25);
  color: #fff;
  border-color: #FF6B0F;
}

.btn-sidebar-logout {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.25);
  color: #fb7185;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 7px;
  transition: all 0.15s ease;
}
.btn-sidebar-logout:hover {
  background: rgba(244, 63, 94, 0.22);
  color: #fff;
  border-color: #f43f5e;
}

/* Área Principal */
.owner-main-stage {
  margin-left: 260px;
  width: calc(100% - 260px);
  min-height: 100vh;
  padding: 28px 36px;
  background: var(--bg-deep);
  position: relative;
}

.owner-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}
.owner-page-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.3px;
}
.owner-page-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.owner-view-pane {
  display: none;
}
.owner-view-pane.active {
  display: block;
}

.panel-card {
  background: #200A06;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 22px;
}
.panel-card-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.data-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: #160503;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  font-family: var(--font-mono);
  text-align: left;
}
.data-table th {
  background: #240C07;
  color: var(--text-muted);
  font-weight: 700;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-subtle);
  text-transform: uppercase;
  font-size: 0.72rem;
}
.data-table td {
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
}
.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.input-field {
  width: 100%;
  height: 42px;
  background: #180604;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: #fff;
  padding: 0 12px;
  font-size: 0.85rem;
  font-family: var(--font-mono);
  outline: none;
}
.input-field:focus {
  border-color: #E8121A;
  box-shadow: 0 0 0 2px rgba(232, 18, 26, 0.2);
}

.btn-confirm-order, .btn-owner-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--grad-btn-primary);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Mobile Responsive Drawer & Backdrop */
.owner-mobile-topbar {
  display: none;
}

.sidebar-backdrop {
  display: none;
}

@media (max-width: 900px) {
  .owner-mobile-topbar {
    display: flex;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: #020614;
    border-bottom: 1px solid rgba(232, 18, 26, 0.25);
    z-index: 950;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
  }

  .owner-mobile-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #fff;
    font-weight: 900;
    font-size: 1.1rem;
  }

  .btn-hamburger {
    background: rgba(232, 18, 26, 0.12);
    border: 1px solid rgba(232, 18, 26, 0.3);
    color: #fff;
    border-radius: 7px;
    padding: 6px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .owner-sidebar {
    width: 270px;
    transform: translateX(-100%);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: none;
  }

  .owner-sidebar.mobile-open {
    transform: translateX(0);
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.85);
  }

  .btn-sidebar-close {
    display: block;
  }

  .sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 999;
  }

  .sidebar-backdrop.active {
    display: block;
  }

  .owner-main-stage {
    margin-left: 0;
    width: 100%;
    padding: 16px 14px 40px 14px;
  }
}


/* ==========================================================================
   11. ROCKETPASS-STYLE MODERN TABLE & PAGINATION FRAMEWORK (V4.0 ULTRA)
   ========================================================================== */

.rp-table-card {
  background: #1E0B07;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 36px -10px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Toolbar & Filter Bar */
.orders-toolbar-wrap {
  padding: 16px 20px;
  background: rgba(36, 15, 10, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.orders-toolbar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.orders-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.orders-title-text {
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.orders-kpi-badge {
  background: rgba(0, 230, 153, 0.12);
  border: 1px solid rgba(0, 230, 153, 0.3);
  color: #00e699;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
}

/* Quick Filter Status Chips */
.status-chips-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  overflow-x: auto;
  padding-bottom: 2px;
}

.status-chip {
  background: #290F09;
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #B89B94;
  font-size: 0.74rem;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-chip:hover {
  background: #42190F;
  color: #f1f5f9;
  border-color: rgba(255, 255, 255, 0.18);
}

.status-chip.active {
  background: rgba(232, 18, 26, 0.18);
  border-color: #E8121A;
  color: #FF9A3C;
  box-shadow: 0 0 14px rgba(232, 18, 26, 0.3);
}

.status-chip.chip-awaiting.active {
  background: rgba(255, 149, 87, 0.14);
  border-color: #FF9A3C;
  color: #FF9A3C;
  box-shadow: 0 0 10px rgba(255, 149, 87, 0.18);
}

.status-chip.chip-pending.active {
  background: rgba(255, 196, 46, 0.14);
  border-color: #FFC42E;
  color: #fbbf24;
  box-shadow: 0 0 10px rgba(255, 196, 46, 0.18);
}

.status-chip.chip-error.active {
  background: rgba(244, 63, 94, 0.14);
  border-color: #f43f5e;
  color: #fb7185;
  box-shadow: 0 0 10px rgba(244, 63, 94, 0.18);
}

.status-chip.chip-cancelled.active {
  background: rgba(239, 68, 68, 0.14);
  border-color: #ef4444;
  color: #f87171;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.18);
}

/* Controls Grid (Search + Filters) */
.orders-controls-bar {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 10px;
  align-items: center;
}

@media (max-width: 850px) {
  .orders-controls-bar {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .orders-controls-bar {
    grid-template-columns: 1fr;
  }
}

.search-input-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-box svg.search-icon {
  position: absolute;
  left: 12px;
  color: #8B6C64;
  pointer-events: none;
}

.search-field-modern {
  width: 100%;
  height: 38px;
  background: #180905;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #f8fafc;
  padding: 0 34px 0 34px;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  outline: none;
  transition: all 0.15s ease;
}

.search-field-modern:focus {
  border-color: #00e699;
  background: #200B06;
  box-shadow: 0 0 0 2px rgba(0, 230, 153, 0.15);
}

.search-clear-btn {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  color: #8B6C64;
  font-size: 14px;
  cursor: pointer;
  padding: 4px;
  display: none;
}
.search-clear-btn:hover { color: #fff; }

.select-modern {
  height: 38px;
  background: #180905;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #E1D0CB;
  padding: 0 12px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  outline: none;
  cursor: pointer;
  transition: all 0.15s ease;
}
.select-modern:focus {
  border-color: #00e699;
}

.btn-modern-refresh {
  height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(48, 21, 15, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn-modern-refresh:hover {
  background: rgba(0, 230, 153, 0.12);
  border-color: #00e699;
  color: #00e699;
}

/* Modern Data Table */
.rp-table-scroll {
  overflow-x: auto;
  width: 100%;
}

.rp-table-scroll::-webkit-scrollbar {
  height: 6px;
}
.rp-table-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

.rp-modern-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-align: left;
  min-width: 820px;
}

.rp-modern-table thead tr {
  background: rgba(44, 18, 12, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rp-modern-table th {
  padding: 12px 14px;
  color: #B89B94;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  user-select: none;
}

.rp-modern-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.12s ease;
}

.rp-modern-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.025);
}

.rp-modern-table td {
  padding: 10px 14px;
  vertical-align: middle;
  color: #e2e8f0;
}

/* UID Box */
.uid-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #140406;
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 2px 8px;
  border-radius: 6px;
  color: #fff;
  font-weight: 700;
  font-size: 0.76rem;
}

/* Status Badges */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 9999px;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge-status.badge-delivered {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #34d399;
}

.badge-status.badge-pending {
  background: rgba(255, 196, 46, 0.12);
  border: 1px solid rgba(255, 196, 46, 0.28);
  color: #fbbf24;
}

.badge-status.badge-awaiting {
  background: rgba(255, 149, 87, 0.12);
  border: 1px solid rgba(255, 149, 87, 0.28);
  color: #FF9A3C;
}

.badge-status.badge-error {
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.28);
  color: #fb7185;
}

.badge-status.badge-cancelled {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.28);
  color: #f87171;
}

/* Framework Action Buttons (REPLACING UGLY GREEN PILLS) */
.action-btn-group {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.btn-action-ghost {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(42, 19, 15, 0.75) !important;
  border: 1px solid rgba(85, 58, 51, 0.7) !important;
  color: #E1D0CB !important;
  padding: 5px 10px !important;
  border-radius: 7px !important;
  font-size: 0.74rem !important;
  font-family: var(--font-mono) !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn-action-ghost:hover {
  background: rgba(59, 35, 30, 0.95) !important;
  color: #fff !important;
  border-color: #B89B94 !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.btn-action-ghost:active { transform: scale(0.97); }

.btn-action-dispatch {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 196, 46, 0.12) !important;
  border: 1px solid rgba(255, 196, 46, 0.35) !important;
  color: #fbbf24 !important;
  padding: 5px 11px !important;
  border-radius: 7px !important;
  font-size: 0.74rem !important;
  font-family: var(--font-mono) !important;
  font-weight: 700 !important;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn-action-dispatch:hover {
  background: rgba(255, 196, 46, 0.25) !important;
  color: #fff !important;
  border-color: #FFC42E !important;
  box-shadow: 0 0 10px rgba(255, 196, 46, 0.3) !important;
}
.btn-action-dispatch:active { transform: scale(0.97); }

.btn-action-cancel {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(239, 68, 68, 0.12) !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
  color: #f87171 !important;
  padding: 5px 11px !important;
  border-radius: 7px !important;
  font-size: 0.74rem !important;
  font-family: var(--font-mono) !important;
  font-weight: 700 !important;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn-action-cancel:hover {
  background: rgba(239, 68, 68, 0.25) !important;
  color: #fff !important;
  border-color: #ef4444 !important;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.3) !important;
}
.btn-action-cancel:active { transform: scale(0.97); }

/* Table Pagination Footer (1:1 Exact RocketPass) */
.table-pagination-footer {
  padding: 12px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(30, 12, 8, 0.75);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
}

.pagination-counter {
  color: #B89B94;
  display: flex;
  align-items: center;
  gap: 4px;
}
.pagination-counter b {
  color: #fff;
  font-weight: 800;
}
.pagination-counter .highlight-num {
  color: #00e699;
  font-weight: 800;
}

.pagination-right-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pagesize-select-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #B89B94;
  font-size: 0.76rem;
}

.pagesize-select {
  height: 32px;
  background: #180905;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  color: #f1f5f9;
  padding: 0 8px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  outline: none;
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.pagesize-select:focus {
  border-color: #00e699;
}

.pagination-nav-group {
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-page-nav {
  height: 32px;
  padding: 0 10px;
  background: #240D08 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #E1D0CB !important;
  border-radius: 7px !important;
  font-size: 0.75rem !important;
  font-family: var(--font-mono) !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-page-nav:hover:not(:disabled) {
  background: #44190F !important;
  color: #fff !important;
  border-color: #00e699 !important;
}
.btn-page-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed !important;
}

.page-indicator-pill {
  height: 32px;
  background: #040912;
  border: 1px solid rgba(0, 230, 153, 0.35);
  color: #00e699;
  font-weight: 800;
  font-size: 0.76rem;
  padding: 0 12px;
  border-radius: 7px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}


/* ═══════════════ Panel de promos por ID (PagoStore) ═══════════════ */

.promo-panel {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(41, 13, 8, 0.95), rgba(28, 6, 4, 0.95));
  border: 1px solid var(--border-card);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.promo-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.promo-panel-title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: var(--brand-cyan);
}

.promo-panel-source {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  color: #B89B94;
}

.promo-panel-source.is-live {
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.45);
  background: rgba(52, 211, 153, 0.1);
}

.promo-panel-summary {
  margin: 10px 0 14px;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #D1A99F;
}

.promo-rule-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(246, 94, 59, 0.08);
  border: 1px solid rgba(246, 94, 59, 0.2);
  font-size: 0.78rem;
  color: #FDAC93;
  line-height: 1.4;
}

.promo-chips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 10px;
}

.promo-chip {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: rgba(42, 19, 15, 0.6);
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.promo-chip-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.promo-chip-diamonds {
  font-weight: 900;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 4px;
  color: #f8fafc;
}

.promo-chip-status {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: 6px;
}

.promo-chip-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 0.75rem;
}

.promo-chip--free {
  border-color: rgba(52, 211, 153, 0.45);
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.08), rgba(16, 185, 129, 0.03));
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.08);
}

.promo-chip--free .promo-chip-status {
  background: rgba(52, 211, 153, 0.2);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.4);
}

.promo-chip--free .promo-chip-diamonds {
  color: #6ee7b7;
}

.promo-chip--used {
  border-color: rgba(184, 155, 148, 0.15);
  background: rgba(42, 19, 15, 0.4);
  opacity: 0.6;
}

.promo-chip--used .promo-chip-status {
  background: rgba(184, 155, 148, 0.1);
  color: #B89B94;
  border: 1px solid rgba(184, 155, 148, 0.2);
}

.promo-chip--used .promo-chip-diamonds {
  color: #8B6C64;
  text-decoration: line-through;
}

.promo-chip-price {
  font-weight: 800;
  font-size: 0.78rem;
  color: #f1f5f9;
}

.promo-chip-price s {
  opacity: 0.5;
  margin-right: 5px;
  font-weight: 500;
  color: #B89B94;
}

/* Las promos libres son botones: se tocan y abren el modal de WhatsApp. */
.promo-chip--clickable {
  width: 100%;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  appearance: none;
}

.promo-chip--clickable:hover,
.promo-chip--clickable:focus-visible {
  border-color: rgba(52, 211, 153, 0.85);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.22);
  outline: none;
}

.promo-chip--clickable:active {
  transform: translateY(0);
}

.promo-chip--used {
  cursor: default;
}

.promo-chip--used:hover {
  transform: none;
}

.promo-chip-cta {
  font-size: 0.68rem;
  font-weight: 800;
  color: #34d399;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.promo-panel-hint {
  margin: 12px 0 0;
  font-size: 0.76rem;
  color: var(--text-muted);
  text-align: center;
}



@media (max-width: 520px) {
  .promo-chips { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .support-banner-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .support-banner-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .support-pill-btn {
    justify-content: center;
    padding: 8px 6px;
  }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.animate-spin {
  animation: spin 1s linear infinite;
  display: inline-block;
}


/* ==================== MARCA SPICYSHOP ==================== */
.brand-wordmark-img {
  /* El wordmark de SpicyShop es mas ancho y con mas detalle que el anterior:
     a 46px las letras del "SHOP" se empastaban. */
  height: 58px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 14px var(--brand-blue-glow));
}
.brand-tagline {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.42em;
  color: var(--text-secondary);
  text-align: center;
  margin-top: -2px;
  /* El letter-spacing agrega un hueco despues de la ultima letra y corre el
     texto a la izquierda. Se compensa para que quede centrado bajo el logo. */
  margin-right: -0.42em;
  text-shadow: 0 0 10px var(--brand-cyan-glow);
}
@media (max-width: 480px) {
  .brand-wordmark-img { height: 42px; }
  .brand-tagline { font-size: 0.5rem; letter-spacing: 0.3em; }
}

/* Aura neón azul alrededor de botones primarios y diamantes */
.btn-primary-glow, .btn-confirm-order, .btn-verify-uid {
  box-shadow: 0 0 0 1px rgba(232, 18, 26, 0.35),
              0 8px 26px rgba(232, 18, 26, 0.35),
              0 0 42px rgba(255, 107, 15, 0.22);
}

/* ==========================================================================
   FONDO DE MARCA — arte SPICYSHOP detrás de toda la tienda
   El archivo va en: static/assets/bg_spicyshop.jpg
   Si no está, no se rompe nada: queda el negro --bg-deep de siempre.
   ========================================================================== */
html {
  background-color: var(--bg-deep);
  background-image: url("/static/assets/bg_spicyshop.jpg?v=5");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* El body deja ver el arte de html. Sin esto lo taparía. */
body {
  background-color: transparent;
}

/* Velo oscuro: el arte tiene zonas muy claras (los diamantes, la corona) y
   sin esto el texto blanco de las tarjetas se vuelve ilegible al pasar por
   encima. Más oscuro en el centro, que es donde va la columna de contenido. */
body::before {
  background:
    linear-gradient(90deg,
      rgba(11, 2, 3, 0.10) 0%,
      rgba(11, 2, 3, 0.30) 12%,
      rgba(11, 2, 3, 0.86) 26%,
      rgba(11, 2, 3, 0.90) 50%,
      rgba(11, 2, 3, 0.86) 74%,
      rgba(11, 2, 3, 0.30) 88%,
      rgba(11, 2, 3, 0.10) 100%),
    radial-gradient(circle at 50% -10%, rgba(232, 18, 26, 0.22) 0%, transparent 60%),
    radial-gradient(circle at 90% 20%, rgba(255, 107, 15, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 10% 75%, rgba(158, 14, 20, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, transparent 72%, rgba(21, 2, 1, 0.96) 100%);
}

/* La barra de arriba tapaba el arte con su propio fondo. */
.store-header {
  background: linear-gradient(180deg, rgba(11, 2, 3, 0.92) 0%, rgba(11, 2, 3, 0.72) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

@media (max-width: 768px) {
  /* En celular la columna ocupa casi todo el ancho: del arte se ve muy poco
     y lo que se ve queda justo debajo del texto. Se oscurece más parejo. */
  body::before {
    background:
      linear-gradient(180deg,
        rgba(11, 2, 3, 0.78) 0%,
        rgba(11, 2, 3, 0.93) 30%,
        rgba(11, 2, 3, 0.95) 100%),
      radial-gradient(circle at 50% -10%, rgba(232, 18, 26, 0.20) 0%, transparent 60%);
  }

  /* `fixed` en iOS Safari rinde pésimo y hace saltar el scroll. */
  html {
    background-attachment: scroll;
    background-position: center top;
  }
}

/* ==========================================================================
   ACENTOS DORADOS — mas presencia del oro de la marca SPICYSHOP
   Criterio: el AZUL sigue siendo el color de accion (botones de compra,
   "Verificar Cuenta"); el DORADO pasa a ser el color del valor — precios,
   numero de paso, categoria elegida, sellos. Asi el oro gana peso visual
   sin competirle al boton que el cliente tiene que apretar.
   ========================================================================== */

/* El precio es lo que mas mira el cliente: va en oro. */
.card-price-ars {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold-primary);
  text-shadow: none;
  filter: drop-shadow(0 2px 10px var(--gold-glow));
}

/* Los circulos "1" y "2" de los pasos. */
.step-num-badge {
  background: var(--grad-gold);
  color: #160405;
  box-shadow: 0 6px 18px var(--gold-glow);
}

/* Categoria elegida en el catalogo. */
.cat-pill.active {
  background: var(--grad-gold);
  color: #160405;
  box-shadow: 0 6px 20px var(--gold-glow);
}
.cat-pill.active .cat-pill-count {
  background: rgba(10, 15, 28, 0.22);
  border-color: rgba(10, 15, 28, 0.30);
  color: #160405;
}
.cat-pill:hover:not(.active) {
  color: var(--gold-primary);
  background: rgba(255, 196, 46, 0.08);
}

/* Sello "AL INSTANTE": era cian, se pierde entre tanto azul. */
.card-instant-tag {
  color: var(--gold-primary);
  background: rgba(255, 196, 46, 0.10);
  border-color: rgba(255, 196, 46, 0.30);
}

/* La tarjeta se ilumina en oro al pasar por encima y al quedar elegida. */
.product-card:hover {
  border-color: rgba(255, 196, 46, 0.55);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--gold-glow);
}
.product-card.selected {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 1px var(--gold-primary), 0 12px 34px var(--gold-glow);
}

/* En celular el precio estaba forzado a cian: se alinea con el oro. */
@media (max-width: 768px) {
  .product-card .card-price-ars {
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--gold-primary);
  }
  .product-card.selected {
    background: linear-gradient(160deg, rgba(255, 196, 46, 0.14), var(--bg-card));
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 1px var(--gold-primary), 0 10px 30px var(--gold-glow);
  }
}
