/* ── Page ─────────────────────────────────────────────────────── */
.vml-page {
    padding: 20px 0 40px;
    position: relative;
    z-index: 0;
    isolation: isolate;
}
.vml-page-title {
    display: none;
}

/* ── Filter bar ───────────────────────────────────────────────── */
.vml-filter-bar {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.vml-filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.vml-filter-group label {
    font-size: 13px;
    color: #555;
    font-weight: 500;
}
.vml-select {
    height: 42px;
    min-width: 240px;
    padding: 0 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
    appearance: auto;
    cursor: pointer;
}
.vml-btn-search {
    height: 42px;
    padding: 0 32px;
    background: #111;
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s;
}
.vml-btn-search:hover { background: #333; }
.vml-btn-reset {
    height: 42px;
    padding: 0 20px;
    background: transparent;
    color: #555;
    border: 1px solid #ccc;
    font-size: 13px;
    cursor: pointer;
    border-radius: 4px;
    transition: border-color 0.2s;
}
.vml-btn-reset:hover { border-color: #888; color: #111; }

/* ── Content layout ───────────────────────────────────────────── */
.vml-content-wrap {
    display: flex;
    gap: 0;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    min-height: 560px;
}

/* ── Store panel ──────────────────────────────────────────────── */
.vml-store-panel {
    width: 380px;
    min-width: 320px;
    flex-shrink: 0;
    border-right: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    background: #fff;
}
.vml-store-count {
    padding: 12px 16px;
    font-size: 13px;
    color: #555;
    border-bottom: 1px solid #e8e8e8;
    background: #f9f9f9;
}
.vml-store-list {
    flex: 1;
    overflow-y: auto;
    max-height: 520px;
}

/* ── Store card ───────────────────────────────────────────────── */
.vml-store-card {
    padding: 14px 16px;
    border-bottom: 1px solid #efefef;
    cursor: pointer;
    transition: background 0.15s;
}
.vml-store-card:hover {
    background: #f5f5f5;
}
.vml-store-card--active {
    background: #fff8f0 !important;
    border-left: 3px solid #c8832a;
}
.vml-store-name {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 5px;
}
.vml-store-address,
.vml-store-hours,
.vml-store-phone {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 2px;
}
.vml-store-phone a {
    color: #c8832a;
    text-decoration: none;
}
.vml-store-phone a:hover { text-decoration: underline; }

/* ── Status dot ───────────────────────────────────────────────── */
.vml-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 4px;
    vertical-align: middle;
}
.vml-dot-open { background: #2ecc71; }

/* ── Map panel ────────────────────────────────────────────────── */
.vml-map-panel {
    flex: 1;
    min-height: 560px;
    position: relative;
}
#vml-map-iframe {
    width: 100%;
    height: 100%;
    min-height: 560px;
    display: block;
    border: 0;
}

/* ── Map placeholder (no API key) ─────────────────────────────── */
.vml-map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
}
.vml-map-placeholder-inner {
    text-align: center;
    padding: 32px;
    color: #888;
}
.vml-map-placeholder-inner svg {
    margin-bottom: 16px;
    opacity: 0.4;
}
.vml-map-placeholder-inner p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}
.vml-map-placeholder-inner strong { color: #333; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 768px) {
    .vml-content-wrap {
        flex-direction: column;
    }
    .vml-store-panel {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
    .vml-map-panel,
    #vml-map-iframe,
    .vml-map-placeholder {
        min-height: 360px;
    }
    .vml-select {
        min-width: 180px;
    }
}
