
    .vsg-gallery-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
    }
    .vsg-image-grid {
        display: grid;
        gap: 10px;
        margin-bottom: 20px;
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
    .vsg-gallery-item {
        aspect-ratio: 1/1;
        width: 100%;
        background: #000;
        border-radius: 8px;
        overflow: hidden;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        will-change: transform;
        backface-visibility: hidden;
        transform: translateZ(0);
    }
    .vsg-gallery-item a {
        display: block;
        width: 100%;
        height: 100%;
    }
    .vsg-gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        border-radius: 8px;
        cursor: pointer;
        opacity: 1;
        transition: none;
        backface-visibility: hidden;
    }
    .vsg-gallery-item:hover img {
        transform: scale(1.05);
        transition: transform 0.15s ease-out;
    }
    .vsg-no-images {
        text-align: center;
        padding: 20px;
        grid-column: 1 / -1;
    }
    
    /* Spinner loader */
    .vsg-loader {
        text-align: center;
        padding: 40px;
        display: none;
    }
    .vsg-loader.active {
        display: block;
    }
    .vsg-spinner {
        border: 4px solid rgba(102, 126, 234, 0.2);
        border-top: 4px solid #667eea;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        animation: vsg-spin 1s linear infinite;
        margin: 0 auto;
    }
    @keyframes vsg-spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
    .vsg-loader-text {
        margin-top: 15px;
        color: #667eea;
        font-weight: bold;
    }
    .vsg-end-message {
        text-align: center;
        padding: 30px;
        color: #999;
        font-style: italic;
        display: none;
    }
    .vsg-end-message.active {
        display: block;
    }
    
    @media (max-width: 768px) {
    .vsg-image-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 5px !important;
    }
}
    @media (max-width: 480px) {
    .vsg-image-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 3px !important;
    }
}
    
    /* Custom Lightbox */
    .vsg-lightbox {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 99999;
        align-items: center;
        justify-content: center;
    }
    .vsg-lightbox.active {
        display: flex;
    }
    .vsg-lightbox-content {
        position: relative;
        max-width: 90%;
        max-height: 90%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .vsg-lightbox img {
        max-width: 100%;
        max-height: 90vh;
        object-fit: contain;
        border-radius: 8px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    }
    .vsg-lightbox-prev,
    .vsg-lightbox-next {
        position: fixed;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255,255,255,0.1);
        border: 2px solid white;
        color: white;
        font-size: 50px;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s;
        z-index: 100000;
    }
    .vsg-lightbox-prev {
        left: 30px;
    }
    .vsg-lightbox-next {
        right: 30px;
    }
    .vsg-lightbox-prev:hover,
    .vsg-lightbox-next:hover {
        background: rgba(255,255,255,0.2);
        transform: translateY(-50%) scale(1.1);
    }
    @media (max-width: 768px) {
        .vsg-lightbox-prev,
        .vsg-lightbox-next {
            width: 50px;
            height: 50px;
            font-size: 40px;
        }
        .vsg-lightbox-prev {
            left: 15px;
        }
        .vsg-lightbox-next {
            right: 15px;
        }
    }
    