/*==========================================================================================
bnbme Holiday Homes - Responsive CSS for Mobile and Other Devices - Added By Atul Kumar
============================================================================================*/

/* 1.1 Header/footer CSS - Resposive
*********************************************/
@media (max-width: 767px) {
    .top-header {
        padding: 5px;
    }
    .menu-group {
        display: none;
    }
    .header-currency-btn{
        display: none;
    }
    .home-button{
        display: none;
    }
    .footer-info{
        flex-direction: column;
    }
    .header-content .left-menu{
        display: block;
    }
    .logo{
        flex: 1;
    }
}

/* 1.2 Home Page CSS Fixed
*********************************************/
@media (max-width: 767px) {
    .hero-section {
        padding: 20px;
        /* height: 160px; */
    }
    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 16px;
    }

    .search-component {
        flex-direction: column;
        gap: 8px;
        border-radius: 8px;
        padding: 10px;
        width: 100%;
        position: relative;
        bottom: auto;
        align-items: flex-start;
    }
    .search-item {
        width: 95%;
        gap: 5px;
    }
    .search-item input {
        width: 100%;
    }
    .search-item button {
        width: 100%;
    }
    .search-button{
        align-self: flex-end;
    }

    .desktop-view {
        display: none;
    }

    .mobile-view {
        display: flex;
        text-align: left;
        align-items: left;
        justify-content: left;
        gap: 16px;
        background-color: #fff;
        border-radius: 100px;
        padding: 16px 24px;
        border: solid 2px #aa987a;
        position: absolute;
        bottom: -85px;
        width: 100%;
    }
    .mobile-view img{
        width: 24px;
        float: left;
        margin-right: 25px;
    }
    .mobile-view .mobile-search-title p{
        margin: 0;
        line-height: 15px;
    }
    .mobile-view p{
        color: #333 ;
    }
    .search-popup-form {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #fafafa;
        z-index: 1000;
        padding: 20px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    }

    .search-popup-form .popup-content {
        display: flex;
        flex-direction: column;
        gap: 16px;
        height: 100%;
        width: 100%;
    }
    .search-popup-form .popup-title{
        width: 100%;
    }

    .search-popup-form .search-item{
        border-radius: 10px;
        padding: 10px;
        gap: 10px;
        background-color: #fff;
        box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.20), 0px 0px 2px 0px rgba(0, 0, 0, 0.20);
        margin: 2px 0;
        width: 100%;
    }
    .search-popup-form  .search-item label{
        width: 65%;
        color: #333;
        text-align: left;
    }
    .search-popup-form  .search-item input{
        width: 100%;
        text-align: right;
    }
    .search-popup-form .close-popup {
        background: transparent;
        border: none;
        font-size: 42px;
        position: absolute;
        left: 16px;
        cursor: pointer;
    }

    .search-popup-form .popup-actions {
        margin-top: auto;
        display: flex;
        justify-content: space-between;
        margin-bottom: 55px;
    }

    .search-popup-form .clear-button {
        background-color: #f0f0f0;
        color: #333;
        border: none;
        padding: 10px 16px;
        border-radius: 8px;
        cursor: pointer;
        font-weight: bold;
    }

    .search-popup-form .search-button {
        background-color: #aa987a;
        color: #fff;
        border: none;
        padding: 10px 16px;
        border-radius: 8px;
        cursor: pointer;
        font-weight: bold;
        min-width: 200px;
    }
    .popupsuggestions {
        border: 1px solid #ccc;
        border-radius: 4px;
        /* Rounded corners */
        max-height: 200px;
        /* Limit height of suggestions */
        overflow-y: auto;
        /* Enable scrolling */
        background: #fff;
        /* Background color */
        z-index: 1000;
        /* Position above other elements */
        display: none;
        /* Initially hide the suggestions */
        position: absolute;
        /* Position absolutely under the input */
        width: calc(100% - 2px);
        /* Make sure the width matches the input */
        margin-top: 5px;
        /* Add some space between input and suggestions */
        top: 50px;
    }

    /* Show the suggestions when they have content */
    .popupsuggestions.show {
        display: block;
        /* Show the suggestions */
    }

    .popupsuggestion {
        padding: 10px;
        /* Space around each suggestion */
        cursor: pointer;
        /* Change cursor on hover */
        color: #333;
    }

    .popupsuggestion:hover {
        background-color: #f0f0f0;
        /* Highlight suggestion on hover */
    }

    #top_iconbar{
        width: 400px;
        overflow-x: scroll;
        margin: 10px auto;
    }
    #top_iconbar .left-icon, #top_iconbar .right-icon{
        padding: 5px;
        gap: 5px;
    }
    #top_iconbar .left-icon ul li{
        padding: 5px 10px;
        width: 50px;
        font-size: 10px;
    }
    #top_iconbar .left-icon ul li img{
        width: 25px;
        padding: 5px;
    }
    #top_iconbar .left-icon ul li span{
        font-size: 8px;
        font-weight: 200;
    }
    #top_iconbar .right-icon .filter img{
        width: 10px;
    }
    #top_iconbar .right-icon .filter a{
        font-size: 9px;
    }
    #top_iconbar .right-icon .expend{
        padding: 1px 4px;
    }
    .home-property-slider{
        overflow: hidden;
    }
    .home-property-slider .header{
        margin-bottom: 20px;
    }
    .home-property-slider .main-title h2{
        font-size: 20px;
    }
    .home-property-slider .main-title p{
        font-size: 12px;
    }
    .home-property-slider .view-all-button{
        font-size: 12px;
        padding: 4px 8px;
        font-weight: 500;
        min-width: 85px;
    }
    .trending-destinations{
        padding: 5px;
    }
    .trending-destinations .destination-grid{
        gap:5px;
    }
    .trending-destinations .trending-header h2{
        font-size: 20px;
    }
    .trending-destinations .trending-header p{
        font-size: 12px;
    }
    .home-property-slider .view-all-button img{
        width: 12px;
    }
    .description-section{
        gap: 20px;
        flex-direction: column;
    }
    .description-section .intro-card{
        text-align: left;
        align-items: flex-start;
    }
    .description-section .intro-card .text-content{
        text-align: left;
    }
    .trending-destinations .destination-name{
        left: 5px;
        bottom: 5px;
        font-size: 14px;
    }
    .home-map-section{
        padding: 15px;
        margin-top: 20px;
    }
    .home-map-section .title{
        font-size: 20px;
    }
    .home-map-section .see-full-map-button{
        font-size: 12px;
        padding: 2px;
    }
}

/* 1.3 Search Page CSS Fixed
*********************************************/
@media (max-width: 767px) {
    .search-component {
        flex-direction: column;
        gap: 8px;
        border-radius: 8px;
        padding: 10px;
        width: 100%;
        position: relative;
        bottom: auto;
        align-items: flex-start;
    }
    .search-item {
        width: 95%;
        gap: 5px;
    }
    .search-item input {
        width: 100%;
    }
}

/* 1.4 Details Page CSS Fixed
*********************************************/
@media (max-width: 767px) {
    .details-header{
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .details-button-group{
        align-self: flex-end;
    }
    .details-menu-group{
        padding: 0;
    }
    .details-menu-item{
        font-size: 10px;
        padding: 4px;
    }
    .image-section {
        flex-direction: column;
        gap: 10px;
    }
    .property-overview .image-section .image-frame{
        width: 100%;
    }
    .property-overview .image-section .image-column{
        width: 100%;
    }
    .detailsrating-section .rating-section{
        flex-direction: column;
    }
    .detailsrating-section .rating-card{
        border-left: none;
        border-bottom: solid 1px #e0e0e0;
        width: 100%;
    }
    .deatilsmap-section .map-container{
        width: auto;
        height: 400px;
    }
    .deatilsmap-section .neighborhood{
        width: auto;
    }
    .popup-aminities .amenity-item {
        font-size: 12px;
    }
    .popup-description .popup-content{
        max-height: 450px;
        overflow-x: scroll;
    }

}

/* 1.5 All Payment Pages CSS Fixed
*********************************************/
@media (max-width: 768px) {
    .steps-section  {
        flex-direction: column;
        align-items: flex-start;

    }

    .steps-section .steps {
        gap: 16px;
        margin: 10px auto;
    }

    .steps-section .button {
        margin-bottom: 16px;
    }
}

/* 1.6 About Page CSS Fixed
*********************************************/
@media (max-width: 768px) {
    .about-section{
        flex-direction: column;
    }
    .about-section .about-image{
        width: 100%;
    }
    .about-section .about-content{
        width: 100%;
    }
    .about-images{
        width: 100%;
        height: 250px;
        flex: none;
    }
    .team-carousel{
        width: 100%;
    }
    .team-carousel .item{
        align-items: center;
        margin: 0 auto;
    }
    .about-image-base img, .about-image-overlay img{
        width: 100%;
    }
}
/* 1.7 Contact Page CSS Fixed
*********************************************/
@media (max-width: 768px) {
    .contact-info{
        flex-direction: column;
    }
    .contact-box{
        width: 100%;
    }

}
/* 1.8 Common Page css
-------------------------------------------------- */
@media (max-width: 768px) {
.page-section{
    padding: 30px 0;
}
.page-title {
    font-size: 40px;
    font-weight: 600;
    line-height: 150%;
    margin-bottom: 35px;
}
}
/* 1.9 Search Result Page CSS Fixed
*********************************************/
@media (max-width: 1200px) {
    .search-section .properties-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .search-section .search-results {
        flex-direction: column-reverse;
        width: 100%;
        height: fit-content;
    }
    .search-section .list-header h1{
        display: none;
    }
    .search-section .list-section {
        width: 100%;
        height: fit-content;
    }
    .results-count{
        font-weight: 600;
    }
    .search-section .map-section {
        height: 300px;
        position: relative;
        margin-top: 20px;
        flex: none;
        min-width: unset;
        width: 100%;
    }

    .search-section .properties-list {
        grid-template-columns: 1fr;
    }
}
/* 2.0 City Page CSS Fixed
*********************************************/
@media (max-width: 768px) {
    .city-section{
        min-height: 95vh;
    }
    .city-section .city-results {
        flex-direction: column-reverse;
        width: 100%;
        height: fit-content;
    }
    .city-section .list-header h1{
        font-size: 18px;
    }
    .city-section .list-section {
        width: 100%;
        height: auto;
    }
    .city-count{
        font-weight: 600;
    }
    .city-section .map-section {
        height: 300px;
        position: relative;
        margin-top: 20px;
        flex: none;
        min-width: unset;
        width: 100%;
    }

    .city-section .properties-list {
        grid-template-columns: 1fr;
    }
}
