/* Tarjeta de vendedor, barra de nivel y pestañas de reseñas.
   Compartido por el checkout, el perfil público y el perfil propio. */

.tier-card{width:100%;padding:20px;background:var(--trust-bg);border-radius:var(--radius-lg);text-align:left}
.tier-card__head{display:flex;align-items:flex-start;gap:12px}
.tier-card__icon{flex:none;margin-top:3px;color:var(--muted-500)}
.tier-card__title{margin:0;font-size:1rem;font-weight:800}
.tier-card__sub{margin:4px 0 0;font-size:12.5px;color:var(--muted-500);line-height:1.35}

.tier-bar{display:flex;gap:8px;margin:20px 0 16px}
.tier-seg{flex:1;height:8px;border-radius:var(--radius-pill);background:var(--line)}
.tier-seg:nth-child(1).is-on{background:var(--tier-1)}
.tier-seg:nth-child(2).is-on{background:var(--tier-2)}
.tier-seg:nth-child(3).is-on{background:var(--tier-3)}
.tier-seg:nth-child(4).is-on{background:var(--tier-4)}
.tier-seg:nth-child(5).is-on{background:var(--tier-5)}

.tier-count{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:13px 18px;background:var(--surface);border-radius:var(--radius-md);font-size:13px;color:var(--muted-500)}
.tier-count__next{font-weight:700}

.tier-flags{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}

.tier-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;padding:14px 0;background:var(--surface);border-radius:var(--radius-md)}
.tier-stat{text-align:center;padding:0 8px}
.tier-stat+.tier-stat{border-left:1px solid var(--line)}
.tier-stat:nth-child(3n+1){border-left:0}
.tier-stat dd{margin:0;font-size:1.05rem;font-weight:800}
.tier-stat dt{margin-top:4px;font-size:11px;letter-spacing:.02em;color:var(--muted-500)}

/* Variante de la tarjeta para el checkout y el perfil público: superficie blanca. */
.seller-card{background:var(--surface);border:1px solid var(--line)}
.seller-card .tier-stats{background:var(--bg-soft)}
.seller-card .tier-bar{margin-top:16px}

.seller-card__id{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.seller-card__avatar{display:flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;border-radius:var(--radius-pill);background:var(--brand-600);color:#fff;font-size:16px;font-weight:800;overflow:hidden}
.seller-card__avatar img{display:block;width:100%;height:100%;object-fit:cover}
.seller-card__name{display:flex;align-items:center;gap:6px;margin:0;font-size:1.05rem;font-weight:800}
.seller-card__verified{flex:none;color:var(--brand-600)}

.seller-badge{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border-radius:var(--radius-pill);background:var(--bg-soft);color:var(--muted-500);font-size:12.5px;font-weight:600}
.seller-badge--ok{background:var(--success-bg);color:var(--success)}

.seller-card__cta{width:100%;margin-top:16px;border-radius:var(--radius-pill)}

.profile-tabcard{width:100%;padding:20px;background:var(--trust-bg);border-radius:var(--radius-lg);text-align:left}
.profile-tabswitch{display:flex;gap:6px;margin-bottom:16px}
.profile-tabswitch .tab-pill{flex:1;text-align:center;padding:12px 16px;border:0;border-radius:var(--radius-md);background:var(--line);color:var(--muted-500);font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.profile-tabswitch .tab-pill:hover{color:var(--ink-900)}
.profile-tabswitch .tab-pill.is-active,.profile-tabswitch .tab-pill[aria-pressed="true"]{background:var(--surface);color:var(--ink-900);font-weight:800;box-shadow:0 2px 8px rgba(16,24,64,.08)}
.profile-tabswitch a.tab-pill{text-decoration:none;display:block}
.profile-tabcard__actions{display:flex;justify-content:flex-end;margin-bottom:10px}
.profile-seeall{font-size:13px;font-weight:800;color:var(--ink-900);text-decoration:none}
.profile-seeall:hover{color:var(--brand-600)}
.profile-empty{margin:12px 0;text-align:center;color:var(--muted-500);font-size:14px}

.perf-list{margin:0;padding:4px 16px;background:var(--surface);border-radius:var(--radius-md)}
.perf-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid var(--line)}
.perf-row:first-child{border-top:0}
.perf-row dt{font-size:14px;color:var(--muted-500)}
.perf-row dd{margin:0;font-size:15px;font-weight:800}

.review-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.review{padding:14px 16px;background:var(--surface);border-radius:var(--radius-md)}
.review__head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.review__stars{color:var(--brand-600);font-size:14px;letter-spacing:2px}
.review__event{margin:6px 0 0;font-size:12.5px;color:var(--muted-500)}
.review__text{margin:6px 0 0;font-size:14px}
