.menus {
  background: #fff;
  font-size: 14px;
  color: #000;
  margin: 0;
  padding: 0;
}

.swiper-container {
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
}

.swiper-slide {
  background-position: center;
  background-size: cover;
  width: 400px;
  height: 400px;
}

.menus img {
  width: 100%;
  cursor: pointer;
}
.menus video {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.descripcion {
  max-width: 800px;
  margin: auto;
  margin-top: 50px;
  margin-bottom: 30px;
}

/* === POPUP === */
/* === POPUP === */
.popup {
  display: none; /* oculto al inicio */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  overflow: hidden; /* evita scroll de fondo */
}

.popup-content {
  background: #fff;
  width: 80%;          /* ancho en PC */
  max-width: 800px;    /* límite máximo en PC */
  height: 70%;         /* altura vertical en PC */
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  zoom: 120%;

}


.popup-content iframe {
  width: 100%;        /* ocupa todo el ancho posible del popup */
  max-width: 700px;   /* no superamos tu límite */
  height: 100%;        /* más alto que antes, ocupa más verticalmente */
  border: none;
  margin: auto;       /* centrado horizontal y vertical */
  display: block;     /* necesario para margin auto */
  margin-top: 50px;
  margin-right: 20px;
}


/* Botón cerrar */
.close {
  position: absolute;
  top: 8px;
  right: 15px;
  font-size: 30px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  z-index: 10;
}

/* Responsive móviles */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden; /* evita scroll horizontal al abrir popup */
  }

  .popup-content {
    width: 100%;       /* ocupar todo el ancho */
    height: 90%;      /* ocupar toda la altura */
    margin: 2px;       /* margen pequeño para no pegarse a los bordes */
    max-width: none;   /* ignorar el max-width */
    border-radius: 5px; 
  }

  .popup-content iframe {
     width: 90%;
  max-width: 800px;
  height: 80%;
  margin-top: 30px; /* ajusta este valor a lo que necesites */
  }
}
@media (max-width: 1366px){
  .popup-content {
    width: 90%;       
    height: 95%;      
    margin: 2px auto;       /* centrado horizontal del popup */
    max-width: none;   
    border-radius: 5px; 
    overflow: hidden; /* evita que el iframe se salga */
    position: relative;
  }

  .popup-content iframe {
    display: block;
    width: 100%;        /* ocupa todo el ancho del popup */
    height: 100%;       /* ocupa toda la altura del popup */
    border: none;
    margin: 0 auto;     /* centrado horizontal dentro del popup */
  }
}




