/* 主容器 */
.product-section {
    width: 100%;
    padding: 100px 0;
}

/* 标题 */
.section-title {
    text-align: center;
    font-size: 60px;
    /* 14px × 2.57 */
    color: #222;
    margin-bottom: 15px;
    font-weight: 600;
}

.title-divider {
    width: 80px;
    height: 6px;
    background: linear-gradient(to right, #0056b3, #dd2222);
    margin: 0 auto 0;
    border-radius: 10px;
}

/* 筛选栏 */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-tabs {
    display: flex;
    gap: 12px;
}

.tab-btn {
    padding: 12px 24px;
    border-radius: 30px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.tab-btn.active {
    background-color: #0056b3;
    color: #fff;
}

.tab-btn:not(.active) {
    background-color: #f5f7fa;
    color: #0056b3;
}

/* 搜索框 */
.prouct-search {
    width: 25%;
    display: flex;
    align-items: center;
    border: 2px solid #333;
    border-radius: 30px;
    padding: 10px 20px;
    gap: 10px;
}

.search-input {
    border: none;
    font-size: 16px;
    width: 80%;
    flex: 1;
}

.search-icon {
    width: 20px;
    height: 20px;
    opacity: 1;
}

/* 产品卡片列表 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    flex-wrap: wrap;
    gap: 30px;
}

.product-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-card:hover a .product-title,
.product-card:hover a .product-subtitle {
    color: #0056b3;
}

.product-image {
    width: 100%;
    height: 280px;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.imageshw::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    background: linear-gradient(135deg, #4a90e2, #b32424);
    opacity: .7;
}

.product-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.card-btm {
    padding: 15px 0;
}

.product-title {
    font-size: 26px;
    font-weight: 600;
    color: #333;
}

.product-subtitle {
    font-size: 18px;
    color: #666;
}










@media only screen and (max-width: 1440px) {
    .product-section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 40px;
        margin-bottom: 10px;
    }

    .title-divider {
        width: 60px;
        height: 4px;
    }

    .tab-btn {
        padding: 10px 20px;
        border-radius: 20px;
        font-size: 12px;
    }

    .filter-bar {
        padding: 20px 0;
        gap: 15px;
    }

    .product-grid {
        gap: 20px;
    }

    .product-image {
        height: 229px;
        border-radius: 20px;
    }

    .card-btm {
        padding: 10px 0;
    }

    .product-title {
        font-size: 22px;
    }

    .product-subtitle {
        font-size: 14px;
    }


    .prouct-search {
        border-radius: 20px;
        padding: 8px 16px;
        gap: 8px;
    }

    .search-input {
        font-size: 14px;
    }

    .search-icon {
        width: 16px;
        height: 16px;
    }

}



@media only screen and (max-width: 769px) {
    .product-section {
        padding: .6rem .1rem;
    }

    .section-title {
        font-size: 30px;
    }

    .filter-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .prouct-search {
        width: 100%;
    }

    .prouct-search {
        border: 1px solid #333;
        padding: 10px 20px;
        gap: 8px;
    }

    .search-input {
        font-size: 16px;
    }
    .search-icon {
        width: 20px;
        height: 20px;
    }



    .product-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: .2rem;
    }




}