/* ===== Storefront (frag-store) — strict white + light grey ===== */
.st-hero{background:#fff;border-bottom:1px solid #ececea;overflow:hidden}
.st-hero-media{max-height:300px;overflow:hidden;border-bottom:1px solid #eee}
.st-hero-media img{width:100%;height:300px;object-fit:cover;display:block;filter:grayscale(1)}
.st-hero-inner{max-width:1200px;margin:0 auto;padding:44px 24px 36px}
.st-tags{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:14px}
.st-tier{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:4px 12px;border-radius:999px;border:1px solid #ececea;background:#f5f5f4;color:#4a4a4a}
.st-tier-audited{background:#e9e9e9;border-color:#ececea;color:#161616}
.st-ai-tag{font-size:12px;font-weight:600;color:#767676;letter-spacing:.06em}
.st-name{font-size:clamp(28px,4vw,44px);font-weight:800;letter-spacing:-.02em;color:#161616;margin:0 0 10px}
.st-meta{font-size:15px;color:#6b6b6b;margin:0 0 12px}
.st-rating{display:flex;align-items:center;gap:8px;margin-bottom:16px;font-size:15px;color:#161616}
.st-rating .stars{color:#767676;font-size:18px;letter-spacing:2px}
.st-satisfied{color:#6b6b6b;font-weight:600}
.st-reviews{color:#767676}
.st-metrics{display:flex;gap:0;margin:0 0 20px;border:1px solid #ececea;border-radius:14px;overflow:hidden;background:#fafaf9;max-width:640px}
.st-metrics>div{flex:1;padding:12px 16px;border-right:1px solid #ececea}
.st-metrics>div:last-child{border-right:0}
.st-metrics strong{display:block;font-size:19px;color:#161616}
.st-metrics span{font-size:12px;color:#767676}
.st-metrics-note{align-self:center;padding:0 16px;font-size:12px;color:#767676}
.st-caps{margin-bottom:22px}
.st-caps-title{display:block;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#767676;margin-bottom:10px}
.st-caps>div{display:flex;gap:8px;flex-wrap:wrap}
.st-ctas{display:flex;gap:12px;flex-wrap:wrap;align-items:center}

.st-tabs{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);border-bottom:1px solid #ececea;display:flex;gap:4px;justify-content:center;padding:0 16px}
.st-tabs a{padding:16px 20px;font-size:14.5px;font-weight:600;color:#6b6b6b;text-decoration:none;border-bottom:2px solid transparent;margin-bottom:-1px}
.st-tabs a:hover{color:#161616}
.st-tabs a.active{color:#161616;border-bottom-color:#4a4a4a}
.st-body{padding-top:28px;padding-bottom:48px}

.st-feat-wrap{position:relative}
.st-feat-tag{position:absolute;top:10px;left:10px;z-index:2;background:#fff;border:1px solid #ececea;color:#4a4a4a;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;padding:4px 12px;border-radius:999px;box-shadow:0 2px 8px rgba(0,0,0,.08)}

.st-markets{max-width:640px;background:#fff;border:1px solid #ececea;border-radius:14px;padding:20px 22px}
.st-market-row{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.st-market-row:last-child{margin-bottom:0}
.st-market-label{width:170px;font-size:13.5px;color:#4a4a4a;flex-shrink:0}
.st-market-bar{flex:1;height:8px;background:#f5f5f4;border-radius:999px;overflow:hidden}
.st-market-bar i{display:block;height:100%;background:linear-gradient(90deg,#a8a8a8,#6b6b6b);border-radius:99px}
.st-market-pct{width:48px;text-align:right;font-size:13px;font-weight:700;color:#4a4a4a}
.st-about-text{max-width:760px;color:#4a4a4a;line-height:1.7;white-space:pre-line}

.st-prod-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:20px}
.st-groups{display:flex;gap:8px;flex-wrap:wrap}
.st-groups a{padding:8px 16px;border:1px solid #e0e0e0;border-radius:999px;font-size:13.5px;font-weight:600;color:#6b6b6b;text-decoration:none;background:#fff}
.st-groups a:hover{border-color:#a8a8a8;color:#161616}
.st-groups a.active{background:#4a4a4a;border-color:#4a4a4a;color:#fff}

.st-profile-grid{display:grid;grid-template-columns:1fr 320px;gap:36px;align-items:start}
.st-facts{margin:0;background:#fff;border:1px solid #ececea;border-radius:14px;overflow:hidden}
.st-facts>div{display:grid;grid-template-columns:200px 1fr;gap:12px;padding:12px 16px;border-bottom:1px solid #f5f5f4}
.st-facts>div:last-child{border-bottom:0}
.st-facts dt{font-size:13px;color:#767676;font-weight:600}
.st-facts dd{margin:0;font-size:14px;color:#161616}
.st-verify-card{background:#fafaf9;border:1px solid #e3e3e3;border-radius:14px;padding:20px;margin-bottom:20px}
.st-verify-card strong{color:#161616;font-size:15px}
.st-verify-card p{font-size:13.5px;color:#6b6b6b;margin:8px 0 12px;line-height:1.6}
.st-dims-card{background:#fff;border:1px solid #ececea;border-radius:14px;padding:20px}
.st-dims-card>strong{font-size:14px;color:#161616}
.st-dims-overall{margin:8px 0 12px;font-size:15px;color:#161616}
.st-dims-overall .stars{color:#767676}
.st-dim-row{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-size:13px;color:#6b6b6b}
.st-dim-row>span{width:110px;flex-shrink:0}
.st-dim-bar{flex:1;height:7px;background:#f5f5f4;border-radius:999px;overflow:hidden}
.st-dim-bar i{display:block;height:100%;background:#a8a8a8;border-radius:99px}
.st-dim-row>strong{width:34px;text-align:right;color:#161616}
.st-reviews{display:grid;gap:12px;max-width:860px}
.st-review{background:#fff;border:1px solid #ececea;border-radius:14px;padding:18px 20px}
.st-review-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:6px}
.st-review-head .stars{color:#767676}
.st-review p{margin:8px 0 0;color:#4a4a4a;line-height:1.65;font-size:14px}

@media (max-width:860px){
  .st-profile-grid{grid-template-columns:1fr}
  .st-facts>div{grid-template-columns:1fr;gap:4px}
  .st-market-label{width:120px}
  .st-metrics{flex-wrap:wrap}
  .st-metrics>div{flex:1 1 40%}
  .st-tabs a{padding:12px 12px;font-size:13.5px}
}

/* ---- Wave 4a: labeled supplier scorecard ---- */
.st-scorecard{margin:0 0 20px;max-width:760px}
.st-scorecard .st-metrics{margin:0;max-width:none}
.st-scorecard-title{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#767676;margin-bottom:8px}

/* ---- Type-aware storefront tabs (spec v1.1) ---- */
.st-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
.st-photo-grid img{width:100%;height:170px;object-fit:cover;border-radius:12px;border:1px solid #ececea;background:#f4f4f2}
.st-cert-list{list-style:none;margin:0;padding:0;display:grid;gap:8px;max-width:640px}
.st-cert-list li{background:#fff;border:1px solid #ececea;border-radius:10px;padding:10px 14px}
.st-cert-list a{color:#0e7c74;font-weight:600;font-size:14px;text-decoration:none;word-break:break-all}

/* Alibaba gap #12 — admin-verified profile fact marker (audited tier). */
.suprev-verified{display:inline-flex;align-items:center;gap:4px;color:#0e7c74;font-size:11px;font-weight:600;margin-left:4px;white-space:nowrap}
