@import url('layout.css');

.banner-container {
    height: auto !important;
    justify-content: center !important;
    display: flex !important;
    align-items: center !important;
}

.banner-container img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

.container {
    width: 1280px !important;
}

.product-section {
    background: #f5f5f5;
    padding: 56px 0;
}

/* 顶部切换标签 */
.service-tabs {
    background: #f5f5f7;
    padding: 40px 0 60px;
}

.tab-nav {
    gap: 16px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 6px 14px;
    border-radius: 8px;
    letter-spacing: 1px;
    color: #000;
    font-size: 14px;
    border: 1px solid #000;
    cursor: pointer;
    transition: all .2s ease;
}

.tab-btn:hover {
    color: #ff0031;
    border-color: #ff0031;
}

.tab-btn.active {
    background: #ff0031;
    border-color: #ff0031;
    color: #fff;
}


/* 产品型号标题 */
.product-models {
    margin-bottom: 30px;
}

.product-models h2 {
    font-size: 28px;
    font-weight: 500;
    color: #000;
    position: relative;
    display: inline-block;
}

.product-models h2:after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #ff0031;
}

/* 产品标签样式 */
.product-tabs {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    font-family: sans-serif;
}

.product-tab-item {
    font-size: 16px;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    background: none;
    padding: 0;
    margin-right: 8px;
}

/* 同时具有product-tab-item和tab-btn类的元素样式 */
.product-tab-item.tab-btn {
    font-size: 14px;
    color: #000;
    padding: 6px 14px;
    margin-right: 16px;
    border: 1px solid #000;
}

.product-tab-item::after {
    content: '/';
    color: #999;
    margin-left: 8px;
}

.product-tabs .product-tab-item.last-item::after {
    content: '' !important;
}

.product-tab-item:hover {
    color: #666;
}

.product-tabs .product-tab-item.active {
    font-weight: bold !important;
    color: #000 !important;
    text-decoration: none !important;
    position: relative !important;
}

.product-tabs .product-tab-item.active::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: calc(100% - 16px);
    height: 2px;
    background-color: #ff0031;
}

/* 覆盖tab-btn样式的after伪元素 */
.product-tab-item.tab-btn::after {
    content: none;
}

/* 覆盖tab-btn的hover状态 */
.product-tab-item.tab-btn:hover {
    color: #ff0031;
    border-color: #ff0031;
}

/* 覆盖tab-btn的active状态 */
.product-tab-item.tab-btn.active {
    background: #ff0031;
    border-color: #ff0031;
    color: #fff !important;
    font-weight: normal !important;
}

.product-tab-item.tab-btn.active::before {
    content: none;
}

/* 产品详情区域 */
.product-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.product-item.hidden {
    display: none;
}

/* 左侧产品信息 */
.product-info {
    width: 45%;
}

.product-title {
    font-size: 48px;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px;
}

.product-subtitle {
    font-size: 32px !important;
    font-weight: 500 !important;
    color: #666666 !important;
    margin-bottom: 10px !important;
}

.product-model {
    font-size: 28px;
    font-weight: 500;
    color: #000;
    margin-bottom: 15px;
}

.product-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

/* 右侧产品图片 */
.product-image {
    width: 50%;
    text-align: right;
}

.product-image img {
    max-width: 100%;
    height: auto;
    max-height: 600px;
}

/* Swiper 样式 */
.product-image .swiper-container {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

.product-image .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-image .swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}

.product-image .swiper-pagination {
    margin-top: 20px !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 20px !important;
}

.product-image .swiper-pagination-bullet {
    width: 24px !important;
    height: 4px !important;
    margin: 0 4px !important;
    background: #ddd !important;
    border-radius: 2px !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    display: inline-block !important;
}

.product-image .swiper-pagination-bullet:hover {
    background: #bbb !important;
}

.product-image .swiper-pagination-bullet-active {
    background-color: #ff0031 !important;
    width: 32px !important;
}

/* 通用分页器样式，确保覆盖Swiper默认样式 */
.swiper-pagination-bullet {
    width: 24px !important;
    height: 4px !important;
    margin: 0 4px !important;
    background: #ddd !important;
    border-radius: 2px !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    display: inline-block !important;
}

.swiper-pagination-bullet-active {
    background-color: #ff0031 !important;
    width: 32px !important;
}

/* 产品参数区域样式 */
.product-content {
    padding: 40px 0 0;
}

.product-content h3 {
    font-size: 32px;
    font-weight: 600;
    color: #000;
    margin-bottom: 30px;
}

.product-params-container {
    transition: all 0.3s ease;
}

.product-params-container.hidden {
    display: none;
}

.product-params {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-param-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    transition: all 0.3s ease;
    width: 31%;
}

.product-param-item:nth-child(2) {
    justify-content: center !important;
}

.product-param-item:nth-child(5) {
    justify-content: center !important;
}

.product-param-item:nth-child(3n) {
    justify-content: flex-end !important;
}

.product-param-item:last-child {
    border-bottom: none;
}

.product-param-item span {
    margin-right: 20px;
    flex-shrink: 0;
}

.product-param-item span img {
    width: 40px;
}

.product-param-item div {
    /* flex: 1; */
    width: 130px;
}

.product-param-item div p {
    font-size: 30px;
    font-weight: 700;
    color: #000;
    margin: 0 0 8px 0;
}

.product-param-item div h4 {
    font-size: 14px;
    color: #666;
    margin: 0;
    font-weight: normal;
}

/* 视频部分样式 */
.video-section {
    background: #f5f5f7;
    padding: 40px 0 60px;
}

.video-section.hidden {
    display: none !important;
}

.video-section.active {
    display: block !important;
}

.video-section h3 {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    margin-bottom: 30px;
}

.video-container {
    max-width: 100%;
    margin: 0 auto;
}

.video-container.hidden {
    display: none;
}

.product-video {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-video.hidden {
    display: none;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 比例 */
    height: 0;
    overflow: hidden;
}

.video-wrapper.hidden {
    display: none;
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.no-video {
    padding: 40px;
    text-align: center;
    background: #f0f0f0;
    color: #999;
    font-size: 16px;
    border-radius: 8px;
}

/* 解决方案部分样式 - 从index.css复制 */
.technical-support {
    background-color: #f5f5f7;
    width: 100%;
    position: relative;
}

.technical-support__container {
    width: 82.5%;
    margin-left: auto;
    margin-right: 0;
    padding-right: 15px;
    position: relative;
}

.technical-support__title {
    font-size: 24px;
    color: #000;
    margin-bottom: 50px;
    text-align: left;
}

.tech-support-swiper-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.tech-support-swiper-container .swiper-wrapper {
    align-items: stretch;
}

.tech-support-swiper-container .swiper-slide {
    height: auto;
    display: flex;
    width: 280px;
}

.tech-card {
    background: transparent;
    border: none;
    width: 100%;
}

.tech-card:hover .tech-card__image {
    transform: scale(1.05);
}

.tech-card__image-container {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    border-radius: 20px;
}

.tech-card__image {
    transition: all 0.3s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 左上角角标（P + 行业名称） */
.tech-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .95);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
}

.badge__dot {
    display: inline-flex;
    width: 22px;
    height: 22px;
    margin-top: 2px;
}

.tech-card__title {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.tech-card__description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Swiper 导航按钮样式 */
.tech-support-swiper-button-next,
.tech-support-swiper-button-prev {
    width: 30px;
    height: 30px;
    background: #e6e3f0;
    color: #605E65;
    border-radius: 50%;
    font-size: 24px;
    line-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    margin-top: 0;
    position: static;
}

.tech-support-swiper-button-next:hover,
.tech-support-swiper-button-prev:hover {
    background: #E0DDE9;
    transform: scale(1.1);
}

.tech-support-swiper-button-next:after,
.tech-support-swiper-button-prev:after {
    content: none;
}

/* 轮播控制条容器（位于轮播下方） */
.tech-support-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
}

/* 技术特点区域样式 */
.tech-features-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0;
    margin: 0 0 50px 0;
    list-style: none;
}

.tech-feature-item {
    width: 48%;
    margin-bottom: 40px;
    padding: 25px;
}

.feature-header h4 {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin: 0 0 15px 0;
}



.feature-desc p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

@media screen and (max-width: 768px) {
    .tech-feature-item {
        width: 100%;
    }
}

/* 使用common.css中的通用工具类 */

/* 响应式设计 */
@media screen and (max-width: 992px) {
    .technical-support__container {
        width: 85%;
    }

    .technical-support__title {
        font-size: 28px;
    }

    .tech-card__image-container {
        height: 300px;
    }
}

@media screen and (max-width: 768px) {
    .technical-support {
        padding: 60px 0;
    }

    .technical-support__container {
        width: 95%;
        padding-right: 15px;
        padding-left: 15px;
        margin-left: auto;
        margin-right: auto;
    }

    .technical-support__title {
        font-size: 24px;
        margin-bottom: 30px;
        text-align: center;
    }

    .tech-card__image-container {
        height: 220px;
    }

    .tech-card__title {
        font-size: 18px;
    }

    .tech-card__description {
        font-size: 13px;
    }

    .tech-support-swiper-button-next,
    .tech-support-swiper-button-prev {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}