.slider-section,
.slider-section * {
    user-select: none;
}

.slider-section {
    background-color: rgba(0, 0, 0);
    position:         relative;
    /*width:       100vw;*/
    /*padding-top: 48px;*/
}

.slider-section .container {
    display:  block;
    overflow: hidden;
}

.main-slider-uh {
    /*background-color: rgba(0, 0, 0, 0.85);*/
    /*background: var(--bg-bg-main-contrast, black);*/
    height:   616px;
    overflow: hidden;
    position: relative;
    width:    100%;
}

.swiper-wrapper {
    /*height: 100%;*/
}

.slide-image.full {
    background-color: black;
    width:            100%;
}

.swiper-slide {
    color:    white;
    display:  flex;
    height:   100%;
    position: relative;
}

.slide-content {
    display:         flex;
    flex:            0 0 50%;
    flex-direction:  column;
    height:          100%;
    justify-content: space-between;
    padding:         32px;
    width:           50%;
    z-index:         2;
}

.slide-title {
    color:         var(--text-text-main-contrast, white);
    font-family:   Oswald, sans-serif;
    font-size:     56px;
    font-weight:   500;
    line-height:   64px;
    margin-bottom: 40px;
}

.filters-container {
    display:        flex;
    flex-direction: column;
    gap:            6px;
    margin-bottom:  40px;
}

.filter-group {
    align-items: flex-start;
    display:     flex;
    flex-wrap:   wrap;
    gap:         8px;
}

.filter-label {
    color:       var(--text-text-main-contrast, white);
    flex:        0 0 156px;
    font-family: Inter, sans-serif;
    font-size:   16px;
    font-weight: 400;
    line-height: 24px;
    padding-top: 4px;
}

.radio-group {
    display:   flex;
    flex:      1;
    flex-wrap: wrap;
    gap:       4px;
}

.option-item {
    backdrop-filter: blur(32px);
    background:      rgba(223, 223, 223, 0.4);
    border-radius:   6px;
    color:           white;
    cursor:          pointer;
    display:         inline-flex;
    padding:         4px 8px;
    transition:      all 0.2s ease;
    user-select:     none;
}

.option-item span {
    font-family: Inter, sans-serif;
    font-size:   16px;
    font-weight: 400;
    line-height: 24px;
}

.option-item:hover {
    background: rgba(223, 223, 223, 0.6);
}

.option-item input {
    display: none;
}

.option-item.selected {
    background: rgba(0, 109.79, 255, 0.42) !important;
    color:      #549EFF;
}

.slide-footer {
    display:        flex;
    flex-direction: column;
    gap:            20px;
}

.actions {
    display: flex;
    gap:     16px;
}

.btn {
    align-items:     center;
    border-radius:   2px;
    cursor:          pointer;
    display:         inline-flex;
    font-family:     Oswald, sans-serif;
    font-size:       18px;
    font-weight:     400;
    justify-content: center;
    line-height:     24px;
    padding:         16px 24px;
    text-decoration: none;
    transition:      opacity 0.3s, transform 0.2s;
}

.btn:hover {
    opacity:   0.9;
    transform: translateY(-2px);
}

.btn.primary {
    background: var(--bg-bg-button-contrast, #006EFF);
    color:      var(--text-text-main-contrast, white);
}

.slide-image {
    height:   100%;
    overflow: hidden;
    position: absolute;
    right:    0;
    top:      0;
    width:    50%;
}

.slide-image img {
    height:     100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    width:      100%;
}

.swiper-slide-active .slide-image img {
    transform: scale(1.03);
}

.main-slider-uh .slide-image {
    display:         flex;
    justify-content: center;
}

.main-slider-uh .swiper-slide-active .slide-image {
    align-items:     center;
    display:         flex;
    justify-content: center;
    overflow:        hidden; /* Чтобы изображение не выходило за границы */
}

.main-slider-uh .swiper-slide-active .slide-image picture {
    display:    block;
    text-align: center; /* Центрирует inline элементы */
    width:      100%;
}

.main-slider-uh .swiper-slide-active .slide-image img {
    align-self: center;
    display:    inline-block; /* Для центрирования через text-align */
    height:     100%;
    /*height:     auto;*/
    max-height: 100%;
    max-width:  100%;
    object-fit: contain; /* Сохраняет пропорции */

}

.main-slider-uh .slider-pagination {
    align-items:     stretch;
    bottom:          32px !important;
    display:         inline-flex;
    flex-direction:  row;
    gap:             8px;
    justify-content: center;
    left:            50% !important;
    position:        absolute;
    transform:       translateX(-50%);
    z-index:         2;
}

.main-slider-uh .slider-pagination .swiper-pagination-bullet {
    background:    #007aff;
    border:        1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    cursor:        pointer;
    height:        14px;
    margin:        0 !important;
    opacity:       1;
    transition:    all 0.3s ease;
    width:         14px;
}

.main-slider-uh .slider-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: white;
    transform:  scale(1.3);
}

.slider-navigation {
    bottom:   32px;
    display:  flex;
    gap:      0;
    position: absolute;
    right:    32px;
    z-index:  10;
}

.nav-btn {
    align-items:     center;
    background:      rgba(255, 255, 255, 0.1);
    border:          1px solid rgba(255, 255, 255, 0.2);
    cursor:          pointer;
    display:         flex;
    height:          64px;
    justify-content: center;
    transition:      background 0.3s;
    width:           64px;
}

.nav-btn.prev {
    border-radius: 2px 0 0 2px;
}

.nav-btn.next {
    border-radius: 0 2px 2px 0;
}

.nav-btn svg {
    height: 24px;
    width:  24px;
}

.nav-btn path {
    fill: white;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Адаптивность */
@media (max-width: 992px) {
    .slide-content {
        flex:  0 0 60%;
        width: 60%;
    }

    .slide-image {
        width: 40%;
    }

    .slide-title {
        font-size:   42px;
        line-height: 48px;
    }
}

@media (max-width: 768px) {
    .slide-image.full {
        background-color: black;
        height:           542px;
        width:            100%;
    }

    .slide-image.full picture {
        height: 100%;
        height: 100%;
    }

    .slider-section {
        padding-top: 16px;
    }

    .main-slider-uh {
        /*height:         fit-content;*/
        padding-bottom: 80px;
    }

    .main-slider-uh .swiper-slide:not(.swiper-slide-active) {
    }

    .main-slider-uh .swiper-slide {
        display:        inline-flex;
        flex-direction: column-reverse;
        height:         fit-content;
    }

    .slide-content {
        flex:    unset;
        /*flex: 0 0 100%;*/
        padding: 16px;
        width:   100%;
    }

    .slide-image {
        flex-shrink: 0;
        height:      250px;
        /*opacity:     0.3;*/
        position:    relative;
        width:       100%;
    }

    .slide-title {
        font-size:     36px;
        line-height:   42px;
        margin-bottom: 24px;
    }

    .filters-container {
        display: none;
    }

    .slide-footer .actions .btn.primary {
        padding: 22px;
        width:   100%;
    }

    .slider-navigation {
        bottom: 16px;
        height: 56px;
        left:   16px;
        width:  calc(100% - 32px);
    }

    .nav-btn {
        height: 56px;
        width:  50%;
    }

    .main-slider-uh .slider-pagination {
        display: none;
    }
}
