

/* =========================================================
   VARIABLES GENERALES (PALETA SPORT ULTRA CLEAN)
========================================================= */

html {
  /* === Paleta GUINDA + ROSA === */
  --azul-electrico: #7A1034;     /* → ahora GUINDA intenso */
  --azul-hielo: #FAD4E8;        /* → rosa pastel */
  --blanco: #FFFFFF;
  --gris-plata: #F9EDF2;        /* → rosa-crema suave */
  --gris-grafito: #520A24;      /* → guinda oscuro elegante */
  --verde-menta: #E64E8C;       /* → rosa fuerte como acento */

  /* Sombras más cálidas */
  --sombra-base: rgba(122, 16, 52, 0.15);
  --sombra-hover: rgba(122, 16, 52, 0.28);
}



/* =========================================================
   SEPARADORES Y TÍTULOS GENERALES
========================================================= */

.separador-seccion {
  border: 0;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  margin: 2.5rem auto;
  max-width: 1100px;
}

.titulo-seccion {
  color: #E64E8C;
  font-weight: 800;
}

.subtitulo-seccion {
  color: #6b7280;
  font-size: 0.95rem;
}



/* =========================================================
   SECCIÓN PRODUCTOS (CONTENEDOR Y TÍTULO)
========================================================= */

.seccion-productos {
  background-color: var(--blanco);
}

.logo-caballo-titulo {
  width: 40px;
  height: auto;
  opacity: 0.9;
}

.titulo-seccion-productos {
  color: var(--gris-grafito);
  font-weight: 800;
  font-size: 1.9rem;
}

.texto-seccion-productos {
  max-width: 640px;
  margin: 0 auto;
  color: #6b7280;
  font-size: 0.96rem;
}



/* =========================================================
   TARJETAS DE PRODUCTO
========================================================= */

.tarjeta-producto {
  border-radius: 1.25rem;
  overflow: hidden;

  border: 1px solid rgba(148,163,184,0.40);
  background: linear-gradient(145deg, var(--blanco) 0%, #f5f7fa 100%);
  box-shadow: 0 14px 35px var(--sombra-base);

  display: flex;
  flex-direction: column;
  padding-bottom: 1rem;

  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.tarjeta-producto:hover {
  transform: translateY(-8px);
  border-color: var(--azul-electrico);
  box-shadow: 0 22px 45px var(--sombra-hover);
}

/* Línea de color arriba */
.encabezado-tarjeta {
  height: 6px;
  background: linear-gradient(90deg, var(--azul-electrico), var(--verde-menta));
}

/* Insignia (Nuevo, -25%, etc.) */
.insignia-esquina {
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  font-weight: 600;
  border-radius: 999px;

  background: rgba(37, 99, 235, 0.15);
  color: var(--azul-electrico);

  backdrop-filter: blur(4px);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tarjeta-producto:hover .insignia-esquina {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(15,23,42,0.25);
}

/* Variantes de insignia */
.insignia-descuento {
  background: rgba(16, 185, 129, 0.15);
  color: #047857;
}

.insignia-topventas {
  background: rgba(129, 140, 248, 0.16);
  color: #4338CA;
}

.insignia-regata {
  background: rgba(56, 189, 248, 0.16);
  color: #0369A1;
}



/* ------------------------------
   IMAGEN DEL PRODUCTO
------------------------------ */
.contenedor-imagen-producto {
  background-color: var(--azul-hielo);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.2rem 1.6rem 1.6rem !important;
}

.contenedor-imagen-producto img {
  max-height: 150px;
  transition: transform .35s ease;
}

.tarjeta-producto:hover .contenedor-imagen-producto img {
  transform: scale(1.04) translateY(-2px);
}



/* ------------------------------
   CUERPO DE TARJETA
------------------------------ */
.cuerpo-tarjeta {
  flex: 1;
  display: flex;
  flex-direction: column;

  padding: 1.6rem 1.9rem 1.8rem;
  gap: 0.9rem;
}

.titulo-producto {
  font-weight: 700;
  font-size: 1.08rem;
  margin: 0;
  color: var(--gris-grafito);
}

.texto-producto {
  font-size: 0.92rem;
  color: #6B7280;
  line-height: 1.45;
}

/* Precios */
.bloque-precio {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}

.precio-principal {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--azul-electrico);
}

.precio-anterior {
  font-size: 0.9rem;
  color: #9ca3af;
  text-decoration: line-through;
}

/* Chip deporte */
.chip-etiqueta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;

  padding: 0.18rem 0.65rem;
  font-size: 0.78rem;
  border-radius: 999px;

  background: #ffffff;
  border: 1px solid rgba(148,163,184,0.45);
  color: #374151;

  white-space: nowrap;

  transition: transform .25s ease, background-color .25s ease;
}

.tarjeta-producto:hover .chip-etiqueta {
  transform: translateY(-2px);
  background-color: rgba(220,239,255,0.9);
}

/* Variantes de chip por deporte */
.chip-padel {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.5);
  color: #047857;
}

.chip-tenis {
  background: rgba(129, 140, 248, 0.10);
  border-color: rgba(129, 140, 248, 0.55);
  color: #4338CA;
}

.chip-regata {
  background: rgba(56, 189, 248, 0.10);
  border-color: rgba(56, 189, 248, 0.55);
  color: #0369A1;
}



/* ------------------------------
   BOTÓN "AGREGAR AL CARRITO"
------------------------------ */
.boton-carrito,
.boton-agregar-carrito {
  width: 100%;
  padding: 0.95rem 1rem !important;

  border-radius: 18px;
  background-color: var(--azul-electrico);
  border: none;

  color: var(--blanco);
  font-weight: 650;
  letter-spacing: .02em;

  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  margin-top: auto !important;

  box-shadow: 0 12px 25px rgba(37,99,235,0.25);

  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.boton-carrito:hover,
.boton-agregar-carrito:hover {
  background-color: #f172a5;
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(37,99,235,0.40);
}

.boton-carrito:active,
.boton-agregar-carrito:active {
  transform: translateY(1px) scale(0.96);
}

/* Pulso suave del botón */
@keyframes pulso-boton {
  0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.45); }
  70% { box-shadow: 0 0 0 10px rgba(37, 99, 235, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.boton-carrito {
  animation: pulso-boton 2.4s ease-out infinite;
}

/* Animación de sacudida */
@keyframes sacudida {
  0% { transform: translateX(0); }
  20% { transform: translateX(-3px); }
  40% { transform: translateX(3px); }
  60% { transform: translateX(-2px); }
  80% { transform: translateX(2px); }
  100% { transform: translateX(0); }
}

.tarjeta-producto.sacudir {
  animation: sacudida 0.35s ease;
}



/* =========================================================
   PROMOCIONES — DISEÑO PREMIUM
========================================================= */

.seccion-promociones {
  position: relative;
  overflow: hidden;
  background-color: var(--blanco);
}

/* Logo de la marca atras del texto */
.seccion-promociones::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/images/logo.png");
  background-repeat: no-repeat;
  background-position: -40px 40%;
  background-size: 260px;
  opacity: 0.08;
  pointer-events: none;
}

.contenido-promociones {
  position: relative;
  z-index: 2;
}

/* Textos */
.etiqueta-promociones {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9ca3af;
  font-weight: 600;
}

.titulo-seccion-promos {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gris-grafito);
}

.texto-seccion-promos {
  font-size: 0.95rem;
  color: #4b5563;
}

/* Lista */
.lista-beneficios {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.lista-beneficios li {
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

/* Enlace "Ver todas las promociones" */
.enlace-ver-promos {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--azul-electrico);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

/* Tarjetas de promo */
.tarjeta-promocion {
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  background: rgba(249, 250, 251, 0.96);
  border: 1px solid rgba(209, 213, 219, 0.9);
  box-shadow: 0 14px 25px rgba(15, 23, 42, 0.08);
  height: 100%;
}

.texto-descuento {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--azul-electrico);
}

/* Badges deporte */
.etiqueta-deporte {
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.deporte-polo {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.35);
  color: #1d4ed8;
}

.deporte-padel {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.4);
  color: #047857;
}

.deporte-tenis {
  background: rgba(129, 140, 248, 0.1);
  border-color: rgba(129, 140, 248, 0.45);
  color: #4338ca;
}

.deporte-regata {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.45);
  color: #0369a1;
}

.titulo-promocion {
  font-weight: 600;
  color: var(--gris-grafito);
}

.resumen-promocion {
  font-size: 0.9rem;
  color: #4b5563;
}
/* =========================================
   TOAST SPORTZONE (ESTILO PREMIUM)
========================================= */

.toast-sportzone {
  position: fixed;
  top: 22px;
  right: 22px;
  background: var(--gris-grafito);
  color: white;
  padding: 0.85rem 1.3rem;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;

  opacity: 0;
  pointer-events: none;

  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
  transform: translateY(-20px);
  transition: opacity .35s ease, transform .35s ease;
  z-index: 9999;
}

.toast-sportzone.activo {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.toast-sportzone .logoo {
  font-size: 1.1rem;
}

/* =========================================================
   ESTRELLAS
========================================================= */

.rating {
  color: #7A1034;
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: .4rem;
}

.rating .count {
  font-size: 0.85rem;
  color: #520A24;
  margin-left: 4px;
}

.rating .estrellas {
  display: inline-flex;
  gap: 2px;
}