/**
 * 产品详情页样式 - 符合网站整体风格
 * 主要依赖wmksourcing.css和product_category.css的现有样式
 */

/* 面包屑导航的小调整 */
.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #999;
    font-weight: 500;
}

/* 产品图片容器优化 */
.category-card .category-image img {
    transition: transform 0.4s ease;
    filter: brightness(1);
}

.category-card:hover .category-image img {
    transform: scale(1.05);
    filter: brightness(1.05);
}

/* 按钮悬停效果 */
.btn-primary {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

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

/* MOQ信息卡片动画 */
.advantage-card {
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* 产品规格表的边框颜色调整 */
.advantage-card .table td {
    border-color: #f1f3f4;
    padding: 12px 15px;
}

.advantage-card .table tbody tr:hover td {
    background-color: rgba(255, 153, 51, 0.05);
}

/* 产品规格表优化 */
.advantage-card .table tbody tr:hover td:first-child {
    background-color: rgba(255, 153, 51, 0.1) !important;
}

.advantage-card .table td:first-child {
    font-weight: 600;
    background-color: #f8f9fa;
}

/* 产品描述段落优化 */
.lead {
    font-weight: 400;
}

/* 按钮卡片的高度确保一致 */
.advantage-card .advantage-icon {
    width: 60px;
    height: 60px;
}

/* 优势图标的尺寸调整 */
.text-center .fa {
    transition: color 0.3s ease;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .category-card .category-image {
        height: 250px !important;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .advantage-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .category-card .category-image {
        height: 200px !important;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .category-content {
        padding: 15px !important;
    }
} 