/* ============================================================
   产品中心 · 物理服务器（裸金属）页设计
   作用域 body.pc-metal，仅 cat=物理服务器 生效
   依赖 product-center-v10.css 中的品牌变量
   ============================================================ */

body.pc-metal{background:#f5f7fa}
body.pc-metal .pagehead{padding:26px 0 18px;background:#fff;border-bottom:0}
body.pc-metal .pagehead .crumb{color:#8896ab;font-size:12.5px}
body.pc-metal .pagehead h1{font-size:26px;font-weight:800;letter-spacing:-.3px;color:#1f2937;margin:8px 0 6px}
body.pc-metal .pagehead p{color:#8896ab;font-size:13px}

/* ---------- 主区标题 ---------- */
body.pc-metal .section--tight{padding-top:26px}
body.pc-metal .prod-main-head{position:relative;padding-left:14px;border-left:4px solid #00ac9c;min-height:30px;display:flex;align-items:center;gap:10px}
body.pc-metal .prod-main-head h2{font-size:19px;font-weight:800;color:#1f2937;margin:0}
body.pc-metal .prod-main-head .metal-count{background:rgba(0,172,156,.1);color:#008a7d;font-size:12px;font-weight:700;padding:3px 9px;border-radius:999px;border:1px solid rgba(0,172,156,.32);white-space:nowrap}

/* ---------- 左侧目录 ---------- */
body.pc-metal .prod-side{background:#fff;border:1px solid #e6ebf4;border-radius:12px;padding:18px 16px;box-shadow:0 2px 6px rgba(16,42,88,.05)}
body.pc-metal .prod-side h4{font-size:13px;font-weight:700;color:#1f2937;margin:0 0 12px;padding-bottom:12px;border-bottom:1px solid #eef2f8}
body.pc-metal .prod-cat{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-radius:8px;color:#4a5a72;font-size:13.5px;margin-bottom:4px}
body.pc-metal .prod-cat.is-active{background:rgba(0,172,156,.1);color:#008a7d;font-weight:700}
body.pc-metal .prod-cat em{font-style:normal;font-size:12px;color:#8896ab;background:#f2f5fa;border-radius:6px;padding:1px 7px}

/* ---------- 地区筛选 ---------- */
body.pc-metal .prod-areas{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 14px}
body.pc-metal .prod-area{display:inline-flex;align-items:center;height:32px;padding:0 15px;border-radius:999px;border:1px solid #e6ebf4;background:#fff;color:#5f6b7d;font-size:13px;transition:.18s;white-space:nowrap}
body.pc-metal .prod-area:hover{border-color:#00ac9c;color:#008a7d}
body.pc-metal .prod-area.is-active{background:#00ac9c;border-color:#00ac9c;color:#fff;font-weight:600;box-shadow:0 3px 10px rgba(0,172,156,.24)}

/* ---------- 规格速览 ---------- */
body.pc-metal .metal-stat{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 18px}
body.pc-metal .metal-stat i{font-style:normal;display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 12px;border-radius:8px;background:#fff;border:1px solid #e6ebf4;color:#4a5a72;font-size:12.5px}
body.pc-metal .metal-stat svg{color:#00ac9c;flex:none}
body.pc-metal .metal-stat b{color:#008a7d;font-weight:700}

/* ---------- 商品卡 ---------- */
body.pc-metal .card-grid{gap:18px}
body.pc-metal .card-grid .pcard{position:relative;overflow:hidden;border:1px solid #e6ebf4;border-radius:12px;background:#fff;box-shadow:0 2px 6px rgba(16,42,88,.06),0 6px 18px rgba(16,42,88,.05);transition:box-shadow .2s,transform .2s,border-color .2s;display:flex;flex-direction:column;padding:18px 18px 16px;min-width:0}
body.pc-metal .card-grid .pcard::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,#00ac9c,#4fd1c5)}
body.pc-metal .card-grid .pcard:hover{box-shadow:0 8px 24px rgba(16,42,88,.13);transform:translateY(-2px);border-color:#cfe9e5}
body.pc-metal .pcard-head{display:block;margin-bottom:2px}
body.pc-metal .pcard-head h3{font-size:15.5px;font-weight:800;color:#1f2937;line-height:1.4;margin:0}
body.pc-metal .pcard-head .badge{display:none}
body.pc-metal .pcard-path{display:none}

body.pc-metal .metal-meta{display:flex;align-items:center;gap:8px;margin:6px 0 12px;font-size:12px;color:#8896ab;flex-wrap:wrap;min-height:22px}
body.pc-metal .metal-meta .m-loc{display:inline-flex;align-items:center;gap:4px;color:#5f6b7d}
body.pc-metal .metal-meta .m-ip{color:#95a2b6;font-size:11.5px;padding-left:8px;border-left:1px solid #e9eef6}
body.pc-metal .metal-meta .m-guard{margin-left:auto;display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:6px;background:rgba(255,159,67,.12);border:1px solid rgba(255,159,67,.35);color:#c9761f;font-weight:700}
body.pc-metal .metal-meta .m-guard.hot{background:rgba(245,69,92,.09);border-color:rgba(245,69,92,.3);color:#d32b45}

body.pc-metal .pcard-config{display:none}
body.pc-metal .metal-specs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 16px}
body.pc-metal .metal-specs .mspec{background:#f6f8fb;border:1px solid #e9eef6;border-radius:8px;padding:7px 10px;min-width:0}
body.pc-metal .metal-specs .mspec span{display:block;font-size:10.5px;color:#95a2b6;letter-spacing:.4px;margin-bottom:2px}
body.pc-metal .metal-specs .mspec b{display:block;font-size:12.5px;font-weight:700;color:#334155;line-height:1.4;word-break:break-word}
body.pc-metal .metal-specs .mspec.wide{grid-column:1 / -1}
body.pc-metal .metal-specs .mspec.hl{background:rgba(0,172,156,.07);border-color:rgba(0,172,156,.26)}
body.pc-metal .metal-specs .mspec.hl b{color:#008a7d}

body.pc-metal .pcard-price{margin-top:auto;padding-top:14px;border-top:1px dashed #eef2f8;display:flex;align-items:baseline;gap:5px}
body.pc-metal .pcard-price b{color:#00ac9c;font-size:26px;font-weight:800;letter-spacing:-.6px}
body.pc-metal .pcard-price small{color:#95a2b6;font-size:12px}
body.pc-metal .pcard-foot{margin-top:12px}
body.pc-metal .pcard-foot .btn{border-radius:8px;font-weight:600;height:40px;line-height:40px;font-size:14px}
body.pc-metal .pcard-foot .btn--primary{background:#ff9f43;border-color:#ff9f43;color:#fff;box-shadow:0 4px 12px rgba(255,159,67,.25)}
body.pc-metal .pcard-foot .btn--primary:hover{background:#f79231;border-color:#f79231}

/* ---------- 定制卡 ---------- */
body.pc-metal .card-grid .pcard.metal-custom{background:linear-gradient(180deg,#fbfdfe,#f6faf9);border:1px dashed #cfe3e0;box-shadow:none;align-items:center;justify-content:center}
body.pc-metal .card-grid .pcard.metal-custom::before{display:none}
body.pc-metal .mc-inner{text-align:center;padding:14px 6px;max-width:100%}
body.pc-metal .mc-ico{width:40px;height:40px;border-radius:12px;background:rgba(0,172,156,.1);color:#00ac9c;display:flex;align-items:center;justify-content:center;margin:0 auto 12px}
body.pc-metal .mc-ico svg{width:20px;height:20px}
body.pc-metal .mc-inner h3{font-size:15px;font-weight:800;color:#1f2937;margin:0 0 6px}
body.pc-metal .mc-inner p{font-size:12.5px;line-height:1.7;color:#8494a8;margin:0 0 16px}
body.pc-metal .mc-inner .btn{display:inline-block;height:38px;line-height:36px;padding:0 18px;border-radius:8px;font-size:13px;font-weight:600;border:1px solid #00ac9c;color:#008a7d;background:#fff;text-decoration:none}
body.pc-metal .mc-inner .btn:hover{background:rgba(0,172,156,.06)}

/* ---------- 选购说明 ---------- */
body.pc-metal .feature{background:#fbfcfe;border:1px solid #eef2f8;border-radius:12px}

/* ---------- 响应式 ---------- */
@media(max-width:1240px){
  body.pc-metal .card-grid{gap:14px}
}
@media(max-width:620px){
  body.pc-metal .pagehead h1{font-size:22px}
  body.pc-metal .metal-specs{grid-template-columns:1fr}
  body.pc-metal .metal-specs .mspec.wide{grid-column:auto}
  body.pc-metal .card-grid .pcard{padding:16px}
  body.pc-metal .pcard-price b{font-size:24px}
}
