/* HEADER */
.navbar-container {
    z-index: 10;
    justify-content: center;
    align-items: center;
    display: flex;
    position: fixed;
    inset: 0% 0% auto;
}

.navbar-desktop {
    backdrop-filter: blur(5.1px);
    background-color: #c4c4c4a6;
    border-radius: 1.5em;
    justify-content: space-between;
    align-items: center;
    width: 24.45em;
    height: 2.5em;
    margin-top: .6em;
    padding: .25em;
    display: flex;
    position: relative;
    box-shadow: 0 .1em 1.5em #0000000d;
}

.nav-logo-link {
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    margin-left: .375em;
    display: flex;
}

.logo-image-navbar {
    height: .85em;
}

.nav-link {
    align-items: center;
    height: .6em;
}


.nav-contact-btn {
    color: #000;
    background-color: #F8FBCB;
    border-radius: 1.38em;
    border: none;
    justify-content: center;
    align-items: center;
    width: 5.425em;
    height: 100%;
    font-weight: 500;
    transition: background-color .2s;
    display: flex;
}


.nav-link.side-up .nav-link-text {
    transform: translate3d(0px, 0%, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
    transform-style: preserve-3d;
}

.nav-link-text {
    font-size: .5em;
    font-weight: 500;
    line-height: 120%;
    color: #F8FBCB;
    font-style: normal;
    font-weight: 300;
    text-shadow: 0px 0px 8.3px rgba(0, 0, 0, 0.12);
}

.nav-btn-icon {
    font-size: .5em;
    font-weight: 500;
}

.nav-btn-text {
    font-size: .5em;
    font-weight: 500;
    line-height: 120%;
    font-style: normal;
    font-weight: 300;
    text-shadow: 0px 0px 8.3px rgba(0, 0, 0, 0.12);
    margin-left: 5px;
}

.desktop-navbar {
    justify-content: center;
    align-items: center;
    width: 100%;
    display: flex;
    position: relative;
}

.svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

/* MOBILE HEADER */
.mobile-nav-wrapper {
    display: none;
    position: fixed;
    /* left: 12px; */
    /* right: 12px; */
    bottom: 0px;
    width: 100%;
    z-index: 1002;
    flex-direction: column-reverse;
    align-items: stretch;
}

.menu-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.menu-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #f8fbcf;
    font-size: 11px;
    line-height: 1;
    cursor: pointer;
}

.menu-item--link {
    text-decoration: none;
}

.menu-icon {
    width: 14px;
    height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
}

.menu-icon svg {
    width: 100%;
    height: 100%;
}

.menu-caret {
    font-size: 20px;
    color: rgba(248, 251, 207, 0.82);
    transition: transform 0.2s ease;
    box-shadow: 0px 0px 8.3px rgba(0, 0, 0, 0.12);
}

.mobile-sheet {
    position: relative;
    z-index: 1;
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    padding: 0 18px;
    backdrop-filter: blur(5.1px);
    background-color: #383434a6;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    pointer-events: none;
    transition: max-height 0.24s ease, opacity 0.22s ease, transform 0.22s ease, padding 0.22s ease, margin-top 0.22s ease, visibility 0.22s ease;
}

.mobile-sheet.is-open {
    max-height: calc(100vh - 120px);
    /* margin-top: 10px; */
    padding: 14px 18px 18px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.mobile-sheet--menu {
    display: grid;
    gap: 12px;
    text-align: center;
}

.mobile-sheet-link {
    color: #f8fbcf;
    font-size: 14px;
    line-height: 1.4;
}

.mobile-sheet--search {
    overflow-y: auto;
}

.mobile-sheet--search.is-open {
    max-height: min(420px, calc(100vh - 120px));
}

.mobile-filter-item {
    border-bottom: 1px solid rgba(248, 251, 203, 0.24);
}

.mobile-filter-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    padding: 15px 0;
    color: #f8fbcf;
    font-size: 15px;
    cursor: pointer;
}

.mobile-filter-item summary::-webkit-details-marker {
    display: none;
}

.mobile-filter-item[open] .menu-caret {
    transform: rotate(180deg);
}

.mobile-filter-options {
    margin: 0;
    padding: 0 0 14px 18px;
    color: #ffffff;
}

.mobile-filter-options li {
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 1.4;
}

.mobile-search-button {
    width: 100%;
    margin-top: 16px;
    border: 0;
    border-radius: 999px;
    background: #e8e8c4;
    color: #2f3400;
    padding: 12px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.mobile-search-button-icon {
    width: 14px;
    height: 14px;
    display: inline-flex;
}

.mobile-search-button-icon svg {
    width: 100%;
    height: 100%;
}

.menu-whatsapp {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e8e8c4;
    color: #2f3400;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.menu-whatsapp svg {
    width: 18px;
    height: 18px;
}

/* CHECKBOX CUSTOM */
.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 12px;
}

.check-item input {
    display: none;
}

.check-item span {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #ccc;
    transition: 0.2s;
}

.check-item input:checked+span {
    background: #2f3400;
    border-color: #2f3400;
}

/* PRICE RANGE */
.price-range input[type="range"] {
    width: 100%;
    margin-top: -9px;
}

.range-values {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
}

/* LOCATION */
.search-input {
    width: 100%;
    padding: 10px;
    border-radius: 999px;
    border: none;
    margin-bottom: 10px;
}
.search-btn .fa-search {
    color: black;
}
.selected-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.tag {
    background: #e8e8c4;
    color: #2f3400;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tag button {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 12px;
}

.filter-group-title {
    font-size: 11px;
    margin: 10px 0 6px;
    color: #ccc;
}

/* SEARCH WITH ICON */
.search-wrapper {
    position: relative;
    margin-bottom: 10px;
}

.search-input {
    width: 100%;
    padding: 10px 40px 10px 14px;
    border-radius: 999px;
    border: none;
}

.search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
}

/* RANGE SLIDER (DUAL) */
.range-slider {
    position: relative;
    width: 100%;
    margin-top: 10px;
}

.range-slider input[type="range"] {
    position: absolute;
    width: 100%;
    pointer-events: none;
    appearance: none;
    background: none;
}

.range-slider input::-webkit-slider-thumb {
    pointer-events: all;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #e8e8c4;
    border: none;
    cursor: pointer;
}

.slider-track {
    position: absolute;
    height: 4px;
    width: 100%;
    background: #ccc;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 10px;
}

.logo-mobile {
    display: none;
}

@media (max-width: 767px) {
    body {
        padding-bottom: 108px;
    }

    body.is-mobile-panel-open {
        overflow: hidden;
    }

    .desktop-navbar {
        display: none;
    }

    .mobile-nav-wrapper {
        display: flex;
    }

    .mobile-menu {
        position: relative;
        z-index: 2;
        width: 100%;
        max-width: none;
        padding: 14px 16px;
        border-radius: 24px 24px 0px 0px;
        backdrop-filter: blur(5.1px);
        background-color: #383434a6;
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    .logo-mobile {
        align-items: center;
        width: 20em;
        height: auto;
        display: block;
        top: -20px;
        position: absolute;

    }

}


@media (min-width: 768px) {
    .mobile-nav-wrapper {
        display: none !important;
    }

    .desktop-search-filters {
        background: rgba(47, 52, 0, 0.8);
        border-radius: 20px;
        margin: 16px auto;
        max-width: 960px;
        padding: 14px;
        color: #f8fbcf;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    }

    .desktop-search-filters .topo h2 {
        margin: 0 0 10px;
        font-size: 1.05rem;
    }

    .desktop-search-filters .filters-row {
        display: grid;
        grid-template-columns: repeat(4, minmax(220px, 1fr));
        gap: 12px;
        align-items: start;
    }

    .desktop-search-filters .filter-block {
        background: rgba(0, 0, 0, 0.22);
        border-radius: 12px;
        padding: 10px;
    }

    .desktop-search-filters .filter-block h3 {
        margin-top: 0;
        font-size: 0.94rem;
        margin-bottom: 8px;
    }

    .desktop-search-filters .search-wrapper {
        margin-bottom: 10px;
    }

    .desktop-search-filters .search-input {
        width: calc(100% - 44px);
    }

    .desktop-search-filters .search-btn {
        min-width: 42px;
    }
}

/* Global responsive overrides for listing cards */
@media (max-width: 768px) {

    .listing-slider-wrapper-landing .collection-list-wrapper,
    .listings-wrapper,
    .listing-hero-box-all-listing {
        grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)) !important;
        gap: 1.5rem;
        min-height: 18rem;
    }

    body {
        font-size: 14px;
    }

    .listing-hero-box-all-listing {
        font-size: 0.9em;
    }

    .listing-box-title {
        font-size: 1.1em;
    }

    .listing-box-price {
        font-size: 1.2em;
    }

    .nav-btn-icon {
        font-size: 2em;
        ;
        font-weight: 500;
    }
}