/* 清除原有浮动冲突 */
.row-b1 .wp, .row-b1 .col-r, .m-chanpin {
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
/* 页面外层容器 1200px居中 */
.product-main-wrap {
    max-width: 1200px !important;
    margin: 60px auto !important;
    padding: 0 20px !important;
}
/* 分类导航栏 */
.product-tab-nav {
    background: #fff !important;
    border-radius: 999px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 60px !important;
    padding: 18px 40px !important;
    margin: 0 auto 50px auto !important;
    width: fit-content !important;
    min-height: 50px !important;
}
.product-tab-nav .tab-item {
    font-size: 22px !important;
    color: #333 !important;
    text-decoration: none !important;
    transition: 0.3s all !important;
    white-space: nowrap !important;
}
.product-tab-nav .tab-item.active {
    color: #007ccb !important;
    font-weight: 500 !important;
}
.product-tab-nav .tab-item:hover {
    color: #007ccb !important;
}
/* 卡片网格容器 两列布局 */
.product-card-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 40px !important;
}
/* 产品卡片基础样式 + 全局过渡动画 */
.product-card {
    background: #fff !important;
    border-radius: 24px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
    padding: 40px 30px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    transition: all 0.3s ease !important;
}
/* 鼠标悬浮整块上浮效果 */
.product-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12) !important;
}
/* 产品标题 悬浮变色 */
.product-title {
    font-size: 36px !important;
    color: #222 !important;
    line-height: 1.3 !important;
    margin: 0 0 30px 0 !important;
    align-self: flex-start !important;
    font-weight: 600 !important;
    transition: color 0.3s ease !important;
}
.product-title a {
    color: inherit !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}
/* 卡片hover 标题文字变主蓝色 */
.product-card:hover .product-title a {
    color: #007ccb !important;
}
/* 产品图片容器 */
.product-pic {
    width: 100% !important;
    height: 260px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 35px !important;
}
.product-pic img {
    max-width: 95% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}
/* 按钮组：单按钮自动撑满整行 */
.product-btn-group {
    width: 100% !important;
}
.btn-detail {
    display: block !important;
    width: 100% !important;
    padding: 14px 0 !important;
    border: 1px solid #ddd !important;
    border-radius: 999px !important;
    text-align: center !important;
    color: #333 !important;
    text-decoration: none !important;
    font-size: 18px !important;
    transition: 0.3s all !important;
}
/* 卡片hover 按钮同步变色 */
.product-card:hover .btn-detail {
    border-color: #007ccb !important;
    background: #007ccb !important;
    color: #fff !important;
}
/* 分页 */
.g-pages {
    margin-top: 50px !important;
    text-align: center !important;
}
/* 移动端适配 900px以下单列 */
@media screen and (max-width:900px){
    .product-card-container {
        grid-template-columns: 1fr !important;
    }
    .product-tab-nav {
        flex-wrap: wrap !important;
        gap: 30px !important;
        padding: 15px 20px !important;
    }
    .product-title {
        font-size: 28px !important;
    }
}