#map {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 100%;
}
.wrap-filter-search{
    position: fixed !important;
    margin-top: 58px !important;
}
.wd-find-select {
    border-radius: 0 0 25px 25px;
}

.mobile-filter-btn {
    position: fixed;
    bottom: 80px;
    left: 15px;
    z-index: 9999;
    background: #ad7b46;
    color: #fff;
    border: none;
    padding: 12px 18px;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.filter-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    display: none;
}
@media (max-width: 768px) {

    .wrap-filter-search {
        display: none;
        position: fixed !important;
        bottom: 0 !important;
        left: 0;
        right: 0;
        top: auto !important;
        transform: none !important;
        width: 100%;
        max-height: 85vh;
        overflow-y: auto;
        z-index: 99999999999999999 !important;
        margin-top: 0 !important;
        border-radius: 25px 25px 0 0;
        background: #fff;
        padding-top: 10px;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    }

    .wrap-filter-search::before {
        content: "";
        width: 50px;
        height: 5px;
        background: #ccc;
        border-radius: 10px;
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
    }


    .mobile-filter-btn {
        display: block;
    }

    .progress-wrap {
        bottom: 80px !important;
    }
}


@media (min-width: 769px) {
    .mobile-filter-btn {
        display: none;
    }
}

.group-checkbox {
    margin-bottom: 20px;
}

.group-checkbox .text-5 {
    margin-bottom: 10px;
    font-size: 16px;
}

.group-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.amenities-item {
    display: flex;
    align-items: center;
    min-width: 120px;
}

.amenities-item input[type="checkbox"] {
    margin-right: 5px;
}

@media (max-width: 600px) {
    .group-amenities {
        flex-direction: column;
        gap: 5px;
    }
    .amenities-item {
        min-width: auto;
    }
}

.mobile-map-btn {
    position: fixed;
    bottom: 20px;
    left: 100px;
    z-index: 9999;
    background: #267188;
    color: #fff;
    border: none;
    padding: 12px 18px;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.map-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    display: none;
}

@media (max-width: 768px) {

    #map {
        display: none;
        position: fixed !important;
        inset: 0;
        width: 100% !important;
        height: 100% !important;
        z-index: 9999;
        border-radius: 0 !important;
    }

    .mobile-map-btn {
        display: block;
    }
}

@media (min-width: 769px) {
    .mobile-map-btn {
        display: none;
    }

    #map {
        display: block !important;
        position: fixed;
        right: 0;
        width: 50%;
        height: 100%;
    }
}
.close-map-btn {
    position: fixed !important;
    top: 100px;
    left: 15px;
    z-index: 999999 !important;
    background: #fff;
    color: #000;
    border: none;
    padding: 12px 16px;
    border-radius: 25px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

@media (min-width: 769px) {
    .close-map-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .archive-top .bottom li img,
    .archive-top .bottom li .btn {
        margin: 4px;
    }

    .archive-top .bottom {
        padding: 4px;
    }
}

.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 10px 14px;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
}

.mobile-bottom-col:first-child {
    width: 65%;
}

.mobile-bottom-col:last-child {
    width: 35%;
}


.map-btn {
    width: 100%;
    background: #ad7b46d0;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 25px;
    font-weight: 600;
}

.save-btn {
    width: 100%;
    background: #ad7b4637;
    color: #ad7b46;
    border: none;
    padding: 10px;
    border-radius: 25px;
    font-weight: 600;
}

.flag-tag.active-favourite {
    background-color: #ad7b46;
    border: 1px solid white;
}

@media (min-width: 769px) {
    .mobile-bottom-bar {
        display: none;
    }
}

.mobile-sticky-filters {
    display: none;
}

.bottom-sheet {
    display: none;
}

.sheet-buttons {
    display: none;
}

@media (max-width: 768px) {

    .mobile-sticky-filters {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding: 10px 15px;
        padding-top: 13px;
        background: #ffffff;
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        z-index: 9999;
        -webkit-overflow-scrolling: touch;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    }
    .filter-fixed {
        flex: 0 0 auto;
    }

    .filter-scroll {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        flex: 1;
        -webkit-overflow-scrolling: touch;
    }

    .filter-scroll::-webkit-scrollbar {
        display: none;
    }
    .filter-btn {
        background: #fff;
        color: #7d7d7d;
        border: 1px solid rgba(147, 147, 147, 0.3);
        border-radius: 25px;
        padding: 8px 16px;
        font-size: 12px;
        font-weight: 500;
        flex: 0 0 auto;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: all 0.3s ease;
        letter-spacing: 1px;
    }
    .filter-fixed .filter-btn{
        background: #ad7c46;
    }
    .filter-scroll .filter-btn:hover {
        background: #ad7b4697;
        color: #fff;
    }
    .filter-scroll .filter-btn:active {
        background: #9b6d3f;
        border-color: #9b6d3f;
        box-shadow: 0 3px 10px rgba(0,0,0,0.12);
    }
    .filter-scroll .filter-btn::after {
        content: "";
        display: inline-block;
        width: 5px;
        height: 5px;
        margin-bottom: 2px;
        border-left: 1px solid #ad7c46;
        border-bottom: 1px solid #ad7c46;
        transform: rotate(-45deg);
        margin-left: 4px;
    }
    .filter-scroll .filter-btn:active::after {
        border-left-color: #fff !important;
        border-bottom-color: #fff !important;
    }
    .filter-scroll .filter-btn:hover::after {
        border-left-color: #fff !important;
        border-bottom-color: #fff !important;
    }

    .mobile-sticky-filters::-webkit-scrollbar {
        display: none;
    }
    .bottom-sheet {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: -100%;
        background: #fff;
        z-index: 999999;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
        transition: bottom .5s ease;
        padding-top: 25px;
    }

    .bottom-sheet::before {
        content: "";
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 5px;
        background: #ccc;
        border-radius: 10px;
    }

    .bottom-sheet.active {
        bottom: 0;
    }

    .sheet-content {
        padding: 15px;
    }

    .sheet-header {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 25px;
        font-weight: bold;
    }

    .sheet-header .close-sheet {
        position: absolute;
        right: 15px;
        color: #ad7c46;
        background: transparent;
        border: none;
        font-size: 18px;
        cursor: pointer;
    }
    .sheet-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
        max-height: 160px;
        overflow-y: auto;
        overflow-x: hidden;
        padding-right: 5px;
        -webkit-overflow-scrolling: touch;
    }

    .sheet-buttons::-webkit-scrollbar {
        display: none;
    }

    .sheet-buttons button {
        background: #fff;
        color: #ad7c46;
        border: 1px solid #ad7c46;
        border-radius: 25px;
        padding: 8px 14px;
        font-size: 13px;
        font-weight: 500;
        cursor: pointer;
        letter-spacing: 0.5px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        transition: all 0.2s ease-in-out;

        white-space: nowrap;
    }

    .sheet-buttons button:hover {
        background: #ad7c46;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
    }

    .main-header {
        box-shadow: none !important;
        border-bottom: 1px solid #eee !important;
    }
}

.custom-slider-dropdown {
    position: relative;
    cursor: pointer;
}

.custom-slider-dropdown .dropdown-slider-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 280px;
    background: #ffffff;
    border: 1px solid #e4e4e4;
    border-radius: 25px;
    padding: 20px 15px 15px 15px;
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 99999;
    margin-top: 4px;
}

.custom-slider-dropdown.open .dropdown-slider-panel {
    display: block;
}

.custom-slider-dropdown:after {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-bottom: 2px solid #161e2d;
    border-right: 2px solid #161e2d;
    position: absolute;
    right: 18px;
    top: 50%;
    margin-top: -4px;
    transform: rotate(45deg);
    transition: all 0.2s ease-in-out;
}

.custom-slider-dropdown.open:after {
    transform: rotate(-135deg);
    top: 55%;
}

.nice-select,.form-style label,.filter-advanced span,.btn-search {
    font-size: 12px !important;
}


.sheet-buttons--grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    overflow: visible !important;
    max-height: none !important;
}

.filter-btn--radio {
    position: relative;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
    transition: border-color 0.2s ease, background-color 0.2s ease;

    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 10px 8px;
    box-sizing: border-box;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.filter-btn--radio .filter-icon {
    width: 24px !important;
    height: 24px !important;
    flex-shrink: 0;
    margin: 0 !important;
}

.filter-btn--radio span {
    font-size: 13px;
    line-height: 1.3;
    text-align: left;
    white-space: normal;
    overflow: visible;
    word-break: break-word;
}
.filter-btn--radio.active {
    border-color: #ad7b46;
    background-color: rgba(173, 123, 70, 0.08);
}

.filter-specifications-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.group-checkbox-item {
    display: flex;
    flex-direction: column;
}

.group-amenities-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.amenities-item {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    border: none;
    padding: 0;
}
@media (max-width: 768px) {
    .group-amenities-horizontal {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px 12px;
        align-items: start;
        width: 100%;
    }

    .amenities-item {
        min-width: 0;
        width: 100%;
    }

    .amenities-item label {
        white-space: normal;
        font-size: 12.5px;
        line-height: 1.3;
    }

    .amenities-item input[type="checkbox"] {
        flex-shrink: 0;
        margin-top: 3px;
    }
}

@media (max-width: 768px) {
    .wrap-filter-search {
        display: none;
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100dvh;
        z-index: 99999;
        background: #ffffff;
    }

    .wrap-filter-search.is-open {
        display: flex;
        flex-direction: column;
    }

    .wrap-filter-search .form-sl,
    .wrap-filter-search form {
        display: flex;
        flex-direction: column;
        height: 100%;
        width: 100%;
        margin: 0;
    }

    .wrap-filter-search .wd-find-select {
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 16px 20px 100px 20px;
        box-shadow: none !important;
    }

    .wrap-filter-search .wd-search-form {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        max-height: none !important;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #eef0f3;
    }

    .wrap-filter-search .box-filter {
        display: none !important;
    }

    .wrap-filter-search .box-btn-advanced {
        position: sticky;
        bottom: 0;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 14px 20px;
        border-top: 1px solid #eef0f3;
        display: flex;
        width: 100%;
        z-index: 10;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
    }

    .wrap-filter-search .btn-search-compact {
        width: 100% !important;
        height: 50px;
        font-size: 16px;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border-radius: 8px;
    }

    .wrap-filter-search .inner-group {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .wrap-filter-search .form-group-1 {
        width: 100% !important;
        margin: 0 !important;
    }

    .wrap-filter-search .nice-select {
        width: 100%;
        float: none;
    }

    .wrap-filter-search .nice-select .list {
        max-height: 220px;
        overflow-y: auto;
        z-index: 999999 !important;
    }
}
@media (max-width: 768px) {
    .mobile-filter-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        border-bottom: 1px solid #eef0f3;
        background: #fff;
    }
    
    .close-filter-btn {
        background: none;
        border: none;
        font-size: 20px;
        line-height: 1;
        padding: 4px 8px;
        cursor: pointer;
        color: #161E2D;
    }
}
.nice-select.custom-slider-dropdown::after {
    content: none !important;
}
.nice-select.open .list {
    width: max-content !important;
    min-width: 100%;
    white-space: nowrap;
}