.modal-options-slide .swiper-button-prev,.modal-options-slide  .swiper-button-next {
    padding: 0;
}

.modal-window {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 30px;
}
.modal-options-href{
    width: 100%;
    border-radius: 51px;
    padding: 4px;
    background: #F4F4F4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.modal-options-href ul {
    display:flex;
    padding:0 4px;
    list-style:none;
    /* важное для работы скролла с flex */
    flex:1 1 auto;
    min-width:0;
    overflow-x:auto;
    white-space:nowrap;
    scroll-behavior:smooth;
    -webkit-overflow-scrolling:touch;
}
.modal-options-href ul::-webkit-scrollbar {
    display: none;
}


.modal-options-click {
    width: max-content;
    border-radius: 44px;
    padding: 8px 24px;
    cursor: pointer;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    color: #333C46;
    white-space: nowrap;
    transition: 0.3s;
    display: flex;
    align-items: center;
}
.modal-options-click.active {
    color: #fff;
    background: #BF9076;
}
.modal-options-js {
    display: none;
}
.modal-options-js.active {
    display: block;
}
.modal-options-min{
    margin-top: 24px;
}

.modal-options{
    background: #fff;
    box-shadow: 4px 4px 30px 0px rgba(0, 0, 0, 0.15);
    border-radius: 24px;
    max-width: 1200px;
    width: 100%;
    padding: 32px;
    min-height: 700px;
    margin: 0 auto;
}

.modal-options-flex{
    width: 100%;
    gap: 24px;
}


.modal-options-slide{
    max-width: 700px;
    width: 100%;
}
.modal-options-flex .options-gallery-pic{
    height: 560px;
}
.modal-options-flex .options-gallery-pic img {
    height: auto;
    border-radius: 24px;
    width: 100%;
    object-fit: cover;
}

.modal-options-info{
    max-width: 606px;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    color: #333C46;
}
.modal-options-info::-webkit-scrollbar {
    width: 4px;
    height: 4px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}
.modal-options-info::-webkit-scrollbar-thumb {
    width: 4px;
    height: 4px;
    border-radius: 8px;
    background: rgba(190, 220, 28, 0.8);

}
.modal-options-scr{
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 561px;
    padding-right: 8px;
}
.modal-options-scr .btn-line{
    width: max-content;
    margin-top: 45px;
}
.modal-options-info span{
    font-weight: 700;
    font-size: 18px;
    line-height: 110%;
    text-transform: uppercase;
    text-align: left;
    color: rgba(0, 0, 0, 1);
    display: block;
    margin-bottom: 8px;
}
.modal-options-info  ul{
    list-style-type: disc;
    margin-left: 20px;
    margin-top: 16px;
}
.modal-options-info ul li{
    color: rgba(0, 0, 0, 1);
    font-weight: 400;
    font-size: 18px;
    line-height: 135%;
    color: #333C46;

}
.modal-options-info h2{
    font-weight: 400;
    color: #333C46;
    font-size: 24px;
    line-height: 1;
}
.modal-options-info p {
    color: #333C46;
    font-size: 18px;
    line-height: 22px;
}
.modal-options-info h4{
    font-weight: 700;
    font-size: 24px;
    line-height: 110%;
    color: #333C46;
}

.facingArrows {
  display: flex;
  margin-left: auto;
  gap: 8px;
  align-items: center;
}
.facingArrows .facingArrowsBtn {
  width: 44px;
  height: 44px;
  border-radius: 44px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.facingArrows .facingArrowsBtn.facingArrowsNext {
  transform: rotate(180deg);
}

.modal-options-slider{
    max-width: 1069px;
    width: 100%;
    border-radius: 50px;
}
.modal-options-slider .swiper-slide{
    width: max-content!important;
    cursor: grab;
    user-select: none;
}
.modal-options-slider .swiper-slide:active {
    cursor: grabbing;
}

.swiper-pagination.options-pagination {
    max-width: min-content;
    height: 38px;
    white-space: nowrap;
    background: #4949494D;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-radius: 32px;
    font-size: 18px;
    line-height: 22px;
    font-weight: 400;
    transform: translate(-50%);
    left: 50%;
}

@media (max-width: 1499px){
    .modal-options {
        padding: 30px 22px;
        min-height: auto;
    }
    .modal-options-click {
        padding: 8px 20px;
        font-size: 16px;
        line-height: 20px;
    }
    .modal-options-scr {
        height: 420px;
        gap: 8px;
    }
    .modal-options-flex .options-gallery-pic {
        height: auto;
    }
    .modal-options-flex .options-gallery-pic {
        height: 380px;
    }
}

@media (max-width: 1399px){
    .modal-options-info ul li {
        font-size: 16px;
    }
}

@media (max-width: 1299px){

    .modal-options {
        min-height: 600px;
        max-width: 100%;
        width: 100%;
    }
    .modal-options-flex .options-gallery-pic {
        height: 450px;
    }
    .modal-options-info span {
        font-size: 16px;
        margin-bottom: 6px;
    }
    .modal-options-scr {
        gap: 11px;
        height: 450px;
    }
}

@media (max-width: 1199px){
    .modal-options-info h4{
        font-size: 20px;
    }
    .modal-options-slide {

    }
    .modal-options-flex .options-gallery-pic {
        height: 410px;
    }
    .modal-options-info ul {
        margin-top: 12px;
    }
}

@media (max-width: 1020px){
    .modal-options-scr {
        gap: 11px;
        height: 406px;
    }
    .modal-options-slide {
        max-width: 100%;
        width: 100%;
        margin-top: 16px;
    }
    .modal-options-info {
        max-width: 100%;
    }
    .modal-options-min {
        margin-top: 0;
    }
    .modal-options-href{

    }
    .modal-options {
        min-height: auto;
        padding: 4px 16px 24px;
    }
    .modal-options-scr {
        height: auto;
    }
    .modal-options-flex {
        flex-direction: column;
    }
    .modal-options-href ul {

    }
    .facingArrows {
        display: none;
    }
}