/* ===== BASE (mobile first) ===== */

.categorias {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 3%;
  gap: 10px;
  cursor: pointer;
}

.categorias_nav {
  background-color: #dd1f83;
  border-radius: 1vh;
  padding: 10px;
  color: #fff;
}

.busqueda {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 3%;
}

.tigres {
  justify-content: center;
  display: flex;
  flex-wrap: wrap; /* clave para responsive */
  gap: 10px;
  padding: 10px;
}

.img_tigres {
  width: 100%; /* full en celular */
  max-width: 100%;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  overflow: hidden;
  position: relative;
  transition: .25s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.img_tigres:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Modal igual (no necesita mucho cambio) */
.modal-img {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
}

.modal-img-content {
  display: block;
  margin: auto;
  max-width: 95%;
  max-height: 80%;
  border-radius: 10px;
}

.modal-img-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}

.prev, .next {
  position: absolute;
  top: 50%;
  color: white;
  font-size: 30px;
  cursor: pointer;
  padding: 10px;
  user-select: none;
  transform: translateY(-50%);
}

.prev { left: 10px; }
.next { right: 10px; }

.prev:hover, .next:hover {
  color: #ccc;
}

.cuerpo_origen {
  background-color: #fff;
  width: 100%;
}

.gastronomia_contaier {
  background-image: url(../img/turismo/fondos/gastronomia-img.jpg);
  min-height: 400px;
  padding: 20px;
  background-size: cover;
  background-position: center;
}

.titulo_gastronomia {
  padding: 10px 0;
  text-align: center;
  background-color: #6D8496;
  font-size: 22px;
  color: #fff;
}

.body_text {
  padding: 15px;
  color: #6D8496;
  background-color: #fff;
}


/* ===== TABLET ===== */
@media (min-width: 768px) {

  .categorias {
      width: 40%;
  }

  .busqueda {
      width: 60%;
  }

  .img_tigres {
      width: 45%; /* 2 por fila */
  }

  .cuerpo_origen {
      width: 100%;
  }

  .titulo_gastronomia {
      font-size: 26px;
  }
}


/* ===== DESKTOP ===== */
@media (min-width: 1024px) {

  .categorias {
      width: 30%;
      padding: 1%;
  }

  .busqueda {
      width: 18%;
      padding-left: 1%;
      padding-bottom: 1%;
  }

  .img_tigres {
      width: 22%; /* 4 por fila */
      max-width: 25vh;
  }

  .cuerpo_origen {
      width: 78%;
  }

  .gastronomia_contaier {
      min-height: 700px;
      padding-left: 15%;
      padding-top: 5%;
  }

  .titulo_gastronomia {
      font-size: 32px;
  }
}