/* ==============================================================
   GALERÍAS DE FOTOS TÁCTILES Y CARRUSEL (TOUCH SWIPE)
   Clínica JANDJ - Reutilizable en todas las especialidades
   ============================================================== */
.cjj-gallery-wrap {
    margin: 25px 0 35px 0;
    position: relative;
    width: 100%;
    clear: both;
}

.cjj-gallery-wrap .screenshots-carousel {
    margin: 0 -4px;
}

.cjj-gallery-wrap .screenshots-carousel .shot {
    padding: 4px;
    height: 280px !important;
    overflow: hidden;
    border-radius: 12px;
}

.cjj-gallery-wrap .screenshots-carousel .shot .screen {
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    background: #f8fafc;
}

.cjj-gallery-wrap .screenshots-carousel .shot a.zoom {
    display: block;
    height: 100%;
    cursor: pointer;
    text-decoration: none !important;
}

.cjj-gallery-wrap .screenshots-carousel .shot a.zoom img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.35s ease;
    display: block;
}

.cjj-gallery-wrap .screenshots-carousel .shot a.zoom:hover img {
    transform: scale(1.04);
}

/* Indicador de deslizamiento y controles Owl Theme */
.cjj-gallery-wrap .owl-theme .owl-controls {
    margin-top: 15px !important;
    text-align: center;
}

.cjj-gallery-wrap .owl-theme .owl-controls .owl-page span {
    width: 10px;
    height: 10px;
    margin: 4px 5px;
    background: #007a32;
    opacity: 0.35;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.cjj-gallery-wrap .owl-theme .owl-controls .owl-page.active span {
    opacity: 1;
    transform: scale(1.25);
    background: #007a32;
}

/* Adaptación ergonómica a móviles (swipe horizontal con el dedo) */
@media (max-width: 767px) {
    .cjj-gallery-wrap {
        margin: 15px 0 25px 0;
    }

    .cjj-gallery-wrap .screenshots-carousel .shot {
        height: 240px !important;
        padding: 3px;
    }

    .cjj-gallery-wrap .screenshots-carousel .shot a.zoom img {
        min-height: 240px !important;
        height: 240px !important;
    }
}
