
.gmp-cert-wrap {
  width:100%;
  background:#fff;
  font-family:Roboto,sans-serif;
}
.gmp-cert-wrap *,
.gmp-cert-wrap *::before,
.gmp-cert-wrap *::after {
  box-sizing:border-box;
  margin:0;
  padding:0;
}
/* 重点：max-width=1320px，**不写padding**，交给Ueeshop外层容器控制左右留白，实现和面包屑对齐 */
.gmp-cert-container {
  max-width:1320px;
  margin:0 auto;
  display:flex;
  gap:40px;
}
.gmp-cert-sidebar {
  width:230px;
  flex-shrink:0;
}
.gmp-page-title {
  font-size:32px;
  font-weight:700;
  color:#3A5EA8;
  margin-bottom:14px;
}
.gmp-cat-header {
  font-size:17px;
  font-weight:600;
  color:#3A5EA8;
  padding-bottom:8px;
  border-bottom:1px solid #c8d4e2;
  margin-bottom:16px;
}
.gmp-cat-list {
  list-style:none;
}
.gmp-cat-item {
  padding:9px 0;
  font-size:15px;
  color:#111111;
  cursor:pointer;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.gmp-cat-item>span {
  color:#777;
  font-size:14px;
}
.gmp-cat-item.active {
  color:#3A5EA8;
}
.gmp-cat-item:hover {
  color:#3A5EA8;
}
.gmp-cert-main {
  flex:1;
}
.gmp-sort-row {
  text-align:right;
  margin-bottom:26px;
  font-size:14px;
  color:#777777;
}
.gmp-cert-grid {
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:24px;
}
.gmp-cert-card {
  transition:opacity 0.3s ease;
}
.gmp-cert-img {
  width:100%;
  aspect-ratio:210/297;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:12px;
  cursor:zoom-in;
}
.gmp-cert-img img {
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}
.gmp-cert-name {
  font-size:14px;
  line-height:1.42;
  color:#111111;
  text-align:center;
}
.gmp-cert-card.hide-card {
  display:none;
}
.gmp-lightbox {
  position:fixed;
  top:0;
  left:0;
  width:100vw;
  height:100vh;
  background:rgba(0,0,0,0.85);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:99999;
}
.gmp-lightbox-close {
  position:absolute;
  top:30px;
  right:30px;
  width:44px;
  height:44px;
  border:none;
  background:#fff;
  font-size:28px;
  cursor:pointer;
  border-radius:50%;
  line-height:1;
}
.gmp-lightbox-img {
  max-width:90%;
  max-height:90%;
  object-fit:contain;
}
/* 响应式断点和products页面完全匹配 */
@media(max-width:1200px){
  .gmp-cert-grid { grid-template-columns:repeat(4,1fr); }
}
@media(max-width:992px){
  .gmp-cert-grid { grid-template-columns:repeat(3,1fr); }
}
@media(max-width:768px){
  .gmp-cert-container {
    flex-direction:column;
    gap:24px;
  }
  .gmp-cert-sidebar { width:100%; }
  .gmp-cert-grid {
    grid-template-columns:repeat(2,1fr);
    gap:18px;
  }
}
