


.slider_blok {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
}

.slider_blok1 {
    width: 24%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slider_blok2 {
    width: 74%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.slider_left_blok {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sldrl_blk {
    width: 100%;
    cursor: pointer;
    transition: opacity 0.3s, transform 0.3s;
    opacity: 0.6;
    display: none;
}

.sldrl_blk.visible {
    display: block;
}

.sldrl_blk.active {
    opacity: 1;
    border: 2px solid #007bff;
    box-sizing: border-box;
}

.sldrl_blk:hover {
    opacity: 1;
    transform: scale(1.05);
}

.sldrl_blk img {
    width: 100%;
    height: auto;
    display: block;
}

.strl_up {
    background-image: url(/img/strl_blk_up.png);
    width: 50px;
    height: 28px;
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
    margin-bottom: 10px;
    transition: transform 0.2s;
    position: absolute;
    top: 2%;
z-index: 10;

}

.strl_up:hover {
    transform: scale(1.1);
}

.strl_down {
    background-image: url(/img/strl_blk_down.png);
    width: 50px;
    height: 28px;
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
    margin-top: 10px;
    transition: transform 0.2s;
    position: absolute;
    bottom: 2%;
z-index: 10;

}
/*
.strl_down:hover {
    transform: scale(1.1);
}
*/
.strl_left {
    background-image: url(/img/strl_blk_left.png);
    width: 25px;
    height: 50px;
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
    margin-right: 10px;
    transition: transform 0.2s;
    position: absolute;
    left: 2%;
z-index: 10;

}

/*.strl_left:hover {
    transform: scale(1.1);
}
*/

.strl_right {
    background-image: url(/img/strl_blk_right.png);
    width: 25px;
    height: 50px;
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
    margin-left: 10px;
    transition: transform 0.2s;
    position: absolute;
    right: 2%;
z-index: 10;

}

.strl_right:hover {
    transform: scale(1.1);
}

.sldrr_blk {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sldrr_blk img {
    width: 100%;
    height: auto;
    display: block;
}

/* Адаптивность для планшетов */
@media (max-width: 768px) {
    .slider_blok {
        flex-direction: column;
        margin-bottom: 20px;
    }
    
    .slider_blok1 {
        width: 100%;
        flex-direction: row;
        order: 2;
        margin-top: 15px;
    }
    
    .slider_blok2 {
        width: 100%;
        order: 1;
    }
    
    .slider_left_blok {
        flex-direction: row;
        width: auto;
/*        flex: 1; */
        margin: 0 10px;
    }
    
    .sldrl_blk {
        min-width: 80px;
        max-width: 100px;
    }
    
    .strl_up {
        transform: rotate(-90deg);
        margin-bottom: 0;
        margin-right: 10px;
        display: none;
    }
    
    .strl_down {
        transform: rotate(-90deg);
        margin-top: 0;
        margin-left: 10px;
        display: none;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 480px) {
    .strl_left,
    .strl_right {
        width: 35px;
        height: 40px;
    }
    
    .strl_up,
    .strl_down {
        width: 40px;
        height: 22px;
        display: none;
    }
    
    .sldrl_blk {
        min-width: 60px;
        max-width: 80px;
    }
}



.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from { transform: scale(0.8); }
    to { transform: scale(1); }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10001;
}

.modal-close:hover,
.modal-close:focus {
    color: #bbb;
    text-decoration: none;
}

.modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 30px;
}

/* Курсор pointer для главной картинки */
.sldrr_blk img {
    cursor: pointer;
}

/* Адаптивность модального окна */
@media (max-width: 768px) {
    .modal {
        padding-top: 20px;
    }
    
    .modal-content {
        max-width: 95%;
        max-height: 80vh;
    }
    
    .modal-close {
        top: 10px;
        right: 20px;
        font-size: 35px;
    }
}