
.leaflet-control-container
{
    display: none;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* Adjustments for layout */
.details {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #fff;
    border-radius: 5px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e8edf0;
}

.left-content {
    flex: 1;
}

.image-container {
    width: 120px;
    height: 80px;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}

.image-container img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

.buttons button {
    background-color: #0a161e;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 25px;
    margin: 5px;
}

.buttons button:hover {
    background-color: #0a161ee8;
}

/* Additional styles for responsiveness */
@media (max-width: 768px) {
    .details {
        flex-direction: row;
        text-align: left;
    }
    
    .image-container {
        margin-left: 10px;
        margin-top: 0;
    }
}

/* Additional styles */
.search-container {
    
    margin-top: 70px;
    background-color: #ffffff;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

.search-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.search-container input[type="text"] {
    background: #2125291f;
    border: 1px solid #000;
    padding: 10px;
    font-size: 16px;
    border: none;
    width: 300px;
    margin-right: 5px;
}

.search-container button {
    padding: 10px;
    background-color: #0a161e;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 25px;
}

.search-container button:hover {
    background-color: #05141f;
}

.categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    justify-content: center;
    width: 100%;
}

.categories button {
    padding: 10px 20px;
    background-color: #0a161e;
    border: 1px solid #ddd;
    cursor: pointer;
    text-align: center;
}

.categories button.active,
.categories button:hover {
    background-color: #000000;
    color: #fff;
    border: none;
}

@media (max-width: 768px) {
    .search-container {
        flex-direction: column;
        padding: 10px;
    }
    
    .search-wrapper {
        width: 100%;
    }

    .search-container input[type="text"] {
        width: calc(100% - 50px);
    }
    
    .search-container button {
        width: 110px;
    }
    
    .categories {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        justify-content: center;
        width: 66%;
    }
}

/* Sidebar and Map Layout for Desktop */
.sidebar {
    margin-top: 120px;
    position: absolute;
    width: 33.3333%;
    top: 100px;
    bottom: 0;
    left: 0;
    overflow: auto;
    border-right: 1px solid rgba(0, 0, 0, 0.25);
    background-color: #f9f9f9;
}

.map {
    position: absolute;
    left: 33.3333%;
    width: 66.6666%;
    top: 100px;
    bottom: 0;
}

h1 {
    font-size: 22px;
    margin: 0;
    font-weight: 400;
    line-height: 20px;
    padding: 20px 2px;
    text-align: center;
}

a {
    color: #404040;
    text-decoration: none;
}

a:hover {
    color: #101010;
}

.heading {
    background: #000000;
    border-bottom: 1px solid #eee;
    min-height: 60px;
    line-height: 60px;
    padding: 0 10px;
    color: #fff;
    text-align: center;
}

.title {
    color: var(--sl-list-title, #32373c);
    font-size: 19px !important;
    margin-bottom: 10px;
    font-weight: 600;
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    background-color: white;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    z-index: 1000;
    display: none;
}

.popup img {
    width: 100%;
    height: auto;
}

.popup-content {
    padding: 20px;
}

.popup-content h2 {
    margin-top: 0;
    font-size: 18px;
}

.popup-content p {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
}

.popup-content .hours {
    font-weight: bold;
    margin: 10px 0;
}

.popup-content .days {
    font-size: 12px;
    color: #999;
}

.popup-content .buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.popup-content button {
    background-color: #0a161e;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    flex: 1;
    margin: 0 5px;
}

.popup-content button:hover {
    background-color: #0a161ee8;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 18px;
    background-color: #f0f0f0; /* Background color */
    width: 30px; /* Adjust size as needed */
    height: 30px; /* Adjust size as needed */
    border-radius: 50%; /* Makes it a perfect circle */
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) { /* For tablets and smaller devices */
    .map {
        margin-top: 89px;
        left: 25%; /* Adjust left position */
        width: 75%; /* Adjust width */
        height: 413px; /* Adjust height for portrait view */

    }
}

@media (max-width: 480px) { /* For mobile phones */
    .map {
        left: 0; /* Full width for mobile */
        width: 100%;
        height: 414px; /* Adjust height for portrait view */

    }
}


/* Responsive Styles */
@media (max-width: 768px) {
    .sidebar {
        margin-top: 351px;
        position: relative;
        width: 100%;
        height: auto;
        top: 60px;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.25);
    }

  
    .listings .item {
        flex-direction: row;
        text-align: left;
    }

    .listings .item .details {
        flex-direction: row;
        align-items: center;
    }

    .popup {
        width: 90%;
        max-width: 400px;
    }
}
