@charset "utf-8";
/* Category Tabs */
.category{background-color:#f0f0f0;overflow:hidden;}
.category-tabs{max-width:1440px;margin:35px auto 55px;}
.tabs-container{display:flex;background:#fff;border:1px solid #ddd;height:145px;}
.tab-item{flex:1;text-align:center;cursor:pointer;transition:all 0.3s ease;border-right:1px solid #ddd;position:relative;}
.tab-item:last-child{border-right:none;}
.tab-icon{margin-right:15px;width:40px;height:40px;overflow:hidden;}
.tab-icon img{filter:drop-shadow(rgb(153,153,153) 40px 0);left:-40px;position:relative;margin-top:1px;}
.tab-title{font-size:24px;line-height:1.1;}
.tab-subtitle{font-size:20px;font-weight:bold;text-transform:uppercase;line-height:1.1;transition:all 0.3s;height:0;overflow:hidden;}
.tab-line{width:100%;height:11px;background-color:#fff;position:absolute;left:0;bottom:0;overflow:hidden;display:none;transition:all 0.3s;}
.tab-line::before,.tab-line::after{content: '';width:33.33%;height:11px;position:absolute;top:0;}
.tab-line::before{left:0;background-color:#01914b;}
.tab-line::after{right:0;background-color:#ea1d24;}
.tab-item > a{display:flex;align-items:center;justify-content:center;height:145px;color:#999999;text-align:left;transition:all 0.4s;}
.tab-item > a:hover .tab-icon img,.tab-item.active .tab-icon img{filter:none;left:0px;}
.tab-item > a:hover,.tab-item.active > a{color:#1b1b1b;height:155px;position:relative;top:-5px;background:url(../image/pro-tab-bg.jpg) repeat-x top center;box-shadow:0 2px 24px rgba(0,22,46,0.15);background-size:auto 100%;}
.tab-item > a:hover .tab-title,.tab-item.active > a .tab-title{font-weight:bold;}
.tab-item > a:hover .tab-subtitle,.tab-item.active > a .tab-subtitle{height:23px;}
.tab-item > a:hover .tab-line,.tab-item.active > a .tab-line{display:block;}
/* Products Section */
.products-wrap{padding:0 15px;}
.products-section{padding:40px 0;}
.section-title{text-align:center;margin-bottom:40px;color:#1b1b1b;font-size:22px;}
.section-title-cn{vertical-align:middle;}
.section-title-en{text-transform:uppercase;vertical-align:middle;}
.section-title-split{margin:0 15px;font-size:16px;vertical-align:middle;position:relative;top:-1px}
.products-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px 5px;margin-bottom:60px;}
.product-card{background:#fff;border:2px solid #F0F0F0;border-radius:8px;overflow:hidden;transition:all 0.3s;cursor:pointer;}
.product-card:hover{box-shadow:0 0 25px rgba(0,22,46,0.22);transform:translateY(-5px);border:none;}
.product-image{width:100%;height:280px;background:#fff;padding:10px;}
.product-image-box{display:flex;width:100%;height:100%;justify-content:center;align-items:center;}
.product-image-box img{max-width:100%;max-height:100%;object-fit:contain;}
.product-info{padding:16px;margin-top:0;transition:all 0.2s;}
.product-name{font-size:20px;font-weight:600;color:#1A1A1A;line-height:1.2;margin-bottom:8px;transition:all 0.2s;}
.product-desc{font-size:16px;color:#999999;line-height:20px;transition:all 0.1s;position:relative;height:20px;}
.product-desc > div{margin-right:18px;}
.product-card:hover .product-info{background:#E30613;color:#fff;margin-top:4px;}
.product-card:hover .product-name,.product-card:hover .product-desc{color:#fff;}
.product-arrow{display:inline-flex;margin-left:auto;color:inherit;font-size:30px;line-height:1;vertical-align:baseline;position:absolute;top:-8px;right:0;}
/* Responsive */
@media (max-width:768px){
.products-grid{grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:15px;}
}
@media (max-width:640px){
.category-tabs{margin:1rem auto;}
.tabs-container{height:auto;}
.tab-item > a{height:100%;padding-top:1rem;padding-bottom:1rem;}
.tab-icon{width:2rem;height:2rem;margin-right:0.6rem;}
.tab-icon img{filter:drop-shadow(rgb(153,153,153) 2rem 0);left:-2rem;top:-0.5rem;margin-top:0;width:2rem;height:2rem;}
.tab-title{font-size:1.2rem;}
.tab-subtitle{font-size:0.7rem;transition:none;}
.tab-line{height:0.3rem;}
.tab-item > a:hover,.tab-item.active > a{height:auto;top:0;}
.tab-item > a:hover .tab-subtitle,.tab-item.active > a .tab-subtitle{height:1rem;}
.section-title{margin-bottom:1.6rem;font-size:1.3rem;}
.section-title-split{font-size:1rem;margin:0 0.8rem;}
.products-grid{margin-bottom:0;}
.products-section{padding:2rem 0;}
.product-info{padding:0.7rem;}
.product-image{height:auto;padding:0.5rem;}
.product-image-box{position:relative;height:0;padding-bottom:100%;}
.product-image-box img{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);}
.product-name{font-size:1.2rem;margin-bottom:0.4rem;}
.product-desc{font-size:1rem;line-height:1.4rem;height:1.4rem;}
.product-desc > div{margin-right:1.6rem;}
.product-arrow{font-size:2rem;top:-0.5rem;}
}