/* store-0918 — manufacturerPage() (public/app.js), Alibaba store/company-profile parity.
   Tokens only (--ink --gray --muted --line --canvas --tint --violet --deep). Brand is
   indigo/violet, never orange or red — the AJAW rating fill below is violet, not the
   orange Alibaba uses for its stars. Not linked from index.html yet: the lead adds
   <link rel="stylesheet" href="/css/store-0918.css"> next to the other *-0918.css tags. */

/* Note: .store-logo.has-img is already fully styled in style.css (shared with
   .card-supplier-mark and .factory-monogram) — app.js just adds the class when
   m.logo_url is present. Nothing to add here. */

.store-pane{margin:16px 0 28px}

/* ---- Company Profile tab: vertical rhythm shared by every section ---- */
.store-profile>section{margin:0 0 18px}
.store-profile>section:last-child{margin-bottom:0}

/* ---- Trade capabilities strip ---- */
.trade-stats{border:1px solid var(--line);border-radius:12px;background:#fff;padding:18px 20px 14px}
.trade-stats .section-head{margin-bottom:14px}
.trade-stats .section-head h2{font-family:var(--body);font-size:15px;font-weight:650}
.trade-stats-row{display:flex;flex-wrap:wrap;gap:20px 34px}
.trade-stats-row>div{min-width:104px}
.trade-stats-row strong{display:flex;align-items:center;gap:6px;font-size:19px;font-weight:700;color:var(--ink)}
.trade-stats-row strong .stars{width:74px}
.trade-stats-row span{display:block;margin-top:4px;font-size:11.5px;color:var(--gray)}
.trade-stats .store-disclosure{display:block;margin-top:14px;padding-top:12px;border-top:1px solid var(--line);font-size:10.5px;color:var(--muted)}

/* ---- Business details table ---- */
.biz-details .section-head{margin-bottom:10px}
.biz-details .section-head h2{font-family:var(--body);font-size:15px;font-weight:650}
.biz-table{margin:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}
.biz-row{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:13px 18px;border-bottom:1px solid var(--line)}
.biz-row:last-child{border-bottom:0}
.biz-row dt{margin:0;font-size:12.5px;color:var(--gray);flex:0 0 auto}
.biz-row dd{margin:0;font-size:13px;font-weight:650;color:var(--ink);text-align:right}

/* ---- Factory capabilities / certifications chip lists ---- */
.caps-panel h3,.certs-panel h3,.about-panel h3{font-size:14px;margin-bottom:2px}
.chip-list{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.chip-list li{border:1px solid var(--line);border-radius:20px;padding:6px 13px;font-size:12px;color:var(--ink);background:var(--canvas);display:inline-flex;align-items:center;gap:6px}
.cert-chip em{font-style:normal;display:inline-flex;align-items:center;gap:3px;font-size:10px;font-weight:650;color:var(--green);background:#e9f7f0;border-radius:10px;padding:2px 7px;margin-left:2px;white-space:nowrap}
.cert-chip em .icon{width:10px;height:10px}
.about-panel p{font-size:13px;line-height:1.7;margin-top:8px}

/* ---- Reviews: overall score + service/shipment/quality bars ---- */
.rv-summary{display:flex;gap:28px;align-items:flex-start;flex-wrap:wrap;padding:16px 18px;border:1px solid var(--line);border-radius:12px;background:#fff;margin-bottom:16px}
.rv-score{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px;min-width:120px}
.rv-score b{font-family:var(--display);font-size:30px;font-weight:700;color:var(--ink)}
.rv-score span{font-size:13px;color:var(--gray)}
.rv-score small{display:block;width:100%;font-size:11px;color:var(--muted);margin-top:2px}
.rv-score small:first-of-type{width:auto;color:var(--violet);font-weight:650;margin-right:8px}
.rv-bars{flex:1;min-width:220px;display:flex;flex-direction:column;gap:9px}
.rv-bar{display:grid;grid-template-columns:130px 1fr 32px;align-items:center;gap:10px;font-size:12px;color:var(--gray)}
.rv-track{display:block;height:6px;border-radius:4px;background:var(--tint);overflow:hidden}
.rv-track i{display:block;height:100%;border-radius:4px;background:var(--violet)}
.rv-bar b{text-align:right;color:var(--ink);font-weight:650}

/* ---- Phone bottom action bar (Alibaba's Categories / Chat now / Send inquiry) ----
   mobile-navigation.css already pins a global 5-tab bar to the bottom (.tabbar, 54px +
   safe-area, z-index:55) and reserves space for it on <body>. This bar sits just above
   it, the same way .pdp-mobile-bar does (see public/css/pdp.css / mobile-navigation.css),
   and reserves its own extra space with a scoped body:has() rule — it never touches
   mobile-navigation.css or pdp.css. */
.store-actionbar{display:none}
@media (max-width:760px){
 .store-ctas{display:none}
 .store-actionbar{position:fixed;left:0;right:0;bottom:calc(54px + env(safe-area-inset-bottom,0px));z-index:50;display:flex;align-items:center;gap:8px;padding:8px 12px;background:#fff;border-top:1px solid var(--line);box-shadow:0 -4px 14px rgba(9,9,11,.05)}
 body:has(.store-actionbar){padding-bottom:calc(120px + env(safe-area-inset-bottom,0px))}
 .store-actionbar>a[aria-label]{display:flex;flex-direction:column;align-items:center;gap:2px;flex:0 0 auto;width:52px;font-size:9.5px;color:var(--gray)}
 .store-actionbar>a[aria-label] .icon{width:20px;height:20px}
 .store-actionbar .btn{flex:1;min-height:42px;padding:8px 10px;font-size:12.5px}
 .trade-stats-row{gap:16px 24px}
 .rv-summary{flex-direction:column;gap:14px}
 .biz-row{padding:12px 14px}
}
