

/* Скрываем только блоки с галереями */
.lite-block .lt-gallery-list:not(.lt-editing) {
    display: none !important;
}

/* Стили слайдера */
.gk-slider-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    overflow: hidden;
    overflow: hidden;
}

.gk-main-slider {
    display: flex;
    transition: transform 0.5s ease;
    margin-bottom: 15px;
}

.gk-slide {
    min-width: 100%;
    position: relative;
    text-align: center;
    flex-shrink: 0;
}

.gk-slide img {
    max-width: 100%;
    max-height: 500px;
    height: auto;
    cursor: pointer;
    object-fit: contain;
    border-radius: 8px;
}

/* Миниатюры */
.gk-thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px 0;
    overflow-x: auto;
}

.gk-thumbnail {
    width: 80px;
    height: 80px;
    cursor: pointer;
    border: 3px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    opacity: 0.6;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.gk-thumbnail:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.gk-thumbnail.active {
    opacity: 1;
    border-color: #007bff;
}

.gk-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Кнопки навигации */
.gk-slider-btn {
    display: none !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.gk-slider-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.gk-prev {
    left: 15px;
}

.gk-next {
    right: 15px;
}

/* Счетчик слайдов */
.gk-slider-counter {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
    z-index: 5;
}

/* Лайтбокс */
.gk-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.gk-lightbox.active {
    display: flex;
}

.gk-lightbox-img {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 8px;
}

.gk-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}
.gk-lightbox-close:hover {
    transform: scale(1.1);
}

.gk-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.gk-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.gk-lightbox-prev {
    left: 30px;
}

.gk-lightbox-next {
    right: 30px;
}

.gk-lightbox-counter {
    color: white;
    margin-top: 20px;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 20px;
}

/* Миниатюры в лайтбоксе */
.gk-lightbox-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding: 10px;
    overflow-x: auto;
    max-width: 90%;
}

.gk-lightbox-thumbnail {
    width: 60px;
    height: 60px;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    opacity: 0.6;
    transition: all 0.3s;
    flex-shrink: 0;
}
.gk-lightbox-thumbnail:hover,
.gk-lightbox-thumbnail.active {
    opacity: 1;
    border-color: #fff;
}

.gk-lightbox-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Адаптивность */
@media (max-width: 768px) {
    .gk-thumbnail {
        width: 60px;
        height: 60px;
    }

    .gk-slider-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .gk-lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .gk-lightbox-prev {
        left: 15px;
    }

    .gk-lightbox-next {
        right: 15px;
    }

    .gk-lightbox-thumbnail {
        width: 50px;
        height: 50px;
    }
}

