/* Product Detail Page Styles */

/* Header Dark Style */
.header-dark {
    background: rgba(0, 0, 0, 0.9);
}


/* Main Content Layout */
.product-detail-main {
    padding: 40px 0 60px;
    background: #fff;
}

.product-detail-layout {
    display: flex;
    gap: 30px;
}

/* Category Sidebar */
.category-sidebar {
    flex: 0 0 250px;
    width: 250px;
}

.category-header {
    background: #0847bc;
    color: #fff;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px 4px 0 0;
}

.category-list {
    border: 1px solid #eee;
    border-top: none;
}

.category-list li {
    border-bottom: 1px solid #eee;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    color: #333;
    font-size: 14px;
    transition: all 0.3s;
}

.category-list li a:hover,
.category-list li.active a {
    color: #0847bc;
    background: #fafafa;
}

/* Product Detail Content */
.product-detail-content {
    flex: 1;
}

.product-gallery-section {
    display: inline-block;
    vertical-align: top;
    width: 55%;
}

.product-main-image {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 4px;
    overflow: hidden;
}

.product-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Thumbnail Carousel */
.product-thumbnails {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.thumb-arrow {
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.thumb-arrow:hover svg {
    stroke: #333;
}

.thumb-list {
    display: flex;
    gap: 10px;
}

.thumb-item {
    width: 70px;
    height: 50px;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s;
}

.thumb-item.active {
    border-color: #0847bc;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info Section */
.product-info-section {
    display: inline-block;
    vertical-align: top;
    width: 40%;
    padding-left: 30px;
}

.product-detail-title {
    font-size: 24px;
    font-weight: 500;
    color: #333;
    margin-bottom: 20px;
}

/* Product Description */
.product-description {
    margin-top: 30px;
    padding-top: 20px;
}

.product-description p {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
}

/* Floating Sidebar */
.floating-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
}

.float-btn {
    width: 50px;
    height: 50px;
    background: #0847bc;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.float-btn:hover {
    background: #c9303c;
}

.float-btn.qr-btn {
    background: #0847bc;
}

/* Language Switch */
.language-switch {
    display: flex;
    gap: 10px;
    color: #999;
    font-size: 12px;
}

.language-switch span {
    cursor: pointer;
    transition: color 0.3s;
}

.language-switch span:hover {
    color: #fff;
}


/* Responsive */
@media (max-width: 992px) {
    .product-detail-layout {
        flex-direction: column;
    }
    
    .category-sidebar {
        width: 100%;
        flex: none;
    }
    
    .product-gallery-section,
    .product-info-section {
        display: block;
        width: 100%;
        padding-left: 0;
    }
    
    .product-info-section {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .banner-content {
        padding-left: 20px;
    }
    
    .banner-title-cn {
        font-size: 28px;
    }
    
    .banner-title-en {
        font-size: 18px;
    }
    

}
