.fnsh__finishing--img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fnsh__finishing {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transition: height 0.3s ease, opacity 0.8s 0.3s ease;
}

.fnsh__finishing--header {
    height: 68px;
    width: 100%;
    background-color: #ffffff;
    color: #000;
    position: absolute;
    top: 0px;
    z-index: 2;
    transition: transform 0.4s ease;
}

.fnsh__finishing--header.fixed {
    position: fixed;
}

.fnsh__finishing--title__container {
    display: grid;
    grid-auto-flow: column;
    height: 100%;
    align-items: center;
    justify-content: center;
    position: relative;
}

.fnsh__finishing--handle {
    position: absolute;
    opacity: 0;
    /* transition: opacity 0.4s ease; */
    background: #b4987b;
    height: 100%;
}

.fnsh__finishing--title {
    display: grid;
    justify-content: center;
    width: 220px;
    height: 100%;
    align-items: center;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.fnsh__finishing--title.--active {
    background: #b4987b36;
    color: #000;
    transition: all 0.3s ease;
}

.fnsh__finishing--container {
    position: relative;
    background-color:#000000;
    width: 100vw;
    height: 100%;
    overflow: hidden;
}

.fnsh__finishing--container .swiper-slide {
    width: 100vw;
    cursor: pointer;
}

.fnsh__finishing--container img {
    transition: transform 1.8s ease;
}

.fnsh__finishing--container img:hover {
    transform: scale(1.03);
}

.fnsh__finishing--container .swiper-slide img {
    object-fit: cover;
}

.fnsh__finishing--mobile__title--action {
    display: none;
    width: 24px;
    height: 24px;
}

.action__button--open {
    background: transparent;
    border: none;
    width: 24px;
    height: 24px;
    padding: 0 0;
}

.action__button--open::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-image: url(../images/icon-mobile_menu-arrow.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(180deg);
    transition: transform 0.7s ease;
}

.action__button--open.--open__mobile::after {
    transition: transform 0.7s ease;
    transform: rotate(0deg);
}


.fnsh__finishing--gallery__info {
    background-color: #b4987b;
    color: white;
    padding: 20px 30px;
    width: 338px;
    position: absolute;
    bottom: 120px;
    left: 80px;
    z-index: 2;
    cursor: pointer;
}

.fnsh__finishing--popup__action {
    display: grid;
    grid-template-columns: 4.167vw auto;
    gap: 1.042vw;
    align-items: center;
}

.fnsh__finishing--icon {
    position: relative;
    width: 4.167vw;
    height: 4.167vw;
    display: block;
}

.fnsh__finishing--icon::after {
    content: "";
    display: block;
    background-image: url(../images/icon-popup.svg);
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.fnsh__finishing--gallery__info--text span {
    display: block;
    font-weight: light;
    font-size: 0.729vw;
}

.fnsh__finishing--gallery__info--text span:last-child {
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 0.625vw;
}


.fnsh__finishing--popup {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: rgba(20, 20, 20, 0.9);
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    display: grid;
    justify-content: center;
    align-content: center;
    transition: all 300ms ease;
}

.fnsh__finishing--popup.--open {
    z-index: 300;
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(10px);
    transition: all 300ms ease;
}

.fnsh__finishing--popup__container {
    width: 80vw;
    height: 80vh;
    display: grid;
    align-content: center;
}

.swiper.popup-swiper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.fnsh__finishing .swiper-pagination-fraction {
    bottom: unset;
    margin-top: 20px;
    color: #fff;
}

.fnsh__finishing--popup__button__close {
    position: absolute;
    top: 40px;
    right: 40px;
    color: white;
    cursor: pointer;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
}

.fnsh__finishing--popup__button__close::after {
    content: "";
    background-image: url(../images/icon-close.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

.swiper-button-next.popup__finishing-button, .swiper-button-prev.popup__finishing-button {
    width: 56px;
    height: 56px;
}

.swiper-button-next.popup__finishing-button {
    right: 40px;
}

.swiper-button-prev.popup__finishing-button {
    left: 40px;
}

.swiper-button-next.popup__finishing-button::after, .swiper-button-prev.popup__finishing-button::after {
    content: "";
    display: block;
    background-image: url(../images/icon-slider_arrow.svg);
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.swiper-button-next.popup__finishing-button::after {
    transform: rotate(180deg);
}

@media (max-width: 1920px){
    .fnsh__finishing--title {
        width: 16.458vw;
    }

    .fnsh__finishing--gallery__info {
        width: 17.604vw;
        padding: 1.042vw 1.563vw;
    }
}


@media (max-width: 1440px){
    .fnsh__finishing--title {
        width: 15.278vw;
    }

    .swiper-button-next.popup__finishing-button, .swiper-button-prev.popup__finishing-button {
        width: 48px;
        height: 48px;
    }
}


@media (max-width: 1280px){
    .fnsh__finishing--title {
        width: 20.278vw
    }

    .swiper-button-next.popup__finishing-button, .swiper-button-prev.popup__finishing-button {
        width: 40px;
        height: 40px;
    }

    .fnsh__finishing--gallery__info {
        width: 18.204vw;
        padding: 1.042vw 1.563vw;
    }

    .fnsh__finishing--gallery__info--text span {
        font-size: 0.939vw;
    }
}


@media (max-width: 1024px){
    .fnsh__finishing--title__container {
        justify-content: stretch;
    }

    .fnsh__finishing--title {
        width: 100%;
    }

    .fnsh__finishing--gallery__info {
        padding: 20px 30px;
        width: 338px;
        bottom: 120px;
        left: 40px;
    }
    
    .fnsh__finishing--popup__action {
        grid-template-columns: 60px auto;
        gap: 20px;
    }
    
    .fnsh__finishing--icon {
        width: 60px;
        height: 60px;
    }
    
    .fnsh__finishing--gallery__info--text span {
        font-size: 14px;
    }
    
    .fnsh__finishing--gallery__info--text span:last-child {
        margin-top: 10px;
    }

    .swiper-button-next.popup__finishing-button, .swiper-button-prev.popup__finishing-button {
        display: none;
    }
}

@media (max-width: 768px){
    .fnsh__finishing--container {
        height: 100%;
        top: 0;
        padding-top: 68px;
        padding-bottom: 75px;
    }

    .fnsh__finishing--title__container {
        grid-auto-flow: row;
    }

    .fnsh__finishing--popup__container {
        width: 100vw;
        height: 100vw;
        padding: 20px;
    }

    .fnsh__finishing--mobile__title--action {
        position: absolute;
        top: 0;
        right: 20px;
        z-index: 2;
        height: 100%;
        display: grid;
        align-content: center;
    }

    .fnsh__finishing--title {
        height: 68px;
        background-color: #fff;
        order: 1 !important;
        transition: background-color 0.3s ease, opacity 0.7s ease;
        opacity: 0;
        visibility: hidden;
    }

    .fnsh__finishing--title:hover, .fnsh__finishing--title:active {
        background-color: #fae5d0;
        transition: background-color 0.3s ease ;
    }

    .fnsh__finishing--title.--active {
        background-color: #b4987b;
        color: white;
        order: 0 !important;
        transition: background-color 0.3s ease ;
        opacity: 1;
        visibility: visible;
    }

    .fnsh__finishing--title__container.--open__mobile .fnsh__finishing--title {
        opacity: 1;
        visibility: visible;   
        transition: opacity 0.7s ease;
    }

    .fnsh__finishing--handle {
        display: none;
    }

    .fnsh__finishing--gallery__info {
        bottom: -75px;
        left: 0;
        right: 0;
        width: 100%;
        padding: 10px 16px;
    }

    .fnsh__finishing--popup__button__close {
        top: 20px;
        right: 20px;
        width: 20px;
        height: 20px;
    }
}