
 
  
/* .banner-img img {
    height: 90%;
    margin-left: 20px;
} */
.box {
    margin-top: 0px;
}
/* 横板轮播图 */
.mini-swiper {
    width: 100%;
    height: 25vh;
    padding: 12px;
    overflow: hidden;
    background-color: rgb(235, 235, 235);
}
/* 推荐产品 */
.main-content {
    text-align: center;
    padding-top: 120px;
}

.product-grid {
    margin-top: -100px;
    display: grid;
    grid-template-columns: repeat(4, 0fr); /* 每行两列 */
    gap: 20px;
    justify-content: center;
}

.product-grid .column {
    /* position: relative; */
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #2f81b700;
    gap: 10px;
    margin-left: 1.1vw;
    margin-right: 1.1vw;
}
.column-txt {
    height: 0px;
    position: absolute;
    top:20px;
}
.column:hover .column-txt {
     height: 100px;
}


.product-grid img {
    width: 240px; /* 固定宽度 */
    height: 260px; /* 固定高度 */
    object-fit: contain; /* 保持图片比例，完整展示 */
    border: 1px solid #ddd;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: white; /* 添加背景色以更明显地看到空白区域 */
}

 
.column > img {
    background-image: url("../img/bj.png");
    cursor: pointer;
}
 


@media screen and (min-width:1100px) {
    .column:nth-child(3) img:first-child {
        height: 360px;  
    }
    
    .column:nth-child(4) img:last-child {
        height: 260px; 
    }
    
    
     
    
    .column:nth-child(1) img:first-child ,.column:nth-child(1) {
        height: 360px; /* 第1列上面长 */
    }
    .column:nth-child(1) {
        margin-top: 40px;
    }
    .column:nth-child(2)  {
        margin-top: 100px;
        
        height: 260px; /* 第二列下面长 */
    }
    
    .column:nth-child(3)  {
        margin-top: 100px;
         
    }
    
    .column:nth-child(4)  {
        margin-top: 40px;
        height: 260px; /* 第四列下面长 */
    }
    .column:nth-child(5) {
        margin-top: -56px   !important;
        height: 260px; /* 第三列上面长 */
    }
    .column:nth-child(6) img:first-child ,.column:nth-child(6) {
        margin-top: -50px   !important;
        height: 360px; /* 第三列上面长 */
    }
    
    .column:nth-child(8) img:first-child ,.column:nth-child(8)  {
        margin-top: -80px !important;
        height: 360px; /* 第四列下面长 */
    }
}
@media screen and (max-width:1600px) {
    .banner-img {
        
        padding-right: 5vw !important;
        
    }
    .mini-swiper {
        padding: 12px;
    }
}

@media screen and (max-width:1300px) {
    
    .banner-img {
        
        padding-right: 9vw;
        
    }
    .banner-text-box{
        width: 100%;
    }
    .left {
        left: -1.3vw;
    }
    .right {
        right: -1.5vw;
        text-align: left;
        padding-left: 1.5vw;
         
    }
    .mini-swiper {
        padding: 12px;
    }
}

@media screen and (max-width:1200px) {
    .nav-menu > li > p {
        font-size: 0.8rem;
        
    }
}

@media screen and (max-width:1100px) {
    .product-grid {
        display: grid;
        grid-template-columns: repeat(2, 0fr); /* 每行两列 */
        gap: 20px;
        justify-content: center;
        margin-top: 0px;
    }
    /* .column:nth-child(5) img:first-child {
        margin-top: 0px;
        height: 400px;  
    
    
    .column:nth-child(8) img:last-child {
        margin-top: 0px;
        height: 400px;  
    } */
   
    .banner{
        height: 600px !important;
        align-items:top;
        padding-left: 100px;
    }
    .fl-nav-left {
        width: 100px;
    }
    .left {
        left: -1.3vw;
        font-size: 1rem;
        padding-left: 1rem;
    }
    .right {
        right: -1rem;
        font-size: 1rem;
        padding-left: 1rem;
         
    }
    .banner-text-box-show {
        width: 50vw;
        right: calc(0px - 50vw);
        overflow: hidden;
    }
    .show-ul {
        width: 50vw;
        right: calc(0px - 50vw);
    }
    .banner-img  {
        width: 80vw  ;
         
        margin-left: 8rem;
         
    }
    .display-img{
        width: 100%;
    }
    .display-img > li {
        width: 8rem !important;
    }
    .display-img > li img{
        width: 80%;
        height: auto;
    }
     
     
}

@media screen and (max-width:1024px) {

    .mini-swiper {
        padding: 10px;
    }
}
@media screen and (max-width:900px) {
    .display-img  {
        margin-top: 50px;
    }
    .display-img:not(:first-child) {
        margin-top: -200px;
    }
    
}
@media screen and (max-width:640px) {
    .suggest-body:hover .suggest-body—show {
        width:8rem;  
        
        position: absolute;
        top:0px;
        display: block;
        height: 13rem;
        background-color: rgba(3, 24, 41, 0.356);
        z-index: 999 !important;
        
    }
    .mini-swiper {
        padding: 0px;
    }
    .suggest-body{
        width: 8rem;
    }
}
@media screen and (max-width:500px) {
    .product-grid {
        margin-top: 0px;
    }
    .product-grid img {
        width: 150px; /* 固定宽度 */
        height: 200px; /* 固定高度 */
        object-fit: contain; /* 保持图片比例，完整展示 */
        border: 1px solid #ddd;
        border-radius: 15px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        background-color: white; /* 添加背景色以更明显地看到空白区域 */
    }
     
    .suggest-body{
        width: 5rem;
    }
    
}
@media screen and (max-width:330px) {

     
    .suggest-body{
        width: 5rem;
        
    }
    .suggest {
        margin-left: -40%;
    }
    .banner-text-box{
        display: none;
    }
    
}
.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    user-select: none;
}


/* 跟随滚动条显示动画 */
.animated-element {
    opacity: 0;
    /* 初始时设置为透明 */
}

.animated-element.show {
    opacity: 1;
    /* 满足条件时设置为不透明 */
    animation: slide-top 0.8s;
    /* 使用 fade-in 动画，保持最终状态 */
}

.slide-top {
    -webkit-animation: slide-top 0.8s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: slide-top 0.8s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@-webkit-keyframes slide-top {
    0% {
        opacity: 0;
        -webkit-transform: translateY(50px);
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes slide-top {
    0% {
        opacity: 0;
        -webkit-transform: translateY(50px);
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

/* 产品中心模块 */
.product-1 {
    width: 100%;
    height: 25vh;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: rgba(0, 0, 0, 0.219) 0px 0px 10px;
}

.product-2 {
    width: 100%;
    height: 25vh;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: rgba(0, 0, 0, 0.219) 0px 0px 10px;
}

.product-title {
    font-size: 2rem;
    color: #ffffff;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: rgba(0, 0, 0, 0.219) 0px 0px 10px;
    background: #2f80b7;
}

.product-title p {
    margin: 10px;
}

.product-content {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    height: 100%;
}

.product-img {
    display: flex;
    align-items: center;
    flex: 1;
    height: 100%;
    width: 100%;
    margin-right: 5vw;
}

.product-img img {
    max-height: 20vh;
    max-width: 20vw;
    object-fit: contain;
}

.product-text {
    color: #2d76ae;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;

    flex: 1;
}

.product-1 .product-img {
    justify-content: end;
}

.product-2 .product-img {
    justify-content: start;
}

.product-1 .product-text {}

.product-2 .product-text {
    margin-left: 5vw;
}

.product-text-title {
    font-size: 3.5rem;
}

.product-text-text {
    font-size: 1.4rem;
    letter-spacing: 0.4rem;
    width: 45vw;
}




 