/* ========== Banner ========== */
.banner {
    width: 100%;
}
.banner img{
    width: 100%;
    display: block;
}
/* ========== 分类Tab ========== */
.category-tabs {
    border-bottom: 1px solid #eee;
    box-shadow: 0 0 10px 0 #ddd;
    background: #fff;
    padding: 10px 0;
}
.category-tabs-container{
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    justify-content: center;
}
.category-tabs a {
    padding: 20px 30px;
    text-decoration: none;
    color: #444;
    font-size: 20px;
    width: 33.3333%;
    text-align: center;
    white-space: nowrap;
}

.category-tabs a span{
    padding: 0 30px;
}

.category-tabs a.active {
}
.category-tabs a.active span{
    color:#0055bb;
    border-bottom:2px solid #0055bb;
}
/* ========== 面包屑 ========== */
.breadcrumb-wrap {
    padding:24px 0;
    font-size:13px;
    color:#666;
    margin-top: 30px;
}
.breadcrumb-wrap a {
    color:#666;
    text-decoration:none;
}
/* ========== 筛选栏 ========== */
.filter-bar {
    padding:0 0 20px;
    display:flex;
    align-items:center;
    gap:16px;
}
.filter-btn {
    background:#000;
    color:#fff;
    padding:6px 12px;
    border:none;
    font-size:13px;
}
/* ========== 产品网格 ========== */
.container {
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.product-card {
    border:1px solid #f1f1f1;
    padding:20px;
    text-align:center;
}
.product-card img {
    width:100%;
    margin-bottom:16px;
}
.product-card p {
    font-size:12px;
    color:#555;
    line-height:1.5;
    margin-bottom:8px;
}
.product-card a {
    font-size:12px;
    color:#666;
}
.load-more {
    text-align:center;
    padding:30px;
    font-size:14px;
    color:#444;
    cursor:pointer;
}


/* ========== 产品主容器 ========== */
.product-main {
    display: flex;
    gap:40px;
}
.product-gallery{
    width: 40%;
}
/* --- 左侧Swiper区域 --- */
.swiper {
    width: 100%;
}
.swiper-slide img {
    width:100%;
    display:block;
}
.swiper-thumbs {
    margin-top:12px;
}
.swiper-thumbs .swiper-slide {
    width: 80px;
    height:80px;
    opacity:0.4;
    cursor:pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}
.swiper-thumbs .swiper-slide img{
    width: auto;
    max-width: 100%;
    max-height: 100%;
}
.swiper-thumbs .swiper-slide-thumb-active {
    opacity:1;
    border:1px solid #244c7d;
}
.swiper-button-next:after, .swiper-button-prev:after{
    color: #ccc;
}
/* --- 右侧产品信息 --- */
.product-info{
    background: #fff;
    padding: 50px;
    flex: 1;
}
.product-info h1 {
    font-size: 26px;
    font-weight:normal;
    line-height:1.5;
    margin-bottom:16px;
}
.product-desc {
    font-size: 16px;
    color: #333333;
    line-height: 1.8;
    margin-bottom: 20px;
}
.color-group {
    margin-bottom:24px;
    display: flex;
    flex-wrap: wrap;
    max-width: 460px;
    margin-top: 50px;
}
.color-item{
    display: flex;
    align-items: center;
    width: 33.3333%;
    margin-bottom: 30px;
    cursor: pointer;
}
.color-item span{
    display:inline-block;
    width:20px;
    height:20px;
    border-radius:50%;
    margin-right:10px;
    cursor:pointer;
    border:2px solid transparent;
}
.color-item.active span {
    border-color:#222;
}

.color-item em{
    font-style: normal;
}
/*.color-olive span {background:#999478;}
.color-blue {background:#82b4d8;}
.color-pink {background:#e4b8d9;}
.color-white {background:#eeeeee;}
.color-red {background:#b83c3c;}
.color-silver {background:#c8cacc;}*/
.btn-contact {
    background: #244c7d;
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 20px;
}
/* ========== Product Details 详情板块 ========== */
.product-details {
    padding:60px 40px;
    margin-top: 80px;
    background: #fff;
}
.product-details h2 {
    text-align: center;
    font-size: 30px;
    font-weight: normal;
    margin-bottom: 50px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 30px;
}
.details-text {
    font-size:14px;
    line-height:1.7;
    color:#333;
    margin-bottom:24px;
}
.details-text h4 {
    margin:16px 0 8px;
}
.details-img {
    width:320px;
    margin:20px 0;
}
/* ========== Product Recommendation 推荐产品 ========== */
.product-recommend {
    padding:0 0 60px;
}
.product-recommend h2 {
    text-align: center;
    font-size: 30px;
    font-weight: normal;
    margin-bottom: 50px;
    margin-top: 80px;
}
.recommend-grid {
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap:24px;
}
.recommend-card {
    text-align:center;
    box-shadow: 0 0 5px 0 #666;
}
.recommend-card img {
    width:100%;
    margin-bottom:16px;
}
.recommend-card p {
    font-size:12px;
    color:#555;
    line-height:1.5;
    margin-bottom:8px;
}
.recommend-card a {
    font-size:12px;
    color:#666;
}

.case-detail{
    max-width: 1200px;
    margin: auto;
}

.case-date{
    color: #666666;
    font-size: 20px;
}

.blog-top{
    display: grid;
    grid-template-columns: 56% 1fr;
    gap: 60px;
    margin-bottom: 100px;
}

.blog-top-left{
    background: #ddd;
}

.blog-top-left a{
    display: block;
    position: relative;
}

.blog-top-left a img{
    width: 100%;
}

.blog-top-left-bg{
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    top: 0;
}

.blog-top-left-info{
    position: absolute;
    color: #fff;
    padding: 30px;
    bottom: 20px;
    line-height: 60px;
    font-size: 42px;
}

.blog-top-left-info p:nth-of-type(1){
    font-size: 20px;
}

.blog-top-left-info p:nth-of-type(2){
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-top-right{

}

.blog-top-right img{
    width: 100%;
}

.blog-top-right-info{
    margin-top: 20px;
}

.blog-top-right-info p:nth-of-type(1){
    font-size: 24px;
}

.blog-top-right-info p:nth-of-type(2){
    font-size: 42px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 15px;
}

.blog-grid .card-item p:nth-of-type(1){
    margin-bottom: 0;
    min-height: inherit;
    margin-top: 15px;
}

.blog-grid .card-item{
    border: none;
    background: none;
}

.blog-grid .card-item p{
    padding: 0;
}

.blog-grid .card-item:hover{
    box-shadow: none !important;
}

.about-1{
    margin: 0 auto;
    background: #fff;
    box-shadow: inset 0 5px 10px #eee;
}

.about-item{
    max-width: 1200px;
    margin: auto;
}

.about-1-title{
    font-size: 30px;
    text-align: center;
    margin-bottom: 30px;
}

.about-1-content{
    color: #333333;
    line-height: 30px;
}

.about-1-content img{
    max-width: 100%;
    display: inline;
}

.about-2{
    background: #f7f7f7;
    padding: 70px 0;
}

.about-2-content{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    max-width: 1200px;
    margin: auto;
    gap: 30px;
}

.about-2-content-item img{
    width: 100%;
}

.about-3{
    background: #fff;
    padding: 50px 0;
}

.about-3-main{
    position: relative;
}

.about-3-main .swiper-button-prev{
    left: -50px;
}

.about-3-main .swiper-button-next{
    right: -50px;
}

.about-3-main .swiper-button-next:after, .about-3-main .swiper-button-prev:after {
    color: #000;
}

.about-4{
    background: #f7f7f7;
    padding: 50px 0;
}

.about-4 .about-item{
    text-align: center;
    line-height: 30px;
    color: #000;
}

.about-4 .about-item img{
    max-width: 100%;
}

.about-4 .about-item p a.link{
    padding: 10px 40px;
    background: #000;
    color: #fff;
    border-radius: 30px;
    display: inline-block;
}

.odm-list{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    padding-bottom: 70px;
}

.odm-list-item{
    text-align: center;
}

.odm-list-item p:nth-of-type(1){
    color: #000;
    font-size: 20px;
}

.odm-list-item p:last-child{
    color: #333;
}

.choosing-content{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 45px;
    max-width: 1200px;
    margin: 60px auto 0;
    padding-bottom: 30px;
}

.choosing-content-item{
    text-align: center;
    background: #fff;
    padding: 50px 20px;
    box-shadow: 0 0 10px 0 #ccc;
    border-radius: 10px;
}

.choosing-content-item img{
    display: inline;
}

.choosing-content-item p{
    margin-top: 20px;
    font-size: 16px;
}

.customized-main{
    display: flex;
    white-space: nowrap;
    justify-content: space-between;
    padding: 20px 0 30px 0;
}

.customized-arrow{
    display: flex;
    align-items: center;
}

.customized-item{
    text-align: center;
}

.customized-item img{
    display: inline;
}

.customized-item p{
    max-width: 202px;
    word-break: break-word;
    white-space: normal;
}

.contact-item{
    background: #fff;
    box-shadow: 0 0 5px 0 #ddd;
    padding: 30px;
    max-width: 1200px;
    margin: auto;
    margin-bottom: 50px;
}

.contact-f{
    height: 50px;
}

.contact-1{
    margin-top: 50px;
}

.contact-1-1{
    display: flex;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 50px;
    margin-bottom: 50px;
    gap: 50px;
    align-items: center;
}

.contact-1-1 img{
    max-width: 480px;
}

.contact-1-1-info{
    line-height: 26px;
    color: #333333;
}

.contact-2{
    padding: 50px 30px;
}

.contact-1-2 img{
    width: 100%;
    display: block;
}

.about-1-subtitle{
    color: #333333;
    margin: 20px 0 30px 0;
    text-align: center;
}

.contact-2 div{
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: center;
}

.contact-2 form{
    width: 100%;
}

.contact-2 div input{
    flex: 1;
}

.contact-2 div input, .contact-2 textarea{
    border: 1px solid #ddd;
    padding: 15px 10px;
    outline: none;
    flex: 1;
    width: 100%;
}

.contact-2 textarea{
    height: 200px;
}

.contact-2 p{
    text-align: center;
    margin-top: 20px;
}

.contact-2 p input{
    background: #244c7d;
    color: #fff;
    padding: 10px 50px;
    cursor: pointer;
    border: none;
    font-size: 18px;
}

/* ==================== Responsive (added for mobile) ==================== */
@media (max-width: 992px){
    .product-grid, .recommend-grid{ grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .product-main{ gap: 24px; }
    .about-2-content, .choosing-content{ gap: 24px; }
}
@media (max-width: 768px){
    .product-grid, .recommend-grid{ grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .product-main{ flex-direction: column; gap: 20px; }
    .product-gallery{ width: 100%; }
    .product-info{ padding: 24px 18px; }
    .product-info h1{ font-size: 21px; }
    .category-tabs a{ padding: 14px 10px; font-size: 16px; white-space: normal; }
    .category-tabs a span{ padding: 0 6px; }
    .breadcrumb-wrap{ margin-top: 10px; padding: 16px 0; }
    .product-details{ padding: 30px 16px; margin-top: 30px; }
    .product-details h2{ font-size: 24px; margin-bottom: 24px; }
    .details-img{ width: 100%; }
    .blog-top{ grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
    .blog-top-left-info{ font-size: 26px; line-height: 1.4; padding: 16px; }
    .blog-top-right-info p:nth-of-type(1){ font-size: 20px; }
    .blog-top-right-info p:nth-of-type(2){ font-size: 26px; }
    .about-2-content{ grid-template-columns: 1fr; }
    .choosing-content{ grid-template-columns: 1fr; gap: 20px; }
    .odm-list{ grid-template-columns: 1fr; gap: 36px; }
    .contact-1-1{ flex-direction: column; align-items: flex-start; gap: 20px; }
    .contact-1-1 img{ max-width: 100%; }
    .contact-2{ padding: 24px 16px; }
    .contact-2 div{ flex-direction: column; }
    .about-1-1{ flex-direction: column; }
    .about-1-title{ font-size: 22px; margin-bottom: 20px; }
    .contact-1-1-info p[style]{ font-size: 20px !important; }
}
@media (max-width: 480px){
    .product-grid, .recommend-grid{ grid-template-columns: 1fr; }
    .category-tabs a{ width: 50%; padding: 12px 8px; font-size: 14px; }
    .case-date{ font-size: 16px; }
    .about-2-content, .choosing-content{ grid-template-columns: 1fr; }
    .color-item{ width: 50%; }
}