/* ==========================================================================
   Vandeto - Profile Elementor Override — Widget styles
   Respecte le standard visuel Vandeto : hover shadow-only (pas de lift/zoom),
   grilles responsive 1-6 desktop / 1-3 mobile, esthétique moderne sobre.
   ========================================================================== */

/* ---------- Carte vendeur ---------- */
.vpe-seller-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #11151c;
    border-radius: 20px;
    padding: 32px 24px;
}

.vpe-seller-card--empty {
    color: #8a8f98;
    font-style: italic;
}

.vpe-seller-card__avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.15);
}

.vpe-seller-card__badge {
    display: inline-block;
    margin-top: 14px;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 999px;
    background-color: #ffc220;
    color: #11151c;
}

.vpe-seller-card__name {
    margin: 14px 0 6px;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
}

.vpe-seller-card__rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: inherit;
    margin-top: 4px;
}

.vpe-seller-card__rating i {
    color: rgba(255, 255, 255, 0.25);
    font-size: 14px;
}

.vpe-seller-card__rating i.active {
    color: #ffc220;
}

.vpe-seller-card__rating-count {
    margin-left: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.vpe-seller-card__last-active {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

/* ---------- Stats vendeur ---------- */
.vpe-seller-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.vpe-stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    border-radius: 14px;
    background-color: #f7f7f8;
    text-align: center;
}

.vpe-stat-box__number {
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
    color: #ff1700;
}

.vpe-stat-box__label {
    margin-top: 8px;
    font-size: 13px;
    color: #5a5f6a;
}

/* ---------- Grille d'annonces vendeur ---------- */
.vpe-seller-ads-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.vpe-cols-m-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.vpe-cols-m-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vpe-cols-m-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (min-width: 768px) {
    .vpe-cols-d-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
    .vpe-cols-d-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vpe-cols-d-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .vpe-cols-d-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .vpe-cols-d-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .vpe-cols-d-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

.vpe-ad-grid-item {
    /* Pas de lift/zoom au hover : la carte produite par adforest_ad_grid_3()
       gère déjà son propre hover (shadow-only) — on ne surcharge rien ici. */
}

.vpe-seller-ads-empty {
    text-align: center;
    padding: 48px 16px;
}

.vpe-seller-ads-empty img {
    max-width: 160px;
    margin: 0 auto 16px;
}

.vpe-seller-ads-pagination {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

/* ---------- Contact vendeur ---------- */
.vpe-seller-contact__coordinates {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.vpe-seller-contact__coordinates li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #2b2f38;
}

.vpe-seller-contact__coordinates li i {
    color: #ff1700;
    width: 16px;
}

.vpe-seller-contact__social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.vpe-seller-contact form#user_contact_form .form-group {
    margin-bottom: 14px;
}

.vpe-seller-contact form#user_contact_form .form-control {
    width: 100%;
    border-radius: 10px;
}
