/* Variables de colores para el tema Neón Blanco y Negro Minimalista */
:root {
  --bg-color: #050505;
  --card-bg: rgba(17, 17, 17, 0.75);
  --card-hover: rgba(26, 26, 26, 0.95);
  --text-color: #ffffff;
  --text-muted: #8e8e8e;
  --neon-glow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #ffffff, 0 0 40px #ffffff;
  --neon-glow-soft: 0 0 12px rgba(255, 255, 255, 0.45);
  --neon-border: 0 0 10px rgba(255, 255, 255, 0.8);
  --accent-glow: 0 0 15px rgba(255, 255, 255, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Barra de Anuncios Superior */
#announcementBar {
  background: #000;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.5px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-shadow: 0 0 8px #fff;
  z-index: 101;
  position: relative;
}

#announcementBar.active {
  display: flex;
}

/* Canvas de Fondo con Objetos Flotantes Neón */
#neonCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* Orbes difuminados de ambiente */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
  background: #ffffff;
  animation: floatAmbient 12s ease-in-out infinite alternate;
}

.glow-1 {
  width: 350px;
  height: 350px;
  top: 10%;
  left: 15%;
}

.glow-2 {
  width: 400px;
  height: 400px;
  bottom: 15%;
  right: 10%;
  animation-delay: -6s;
}

@keyframes floatAmbient {
  0% { transform: translate(0, 0) scale(1); opacity: 0.12; }
  50% { transform: translate(40px, -30px) scale(1.15); opacity: 0.22; }
  100% { transform: translate(-30px, 40px) scale(0.14); opacity: 0.14; }
}

header, .hero, .stats, .features-section, .container, .reviews-section, .faq-section, footer, dialog, .toast, .admin-bar, .cart-drawer {
  position: relative;
  z-index: 1;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #080808;
}
::-webkit-scrollbar-thumb {
  background: #282828;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #ffffff;
  box-shadow: 0 0 10px #ffffff;
}

/* Encabezado de la página (Header) */
header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px 40px;
  background-color: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(255, 255, 255, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  justify-self: start;
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: var(--neon-glow);
  letter-spacing: 3px;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.03);
}

.logo-dot {
  width: 8px;
  height: 8px;
  background: #fff;
  box-shadow: var(--neon-glow);
  border-radius: 50%;
  display: inline-block;
}

#desktopNav {
  justify-self: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 6px 22px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 30px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  align-items: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.4px;
  transition: all 0.25s ease;
  position: relative;
  padding: 4px 6px;
}

nav a:hover, nav a.active {
  color: var(--text-color);
  text-shadow: 0 0 10px #fff;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #00ff88;
  box-shadow: 0 0 8px #00ff88;
  transition: width 0.25s ease;
  border-radius: 2px;
}

nav a:hover::after, nav a.active::after {
  width: 80%;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s ease;
  user-select: none;
  background: rgba(15, 15, 15, 0.8);
  backdrop-filter: blur(8px);
  color: #ddd;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.badge:hover {
  border-color: #fff;
  color: #fff;
  box-shadow: var(--neon-border);
  background: rgba(30, 30, 30, 0.9);
}

/* Botón de Carrito con Contador Neón */
.cart-btn {
  border: 1px solid #fff;
  color: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
  position: relative;
}

.cart-count-bubble {
  background: #fff;
  color: #000;
  font-size: 0.72rem;
  font-weight: 900;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px #fff;
}

/* Desplegables de Cabecera */
.dropdown-wrapper {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(12, 12, 12, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.9), 0 0 15px rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  min-width: 155px;
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 1000;
  animation: dropdownFade 0.2s ease;
}

.dropdown-menu.show {
  display: flex;
}

@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-option {
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ccc;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.dropdown-option:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-shadow: 0 0 8px #fff;
}

/* ==========================================================
   DRAWER LATERAL DE LA CESTA DE COMPRA (SHOPPING CART)
========================================================== */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 1100;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cart-overlay.show {
  display: block;
  opacity: 1;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  background: rgba(12, 12, 12, 0.98);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.9), 0 0 30px rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(24px);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.show {
  transform: translateX(0);
}

.cart-header {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.cart-header h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 800;
  text-shadow: var(--neon-glow);
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-items-container {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: flex;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 14px;
  align-items: center;
  transition: 0.2s;
}

.cart-item:hover {
  border-color: rgba(255, 255, 255, 0.35);
}

.cart-item-img {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  object-fit: cover;
  background: #000;
  border: 1px solid #333;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-title {
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  color: #aaa;
  font-size: 0.85rem;
  margin-top: 3px;
}

.cart-qty-ctrls {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.qty-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

.qty-btn:hover {
  background: #fff;
  color: #000;
}

.qty-val {
  font-size: 0.85rem;
  font-weight: 700;
  min-width: 18px;
  text-align: center;
}

.cart-item-remove {
  background: transparent;
  border: none;
  color: #666;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 6px;
  transition: 0.2s;
}

.cart-item-remove:hover {
  color: #ff4444;
}

.cart-footer {
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 10, 0.95);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-coupon-box {
  display: flex;
  gap: 8px;
}

.cart-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #aaa;
}

.cart-total-row {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 10px;
  margin-top: 5px;
  text-shadow: 0 0 10px #fff;
}

/* Barra flotante de Administrador Activo */
.admin-status-pill {
  position: fixed;
  bottom: 25px;
  left: 25px;
  background: rgba(15, 15, 15, 0.95);
  border: 1px solid #fff;
  box-shadow: var(--neon-glow);
  backdrop-filter: blur(14px);
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 700;
  display: none;
  align-items: center;
  gap: 12px;
  z-index: 999;
}

.admin-status-pill.active {
  display: flex;
}

.admin-status-dot {
  width: 8px;
  height: 8px;
  background: #00ff88;
  box-shadow: 0 0 8px #00ff88;
  border-radius: 50%;
}

.admin-pill-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: 0.2s;
}

.admin-pill-btn:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

/* Sección Principal (Hero) */
.hero {
  text-align: center;
  padding: 90px 20px 60px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ccc;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  margin-bottom: 22px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.08);
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  margin: 0 auto;
  text-shadow: var(--neon-glow);
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.hero p {
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-top: 18px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Barra de búsqueda Hero Trigger */
.search-box {
  max-width: 480px;
  margin: 35px auto 0;
  position: relative;
  cursor: pointer;
}

.search-input {
  width: 100%;
  padding: 13px 20px;
  background: rgba(17, 17, 17, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.search-input:focus {
  border-color: #fff;
  box-shadow: var(--neon-border);
  background: rgba(25, 25, 25, 0.95);
}

/* ==========================================================
   MODAL INTERACTIVO DE BÚSQUEDA FLOTANTE (SEARCH POPUP MODAL)
========================================================== */
.search-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2500;
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  align-items: flex-start;
  justify-content: center;
  padding: 50px 20px 30px;
  overflow-y: auto;
}

.search-modal-overlay.show {
  display: flex;
  opacity: 1;
}

.search-modal-box {
  background: rgba(12, 12, 12, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 45px rgba(255, 255, 255, 0.3), 0 20px 60px rgba(0,0,0,0.9);
  border-radius: 14px;
  width: 100%;
  max-width: 1060px;
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: searchModalSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes searchModalSlide {
  from { opacity: 0; transform: translateY(-20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.search-modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.search-modal-input-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.search-modal-icon {
  position: absolute;
  left: 16px;
  color: #888;
  pointer-events: none;
  font-size: 1rem;
}

.search-modal-input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  background: rgba(22, 22, 22, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  color: #fff;
  font-size: 1.05rem;
  outline: none;
  transition: 0.3s;
}

.search-modal-input:focus {
  border-color: #ffffff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
  background: #000;
}

.search-modal-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #aaa;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

.search-modal-close-btn:hover {
  background: #fff;
  color: #000;
  box-shadow: 0 0 10px #fff;
}

.search-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-height: 68vh;
  overflow-y: auto;
  padding-right: 4px;
}

@media (max-width: 980px) {
  .search-results-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 680px) {
  .search-results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .search-results-grid {
    grid-template-columns: 1fr;
  }
}

/* Estilos para Descripciones Ricas (Preserva Saltos de Línea y Formatos) */
.product-description-box {
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.65;
  font-size: 0.92rem;
  color: #ccc;
  background: rgba(255, 255, 255, 0.04);
  padding: 16px;
  border-radius: 8px;
  border-left: 3px solid #ffffff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
  margin: 16px 0;
  text-align: left;
}

.desc-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  padding: 8px;
  border-radius: 6px 6px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: none;
}

.desc-tool-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ddd;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}

.desc-tool-btn:hover {
  background: #fff;
  color: #000;
  box-shadow: 0 0 8px #fff;
}

/* Sección de Estadísticas */
.stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 60px;
  padding: 45px 20px;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  text-align: center;
  min-width: 140px;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0;
  text-shadow: 0 0 12px #fff;
}

.stat-item p {
  margin: 8px 0 0 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

/* Sección: Pilares de Valor (Why Choose Us) */
.features-section {
  padding: 60px 20px;
  background: rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-box {
  background: rgba(18, 18, 18, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 25px 20px;
  text-align: center;
  transition: 0.3s ease;
}

.feature-box:hover {
  border-color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.feature-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  font-weight: 800;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  display: inline-block;
  padding-bottom: 4px;
  margin-bottom: 12px;
}

.feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.feature-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Cuadrícula de Productos */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 20px;
}

.section-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
  text-align: center;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 900;
  margin: 0 auto;
  text-shadow: 0 0 14px #fff;
  letter-spacing: 1.5px;
  text-align: center;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

/* Estado Vacío de Productos */
.empty-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  background: rgba(17, 17, 17, 0.6);
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  backdrop-filter: blur(14px);
}

.empty-icon-text {
  font-size: 1.2rem;
  letter-spacing: 3px;
  font-weight: 800;
  color: #888;
  margin-bottom: 12px;
}

.empty-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 10px;
  text-shadow: 0 0 10px #fff;
}

.empty-desc {
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 25px;
  font-size: 0.95rem;
}

.product-card {
  background-color: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 22px 18px;
  text-align: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transition: 0.6s;
}

.product-card:hover::before {
  left: 100%;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.45);
  border-color: #ffffff;
  background-color: var(--card-hover);
}

.product-img-wrapper {
  width: 100%;
  height: 145px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 14px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-img {
  transform: scale(1.06);
}

.product-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.68rem;
  background: #000;
  border: 1px solid #444;
  padding: 3px 8px;
  border-radius: 4px;
  color: #aaa;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  z-index: 2;
}

.product-category-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.product-title {
  font-size: 1.05rem;
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 10px 0;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
}

.product-price del {
  font-size: 0.95rem;
  color: #666;
  text-shadow: none;
  margin-left: 8px;
  font-weight: 400;
}

.product-stock {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.stock-dot {
  width: 7px;
  height: 7px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 6px #fff;
  display: inline-block;
}

.card-action-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn {
  display: inline-block;
  padding: 12px 16px;
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 6px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn:hover {
  background: #fff;
  color: #000;
  box-shadow: var(--neon-glow);
}

.btn-primary {
  background: #fff;
  color: #000;
}

.btn-primary:hover {
  background: #f0f0f0;
  box-shadow: var(--neon-glow);
}

/* Sección de Reseñas Dinámicas */
.reviews-section {
  background: rgba(8, 8, 8, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 70px 20px;
  backdrop-filter: blur(12px);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 30px auto 0;
}

.review-card {
  background: rgba(18, 18, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 24px;
  transition: 0.3s;
}

.review-card:hover {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.reviewer-name {
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
}

.review-stars {
  color: #fff;
  text-shadow: 0 0 6px #fff;
  font-size: 0.85rem;
  letter-spacing: 2px;
}

.review-text {
  color: #aaa;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Sección de FAQ (Preguntas Frecuentes) */
.faq-section {
  padding: 70px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 35px;
}

.faq-item {
  background: rgba(18, 18, 18, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  overflow: hidden;
  transition: 0.3s;
}

.faq-item[open] {
  border-color: #ffffff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.faq-summary {
  padding: 18px 24px;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary::after {
  content: '+';
  font-size: 1.4rem;
  transition: transform 0.3s;
}

.faq-item[open] .faq-summary::after {
  content: '−';
}

.faq-content {
  padding: 0 24px 20px;
  color: #aaa;
  font-size: 0.92rem;
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 5px;
  padding-top: 15px;
}

/* Badges de Métodos de Pago en Footer */
.payment-methods-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 25px;
}

.payment-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ccc;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.5px;
}

.payment-pill:hover {
  border-color: #fff;
  color: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* ==========================================================
   MODAL DE PASARELA DE PAGO (CHECKOUT GATEWAY)
========================================================== */
.gateway-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 20px 0;
}

.gateway-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ccc;
  padding: 12px 8px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: 0.2s;
}

.gateway-tab-btn:hover, .gateway-tab-btn.active {
  background: #fff;
  color: #000;
  border-color: #fff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.gateway-tab-content {
  display: none;
  text-align: left;
  margin-top: 15px;
}

.gateway-tab-content.active {
  display: block;
}

.crypto-qr-box {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  margin: 15px 0;
}

.qr-code-mock {
  width: 140px;
  height: 140px;
  background: #fff;
  border-radius: 8px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: 900;
  font-size: 1.5rem;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.crypto-address-bar {
  display: flex;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  overflow: hidden;
}

.crypto-address-bar input {
  background: transparent;
  border: none;
  color: #fff;
  padding: 10px 14px;
  font-family: monospace;
  font-size: 0.85rem;
  flex: 1;
  outline: none;
}

/* ==========================================================
   PANEL DEL CLIENTE REDISEÑADO (CUSTOMER PORTAL 4.5.0)
========================================================== */
dialog.portal-dialog {
  max-width: 960px;
  width: 95vw;
  padding: 0;
  border-radius: 20px;
  border: 1px solid rgba(0, 255, 136, 0.22);
  background: linear-gradient(135deg, rgba(16, 20, 26, 0.98), rgba(8, 10, 14, 0.99));
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 45px rgba(0, 255, 136, 0.1);
  overflow: hidden;
  position: relative;
}

.portal-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 10;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.portal-modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #fff;
  transform: rotate(90deg);
}

.portal-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 560px;
}

/* SIDEBAR DEL PORTAL */
.portal-sidebar {
  background: rgba(0, 0, 0, 0.45);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(10px);
}

.portal-user-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  margin-bottom: 22px;
}

.portal-avatar-wrap {
  position: relative;
}

.portal-avatar-circle {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #00ff88, #00b4d8);
  color: #05080c;
  font-weight: 900;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(0, 255, 136, 0.4);
}

.portal-avatar-status {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #00ff88;
  border: 2px solid #111;
  box-shadow: 0 0 8px #00ff88;
}

.portal-user-info {
  flex: 1;
  min-width: 0;
}

.portal-user-name-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.portal-user-name-wrap h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.portal-vip-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(0, 255, 136, 0.15);
  color: #00ff88;
  border: 1px solid rgba(0, 255, 136, 0.3);
}

.portal-user-info p {
  font-size: 0.75rem;
  color: #8892b0;
  margin: 3px 0 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.portal-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.portal-nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: transparent;
  border: 1px solid transparent;
  color: #a0aec0;
  padding: 12px 14px;
  border-radius: 10px;
  text-align: left;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.portal-nav-btn .pnav-icon {
  font-size: 1.1rem;
}

.portal-nav-btn .pnav-text {
  flex: 1;
}

.portal-nav-btn .pnav-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.portal-nav-btn .pnav-badge.green {
  background: rgba(0, 255, 136, 0.2);
  color: #00ff88;
  border: 1px solid rgba(0, 255, 136, 0.4);
}

.portal-nav-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  transform: translateX(4px);
  border-color: rgba(255, 255, 255, 0.08);
}

.portal-nav-btn.active {
  background: linear-gradient(90deg, rgba(0, 255, 136, 0.15), rgba(0, 255, 136, 0.02));
  color: #fff;
  font-weight: 700;
  border: 1px solid rgba(0, 255, 136, 0.35);
  border-left: 3px solid #00ff88;
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.1);
}

.portal-sidebar-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.portal-logout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ff6b6b;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.portal-logout-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #fff;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.3);
}

/* MAIN BODY DEL PORTAL */
.portal-body {
  padding: 28px 30px;
  overflow-y: auto;
  max-height: 620px;
  background: transparent;
}

.portal-tab-content {
  display: none;
}

.portal-tab-content.active {
  display: block;
}

.portal-pane-header {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.portal-pane-header h4 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.portal-pane-header p {
  margin: 4px 0 0 0;
  font-size: 0.82rem;
  color: #8892b0;
}

/* WELCOME BANNER */
.portal-welcome-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.08), rgba(0, 180, 216, 0.03));
  border: 1px solid rgba(0, 255, 136, 0.25);
  border-radius: 14px;
  margin-bottom: 22px;
}

.portal-welcome-banner .welcome-text h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.portal-welcome-banner .welcome-text p {
  margin: 4px 0 0 0;
  font-size: 0.82rem;
  color: #cbd5e1;
}

.welcome-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #00ff88;
  background: rgba(0, 255, 136, 0.12);
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid rgba(0, 255, 136, 0.3);
  white-space: nowrap;
}

/* STATS GRID */
.portal-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.portal-stat-box {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.25s ease;
}

.portal-stat-box:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 255, 136, 0.3);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.portal-stat-box .stat-icon {
  font-size: 1.6rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.portal-stat-box.stat-orders .stat-icon { border-color: rgba(59, 130, 246, 0.35); }
.portal-stat-box.stat-spent .stat-icon { border-color: rgba(0, 255, 136, 0.35); }
.portal-stat-box.stat-date .stat-icon { border-color: rgba(168, 85, 247, 0.35); }

.portal-stat-box .stat-meta span {
  font-size: 0.74rem;
  color: #8892b0;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.portal-stat-box .stat-meta strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  margin-top: 3px;
}

.portal-section-header h5 {
  margin: 0 0 12px 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
}

.portal-latest-box {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
}

.portal-security-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}

.portal-security-card.danger-zone {
  background: rgba(239, 68, 68, 0.04);
  border-color: rgba(239, 68, 68, 0.3);
}

.sec-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 1px solid;
  flex-shrink: 0;
}

.portal-security-card h5 {
  margin: 0 0 6px 0;
  font-size: 0.98rem;
  color: #fff;
  font-weight: 700;
}

.portal-security-card p {
  margin: 0;
  font-size: 0.82rem;
  color: #8892b0;
  line-height: 1.45;
}

/* FORMULARIO CREAR TICKET EN PORTAL */
.portal-new-ticket-box {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.05), rgba(0, 0, 0, 0.5));
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 22px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.form-ticket-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 800;
  color: #00ff88;
  margin-bottom: 16px;
}

/* TARJETAS DE PEDIDOS Y TICKETS */
.order-card-row {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  transition: all 0.25s ease;
}

.order-card-row:hover {
  border-color: rgba(0, 255, 136, 0.35);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

@media (max-width: 860px) {
  .portal-wrapper {
    grid-template-columns: 1fr;
  }
  .portal-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .portal-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Modales Globales */
dialog {
  background: rgba(15, 15, 15, 0.97);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  color: #fff;
  border: 1px solid #fff;
  border-radius: 12px;
  padding: 35px;
  max-width: 580px;
  width: 92%;
  margin: auto;
  box-shadow: 0 0 45px rgba(255, 255, 255, 0.5);
  outline: none;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
}

.modal-close {
  float: right;
  background: transparent;
  border: none;
  color: #888;
  font-size: 1.5rem;
  cursor: pointer;
  transition: 0.2s;
}

.modal-close:hover {
  color: #fff;
  text-shadow: 0 0 8px #fff;
}

.modal-list {
  text-align: left;
  margin: 20px 0;
  padding-left: 0;
  list-style: none;
  color: #ccc;
}

.modal-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-list li::before {
  content: '✓';
  color: #fff;
  font-weight: 900;
  text-shadow: 0 0 8px #fff;
}

/* Previsualización de Imagen en Formulario Admin */
.img-preview-box {
  width: 100%;
  height: 120px;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.5);
  margin-top: 8px;
  position: relative;
}

.img-preview-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Estilos del Panel de Administración */
.admin-nav-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 12px;
  overflow-x: auto;
}

.admin-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #aaa;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.admin-tab-btn:hover, .admin-tab-btn.active {
  background: #fff;
  color: #000;
  border-color: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.admin-tab-content {
  display: none;
  text-align: left;
}

.admin-tab-content.active {
  display: block;
}

.admin-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  margin-bottom: 14px;
}

.admin-form-group label {
  font-size: 0.82rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.admin-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.admin-product-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 10px;
  gap: 12px;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.75rem;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  background: transparent;
  transition: 0.2s;
}

.btn-danger {
  border: 1px solid #ff4444;
  color: #ff4444;
}

.btn-danger:hover {
  background: #ff4444;
  color: #fff;
  box-shadow: 0 0 10px #ff4444;
}

.btn-edit {
  border: 1px solid #fff;
  color: #fff;
}

.btn-edit:hover {
  background: #fff;
  color: #000;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #000;
  color: #fff;
  border: 1px solid #fff;
  box-shadow: var(--neon-glow);
  padding: 13px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  transform: translateY(100px);
  opacity: 0;
  transition: 0.3s ease;
  z-index: 2000;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Pie de página (Footer) */
footer {
  text-align: center;
  padding: 50px 20px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 20px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  color: #777;
  text-decoration: none;
  font-size: 0.85rem;
  transition: 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.staff-link {
  color: #555 !important;
  cursor: pointer;
  font-size: 0.8rem !important;
  border: 1px dashed #333;
  padding: 2px 8px;
  border-radius: 4px;
  transition: 0.3s;
}

.staff-link:hover {
  color: #fff !important;
  border-color: #888;
}

/* Responsividad para móviles */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 18px;
    padding: 18px 20px;
  }
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }
  .admin-grid-2 {
    grid-template-columns: 1fr;
  }
  .portal-wrapper {
    grid-template-columns: 1fr;
  }
  .portal-stats-grid {
    grid-template-columns: 1fr;
  }
  .gateway-tabs {
    grid-template-columns: 1fr 1fr;
  }
  .stats {
    gap: 30px;
  }
  .hero h1 {
    font-size: 2.4rem;
  }
  .cart-drawer {
    max-width: 100vw;
  }
}


/* ==========================================================
   WIDGET Y MODAL DE ESTADO DE SERVICIOS (UPTIME STATUS)
========================================================== */
.uptime-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.35);
  color: #00ff88;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}

.uptime-badge:hover {
  background: rgba(0, 255, 136, 0.18);
  border-color: #00ff88;
  box-shadow: 0 0 12px rgba(0, 255, 136, 0.4);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #00ff88;
  border-radius: 50%;
  box-shadow: 0 0 8px #00ff88;
  display: inline-block;
  animation: uptimePulse 1.8s infinite ease-in-out;
}

@keyframes uptimePulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(0, 255, 136, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

.status-node-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.status-node-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status-node-title {
  font-weight: 700;
  color: #fff;
  font-size: 0.92rem;
}

.status-node-sub {
  font-size: 0.78rem;
  color: #888;
  margin-top: 2px;
}

.status-pill-ok {
  background: rgba(0, 255, 136, 0.1);
  color: #00ff88;
  border: 1px solid rgba(0, 255, 136, 0.4);
  padding: 4px 10px;
  border-radius: 14px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.uptime-bar-visual {
  display: flex;
  gap: 3px;
  margin-top: 14px;
}

.uptime-tick {
  flex: 1;
  height: 24px;
  background: #00ff88;
  border-radius: 2px;
  opacity: 0.85;
  transition: 0.2s;
}

.uptime-tick:hover {
  opacity: 1;
  transform: scaleY(1.15);
}

/* ==========================================================
   ESTILOS PREMIUM DE FACTURA / RECIBO IMPRIMIBLE & PDF
========================================================== */
.receipt-printable-box {
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 32px 36px;
  color: #ffffff;
  position: relative;
  box-shadow: 0 0 50px rgba(255, 255, 255, 0.15), 0 20px 60px rgba(0, 0, 0, 0.95);
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
}

.receipt-header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2px solid rgba(255, 255, 255, 0.18);
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.receipt-brand-title {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 3px;
  text-shadow: var(--neon-glow);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.receipt-sub-brand {
  font-size: 0.78rem;
  color: #888;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

.receipt-status-stamp {
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid #00ff88;
  color: #00ff88;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.receipt-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 24px;
}

.receipt-meta-block {
  font-size: 0.85rem;
}

.receipt-meta-label {
  color: #777;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 4px;
  display: block;
}

.receipt-meta-value {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.receipt-table-wrapper {
  margin: 24px 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.receipt-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.receipt-table th {
  background: rgba(255, 255, 255, 0.06);
  color: #aaa;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.receipt-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
  color: #ddd;
}

.receipt-summary-table {
  margin-left: auto;
  width: 280px;
  margin-top: 15px;
  margin-bottom: 24px;
}

.receipt-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.88rem;
  color: #aaa;
}

.receipt-total-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  margin-top: 6px;
  text-shadow: 0 0 10px #fff;
}

.receipt-key-container {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 18px 22px;
  margin: 24px 0 20px;
  position: relative;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05);
}

.receipt-key-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.receipt-key-label {
  color: #00ff88;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.receipt-key-val {
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 2px;
  word-break: break-all;
  background: rgba(255, 255, 255, 0.06);
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  margin: 6px 0;
}

.receipt-barcode {
  font-family: 'Courier New', monospace;
  letter-spacing: 4px;
  font-size: 0.95rem;
  color: #666;
  text-align: center;
  margin-top: 14px;
  user-select: none;
}

.receipt-footer-notes {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #777;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
  margin-top: 10px;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================
   ESTILOS DE IMPRESIÓN Y PDF NATIVO (@MEDIA PRINT)
========================================================== */
@media print {
  @page {
    size: A4 portrait;
    margin: 12mm;
  }

  body {
    background: #ffffff !important;
    color: #000000 !important;
  }

  body * {
    visibility: hidden !important;
  }

  #receiptModal, #receiptModal * {
    visibility: visible !important;
  }

  #receiptModal {
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: #ffffff !important;
    color: #000000 !important;
  }

  .receipt-printable-box {
    background: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #111111 !important;
    box-shadow: none !important;
    padding: 24px !important;
    border-radius: 4px !important;
  }

  .receipt-brand-title {
    color: #000000 !important;
    text-shadow: none !important;
  }

  .receipt-brand-title .logo-dot {
    background: #000000 !important;
    box-shadow: none !important;
  }

  .receipt-status-stamp {
    background: #f0fdf4 !important;
    border: 1px solid #16a34a !important;
    color: #16a34a !important;
    box-shadow: none !important;
  }

  .receipt-meta-grid {
    background: #fafafa !important;
    border: 1px solid #e5e5e5 !important;
  }

  .receipt-meta-label {
    color: #555555 !important;
  }

  .receipt-meta-value {
    color: #000000 !important;
  }

  .receipt-table-wrapper {
    border: 1px solid #e5e5e5 !important;
  }

  .receipt-table th {
    background: #f5f5f5 !important;
    color: #333333 !important;
    border-bottom: 1px solid #cccccc !important;
  }

  .receipt-table td {
    color: #000000 !important;
    border-bottom: 1px solid #e5e5e5 !important;
  }

  .receipt-total-row {
    color: #000000 !important;
    border-top: 2px solid #000000 !important;
    text-shadow: none !important;
  }

  .receipt-key-container {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: none !important;
  }

  .receipt-key-label {
    color: #047857 !important;
  }

  .receipt-key-val {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px dashed #94a3b8 !important;
  }

  .receipt-barcode {
    color: #333333 !important;
  }

  .receipt-footer-notes {
    color: #555555 !important;
    border-top: 1px solid #e5e5e5 !important;
  }

  .receipt-no-print {
    display: none !important;
  }
}

/* ==========================================================
   SISTEMA DE CALIFICACIÓN POR ESTRELLAS (STAR RATING)
========================================================== */
.star-rating-selector {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 6px;
  margin: 10px 0;
}

.star-rating-selector input {
  display: none;
}

.star-rating-selector label {
  font-size: 1.8rem;
  color: #444;
  cursor: pointer;
  transition: color 0.2s;
}

.star-rating-selector label:hover,
.star-rating-selector label:hover ~ label,
.star-rating-selector input:checked ~ label {
  color: #ffffff;
  text-shadow: 0 0 10px #ffffff;
}


/* ==========================================================
   ESTILOS PARA VERIFICADOR DE CLAVES (KEY CHECKER)
========================================================== */
.checker-search-wrap {
  display: flex;
  gap: 10px;
  margin: 20px 0;
}

.checker-input {
  flex: 1;
  padding: 14px 18px;
  background: rgba(22, 22, 22, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: #fff;
  font-family: monospace;
  font-size: 1.05rem;
  letter-spacing: 1.5px;
  outline: none;
  transition: 0.3s;
}

.checker-input:focus {
  border-color: #00ff88;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
}

.checker-result-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 22px;
  display: none;
  animation: dropdownFade 0.25s ease;
  margin-top: 15px;
}

.checker-result-box.active {
  display: block;
}

.checker-status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.checker-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.9rem;
  color: #aaa;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.checker-detail-row strong {
  color: #fff;
}

/* ==========================================================
   ESTILOS PARA GUÍAS Y TUTORIALES DE ACTIVACIÓN
========================================================== */
.guides-nav-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 12px;
  overflow-x: auto;
}

.guide-step-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid #fff;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 14px;
  transition: 0.2s;
}

.guide-step-card:hover {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.08);
}

.guide-step-num {
  font-size: 0.76rem;
  font-weight: 800;
  color: #00ff88;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.guide-step-title {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.guide-step-desc {
  color: #aaa;
  font-size: 0.88rem;
  line-height: 1.6;
}

.guide-download-box {
  background: #000;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
}


/* ==========================================================
   BANNER DE CUENTA ATRÁS NEÓN (FLASH SALE COUNTDOWN)
========================================================== */
.countdown-banner {
  background: linear-gradient(90deg, #050505, #111111, #050505);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.86rem;
  color: #fff;
  z-index: 102;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.countdown-badge-flash {
  background: #fff;
  color: #000;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 10px #fff;
}

.countdown-timer-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Consolas', monospace;
  font-weight: 900;
  font-size: 0.95rem;
  color: #00ff88;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.7);
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(0, 255, 136, 0.3);
}

.countdown-apply-btn {
  background: transparent;
  border: 1px solid #00ff88;
  color: #00ff88;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}

.countdown-apply-btn:hover {
  background: #00ff88;
  color: #000;
  box-shadow: 0 0 12px #00ff88;
}

/* ==========================================================
   ESTILOS DE LA BÓVEDA DE CLAVES (STOCK VAULT)
========================================================== */
.vault-stat-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.vault-stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 14px 16px;
}

.vault-keys-list {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  max-height: 240px;
  overflow-y: auto;
  padding: 12px;
  font-family: monospace;
  font-size: 0.85rem;
}

.vault-key-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #ccc;
}

.vault-key-row:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}


/* ==========================================================
   SISTEMA DE NAVEGACIÓN Y COMPONENTES MÓVILES (HAMBURGER & DRAWER)
========================================================== */
.mobile-menu-toggle-btn {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  width: 40px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  transition: all 0.3s ease;
  z-index: 105;
}

.mobile-menu-toggle-btn:hover {
  border-color: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.mobile-menu-toggle-btn .hamburger-bar {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle-btn.open .hamburger-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.mobile-menu-toggle-btn.open .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle-btn.open .hamburger-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 998;
}

.mobile-nav-overlay.show {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
  padding: 24px 20px;
  overflow-y: auto;
}

.mobile-nav-drawer.show {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-close-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: 0.2s;
}

.mobile-nav-close-btn:hover {
  border-color: #fff;
  box-shadow: 0 0 8px #fff;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.mobile-nav-link {
  color: #ddd;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 12px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
}

.mobile-nav-link:hover, .mobile-nav-link:active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  text-shadow: 0 0 8px #fff;
}

.mobile-nav-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
  margin-top: 20px;
}

.mobile-pref-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.85rem;
  color: #fff;
  cursor: pointer;
  flex: 1;
  text-align: center;
}

.search-header-btn {
  display: none;
}

/* ==========================================================
   REGLAS EXHAUSTIVAS DE RESPONSIVIDAD (MOBILE & TABLETS)
========================================================== */
@media (max-width: 992px) {
  header {
    padding: 14px 20px;
  }
  #desktopNav {
    display: none;
  }
  .header-desktop-dropdown {
    display: none;
  }
  .mobile-menu-toggle-btn {
    display: flex;
  }
  .search-header-btn {
    display: inline-flex;
  }
  .uptime-badge {
    padding: 5px 10px;
    font-size: 0.72rem;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
  }

  /* Prevenir zoom indeseado en inputs en iOS Safari */
  input, select, textarea {
    font-size: 16px !important;
  }

  /* Header compacto */
  header {
    padding: 12px 16px;
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .logo {
    font-size: 20px;
    letter-spacing: 2px;
  }

  .header-actions {
    gap: 8px;
  }

  .badge {
    padding: 6px 10px;
    font-size: 0.78rem;
  }

  .uptime-badge {
    display: none; /* Visible dentro del menú móvil */
  }

  /* Banner de Cuenta Atrás Neón Móvil */
  .countdown-banner {
    padding: 8px 12px;
    font-size: 0.76rem;
    gap: 8px;
    justify-content: center;
    text-align: center;
  }

  .countdown-timer-box {
    font-size: 0.82rem;
    padding: 3px 8px;
  }

  .countdown-apply-btn {
    padding: 4px 10px;
    font-size: 0.72rem;
  }

  /* Hero Section Móvil */
  .hero {
    padding: 40px 16px 30px;
  }

  .hero h1 {
    font-size: 2rem !important;
    line-height: 1.25;
  }

  .hero p {
    font-size: 0.95rem;
    padding: 0 10px;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 4px 12px;
  }

  .search-hero-box {
    padding: 12px 16px;
    font-size: 0.88rem;
  }

  /* Estadísticas en cuadrícula 2x2 */
  .stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 20px 14px;
    margin: 25px 14px 0;
  }

  .stat-item .stat-num {
    font-size: 1.6rem;
  }

  .stat-item .stat-lbl {
    font-size: 0.75rem;
  }

  /* Catálogo de Productos Móvil (1 columna fluida) */
  .container {
    padding: 30px 16px;
  }

  .products-grid {
    grid-template-columns: 1fr !important;
    gap: 18px;
    margin-top: 20px;
  }

  .product-card {
    padding: 16px;
  }

  .product-card-img {
    height: 180px;
  }

  .card-action-btns {
    flex-direction: column;
    gap: 8px;
  }

  .card-action-btns .btn {
    width: 100%;
    padding: 12px;
  }

  /* Modales y Diálogos Adaptativos (Táctil) */
  dialog {
    width: 94vw !important;
    max-width: 94vw !important;
    max-height: 88vh !important;
    padding: 20px 16px !important;
    border-radius: 14px !important;
    margin: auto !important;
  }

  .modal-close {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
  }

  /* Portal de Clientes Móvil */
  .portal-wrapper {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .customer-portal-tabs {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding-bottom: 8px;
  }

  .customer-portal-tabs .admin-tab-btn {
    white-space: nowrap;
    padding: 8px 14px;
    font-size: 0.82rem;
  }

  .order-card-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .order-card-row > div:last-child {
    width: 100%;
    align-items: flex-start !important;
    text-align: left !important;
  }

  .order-card-row .btn-sm {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  /* Panel de Administrador Móvil */
  .admin-nav-tabs {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
    padding-bottom: 8px;
  }

  .admin-nav-tabs .admin-tab-btn {
    white-space: nowrap;
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .admin-grid-2 {
    grid-template-columns: 1fr !important;
  }

  .vault-stat-bar {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .desc-toolbar {
    gap: 4px;
  }

  .desc-tool-btn {
    padding: 4px 8px;
    font-size: 0.72rem;
  }

  /* Carrito Drawer Móvil */
  .cart-drawer {
    width: 100vw !important;
    max-width: 100vw !important;
  }

  /* Pasarela de Pago Móvil */
  .gateway-tabs {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px;
  }

  .gateway-tab-btn {
    padding: 10px 6px;
    font-size: 0.78rem;
  }

  /* Modal de Búsqueda */
  .search-modal-box {
    width: 95vw !important;
    max-width: 95vw !important;
    max-height: 85vh !important;
    padding: 16px !important;
  }

  .search-results-grid {
    grid-template-columns: 1fr !important;
  }

  /* Guías de Activación */
  .guides-category-tabs {
    gap: 6px;
    padding-bottom: 8px;
  }

  .guides-tab-btn {
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 0.78rem;
  }

  /* Factura / Recibo en móvil */
  .invoice-table th, .invoice-table td {
    padding: 8px 6px;
    font-size: 0.78rem;
  }

  /* Pie de página */
  footer {
    padding: 40px 16px 30px;
  }

  .footer-links {
    gap: 14px;
    font-size: 0.82rem;
  }

  .payment-methods-strip {
    gap: 6px;
  }

  .payment-pill {
    font-size: 0.7rem;
    padding: 4px 10px;
  }
}


/* ==========================================================
   ESTILOS DE PASARELAS Y WALLETS OFICIALES (CHECKOUT MODAL)
========================================================== */
.official-method-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.official-method-card:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.qr-container-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 15px 0;
  padding: 14px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}

.admin-section-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 16px;
  margin-top: 18px;
}

/* ==========================================================
   ESTILOS DE TICKETS DE DISCORD & CHECKOUT FLOW
========================================================== */
.ticket-code-card {
  background: #000;
  border: 1px solid rgba(88, 101, 242, 0.4);
  box-shadow: 0 0 15px rgba(88, 101, 242, 0.25);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 16px;
  text-align: left;
}

.ticket-code-display {
  font-family: 'Courier New', monospace, sans-serif;
  font-size: 1.65rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 2px;
  margin: 6px 0 12px;
  text-shadow: 0 0 10px #5865F2, 0 0 20px #5865F2;
  word-break: break-all;
}

.btn-copy-ticket {
  width: 100%;
  padding: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  background: rgba(88, 101, 242, 0.15);
  border: 1px solid #5865F2;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-copy-ticket:hover {
  background: #5865F2;
  color: #fff;
  box-shadow: 0 0 12px #5865F2;
}

.discord-msg-box {
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
  text-align: left;
}

.discord-formatted-preview {
  margin: 0;
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: #ccc;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.78rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 140px;
  overflow-y: auto;
}

.btn-discord-cta {
  width: 100%;
  padding: 14px 20px;
  font-size: 1.05rem;
  font-weight: 900;
  background: #5865F2;
  color: #ffffff;
  border: 1px solid #7983f5;
  border-radius: 8px;
  box-shadow: 0 0 18px rgba(88, 101, 242, 0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.25s ease;
  margin-bottom: 16px;
}

.btn-discord-cta:hover {
  background: #4752c4;
  box-shadow: 0 0 25px rgba(88, 101, 242, 0.9);
  transform: translateY(-2px);
}

.ticket-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
  text-align: left;
}

.ticket-step-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 0.76rem;
  color: #bbb;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ticket-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #5865F2;
  color: #fff;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
}

@media (max-width: 600px) {
  .ticket-steps-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   ESTILOS DE PAGO AUTOMATIZADO STRIPE & TICKET DISCORD
========================================================== */
.stripe-payment-box {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(0, 255, 136, 0.35);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.08);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 14px;
}

.stripe-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
}

.stripe-brand-logos {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: #aaa;
}

.stripe-brand-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #fff;
}

.card-input-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 10px;
}

@media (max-width: 480px) {
  .card-input-row {
    grid-template-columns: 1fr 1fr;
  }
  .card-input-row > div:first-child {
    grid-column: span 2;
  }
}

.stripe-security-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  color: #888;
  margin-top: 10px;
}

.stripe-paid-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 255, 136, 0.12);
  border: 1px solid #00ff88;
  color: #00ff88;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 800;
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.5);
}

/* ==========================================================
   WIDGET FLOTANTE DE CHAT & TICKETS ONLINE 4.0.0
   ========================================================== */
.floating-chat-bubble {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: #000;
  border: 1.5px solid #00ff88;
  color: #fff;
  padding: 12px 18px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.4), inset 0 0 10px rgba(0, 255, 136, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-chat-bubble:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.7), inset 0 0 15px rgba(0, 255, 136, 0.2);
  border-color: #fff;
}

.floating-chat-label {
  font-size: 0.85rem;
  font-weight: 800;
  color: #00ff88;
  letter-spacing: 0.5px;
}

.chat-bubble-wrap {
  display: flex;
  flex-direction: column;
  max-width: 82%;
  margin-bottom: 10px;
}

.chat-bubble-wrap.chat-msg-customer {
  align-self: flex-end;
}

.chat-bubble-wrap.chat-msg-customer .chat-bubble-content {
  background: rgba(0, 255, 136, 0.12);
  border: 1px solid rgba(0, 255, 136, 0.4);
  color: #fff;
  border-radius: 12px 12px 2px 12px;
}

.chat-bubble-wrap.chat-msg-staff {
  align-self: flex-start;
}

.chat-bubble-wrap.chat-msg-staff .chat-bubble-content {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #eee;
  border-radius: 12px 12px 12px 2px;
}

.chat-bubble-sender {
  font-size: 0.7rem;
  color: #888;
  margin-bottom: 3px;
}

.chat-bubble-content {
  padding: 10px 14px;
  font-size: 0.86rem;
  line-height: 1.45;
}

.chat-modal-dialog {
  max-width: 600px;
  width: 95%;
  background: #0d0d0d;
  border: 1px solid rgba(0, 255, 136, 0.4);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 0 35px rgba(0, 255, 136, 0.25);
  color: #fff;
}

.chat-modal-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
  margin-bottom: 16px;
}

.chat-tab-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ccc;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.chat-tab-btn.active, .chat-tab-btn:hover {
  border-color: #00ff88;
  color: #00ff88;
  background: rgba(0, 255, 136, 0.08);
}

