:root {
  /* Fondos oscuros de alta gama (Premium Dark) */
  --bg: #07040d;      /* Negro ultra oscuro con matiz violeta profundo */
  --bg2: #0f0a1c;     /* Violeta oscuro para el fondo secundario y menú */
  --card: #17102b;    /* Color para las tarjetas y contenedores de productos */
  --border: #322359;  /* Bordes sutiles en tono morado oscuro */

  /* Textos basados en el blanco platino del logo */
  --text: #f3f0fa;    /* Blanco brillante con un toque frío para máxima lectura */
  --muted: #d3d3d3;   /* Texto secundario en gris morado opaco */

  /* Tonos extraídos de la energía del logotipo */
  --neon: #8b3eff;    /* El morado eléctrico principal de la 'S' */
  --neon2: #322359;   /* Morado claro/lavanda para efectos secundarios y hovers */
  --neon3: #f3f0fa;   /* Blanco cromado/plateado para acentos de brillo premium */

  /* Estados del sistema (Se mantienen limpios y profesionales) */
  --ok: #10b981;     /* Verde esmeralda para éxitos */
  --err: #f43f5e;    /* Rojo vivo para errores */
}

*{box-sizing:border-box;margin:0;padding:0}
body{background:var(--bg);color:var(--text);font-family:'Inter',system-ui,sans-serif;min-height:100vh;line-height:1.6}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block;border-radius:8px}
h1,h2,h3,h4{font-weight:700;line-height:1.2;margin-bottom:.6em}
h1{font-size:2.4rem}h2{font-size:1.8rem;margin-top:1.5em}h3{font-size:1.2rem}
p{margin-bottom:.8em}
.muted{color:var(--muted)}
.grad{background:linear-gradient(90deg,var(--neon),var(--neon2));-webkit-background-clip:text;color:transparent}

/* NAV */
.nav{position:sticky;top:0;z-index:50;background:rgba(10,10,20,.85);backdrop-filter:blur(12px);border-bottom:1px solid var(--border)}
.nav-inner{max-width:1200px;margin:0 auto;padding:14px 20px;display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.logo{font-size:1.4rem;font-weight:900;letter-spacing:-.5px}
.logo-sg{background:linear-gradient(135deg,var(--neon),var(--neon3));-webkit-background-clip:text;color:transparent}
.nav nav{display:flex;gap:18px;flex:1}
.nav nav a{color:var(--muted);font-weight:500;transition:color .2s}
.nav nav a:hover{color:var(--text)}
.nav-user{display:flex;gap:10px;align-items:center}
.balance{padding:6px 12px;background:var(--card);border:1px solid var(--border);border-radius:999px;font-size:.85rem;font-weight:600;color:var(--neon2)}
.user-chip{display:flex;align-items:center;gap:8px;padding:6px 12px;background:var(--card);border:1px solid var(--border);border-radius:999px;font-size:.9rem}
.user-chip img{width:24px;height:24px;border-radius:50%}

.btn-primary,.btn-ghost,.btn-admin{display:inline-block;padding:10px 18px;border-radius:8px;font-weight:600;cursor:pointer;border:none;font-size:.95rem;transition:transform .15s, box-shadow .2s}
.btn-primary{background:linear-gradient(135deg,var(--neon),var(--neon3));color:#fff;box-shadow:0 4px 20px -5px var(--neon)}
.btn-primary:hover{transform:translateY(-1px);box-shadow:0 8px 30px -5px var(--neon)}
.btn-primary.big{padding:14px 28px;font-size:1.05rem}
.btn-ghost{background:transparent;color:var(--text);border:1px solid var(--border)}
.btn-ghost:hover{border-color:var(--neon)}
.btn-admin{background:var(--neon2);color:#000}

/* CONTAINER */
.container{max-width:1200px;margin:0 auto;padding:40px 20px;min-height:60vh}
.section{margin:40px 0}
.section.narrow{max-width:760px;margin:40px auto}
.section.center{text-align:center}

/* HERO */
.hero{position:relative;text-align:center;padding:80px 20px;overflow:hidden;border-radius:24px;background:linear-gradient(180deg,var(--bg2),var(--bg));border:1px solid var(--border);margin-bottom:50px}
.hero-glow{position:absolute;top:-100px;left:50%;transform:translateX(-50%);width:600px;height:600px;background:radial-gradient(circle,var(--neon) 0%,transparent 60%);opacity:.25;pointer-events:none}
.hero h1{font-size:3.4rem;position:relative}
.hero p{font-size:1.15rem;color:var(--muted);max-width:600px;margin:20px auto;position:relative}
.hero-cta{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;position:relative}

/* FEATURES */
.features{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;margin-bottom:40px}
.feature{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:24px;transition:border-color .2s}
.feature:hover{border-color:var(--neon)}
.f-icon{font-size:2rem;margin-bottom:10px}

/* GRID PRODUCTOS */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}
.card{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:20px;display:flex;flex-direction:column;gap:10px;transition:transform .15s, border-color .2s}
.card:hover{transform:translateY(-3px);border-color:var(--neon)}
.card img{aspect-ratio:16/9;object-fit:cover}
.tag{display:inline-block;align-self:flex-start;padding:3px 10px;background:rgba(124,58,237,.15);color:var(--neon);border-radius:999px;font-size:.75rem;font-weight:600}
.card-foot{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:10px}
.price{font-size:1.2rem;font-weight:700;color:var(--neon2)}

/* PERFIL */
.profile{display:flex;gap:24px;align-items:center;background:var(--card);border:1px solid var(--border);border-radius:16px;padding:24px;margin-bottom:30px;flex-wrap:wrap}
.avatar{width:96px;height:96px;border-radius:50%}
.balance.big{font-size:1.8rem;color:var(--neon2);font-weight:700}

/* TABLE */
.table{width:100%;border-collapse:collapse;margin:16px 0;background:var(--card);border-radius:12px;overflow:hidden}
.table th,.table td{padding:12px 14px;text-align:left;border-bottom:1px solid var(--border);font-size:.92rem}
.table th{background:var(--bg2);font-weight:600;color:var(--muted);text-transform:uppercase;font-size:.75rem;letter-spacing:.5px}

/* FORM */
.form{display:flex;flex-direction:column;gap:12px;background:var(--card);border:1px solid var(--border);border-radius:16px;padding:24px;max-width:560px}
.form label{display:flex;flex-direction:column;gap:6px;font-size:.85rem;color:var(--muted);font-weight:500}
.form input,.form select,.form textarea{padding:10px 12px;background:var(--bg);border:1px solid var(--border);border-radius:8px;color:var(--text);font-family:inherit;font-size:.95rem}
.form input:focus,.form select:focus,.form textarea:focus{outline:none;border-color:var(--neon)}

/* ALERTS */
.alert{padding:14px 18px;border-radius:10px;margin:16px 0}
.alert.ok{background:rgba(34,197,94,.1);border:1px solid var(--ok);color:#86efac}
.alert.err{background:rgba(239,68,68,.1);border:1px solid var(--err);color:#fca5a5}

/* CONTACT */
.contact-card{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:24px;margin:20px 0}

/* FOOTER */
.footer{background:var(--bg2);border-top:1px solid var(--border);margin-top:60px;padding:40px 20px 20px}
.footer-inner{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:30px}
.footer h4{color:var(--muted);text-transform:uppercase;font-size:.75rem;letter-spacing:1px}
.footer a{display:block;color:var(--muted);padding:4px 0;font-size:.9rem;transition:color .2s}
.footer a:hover{color:var(--neon)}
.copyright{max-width:1200px;margin:30px auto 0;padding-top:20px;border-top:1px solid var(--border);text-align:center;color:var(--muted);font-size:.85rem}

code{background:var(--bg2);padding:2px 6px;border-radius:4px;font-size:.9em;color:var(--neon2)}

@media (max-width:640px){
  .hero h1{font-size:2.2rem}
  .nav nav{order:3;width:100%;justify-content:center}
}

/* Fuerza a que el logo y el texto estén en la misma línea */
.logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px; /* Espacio horizontal entre la imagen y el texto store */
  text-decoration: none;
  height: 100%;
}

/* Controla el tamaño máximo de la imagen del logotipo */
.logo-img {
  height: 40px !important; /* Ajusta este número según el grosor de tu menú */
  width: auto !important;
  max-width: 100%;
  display: block;
  object-fit: contain;
}



/* ================= HERO SECTION PREMIUM ================= */
.hero {
  position: relative;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 40px 20px;
  border-bottom: 1px solid var(--border);
  background-color: var(--bg);
}

/* Imagen de fondo desenfocada simulada */
.hero-bg-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url('../img/logo.png'); /* Puedes cambiarlo por una captura de MTA */
  background-size: cover;
  background-position: center;
  filter: blur(8px) brightness(0.15);
  z-index: 1;
}

.hero-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-20%, -50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(139,62,255,0.15) 0%, transparent 70%);
  z-index: 2;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text);
  font-weight: 800;
}

.hero-content .grad {
  background: linear-gradient(135deg, var(--neon), var(--neon2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 30px;
  max-width: 540px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 15px;
}

/* Caja contenedora para el Logo derecho (Efecto ETVX) */
.hero-logo-box {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-main-logo {
  max-width: 360px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 35px rgba(139, 62, 255, 0.4));
  animation: logoFloat 4s ease-in-out infinite;
}

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

/* ================= CUADRÍCULA DE ESTADÍSTICAS ================= */
.stats-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: -40px auto 60px auto;
  position: relative;
  z-index: 4;
  padding: 0 20px;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--neon);
  box-shadow: 0 10px 25px rgba(139, 62, 255, 0.15);
}

.stat-icon-wrapper {
  width: 50px;
  height: 50px;
  background: rgba(139, 62, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px auto;
  color: var(--neon);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 5px;
}

.stat-label {
  color: var(--muted);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsivo para móviles */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-logo-box {
    order: -1;
  }
  .hero-main-logo {
    max-width: 240px;
  }
  .hero-cta {
    justify-content: center;
  }
  .stats-container {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }
}

/* ================= ESTRUCTURA GENERAL DE LA TIENDA ================= */
.products-layout-wrapper {
  max-width: 1300px;
  margin: 40px auto;
  padding: 0 20px;
}

.shop-container {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
  align-items: start;
}

/* ================= TARJETA HORIZONTAL DE PRODUCTOS ================= */
.products-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.store-product-card {
  background: #111119;
  border: 1px solid #222235;
  border-radius: 14px;
  display: grid;
  grid-template-columns: 240px 1fr;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.store-product-card:hover {
  transform: translateY(-2px);
  border-color: #22c55e; /* Brillo verde esmeralda de Etvx */
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.1);
}

/* Contenedor de la Imagen */
.product-card-banner {
  height: 100%;
  min-height: 180px;
  background: #08080f;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-right: 1px solid #222235;
}

.product-card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.store-product-card:hover .product-card-banner img {
  transform: scale(1.05);
}

/* Cuerpo de la Tarjeta */
.product-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card-category-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: #22c55e;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
  display: inline-block;
}

.product-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.product-card-description {
  font-size: 0.95rem;
  color: #9090b0;
  line-height: 1.5;
  margin-bottom: 15px;
}

/* Meta información (Precio y Leyenda) */
.product-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #222235;
}

.product-card-price-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
}

.price-currency {
  font-size: 0.85rem;
  color: #9090b0;
  font-weight: 600;
}

.subtext-buy {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.2);
  letter-spacing: 1px;
}

/* Botones de Acción integrados */
.product-card-actions {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px;
}

.btn-card-secondary, .btn-card-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-card-secondary {
  background: #1c1c2e;
  color: #e8e8f5;
  border: 1px solid #2a2a45;
}

.btn-card-secondary:hover {
  background: #25253d;
}

.btn-card-primary {
  background: #22c55e;
  color: #000000;
  width: 100%;
}

.btn-card-primary:hover {
  background: #16a34a;
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.4);
}

.btn-login-action {
  background: #22c55e !important;
  color: #000000 !important;
}

/* ================= BARRA LATERAL DE FILTROS ================= */
.filters-sidebar {
  background: #111119;
  border: 1px solid #222235;
  border-radius: 14px;
  padding: 25px;
}

.filters-sticky-box {
  position: sticky;
  top: 20px;
}

.filters-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #22c55e;
  margin-bottom: 25px;
  border-bottom: 1px solid #222235;
  padding-bottom: 10px;
}

.filters-header h3 {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.filter-group {
  margin-bottom: 25px;
}

.filter-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  color: #9090b0;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

/* Campo de Búsqueda */
.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrapper svg {
  position: absolute;
  left: 15px;
  color: #505070;
}

.search-input-wrapper input {
  width: 100%;
  background: #08080f;
  border: 1px solid #222235;
  padding: 12px 15px 12px 42px;
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.search-input-wrapper input:focus {
  border-color: #22c55e;
}

/* Etiquetas de Categorías */
.category-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cat-tag {
  background: #1c1c2e;
  border: 1px solid #2a2a45;
  color: #9090b0;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cat-tag:hover {
  border-color: #6f00ff;
  color: #ffffff;
}

.cat-tag.active {
  background: #22c55e;
  border-color: #22c55e;
  color: #000000;
  font-weight: 700;
}

/* Rango de Precios */
.price-labels {
  display: flex;
  justify-content: space-between;
  color: #6f00ff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.range-slider-container input[type="range"] {
  width: 100%;
  accent-color: #6f00ff;
  background: #08080f;
  cursor: pointer;
}

/* Responsivo */
@media (max-width: 992px) {
  .shop-container {
    grid-template-columns: 1fr;
  }
  .store-product-card {
    grid-template-columns: 1fr;
  }
  .product-card-banner {
    border-right: none;
    border-bottom: 1px solid #222235;
  }
  .filters-sidebar {
    order: -1;
  }
}

/* ================= ESTRUCTURA GENERAL DE LA TIENDA ================= */
.products-layout-wrapper {
  max-width: 1300px;
  margin: 40px auto;
  padding: 0 20px;
}

.shop-container {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
  align-items: start;
}

/* ================= TARJETA HORIZONTAL DE PRODUCTOS ================= */
.products-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.store-product-card {
  background: #111119;
  border: 1px solid #222235;
  border-radius: 14px;
  display: grid;
  grid-template-columns: 240px 1fr;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.store-product-card:hover {
  transform: translateY(-2px);
  border-color: #6f00ff;
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.1);
}

.product-card-banner {
  height: 100%;
  min-height: 180px;
  background: #08080f;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-right: 1px solid #222235;
}

.product-card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.store-product-card:hover .product-card-banner img {
  transform: scale(1.05);
}

.product-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card-category-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: #6f00ff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
  display: inline-block;
}

.product-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.product-card-description {
  font-size: 0.95rem;
  color: #9090b0;
  line-height: 1.5;
  margin-bottom: 15px;
}

.product-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #222235;
}

.product-card-price-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
}

.price-currency {
  font-size: 0.85rem;
  color: #9090b0;
  font-weight: 600;
}

.subtext-buy {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.2);
  letter-spacing: 1px;
}

.product-card-actions {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px;
}

.btn-card-secondary, .btn-card-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-card-secondary {
  background: #1c1c2e;
  color: #e8e8f5;
  border: 1px solid #2a2a45;
}

.btn-card-secondary:hover {
  background: #25253d;
}

.btn-card-primary {
  background: #6f00ff;
  color: #000000;
  width: 100%;
}

.btn-card-primary:hover {
  background: #8c47e6;
  box-shadow: 0 0 15px rgba(111, 0, 255, 0.4);
}

.btn-login-action {
  background: #6f00ff !important;
  color: #000000 !important;
}

/* ================= BARRA LATERAL DE FILTROS ================= */
.filters-sidebar {
  background: #111119;
  border: 1px solid #222235;
  border-radius: 14px;
  padding: 25px;
}

.filters-sticky-box {
  position: sticky;
  top: 20px;
}

.filters-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  margin-bottom: 25px;
  border-bottom: 1px solid #222235;
  padding-bottom: 10px;
}

.filters-header h3 {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.filter-group {
  margin-bottom: 25px;
}

.filter-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  color: #9090b0;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

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

.search-input-wrapper svg {
  position: absolute;
  left: 15px;
  color: #505070;
}

.search-input-wrapper input {
  width: 100%;
  background: #08080f;
  border: 1px solid #222235;
  padding: 12px 15px 12px 42px;
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.search-input-wrapper input:focus {
  border-color: #6f00ff;
}

.category-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cat-tag {
  background: #1c1c2e;
  border: 1px solid #2a2a45;
  color: #9090b0;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cat-tag:hover {
  border-color: #6f00ff;
  color: #ffffff;
}

.cat-tag.active {
  background: #6f00ff;
  border-color: #6f00ff;
  color: #000000;
  font-weight: 700;
}

.price-labels {
  display: flex;
  justify-content: space-between;
  color: #6f00ff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.range-slider-container input[type="range"] {
  width: 100%;
  accent-color: #6f00ff;
  background: #08080f;
  cursor: pointer;
}

/* ================= VENTANA EMERGENTE DE VISTA PREVIA (MODAL) ================= */
.hud-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(4, 4, 8, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.hud-modal-content {
  background: #111119;
  border: 1px solid #6f00ff;
  border-radius: 16px;
  padding: 20px;
  max-width: 800px;
  width: 90%;
  position: relative;
  text-align: center;
  box-shadow: 0 20px 50px rgba(147, 102, 184, 0.2); 
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.hud-modal.active .hud-modal-content {
  transform: scale(1);
}

.hud-modal-content img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 8px;
  background: #08080f;
  margin-bottom: 15px;
}

#hud-modal-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.hud-modal-close {
  position: absolute;
  top: 15px; right: 20px;
  background: none; border: none;
  color: #9090b0; font-size: 2rem;
  cursor: pointer; transition: color 0.2s;
}

.hud-modal-close:hover {
  color: #6f00ff;
}

/* Responsivo */
@media (max-width: 992px) {
  .shop-container { grid-template-columns: 1fr; }
  .store-product-card { grid-template-columns: 1fr; }
  .product-card-banner { border-right: none; border-bottom: 1px solid #222235; }
  .filters-sidebar { order: -1; }
}


/* ==========================================================================
   INTERACCIONES PREMIUM Y EFECTOS DINÁMICOS (SGSTORE)
   ========================================================================== */

/* 1. Transiciones y Efecto de Elevación en Tarjetas Horizontales */
.store-product-card {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              border-color 0.3s ease, 
              box-shadow 0.3s ease !important;
}

/* Efecto de Iluminación de Borde Líquido y Glow de Fondo al hacer Hover */
.store-product-card:hover {
  transform: translateY(-5px) scale(1.005) !important;
  border-color: var(--neon) !important;
  box-shadow: 0 12px 35px rgba(111, 0, 255, 0.25) !important;
}

/* Zoom suave a la imagen del producto al pasar el mouse */
.product-card-banner img {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.store-product-card:hover .product-card-banner img {
  transform: scale(1.06) !important;
}


/* 2. Botones Reactivos con Sombra de Neón Inmersiva (Física Alta Respuesta) */
.btn-card-primary, .btn-primary, .btn-login-action {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
              background-color 0.25s ease, 
              box-shadow 0.25s ease !important;
}

/* Efecto de propulsión hacia arriba y destello de luz morada */
.btn-card-primary:hover, .btn-primary:hover, .btn-login-action:hover {
  background: var(--neon2) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(111, 0, 255, 0.6) !important;
}

/* Micro-interacción al hacer clic físico (Efecto de hundido) */
.btn-card-primary:active, .btn-primary:active, .btn-login-action:active {
  transform: translateY(-1px) !important;
}


/* 3. Botones Secundarios / Ghost */
.btn-card-secondary, .btn-ghost {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-card-secondary:hover, .btn-ghost:hover {
  background: #1c1c2e !important;
  border-color: var(--neon) !important;
  transform: translateY(-2px) !important;
}


/* 4. Barrido Translúcido en Filas de Tablas (Perfil y Admin) */
.table tr {
  transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.table tr:not(:first-child):hover {
  background: rgba(111, 0, 255, 0.08) !important;
}


/* 5. Efecto de Suavizado y Escalado en Ventana Emergente (Modal HUD) */
.hud-modal {
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.hud-modal-content {
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Cuando el modal se activa, el contenedor se expande suavemente */
.hud-modal.active .hud-modal-content {
  transform: scale(1) !important;
}


/* 6. Animación de Flotado Orgánico para el Logo Principal del Hero */
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-main-logo {
  animation: logoFloat 4s ease-in-out infinite !important;
}


/* 7. Tags de Categoría Interactivos en la Barra Lateral */
.cat-tag {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.cat-tag:hover {
  border-color: var(--neon) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}



/* ==========================================
   FLOW PREMIUM: Efecto Morado en el Menú
   ========================================== */

/* Targetea los enlaces del menú de navegación */
.header-nav a, 
.nav-menu a, 
.nav-links a,
header nav a {
  position: relative;
  color: #f8fafc; /* Mantiene tu blanco limpio por defecto */
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.3s ease;
  display: inline-block;
}

/* Cuando pasas el mouse por encima de las palabras */
.header-nav a:hover, 
.nav-menu a:hover, 
.nav-links a:hover,
header nav a:hover {
  color: #a78bfa !important; /* Morado eléctrico claro con flow */
  transform: translateY(-1px); /* Un levante mínimo casi imperceptible */
  text-shadow: 0 0 10px rgba(139, 92, 246, 0.4); /* Destello sutil de neón morado */
}

/* Línea animada opcional debajo de la palabra (Efecto magnético) */
.header-nav a::after, 
.nav-menu a::after, 
.nav-links a::after,
header nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #8b5cf6; /* Morado base */
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* La línea se expande al hacer hover */
.header-nav a:hover::after, 
.nav-menu a:hover::after, 
.nav-links a:hover::after,
header nav a:hover::after {
  width: 100%;
}
