:root {
  --neon-red: #ff1744;
  --led-red: #ff0000;
  --led-orange: #ff7f00;
  --led-yellow: #ffff00;
  --led-green: #00ff00;
  --led-blue: #0000ff;
  --led-indigo: #4b0082;
  --led-violet: #8b00ff;
  --color-black: #121212;
  --color-red: #ff1744;
}

/* === Animaciones === */
@keyframes argbGlowBrutal {
  0%, 100% {
    box-shadow:
      0 0 20px var(--neon-red),
      0 0 30px #00ffff,
      0 0 40px #ff0099,
      0 0 80px rgba(255, 23, 68, 0.4);
  }
  50% {
    box-shadow:
      0 0 40px var(--neon-red),
      0 0 60px #00ffff,
      0 0 80px #ff0099,
      0 0 100px rgba(255, 23, 68, 0.6);
  }
}

/* === Wrapper general === */
.front-page-wrapper {
  max-width: 1600px;
  margin: 40px auto;
  background: linear-gradient(145deg, #1a1a1a, #111);
  box-shadow: 0 0 15px var(--neon-red), 0 0 40px rgba(255, 23, 68, 0.5);
  border-radius: 8px;
  padding: 25px 30px;
  color: #eee;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
  position: relative;
  z-index: 1;
  animation: argbGlowBrutal 2.5s ease-in-out infinite alternate;
}

/* === Contenedor del producto === */
.producto-container {
  background: #111;
  border-radius: 25px;
  box-shadow:
    0 10px 20px rgba(255, 0, 255, 0.2),
    0 20px 60px rgba(0, 255, 255, 0.15),
    inset 0 0 10px rgba(255, 255, 255, 0.05);
  padding: 2rem 2rem 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.producto-container:hover {
  box-shadow:
    0 30px 60px var(--neon-red),
    0 40px 80px rgba(0, 255, 255, 0.25),
    inset 0 0 20px rgba(255, 255, 255, 0.1);
}

/* === Galería === */
.producto-galeria {
  flex: 1 1 55%;
  max-width: 55%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.galeria-producto {
  display: flex;
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.imagen-principal {
  width: 100%;
}

.imagen-principal img#imagen-principal {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 0 20px var(--neon-red);
  cursor: pointer;
  transition: transform 0.3s ease;
  display: block;
  margin: 0 auto;
}

.imagen-principal img:hover {
  transform: scale(1.02);
}

.imagenes-galeria {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 120px;
}

.imagen-galeria img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 8px var(--led-blue);
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

.imagen-galeria img:hover {
  box-shadow: 0 0 15px var(--neon-red);
}

/* === Info producto === */
.producto-info {
  flex: 1 1 40%;
  max-width: 40%;
  padding-left: 2rem;
  color: #ddd;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* === Botón === */
.woocommerce .product .single_add_to_cart_button {
  background: linear-gradient(135deg, var(--neon-red), #ff5252);
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
  border-radius: 40px;
  box-shadow: 0 0 15px var(--neon-red);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  user-select: none;
  align-self: flex-start;
  margin-bottom: 2rem;
}

.woocommerce .product .single_add_to_cart_button:hover {
  background: linear-gradient(135deg, #ff0a36, #ff3b5f);
  box-shadow: 0 0 40px var(--neon-red);
  transform: scale(1.07);
}

/* === Meta producto === */
.producto-meta {
  font-size: 0.9rem;
  color: #aaa;
  line-height: 1.4;
  margin-top: 1rem;
}

/* === Descripción larga === */
.descripcion-larga {
  margin-top: 3rem;
  color: #eee;
  line-height: 1.6;
  background: rgba(18, 18, 18, 0.85);
  border: 2px solid var(--neon-red);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  box-shadow: 0 0 15px var(--neon-red);
}

/* === Modal zoom === */
.modal-zoom {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  cursor: pointer;
}

.modal-zoom[aria-hidden="false"] {
  display: flex;
}

.modal-zoom-contenido {
  max-width: 90%;
  max-height: 90%;
  border-radius: 16px;
  box-shadow: 0 0 40px var(--neon-red);
  cursor: default;
  user-select: none;
}

/* === Cerrar modal === */
.cerrar {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  user-select: none;
  z-index: 10000;
  transition: color 0.3s ease;
}

.cerrar:hover {
  color: var(--neon-red);
}

/* === Responsive === */
@media (max-width: 900px) {
  .producto-container {
    flex-direction: column;
    align-items: center;
  }

  .producto-galeria,
  .producto-info {
    max-width: 100%;
    width: 100%;
    padding-left: 0;
  }

  .galeria-producto {
    flex-direction: column;
    align-items: center;
  }

  .imagenes-galeria {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .producto-info {
    text-align: center;
    align-items: center;
  }

  .imagen-principal img#imagen-principal {
    max-width: 100%;
  }
}

.quantity input[type="number"] {
  width: 60px; /* o el tamaño que prefieras */
  padding: 0.5rem;
  font-size: 1rem;
  text-align: center;
  border-radius: 6px;
  border: 1px solid #ccc;
}



.descripcion-larga {
  margin-top: 3rem;
  color: #eee;
  line-height: 1.6;
  
  /* Caja */
  background: rgba(18, 18, 18, 0.85);
  border: 2px solid var(--neon-red);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  box-shadow: 0 0 15px var(--neon-red);
  
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.1rem;
}

.descripcion-larga p {
  margin-bottom: 1rem;
  color: #ddd;
}

.descripcion-larga a {
  color: var(--neon-red);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.descripcion-larga a:hover {
  border-color: var(--neon-red);
  text-decoration: none;
}

.descripcion-larga ul, .descripcion-larga ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  color: #ccc;
}

.descripcion-larga li {
  margin-bottom: 0.5rem;
}

.descripcion-larga strong, .descripcion-larga b {
  color: var(--neon-red);
  font-weight: 700;
}

.descripcion-larga em, .descripcion-larga i {
  font-style: italic;
  color: #aaa;
}

.descripcion-larga ul,
.descripcion-larga ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  color: #ccc;
  list-style: none; /* Quitar puntos y números */
  padding-left: 0;  /* Opcional para eliminar indentación extra */
}

