/* 主要产品信息区域 - 左右布局 */
.product-main-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
}

/* 左侧图片轮播区域 */
.product-images-carousel {
    position: relative;
}

.carousel-container {
    width: 100%;
}

.carousel-main {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease;
    background-color: #f5f5f5;
}

.carousel-slide img:hover {
    transform: scale(1.02);
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

.carousel-thumbnails {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail.active {
    border-color: #007cba;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail:hover {
    transform: scale(1.05);
}

.no-image-placeholder {
    width: 100%;
    height: 400px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #999;
    font-size: 1.2em;
}

/* 右侧产品信息区域 */
.product-info-main {
    padding: 20px 0;
}

.breadcrumb {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.breadcrumb a {
    color: #007cba;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.product-title {
    font-size: 2.2em;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.product-short-description {
    font-size: 1.1em;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.inquiry-section {
    margin-bottom: 30px;
}

.inquiry-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #007cba, #005a8b);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 124, 186, 0.3);
}

.inquiry-btn:hover {
    background: linear-gradient(135deg, #005a8b, #004066);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 124, 186, 0.4);
}

.product-categories {
    margin-top: 30px;
}

.product-categories h4 {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 15px;
}

.categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-tag {
    display: inline-block;
    padding: 6px 14px;
    background: #e3f2fd;
    color: #007cba;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9em;
    transition: all 0.3s ease;
    border: 1px solid #007cba;
}

.category-tag:hover {
    background: #007cba;
    color: white;
}

/* 产品描述区块 */
.product-description-section {
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.product-description-section h2 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #007cba;
}

.description-content {
    line-height: 1.8;
    color: #555;
    font-size: 1.05em;
}

.description-content p {
    margin-bottom: 15px;
}

/* 下载区块 */
.product-downloads-section {
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.product-downloads-section h2 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #007cba;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.download-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.download-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #007cba;
}

.download-icon {
    color: #007cba;
    flex-shrink: 0;
}

.download-info {
    flex: 1;
}

.download-info h4 {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 5px;
    font-weight: 600;
}

.file-type {
    font-size: 0.9em;
    color: #666;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #007cba;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.95em;
    font-weight: 500;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: #005a8b;
    color: white;
    transform: scale(1.05);
}

/* 表单钩子区域 */
.inquiry-form-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 图片灯箱 */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover {
    color: #bbb;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .product-main-section {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 15px;
    }
    
    .carousel-main {
         aspect-ratio: 1 / 1;
    }
    
    .product-title {
        font-size: 1.8em;
    }
    
    .product-short-description {
        font-size: 1em;
        padding: 15px;
    }
    
    .inquiry-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
    
    .downloads-grid {
        grid-template-columns: 1fr;
    }
    
    .download-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
    
    .thumbnail {
        width: 60px;
        height: 45px;
    }
}

