/* OEM 品牌墙样式 */

/* === 筛选栏 === */
.oem-filter-bar{
  max-width:1200px;
  margin:0 auto 24px;
  padding:0 20px;
}
.oem-filter-bar .filter-group{
  margin-bottom:14px;
}
.oem-filter-bar .filter-label{
  font-size:13px;
  font-weight:600;
  color:#3d4a5c;
  margin-bottom:8px;
  display:block;
}
.oem-filter-bar .filter-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

/* === 卡片网格 === */
.oem-index-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  max-width:1200px;
  margin:0 auto;
  padding:0 20px 40px;
}
@media(max-width:1000px){
  .oem-index-grid{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:640px){
  .oem-index-grid{grid-template-columns:1fr;}
  .oem-filter-bar .filter-row{gap:6px;}
}

/* === 卡片 === */
.oem-company-card{
  display:flex;
  flex-direction:column;
  background:#fff;
  border:1px solid #e8ecf1;
  border-radius:12px;
  overflow:hidden;
  text-decoration:none;
  color:inherit;
  transition:all .25s ease;
  box-shadow:0 1px 3px rgba(0,0,0,.04);
}
.oem-company-card:hover{
  border-color:#7ab06e;
  box-shadow:0 6px 20px rgba(45,125,70,.12);
  transform:translateY(-2px);
}
.oem-card-logo-wrap{
  flex:0 0 auto;
  min-height:120px;
  background:linear-gradient(180deg,#f7f9fc 0%,#ffffff 100%);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px 16px;
  border-bottom:1px solid #eef1f5;
}
.oem-card-logo-wrap img{
  max-width:140px;
  max-height:48px;
  width:auto;
  height:auto;
  object-fit:contain;
}
.oem-card-logo-wrap--wordmark{
  background:linear-gradient(135deg,#f5f8fc 0%,#edf3f9 100%);
}
.oem-card-logo-wrap--wordmark .oem-card-logo-text{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:54px;
  margin:0;
  color:#0c2445;
  font-size:clamp(1.05rem,1.8vw,1.35rem);
  font-weight:850;
  letter-spacing:.025em;
  line-height:1.12;
  text-align:center;
}
.oem-company-body{
  flex:1 1 auto;
  padding:14px 16px 16px;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.oem-company-body .oem-country{
  font-size:12px;
  color:#7ab06e;
  display:flex;
  align-items:center;
  gap:6px;
}
.oem-company-body .oem-country::before{
  content:"";
  width:14px;
  height:14px;
  background:#a8c9a0;
  -webkit-mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='12' cy='12' r='10'/><line x1='2' y1='12' x2='22' y2='12'/><path d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/></svg>");
  mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='12' cy='12' r='10'/><line x1='2' y1='12' x2='22' y2='12'/><path d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/></svg>");
}
.oem-company-body h3{
  font-size:16px;
  font-weight:600;
  color:#1a2a3e;
  margin:2px 0 0;
  line-height:1.3;
}
.oem-company-body p{
  font-size:13px;
  color:#6c7a8c;
  margin:0;
  line-height:1.5;
  flex:1 1 auto;
}
.oem-company-body .oem-open{
  font-size:13px;
  font-weight:500;
  color:#5aa84c;
  margin-top:6px;
}


/* 2026-09-05 audited OEM logo surfaces */
.oem-card-logo-wrap--dark{background:#11243c;border-bottom-color:#263b56}
.oem-card-logo-wrap--dark img{filter:none}
