.jweb-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}

.jweb-carousel {
    display: flex;
    gap: 10px;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.jweb-slide {
    flex: 0 0 calc(25% - 10px);
    text-align: center;
}

.jweb-slide img {
    width: 100%;
    height: 90%;
    border-radius: 10px;
    cursor: pointer;
}

/* Botones de navegación del carrusel */
.jweb-prev-btn, .jweb-next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
}

.jweb-prev-btn {
    left: 10px;
}

.jweb-next-btn {
    right: 10px;
}

/* Caja de luz */
.jweb-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.jweb-lightbox-content {
    position: relative;
    max-width: 60%;
    max-height: 90vh;
    background: #fff;
    padding: 20px 20px 0px 20px;
    border-radius: 10px;
    width: 100%;
    height: 90vh;
    overflow: hidden;
}

.jweb-lightbox-image-container {
    position: relative;
    width: 100%;
    height: calc(100% - 40px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.jweb-lightbox img {
    width: 150%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.jweb-lightbox-info {
    position: absolute;
    top: 20%;
    right: 20px;
    width: 18%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 5px;
    z-index: 1010;
}

.jweb-contact-btn {
    background: #1b9c85;
    color: white;
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.jweb-contact-btn:hover {
    background-color: white;
    color: #1b9c85;
}

.jweb-contact-btn .whatsapp-icon {
    width: 20px;
    height: 20px;
}

.jweb-share-btn {
    background: #25D366;
    color: white;
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font-size: 14px;
}

.jweb-lightbox-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    color: #ff4444;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    z-index: 1;
}

.jweb-lightbox-close-btn:hover {
    background: #ff4444;
    color: white;
}

a#jweb-whatsapp-btn {
    text-decoration: none;
}

.jweb-lightbox-prev-btn, .jweb-lightbox-next-btn {
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    font-size: 24px;
    cursor: pointer;
    z-index: 1010;
}

.jweb-lightbox-prev-btn {
    left: 10px;
}

.jweb-lightbox-next-btn {
    right: 80px;
}

.jweb-dots {
    text-align: center;
    margin-top: 10px;
}

.jweb-dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.jweb-dot.active {
    background-color: #1b9c85;
}

/* Contenedor de íconos flotantes */
.jweb-mobile-icons {
    display: none !important; /* Aumentamos la especificidad */
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 10px;
    z-index: 10;
}


.jweb-mobile-whatsapp,
.jweb-mobile-share {
    background: rgba(255, 255, 255, 0.9);
    padding: 8px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    text-decoration: none;
    color: #1b9c85;
}

.jweb-mobile-whatsapp:hover,
.jweb-mobile-share:hover {
    background: #1b9c85;
    color: white;
}

/* Estilos para móviles */
@media screen and (max-width: 768px) {
    .jweb-wrapper {
        overflow-x: hidden;
    }

    .jweb-carousel {
        gap: 0;
    }

    .jweb-slide {
        flex: 0 0 100%;
        position: relative; /* Para los íconos flotantes */
    }

    .jweb-slide img {
        height: 75vh;
    }

    .jweb-prev-btn, .jweb-next-btn {
        display: none; /* Ocultar flechas en móviles */
    }

    .jweb-mobile-icons {
        display: flex !important; /* Solo visible en móviles */
    }
}

/* Mostrar flechas solo en escritorio */
@media screen and (min-width: 769px) {
    .jweb-prev-btn, .jweb-next-btn {
        display: block;
    }
}