#apartamentListingMenu {
    --width: 100%;
    position: fixed;
    bottom: 0;
    width: var(--width);
    z-index: 2;
    left: 0;
    @media (width >= 1280px) {
        display: none;
    }
}

#apartamentListingMenu__backdrop {
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: var(--primary);
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out;
    left: 0;
    bottom: 0;
}

#apartamentListingMenu__backdrop.is--visible {
    opacity: .7;
    visibility: visible;
}

#apartamentListingMenu__nav {
    --width: 90%;
    --speed: .3s;
    bottom: 6.5rem;
    width: var(--width);
    left: 0;
    overflow: auto;
    right: 0;
    margin: 0 auto;
    box-shadow: var(--shadow);
    position: absolute;
    transform: translateY(1rem);
    border-radius: var(--rounded-section);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--speed) ease-out, opacity var(--speed) ease-out, visibility var(--speed) ease-out;
    background-color: #fff;
    padding: var(--size-4);
    pointer-events: none;
    @media (width >=1280px) {
        bottom: auto;
    }
}

#apartamentListingMenu__nav.is--opened {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transition: transform var(--speed) ease-out, opacity var(--speed) ease-out, visibility var(--speed) ease-out;

}

ul#apartamentListingMenu__list {
    --height: 420px;
    list-style: none;
    margin: 0;
    height: var(--height);
}

button#apartamentListingMenu__btn-mobile {
    --width: 90%;
    --padding: var(--size-4) var(--size-6);
    display: flex;
    margin: 0 auto;
    position: relative;
    bottom: var(--size-6);
    left: 0;
    right: 0;
    justify-content: space-between;
    align-items: center;
    color: var(--primary);
    width: var(--width);
    border-radius: var(--rounded-full);
    background-color: #fff;
    box-shadow: var(--shadow);
    padding: var(--padding);
    font-size: var(--text-base);
    font-weight: bold;
    text-align: left;
    font-family: var(--font-serif);
    @media (width >= 1280px) {
        display: none;
    }
}

button#apartamentListingMenu__btn-mobile svg {
    --size: var(--size-7);
    width: var(--size);
    height: var(--size);
}

li.apartamentListingMenu__item {
    margin-bottom: var(--size-2) !important;
}

.apartamentListingMenu__link {
    font-weight: bold;
    font-size: var(--text-sm);
    line-height: 1.3;
    display: flex;
    align-items: center;
    border-radius: var(--rounded-4);
    padding: var(--size-3);
}

.apartamentListingMenu__link.is--current {
    background-color: var(--secondary-light);
}

.apartamentListingMenu__link img {
    --size: var(--size-10);
    width: var(--size);
    border-radius: var(--rounded-2);
    margin-right: var(--size-3);
}

.apartamentListingMenu__link div {
    display: flex;
    flex-flow: column wrap;
    max-width: 80%;
}

.apartamentListingMenu__link span {
    display: inline-block;
    margin-bottom: var(--size-2);
}

.apartamentListingMenu__link i {
    font-weight: 500;
    color: var(--text);
    font-size: var(--text-sm);
}

.apartamentListingMenu__link .apartamentListingMenu__link svg {
    --size: var(--size-6);
    width: var(--size);
    height: var(--size);
    color: var(--secondary);
}

@media only screen and (min-width: 768px) {

    button#apartamentListingMenu__btn-mobile,
    #apartamentListingMenu__nav {
        --width: 500px;
    }
}

@media only screen and (min-width: 1700px) {
    #apartamentListingMenu {
        --width: 100%;
        top: 0;
        bottom: auto;
        width: auto;
        position: absolute;
        max-width: 500px;
    }

    #apartamentListingMenu__nav {
        --width: auto;
        visibility: visible;
        opacity: 1;
        transform: none;
        position: relative;
        padding: 0;
        box-shadow: none;
        background-color: transparent;
        bottom: 0;
    }

    .apartamentListingMenu__link {
        padding-left: 0;
    }

    .apartamentListingMenu__link span {
        text-transform: uppercase;
        font-size: var(--text-xs);
        font-weight: 300;
        margin-bottom: 0;
    }

    .apartamentListingMenu__link i {
        display: none;
    }
    
    .apartamentListingMenu__link.is--current {
        background-color: transparent;
        font-weight: bold;
    }

    .apartamentListingMenu__link.is--current span {
        font-weight: bold;
    }

    .apartamentListingMenu__link::before {
        content: "";
        width: 40px;
        height: 1px;
        background-color: var(--primary);
        margin-right: 8px;
    }

    .apartamentListingMenu__link.is--current::before {
        height: 2px;
    }

    #apartamentListingMenu__nav img {
        display: none;
    }

    ul#apartamentListingMenu__list {
        height: auto;
    }

    button#apartamentListingMenu__btn-mobile {
        display: none;
    }
}