/* ===== 产品详情页样式 - 参考 itav-gz.com ===== */
.pd-wrap { padding: 2rem 0 3rem; background: #fff; }
.pd-top { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
@media(max-width:768px){ .pd-top{ grid-template-columns:1fr; gap:1.5rem; } }

/* 图片区 */
.pd-gallery { position: relative; }
.pd-main-img { border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; background: #f8fafc; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; cursor: zoom-in; }
.pd-img { width: 80%; height: 80%; object-fit: contain; padding: 0; transform-origin: 50% 50%; transition: transform 0.16s ease-out; will-change: transform; }
.pd-main-img.is-zooming .pd-img { transform: scale(1.8); }
.pd-img-placeholder { display: flex; align-items: center; justify-content: center; color: #94a3b8; }
.pd-thumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 0.625rem; margin-top: 0.875rem; }
.pd-thumb { width: 72px; height: 72px; border: 1px solid #cbd5e1; border-radius: 8px; padding: 0; overflow: hidden; background: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb:hover,
.pd-thumb.is-active { border-color: #2563eb; box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.16); }

/* 信息区 */
.pd-info { display: flex; flex-direction: column; gap: 0.5rem; }
.pd-cat { display: inline-block; background: #eff6ff; color: #2563eb; font-size: 0.75rem; font-weight: 600; padding: 0.25rem 0.75rem; border-radius: 999px; width: fit-content; }
.pd-title { font-size: 1.625rem; font-weight: 700; color: #0f172a; line-height: 1.3; margin: 0; }
.pd-summary { font-size: 0.9375rem; color: #64748b; line-height: 1.7; margin: 0; }

/* 参数表 */
.pd-specs { border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; }
.pd-specs-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.pd-specs-table tr:nth-child(even) { background: #f8fafc; }
.pd-specs-table th { width: 35%; padding: 0.6rem 1rem; color: #475569; font-weight: 600; text-align: left; border-bottom: 1px solid #e2e8f0; background: #f1f5f9; }
.pd-specs-table td { padding: 0.6rem 1rem; color: #334155; border-bottom: 1px solid #e2e8f0; }
.pd-specs-table tr:last-child th, .pd-specs-table tr:last-child td { border-bottom: none; }

/* 按钮 */
.pd-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.pd-btn-inquiry { display: inline-flex; align-items: center; gap: 0.5rem; background: linear-gradient(135deg,#2563eb,#1d4ed8); color: white; border: none; padding: 0.75rem 2rem; border-radius: 8px; font-size: 0.9375rem; font-weight: 600; cursor: pointer; transition: all 0.2s; box-shadow: 0 4px 14px rgba(37,99,235,0.3); }
.pd-btn-inquiry:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,99,235,0.4); }
.pd-btn-contact { display: inline-flex; align-items: center; gap: 0.5rem; background: white; color: #0f172a; border: 1.5px solid #e2e8f0; padding: 0.75rem 2rem; border-radius: 8px; font-size: 0.9375rem; font-weight: 600; transition: all 0.2s; text-decoration: none; }
.pd-btn-contact:hover { border-color: #2563eb; color: #2563eb; }
.pd-contact-info { display: flex; gap: 1.5rem; flex-wrap: wrap; padding: 0.875rem 1rem; background: #f8fafc; border-radius: 8px; font-size: 0.8125rem; color: #64748b; }
.pd-contact-info span { display: flex; align-items: center; gap: 0.375rem; }

/* 价值信息区 */
.pd-value-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.pd-value-card { border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; padding: 1rem; }
.pd-value-card h3 { margin: 0 0 0.5rem; font-size: 1rem; color: #0f172a; }
.pd-value-card p { margin: 0; font-size: 0.875rem; color: #64748b; line-height: 1.6; }
.pd-value-card-cta { background: linear-gradient(135deg, #eff6ff, #f8fafc); border-color: #bfdbfe; }
.pd-value-card-cta .pd-btn-inquiry { margin-top: 0.875rem; width: 100%; justify-content: center; }
@media(max-width:1024px){ .pd-value-grid{ grid-template-columns: repeat(2,1fr); } }
@media(max-width:640px){ .pd-value-grid{ grid-template-columns: 1fr; } }
@media(max-width:768px){
  .pd-main-img { cursor: default; }
  .pd-thumb { width: 62px; height: 62px; }
  .pd-main-img.is-zooming .pd-img { transform: none; }
}

/* Tab 区 */
.pd-tabs-wrap { border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; margin-bottom: 3rem; }
.pd-tabs { display: flex; border-bottom: 1px solid #e2e8f0; background: #f8fafc; }
.pd-tab { flex: 1; padding: 1rem 1.5rem; border: none; background: transparent; font-size: 0.9375rem; font-weight: 500; color: #64748b; cursor: pointer; transition: all 0.2s; border-bottom: 3px solid transparent; }
.pd-tab.active { color: #2563eb; border-bottom-color: #2563eb; background: white; font-weight: 600; }
.pd-tab:hover:not(.active) { color: #334155; background: #f1f5f9; }
.pd-tab-content { display: none; padding: 2rem; }
.pd-tab-content.active { display: block; }
.pd-content { font-size: 0.9375rem; line-height: 1.8; color: #334155; }
.pd-empty { color: #94a3b8; font-size: 0.9375rem; padding: 1rem 0; }

/* 完整规格表 */
.pd-full-specs { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.pd-full-specs tr:nth-child(even) { background: #f8fafc; }
.pd-full-specs th { width: 30%; padding: 0.75rem 1rem; color: #475569; font-weight: 600; text-align: left; border-bottom: 1px solid #e2e8f0; }
.pd-full-specs td { padding: 0.75rem 1rem; color: #334155; border-bottom: 1px solid #e2e8f0; }

/* 相关产品 */
.pd-related { margin-top: 1rem; }
.pd-related-title { font-size: 1.25rem; font-weight: 700; color: #0f172a; margin-bottom: 1.5rem; padding-bottom: 0.75rem; border-bottom: 2px solid #e2e8f0; }
.pd-related-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
@media(max-width:1024px){ .pd-related-grid{ grid-template-columns: repeat(2,1fr); } }
@media(max-width:640px){ .pd-related-grid{ grid-template-columns: 1fr; } }
.pd-related-card { display: block; border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; transition: all 0.2s; text-decoration: none; }
.pd-related-card:hover { border-color: #2563eb; box-shadow: 0 4px 16px rgba(37,99,235,0.1); transform: translateY(-2px); }
.pd-related-img { aspect-ratio: 1/1; overflow: hidden; background: #f8fafc; display:flex; align-items:center; justify-content:center; padding: 16px; box-sizing: border-box; }
.pd-related-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.pd-related-info { padding: 0.875rem; }
.pd-related-info h4 { font-size: 0.875rem; font-weight: 600; color: #0f172a; margin: 0 0 0.375rem; line-height: 1.4; }
.pd-related-info span { font-size: 0.75rem; color: #2563eb; }
