

.product-detail-page {
    padding: 30px 0 60px;
    background: #ffffff;
}


.breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    color: #6c757d;
}

.breadcrumb a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #004b99;
    text-decoration: underline;
}

.breadcrumb span {
    color: #1A2C3E;
    font-weight: 500;
}


.detail-main {
    display: flex;
    gap: 50px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}


.detail-images {
    flex: 1;
    min-width: 280px;
}

.main-image {
    background: #f8f9fc;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eef2f8;
    transition: box-shadow 0.2s;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.thumb-images {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.thumb {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb.active {
    border-color: #0066cc;
    box-shadow: 0 0 0 2px rgba(0,102,204,0.2);
}

.thumb:hover {
    transform: translateY(-3px);
    border-color: #0066cc;
}

/* 右侧信息区域 */
.detail-info {
    flex: 1.2;
    min-width: 300px;
}

.detail-info h1 {
    font-size: 28px;
    font-weight: 700;
    color: #0a2540;
    margin-bottom: 12px;
    line-height: 1.3;
}

.product-model {
    padding-bottom: 20px;
    border-bottom: 1px solid #eef2f8;
    margin-bottom: 24px;
}

.product-description,
.product-features {
    margin-bottom: 28px;
}

.product-description h3,
.product-features h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a2c3e;
    margin-bottom: 12px;
    position: relative;
    padding-left: 12px;
    border-left: 4px solid #0066cc;
}

.product-description p {
    color: #33475b;
    line-height: 1.6;
    font-size: 15px;
}

.product-features ul {
    list-style: none;
    padding-left: 8px;
}

.product-features li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
    color: #2c3e50;
    font-size: 15px;
}

.product-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0066cc;
    font-weight: bold;
    font-size: 16px;
}

/* 按钮组 */
.detail-buttons {
    display: flex;
    gap: 20px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.btn-inquiry,
.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-inquiry {
    background: #0066cc;
    color: white;
    border: none;
    box-shadow: 0 2px 6px rgba(0,102,204,0.2);
}

.btn-inquiry:hover {
    background: #004b99;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,102,204,0.25);
}

.btn-download {
    background: transparent;
    color: #0066cc;
    border: 1.5px solid #0066cc;
}

.btn-download:hover {
    background: rgba(0,102,204,0.05);
    transform: translateY(-2px);
    border-color: #004b99;
    color: #004b99;
}


.detail-tabs {
    margin: 50px 0 50px;
    border-top: 1px solid #eef2f8;
}

.tab-headers {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 500;
    color: #5c6f87;
    cursor: pointer;
    transition: all 0.2s;
    background: transparent;
    border: none;
    position: relative;
}

.tab-btn:hover {
    color: #0066cc;
}

.tab-btn.active {
    color: #0066cc;
    font-weight: 600;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #0066cc;
    border-radius: 3px 3px 0 0;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-panel {
    padding: 20px 0 10px;
    font-size: 15px;
    line-height: 1.7;
    color: #2c3e50;
}


.param-table {
    width: 100%;
    border-collapse: collapse;
    background: #f9fbfd;
    border-radius: 20px;
    overflow: hidden;
}

.param-table tr {
    border-bottom: 1px solid #e9edf2;
}

.param-table th,
.param-table td {
    padding: 16px 20px;
    text-align: left;
    font-size: 15px;
}

.param-table th {
    width: 180px;
    background: #f0f4f9;
    font-weight: 600;
    color: #1a2c3e;
}

.param-table td {
    color: #334e6e;
}


.related-products {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #eef2f8;
}

.related-products h3 {
    font-size: 24px;
    font-weight: 700;
    color: #0a2540;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.related-products h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #0066cc;
    border-radius: 2px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.related-card {
    background: #ffffff;
    border: 1px solid #eef2f8;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}


.related-card .card-img-wrapper {
    width: 100%;
    overflow: hidden;
    background: #fafcff;
}

.related-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #fafcff;
    padding: 20px;
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    will-change: transform;
}


.related-card:hover img {
    transform: scale(1.1);
}

.related-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.1);
    border-color: #dce5ef;
}

.related-card h4 {
    padding: 18px 16px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #1a2c3e;
    text-align: center;
    border-top: 1px solid #f0f3f8;
    transition: color 0.2s;
}

.related-card:hover h4 {
    color: #0066cc;
}


.img-zoom-card {
    overflow: hidden;
}
.img-zoom-card img {
    transition: transform 0.4s ease;
}
.img-zoom-card:hover img {
    transform: scale(1.08);
}


@media (max-width: 1200px) {
    .detail-main {
        gap: 35px;
    }
    .param-table th {
        width: 150px;
    }
}

@media (max-width: 992px) {
    .product-detail-page {
        padding: 20px 0 50px;
    }
    .detail-main {
        flex-direction: column;
    }
    .detail-images {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    .detail-info {
        width: 100%;
    }
    .detail-info h1 {
        font-size: 26px;
    }
    .tab-btn {
        padding: 12px 20px;
        font-size: 15px;
    }
    .related-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .breadcrumb {
        font-size: 12px;
        margin-bottom: 20px;
    }
    .detail-info h1 {
        font-size: 22px;
    }
    .product-model {
        font-size: 14px;
    }
    .product-description h3,
    .product-features h3 {
        font-size: 17px;
    }
    .btn-inquiry,
    .btn-download {
        padding: 10px 24px;
        font-size: 14px;
    }
    .thumb {
        width: 65px;
        height: 65px;
    }
    .tab-headers {
        gap: 4px;
    }
    .tab-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    .param-table th,
    .param-table td {
        padding: 12px 14px;
        font-size: 13px;
    }
    .param-table th {
        width: 110px;
    }
    .related-products h3 {
        font-size: 20px;
    }
    .related-card h4 {
        font-size: 14px;
        padding: 14px 12px;
    }
    
    .related-card:hover img {
        transform: scale(1.05);
    }
}

@media (max-width: 480px) {
    .detail-buttons {
        flex-direction: column;
        gap: 12px;
    }
    .btn-inquiry,
    .btn-download {
        width: 100%;
        text-align: center;
    }
    .thumb {
        width: 55px;
        height: 55px;
    }
    .tab-btn {
        flex: 1;
        text-align: center;
        padding: 10px 4px;
    }
    .param-table th,
    .param-table td {
        display: block;
        width: 100%;
    }
    .param-table tr {
        display: block;
        margin-bottom: 16px;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
    }
    .param-table th {
        background: #eef2f9;
        border-radius: 12px 12px 0 0;
    }
}


@media (min-width: 1920px) {
    .detail-main {
        gap: 80px;
    }
    .detail-info h1 {
        font-size: 36px;
    }
    .product-description p,
    .product-features li {
        font-size: 16px;
    }
    .thumb {
        width: 100px;
        height: 100px;
    }
    .related-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 40px;
    }
    
    .related-card:hover img {
        transform: scale(1.12);
    }
}


.zoom-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.main-image {
    background: #f8f9fc;
    border-radius: 20px;
    
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eef2f8;
    transition: box-shadow 0.2s;
    position: relative;
    cursor: crosshair;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    display: block;
}


.main-image .zoom-lens {
    position: absolute;
    border: 2px solid #0066cc;
    width: 120px;
    height: 120px;
    background: rgba(0,102,204,0.1);
    display: none;
    pointer-events: none;
    border-radius: 4px;
}


.zoom-result {
    position: absolute;
    top: 0;
    left: calc(100% + 20px);
    width: 400px;
    height: 400px;
    background-repeat: no-repeat;
    background-color: #fff;
    border: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: none;
    z-index: 999;
    border-radius: 8px;
}

@media (max-width: 1200px) {
    .zoom-result {
        display: none !important;
    }
    .main-image {
        cursor: default;
    }
}


.product-nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
}
.product-nav a {
    color: #0066cc;
    font-size: 15px;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.2s;
}
.product-nav a:hover {
    background: #0066cc;
    color: #fff;
    border-color: #0066cc;
}


@media (max-width: 768px) {
    .related-products {
        display: none !important;
    }
}

   
    .tab-panel img,
    #content img {
        max-width: 100% !important; 
        height: auto !important;      
        display: block;              
        margin: 0 auto;            
    }

   
    .tab-panel,
    #content {
        overflow-x: hidden;
    }
    