/* 商品详情页面样式 */

/* 主要内容区 */
.product-detail-main {
    width: 100%;
    background: #001A3D;
    min-height: 100vh;
    padding-top: 85px;
}

/* 第一部分：大图背景 */
.product-detail-hero {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.product-detail-hero-image {
    width: 100%;
    display: block;
}

.product-detail-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* 第二部分：产品详情展示 */
.product-info-section {
    width: 100%;
    padding: 80px 0;
}

.product-info-container {
    max-width: 1400px;
    margin: 0 auto;
}

.product-info-content {
    display: flex;
}

/* 左侧产品图片区域 */
.product-image-area {
    flex: 0 0 auto;
    width: 738px;
}

.product-image1 {
    width: 100%;
}

.product-image1 img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* 右侧产品信息区域 */
.product-details-area {
    flex: 1;
    color: #fff;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.product-brand {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.product-title {
    font-size: 60px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
}

.product-subtitle {
    font-size: 30px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.5;
}

.product-spec {
    display: inline-block;
    background-color: #FFCC5D;
    color: #000;
    font-size: 26px;
    font-weight: 600;
    padding: 8px 20px;
    margin-bottom: 30px;
}

.product-price-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
    width: 100%;
}

.product-price {
    display: flex;
    align-items: baseline;
    color: #fff;
}

.currency {
    font-size: 32px;
    font-weight: 600;
    margin-right: 5px;
}

.price-amount {
    font-size: 72px;
    font-weight: 700;
    line-height: 1;
}

.product-purchase-info {
    font-size: 24px;
    text-align: right;
    text-decoration: underline;
}

.purchase-text {
    color: #FFF;
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.qr-code-text {
    color: #FFF;
    margin: 0;
    line-height: 1.5;
    cursor: pointer;
}
.qr-code-img{
    position: absolute; 
    display:none;
    width:170px;
    height:auto;
    margin-left: 50px;
    z-index:99;
}

.qr-code-text:hover .qr-code-img {
   display: block;
}

/* 第三部分：优惠券图片 */
.coupon-section {
    width: 100%;
}

.coupon-image {
    width: 1400px;
    margin: 0 auto;
    display: block;
}

.coupon-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* 第四部分：产品详细信息 */
.product-details-section {
    width: 100%;
    padding: 80px 0;
}

.product-details-container {
    max-width: 1400px;
    margin: 0 auto;
}

.detail-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px 0;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-row {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row .detail-item {
    flex: 1;
    border-bottom: none;
    padding: 40px 40px 40px 0;
}

.detail-row .detail-item:last-child {
    border-right: none;
    padding: 40px 0 40px 40px;
}

.detail-title {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.detail-content {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

/* 第六部分：推荐搭配 */
.recommendation-section {
    width: 100%;
    padding: 80px 0;
}

.recommendation-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px;
    background-color: #003072;
    text-align: center;
}

.recommendation-title {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.2;
}

.recommendation-subtitle {
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 60px;
    line-height: 1.5;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

.product-item {
    text-align: center;
    color: #fff;
}

.product-name {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.5;
}

.product-image-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.more-products {
    text-align: center;
}

.more-products-btn {
    display: inline-block;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    border: 1px solid #FFF;
    padding: 2px 60px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.more-products-btn:hover {
    border-color: #FFCC5D;
    color: #FFCC5D;
}

.products-section {
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.products-header {
    margin-bottom: 40px;
}

.products-title {
    font-size: 45px;
    font-weight: 500;
    margin-bottom: 15px;
}


.products-description {
    max-width: 1300px;
    margin: 0 auto 60px;
    text-align: center;
    color: #A4A4A4;
    font-size: 20px;
    line-height: 1.8;
}

.products-description p {
    margin-bottom: 1px;
}

.products-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0;
}

.products-swiper {
    width: 100%;
    padding: 20px 0;
}

.carousel-control {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    position: absolute;
}

.carousel-control:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.carousel-control.prev {
    top: 205px;
    left: 10px;
}

.carousel-control.next {
    top: 205px;
    right: 10px;
}

.carousel-control img:nth-child(2) {
    display: none;
}

.carousel-control:hover img:nth-child(1) {
    display: none;
}

.carousel-control:hover img:nth-child(2) {
    display: block;
}


.arrow {
    color: #FFF;
    font-size: 30px;
    line-height: 1;
}

.products-slider {
    display: flex;
    justify-content: center;
    gap: 20px;
    transition: none;
    width: 1400px;
    margin: 0 auto;
    position: relative;
}

.product-item {
    flex: 0 0 453px;
    text-align: center;
    color: #FFF;
    transition: all 0.3s ease;
    padding: 10px;
    position: relative;
}

.product-highlight {
    transform: scale(1.15);
    z-index: 5;
    transition: transform 0.5s ease;
}

.product-image {
    width: 100%;
    height: 360px;
    margin-bottom: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.product-highlight .product-image {
    transform: translateY(-10px);
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-name {
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 5px;
}

.product-desc1 {
    font-weight: 300;
    font-size: 17px;
}

.product-spec1 {
    font-weight: 300;
    font-size: 17px;
    margin-bottom: 15px;
}

.product-price {
    color: #001A3D;
    padding: 5px 15px;
    display: inline-block;
}

.price-label {
    font-size: 12px;
    margin-right: 5px;
    display: inline-block;
}

.price-value {
    font-size: 24px;
    font-weight: bold;
    display: inline-block;
}


/* 添加简单的轮播动画效果 */
@keyframes slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}
/* ========== 手机端专用样式 ========== */
@media (max-width: 576px) {
    .product-detail-main {
        width: 100%;
        padding-top: 70px;
    }
    .product-info-section {
        width: 100%;
        padding: 20px 10px;
    }
    .product-info-content {
        display: flex;
        flex-flow: column;
    }
    .product-image-area {
        width:100%;
    }
    .product-image1 {
        max-height: unset;
        height: auto;
    }
    .product-details-area {
        text-align:left;
        flex-direction: row;
        align-items: flex-start;
    }
    .product-details-base{
        width: 130%;
    }
    .product-brand {
        font-size: 24px;
        margin-bottom: 5px;
    }
    .product-title {
        font-size: 20px;
        margin-bottom:10px;
    }
    .product-subtitle {
        font-size: 12px;
        margin-bottom: 10px;
    }
    .product-spec {
        font-size: 12px;
        padding: 4px 15px;
        margin-bottom: 10px;
    }
    .price-amount {
        font-size: 24px;
    }
    .product-price-section {
       align-items: flex-end;
        gap: 5px;
    }
    .currency {
    font-size: 14px;}
    .product-purchase-info {
    font-size: 10px;
        text-align: right;}
        .qr-code-img {margin-left:0;}
    .coupon-section {padding:10px;}
    .coupon-image {width:100%;}
    .product-details-section {
    width: 100%;padding:10px;}
    .detail-item {
        padding: 10px 0;
    }
    .detail-title {
    font-size: 18px;
    margin-bottom: 10px;}
    .detail-content {
    font-size: 14px;}
    .detail-row .detail-item {
        padding: 10px 10px 10px 0 !important;
    }
    .recommendation-section {
        padding: 20px 0;
    }
    .recommendation-container {
        padding: 30px 10px;
    }
    .recommendation-title {
        font-size: 24px;
        margin-bottom: 10px;
    }
    .recommendation-subtitle {
    font-size: 18px;margin-bottom: 20px;}
    .products-grid {gap:10px;    margin-bottom: 20px;}
    .product-desc {
                height: 40px;
        line-height: 20px;
        overflow: hidden;
    font-size: 12px;margin-bottom: 10px;}
    .product-item {padding: 0;}
    .more-products-btn {
    font-size: 16px;
    padding: 2px 15px;}
    .product-item {
        flex: 0 0 31.333%;
        padding:0;
    }
}