.mloc-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ── State Tabs ── */

.mloc-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.mloc-tab {
    display: inline-block;
    padding: 8px 24px;
    border: 2px solid #733642;
    border-radius: 24px;
    background: #fff;
    color: #733642;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease;
    white-space: nowrap;
    line-height: 1.4;
}

.mloc-tab:hover {
    background-color: #733642;
    color: #fff;
}

.mloc-tab--active {
    background-color: #733642;
    color: #fff;
}

/* ── Panel ── */

.mloc-panel {
    display: none;
}

.mloc-panel--active {
    display: block;
}

.mloc-panel-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 0;
}

.mloc-state-name {
    font-size: 26px;
    font-weight: 900;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.2;
}

.mloc-location-count {
    font-size: 15px;
    color: #888;
    font-weight: 400;
}

.mloc-divider {
    height: 3px;
    background-color: #733642;
    margin: 10px 0 28px;
}

/* ── Card Grid ── */

.mloc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.mloc-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 28px 20px 22px;
    text-align: center;
    transition: box-shadow 0.2s ease;
}

.mloc-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.mloc-card-pin {
    margin-bottom: 12px;
}

.mloc-card-pin svg {
    width: 28px;
    height: 36px;
}

.mloc-card-city {
    font-size: 17px;
    font-weight: 800;
    color: #733642;
    margin: 0 0 4px;
}

.mloc-card-name {
    font-size: 13px;
    color: #666;
    margin: 0 0 6px;
    line-height: 1.4;
}

.mloc-card-address {
    font-size: 12px;
    color: #999;
    margin: 0 0 14px;
    line-height: 1.4;
}

.mloc-card-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #733642;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.mloc-card-link:hover {
    opacity: 0.75;
    text-decoration: none;
}

.mloc-card-link:visited {
    color: #733642;
}

.mloc-arrow {
    margin-left: 3px;
}

/* ── Empty State ── */

.mloc-empty {
    text-align: center;
    color: #999;
    font-size: 15px;
    padding: 40px 0;
}

/* ── Responsive ── */

@media (max-width: 768px) {
    .mloc-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .mloc-tabs {
        gap: 8px;
    }

    .mloc-tab {
        padding: 7px 18px;
        font-size: 13px;
    }

    .mloc-state-name {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .mloc-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .mloc-wrapper {
        padding: 24px 16px;
    }

    .mloc-tab {
        padding: 6px 14px;
        font-size: 12px;
    }
}
