.gcc-gallery-container {
    max-width: 100%;
    margin: 20px 0;
    position: relative;
}

.gcc-gallery-main {
    width: 100%;
    height: 450px;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gcc-thumbnail-item .gcc-thumbnail-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.gcc-gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 10px;
    margin-bottom: 15px;
    max-width: 100%;
    overflow-x: auto;
    padding: 5px 0;
}

.gcc-thumbnail-item {
    width: 80px;
    height: 60px;
    border: 2px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gcc-thumbnail-item:hover {
    border-color: var( --e-global-color-accent );
    transform: scale(1.05);
}

.gcc-thumbnail-item.gcc-active {
    border-color: var( --e-global-color-accent );
    border-width: 3px;
}

.gcc-thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gcc-gallery-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.gcc-gallery-prev,
.gcc-gallery-next {
    background: var( --e-global-color-primary );
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.gcc-gallery-prev:hover,
.gcc-gallery-next:hover {
    background: #ffcc00;
}

.gcc-gallery-counter {
    font-weight: bold;
    color: #333;
    min-width: 60px;
    text-align: center;
}

.gcc-no-images {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 8px;
}

.gcc-main-img.gcc-zoomed {
    transform: scale(2); /* Nivel de zoom */
    cursor: zoom-out;
}
/* Responsive */
@media (max-width: 768px) {
    .gcc-gallery-main {
        height: 400px;
    }
    
    .gcc-thumbnail-item {
        width: 70px;
        height: 50px;
    }
    
    .gcc-gallery-thumbnails {
        grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    }
}

@media (max-width: 480px) {
    .gcc-gallery-main {
        height: 400px;
    }
    
    .gcc-thumbnail-item {
        width: 60px;
        height: 45px;
    }
    
    .gcc-gallery-thumbnails {
        grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
        gap: 8px;
    }
}