/* 整体布局 */
.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
}

.sh_page {
    margin: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

/* 左侧产品图片区域 */
.sp_left_product {
    padding: 20px;
    border-right: 1px solid #eee;
}

.product-gallery {
    position: relative;
    margin: 0 auto;
    max-width: 600px;
}

/* 主图片轮播 */
.productSwiper {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.productSwiper .swiper-slide {
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.product-image-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.product-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #e53935;
}
.product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.zoom-icon {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-image-wrap:hover .zoom-icon {
    opacity: 1;
}

.product-image-wrap:hover .product-image {
    transform: scale(1.02);
}

/* 导航按钮样式 */
.productSwiper .swiper-button-next,
.productSwiper .swiper-button-prev {
    color: #333;
    background: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.productSwiper .swiper-button-next:hover,
.productSwiper .swiper-button-prev:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.productSwiper .swiper-button-next:after,
.productSwiper .swiper-button-prev:after {
    font-size: 18px;
}

/* 缩略图轮播 */
.productThumbs {
    width: 100%;
    height: 100px;
    box-sizing: border-box;
    padding: 10px 0;
}

.productThumbs .swiper-slide {
    width: 80px;
    height: 80px;
    opacity: 0.4;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.productThumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.productThumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: #007bff;
}

/* Fancybox 自定义样式 */
.fancybox__backdrop {
    background: rgba(0, 0, 0, 0.9);
}

/* 响应式调整 */
@media (max-width: 767px) {
    .productSwiper .swiper-slide {
        height: 300px;
    }
    
    .productThumbs {
        height: 80px;
    }
    
    .productThumbs .swiper-slide {
        width: 60px;
        height: 60px;
    }
}

/* 右侧产品信息区域 */
.sp_right_product {
    padding: 30px;
}

.breadcrumb {
    padding: 0;
    margin-bottom: 20px;
    background: transparent;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
}

.sp_price {
    font-size: 28px;
    color: #e44d26;
    font-weight: bold;
}

.product-meta {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
}

/* 产品详情卡片 */
.product-description .card {
    box-shadow: none;
}

.product-description .card-header {
    padding: 15px 0;
    border-bottom: none;
}

.product-description .btn-link {
    color: #333;
    font-weight: 600;
    text-decoration: none;
    padding: 0;
}

.product-description .btn-link:hover {
    color: #007bff;
}

.product-description .card-body {
    padding: 20px 0;
    line-height: 1.8;
    color: #666;
}

/* WhatsApp按钮 */
.contact-section {
    margin-top: 30px;
}

.contact-section .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: #007bff;
    border: none;
}

.contact-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background: #0056b3;
}

/* 响应式调整 */
@media (max-width: 991px) {
    .sp_left_product {
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    
    .sp_right_product {
        padding: 20px;
    }
}

@media (max-width: 767px) {
    .container-fluid {
        padding: 0;
    }
    
    .sh_page {
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
}
