/* ===== Product Category Template ===== */

.chanspeed-product-category-hero{
  padding:34px 0 26px;
  background:linear-gradient(180deg,#fafafa 0%,#f5f6f6 100%);
  border-top:1px solid #f0f2f4;
}

.chanspeed-product-category-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);
  gap:42px;
  align-items:start;
}

.chanspeed-product-category-title{
  max-width:860px;
  margin-bottom:16px;
}

.chanspeed-product-category-lead{
  max-width:720px;
  margin-bottom:24px;
}

.chanspeed-product-category-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:20px;
}
.chanspeed-product-category-actions--center{
  justify-content:center;
}

.chanspeed-product-category-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 20px;
  border-radius:999px;
  border:1.5px solid var(--chanspeed-black);
  background:#fff;
  color:var(--chanspeed-black);
  font-size:14px;
  font-weight:700;
  text-decoration:none;
  transition:all .22s ease;
}
.chanspeed-product-category-pill:hover{
  border-color:var(--chanspeed-green);
  color:var(--chanspeed-green);
  background:rgba(24,169,87,.04);
}
.chanspeed-product-category-pill--primary{
  background:var(--chanspeed-black);
  color:#fff;
  border-color:var(--chanspeed-black);
}
.chanspeed-product-category-pill--primary:hover{
  background:var(--chanspeed-green);
  border-color:var(--chanspeed-green);
  color:#fff;
}

.chanspeed-product-category-switch{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.chanspeed-product-category-switch-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 16px;
  border-radius:999px;
  border:1px solid #dfe5ea;
  background:#fff;
  color:var(--chanspeed-black);
  font-size:13px;
  font-weight:700;
  text-decoration:none;
}
.chanspeed-product-category-switch-link:hover{
  color:var(--chanspeed-green);
  border-color:rgba(24,169,87,.28);
  background:rgba(24,169,87,.04);
}

.chanspeed-product-category-hero-side{
  min-width:0;
}

.chanspeed-product-category-hero-image{
  margin-bottom:16px;
  padding:20px;
  border:1px solid #e4eaee;
  border-radius:28px;
  background:#fff;
  box-shadow:0 12px 30px rgba(17,19,21,.04);
}

.chanspeed-product-category-image-placeholder{
  min-height:300px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px dashed #ccd4db;
  border-radius:20px;
  background:#edf1f4;
  color:#6b7280;
  font-size:14px;
  font-weight:700;
  text-align:center;
  padding:20px;
}

.chanspeed-product-category-note{
  padding:18px 18px;
  border:1px solid #e7ecef;
  border-radius:18px;
  background:#fff;
}
.chanspeed-product-category-note strong{
  display:block;
  margin-bottom:6px;
  font-size:18px;
  color:var(--chanspeed-black);
}
.chanspeed-product-category-note span{
  display:block;
  color:#4b5563;
  line-height:1.75;
}

.chanspeed-product-category-main{
  padding-top:22px;
}

.chanspeed-product-category-head{
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);
  gap:28px;
  align-items:end;
  margin-bottom:24px;
}

.chanspeed-product-category-content-wrap{
  padding:0;
}

/* Let page body content breathe */
.chanspeed-product-category-content-wrap > .wp-block-post-content > *{
  margin-top:0;
}

.chanspeed-product-category-content-wrap .wp-block-columns{
  gap:24px;
}
.chanspeed-product-category-content-wrap .wp-block-image{
  margin-bottom:20px;
}
.chanspeed-product-category-content-wrap .wp-block-heading{
  color:var(--chanspeed-black);
}
.chanspeed-product-category-content-wrap p{
  color:#4b5563;
  line-height:1.8;
}
.chanspeed-product-category-content-wrap ul{
  color:#4b5563;
}
.chanspeed-product-category-content-wrap li{
  margin-bottom:8px;
  line-height:1.75;
}

.chanspeed-product-category-bottom{
  padding-top:20px;
  padding-bottom:24px;
}

.chanspeed-product-category-bottom-panel{
  padding:56px 34px;
  border:1px solid #e4eaee;
  border-radius:30px;
  background:linear-gradient(180deg,#f7faf8 0%,#eef5f1 100%);
  text-align:center;
}

.chanspeed-product-category-bottom-panel .chanspeed-section-title{
  max-width:980px;
  margin-left:auto;
  margin-right:auto;
}
.chanspeed-product-category-bottom-panel .chanspeed-home-lead{
  max-width:820px;
  margin-left:auto;
  margin-right:auto;
}

@media (max-width: 1200px){
  .chanspeed-product-category-hero-grid,
  .chanspeed-product-category-head{
    grid-template-columns:1fr;
  }
}

@media (max-width: 991px){
  .chanspeed-product-category-hero{
    padding-top:28px;
  }

  .chanspeed-product-category-image-placeholder{
    min-height:220px;
  }

  .chanspeed-product-category-bottom-panel{
    padding:40px 20px;
    border-radius:24px;
  }
}

@media (max-width: 767px){
  .chanspeed-product-category-pill{
    min-height:44px;
    padding:0 16px;
    font-size:13px;
  }

  .chanspeed-product-category-switch-link{
    min-height:40px;
    padding:0 14px;
    font-size:12px;
  }

  .chanspeed-product-category-hero-image{
    padding:16px;
    border-radius:22px;
  }

  .chanspeed-product-category-image-placeholder{
    min-height:190px;
    font-size:13px;
    border-radius:16px;
  }

  .chanspeed-product-category-note{
    padding:16px;
    border-radius:16px;
  }
}

/* ===== DC Category Page Body ===== */

.chanspeed-dc-category-intro{
  margin-bottom:12px;
}

.chanspeed-dc-category-intro-grid{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);
  gap:24px;
  align-items:start;
}

.chanspeed-dc-category-intro-card{
  padding:28px 28px;
  border:1px solid #e6ebef;
  border-radius:26px;
  background:#fff;
  box-shadow:0 12px 28px rgba(17,19,21,.04);
}

.chanspeed-dc-category-intro-side{
  display:grid;
  gap:14px;
}

.chanspeed-dc-category-mini-card{
  padding:20px 20px;
  border:1px solid #e6ebef;
  border-radius:20px;
  background:#fff;
  box-shadow:0 10px 24px rgba(17,19,21,.03);
}
.chanspeed-dc-category-mini-card strong{
  display:block;
  margin-bottom:6px;
  font-size:18px;
  color:var(--chanspeed-black);
}
.chanspeed-dc-category-mini-card span{
  display:block;
  color:#4b5563;
  line-height:1.75;
}

.chanspeed-dc-category-section{
  margin-top:28px;
}

.chanspeed-dc-category-head{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);
  gap:28px;
  align-items:end;
  margin-bottom:22px;
}

.chanspeed-dc-model-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}

.chanspeed-dc-model-card{
  position:relative;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid #e6ebef;
  border-radius:26px;
  background:#fff;
  box-shadow:0 12px 28px rgba(17,19,21,.04);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.chanspeed-dc-model-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 38px rgba(17,19,21,.07);
  border-color:#d9e1e7;
}
.chanspeed-dc-model-card--featured{
  border-color:rgba(24,169,87,.22);
}

.chanspeed-dc-model-badge{
  position:absolute;
  top:18px;
  right:18px;
  z-index:2;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:0 14px;
  border-radius:999px;
  background:var(--chanspeed-green);
  color:#fff;
  font-size:12px;
  font-weight:700;
  line-height:1;
  box-shadow:0 10px 22px rgba(24,169,87,.22);
}

.chanspeed-dc-model-image{
  padding:22px;
  background:#f4f6f7;
  border-bottom:1px solid #ebeff2;
}

.chanspeed-dc-model-body{
  padding:22px 22px 24px;
}

.chanspeed-dc-model-points{
  margin:14px 0 18px;
  padding-left:18px;
  color:#4b5563;
}
.chanspeed-dc-model-points li{
  margin-bottom:8px;
  line-height:1.7;
}

.chanspeed-dc-model-link{
  display:inline-flex;
  align-items:center;
  font-weight:700;
  text-decoration:none;
}

.chanspeed-dc-app-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}

.chanspeed-dc-app-card{
  padding:24px 22px;
  border:1px solid #e6ebef;
  border-radius:22px;
  background:#fff;
  box-shadow:0 10px 24px rgba(17,19,21,.03);
}
.chanspeed-dc-app-card strong{
  display:block;
  margin-bottom:10px;
  font-size:22px;
  line-height:1.2;
  color:var(--chanspeed-black);
}
.chanspeed-dc-app-card p{
  margin:0;
  color:#4b5563;
  line-height:1.8;
}

.chanspeed-dc-compare-wrap{
  overflow-x:auto;
  border:1px solid #e6ebef;
  border-radius:22px;
  background:#fff;
  box-shadow:0 10px 24px rgba(17,19,21,.03);
}

.chanspeed-dc-compare-table{
  width:100%;
  min-width:720px;
  border-collapse:collapse;
}

.chanspeed-dc-compare-table th,
.chanspeed-dc-compare-table td{
  padding:18px 18px;
  text-align:left;
  border-bottom:1px solid #edf1f4;
  vertical-align:top;
}

.chanspeed-dc-compare-table th{
  background:#f7f9fa;
  font-size:13px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--chanspeed-muted);
}

.chanspeed-dc-compare-table td{
  color:#4b5563;
  line-height:1.75;
}

.chanspeed-dc-compare-table tbody tr:last-child td{
  border-bottom:none;
}

.chanspeed-dc-compare-table a{
  font-weight:700;
  text-decoration:none;
}

@media (max-width: 1200px){
  .chanspeed-dc-category-intro-grid,
  .chanspeed-dc-category-head{
    grid-template-columns:1fr;
  }
}

@media (max-width: 991px){
  .chanspeed-dc-model-grid,
  .chanspeed-dc-app-grid{
    grid-template-columns:1fr;
  }

  .chanspeed-dc-category-intro-card,
  .chanspeed-dc-category-mini-card{
    padding:22px 20px;
    border-radius:22px;
  }
}

@media (max-width: 767px){
  .chanspeed-dc-model-image{
    padding:16px;
  }

  .chanspeed-dc-model-body{
    padding:18px 18px 22px;
  }

  .chanspeed-dc-app-card{
    padding:20px 18px;
    border-radius:18px;
  }

  .chanspeed-dc-app-card strong{
    font-size:20px;
  }

  .chanspeed-dc-compare-wrap{
    border-radius:18px;
  }

  .chanspeed-dc-compare-table th,
  .chanspeed-dc-compare-table td{
    padding:14px 14px;
  }
}

/* ===== Product Detail Page Body ===== */

.chanspeed-product-detail-intro{
  margin-bottom:12px;
}

.chanspeed-product-detail-intro-grid{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);
  gap:24px;
  align-items:start;
}

.chanspeed-product-detail-intro-card{
  padding:28px 28px;
  border:1px solid #e6ebef;
  border-radius:26px;
  background:#fff;
  box-shadow:0 12px 28px rgba(17,19,21,.04);
}

.chanspeed-product-detail-intro-side{
  display:grid;
  gap:14px;
}

.chanspeed-product-detail-mini-card{
  padding:20px 20px;
  border:1px solid #e6ebef;
  border-radius:20px;
  background:#fff;
  box-shadow:0 10px 24px rgba(17,19,21,.03);
}
.chanspeed-product-detail-mini-card strong{
  display:block;
  margin-bottom:6px;
  font-size:18px;
  color:var(--chanspeed-black);
}
.chanspeed-product-detail-mini-card span{
  display:block;
  color:#4b5563;
  line-height:1.75;
}

.chanspeed-product-detail-section{
  margin-top:28px;
}

.chanspeed-product-detail-head{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);
  gap:28px;
  align-items:end;
  margin-bottom:22px;
}

.chanspeed-product-detail-feature-grid,
.chanspeed-product-detail-app-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}

.chanspeed-product-detail-feature-card,
.chanspeed-product-detail-app-card{
  padding:24px 22px;
  border:1px solid #e6ebef;
  border-radius:22px;
  background:#fff;
  box-shadow:0 10px 24px rgba(17,19,21,.03);
}

.chanspeed-product-detail-feature-card strong,
.chanspeed-product-detail-app-card strong{
  display:block;
  margin-bottom:10px;
  font-size:22px;
  line-height:1.2;
  color:var(--chanspeed-black);
}

.chanspeed-product-detail-feature-card p,
.chanspeed-product-detail-app-card p{
  margin:0;
  color:#4b5563;
  line-height:1.8;
}

.chanspeed-product-detail-spec-wrap{
  overflow-x:auto;
  border:1px solid #e6ebef;
  border-radius:22px;
  background:#fff;
  box-shadow:0 10px 24px rgba(17,19,21,.03);
}

.chanspeed-product-detail-spec-table{
  width:100%;
  min-width:720px;
  border-collapse:collapse;
}

.chanspeed-product-detail-spec-table th,
.chanspeed-product-detail-spec-table td{
  padding:18px 18px;
  text-align:left;
  border-bottom:1px solid #edf1f4;
  vertical-align:top;
}

.chanspeed-product-detail-spec-table th{
  width:220px;
  background:#f7f9fa;
  font-size:13px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--chanspeed-muted);
}

.chanspeed-product-detail-spec-table td{
  color:#4b5563;
  line-height:1.75;
}

.chanspeed-product-detail-spec-table tbody tr:last-child th,
.chanspeed-product-detail-spec-table tbody tr:last-child td{
  border-bottom:none;
}

.chanspeed-product-detail-faq{
  display:grid;
  gap:14px;
}

.chanspeed-product-detail-faq-item{
  padding:20px 22px;
  border:1px solid #e6ebef;
  border-radius:20px;
  background:#fff;
  box-shadow:0 10px 24px rgba(17,19,21,.03);
}

.chanspeed-product-detail-faq-item summary{
  cursor:pointer;
  font-size:18px;
  font-weight:700;
  line-height:1.6;
  color:var(--chanspeed-black);
}

.chanspeed-product-detail-faq-item p{
  margin:12px 0 0;
  color:#4b5563;
  line-height:1.8;
}

.chanspeed-product-detail-bottom-panel{
  padding:56px 34px;
  border:1px solid #e4eaee;
  border-radius:30px;
  background:linear-gradient(180deg,#f7faf8 0%,#eef5f1 100%);
  text-align:center;
}

.chanspeed-product-detail-bottom-panel .chanspeed-section-title{
  max-width:920px;
  margin-left:auto;
  margin-right:auto;
}
.chanspeed-product-detail-bottom-panel .chanspeed-home-lead{
  max-width:780px;
  margin-left:auto;
  margin-right:auto;
}

.chanspeed-product-detail-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:center;
  margin-top:24px;
}

.chanspeed-product-detail-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 20px;
  border-radius:999px;
  border:1.5px solid var(--chanspeed-black);
  background:#fff;
  color:var(--chanspeed-black);
  font-size:14px;
  font-weight:700;
  text-decoration:none;
  transition:all .22s ease;
}
.chanspeed-product-detail-pill:hover{
  border-color:var(--chanspeed-green);
  color:var(--chanspeed-green);
  background:rgba(24,169,87,.04);
}
.chanspeed-product-detail-pill--primary{
  background:var(--chanspeed-black);
  color:#fff;
  border-color:var(--chanspeed-black);
}
.chanspeed-product-detail-pill--primary:hover{
  background:var(--chanspeed-green);
  border-color:var(--chanspeed-green);
  color:#fff;
}

@media (max-width: 1200px){
  .chanspeed-product-detail-intro-grid,
  .chanspeed-product-detail-head{
    grid-template-columns:1fr;
  }
}

@media (max-width: 991px){
  .chanspeed-product-detail-feature-grid,
  .chanspeed-product-detail-app-grid{
    grid-template-columns:1fr;
  }

  .chanspeed-product-detail-intro-card,
  .chanspeed-product-detail-mini-card{
    padding:22px 20px;
    border-radius:22px;
  }

  .chanspeed-product-detail-bottom-panel{
    padding:40px 20px;
    border-radius:24px;
  }
}

@media (max-width: 767px){
  .chanspeed-product-detail-feature-card,
  .chanspeed-product-detail-app-card{
    padding:20px 18px;
    border-radius:18px;
  }

  .chanspeed-product-detail-feature-card strong,
  .chanspeed-product-detail-app-card strong{
    font-size:20px;
  }

  .chanspeed-product-detail-faq-item{
    padding:18px 18px;
    border-radius:18px;
  }

  .chanspeed-product-detail-faq-item summary{
    font-size:17px;
  }

  .chanspeed-product-detail-spec-wrap{
    border-radius:18px;
  }

  .chanspeed-product-detail-spec-table th,
  .chanspeed-product-detail-spec-table td{
    padding:14px 14px;
  }

  .chanspeed-product-detail-pill{
    min-height:44px;
    padding:0 16px;
    font-size:13px;
  }
}