.unit-module {
    .unit-module__results {
        display: flex;
        flex-direction: column;

        @media (min-width: 1024px) {
            column-gap: 1rem;
            flex-direction: row;
        }
    }

    .unit-module__contents {
        @media (min-width: 1024px) {
            margin-left: 1.5rem;
        }
    }

    .unit-module__slider,
    .unit-module__list {
        flex: 1;
    }

    .unit-module__list {
        display: flex;
        flex-direction: column;
        row-gap: 2rem;
        margin-top: 2rem;

        @media (min-width: 1024px) {
            margin-top: 4rem;
        }
    }

    .unit-module__results {
        display: none;

        &.active {
            display: flex;
        }
    }

    .unit-module__slider {
        .swiper-slide {
            display: flex;
            flex-direction: column;

            img {
                max-width: 100%;
                height: 100%;
                object-fit: cover;
                object-position: center center;
                margin-top: -35px;
                min-height: 350px;

                @media (min-width: 1024px) {
                    min-height: 525px;
                }
            }
        }

        .swiper-pagination {
            position: absolute;
            top: 2rem;
            right: 1rem;
            display: flex;
            align-items: center;
            column-gap: 0.5rem;

            .swiper-button-prev,
            .swiper-button-next {
                position: static;
                border: 2px solid #000;
                border-radius: 100%;
                width: 80px;
                height: 80px;
                display: flex;
                justify-content: center;
                align-items: center;
                color: #000;
                transition: all 0.25s;

                &::after {
                    display: none;
                }

                svg {
                    all: revert-layer;
                    width: 40px;
                    height: 40px;
                }

                &:hover {
                    background-color: #000;
                    color: #FFF;
                }
            }
        }

        .unit-module__fullscreen {
            color: #B4B4B4;
            border: 2px solid #B4B4B4;
            border-radius: 100%;
            width: 30px;
            height: 30px;
            display: inline-flex;
            justify-content: center;
            align-items: center;
            position: absolute;
            bottom: 1rem;
            right: 1rem;
            cursor: pointer;

            svg {
                width: 1rem;
            }

            &:hover {
                color: #FFFFFF;
                border-color: #FFFFFF;
            }
        }

        .unit-module__img-title {
            color: #000;
            margin: 0;
            font-size: 20px;
            z-index: 2;
            padding-inline: 1rem;
        }

        .unit-module__img-building {
            color: #000;
            margin: 0;
            font-weight: 400;
            font-size: 60px;
            margin-top: -0.5rem;
            z-index: 2;
            padding-inline: 1rem;
        }
    }

    .unit-module__select {
        position: relative;

        select {
            border: 2px solid #000;
            background-color: transparent;
            font-size: 1.5rem;
            font-weight: bold;
            border-radius: 9999px;
            padding: 0.75rem 1rem;
            appearance: none;
            width: 100%;
        }

        &::after {
            content: '';
            border-bottom: 2px solid #000;
            border-right: 2px solid #000;
            transform: rotate(45deg) translateY(-100%);
            position: absolute;
            top: 50%;
            right: 2rem;
            width: 15px;
            height: 15px;
        }
    }

    .unit-module__floors {
        list-style-type: none;
        padding: 0;
        margin: 0;
        display: flex;
        align-items: center;
        column-gap: 1rem;

        button {
            background-color: transparent;
            border: 0;
            padding: 0;
            display: flex;
            align-items: center;
            column-gap: 0.5rem;
            font-weight: bold;
            opacity: 0.3;
            cursor: pointer;

            svg {
                width: 1rem;
            }
        }

        button.active {
            opacity: 1;

            svg {
                transform: rotate(180deg);
            }
        }
    }

    .unit-module__units {
        display: flex;
        flex-direction: column;
        padding: 0;
        margin: 0;
        list-style: none;
        max-height: 390px;
        overflow-y: auto;
    }

    .unit-module__unit {
        text-decoration: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: #000;
        border-bottom: 2px solid #B1AC87;
        padding-block: 2rem;
        column-gap: 1rem;

        svg {
            color: #B1AC87;
        }

        &:hover {
            color: #000;
        }
    }

    .unit-module__unit--unavailable {
        opacity: 0.3;
        border-bottom: 2px solid #000;

        .unit-module__status {
            color: #000;
            text-decoration: line-through;
        }

        .unit-module__feature {
            svg {
                color: #000;
            }
        }
    }

    .unit-module__unit-name {
        margin: 0;
        font-weight: normal;
        color: #11121D;
    }

    .unit-module__status {
        font-weight: bold;
        color: #B1AC87;
        margin: 0;
    }

    .unit-module__feature {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-weight: bold;
        row-gap: 0.25rem;

        svg {
            width: 2.5rem;
            height: 2.5rem;
        }
    }
}