body {
  font-family: 'Arial', sans-serif;
  background: #f8f8f8;
  margin: 0;
  color: #111;
}

/* HEADER */
.header {
  background: linear-gradient(180deg, #7a0000, #000000);


  color: white;
  text-align: center;

  padding: 70px 20px 40px;

  box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

/* BUSQUEDA */
.busqueda {
  padding: 10px;
}

/* 🔍 SOLO buscador */
.busqueda input {
  width: 90%;
  margin: 15px auto;
  display: block;

  padding: 14px 20px;
  border-radius: 30px;
  border: none;
  outline: none;

  font-size: 15px;

  background: rgba(255,255,255,0.9);
  color: #111;

  box-shadow:
    0 5px 15px rgba(0,0,0,0.1),
    inset 0 2px 5px rgba(0,0,0,0.1);

  transition: 0.3s;
}

/* FILTROS */
.filtros {
  display: flex;
  gap: 10px;
}

select {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: none;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* GRID */
.container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
  padding: 15px;
}

/* CARD */
.card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

/* EFECTO HOVER */
.card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* TEXTO */
.card h3 {
  font-size: 14px;
  padding: 10px;
}

.price {
  color: #0a8f2f;
  font-weight: bold;
  padding: 0 10px;
}

/* BOTON */
.btn {
  display: block;
  margin: 10px;
  padding: 10px;
  background: black;
  color: white;
  text-align: center;
  border-radius: 8px;
  font-size: 12px;
}

a {
  text-decoration: none;
  color: inherit;
}

.img-principal {
  width: 100%;
  border-radius: 10px;
}

.miniaturas {
  display: flex;
  gap: 10px;
  margin-top: 10px;

  overflow-x: auto;     /* 🔥 scroll horizontal */
  overflow-y: hidden;

  padding: 10px 5px;

  scroll-behavior: smooth;
}

/* 🔥 SCROLL BONITO */
.miniaturas::-webkit-scrollbar {
  height: 4px;
}

.miniaturas::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #b8004c, #e6005c);
  border-radius: 10px;
}

.mini {
  min-width: 70px;   /* 🔥 CLAVE */
  height: 70px;

  object-fit: cover;

  border-radius: 10px;
  margin: 5px;

  flex-shrink: 0;    /* 🔥 evita que se deformen */

  box-shadow: 0 5px 15px rgba(0,0,0,0.25);
  transition: 0.3s;
}

/* 🔥 EFECTO PRO */
.mini:active {
  transform: scale(0.9);
}

.mini.seleccionada {
  outline: 2px solid #ff1744;
  transform: scale(1.05);
}

.mini:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* ZOOM */
/* 🔥 OVERLAY */
.zoom-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(0,0,0,0.9);

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 9999;
}

/* 🔥 CONTENEDOR (CLAVE) */
#zoomContainer {
  max-width: 95%;
  max-height: 85%;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* 🔥 IMAGEN (CLAVE) */
.zoom-img {
  max-width: 100%;
  max-height: 100%;

  width: auto;
  height: auto;

  object-fit: contain;

  border-radius: 20px;
}



#productoDetalle {
  color: #111;
}

.welcome-container {
  height: 100vh;

  background: 
  linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.4)),
  url("https://res.cloudinary.com/dlte2cyol/image/upload/v1776055088/Polish_20260412_223602766_e17giv.jpg");

  background-size: cover;
  background-position: center;

  color: white;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  padding: 20px;
}

.welcome-container h1 {
  font-size: 34px;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.welcome-text {
  font-size: 16px;
  max-width: 320px;
  margin-bottom: 30px;

  line-height: 1.6;
  letter-spacing: 0.5px;

  color: #ffffff; /* blanco puro */

  text-shadow: 
    0 2px 8px rgba(0,0,0,0.7); /* mejora contraste */
}

.btn-welcome {
  background: linear-gradient(90deg, #006847, #ffffff, #ce1126); /* 🇲🇽 verde, blanco, rojo */
  
  color: #000;
  font-weight: 800; /* texto oscuro para que contraste con el blanco */
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  
  letter-spacing: 1px;
  text-transform: uppercase;

  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  transition: 0.3s;

  border: 2px solid rgba(255,255,255,0.3); /* toque elegante */
}

.btn-welcome:hover {
  transform: scale(1.05);

  background: linear-gradient(90deg, #004d33, #f5f5f5, #a60d22);

  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

.welcome-container {
  animation: fadeIn 1.2s ease;
}

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

.header-catalogo {
  margin-top: 55px;

  background: 
    linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.35)),
    url("https://res.cloudinary.com/dlte2cyol/image/upload/v1776055087/Polish_20260412_223658916_ar6tac.jpg");

  background-size: cover;
  background-position: center;

  color: white;
  text-align: center;
  padding: 60px 20px;
}

.header-catalogo h1,
.welcome-container h1 {
  font-size: 30px;      /* 🔥 más compacto */
  font-weight: 600;     /* 🔥 menos grueso */
  letter-spacing: 3px;  /* 🔥 más elegante */

  color: #ffffff;

  text-shadow:
    0 3px 12px rgba(0,0,0,0.8),
    0 0 10px rgba(255,255,255,0.2);

  backdrop-filter: blur(2px);
}

.filtro {
  background: linear-gradient(45deg, #ffd700, #ffb300);
  color: black;
  padding: 10px 15px;
  border-radius: 12px;
  border: none;
  font-weight: bold;

  box-shadow: 0 3px 10px rgba(255,215,0,0.4);
}

.btn-producto {
  display: block;
  width: 90%;
  max-width: 300px;
  margin: 20px auto;

  background: linear-gradient(45deg, #b8004c, #e6005c); /* 💗 rosa mexicano */
  color: white;

  padding: 14px 0;
  border-radius: 30px;
  text-decoration: none;

  font-weight: bold;
  font-size: 16px;
  text-align: center;
  border: none;

  box-shadow: 0 5px 20px rgba(230,0,92,0.5);

  transition: 0.3s;
}

.btn-producto:hover {
  transform: scale(1.05);

  background: linear-gradient(45deg, #ff1a75, #ff4da6);

  box-shadow: 0 8px 25px rgba(230,0,92,0.7);
}

.btn-producto:active {
  transform: scale(0.95);

  box-shadow: 0 3px 10px rgba(230,0,92,0.4);
}

.botones-compra {
  display: flex;
  gap: 10px;
}

.botones-compra .btn-producto {
  flex: 1;
  width: auto;       /* 🔥 rompe el ancho grande */
  max-width: none;   /* 🔥 quita límite */
  margin: 0;         /* 🔥 quita centrado */
}

/* CONTENEDOR FILTROS */
.filtros {
  display: flex;
  gap: 10px;
  padding: 10px;
}


.card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  margin: 15px;

  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  transition: 0.3s;
}

/* EFECTO HOVER PRO */
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.card h3 {
  font-size: 18px;
  font-weight: bold;
  padding: 10px;
  color: #111;
}

.price {
  color: #00c853;
  font-size: 20px;
  font-weight: bold;
  padding: 0 10px;
}

/* texto secundario */
.card p {
  color: #555;
  font-size: 14px;
}

.price {
  color: #00c853 !important;
  font-size: 22px;
  font-weight: bold;
  text-shadow: 0 2px 5px rgba(0,200,80,0.3);
}

/* BOTONES FILTRO */
.btn-filtro {
  flex: 1;
  padding: 12px;
  border-radius: 25px;
  border: none;
  font-weight: bold;
  font-size: 15px;

  background: linear-gradient(45deg, #004d33, #006847); /* 🇲🇽 verde */
  color: white;

  box-shadow: 0 5px 15px rgba(0,104,71,0.5);

  transition: 0.3s;
}



/* ========================= */
/* 🔥 MODAL PREMIUM DORADO */
/* ========================= */

.modal-content {
  background: linear-gradient(145deg, #fff8dc, #ffe082);
  border-radius: 20px;
  width: 90%;
  max-width: 320px;
  padding: 15px;

  box-shadow: 0 10px 30px rgba(255, 200, 0, 0.4);
}

/* TÍTULO */
.modal-content h3 {
  text-align: center;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

/* OPCIONES */
.opcion {
  padding: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  font-size: 16px;
  border-radius: 10px;
  margin: 5px 0;

  transition: 0.2s;
}

/* TOUCH */
.opcion:active {
  background: rgba(255, 193, 7, 0.3);
}

/* SELECCIONADA */
.opcion.activa {
  background: linear-gradient(45deg, #b8004c, #e6005c);
  color: white;
  font-weight: bold;

  box-shadow: 0 5px 15px rgba(230,0,92,0.5);
}

.btn-filtro.activo {
  background: linear-gradient(45deg, #008f5a, #00a86b);

  color: white;

  box-shadow: 
    0 5px 15px rgba(0,104,71,0.6),
    0 8px 25px rgba(0,0,0,0.4);

  transform: scale(1.05);
}

.btn-filtro:active {
  transform: scale(0.95);
}

.busqueda input:focus {
  transform: scale(1.03);

  box-shadow:
    0 5px 20px rgba(255,200,0,0.4),
    inset 0 2px 5px rgba(0,0,0,0.1);
}

.card h3 {
  text-transform: capitalize;
  letter-spacing: 0.5px;
  font-size: 18px;
  font-weight: bold;
  padding: 10px;
  color: #111;

  text-align: center; /* 🔥 CENTRADO */
}

.card p {
  margin: 5px 0;
  color: #555;
  font-size: 14px;
  text-align: center;
}

/* 🔥 etiquetas como "Tallas" */
.card p strong {
  color: #111;
  font-weight: 600;
}

@media (min-width: 768px) {
  .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
  }

  .card {
    margin: 0;
  }

  .welcome-container h1 {
    font-size: 48px;
  }

  .welcome-text {
    font-size: 18px;
  }
}

.brands {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.brands img {
  height: 20px;

  filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(255,255,255,0.3)); /* 🔥 ESTO LOS HACE BLANCOS */

  opacity: 0.8;
  transition: 0.3s;
}

.brands img:hover {
  opacity: 1;
  transform: scale(1.15);
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 55px;

  background: linear-gradient(90deg, #b8004c, #e6005c);

  color: white;

  box-shadow: 0 5px 20px rgba(230,0,92,0.5);

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 20px;
  z-index: 1000;

  box-sizing: border-box;
}

/* CENTRO */
.nav-center {
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 1px;
}

/* IZQUIERDA */
.nav-left {
  font-size: 22px;
  cursor: pointer;
}

/* DERECHA */
.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;       /* 🔥 separación */
  margin-right: 10px; /* 🔥 no pegados a la orilla */
}

/* ICONOS */
.icon {
  font-size: 20px;
  cursor: pointer;
  position: relative;

  color: white;
}

/* ICONO USUARIO */
.user::before {
  content: "👤";
  filter: brightness(0) invert(1); /* 🔥 blanco */
}

/* ICONO CARRITO */
.cart-icon::before {
  content: "🛒";
  filter: brightness(0) invert(1); /* 🔥 blanco */
}

/* ICONO CARRITO BASE */
.cart-icon {
  position: relative;
}

/* CONTADOR */
.contador {
  position: absolute;

  top: -6px;
  right: -8px;

  background: #00c853;
  color: white;

  font-size: 11px;
  font-weight: bold;

  width: 18px;
  height: 18px;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* BODY */
body {
  margin: 0;
}

/* HEADER (VERSIÓN QUE FUNCIONA BIEN) */
.header-catalogo {
  margin-top: 55px;

  background: 
    linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.35)),
    url("https://res.cloudinary.com/dlte2cyol/image/upload/v1776055088/Polish_20260412_223513334_v3bf0w.jpg");

  background-size: cover;
  background-position: center;

  color: white;
  text-align: center;
  padding: 60px 20px;
}

body {
  margin: 0;
}

.header {
  padding-top: 70px;
}

.header h1 {
  font-size: 28px;
  letter-spacing: 2px;
  text-align: center;

  text-shadow: 0 4px 15px rgba(0,0,0,0.9); /* 🔥 agrega esto */
}

.tallas-container {
  display: flex;
  gap: 10px;
  margin: 15px 0;
}

.talla-btn {
  padding: 10px 15px;
  border-radius: 10px;
  border: none;

  background: #eee;
  font-weight: bold;

  cursor: pointer;
  transition: 0.3s;
}

.talla-btn:hover {
  background: #ddd;
}

.talla-btn.activa {
  background: linear-gradient(45deg, #004d33, #006847); /* 🇲🇽 verde */
  color: white;

  box-shadow: 0 5px 15px rgba(0,104,71,0.5);
}

.talla-btn.activa:active {
  transform: scale(0.95);
}

/* PANEL */
.carrito-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  height: 100%;

  background: #111;
  color: white;

  z-index: 2000;
  transition: right 0.4s ease;

  display: flex;
  flex-direction: column;
}

/* ACTIVO */
.carrito-panel.activo {
  right: 0;
}

/* HEADER */
.carrito-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 20px;
  border-bottom: 1px solid #333;
}

#cerrarCarrito {
  cursor: pointer;
  font-size: 20px;
}

/* LISTA */
#carritoItems {
  flex: 1;
  overflow-y: auto;
  padding: 15px;
}

/* ITEM */
.item-carrito {
  display: flex;
  justify-content: space-between;
  align-items: center;

  background: #1a1a1a;
  padding: 10px;
  margin-bottom: 12px;

  border-radius: 10px;
}

/* BOTÓN ELIMINAR */
.eliminar {
  color: red;
  cursor: pointer;
}

/* FOOTER */
.carrito-footer {
  padding: 15px;
  border-top: 1px solid #333;
}

#totalCarrito {
  font-size: 18px;
  margin-bottom: 10px;
}

/* BOTÓN */
.btn-comprar {
  width: 100%;
  padding: 12px;

  background: #00c853;
  border: none;
  color: white;

  font-weight: bold;
  border-radius: 10px;
}

/* 🔥 FONDO OSCURO */
.overlay-carrito {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(5px);

  opacity: 0;
  pointer-events: none;

  transition: 0.3s;
  z-index: 1500;
}

.overlay-carrito.activo {
  opacity: 1;
  pointer-events: all;
}

.botones-compra {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.btn-producto {
  flex: 1;
  padding: 15px;
  border: none;
  border-radius: 25px;

  font-weight: bold;
  font-size: 14px;

  cursor: pointer;
  transition: 0.3s;
}

/* 🔥 CONTADO (ROJO PRO) */
.btn-producto.contado {
  background: linear-gradient(45deg, #b8004c, #e6005c); /* 💗 rosa mexicano */
  color: white;

  box-shadow: 0 5px 20px rgba(230,0,92,0.5);

  transition: 0.3s;
}

.btn-producto.contado:hover {
  transform: scale(1.05);

  background: linear-gradient(45deg, #ff1a75, #ff4da6);

  box-shadow: 0 8px 25px rgba(230,0,92,0.7);
}

/* 🔥 PAGOS (NEGRO PREMIUM) */
.btn-producto.pagos {
  background: linear-gradient(45deg, #004d33, #006847); /* 🇲🇽 verde */
  color: white;

  box-shadow: 
    0 5px 15px rgba(0,104,71,0.5),
    0 10px 25px rgba(0,0,0,0.6);

  transition: 0.3s;
}

.btn-producto.pagos:hover {
  transform: scale(1.05);

  background: linear-gradient(45deg, #008f5a, #00a86b);

  box-shadow: 0 8px 25px rgba(0,104,71,0.7);
}

/* EFECTO */
.btn-producto:active {
  transform: scale(0.96);
}

.container .btn-producto {
  width: 90%;
  max-width: 300px;
  margin: 20px auto;
}

.container .btn-producto {
  width: 70% !important;
  max-width: 280px !important;
  padding: 14px 0 !important;
  margin: 15px auto !important;
  display: block !important;
}

.container {
  text-align: center;
}

/* 🔥 EFECTO PRESIÓN */
.btn-producto:active {
  transform: scale(0.95);
}

/* 🔥 RIPPLE */
.btn-producto {
  position: relative;
  overflow: hidden;
}

.btn-producto span.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple 600ms linear;
  background: rgba(255,255,255,0.5);
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* 🔥 ANIMACIÓN CHECK */
@keyframes pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}


.item-carrito {
  position: relative;
}

#btnEnviarTienda {
  background: linear-gradient(45deg, #b8004c, #e6005c); /* 💗 rosa mexicano */
  color: white;

  font-weight: bold;

  box-shadow:
    0 5px 20px rgba(230,0,92,0.5),
    0 0 12px rgba(230,0,92,0.4);

  position: relative;
  overflow: hidden;
}

/* brillo */
#btnEnviarTienda::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;

  width: 100%;
  height: 100%;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.6),
    transparent
  );

  transition: 0.5s;
}

#btnEnviarTienda:active::before {
  left: 100%;
}

#btnEnviarTienda:active {
  transform: scale(0.96);
}

/* ❌ botón eliminar PRO */
.item-carrito .eliminar {
  position: absolute;
  top: 8px;
  right: 8px;

  width: 22px;
  height: 22px;

  border-radius: 50%;
  background: rgba(255,255,255,0.08);

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  transition: 0.2s;
}

/* dibujar la X con CSS (más elegante) */
.item-carrito .eliminar::before,
.item-carrito .eliminar::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 2px;
  background: #ff5252;
}

.item-carrito .eliminar::before {
  transform: rotate(45deg);
}

.item-carrito .eliminar::after {
  transform: rotate(-45deg);
}

/* hover */
.item-carrito .eliminar:hover {
  background: rgba(255,0,0,0.2);
  transform: scale(1.1);
}

.acciones-catalogo {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin: 20px;
}

/* 🔥 MODAL BASE */
.modal {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(5px);

  display: flex;
  justify-content: center;
  align-items: flex-end;

  opacity: 0;
  pointer-events: none;

  transition: 0.3s ease;

  z-index: 9999;
}

/* 🔥 ACTIVO */
.modal.activo {
  opacity: 1;
  pointer-events: auto;
}

/* 🔥 CONTENIDO */
.modal-content {
  background: linear-gradient(180deg, #1a0000, #000);
  color: white;

  width: 100%;
  border-radius: 25px 25px 0 0;

  padding: 20px;

  display: flex;
  flex-direction: column;
  gap: 15px;

  transform: translateY(100%);
  transition: 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);

  box-shadow: 0 -20px 60px rgba(0,0,0,0.9);

  /* 🔥 SCROLL GENERAL */
  max-height: 85vh;
  overflow-y: auto;
}

/* 🔥 SCROLL BONITO */
.modal-content::-webkit-scrollbar {
  width: 5px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: #ff1744;
  border-radius: 10px;
}

/* 🔥 ANIMACIÓN */
.modal.activo .modal-content {
  transform: translateY(0);
}

/* 🔥 BARRITA SUPERIOR */
.modal-content::before {
  content: "";
  width: 50px;
  height: 5px;
  background: #555;

  border-radius: 10px;

  display: block;
  margin: 0 auto 10px auto;
}

/* 🔥 TÍTULO */
.modal-content h3 {
  text-align: center;
  margin-bottom: 10px;
}

/* 🔥 GRUPO DE FILTROS */
.filtro-grupo {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* 🔥 LABELS */
.modal-content label {
  color: #cfcfcf; /* gris claro */
  opacity: 1;     /* quitamos opacidad */
}

/* 🔥 SELECTS (YA CASI NO SE USAN PERO LO DEJAMOS) */
.modal-content select {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: none;

  background: #1c1c1c;
  color: white;

  font-size: 14px;
}

/* 🔥 BOTONES APLICAR (FILTROS + ORDENAR) */
#aplicarFiltros,
#aplicarOrden,
.btn-aplicar {
  margin-top: 10px;
  padding: 14px;

  border-radius: 25px;
  border: none;

  background: linear-gradient(45deg, #004d33, #006847); /* 🇲🇽 verde */
  color: white;

  font-weight: bold;
  font-size: 16px;

  width: 100%;

  transition: 0.2s;

  box-shadow: 0 5px 20px rgba(0,104,71,0.5);

  position: relative;
  overflow: hidden;
}

/* ✨ BRILLO */
#aplicarFiltros::before,
#aplicarOrden::before,
.btn-aplicar::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;

  width: 100%;
  height: 100%;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.5),
    transparent
  );

  transition: 0.5s;
}

/* ⚡ ANIMACIÓN */
#aplicarFiltros:active::before,
#aplicarOrden:active::before,
.btn-aplicar:active::before {
  left: 100%;
}

/* 🔥 PRESIÓN */
#aplicarFiltros:active,
#aplicarOrden:active,
.btn-aplicar:active {
  transform: scale(0.96);
  box-shadow: 0 2px 10px rgba(0,104,71,0.4);
}

/* 🔥 BOTONES DE ORDEN */
.opcion-orden {
  width: 100%;
  padding: 12px;

  border-radius: 12px;
  border: none;

  background: #1c1c1c;
  color: white;

  text-align: left;
  font-size: 14px;

  transition: 0.2s;
}

/* 🔥 ACTIVO */
.opcion-orden.activa {
  background: linear-gradient(45deg, #b8004c, #e6005c);
}

/* 🔥 BOTÓN APLICAR GENERAL */
.btn-aplicar {
  margin-top: 10px;
  padding: 14px;

  border-radius: 25px;
  border: none;

  background: linear-gradient(45deg, #ff1744, #ff5252);
  color: white;

  font-weight: bold;
  font-size: 16px;

  width: 100%;

  transition: 0.2s;
}

.btn-aplicar:active {
  transform: scale(0.97);
}

/* 🔥 SELECT NORMAL */
select {
  background: #1c1c1c;
  color: white;
  border: none;
}

/* 🔥 SELECT ACTIVO */
select.activo {
  background: linear-gradient(45deg, #b8004c, #e6005c);
  color: white;
}

/* 🔥 QUITAR BORDE NATIVO */
select:focus,
select:active {
  outline: none;
  box-shadow: none;
}

/* 🔥 CONTENEDOR CUSTOM */
.custom-select {
  width: 100%;
  border-radius: 15px;
  background: #1c1c1c;
  color: white;
  overflow: hidden;
  transition: 0.3s;
}

/* 🔥 CABECERA */
.select-header {
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

/* 🔥 FLECHA */
.arrow {
  transition: 0.3s;
}

/* 🔥 OPCIONES (IMPORTANTE SCROLL AQUÍ) */
.select-opciones {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;

  background: #1c1c1c;
}

/* 🔥 CUANDO SE ABRE */
.custom-select.abierto .select-opciones {
  max-height: 200px;
  overflow-y: auto;
}

/* 🔥 SCROLL BONITO EN OPCIONES */
.select-opciones::-webkit-scrollbar {
  width: 4px;
}

.select-opciones::-webkit-scrollbar-thumb {
  background: #ff1744;
  border-radius: 10px;
}

/* 🔥 ROTACIÓN FLECHA */
.custom-select.abierto .arrow {
  transform: rotate(180deg);
}

/* 🔥 OPCIONES */
.opcion {
  padding: 15px;
  border-top: 1px solid #333;
  cursor: pointer;

  background: #1c1c1c;
  color: white;
}

/* 🔥 EFECTO AL TOCAR */
.opcion:active {
  background: #ff1744;
}

/* 🔴 SOLO HEADER ROJO */
.custom-select.activo .select-header {
  background: linear-gradient(45deg, #b8004c, #e6005c);
  color: white;
}

.auth-container {
  max-width: 300px;
  margin: 100px auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth-container input {
  padding: 12px;
  border-radius: 10px;
  border: none;
}


#listaTiendas button {
  margin: 5px;
  padding: 10px;
  border-radius: 10px;
  border: none;

  background: transparent; /* 🔥 IMPORTANTE */
}

#listaTiendas button.activa {
  background: red;
  color: white;
}

.tienda-item {
  background: #1c1c1c;
  padding: 15px;
  border-radius: 15px;
  margin-bottom: 12px;

  color: white;

  box-shadow: 0 5px 20px rgba(0,0,0,0.6);
  transition: 0.3s;
}

.tienda-item.activa {
  border: 2px solid #ff1744;

  box-shadow:
    0 0 15px rgba(255,23,68,0.6),
    0 5px 25px rgba(0,0,0,0.8);
}

.tienda-botones {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.zoom-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.zoom-container {
  width: 90%;
  max-width: 400px;
  height: 60%; /* 🔥 antes 70%, ahora más bajo */
  background: white;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.zoom-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center;
  touch-action: none;
}

#listaTiendas .btn-elegir,
#listaTiendas .btn-maps {
  flex: 1;
  padding: 12px;

  border-radius: 20px;
  border: none;

  background: linear-gradient(45deg, #004d33, #006847); /* 🇲🇽 verde mexicano */
  color: white;

  font-weight: bold;
  font-size: 14px;

  box-shadow:
    0 5px 15px rgba(0,104,71,0.5),
    0 0 10px rgba(0,104,71,0.4);

  transition: 0.2s;

  position: relative;
  overflow: hidden;
}

/* ✨ brillo */
#listaTiendas .btn-elegir::before,
#listaTiendas .btn-maps::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;

  width: 100%;
  height: 100%;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.5),
    transparent
  );

  transition: 0.5s;
}

#listaTiendas .btn-elegir:active::before,
#listaTiendas .btn-maps:active::before {
  left: 100%;
}

/* presión */
#listaTiendas .btn-elegir:active,
#listaTiendas .btn-maps:active {
  transform: scale(0.95);
}

/* 🔥 CONTENEDOR BOTÓN FIJO */
.footer-tienda {
  position: sticky;
  bottom: 0;

  background: linear-gradient(180deg, transparent, #000);
  padding: 15px 10px 10px;

  z-index: 10;
}

/* 🔥 BOTÓN FULL WIDTH */
.footer-tienda #btnEnviarTienda {
  width: 100%;
}

/* 🔥 FOOTER FIJO */
.footer-tienda {
  position: sticky;
  bottom: 0;

  padding: 10px 0;

  background: linear-gradient(180deg, transparent, #000);

  z-index: 10;
}

/* 🔥 BOTÓN COMPLETO */
.footer-tienda .btn-producto {
  width: 100%;
  margin: 0;
}

/* 🔥 HEADER MODAL */
.modal-header {
  position: relative;
  text-align: center;
}

/* ❌ BOTÓN CERRAR */
.cerrar-modal {
  position: absolute;
  top: -25px;
  right: 0;

  font-size: 22px;
  font-weight: bold;
  color: #ff1744;

  cursor: pointer;

  width: 35px;
  height: 35px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: rgba(255, 23, 68, 0.1);

  box-shadow: 0 0 12px rgba(255, 0, 0, 0.5);

  transition: 0.2s;
}

/* 🔥 EFECTO TOUCH */
.cerrar-modal:active {
  transform: scale(0.9);
  background: rgba(255, 23, 68, 0.3);
}

/* 🔥 TITULOS DE MODALES (FILTROS / ORDENAR / TIENDA) */
.modal-content h3 {
  color: #f1f1f1; /* gris claro elegante */
  font-weight: 600;
  letter-spacing: 0.5px;

  text-shadow:
  0 0 5px rgba(255,255,255,0.1),
  0 2px 10px rgba(0,0,0,0.6);
}

.header-producto {
  margin-top: 55px;

  background: 
    linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.4)),
    url("https://res.cloudinary.com/dlte2cyol/image/upload/v1776055087/Polish_20260412_223658916_ar6tac.jpg");

  background-size: cover;
  background-position: center;

  color: white;
  text-align: center;
  padding: 60px 20px;
}

.header-producto h1 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 2px;

  color: #ffffff;

  text-shadow:
    0 3px 12px rgba(0,0,0,0.8),
    0 0 10px rgba(255,255,255,0.2);
}

.contador-cantidad {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 20px 0;
}

.contador-cantidad button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;

  background: linear-gradient(45deg, #b8004c, #e6005c);
  color: white;

  font-size: 20px;
  font-weight: bold;

  box-shadow: 0 5px 15px rgba(230,0,92,0.5);

  cursor: pointer;
}

.contador-cantidad span {
  font-size: 18px;
  font-weight: bold;
}

.bloque-descripcion {
  margin-top: 15px;
  text-align: center;
  padding: 0 15px;
}

.titulo-descripcion {
  font-weight: bold;
  font-size: 16px;
  color: #000;
  margin-bottom: 5px;
}

.descripcion-producto {
  font-size: 14px;
  color: #555;
  line-height: 1.4;
}

.info-carrito {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cantidad-carrito {
  opacity: 1;
}

.item-carrito p {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

.precio-carrito {
  color: #00e676; /* 🔥 verde más vibrante */
  font-weight: bold;
  font-size: 18px;

  text-shadow: 0 2px 8px rgba(0,230,118,0.4);
}

.tamanos-info {
  margin-top: 15px;
  text-align: center;
}

.titulo-tamanos {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 8px;
  color: #000;
}

.lista-tamanos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.item-tamano {
  background: #ffffff;
  color: #333;

  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;

  border: 1px solid rgba(0,0,0,0.1); /* 🔥 contorno sutil */

  box-shadow: none; /* 🔥 quitamos brillo */
  opacity: 0.9;     /* 🔥 efecto discreto */
}