﻿/* ============================================
   深圳腾骏达科技 - 产品详情页样式
   ============================================ */

.product-detail-wrapper { padding: 2.5rem 0; }
.product-detail-box { background: white; border-radius: 24px; box-shadow: 0 8px 30px rgba(0,0,0,0.06); overflow: hidden; }
.product-block { display: none; }
.product-block.active { display: block; }

.detail-hero { display: flex; gap: 2.5rem; padding: 2.5rem; }
.detail-gallery { flex: 0 0 48%; max-width: 500px; }
.main-img-container { position: relative; overflow: hidden; cursor: crosshair; border-radius: 12px; margin-bottom: 1rem; }
.detail-main-img { width: 100%; height: auto; min-height: 350px; border-radius: 12px; object-fit: cover; display: block; }
.magnifier { position: absolute; border: 3px solid #FF6600; border-radius: 50%; width: 150px; height: 150px; pointer-events: none; opacity: 0; background-repeat: no-repeat; background-size: 800px 700px; transition: opacity 0.2s; z-index: 10; }
.main-img-container:hover .magnifier { opacity: 1; }
.detail-thumbs { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.detail-thumb { width: 70px; height: 70px; border-radius: 8px; object-fit: cover; cursor: pointer; border: 2px solid transparent; transition: 0.2s; }
.detail-thumb:hover, .detail-thumb.active { border-color: #FF6600; }

.detail-info { flex: 1; }
.detail-info h1 { font-size: 1.8rem; font-weight: 700; color: #003D7A; margin-bottom: 0; }
.info-divider { border: none; border-top: 1px solid #e5e7eb; margin: 1rem 0; }
.detail-desc { color: #4b5563; line-height: 1.8; font-size: 0.95rem; }

.detail-contact-wrapper { }
.detail-contact-main { }
.detail-contact-line { display: flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; color: #1f2937; margin-bottom: 0.8rem; flex-wrap: wrap; }
.detail-contact-line strong { color: #003D7A; }
.contact-icon { font-size: 1.2rem; flex-shrink: 0; }
.btn-contact-detail { background: linear-gradient(135deg, #003D7A, #0055a5); color: white; border: none; padding: 0.3rem 0.8rem; border-radius: 20px; font-size: 0.78rem; cursor: pointer; transition: all 0.2s; white-space: nowrap; margin-left: 0.5rem; font-weight: 500; box-shadow: 0 2px 8px rgba(0,61,122,0.2); }
.btn-contact-detail:hover { background: linear-gradient(135deg, #002A5C, #003D7A); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,61,122,0.3); }
.detail-order-note { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.9rem; color: #6b7280; margin-bottom: 0.5rem; line-height: 1.6; }
.detail-order-note strong { color: #003D7A; }
.detail-action-row { display: flex; align-items: center; gap: 1.5rem; margin-top: 0.5rem; flex-wrap: nowrap; }
.detail-action-buttons { display: flex; gap: 0.8rem; flex: 1; flex-wrap: nowrap; }
.detail-action-buttons .btn { flex: 1; font-size: 0.9rem; padding: 0.6rem 1rem; min-width: 0; white-space: nowrap; }
.btn-quote { background: #003D7A; color: white; border: none; padding: 0.6rem 1rem; border-radius: 8px; font-weight: 500; cursor: pointer; transition: all 0.25s; font-size: 0.9rem; display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; flex: 1; min-width: 0; white-space: nowrap; }
.btn-quote:hover { background: #002A5C; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,85,165,0.25); }
.detail-wechat-mini { text-align: center; flex-shrink: 0; }
.wechat-mini-img { width: 100px; height: 100px; border-radius: 12px; border: 2px solid #e5e7eb; object-fit: cover; }
.wechat-mini-placeholder { width: 100px; height: 100px; border-radius: 12px; background: #f3f4f6; display: flex; align-items: center; justify-content: center; color: #9ca3af; font-size: 0.75rem; border: 2px solid #e5e7eb; }
.detail-wechat-mini p { font-size: 0.75rem; color: #6b7280; margin-top: 0.25rem; white-space: nowrap; }

.detail-content-section { padding: 0 2.5rem 2.5rem; }
.detail-content-section h2 { font-size: 1.6rem; font-weight: 700; color: #003D7A; margin-bottom: 1.5rem; padding-bottom: 0.8rem; border-bottom: 2px solid #eef3fa; }
.detail-module { margin-bottom: 2rem; }
.detail-module h3 { font-size: 1.3rem; font-weight: 700; color: #003D7A; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid #eef3fa; }
.detail-module h4 { font-size: 1.05rem; font-weight: 700; color: #003D7A; margin: 0; }
.detail-module p { color: #4b5563; line-height: 1.8; margin-bottom: 0.5rem; }
.detail-module p strong { color: #003D7A; }

/* 服务卡片网格 */
.service-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin-bottom: 1rem; }
.service-card-item { background: #f9fafb; border-radius: 14px; padding: 1.5rem; border: 1px solid #f3f4f6; transition: all 0.3s; }
.service-card-item:hover { background: white; box-shadow: 0 6px 18px rgba(0,0,0,0.06); transform: translateY(-2px); }
.service-card-header { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.8rem; }
.service-card-icon { font-size: 1.8rem; flex-shrink: 0; }
.service-card-header h4 { font-size: 1.05rem; font-weight: 700; color: #003D7A; margin: 0; }
.service-card-divider { border: none; border-top: 1px solid #e5e7eb; margin: 0 0 0.8rem; }
.service-card-item p { font-size: 0.85rem; color: #4b5563; line-height: 1.7; margin-bottom: 0.3rem; }
.service-card-item p strong { color: #1f2937; }
.highlight-text { color: #FF6600; font-weight: 700; }
.content-box { background: #f9fafb; border-radius: 12px; padding: 1.2rem 1.5rem; border-left: 4px solid #003D7A; }
.content-box h4 { margin-top: 0; }

.quality-badge { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.quality-badge-item { background: linear-gradient(135deg, #003D7A, #0055a5); color: white; padding: 0.5rem 1.2rem; border-radius: 25px; font-size: 0.85rem; font-weight: 600; }

.advantage-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.advantage-card-item { background: #f9fafb; border-radius: 12px; padding: 1.2rem; border-left: 4px solid #FF6600; }
.advantage-card-item h4 { font-size: 1rem; font-weight: 600; color: #003D7A; margin: 0 0 0.3rem; }

.application-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.application-item { text-align: center; padding: 1rem; background: #f9fafb; border-radius: 10px; transition: 0.2s; cursor: pointer; }
.application-item:hover { background: #003D7A; color: white; }
.application-icon { font-size: 2rem; margin-bottom: 0.5rem; }

.param-table { width: 100%; border-collapse: collapse; }
.param-table th, .param-table td { padding: 0.8rem 1rem; border: 1px solid #e5e7eb; font-size: 0.9rem; }
.param-table th { background: #003D7A; color: white; font-weight: 600; width: 30%; text-align: left; }
.param-table tr:nth-child(even) td { background: #f9fafb; }

.case-showcase { margin-top: 0.5rem; }
.case-showcase-img { width: 100%; border-radius: 12px; object-fit: cover; max-height: 400px; }
.case-showcase-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3rem 2rem; background: #f9fafb; border-radius: 12px; border: 2px dashed #e5e7eb; color: #6b7280; }
.placeholder-icon { font-size: 3rem; margin-bottom: 0.5rem; }
.case-showcase-placeholder p { font-weight: 600; color: #003D7A; margin-bottom: 0.3rem; }
.case-showcase-placeholder span { font-size: 0.8rem; color: #9ca3af; }

.related-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }

.detail-consult h3 { border-bottom-color: rgba(255,255,255,0.3); }

/* 报价弹窗 */
.quote-modal-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); z-index: 9999; align-items: center; justify-content: center; }
.quote-modal-box { background: white; border-radius: 20px; padding: 2rem; text-align: center; max-width: 400px; width: 90%; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.3); animation: modalFadeIn 0.3s ease; }
@keyframes modalFadeIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
.quote-modal-close { position: absolute; top: 10px; right: 15px; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #9ca3af; transition: color 0.2s; }
.quote-modal-close:hover { color: #FF6600; }
.quote-modal-box h3 { font-size: 1.3rem; font-weight: 700; color: #003D7A; margin-bottom: 1.5rem; }
.quote-info-list { text-align: left; margin-bottom: 1.2rem; }
.quote-info-item { display: flex; align-items: center; padding: 0.8rem 0; border-bottom: 1px dashed #e5e7eb; font-size: 0.95rem; flex-wrap: wrap; gap: 0.3rem; }
.quote-info-item:last-child { border-bottom: none; }
.quote-label { font-weight: 600; color: #003D7A; white-space: nowrap; }
.quote-value { color: #1f2937; flex: 1; }
.btn-copy-qq { background: #f0f4ff; border: 1px solid #003D7A; color: #003D7A; padding: 0.2rem 0.6rem; border-radius: 6px; font-size: 0.75rem; cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.btn-copy-qq:hover { background: #003D7A; color: white; }
.btn-copy-qq.copied { background: #10b981; border-color: #10b981; color: white; }
.quote-tip { font-size: 0.8rem; color: #9ca3af; margin-bottom: 1.2rem; text-align: center; }

@media (max-width: 992px) {
  .detail-hero { flex-direction: column; }
  .detail-gallery { max-width: 100%; }
  .detail-action-row { flex-wrap: wrap; }
  .service-card-grid { grid-template-columns: 1fr; }
  .application-grid { grid-template-columns: repeat(2, 1fr); }
  .related-products { grid-template-columns: repeat(2, 1fr); }
  .advantage-cards { grid-template-columns: 1fr; }
}