/* 产品页面样式 */

/* 产品封面图样式 */
.product-hero {
    width: 100%;
    overflow: hidden;
    background: #000;
}

.hero-image {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    display: block;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .product-hero {
        background: #000;
    }

    .hero-image img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .hero-image img {
        width: 100%;
        height: auto;
    }
}

/* 产品详情页面样式 */
.product-details {
    background: #fff;
    padding: 80px 0;
}

.product-details-content {
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

/* 左侧产品信息 */
.product-left {
    flex: 1;
}

.product-title {
    font-weight: 400;
    font-size: 40px;
    color: #333333;
    margin-bottom: 58px;
}

.section-title {
    font-weight: 400;
    font-size: 32px;
    color: #333333;
    margin-bottom: 40px;
}

/* 产品参数样式 */
.product-params {
    margin-bottom: 40px;
}

.params-list {
    display: flex;
    align-items: initial;
    flex-wrap: wrap;
}

.param-item {
    width: 100%;
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
}
.param-item::after {
    position: absolute;
    top: 14px;
    left: 0;
    content: "";
    width: 8px;
    height: 8px;
    background: #f15a25;
    border-radius: 58%;
    transform: translate(-50%, -50%);
}
.param-item:last-child {
    margin-bottom: 0;
}

.param-label {
    font-size: 16px;
    color: #666;
    font-weight: 500;
    min-width: 75px;
    flex-shrink: 0;
}

.param-value {
    font-size: 16px;
    color: #333;
    flex: 1;
}

/* 产品特点样式 */
.product-features {
    margin-bottom: 40px;
}


.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    line-height: 1.6;
    padding-left: 20px;
    position: relative;
}
.feature-item::after {
    position: absolute;
    top: 50%;
    left: 0;
    content: "";
    width: 8px;
    height: 8px;
    background: #f15a25;
    border-radius: 58%;
    transform: translate(-50%, -50%);
}
.feature-item:last-child {
    margin-bottom: 0;
}

.feature-dot {
    color: #0051bc;
    font-size: 16px;
    font-weight: bold;
    margin-right: 10px;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-text {
    font-size: 16px;
    color: #333;
    flex: 1;
}

/* 咨询按钮样式 */
.consultation-buttons {
    display: flex;
    gap: 20px;
    margin-top: 80px;
}

.btn-phone,
.btn-online {
width: 192px;
height: 50px;
border-radius: 50px 50px 50px 50px;
display: flex;
align-items: center;
justify-content: center;
font-weight: 500;
font-size: 18px;
color: #0051BC;
cursor: pointer;
transition: all .3s;
}
.product-swiper{
    overflow: hidden;
    position: relative;
}
.btn-phone {
    background: transparent;
    color: #0051bc;
    border: 1px solid #0051BC !important;
}


.btn-online {
    background: #0051bc;
    color: #FFF;
}
.btn-phone:hover {
    transform: translateY(-2px);
}
.btn-online:hover {
    background: #0051bc;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 81, 188, 0.3);
}

/* 右侧图片区域 */
.product-right {
    flex-shrink: 0;
    width: 810px;
}

.main-image {
    width: 100%;
    height: 744px;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    overflow: hidden;
    border: 2px solid #e9ecef;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-list {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.image-item {
    width: 194px;
    height: 194px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    overflow: hidden;
}

.image-item:hover {
    border-color: #F15A25;
}

.image-item.active {
    border-color: #F15A25;
    box-shadow: 0 4px 15px rgba(0, 81, 188, 0.2);
}

.product-indicator{
    width: 19px;
    height: 34px;
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 1;
    cursor: pointer;
}
.product-indicator.left{
    left: 10px;
}
.product-indicator.right{
    right: 10px;
}
.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    transition: all .3s;
}
.image-item img:hover{
    transform: scale(1.1);
}
/* 分类标签样式 */
.product-categories {
    background: #fff;
    padding: 90px 0 49px 0;
}

.category-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.category-tab {
width: 160px;
height: 42px;
background: rgba(217,217,217,0);
border-radius: 30px 30px 30px 30px;
border: 1px solid #D9D9D9;
font-weight: 500;
font-size: 16px;
color: #333333;
line-height: 30px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
}

.category-tab:hover {
    border-color: #0051bc;
    color: #0051bc;
}

.category-tab.active {
    background: #0051bc;
    border-color: #0051bc;
    color: #fff;
}

/* 主推产品信息样式 */
.featured-product {
    padding: 20px 0;
}

.product-showcase {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    background: #F4F4F4;
    border-radius: 12px;
    padding:60px 90px;
}

.product-info {
    flex: 1;
    max-width: 500px;
}

.product-name {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0 0 40px 0;
    line-height: 1.2;
}

.product-specs {
    margin-bottom: 40px;
}

.spec-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
font-weight: 400;
font-size: 24px;
color: #777777;
line-height: 18px;
}

.spec-item:last-child {
    margin-bottom: 0;
}

.spec-label {
    min-width: 60px;
    flex-shrink: 0;
}

.spec-value {
    flex: 1;
}

.learn-more-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background: #0051bc;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.learn-more-btn:hover {
    background: #003d8f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 81, 188, 0.4);
}

.product-image {
    flex-shrink: 0;
    /* width: 400px; */
    /* height: 400px; */
    max-width: 575px;
    max-height: 574px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* 产品页面响应式设计 */
@media (max-width: 1024px) {
    .product-showcase {
        gap: 60px;
        padding: 50px;
    }

    .product-image {
        width: 350px;
        height: 350px;
    }

    .product-name {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .product-categories {
        padding: 30px 0;
    }

    .category-tabs {
        gap: 15px;
        padding: 0 20px;
    }

    .category-tab {
        padding: 10px 20px;
        font-size: 14px;
    }

    .featured-product {
        padding: 50px 0;
    }

    .product-showcase {
        flex-direction: column;
        gap: 40px;
        padding: 40px 30px;
        text-align: center;
    }

    .product-info {
        padding: 0;
        max-width: 100%;
    }

    .product-name {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .spec-item {
        justify-content: center;
        text-align: left;
        margin-bottom: 12px;
    }

    .spec-label {
        font-size: 15px;
        min-width: 55px;
    }

    .spec-value {
        font-size: 15px;
    }

    .product-image {
        width: 300px;
        height: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .product-categories {
        padding: 25px 0;
    }

    .category-tabs {
        gap: 12px;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0 15px;
        -webkit-overflow-scrolling: touch;
    }

    .category-tab {
        padding: 8px 16px;
        font-size: 13px;
        flex-shrink: 0;
    }

    .featured-product {
        padding: 40px 0;
    }

    .product-showcase {
        padding: 30px 20px;
        gap: 30px;
    }

    .product-name {
        font-size: 20px;
        margin-bottom: 25px;
    }

    .spec-item {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 10px;
    }

    .spec-label {
        font-size: 14px;
        margin-bottom: 2px;
        min-width: auto;
    }

    .spec-value {
        font-size: 14px;
        padding-left: 10px;
    }

    .learn-more-btn {
        padding: 10px 25px;
        font-size: 14px;
    }

    .product-image {
        width: 250px;
        height: 250px;
    }

    /* 滚动条样式（移动端） */
    .category-tabs::-webkit-scrollbar {
        height: 4px;
    }

    .category-tabs::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 2px;
    }

    .category-tabs::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 2px;
    }

    .category-tabs::-webkit-scrollbar-thumb:hover {
        background: #a8a8a8;
    }
}

/* 产品列表样式 */
.product-list {
    background: #fff;
    padding: 80px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.product-card {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 20px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.product-card-header {
    position: relative;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.brand-logo {
    width: 60px;
    height: auto;
}

.cert-badge {
    width: 40px;
    height: 40px;
}

.product-card-image {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 344px;
}

.product-card-image img {
    width: 344PX;
    max-height: 344px;
    object-fit: contain;
}

.product-card-info {
    text-align: center;
    margin-top: 20px;
}

.product-card-title {
font-weight: bold;
font-size: 28px;
color: #333333;
margin-bottom: 30px;
 display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

.product-card-desc {
font-weight: 400;
font-size: 16px;
color: #333333;
opacity: .8;
 display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* 分页器样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-btn {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: #fff;
    color: #666;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-btn:hover {
    border-color: #0051bc;
    color: #0051bc;
}

.page-btn.active {
    background: #0051bc;
    border-color: #0051bc;
    color: #fff;
}

.page-dots {
    color: #999;
    font-size: 14px;
    padding: 0 8px;
}

/* 产品列表响应式设计 */
@media (max-width: 1024px) {
    .product-list {
        padding: 60px 0;
    }

    .products-grid {
        gap: 25px;
        margin-bottom: 50px;
    }

    .product-card-image {
        min-height: 180px;
    }

    .product-card-image img {
        max-height: 160px;
    }
}

@media (max-width: 768px) {
    .product-list {
        padding: 20px 0;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 40px;
    }

    .brand-logo {
        width: 50px;
    }

    .cert-badge {
        width: 35px;
        height: 35px;
    }

    .product-card-image {
        min-height: 160px;
        padding: 15px;
    }

    .product-card-image img {
        max-height: 140px;
    }

    .product-card-info {
        margin-top: 0;
    }
    .product-card-title{
        margin-bottom: 20px;
    }
    .product-card-title {
        font-size: 16px;
    }

    .product-card-desc {
        font-size: 13px;
    }

    .pagination-wrapper {
        gap: 6px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .page-btn {
        min-width: 32px;
        height: 32px;
        font-size: 13px;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .product-list {
        padding: 40px 0;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 30px;
    }

    .product-card-header {
        padding: 12px;
    }

    .brand-logo {
        width: 45px;
    }

    .cert-badge {
        width: 30px;
        height: 30px;
    }

    .product-card-image {
        min-height: 140px;
        padding: 12px;
    }

    .product-card-image img {
        max-height: 120px;
    }

    .product-card-info {
        padding: 12px;
    }

    .product-card-title {
        font-size: 15px;
    }

    .product-card-desc {
        font-size: 12px;
    }

    .pagination-wrapper {
        gap: 4px;
    }

    .page-btn {
        min-width: 28px;
        height: 28px;
        font-size: 12px;
        padding: 4px 8px;
    }
}

/* 产品详情图文版块样式 */
.product-detail-content {
    background: #fff;
    padding: 80px 0;
}

.detail-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e9ecef;
}

.detail-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.detail-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
#mainProductImage {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.2s 
ease;
    will-change: transform;
}
.detail-images img {
    width: auto;
    margin: 0 auto;
    display: block;
    max-width: 100%;
}

.detail-image-item {
    width: 100%;
    max-width: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.detail-image-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.detail-image-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* 产品详情图文版块响应式设计 */
@media (max-width: 1024px) {
    .product-detail-content {
        padding: 60px 0;
    }

    .detail-header {
        margin-bottom: 50px;
        padding-bottom: 25px;
    }

    .detail-title {
        font-size: 32px;
    }

    .detail-images {
        gap: 35px;
    }

    .detail-image-item {
        max-width: 900px;
    }
}

@media (max-width: 768px) {
    .product-detail-content {
        padding: 50px 0;
    }

    .detail-header {
        margin-bottom: 40px;
        padding-bottom: 20px;
    }

    .detail-title {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .detail-subtitle {
        font-size: 14px;
        letter-spacing: 1.5px;
    }

    .detail-images {
        gap: 30px;
    }

    .detail-image-item {
        max-width: 100%;
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .product-detail-content {
        padding: 40px 0;
    }

    .detail-header {
        margin-bottom: 30px;
        padding-bottom: 15px;
    }

    .detail-title {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .detail-subtitle {
        font-size: 13px;
        letter-spacing: 1px;
    }

    .detail-images {
        gap: 25px;
    }

    .detail-image-item {
        border-radius: 6px;
    }
}

/* 产品推荐版块样式 */
.product-recommendations {
    background: #f8f9fa;
    padding: 80px 0;
}

.recommendations-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e9ecef;
}

.recommendations-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.recommendations-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.recommendation-card {
   background: #F4F4F4;
   border-radius: 30px 30px 30px 30px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 30px;
}

.recommendation-card:hover {
    transform: translateY(-8px);
}

.card-header {
    position: relative;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: #f8f9fa;
}

.card-header .brand-logo {
    width: 60px;
    height: auto;
}

.card-header .cert-badge {
    width: 40px;
    height: 40px;
}

.card-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 28px;
}

.card-image img {
    max-width: 100%;
    height: 344px;
    object-fit: contain;
}

.card-info {
    text-align: center;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.cards-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 1200px) {
}
/* 产品推荐版块响应式设计 */
@media (max-width: 1200px) {
    .image-item{
        width: 100%;
        height: auto;
        max-height: 194px;
    }
       .product-details-content{
        flex-direction: column;
    }
    .product-right{
        width: 100% !important;
    }
    .main-image{
        width: 100%;
        max-height: 744px;
    }
    .product-recommendations {
        padding: 60px 0;
    }

    .recommendations-header {
        margin-bottom: 50px;
        padding-bottom: 25px;
    }

    .recommendations-title {
        font-size: 32px;
    }

    .recommendations-grid {
        gap: 25px;
        max-width: 900px;
    }

    .card-image {
        min-height: 200px;
        margin: 0;
        padding:0;
    }

    .card-image img {
        max-height: 160px;
    }

    .card-info {
        padding: 20px 15px;
    }
}

@media (max-width: 768px) {
    .product-recommendations {
        padding: 50px 0;
    }

    .recommendations-header {
        margin-bottom: 40px;
        padding-bottom: 20px;
    }

    .recommendations-title {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .recommendations-subtitle {
        font-size: 14px;
        letter-spacing: 1.5px;
    }

    .recommendations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 100%;
    }

    .card-header {
        padding: 12px;
    }

    .card-header .brand-logo {
        width: 50px;
    }

    .card-header .cert-badge {
        width: 35px;
        height: 35px;
    }

    .card-image {
        min-height: 180px;
    }

    .card-image img {
        max-height: 140px;
    }

    .card-info {
        padding: 18px 15px;
    }

    .card-title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .card-desc {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .product-recommendations {
        padding: 40px 0;
    }

    .recommendations-header {
        margin-bottom: 30px;
        padding-bottom: 15px;
    }

    .recommendations-title {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .recommendations-subtitle {
        font-size: 13px;
        letter-spacing: 1px;
    }

    .recommendations-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .card-header {
        padding: 10px;
    }

    .card-header .brand-logo {
        width: 45px;
    }

    .card-header .cert-badge {
        width: 30px;
        height: 30px;
    }

    .card-image {
        min-height: 160px;
        margin: 0;
    }

    .card-image img {
        max-height: 120px;
    }

    .card-info {
        padding: 15px 12px;
    }

    .card-title {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .card-desc {
        font-size: 12px;
    }
}

/* 产品详情页面响应式设计 */
@media (max-width: 1024px) {
    .product-details {
        padding: 60px 0;
    }

    .product-details-content {
        gap: 60px;
    }


    .main-image {
        height: 320px;
    }

    .product-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .param-item{
        width: 100%;
    }
    .product-details {
        padding: 50px 0;
    }

    .product-details-content {
        flex-direction: column;
        gap: 40px;
    }

    .product-left {
        max-width: 100%;
    }

    .product-right {
        width: 100%;
        margin: 0 auto;
    }

    .product-title {
        font-size: 28px;
        margin-bottom: 30px;
        text-align: center;
    }

    .section-title {
        font-size: 18px;
        font-weight: bold;
    }

    .params-list,
    .features-list {
        padding: 0px;
    }

    .param-label {
        min-width: 90px;
        font-size: 15px;
    }

    .param-value,
    .feature-text {
        font-size: 15px;
    }

    .consultation-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .btn-phone,
    .btn-online {
        flex: 1;
        min-width: 120px;
    }

    .main-image {
        height: auto;
    }

    .image-list {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .product-details {
        padding: 40px 0;
    }

    .product-details-content {
        gap: 30px;
    }

    .product-title {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .section-title {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .param-item,
    .feature-item {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 12px;
    }
    .feature-item{
        padding-left: 0;
    }
    .param-label {
        min-width: auto;
        margin-bottom: 2px;
        font-size: 14px;
        font-weight: 600;
    }

    .param-value {
        font-size: 14px;
    }

    .feature-dot {
        margin-top: 0;
        font-size: 14px;
    }

    .feature-text {
        font-size: 14px;
        margin-left: 20px;
    }

    .consultation-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn-phone,
    .btn-online {
        width: 100%;
        min-width: auto;
        padding: 12px 25px;
        font-size: 15px;
    }


    .image-item {
        width: 60px;
        height: 60px;
    }

    .image-list {
        gap: 10px;
    }
}
