/* Override Google Maps InfoWindow default styles */
.gm-style-iw {
    padding: 0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
    max-height: 250px !important;
}

.gm-style-iw-d {
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    height:250px !important;
    max-height: 250px !important;
}

.gm-style-iw-chr {
    position: absolute;
    right:0px;
    z-index:5;
}

.gm-style-iw-t::after {
    display: none !important;
}

.gm-ui-hover-effect {
    background: rgba(255, 255, 255, 0.5) !important;
}

.gm-ui-hover-effect span {
    margin: 0px !important;
    color:white !important;
}

.aimv-info-window {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    width: 240px;
    border-radius: 8px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: white;
}

.aimv-info-window__image {
    width: 100%;
    height: 150px;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.aimv-info-window__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
}

.aimv-info-window__header {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 10;
}

.aimv-info-window__type {
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
}

.aimv-info-window__content {
    padding: 12px;
    background: white;
    margin: 0;
}

.aimv-info-window__price {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px 0;
}

.aimv-info-window__title {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0 0;
}

.aimv-info-window__details {
    font-size: 14px;
    color: #666;
    margin: 0 0 8px 0;
    font-weight: 400;
}

.aimv-info-window__features {
    font-size: 13px;
    color: #666;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.aimv-info-window__location {
    font-size: 13px;
    color: #888;
    font-weight: 400;
    margin: 0;
}

.aimv-info-window__main-info-container {
    display:flex;
    flex-direction: row;
    gap:10px;
    align-items: center;
}

.aimv-map {
    border-radius: 20px;
}

@media only screen and (max-width: 1100px) {
    .aimv-map {
        height: 100vh !important;
    }
}