
/* --- 基础样式 --- */
* { box-sizing: border-box; }
body { margin: 0; padding: 0; }

/* --- 1. 顶部轮播图 CSS --- */
.banner-slider-container { width: 100%; position: relative; overflow: hidden; background: #000; font-family: 'Poppins', sans-serif; }
.slider-wrapper { position: relative; width: 100%; aspect-ratio: 1464 / 600; }
.slider-track { display: flex; transition: transform 0.5s ease-in-out; height: 100%; }
.slider-track img { width: 100%; flex-shrink: 0; object-fit: cover; }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0, 0, 0, 0.3); color: white; border: none; padding: 15px 10px; cursor: pointer; font-size: 24px; z-index: 10; transition: background 0.3s; }
.slider-arrow:hover { background: rgba(0, 0, 0, 0.7); }
.slider-arrow.prev { left: 10px; border-radius: 0 5px 5px 0; }
.slider-arrow.next { right: 10px; border-radius: 5px 0 0 5px; }
.slider-dots { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.dot { width: 10px; height: 10px; background: rgba(255, 255, 255, 0.5); border-radius: 50%; cursor: pointer; transition: 0.3s; }
.dot.active { background: #fff; width: 25px; border-radius: 5px; }

/* --- 2. 功能切换区块 CSS --- */
.pro-block-section { width: 100%; margin: 0 auto; background: #000; font-family: 'Poppins', sans-serif; overflow: hidden; margin-top: 1px; }
.top-nav-bar { display: flex; background: #111; border-bottom: 1px solid #222; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.top-nav-bar::-webkit-scrollbar { display: none; }
.nav-btn { flex: 1; min-width: 120px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px 8px; height: 50px; color: #666; font-size: 18px; font-weight: 550; cursor: pointer; white-space: normal; line-height: 1.2; position: relative; }
.nav-btn.active { color: #fff; background: #1a1a1a; }
.nav-btn.active::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: #ff3b30; }
.image-stage-wrapper { position: relative; width: 100%; aspect-ratio: 1446 / 600; overflow: hidden; }
.image-stage { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.image-stage::-webkit-scrollbar { display: none; }
.img-panel { flex: 0 0 100%; width: 100%; height: 100%; scroll-snap-align: start; }
.img-panel img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* --- 3. 规格表 CSS --- */
.specs-section { background: #fff; padding: 20px 0px; font-family: 'Poppins', sans-serif; }
.specs-title { text-align: center; font-size: 30px; font-weight: 700; margin-bottom: 20px; }
.specs-container { display: flex; gap: 20px; margin: 0px; }
.specs-column { flex: 1; min-width: 0; }
.specs-table { width: 100%; border-collapse: separate; border-spacing: 0; box-shadow: 0 0 0 1px #d1d1d1; border-radius: 12px; background: #fff; overflow: hidden; }
.specs-table td { padding: 14px 20px; border-bottom: 1px solid #e8e8e8; border-right: 1px solid #e8e8e8; font-size: 16px; line-height: 1.5; }
.specs-table td:last-child { border-right: none; }
.specs-table tr:last-child td { border-bottom: none; }
.spec-label { font-weight: 600; width: 35%; background-color: #fafafa; font-size: 16px; }

/* 响应式适配 */
@media (max-width: 992px) {
    .specs-container { flex-direction: column; gap: 20px; }
    .specs-title { font-size: 22px; }
}
@media (max-width: 768px) {
    .nav-btn { flex: 0 0 35%; font-size: 12px; }
    .image-stage-wrapper, .slider-wrapper { aspect-ratio: 4 / 3; }
    .slider-arrow { padding: 10px 5px; font-size: 18px; }
}
