/* CONTENEDOR */
.sgp-container {
    width: 100%;
}

/* TÍTULO */
.sgp-title {
    text-align: center;
    margin-bottom: 25px;
    font-size: 28px;
}

/* LAYOUT */
.sgp-wrapper {
    display: flex;
    gap: 20px;
    width: 100%;
}

.sgp-main-image,
.sgp-gallery {
    width: 50%;
}

/* IMÁGENES */
.sgp-main-image img,
.sgp-gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* GALERÍA GRID */
.sgp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

/* BOTÓN */
.sgp-more-btn {
    margin-top: 15px;
    padding: 10px;
    width: 100%;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* GALERÍA OCULTA */
.sgp-gallery-hidden {
    display: none;
    margin-top: 10px;
}

/* CURSOR */
.sgp-lightbox-img {
    cursor: zoom-in;
}

/* LIGHTBOX */
#sgp-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}

#sgp-lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.sgp-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 35px;
    color: #fff;
    cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .sgp-wrapper {
        flex-direction: column;
    }

    .sgp-main-image,
    .sgp-gallery {
        width: 100%;
    }

    .sgp-title {
        font-size: 22px;
    }
}
