/* 产品详情页样式 */

/* 全局美化样式 */
.product-detail-container {
    position: relative;
}

/* 中国风装饰元素 */
.product-detail-container::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #8a6d3b, transparent);
}

/* 左侧边栏美化 */
.product-sidebar .product-categories,
.product-sidebar .contact-info-box {
    position: relative;
    border: 1px solid #f0e9e0;
    transition: all 0.3s ease;
}

.product-sidebar .product-categories:hover,
.product-sidebar .contact-info-box:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.product-categories h3::after,
.contact-info-box h3::after {
    content: "";
    display: block;
    width: 50px;
    height: 2px;
    background-color: #8a6d3b;
    margin-top: 8px;
}

/* 产品分类项目美化 */
.product-categories li a {
    position: relative;
    padding-left: 22px;
}

.product-categories li a::before {
    content: "•";
    position: absolute;
    left: 8px;
    color: #8a6d3b;
    opacity: 0;
    transition: all 0.3s ease;
}

.product-categories li a:hover::before,
.product-categories li a.current-cat::before {
    opacity: 1;
    transform: translateX(3px);
}

/* 联系信息图标美化 */
.contact-icon {
    font-family: "Arial", sans-serif;
    font-size: 16px;
    box-shadow: 0 2px 6px rgba(138, 109, 59, 0.2);
    transition: all 0.3s ease;
}

.contact-info-item:hover .contact-icon {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 12px rgba(138, 109, 59, 0.3);
}

/* 面包屑导航美化 */
.breadcrumb {
    font-family: "Arial", sans-serif;
    position: relative;
    padding-bottom: 15px;
}

.breadcrumb::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #f0e9e0, transparent);
}

/* 产品信息区域美化 */
.product-info {
    position: relative;
    overflow: hidden;
    border: 1px solid #f0e9e0;
}

.product-info::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(138, 109, 59, 0.05), transparent);
    border-radius: 0 0 0 100%;
}

.product-title {
    position: relative;
    padding-bottom: 15px;
}

.product-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 2px;
    background-color: #8a6d3b;
}

/* 产品元数据美化 */
.meta-item {
    position: relative;
    padding-left: 8px;
}

.meta-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 3px;
    background-color: #8a6d3b;
    border-radius: 50%;
}

/* 价格显示美化 */
.product-price {
    font-family: "Arial", sans-serif;
    position: relative;
    padding-left: 10px;
}

.product-price::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background-color: #e91e63;
    border-radius: 2px;
}

/* 按钮美化 */
.btn-primary {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-secondary {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.btn-secondary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(138, 109, 59, 0.1), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    border-width: 2px;
}

/* 标签页美化 */
.product-tabs {
    border: 1px solid #f0e9e0;
    overflow: visible;
}

.tab-nav {
    background: linear-gradient(90deg, #f9f9f9, #f0e9e0);
    padding-left: 10px;
}

.tab-nav-item {
    position: relative;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    margin-right: 5px;
    transition: all 0.3s ease;
}

.tab-nav-item.active {
    box-shadow: 0 -2px 8px rgba(138, 109, 59, 0.1);
}

.tab-nav-item::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #8a6d3b;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-nav-item:hover::after,
.tab-nav-item.active::after {
    transform: scaleX(1);
}

/* 产品详情内容美化 */
.product-detail-content {
    line-height: 1.8;
}

.product-detail-content h2 {
    position: relative;
    padding-left: 15px;
    color: #333;
    font-family: "Arial", sans-serif;
}

.product-detail-content h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background-color: #8a6d3b;
    border-radius: 2px;
}

.product-detail-content p {
    text-align: justify;
    text-indent: 2em;
}

/* 规格参数表格美化 */
.specs-table {
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    overflow: hidden;
}

.specs-table th {
    background: linear-gradient(90deg, #f9f9f9, #f0e9e0);
    font-family: "Arial", sans-serif;
    font-weight: 600;
}

.specs-table tr:hover td {
    background-color: rgba(138, 109, 59, 0.05);
}

/* 相关产品推荐美化 */
.related-products {
    position: relative;
    padding-top: 30px;
}

.related-products::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #f0e9e0, transparent);
}

.related-products h2 {
    position: relative;
    display: inline-block;
    padding-right: 15px;
    background-color: #fff;
    z-index: 1;
}

.related-products h2::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 16px;
    background-color: #8a6d3b;
    border-radius: 4px;
}

/* 相关产品卡片美化 */
.related-product-item {
    position: relative;
    border: 1px solid #f0e9e0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.related-product-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #8a6d3b, #d4a76a);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.related-product-item:hover::before {
    transform: translateX(0);
}

.related-product-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.product-item-image {
    position: relative;
    overflow: hidden;
}

.product-item-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.4), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.related-product-item:hover .product-item-image::after {
    opacity: 1;
}

.product-item-price {
    font-family: "Arial", sans-serif;
    position: relative;
    padding-left: 5px;
}

.product-item-price::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 12px;
    background-color: #e91e63;
    border-radius: 1px;
}

/* 产品图片轮播美化 */
.product-gallery {
    position: relative;
    border: 1px solid #f0e9e0;
    overflow: hidden;
}

.carousel-main {
    position: relative;
    background: radial-gradient(circle, #f9f9f9, #ffffff);
    overflow: hidden;
}

.carousel-main::before {
    content: "";
    position: absolute;
    top: 10px;
    right: 10px;
    bottom: 10px;
    left: 10px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    pointer-events: none;
}

/* 轮播控制按钮美化 */
.carousel-prev,
.carousel-next {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    opacity: 0.8;
}

.carousel-prev:hover,
.carousel-next:hover {
    transform: translateY(-3px) scale(1.05);
    opacity: 1;
}

.carousel-icon {
    font-family: "Arial", sans-serif;
    font-weight: bold;
}

/* 缩略图导航美化 */
.carousel-thumbnails {
    padding: 10px 0;
}

.carousel-thumbnail {
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel-thumbnail.active {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 15px rgba(138, 109, 59, 0.2);
}

/* 滚动条美化 */
.carousel-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.carousel-thumbnails::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.carousel-thumbnails::-webkit-scrollbar-thumb {
    background: #d4a76a;
    border-radius: 3px;
    transition: background 0.3s ease;
}

.carousel-thumbnails::-webkit-scrollbar-thumb:hover {
    background: #8a6d3b;
}

/* 全局动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-info,
.product-tabs,
.related-products {
    animation: fadeInUp 0.6s ease-out;
}

.product-info {
    animation-delay: 0.1s;
}

.product-tabs {
    animation-delay: 0.2s;
}

.related-products {
    animation-delay: 0.3s;
}
.product-details-container {
    background-color: #f9f9f9;
    padding: 30px 0;
}

/* 面包屑导航 */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #e91e63;
}

.breadcrumb span {
    color: #333;
    font-weight: 500;
}

/* 左侧边栏样式 */
.product-sidebar {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    position: sticky;
    top: 20px;
}

.sidebar-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e91e63;
}

/* 产品分类列表样式 */
.category-list .category-item {
    display: block;
    padding: 10px 15px;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.category-list .category-item:hover {
    background-color: #f0f0f0;
    color: #e91e63;
    padding-left: 20px;
}

.category-list .category-item.active {
    background-color: #e91e63;
    color: #fff;
}

/* 联系信息样式 */
.contact-info .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #666;
}

.contact-info .contact-item i {
    width: 30px;
    height: 30px;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #e91e63;
}

.contact-info .contact-item span {
    flex: 1;
    line-height: 1.4;
}

/* 右侧内容区域 */
.product-main-info {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
}

/* 产品图片轮播样式 */
.product-gallery {
    position: relative;
    margin-bottom: 30px;
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.carousel-main {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    margin-bottom: 15px;
    border-radius: 6px;
    background-color: #f9f9f9;
}

.carousel-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* 懒加载图片样式 */
.carousel-slide img,
.carousel-thumbnail img {
    opacity: 0;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease;
    will-change: opacity;
    background-color: #f0f0f0;
}

.carousel-slide img.loaded,
.carousel-thumbnail img.loaded {
    opacity: 1;
}

.carousel-slide:hover img {
    transform: scale(1.02);
}

/* 轮播控制按钮 */
.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-prev:hover,
.carousel-next:hover {
    background-color: #8a6d3b;
    border-color: #8a6d3b;
    color: #fff;
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

.carousel-icon {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-prev:hover .carousel-icon,
.carousel-next:hover .carousel-icon {
    color: #fff;
}

/* 缩略图导航 */
.carousel-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0;
    scroll-behavior: smooth;
}

.carousel-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.carousel-thumbnails::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.carousel-thumbnails::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.carousel-thumbnails::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.carousel-thumbnail {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 6px;
    transition: all 0.3s ease;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.carousel-thumbnail:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.carousel-thumbnail.active {
    border-color: #8a6d3b;
    box-shadow: 0 0 0 1px #8a6d3b;
}

.carousel-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.carousel-thumbnail:hover img {
    transform: scale(1.05);
}

/* 产品信息 */
.product-info {
    padding-left: 20px;
}

.premium-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
}

.product-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-price {
    font-size: 32px;
    font-weight: 700;
    color: #e91e63;
    margin-bottom: 20px;
}

.product-meta {
    margin-bottom: 30px;
}

.meta-item {
    display: flex;
    margin-bottom: 12px;
    font-size: 15px;
}

.meta-label {
    font-weight: 600;
    color: #666;
    min-width: 80px;
}

.meta-value {
    color: #333;
    flex: 1;
}

.product-actions {
    margin-bottom: 30px;
}

.btn-add-to-cart,
.btn-consult {
    width: 48%;
    margin-right: 4%;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-add-to-cart {
    background: #e91e63;
    color: #fff;
    border: none;
}

.btn-add-to-cart:hover {
    background: #c2185b;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

.btn-consult {
    background: transparent;
    color: #e91e63;
    border: 1px solid #e91e63;
    margin-right: 0;
}

.btn-consult:hover {
    background: #e91e63;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

.product-share {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.share-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-left: 10px;
    background: #f0f0f0;
    border-radius: 50%;
    color: #666;
    transition: all 0.3s ease;
}

.share-link:hover {
    background: #e91e63;
    color: #fff;
    transform: translateY(-2px);
}

/* 产品详情标签页 */
.product-details-tabs {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.nav-tabs {
    border-bottom: 2px solid #f0f0f0;
    background: #f9f9f9;
}

.nav-tabs .nav-item {
    margin-bottom: 0;
}

.nav-tabs .nav-link {
    padding: 15px 25px;
    color: #666;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 0;
    transition: all 0.3s ease;
    position: relative;
}

.nav-tabs .nav-link:hover {
    color: #e91e63;
    background: transparent;
}

.nav-tabs .nav-link.active {
    color: #e91e63;
    background: #fff;
}

.nav-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e91e63;
}

.tab-content {
    padding: 30px;
}

.product-content {
    line-height: 1.8;
    color: #333;
}

.product-content h2,
.product-content h3,
.product-content h4 {
    margin: 20px 0 15px;
    color: #222;
}

.product-content img {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
    border-radius: 4px;
}

/* 规格参数表格 */
.product-specs .specs-table {
    width: 100%;
    border-collapse: collapse;
}

.product-specs .specs-table tr {
    border-bottom: 1px solid #f0f0f0;
}

.product-specs .specs-table tr:last-child {
    border-bottom: none;
}

.specs-table .spec-label {
    width: 120px;
    padding: 12px 15px;
    font-weight: 500;
    color: #666;
    background: #f9f9f9;
}

.specs-table .spec-value {
    padding: 12px 15px;
    color: #333;
}

/* 相关产品推荐 */
.related-products {
    margin-top: 40px;
}

.related-products .section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
}

.related-product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.related-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.related-product-card .product-image {
    height: 200px;
    overflow: hidden;
}

.related-product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-product-card:hover .product-image img {
    transform: scale(1.05);
}

.related-product-card .product-info {
    padding: 20px;
}

.related-product-card .product-title {
    font-size: 16px;
    margin-bottom: 10px;
}

.related-product-card .product-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-product-card .product-title a:hover {
    color: #e91e63;
}

.related-product-card .product-price {
    font-size: 20px;
    margin-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .product-info {
        padding-left: 15px;
    }
    
    /* 调整相关产品布局 */
    .related-products .row {
        display: flex;
        flex-wrap: wrap;
        margin: 0 -10px;
    }
    
    .related-products .col-lg-3 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
        padding: 0 10px;
    }
}

@media (max-width: 992px) {
    .product-sidebar {
        width: 100%;
        margin-bottom: 30px;
        position: relative;
        top: 0;
    }
    
    .product-main-info .row > div {
        width: 100%;
    }
    
    .product-info {
        padding-left: 0;
        margin-top: 30px;
    }
    
    .btn-add-to-cart,
    .btn-consult {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .btn-consult {
        margin-bottom: 0;
    }
    
    /* 调整相关产品布局 */
    .related-products .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    /* 调整轮播图大小 */
    .carousel-main {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .product-details-container {
        padding: 20px 0;
    }
    
    .product-main-info,
    .tab-content {
        padding: 20px;
    }
    
    .product-title {
        font-size: 24px;
    }
    
    .product-price {
        font-size: 28px;
    }
    
    .nav-tabs {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-tabs .nav-link {
        padding: 12px 15px;
        font-size: 14px;
        display: inline-block;
    }
    
    .related-product-card .product-image {
        height: 180px;
    }
    
    /* 调整规格参数表格 */
    .specs-table .spec-label {
        width: 100px;
        padding: 10px;
        font-size: 14px;
    }
    
    .specs-table .spec-value {
        padding: 10px;
        font-size: 14px;
    }
    
    /* 调整轮播控制按钮 */
    .carousel-prev,
    .carousel-next {
        width: 35px;
        height: 35px;
    }
    
    .carousel-icon {
        font-size: 16px;
    }
    
    .carousel-main {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .product-details-container {
        padding: 15px 0;
    }
    
    .breadcrumb {
        font-size: 12px;
    }
    
    .product-main-info,
    .tab-content {
        padding: 15px;
    }
    
    .product-title {
        font-size: 22px;
    }
    
    .product-price {
        font-size: 24px;
    }
    
    .meta-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .meta-label {
        min-width: auto;
    }
    
    .product-share {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .share-link {
        margin-left: 0;
        margin-right: 10px;
    }
    
    /* 调整相关产品布局 */
    .related-products .col-lg-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .related-product-card .product-image {
        height: 220px;
    }
    
    /* 调整轮播图大小 */
    .carousel-main {
        height: 300px;
    }
    
    .carousel-thumbnail {
        width: 80px;
        height: 80px;
    }
    
    /* 调整规格参数表格 */
    .specs-table .spec-label {
        width: 90px;
        padding: 8px;
        font-size: 13px;
    }
    
    .specs-table .spec-value {
        padding: 8px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .product-details-container {
        padding: 10px 0;
    }
    
    .product-main-info,
    .tab-content {
        padding: 12px;
    }
    
    .product-title {
        font-size: 20px;
    }
    
    .product-price {
        font-size: 22px;
    }
    
    .btn-add-to-cart,
    .btn-consult {
        padding: 10px 15px;
        font-size: 15px;
    }
    
    /* 进一步调整轮播图 */
    .carousel-main {
        height: 250px;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 30px;
        height: 30px;
    }
    
    .carousel-icon {
        font-size: 14px;
    }
    
    .carousel-thumbnails {
        gap: 8px;
    }
    
    .carousel-thumbnail {
        width: 70px;
        height: 70px;
    }
    
    /* 调整规格参数表格显示方式 */
    .product-specs .specs-table {
        font-size: 12px;
    }
    
    .specs-table .spec-label {
        width: 80px;
    }
}

/* 懒加载占位符样式 */
.lazy-loading-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin: 20px 0;
    min-height: 200px;
}

/* 加载动画 */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #e91e63;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.lazy-loading-placeholder p {
    color: #666;
    font-size: 14px;
    margin: 0;
    font-weight: 500;
}

/* 确保预加载内容不会显示 */
.preloaded-content {
    display: none !important;
}

/* 评价整体样式 */
.product-reviews {
    padding: 20px 0;
}

/* 评价摘要 */
.review-summary {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

/* 整体评分 */
.overall-rating {
    text-align: center;
    min-width: 120px;
}

.rating-score {
    font-size: 48px;
    font-weight: 700;
    color: #e91e63;
    line-height: 1;
}

.rating-text {
    font-size: 18px;
    color: #333;
    margin: 10px 0;
}

.rating-count {
    font-size: 14px;
    color: #666;
}

/* 评分分布 */
.rating-distribution {
    flex: 1;
}

.rating-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.rating-label {
    width: 40px;
    font-size: 14px;
    color: #666;
}

.rating-bar-container {
    flex: 1;
    height: 8px;
    background-color: #f0f0f0;
    border-radius: 4px;
    margin: 0 10px;
    overflow: hidden;
}

.rating-bar {
    height: 100%;
    background-color: #e91e63;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.rating-percentage {
    width: 50px;
    font-size: 14px;
    color: #666;
    text-align: right;
}

/* 评价列表 */
.review-list-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.review-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.review-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-name {
    font-weight: 600;
    color: #333;
}

.review-rating {
    color: #ffc107;
    font-size: 16px;
}

.review-date {
    font-size: 14px;
    color: #999;
}

.review-content {
    color: #666;
    line-height: 1.6;
}

.review-content p {
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .review-summary {
        flex-direction: column;
        gap: 20px;
    }
    
    .overall-rating {
        text-align: left;
        min-width: auto;
    }
    
    .rating-score {
        font-size: 36px;
    }
    
    .rating-text {
        font-size: 16px;
    }
}