/* ── MVX Vendors Page — vendors-page.css ── */

.mvxvp-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 0;
    font-family: inherit;
}

/* Filtros por ciudad */
.mvxvp-city-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.25rem;
}

.mvxvp-city-pill {
    font-size: 13px;
    padding: 6px 16px;
    border-radius: 24px;
    border: 1px solid #d5d5d5;
    background: #fff;
    color: #555;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
    line-height: 1;
}

.mvxvp-city-pill:hover {
    border-color: #999;
    color: #111;
    background: #f5f5f5;
}

.mvxvp-city-pill.active {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* Toolbar: contador + búsqueda */
.mvxvp-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    gap: 12px;
    flex-wrap: wrap;
}

.mvxvp-search {
    padding: 8px 16px;
    border: 1px solid #d5d5d5;
    border-radius: 24px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.15s;
    width: 220px;
    font-family: inherit;
}

.mvxvp-search:focus {
    border-color: #999;
}

/* Contador */
.mvxvp-count {
    font-size: 13px;
    color: #777;
    margin: 0;
}

/* Ciudad en tarjeta */
.mvxvp-city-label {
    font-size: 12px;
    color: #888;
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 3px;
}

/* Grid */
.mvxvp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 18px;
}

/* Tarjeta */
.mvxvp-card {
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s;
}

.mvxvp-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.09);
    border-color: #ccc;
    transform: translateY(-2px);
}

.mvxvp-card-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem 1.25rem;
    text-decoration: none;
    color: inherit;
}

/* Avatar / Logo */
.mvxvp-avatar-wrap {
    margin-bottom: 12px;
}

.mvxvp-logo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f0f0f0;
}

.mvxvp-initials {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #E6F1FB;
    color: #0C447C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 600;
}

/* Nombre */
.mvxvp-name {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 4px;
    color: #1a1a1a;
    line-height: 1.3;
}

/* Categorías */
.mvxvp-cats {
    font-size: 12px;
    color: #888;
    margin: 0 0 8px;
    line-height: 1.4;
}

/* Rating */
.mvxvp-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 14px;
    margin-bottom: 12px;
}

.mvxvp-rating .star.full  { color: #BA7517; }
.mvxvp-rating .star.empty { color: #ddd; }

.mvxvp-rating-num {
    font-size: 12px;
    color: #888;
    margin-left: 2px;
}

/* Botón */
.mvxvp-btn {
    display: inline-block;
    font-size: 12px;
    padding: 5px 18px;
    border: 1px solid #ddd;
    border-radius: 20px;
    color: #444;
    transition: background 0.15s, border-color 0.15s;
    margin-top: auto;
}

.mvxvp-card:hover .mvxvp-btn {
    background: #f5f5f5;
    border-color: #bbb;
}

/* Sin resultados */
.mvxvp-no-results {
    text-align: center;
    color: #888;
    font-size: 15px;
    padding: 2rem 0;
}

/* ── Ícono menú móvil (Astra theme) ─────────────────────────────────────────
   El SVG usa fill="currentColor", hereda el color del padre.
   Restauramos el color original del tema en vez de forzar negro. */
.ast-mobile-svg.ast-menu-svg {
    color: #000000 !important;
    fill: #000000 !important;
}

/* ── Precio WooCommerce en negro ─────────────────────────────────────────────
   Sobrescribe el color del tema. !important necesario para ganar al tema. */
.woocommerce-Price-amount.amount,
.woocommerce-Price-amount.amount bdi,
.woocommerce-Price-amount.amount span {
    color: #000000 !important;
}

/* Responsive */
@media (max-width: 600px) {
    .mvxvp-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }

    .mvxvp-search {
        max-width: 100%;
    }
}
