/* ========== 产品中心页面样式 ========== */

/* Banner */
.proBanner {
    width: 100%;
    height: 3.60rem;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}
.proBanner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
    z-index: 1;
}
.proBannerContent {
    position: relative;
    z-index: 2;
    padding-left: 10%;
}
.proBannerContent h1 {
    font-size: 0.42rem;
    color: #fff;
    font-weight: normal;
    font-family: 'FotonType-M';
    margin-bottom: 0.10rem;
    letter-spacing: 0.02rem;
}
.proBannerContent span {
    font-size: 0.14rem;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.04rem;
    display: block;
}

/* 主内容区 */
.proContent {
    background: #F5F7F8;
}
.proContent .wrap {
    display: flex;
    gap: 0.3rem;
    padding: 0.30rem 0 0.60rem;
}
/* ========== 左侧筛选栏 ========== */
.proSidebar {
    width: 3.60rem;
    flex-shrink: 0;
}

/* 搜索框 */
.proSearch {
    display: flex;
    align-items: center;
    border-radius: 0;
    padding: 0 0.24rem;
    height: 0.44rem;
    margin-bottom: 0.20rem;
    background: #fff;
    border-radius: 0.10rem 0.10rem 0.10rem 0.10rem;
}
.proSearch input {
    flex: 1;
    height: 100%;
    border: none;
    outline: none;
    font-size: 0.14rem;
    color: #333;
    background: transparent;
}
.proSearch input::placeholder {
    color: #999;
}
.proSearch button {
    width: 0.24rem;
    height: 0.24rem;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.proSearch button img {
    display: block;
    width: 0.18rem;
}

/* 筛选组 */
.filterGroup {
    margin-bottom: 0.16rem;
    background: #fff;
    padding: 0 0.24rem;
    border-radius: 0.10rem;
    -webkit-border-radius: 0.10rem;
    -moz-border-radius: 0.10rem;
    -ms-border-radius: 0.10rem;
    -o-border-radius: 0.10rem;
}
.filterTitle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.16rem 0;
    cursor: pointer;
    user-select: none;
}
.filterTitle span {
    font-family: 'FotonType-M';
    font-size: 0.16rem;
    color: #333;
    line-height: 0.24rem;
}
.filterGroup.active .filterTitle span {
    color: #49C6E5;
}
.filterTitle .arrow {
    width: 0.16rem;
    transition: transform 300ms ease;
    -webkit-transition: transform 300ms ease;
}
.filterGroup.active .filterTitle .arrow {
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
}

/* 筛选内容 */
.filterBody {
    display: none;
    padding: 0 0 0.16rem;
    flex-wrap: wrap;
}
.filterGroup.active .filterBody {
    display: flex;
}

/* 单选按钮 */
.radioItem {
    display: flex;
    align-items: center;
    width: 50%;
    margin-bottom: 0.12rem;
    cursor: pointer;
    font-size: 0.14rem;
    color: #666;
}
.radioItem input[type="radio"] {
    display: none;
}
.radioCircle {
    width: 0.16rem;
    height: 0.16rem;
    border: 2px solid #ccc;
    border-radius: 50%;
    margin-right: 0.06rem;
    position: relative;
    flex-shrink: 0;
    transition: border-color 200ms ease;
}
.radioItem input[type="radio"]:checked + .radioCircle {
    border-color: #49C6E5;
}
.radioItem input[type="radio"]:checked + .radioCircle::after {
    content: '';
    width: 0.08rem;
    height: 0.08rem;
    background: #49C6E5;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.radioText {
    font-size: 0.14rem;
    color: #666;
    line-height: 0.20rem;
}

/* ========== 右侧产品列表 ========== */
.proList {
    flex: 1;
    min-width: 0;
}

/* 产品网格 */
.proGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.2rem;
}

/* 产品卡片 */
.proCard {
    display: block;
    background: #fff;
    border-radius: 0.08rem;
    padding: 0.20rem;
    text-align: center;
    transition: all 300ms ease;
    -webkit-transition: all 300ms ease;
    border: 1px solid transparent;
    height: 2.90rem;
    overflow: hidden;
    cursor: pointer;
}
.proCard:hover {
    box-shadow: 0 0.08rem 0.3rem rgba(0, 0, 0, 0.08);
    border-color: #49C6E5;
    background: rgba(0, 0, 0, 0.8);
}
.proCard:hover .proName,
.proCard:hover .proInfo .infoItem .val {
    color: #fff;
}
.proCard:hover .proInfo .infoItem .label {
    color: rgba(255, 255, 255, 0.7);
}
.proCard:hover .proInfo {
    border-top-color: rgba(255, 255, 255, 0.2);
}
.proCard:hover .proInfo .infoItem:nth-child(1)::after {
    background: rgba(255, 255, 255, 0.3);
}
.proName {
    font-family: 'FotonType-M';
    font-size: 0.16rem;
    color: #333;
    line-height: 0.24rem;
    margin-bottom: 0.10rem;
    font-weight: normal;
}
.proImg {
    width: 100%;
    height: 1.40rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.15rem;
}
.proImg img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.proInfo {
    display: flex;
    justify-content: center;
    border-top: 1px solid #e8e8e8;
    padding: 0.15rem 0 0.20rem;
    flex-wrap: wrap;
    height: 1.60rem;
    overflow: hidden;
    transition: transform 300ms ease, background 300ms ease;
    -webkit-transition: transform 300ms ease, background 300ms ease;
    background: #fff;
    width: calc(100% + 0.40rem);
    margin-left: -0.20rem;
}
.proCard:hover .proInfo {
    transform: translateY(-0.8rem);
    -webkit-transform: translateY(-0.8rem);
    background: rgba(0, 0, 0, 0.8);
    border-top: none;
}
.proInfo .infoItem {
    width: 50%;
    position: relative;
    margin-bottom: 0.10rem;
}
.proInfo .infoItem:nth-child(1)::after {
    content: '';
    width: 0.01rem;
    height: 0.36rem;
    background: #d0d0d0;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.proInfo .infoItem .val {
    font-family: 'FotonType-M';
    font-weight: normal;
    font-size: 0.20rem;
    color: #333;
    line-height: 0.28rem;
}
.proInfo .infoItem .label {
    font-size: 0.12rem;
    color: #999;
    line-height: 0.18rem;
    margin-top: 0.02rem;
}
.proInfo .infoBtn {
    width: 50%;
    position: relative;
    margin-bottom: 0.10rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.proInfo .infoBtn .btn {
    display: inline-block;
    width: 80%;
    height: 0.38rem;
    line-height: 0.36rem;
    text-align: center;
    font-size: 0.14rem;
    border-radius: 0.04rem;
    text-decoration: none;
    transition: all 300ms ease;
    -webkit-transition: all 300ms ease;
}
.proInfo .infoBtn .btn-detail {
    background: transparent;
    border: 1px solid #49C6E5;
    color: #49C6E5;
}
.proCard:hover .proInfo .infoBtn .btn-detail {
    background: transparent;
    border-color: #fff;
    color: #fff;
}
.proCard:hover .proInfo .infoBtn .btn-detail:hover {
    background: #49C6E5;
    border-color: #49C6E5;
    color: #fff;
}
.proInfo .infoBtn .btn-inquiry {
    background: #49C6E5;
    border: 1px solid #49C6E5;
    color: #fff;
}
.proCard:hover .proInfo .infoBtn .btn-inquiry {
    background: #49C6E5;
    border-color: #49C6E5;
    color: #fff;
}
.proCard:hover .proInfo .infoBtn .btn-inquiry:hover {
    background: #35B0D0;
    border-color: #35B0D0;
}

/* ========== 分页 ========== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.50rem;
    gap: 0.08rem;
}
.pageBtn {
    width: 0.36rem;
    height: 0.36rem;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 200ms ease;
}
.pageBtn.prev{
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
}
.pageBtn:hover {
    border-color: #49C6E5;
}
.pageBtn img {
    display: block;
    width: 0.08rem;
}
.pageNum {
    width: 0.36rem;
    height: 0.36rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.14rem;
    color: #000;
    font-weight: normal;
    font-family: 'FotonType-M';
    transition: all 200ms ease;
}
.pageNum:hover {
    color: #49C6E5;
}
.pageNum.active {
    border: 2px solid #49C6E5;
    color: #49C6E5;
    font-weight: normal;
    font-family: 'FotonType-M';
}

/* ========== 响应式 ========== */
@media screen and (max-width: 1600px) {
    .proBannerContent h1 { font-size: 0.4rem; }
}
@media screen and (max-width: 1440px) {
    .proBannerContent h1 { font-size: 0.38rem; }
    .filterTitle span { font-size: 0.15rem; }
    .proName { font-size: 0.15rem; }
    .proInfo .infoItem .val { font-size: 0.18rem; }
}
@media screen and (max-width: 1366px) {
    .proBannerContent h1 { font-size: 0.36rem; }
    .filterTitle span { font-size: 0.14rem; }
    .proName { font-size: 0.14rem; }
    .proInfo .infoItem .val { font-size: 0.16rem; }
}
@media screen and (max-width: 1200px) {
    .proGrid {
        grid-template-columns: repeat(2, 1fr);
    }
    .proSidebar {
        width: 3rem;
    }
}
@media screen and (max-width: 992px) {
    .proContent .wrap {
        flex-direction: column;
    }
    .proSidebar {
        width: 100%;
    }
    .proBanner {
        height: 2.60rem;
    }
    .proBannerContent h1 {
        font-size: 0.32rem;
    }
    .filterGroup .filterBody {
        display: flex;
        flex-wrap: wrap;
    }
    .radioItem {
        width: 33.33%;
    }
}
@media screen and (max-width: 768px) {
    .proContent {
        flex-direction: column;
    }
    .proSidebar {
        width: 100%;
    }
    .proGrid {
        grid-template-columns: repeat(1, 1fr);
    }
    .proBanner {
        height: 2rem;
    }
    .proBannerContent h1 {
        font-size: 0.26rem;
    }
    .radioItem {
        width: 50%;
    }
}
