/* ================================================================
   product.css  锐途科技 - 产品中心页面专用样式
   ================================================================ */

/* ========== Banner（单张图片） ========== */
.page-banner {
    width: 100%;
    overflow: hidden;
}
.page-banner img {
    width: 100%;
    display: block;
}

/* ========== 面包屑位置信息 ========== */
.breadcrumb-bar {
    background: #f5f7fa;
    padding: 18px 0;
    border-bottom: 1px solid #e8e8e8;
}
.breadcrumb-bar .container { max-width: 1440px; }
.breadcrumb-bar .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: #999;
}
.breadcrumb-bar .breadcrumb a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
}
.breadcrumb-bar .breadcrumb a:hover { color: var(--accent-red); }
.breadcrumb-bar .breadcrumb .separator { color: #ccc; }
.breadcrumb-bar .breadcrumb .current { color: var(--accent-red); }

/* ========== 产品分类信息 ========== */
.category-bar {
    background: #f5f5f5;
    padding: 25px 0;
}
.category-bar .container { max-width: 1440px; }
.category-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.category-list .cat-item {
    padding: 10px 36px;
    background: #fff;
    color: var(--text-gray);
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}
.category-list .cat-item:hover {
    color: var(--accent-red);
}
.category-list .cat-item.active {
    background: var(--accent-red);
    color: #fff;
}

/* ========== 产品中心列表 ========== */
.product-list-section { background: #fff; padding: 40px 0 60px; }
.product-list-section .container { max-width: 1440px; }
.product-list-grid .row { margin-bottom: 30px; }
.product-list-card {
    overflow: hidden;
    transition: all 0.3s;
}
.product-list-card:hover { transform: translateY(-8px); }
.product-list-card .pl-img {
    width: 100%;
    height: 410px;
    overflow: hidden;
    border: 1px solid #dcdcdc;
}
.product-list-card .pl-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.product-list-card:hover .pl-img img {
    transform: scale(1.08);
}
.product-list-card .pl-title {
    font-size: 17px;
    color: var(--text-dark);
    text-align: center;
    padding: 18px 0;
    margin: 0;
    transition: color 0.3s;
}
.product-list-card:hover .pl-title {
    color: var(--accent-red);
}

/* ========== 分页信息 ========== */
.pagination-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}
.pagination-bar .page-btn {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dcdcdc;
    background: #fff;
    color: var(--text-gray);
    font-size: 14px;
    cursor: pointer;
    padding: 0 12px;
    transition: all 0.3s;
    text-decoration: none;
}
.pagination-bar .page-btn:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
}
.pagination-bar .page-btn.active {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: #fff;
}
.pagination-bar .page-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* ========== 工程案例列表信息 ========== */
.case-list-section { background: #f5f7fa; padding-bottom: 60px; }
.case-list-section .container { max-width: 1440px; }
.case-list-title { text-align: center; margin-bottom: 15px; padding-top: 60px; }
.case-list-title h2 { font-size: 36px; font-weight: bold; margin-bottom: 10px; }
.case-list-title h2 .accent { color: var(--accent-red); }
.case-list-title h2 .normal { color: #333; }
.case-list-title .slogan { font-size: 15px; color: #999; }
.case-list-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}
.case-list-item {
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}
.case-list-item:hover { transform: translateY(-5px); }
.case-list-item .cl-img {
    width: 100%;
    overflow: hidden;
}
.case-list-item .cl-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
    display: block;
}
.case-list-item:hover .cl-img img { transform: scale(1.05); }
.case-list-item .cl-title {
    font-size: 16px;
    color: var(--text-dark);
    text-align: center;
    padding: 15px 10px;
    margin: 0;
    background: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ========== 响应式 ========== */
@media (max-width: 991px) {
    .case-list-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
    .category-list .cat-item { padding: 8px 24px; font-size: 14px; }
    .case-list-grid { grid-template-columns: repeat(2, 1fr); }
    .case-list-title h2 { font-size: 28px; }
    .product-list-card .pl-title { font-size: 15px; }
    .breadcrumb-bar .breadcrumb { font-size: 12px; }
}
@media (max-width: 480px) {
    .case-list-grid { grid-template-columns: 1fr; }
}
