/* MetroEV Store Locator Widget Styles */

.metroev-locator-wrap {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Google Sans', 'Roboto', sans-serif;
}

.metroev-locator-filter-wrap {
    text-align: center;
    margin-bottom: 40px;
}

.metroev-city-filter {
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background-color: #fff;
    color: #333;
    outline: none;
    cursor: pointer;
    min-width: 250px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23333333%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat, repeat;
    background-position: right .7em top 50%, 0 0;
    background-size: .65em auto, 100%;
    transition: all 0.3s ease;
}

.metroev-store-card {
    display: flex;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    overflow: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.metroev-store-text-side {
    flex: 0 0 55%;
    padding: 50px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.metroev-store-map-side {
    flex: 0 0 45%;
    min-height: 350px;
    position: relative;
    background: #f0f2f5;
}

.metroev-map-wrap {
    width: 100%;
    height: 100%;
}

.metroev-map-wrap iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: none !important;
}

.metroev-city-name {
    margin: 0 0 10px 0;
    font-size: 32px;
    font-weight: 700;
    color: #1f1f1f;
    line-height: 1.2;
}

.metroev-store-name {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #1f1f1f;
    line-height: 1.3;
}

.metroev-red-divider {
    width: 80px;
    border-bottom: 3px solid #dc3545; /* Can be overridden by Elementor Widget Settings */
    margin: 20px 0 30px;
}

.metroev-info-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.metroev-info-row:last-child {
    margin-bottom: 0;
}

.metroev-icon-red {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #dc3545; /* Can be overridden by Elementor Widget Settings */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 20px;
}

.metroev-icon-red svg {
    width: 20px;
    height: 20px;
}

.metroev-info-text {
    flex-grow: 1;
}

.metroev-info-text label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.metroev-info-text p {
    margin: 0;
    font-size: 16px;
    color: #3c4043;
    line-height: 1.5;
}

/* Hide Utility Class for JS Filter */
.metroev-store-card.metroev-hidden {
    display: none !important;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .metroev-store-text-side {
        padding: 40px 30px;
    }
}

@media (max-width: 767px) {
    .metroev-store-card {
        flex-direction: column;
    }
    .metroev-store-text-side {
        flex: 0 0 100%;
        padding: 30px 20px;
    }
    .metroev-store-map-side {
        flex: 0 0 100%;
        min-height: 300px;
    }
    .metroev-city-name {
        font-size: 28px;
    }
    .metroev-store-name {
        font-size: 18px;
    }
}
