.mlw-single-location-layout .maplocator-header,
.mlw-single-location-layout .maplocator-list,
.mlw-single-location-layout .mlw-mobile-box {
    display: none;
}

.mlw-single-location-layout .maplocator-body {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
}

.mlw-single-location-layout .maplocator-map {
    width: 100%;
    height: 100%;
    flex: 1 1 auto;
}

.mlw-single-location-layout .mlw-single-location-card {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1100;
    box-sizing: border-box;
    width: min(340px, calc(100% - 112px));
    max-height: 45%;
    overflow: auto;
    padding: 14px 16px;
    border: 1px solid var(--widget-border, #ddd);
    border-radius: 6px;
    background: var(--widget-list-bg, #fff);
    color: var(--widget-text, #333);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    overflow-wrap: anywhere;
}

.mlw-single-location-layout .mlw-single-location-card .mlw-popup-content {
    min-width: 0;
    max-width: none;
}

.mlw-single-location-layout .mlw-single-location-card .mlw-popup-title {
    margin: 0 0 6px;
    color: var(--widget-list-title, #333);
}

.mlw-single-location-layout .mlw-single-location-card .mlw-popup-address,
.mlw-single-location-layout .mlw-single-location-card .mlw-popup-description {
    margin: 0 0 8px;
    color: var(--widget-text, #333);
}

.mlw-single-location-layout .mlw-single-location-card .mlw-popup-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
}

.mlw-single-location-layout .mlw-single-location-card .mlw-popup-link {
    color: var(--widget-link, #2563eb);
}

@media (max-width: 480px) {
    .mlw-single-location-layout .mlw-single-location-card {
        width: calc(100% - 24px);
        max-height: 40%;
        padding: 10px 12px;
    }

    .mlw-single-location-layout .accessibility-toggle-btn {
        top: auto;
        right: 54px;
        bottom: 50px;
    }

    .mlw-single-location-layout .leaflet-control-zoom {
        margin-bottom: 45px;
    }
}
