/* =========================
RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Syne", sans-serif;
}

body {
  background: #ffffff;
  color: #222;
}

/* =========================
CONTAINER
========================= */
.container {
  margin: auto;
  max-width: 1200px;
  padding: 0 16px;
}

/* =========================
TITULO
========================= */
.titulo-categoria-diferente {
  text-align: center;
  font-size: 34px;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  margin-top: 60px;
  color: #1d1616;
}



/* =========================
BANNER
========================= */
.banner-categoria {
  width: 100%;
  height: 50vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.banner-img {
  position: absolute;
  inset: 0;
}

.banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-img .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.banner-texto {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.banner-texto h1 {
  font-family: "Playfair Display", serif;
  font-size: 46px;
  font-weight: 600;
}

.banner-texto p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
}

/* =========================
BREADCRUMB
========================= */
.breadcrumb {
  display: block;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #888;
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 16px;
}

.breadcrumb a {
  text-decoration: none;
  color: #444;
  transition: 0.3s;
}

.breadcrumb a:hover {
  color: #000;
}

.separator {
  color: #bbb;
}

/* ICONOS */
.breadcrumb i {
  font-size: 12px;
  margin-right: 4px;
  color: #999;
}
/* =========================
ANIMACIÓN
========================= */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
FILTROS
========================= */
.filtros-productos {
  margin: 30px 0;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-filtro {
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid #ddd;
  background: transparent;
  color: #444;
  cursor: pointer;
  font-size: 14px;
  transition: 0.3s;
}

.btn-filtro:hover {
  background: #f5f5f5;
}

.btn-filtro.activo {
  background: #222;
  color: #fff;
}

/* =========================
GRID (🔥 3 COLUMNAS)
========================= */
.grid-categoria {
  display: grid;
  gap: 25px;
  max-width: 1200px;
  margin: auto;
  padding: 40px 16px 80px;
  grid-template-columns: repeat(3, 1fr);
}

/* =========================
CARD
========================= */
.card-tipo {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.card-tipo:hover {
  transform: translateY(-5px);
}

/* IMAGEN */
.card-tipo-img {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  position: relative;
}

.card-tipo-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.card-tipo:hover img {
  transform: scale(1.05);
}

/* BOTON HOVER */
.card-tipo-img::after {
  content: "Ver producto";
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 20px;
  opacity: 0;
  transition: 0.3s;
}

.card-tipo:hover .card-tipo-img::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* TEXTO */
.card-tipo h3 {
  padding: 10px;
  font-size: 16px;
  font-family: "Gelasio", serif;
  color: #9e8c8c;
}

.card-tipo p {
  padding: 0 10px 15px;
  font-size: 14px;
  color: #666;
}

/* =========================
RESPONSIVE
========================= */
@media (max-width: 1000px) {
  .grid-categoria {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .grid-categoria {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 500px) {
  .grid-categoria {
    grid-template-columns: 1fr;
  }

  .titulo-categoria-diferente {
    font-size: 26px;
  }

  .banner-texto h1 {
    font-size: 32px;
  }
}