/* Estilos generales */
body {
   
    text-align: center;
 
}

/* Contenedor de los items */
.parent {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.items {
    cursor: pointer;
    /* padding: 10px; */
    /* text-align: center; */
    /* border: 1px solid #ddd; */
    /* border-radius: 5px; */
    /* transition: 0.3s; */
    /* width: 200px; */
}

.items img {
    /* width: 100%; */
    /* height: auto; */
    /* border-radius: 5px; */
}

.items span {
    display: block;
    margin-top: 5px;
    font-weight: bold;
}

/* Efecto hover */
.items:hover {
    background-color: #f0f0f0;
}

/* Fondo oscuro del popup */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Contenido del popup */
.popup {
    background: white;
    padding: 17px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    width: 95%;
    max-width: 364px;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

/* Botón de cerrar */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}

/* Botón de WhatsApp */
.btn {
    display: inline-block;
    background-color: #25d366;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 10px;
}

/* Activar popup */
.overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup.active {
    transform: scale(1);
}

.popup p {
    position: relative;
    font-size: 13px;
    text-align: left;
    color: #656565;
} 