/* Bright Sun centralized certification badges - image based P0 repair */
.company-nav-certs,
.company-certifications,
.footer-certifications,
.product-detail-cert-row,
.product-detail-table-certs,
.cert-list[data-company-certifications] {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.company-nav-certs {
  min-width: 76px;
  min-height: 40px;
  justify-content: center;
  gap: 8px;
  padding: 4px 8px;
  border: 1px solid rgba(46,125,50,.28);
  border-radius: 999px;
  background: #E8F5E9;
  box-shadow: 0 0 12px rgba(46,125,50,.2);
  text-decoration: none;
}
.cert-badge {
  --cert-color: #2E7D32;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #0F3830;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  min-width: 0;
}
.cert-picture {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  line-height: 0;
  filter: drop-shadow(0 0 10px rgba(46,125,50,.26));
  transition: transform .18s ease, filter .18s ease;
}
.cert-icon {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 50%;
}
.cert-badge:hover .cert-picture {
  transform: translateY(-1px) scale(1.06);
  filter: drop-shadow(0 0 16px rgba(46,125,50,.5));
}
.cert-badge--ce .cert-picture,
.cert-badge--rohs .cert-picture {
  box-shadow: 0 0 0 2px #E8F5E9, 0 0 12px rgba(46,125,50,.34);
}
.cert-badge small {
  max-width: 190px;
  color: #51655f;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}
.company-nav-certs .cert-picture {
  width: 32px;
  height: 32px;
}
.company-nav-certs small,
.cert-list[data-company-certifications] small {
  display: none;
}
.company-cert-strip {
  width: 100%;
  padding: 18px clamp(18px, 5vw, 56px);
  display: grid;
  grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr);
  gap: 18px;
  align-items: center;
  background: #E8F5E9;
  border-block: 1px solid rgba(46,125,50,.18);
}
.company-cert-strip-copy p {
  margin: 0 0 6px;
  color: #0F3830;
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 900;
}
.company-cert-strip-copy span {
  color: #49645d;
  line-height: 1.5;
}
.company-cert-strip-badges {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px;
  text-decoration: none;
}
.company-cert-strip .cert-badge.is-highlight .cert-picture {
  width: 58px;
  height: 58px;
}
.cert-list[data-company-certifications] {
  min-height: 28px;
}
.cert-list[data-company-certifications] .cert-picture {
  width: 24px;
  height: 24px;
}
.product-detail-cert-row {
  margin: 18px 0 8px;
  padding: 10px 12px;
  border: 1px solid rgba(46,125,50,.18);
  border-radius: 8px;
  background: #F1F8F2;
}
.product-detail-cert-row .cert-picture,
.product-detail-table-certs .cert-picture {
  width: 48px;
  height: 48px;
}
.product-detail-table-certs .cert-badge {
  justify-content: flex-start;
}
.footer-certifications {
  width: 100%;
  margin: 18px 0 8px;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.site-footer .footer-certifications .cert-badge {
  color: #FFFFFF;
}
.site-footer .footer-certifications .cert-picture {
  width: 24px;
  height: 24px;
}
.site-footer .footer-certifications small {
  max-width: 160px;
  color: rgba(255,255,255,.72);
}
.company-certification-section {
  background: linear-gradient(180deg, #F5FBF6, #FFFFFF);
}
.about-certification-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.about-certification-card {
  min-height: 240px;
  padding: 24px;
  border: 1px solid rgba(15,56,48,.12);
  border-radius: 8px;
  background: #FFFFFF;
  box-shadow: 0 12px 28px rgba(15,56,48,.08);
}
.about-certification-card.is-highlight {
  background: linear-gradient(180deg, #E8F5E9, #FFFFFF);
  border-color: rgba(46,125,50,.28);
  box-shadow: 0 16px 34px rgba(46,125,50,.16);
  transform: translateY(-4px);
}
.about-certification-card .cert-badge {
  margin-bottom: 18px;
}
.about-certification-card .cert-picture {
  width: 80px;
  height: 80px;
}
.about-certification-card .cert-badge small {
  display: none;
}
.about-certification-card h3 {
  margin: 0 0 10px;
  color: #0F3830;
  font-size: 22px;
}
.about-certification-card p {
  margin: 0;
  color: #5d6d67;
  line-height: 1.6;
}
.about-company-highlights,
.company-profile-highlights,
.company-highlights-hero {
  display: grid;
  gap: 16px;
}
.about-company-highlights,
.company-profile-highlights {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 24px;
}
.company-highlights-hero {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.company-highlight-card {
  width: 200px;
  min-height: 140px;
  max-width: 100%;
  padding: 18px;
  border: 1px solid rgba(15,56,48,.12);
  border-radius: 12px;
  background: #FFFFFF;
  box-shadow: 0 12px 26px rgba(15,56,48,.08);
}
.company-highlight-card strong {
  color: #F27C22;
  font-size: 36px !important;
  line-height: 1;
}
.company-highlight-card span {
  margin-inline-start: 4px;
  color: #F27C22;
  font-weight: 900;
}
.company-highlight-card p {
  margin: 10px 0 0;
  color: #5b6f67;
  font-size: 14px;
}
body.rtl .company-cert-strip,
html[dir="rtl"] .company-cert-strip,
body.rtl .about-certification-card,
html[dir="rtl"] .about-certification-card {
  direction: rtl;
  text-align: right;
}
@media (max-width: 1100px) {
  .about-certification-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .company-cert-strip {
    grid-template-columns: 1fr;
  }
  .company-cert-strip-badges {
    justify-content: flex-start;
  }
  .about-certification-grid,
  .about-company-highlights,
  .company-profile-highlights,
  .company-highlights-hero {
    grid-template-columns: 1fr;
  }
  .company-nav-certs {
    min-width: 58px;
    padding-inline: 5px;
  }
  .company-nav-certs .cert-picture {
    width: 24px;
    height: 24px;
  }
  .company-cert-strip .cert-badge small,
  .product-detail-table-certs .cert-badge small,
  .site-footer .footer-certifications small {
    display: none;
  }
}
