.product-banner {
    width: 100%;
    height: 500px;
    background-color: #f5f5f5;
}
.swiper-slide {
    font-size: 18px;
    background: #fff;
    position: relative;
}
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.swiper-slide-content {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.product-banner-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.swiper-slide-buttons {
    display: flex;
}
.swiper-slide-button {
    margin-right: 20px;
    color: #fff;
    border: 1px solid #fff;
    font-size: 16px;
    padding: 10px 30px;
    border-radius: 2px;
    cursor: pointer;
}
.qrcode-btn {
    position: relative;
}
.qrcode-btn:hover  .qrcode {
    display: block;
}
.qrcode {
    position: absolute;
    right: -140px;
    top: -100%;
    display: none;
    background-color: #fff;
    border-radius: 6px;
    padding: 10px;
}
.qrcode img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}
.product-banner-content-img img {
    width: auto;
    height: 110%;
    object-fit: contain;
    position: absolute;
    right: 50px;
    bottom: 0;
}


.swiper-slide-title {
    font-weight: 600;
    font-size: 48px;
    color: #fff;
    margin-bottom: 12px;
}

.swiper-slide-desc {
    color: #fff;
    font-size: 20px;
    opacity: 0.7;
    margin-bottom: 40px;
}

.swiper-pagination {
    text-align: left;
    bottom: 40px !important;
    -webkit-transition: opacity .3s;
    transition: opacity .3s;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    z-index: 10;
}

.swiper-pagination-bullet {
    width: 30px;
    height: 3px;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    background: rgba(0, 0, 0, 1);
    border-radius: 0;
}

.swiper-pagination-bullet-active {
    background: #fff;
}

.catrgory_box {
    display: flex;
    flex-wrap: wrap;
    /* justify-content: space-between; */
    align-items: center;
    padding: 20px 0;
}
.catrgory_box  a {
    text-decoration: none;
}
.catrgory_item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 110px;
    filter: grayscale(1);
}
.catrgory_item.active {
    filter: grayscale(0);
}
.catrgory_item.active .catrgory_item_title {
    color: #007bff;
}
.catrgory_item_img {
    width: 48px;
    height: 48px;
}
.catrgory_item_img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.product-item .card:hover {
    transform: translateY(0);
}
.product-item .card:hover .detail {
    display: block;
}
.product-item .card .title {
    padding-top: 0;
}
.product-item .card .title .divider {
    display: block;
    margin-bottom: 16px;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    width: 24px;
    height: 4px;
    background-color: #595961;
}

.product-item .title h2{
    text-align: center;
    font-weight: bold;
    font-size: 24px;
}
.embed-responsive-4by3 {
    margin-bottom: 52px;
}

.product-item .description {
    color: #9797a1;
    font-size: 16px;
    margin: 16px auto 90px auto;
}

.product-item .tag {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background: #fff;
    display: flex;
    padding: 0;
    height: auto;
   line-height: normal;
}

.product-item .tag span {
    padding: 4px 12px;
    font-size: 12px;
    background-color: #e5f2ff;
}
.product-item .tag span + span {
    margin-left: 5px;
}

.product-item .card .detail {
    position: absolute;
    inset: 0;
    display: none;
    background-color: #fff;
    
}
.product-item .card .detail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-item .card .detail .detail-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-image: url("/assets/addons/cms/img/case/item-mask.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;

}
.detail-qrcode {
    width: 120px;
    height: 120px;
    background-color: #007bff;
    border-radius: 6px;
    margin-bottom: 30px;
}

/* 移动端响应式样式 */
@media (max-width: 768px) {
    .product-banner-content {
        position: unset;
        width: 100%;
    }
    .swiper-pagination {
        text-align: center;
        bottom: 20px !important;
    }
    /* 轮播图移动端适配 */
    .product-banner {
        height: 300px;
    }
    
    .swiper-slide-title {
        font-size: 28px;
        margin-bottom: 8px;
    }
    
    .swiper-slide-desc {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .swiper-slide-buttons {
        /* flex-direction: column; */
        gap: 10px;
    }
    
    .swiper-slide-button {
        margin-right: 0;
        font-size: 14px;
        padding: 8px 20px;
        text-align: center;
    }
    
    .product-banner-content-img img {
        height: 80%;
        right: 20px;
    }
    
    .qrcode {
        right: -80px;
        top: -120%;
    }
    
    .qrcode img {
        width: 80px;
        height: 80px;
    }
    
    /* 分类导航移动端适配 */
    .catrgory_box {
        padding: 15px 0;
        justify-content: flex-start;
        gap: 15px;
        overflow-x: auto;
        flex-wrap: nowrap;
        overflow-x: scroll !important
    }
    
    .catrgory_item {
        min-width: 80px;
        flex-shrink: 0;
    }
    
    .catrgory_item_img {
        width: 40px;
        height: 40px;
    }
    
    .catrgory_item_title {
        font-size: 12px;
        margin-top: 5px;
    }
    
    /* 产品列表移动端适配 */
    .product-item {
        margin-bottom: 20px;
    }
    
    .product-item .title h2 {
        font-size: 18px;
    }
    
    .product-item .description {
        font-size: 14px;
        margin: 12px auto 60px auto;
    }
    
    .embed-responsive-4by3 {
        margin-bottom: 30px;
    }
    
    .product-item .tag {
        font-size: 12px;
    }
    
    .detail-qrcode {
        /* width: 60%;
        padding-bottom: 60%; */
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    /* 更小屏幕的额外适配 */
    .product-banner {
        height: 250px;
    }
    
    .swiper-slide-title {
        font-size: 24px;
    }
    
    .swiper-slide-desc {
        font-size: 12px;
    }
    
    .swiper-slide-button {
        font-size: 12px;
        padding: 6px 15px;
    }
    
    .product-banner-content-img img {
        height: 70%;
        right: 10px;
    }
    
    .catrgory_box {
        gap: 10px;
    }
    
    .catrgory_item {
        min-width: 70px;
    }
    
    .catrgory_item_img {
        width: 36px;
        height: 36px;
    }
    
    .catrgory_item_title {
        font-size: 11px;
    }
    
    .product-item .title h2 {
        font-size: 16px;
    }
    
    .product-item .description {
        font-size: 13px;
    }
    
    .detail-qrcode {
        /* width: 70%;
        padding-bottom: 70%; */
    }
}
