/* ==========================================================================
   卡片列表页（/多路座充、/数字退市产品、配件系列页、产品列表 …）
   来源：旧站 004 / 008 归档页实测（1440 视口）

   网格：卡片 357 宽，首列 x=5，列距 357（无 gap），行距由配置给（004 是 4px）。
   卡片内：图 300×300 居中距顶 20；型号 24/30/700 #111；描述 16/25.6 #727272 字距 1px。
   ========================================================================== */

/* 这几页页头是 66（产品页 89），不覆盖会让整页下移 23px */
.hdr{height:66px}

.pl{background:#f2f2f2}
.pl section{position:relative;overflow:hidden}
.pl__sec{background:#f2f2f2}

.pl__title{
  position:absolute;left:0;margin:0;
  font-size:32px;line-height:43.2px;font-weight:700;color:#333;
}

.pl__grid{
  position:absolute;left:0;
  padding:0 5px;
  display:grid;
  /* 2026-11-26：固定 4×357=1428 超出 1246 内容盒，第 4 列被裁（三家审查一致 P0）。
     minmax(0,1fr) 让卡片随容器走，永远 4 列且不溢出。 */
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:var(--row-gap,4px) 0;
  align-items:start;
}

.pl-card{
  display:block;width:100%;height:var(--card-h,443px);
  padding:20px;box-sizing:border-box;
  background:#fff;color:inherit;text-decoration:none;
  transition:box-shadow .3s ease-out, transform .3s ease-out;
}
.pl-card:hover{box-shadow:0 6px 15px rgba(0,0,0,.1);transform:translateY(-5px)}

.pl-card__pic{
  display:flex;align-items:flex-start;justify-content:center;
  width:100%;aspect-ratio:1/1;height:auto;
}
.pl-card__pic img{display:block;width:100%;height:100%;object-fit:contain}
.pl-card__ph{
  display:flex;align-items:center;justify-content:center;
  width:300px;height:300px;background:#f5f5f5;
  font-size:14px;color:#b3b3b3;
}

.pl-card h2{
  margin:0;height:30px;
  font-size:20px;line-height:30px;font-weight:700;color:#111;text-align:center;
}
.pl-card p{
  margin:5px 0 0;
  font-size:15px;line-height:25.6px;color:#727272;text-align:center;
  letter-spacing:1px;
}

/* 卡片列表 · 移动端（4 列固定 357px 网格 → 2 列自适应） */
@media (max-width: 1199px) {
  .hdr { height: 56px; }
  .pl__sec { height: auto !important; padding: 0 0 24px; }
  .pl__title {
    position: static !important;
    padding: 18px 16px 10px;
    font-size:20px !important;
    line-height: 1.35 !important;
  }
  .pl__grid {
    position: static !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px !important;
    padding: 0 12px !important;
  }
  .pl-card {
    width: auto !important;
    height: auto !important;
    min-width: 0;          /* grid item 默认 min-width:auto，内容（300px 占位块）会撑破列 */
    padding: 10px !important;
  }
  /* 无图时的占位块也是 300×300，必须一起缩，否则整列被它撑宽 */
  .pl-card__ph { width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; font-size:14px; }
  .pl-card__pic { width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; }
  .pl-card__pic img { width: 100% !important; height: 100% !important; }
  .pl-card h2 { font-size: 15px !important; line-height: 1.4 !important; height: auto !important; }
  .pl-card p { font-size:14px !important; line-height: 1.55 !important; letter-spacing: 0 !important; margin-top: 3px !important; }
}

/* /products 产品总览：同一套卡片，但位置是流式（旧站没这个页面，纯导航兜底） */
.pl--flow .pl__sec { height: auto !important; padding: 36px 5px 60px; }
.pl--flow .pl__title { position: static !important; margin: 0 0 24px 6px; font-size: 32px; line-height: 43.2px; }
.pl--flow .pl__grid { position: static !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px 0 !important; padding: 0 5px !important; }
/* /products 的主张句（2026-11-28）：H1「对讲机产品中心」保留关键词，
   主张单独一行。列表页 H1 是 32，所以这句用 20，与卡片标题同档但更靠上、更宽。 */
.pl--flow .pl__kicker{
  margin:0 0 0 6px;font-family:var(--font-head);
  font-size:32px;line-height:1.4;font-weight:700;color:#111;letter-spacing:-.4px;
}
.pl--flow .pl__lead{
  margin:10px 0 26px 6px;max-width:860px;font-size:15px;line-height:1.9;color:#6b6b6b;
}
.pl__empty { padding: 40px 16px; font-size: 15px; color: #888; }

@media (max-width: 1199px) {
  .pl--flow .pl__sec { padding: 0 0 30px; }
  /* 2026-11-28：统一层把移动端 H1 定在 32，这里原来是 20，
     结果「标题 20 / 主张句 32」层次颠倒（主张句比标题还大）。一并提到 32。 */
  .pl--flow .pl__title { font-size:32px !important; line-height: 1.3 !important; padding: 18px 16px 8px; margin: 0; letter-spacing:-.4px; }
  .pl--flow .pl__kicker { font-size:20px; letter-spacing:-.2px; margin-bottom:14px; }
  .pl--flow .pl__grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; padding: 0 12px !important; }
}

/* ==========================================================================
   超宽屏版心居中（2026-11-25 发哥：「不是宽屏」）
   ---------------------------------------------------------------------------
   这些页面是旧站 1440 绝对坐标复刻：1440 视口下正好满宽，但 1920 屏上
   内容贴左、右侧空一大片。
   不改成 `width:1440px;margin:0 auto` —— 那样满幅背景图（hero / banner /
   产品线底图）两侧会露白。改用 padding：背景仍画满 section 的 border-box，
   只有内容被推进版心。绝对定位子元素的包含块是 section 的 padding box，
   所以 `left:0` 的标题也会跟着进版心。
   ≥1441 才生效；1439 以下各页有自己的响应式规则，不受影响。
   ========================================================================== */
@media (min-width:1441px){
  .pl section{
    padding-left: calc((100% - 1440px) / 2);
    padding-right: calc((100% - 1440px) / 2);
  }
}
