.acf-map {
    width: 100%;
    height: 450px;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.acf-map img {
    max-width: inherit !important;
}

.gm-style .gm-style-iw-c {
    padding: 40px 15px 15px 15px !important;
    display: flex !important;
    max-width: 400px !important;
    flex-direction: row-reverse !important;
    align-items: flex-start;

}

.gm-style-iw-chr {
    position: absolute;
    top: 5px;
    right: 5px;
}

.gm-style-iw-chr button {
    width: 24px !important;
    height: 24px !important;
}

.gm-style-iw-chr button span {
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
}

.gm-style .gm-style-iw-d {
    overflow: hidden !important;
    padding: 0 !important;
}

.gm-style-iw h4,
.gm-style-iw-d h4 {
    padding: 0 !important;
    font-size: 18px !important;
    line-height: 1.3;
    text-transform: uppercase;
}

.gm-style-iw p,
.gm-style-iw-d p {
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    color: #000 !important;
    font-weight: 400 !important;
}

.map-directions-btn {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 500;
    font-family: Roboto, Arial, sans-serif;
}

#map-search-container {
    display: none;
    margin-top: 10px;
    height: 40px;
    border-radius: 2px;
    box-shadow: 0 1px 4px -1px rgba(0, 0, 0, 0.3);
    align-items: center;
    width: 350px;
    max-width: 90%;
}

#map-search-input {
    flex: 1;
    height: 100%;
    padding: 0 15px;
    border: none;
    background: transparent;
    outline: none;
    font-size: 16px;
    font-family: Roboto, Arial, sans-serif;
    color: #000;
    font-weight: 600;
    text-overflow: ellipsis;
}

#map-search-input::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

#map-search-button {
    background: none;
    border: none;
    color: #000;
    padding: 0 15px;
    cursor: pointer;
    font-size: 16px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#map-search-button:hover {
    opacity: 0.8;
}