/*
聚集页 单页面 样式
index archive 
*/

/* #region 首页*/
.recomm-part .wrap{
    column-gap: 2rem;
}
.recomm-product-cat .wrap .left{
    width: 56.7%;
}
.recomm-product-cat .wrap .left .jump{
    position: sticky;
    top: calc( var(--nav-height) * 0.85 + 60px * var(--zoom-ratio) );
}
.recomm-product-cat .wrap .right{
    width: 43.3%;
    row-gap: 2rem;
}
.recomm-part .wrap .jump{
    position: relative;
    overflow: hidden;
}
.recomm-part .wrap .jump img{
    width: 100%;
    height: auto;
    display: block;
}
.recomm-part .wrap .jump .text{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #2d2b2ba6;
    color: #fff;
    padding: 1rem;
}
.recomm-part .wrap .jump .text>p{
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.2em;
    max-height: 2.4em;
}
.recomm-product .wrap{
    width: 100%;
}
.recomm-product .wrap .jump{
    width: 50%;
}

.recomm-shop-cat{}
.recomm-shop-cat .wrap{
    width: 100%;
    justify-content: space-around;
    align-items: center;
}
.recomm-shop-cat .shop-cat-item{
    width: 15%;
    /*transition: all 0.3s;*/
}
.recomm-shop-cat .shop-cat-item:hover{
    /*transform: scale(1.1);*/
}
.recomm-shop-cat .shop-cat-item img{
    aspect-ratio: 1 / 1;
    width: 68px;
    opacity: 0.7;
}
.product-wrap{
    width: 100%;
    column-gap: 1rem;
}
.product-wrap .product-nav{
    width: 18%;
    flex-shrink: 0;
    max-width: 220px;
}
.product-nav>.sticky{
    position: sticky;
    top: var(--nav-height);
}
.product-nav .list{
    row-gap: 10px;
}
.product-nav .nav-item.nav-cat .nav-cat{
    transition: all 0.3s;
}
.product-nav .nav-item.nav-cat .item:hover,
.product-nav .nav-item.nav-cat .item.active{
    font-weight: 700;
}
.product-nav .list>li .attr-checkbox{
    column-gap: 2px;
    align-items: center;
}
.product-nav .nav-item .attr-title{
    align-items: center;
    justify-content: space-between;
}
.product-nav .nav-item .attr-title .toggle-submenu {
    width: 16px;
    height: 16px;
    position: relative;
    cursor: pointer;
}
.product-nav .nav-item .attr-title .toggle-submenu:before,
.product-nav .nav-item .attr-title .toggle-submenu:after {
    content: '';
    position: absolute;
    background-color: var(--color-gray);
    transition: all 0.1s ease;
}
.product-nav .nav-item .attr-title .toggle-submenu:before {
    width: 2px;
    height: 10px;
    top: 3px;
    left: 7px;
}
.product-nav .nav-item .attr-title .toggle-submenu:after {
    width: 10px;
    height: 2px;
    top: 7px;
    left: 3px;
}
.product-nav .nav-item .item.active .attr-title .toggle-submenu:before {
    transform: rotate(90deg);
}
.product-nav .nav-item .item .attr-values{
    display: none;
}

 /* 产品列表 */
.product-wrap .product-list{
    flex-grow: 1;
}
.product-list .cate-name{
    border-bottom: 1px solid #e7e7e7;
}
.product-list .list{
    row-gap: 1.5rem;
    column-gap: 1.5rem;
}
.product-list .list>li{
    width: calc( (100% - 4.5rem ) / 4 );
}
.product-list .list>li>a{
    display: block;
}
.product-list .list>li>a .img{
    background-color: #F6F6F6;
}
.product-list .list>li>a img{
    display: block;
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto;
}
.product-list .pagination{
    column-gap: 5px;
}
.product-list .pagination>span{
    padding: 5px 10px;
    color: var(--color-main);
}
.product-list .pagination>a{
    padding: 5px 10px;
}
.page-list .wrap{
    column-gap: 2rem;
}
.page-list .wrap>a{
    position: relative;
}
.page-list .wrap>a img{
    display: block;
}
.page-list .wrap>a .text{
    position: absolute;
    inset: 0;
    color: #fff;
    padding: 3rem;
}

.post-list{
    background-color: #f2f3f4;
}
.post-list .wrap{
    overflow: hidden;
    position: relative;
}
.post-list .wrap .swiper-wrapper{}
.post-list .wrap .swiper-wrapper .swiper-slide{
    width: 25%;
    height: auto;
}
.product-swiper-button-prev,
.product-swiper-button-next,
.blog-news-swiper-button-prev,
.blog-news-swiper-button-next{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    z-index: 10;
    transform: translateY(-50%);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.2s;
    background: rgba(0,0,0,.3);
}
.product-swiper-button-prev:hover,
.product-swiper-button-next:hover,
.blog-news-swiper-button-prev:hover,
.blog-news-swiper-button-next:hover {
    background: var(--color-blue);
}
.product-swiper-button-prev,
.blog-news-swiper-button-prev {
    left: 10px;
}
.product-swiper-button-next,
.blog-news-swiper-button-next {
    right: 10px;
}
.product-swiper-button-prev::after,
.product-swiper-button-next::after,
.blog-news-swiper-button-prev::after,
.blog-news-swiper-button-next::after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    padding: 3px;
}
.product-swiper-button-prev::after,
.blog-news-swiper-button-prev::after{
    transform: rotate(135deg);
    margin-left: 6px;
}
.product-swiper-button-next::after,
.blog-news-swiper-button-next::after{
    transform: rotate(-45deg);
    margin-right: 6px;
}


/* 文章卡片组件样式 */
.post-card {
    background: #fff;
    overflow: hidden;
    height: 100%;
    display: flex;
    transition: all 0.3s ease;
}

.post-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    height: auto;
    position: relative;
    overflow: hidden;
}

.post-thumbnail a {
    display: block;
    width: 100%;
    height: 100%;
}

.post-thumbnail img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: top center;
    transition: all 0.3s ease;
}
.post-card:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-content {
    padding: 1rem;
    gap: 8px;
    flex: 1;
}

.post-category {
    line-height: 1;
}

.post-category a {
    color: var(--color-black);
    text-decoration: none;
    transition: color 0.3s ease;
}
.post-title {
    line-height: 1.2;
}

.post-card .post-title a {
    text-decoration: none;
    transition: all 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: initial;
}
.post-title a:hover {
    color: var(--color-black);
}
.post-meta {
    color: #666;
    margin-top: auto;
}

/* #endregion */

/* #region 产品列表页 */
.product-cat-list{
    overflow: hidden;
    position: relative;
    padding: 0 1rem;
}
.product-cat-list .wrap{
    width: 100%;
    justify-content: space-around;
    align-items: center;
}
.product-cat-list .wrap .cat-item {
    width: 15%;
    transition: all 0.3s;
    opacity: 0.7;
}
.product-cat-list .wrap .cat-item img {
    aspect-ratio: 1 / 1;
    width: 60px;
}
.product-cat-list .wrap .cat-item:hover,
.product-cat-list .wrap .cat-item.active{
    opacity: 0.9;
}
.product-cat-swiper-button-prev,
.product-cat-swiper-button-next{
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    z-index: 10;
    transform: translateY(-50%);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.2s;
    background: rgba(0,0,0,.2);
}
.product-cat-swiper-button-prev:hover,
.product-cat-swiper-button-next:hover {
    background: var(--color-blue);
}
.product-cat-swiper-button-prev.swiper-button-disabled:hover,
.product-cat-swiper-button-next.swiper-button-disabled:hover {
    background: rgba(0,0,0,.1);
}
.product-cat-swiper-button-prev{
    left: 2px;
}
.product-cat-swiper-button-next{
    right: 2px;
}
.product-cat-swiper-button-prev::after,
.product-cat-swiper-button-next::after {
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    padding: 3px;
}
.product-cat-swiper-button-prev::after{
    transform: rotate(135deg);
    margin-left: 6px;
}
.product-cat-swiper-button-next::after{
    transform: rotate(-45deg);
    margin-right: 6px;
}
/* #endregion */

/* faq列表 */
.faq-list .item .question{
    padding: .6rem 0;
    background-color: #fff;
    padding-left: 3rem;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border-bottom: 1px solid #eee;
}
.faq-list .item .question:hover {
    background-color: #f8f8f8;
}
.faq-list .item .question::before {
    content: '';
    width: 0;
    height: 0;
    border: 6px solid #ccc;
    position: absolute;
    top: 50%;
    left: 1rem;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 0;
    transform: translateY(-50%);
    transition: transform 0.2s ease-in-out;
    opacity: 0.5;
}
.faq-list .item.active .question::before {
    transform: translateY(-50%) rotate(90deg);
}
.faq-list .item .answer{
    display: none;
    background-color: #fff;
    padding: 1rem 3rem;
    margin-top: 0;
    /* border-top: 1px solid #eee; */
    border-radius: 0 0 5px 5px;
}


/* #region 关于我们 */
.page-banner.about-page-banner .bg {
    aspect-ratio: 1920 / 540;
}
.page-banner.about-page-banner .bg >img {
    object-position: center bottom;
}
.company-profile{
    background-color: #f9f9f9;
}
.company-profile .container{
    column-gap: 5%;
}
.company-profile .container .left{
    width: 55%;
    flex-grow: 0;
    flex-shrink: 0;
    overflow: hidden;
    font-size: 0;
}
.company-profile .container .right .desc{
    max-height: 360px;
    overflow-y: scroll;
    padding: 1rem 0;
}
.company-profile .container .right .list{
    width: 100%;
    column-gap: 2rem;
    justify-content: space-between;
    line-height: 1.4;
}
.company-profile .container .right .item .img,
.company-profile .container .right .item .img>img{
    max-width: 42px;
    height: auto;
}
.our-advantages .list{
    width: 100%;
    column-gap: 5%;
    row-gap: 4rem;
}
.our-advantages .list .item{
    width: 30%;
    line-height: 1.4;
    font-size: 0;
}
.our-advantages .list .item .img{
    width: 100%;
    aspect-ratio: 374 / 274;
    height: auto;
}
.our-advantages .list .item .img>img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.manufacturing-capability .list {
   display: grid; 
   grid-template-rows: 1fr 1fr 1fr 1fr;
   grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
   gap: 1rem;
}
.manufacturing-capability .list .item{
    font-size: 0;
    position: relative;
    overflow: hidden;
}
.manufacturing-capability .list .item .img,
.manufacturing-capability .list .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.manufacturing-capability .list .item .text{
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.manufacturing-capability .list .item-0 {
   grid-row-start: 1;
   grid-column-start: 1;
   grid-row-end: 3;
   grid-column-end: 4;
   
}
.manufacturing-capability .list .item-1 {
   grid-row-start: 1;
   grid-column-start: 4;
   grid-row-end: 3;
   grid-column-end: 7;
}
.manufacturing-capability .list .item-2 {
   grid-row-start: 3;
   grid-column-start: 1;
   grid-row-end: 5;
   grid-column-end: 3;
}
.manufacturing-capability .list .item-3 {
   grid-row-start: 3;
   grid-column-start: 3;
   grid-row-end: 5;
   grid-column-end: 5;
}
.manufacturing-capability .list .item-4 {
   grid-row-start: 3;
   grid-column-start: 5;
   grid-row-end: 5;
   grid-column-end: 7;
}
.manufacturing-capability .list .item-5 {
   grid-row-start: 1;
   grid-column-start: 7;
   grid-row-end: 5;
   grid-column-end: 9;
}




/* #endregion */



/* #region 方案页*/
.page-banner .slider {
    position: relative;
}

.page-banner .bg {
    aspect-ratio: 1920 / 320;
    width: 100%;
    min-height: 200px;
    position: relative;
    pointer-events: none;
    font-size: 0;
}
.page-banner .bg>img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.page-banner .bg::after {
    inset: 0;
    position: absolute;
    content: '';
    background-image: linear-gradient(to right bottom, #0bfff1, #3858e9);
    backdrop-filter: blur(1px);
    opacity: 0.5;
}

.page-banner .content {
    position: absolute;
    inset: 0;
    column-gap: 5%;
}

.page-banner .content>div {
    width: 50%;
}

.page-banner .content .left .cta {
    border: 1px solid #FF7500;
    padding: 8px 3rem;
    transition: all .2s ease;
    border-radius: 5px;
    color: #fff;
    background-color: #FF7500;
    margin-right: auto;
    margin-top: 3rem;
    font-size: 1.1rem;
    display: inline-block;
}

.page-banner .content .right {
    align-self: flex-end;
}

.page-banner .content .right>img {
    max-width: 450px;
    width: 100%;
}

.website-plan.case-page-version .list .item {
    --color: #500DE1;
}

.website-plan.case-page-version .list .item:nth-child(2) {
    --color: #F5A623;
}

.website-plan.case-page-version .list .item:nth-child(3) {
    --color: #B61E23;
}

.case-page-compare-table table,
.case-page-compare-table td,
.case-page-compare-table th {
    border: 1px solid #dddddd
}

.case-page-compare-table table {
    border-collapse: separate;
    border-spacing: 0;
    border-width: 1px 0 0 1px;
    margin: 0 0 1.5em;
    width: 100%
}

.case-page-compare-table td,
.case-page-compare-table th {
    padding: .7em 1em;
    border-width: 0 1px 1px 0
}

.case-page-compare-table {
    box-sizing: border-box
}

.case-page-compare-table .aligncenter {
    clear: both;
    text-align: center;
}

.case-page-compare-table table {
    border-collapse: separate;
    border-spacing: 0;
    border-width: 1px 0 0 1px;
    margin: 0 0 1.5em;
    width: 100%
}

.case-page-compare-table thead {
    position: sticky;
    top: 0;
    z-index: 2;
    padding-right: 5px;
    background: #4950fd;
}

.case-page-compare-table tr:hover {
    background-color: #f0f8ff;
}
.case-page-compare-table td {
    word-break: break-word;
}

.case-page-compare-table table tbody {
    overflow: hidden;
}

.case-page-compare-table table tbody::-webkit-scrollbar {
    width: 5px !important;
}

.case-page-compare-table table tbody::-webkit-scrollbar-thumb {
    background-color: #17bf17;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
}

.case-page-compare-table table tbody::-webkit-scrollbar-track-piece {
    background-color: #e5e5e54a;
    border-right: 1px solid #e3e3e3;
}

.case-page-compare-table tbody {
    border-bottom: 1px solid #dddddd;
}

/* #endregion */
/* #region 搜索结果页*/
.search-results {
    background-color: #f7f9f9;
}

.search-results .container {
    width: 100%;
    column-gap: 2rem;
    row-gap: 2rem;
}

.search-results .search-item {
    position: relative;
    background-color: #fff;
    box-shadow: 3px 3px 10px 0px rgba(7, 62, 107, 0.11);
    width: calc((100% - 2rem) / 2);
}

.search-results .search-item .img {
    /* aspect-ratio: 4 / 3; */
    width: 38%;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #fff;
}

.search-results .search-item .img>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.search-results .search-item .text {
    padding: 1rem;
    row-gap: 5px;
}

.search-results .search-item .text .info {
    margin-top: auto;
    column-gap: 1rem;
}

.search-results .search-item .title {
    line-height: 1.4;
}

.search-results .search-item .label {
    background: linear-gradient(to right, #004ecc6b 40%, #3858e999 100%);
    padding: 3px 8px;
    color: #fff;
    border-radius: 5px;
    margin-right: 3px;
}

/* #endregion */


/* #region 搜索结果页*/
/* #endregion */