body {
  background-color: #f9fafb; /* gris claro */
  color: #1f2937; /* gris oscuro */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body {
  padding-top: 80px; /* si el header mide 80px de alto */
}
.slider-wrapper {
  overflow: hidden;
  width: 100%;
  margin: 0;
}

.slider-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
  will-change: transform;
}

.slider-slide {
  flex: 0 0 33.3333%;
  aspect-ratio: 1 / 1;
}

.slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .slider-slide {
    flex: 0 0 100%;
  }
}
.filter-options {
  transition: all 0.3s ease-in-out;
}

.filter-toggle svg {
  transition: transform 0.3s;
}

.rotate-180 {
  transform: rotate(180deg);
}



.filtro-tag-close {
  background: none;
  border: none;
  color: white;
  font-weight: bold;
  margin-left: 8px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}

.catalogo-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  overflow: visible;
}

@media (min-width: 640px) {
  .catalogo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .catalogo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mensaje-no-promos {
  text-align: center;
  color: #6b7280; /* Gris claro */
  font-size: 1.125rem;
  font-weight: 500;
  grid-column: 1 / -1;
}

.paginacion-container {
  width: 100%;
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.promo-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
  border: 1px solid #e5e7eb;
}

.promo-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.promo-logo {
  background-color: #f9fafb;
  padding: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.promo-logo img {
  height: 40px;
  object-fit: contain;
  display: block;
}

.promo-image {
  width: 100%;
  
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f3f4f6; /* Puedes quitarlo si no quieres fondo */
  overflow: hidden;
  padding: 0;
  margin: 0;
  border: none;
}


.promo-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}


.promo-description {
  padding: 16px;
  background-color: #fff;
  color: #374151; /* Gray-700 */
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.promo-description h3 {
  color: #1d4ed8; /* Azul Fame */
  font-weight: bold;
  font-size: 1.125rem;
  line-height: 1.4;
  margin: 0;
}

.promo-description p {
  font-size: 0.875rem;
  margin: 0;
  white-space: pre-line;
}

.promo-location {
  font-size: 0.75rem;
  color: #6b7280; /* Gray-500 */
  font-weight: 500;
}

.carrusel-contenedor {
  width: 100%;
  padding-bottom: 1.5rem;
  overflow: hidden;
  margin-top: 4rem;
}

.titulo-promociones {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(to right, #3b82f6, #22d3ee, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  user-select: none;
}

.filtro-boton {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  text-align: left;
  color: #1d4ed8;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
}
.filtro-boton:hover {
  color: #1e3a8a;
}

#promociones-section {
  display: flex;
  flex: 1;
  width: 100%;
  max-width: 100vw;
  gap: 1.5rem;
  padding: 0 2rem;
  background-color: #fff;
  margin: 0 auto;
}
.titulo-subtexto {
  width: 100%;
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 1rem;
}

.titulo-subtexto p {
  margin-top: 0.5rem;
  color: #6b7280; /* gray-500 */
  font-size: 1rem;
  font-weight: 500;
}
.promociones-section {
  display: flex;
  flex: 1;
  width: 100%;
  max-width: 100vw;
  gap: 1.5rem;
  padding: 0 2rem;
  background-color: white;
  margin: 0 auto;
  min-height: calc(100vh - 80px);
}
input[type="checkbox"] {
  accent-color: #2563EB;
}
.filtro-boton {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  text-align: left;
  color: #1d4ed8;
  background: none;
  border: none;
  padding: 0;
  margin-bottom: 0.5rem;
  cursor: pointer;
}
.filtro-boton:hover {
  color: #1e3a8a;
}
.filtro-icono {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}
.rotate-180 {
  transform: rotate(180deg);
}
.sidebar-filtros {
  width: 260px;
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
  overflow-y: auto;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 1rem;
}
.filtro-titulo {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border-bottom: 1px solid #d1d5db; /* gris claro */
  padding-bottom: 0.5rem;
}
.filter-options {
  max-height: 200px;
  overflow-y: auto;
  margin-top: 0.5rem;
}
.filtro-opcion {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: #374151; /* text-gray-700 */

  transition: color 0.3s;
}

.filtro-opcion:hover {
  color: #2563EB; /* azul Fame */
}
.carrusel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(37, 99, 235, 0.7);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 0 12px;
  cursor: pointer;
  user-select: none;
  z-index: 10;
  border-radius: 4px;
}

#prevBtn {
  left: 10px;
}

#nextBtn {
  right: 10px;
}

.hidden {
  display: none;
}

.rotate-180 {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.filter-options {
  max-height: 0;
  opacity: 0;
  overflow-y: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.filter-options.show {
  max-height: 200px; /* o la altura que quieras */
  opacity: 1;
  overflow-y: auto;
}

.filter-options {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.filter-options.show {
  max-height: 200px; /* ajusta según necesidad */
  overflow-y: auto;
}

.filtro-tags-contenedor {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.filtro-tag {
  background-color: #2563EB;
  color: white;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  line-height: 1.25rem;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.filtro-tag button {
  background: none;
  border: none;
  color: white;
  font-weight: bold;
  font-size: 1rem;
  margin-left: 0.4rem;
  cursor: pointer;
  line-height: 1;
}
.bloque-etiquetas-filtros {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: #F1F5F9; /* gris claro */
  border-radius: 0.5rem;
  border: 1px solid #CBD5E1;
}

.titulo-etiquetas-filtros {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #1E3A8A; /* azul fuerte */
}

.filtro-tags-contenedor {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filtro-tag {
  background-color: #2563EB;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.filtro-tag button {
  background: none;
  border: none;
  color: white;
  font-weight: bold;
  font-size: 1rem;
  margin-left: 0.4rem;
  cursor: pointer;
  line-height: 1;
}
