/* 产品系列页 + 详情页样式（基于 SyNAS 设计） */

.p-wrap { max-width: 1200px; margin: 0 auto; padding: 50px 20px 80px; display: flex; gap: 40px; align-items: flex-start; }

/* 侧栏筛选 */
.p-side { width: 230px; flex-shrink: 0; background: #fff; }
.p-side h4 { font-size: 18px; margin-bottom: 6px; }
.p-side-tip { color: #999; font-size: 12px; margin-bottom: 14px; }
.p-side-count { font-size: 12px; color: #667eea; margin-bottom: 18px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.p-side h5 { font-size: 14px; margin-bottom: 10px; color: #555; }
.f-list a { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 6px; color: #555; text-decoration: none; font-size: 13px; margin-bottom: 2px; transition: .2s; }
.f-list a:hover { background: #667eea15; color: #667eea; }
.f-list a.on { background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; }
.f-list a.on .f-tag { color: #fff; opacity: .85; }
.f-list .f-tag { font-size: 11px; color: #999; }

/* 型号卡片 */
.p-main { flex: 1; min-width: 0; }
.p-main h2 { font-size: 28px; margin-bottom: 8px; }
.p-desc { color: #666; font-size: 15px; margin-bottom: 30px; }
.m-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.m-card { display: block; background: #fff; border: 1px solid #eee; border-radius: 12px; overflow: hidden; text-decoration: none; transition: all .3s; color: #333; }
.m-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,.1); transform: translateY(-4px); border-color: #667eea40; }
.m-img { height: 130px; background: #f8f9fc; display: flex; align-items: center; justify-content: center; padding: 14px; }
.m-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.m-name { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px 4px; }
.m-name strong { font-size: 16px; }
.m-name span { font-size: 12px; color: #999; }
.m-card ul { list-style: none; padding: 6px 16px 16px; }
.m-card ul li { font-size: 12px; color: #888; padding: 3px 0 3px 14px; position: relative; line-height: 1.5; }
.m-card ul li:before { content: '•'; position: absolute; left: 2px; color: #667eea; }

/* 详情页 hero */
.d-hero { background: linear-gradient(180deg, #f2f3f7, #eef0f5); padding: 50px 20px 30px; }
.d-hero-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 50px; }
.d-text { flex: 1; }
.d-text h1 { font-size: 40px; margin-bottom: 12px; color: #1a1a2e; }
.d-text p { color: #555; font-size: 16px; margin-bottom: 24px; line-height: 1.7; }
.d-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.d-btns .btn-primary, .d-btns .btn-secondary { padding: 11px 26px; font-size: 14px; border-radius: 8px; }
.d-img { flex: 1; display: flex; align-items: center; justify-content: center; }
.d-img img { max-width: 100%; max-height: 320px; object-fit: contain; filter: drop-shadow(0 14px 24px rgba(0,0,0,.18)); }

/* 详情页规格 */
.d-spec { max-width: 1200px; margin: 0 auto; padding: 60px 20px 80px; }
.d-spec h2 { font-size: 28px; margin-bottom: 10px; text-align: center; }
.d-intro { color: #666; text-align: center; font-size: 14px; max-width: 820px; margin: 0 auto 34px; line-height: 1.8; }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.spec-item { background: #f8f9fc; border-radius: 12px; padding: 24px 20px; transition: .3s; }
.spec-item:hover { box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.spec-t { font-size: 15px; font-weight: 700; color: #667eea; margin-bottom: 8px; }
.spec-v { font-size: 14px; color: #444; line-height: 1.7; }

@media (max-width: 900px) {
    .p-wrap { flex-direction: column; }
    .p-side { width: 100%; }
    .d-hero-inner { flex-direction: column; text-align: center; }
    .d-btns { justify-content: center; }
    .d-text h1 { font-size: 28px; }
}
