
        .modal-content {
            background: white;
        }

        /* Imagen principal */
        .zoom-wrapper {
            max-height: 70vh;
            overflow: hidden;
            position: relative;
        }

     
        /* Flechas */
        .nav-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            font-size: 40px;
            color: #fff;
            background: rgba(0, 0, 0, .4);
            border: none;
            padding: 5px 15px;
            cursor: pointer;
            z-index: 10;
        }

        .prev {
            left: 10px;
        }

        .next {
            right: 10px;
        }

        /* Thumbnails */
        .thumbs-container {
            display: flex;
            justify-content: center;
            gap: 10px;
            flex-wrap:nowrap;
           overflow: hidden;
        }

        .thumb {
            width: 70px;
            height: 70px;
            object-fit: cover;
            opacity: .5;
            border-radius: 6px;
            cursor: pointer;
            transition: .2s;
        }

        .thumb.active {
            opacity: 1;
            border: 2px solid #fff;
            transform: scale(1.05);
        }
    