/* 全局通用样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 导航栏样式 */
.navbar {
    background-color: #002855;
}

/* 页脚样式 */
.footer {
    background-color: #f8f9fa;
    padding: 30px 0;
    margin-top: 50px;
}

/* 联系我们区域样式 */
.contact-section {
    background-color: #f0f5ff;
    padding: 50px 0;
}

/* 通用标题样式 */
.section-title {
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #002855;
}

/* 在线客服悬浮按钮 */
.service-btn {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #002855;
    color: white;
    text-align: center;
    line-height: 60px;
    font-size: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 9999;
}

/* 详情页通用样式 */
.product-detail {
    padding: 50px 0;
}

.product-img {
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-param {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.param-title {
    color: #002855;
    font-weight: bold;
    margin-bottom: 15px;
}

/* 样品展示通用样式 */
.sample-section {
    margin-top: 60px;
}

.sample-grid {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

/* 样品展示样式 */
.sample-item {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.sample-item img {
    width: 100%;
    height: auto;
}

.sample-item p {
    margin: 0;
    padding: 8px 0;
}

.sample-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 产品详情页通用样式 - 统一视觉风格 */
/* 咨询按钮样式 */
.consult-btn {
    background-color: #002855;
    color: white !important;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 40, 85, 0.3);
    transition: all 0.3s ease;
}

.consult-btn:hover {
    background-color: #003a7a;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 40, 85, 0.4);
}

/* 悬浮咨询按钮（小屏显示） */
.fixed-consult-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 999;
    display: none;
}

/* 产品介绍卡片化样式 */
.product-intro-card {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

/* 产品详情页布局优化 */
.product-detail {
    padding: 16px 0;
}

.product-detail .product-img {
    width: 100%;
}

.product-detail .param-title {
    font-size: 18px;
    font-weight: 600;
    color: #002855;
    margin-bottom: 15px;
}

.product-detail .section-title {
    font-size: 24px;
    font-weight: 700;
    color: #002855;
    margin-bottom: 20px;
}

/* 产品参数表格样式 */
.product-param .table-responsive {
    border-radius: 8px;
    overflow: hidden;
}

.product-param table th {
    background-color: #002855 !important;
    color: white;
    text-align: center;
}

.product-param table td {
    vertical-align: middle;
    text-align: center;
}

/* 产品优势卡片样式 */
.product-detail .bg-light {
    background-color: #f8f9fa !important;
}

.product-detail .shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .fixed-consult-btn {
        display: block;
    }

    .product-detail .col-md-4,
    .product-detail .col-md-6,
    .product-detail .col-md-8 {
        margin-bottom: 20px;
    }

    .consult-btn {
        width: 100%;
        text-align: center;
    }
}

/* 产品缩略图样式 */
.product-thumb-img {
    cursor: pointer;
    height: 80px;
    object-fit: cover;
    border: 1px solid #dee2e6;
    border-radius: 6px;
}