* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: #333;
}

ul, li {
    list-style: none;
}

img {
    width: 100%;
    display: block;
}

body {
    font-family: Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    padding-top: 50px;
    line-height: 1.6;
    font-size: 16px;
}


@font-face {
    font-family: "iconfont";
    /* Project id 4975269 */
    src: url('https://at.alicdn.com/t/c/font_4975269_zumnmbyonh.woff2?t=1753069363355') format('woff2'),
        url('https://at.alicdn.com/t/c/font_4975269_zumnmbyonh.woff?t=1753069363355') format('woff'),
        url('https://at.alicdn.com/t/c/font_4975269_zumnmbyonh.ttf?t=1753069363355') format('truetype');
}

.iconfont {
    font-family: "iconfont" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-paimaizixun:before {
    content: "\e6ee";
}

.icon-yanjing:before {
    content: "\e8bf";
}

.icon-huo:before {
    content: "\e662";
}

.icon-bofang:before {
    content: "\e61c";
}

.icon-shipin:before {
    content: "\10101";
}

.icon-lianjie2:before {
    content: "\e6c6";
}

.icon-yueduliang:before {
    content: "\e9c1";
}

.icon-bugaoxing:before {
    content: "\e6b7";
}

.icon-gaoxing:before {
    content: "\e6bc";
}

.icon-shoucangxuanzhong:before {
    content: "\eb2e";
}

.icon-shijian:before {
    content: "\eb2f";
}

.icon-shoucang:before {
    content: "\eb30";
}

.icon-chaxun:before {
    content: "\eb31";
}

.icon-shouye:before {
    content: "\e8b9";
}

.icon-shouye1:before {
    content: "\e8c6";
}

.icon-fandui:before {
    content: "\e63f";
}

.icon-dianzan:before {
    content: "\e640";
}

.icon-lianjie:before {
    content: "\e649";
}

.icon-aixin:before {
    content: "\e64f";
}

.icon-shoucang1:before {
    content: "\e669";
}

.icon-dianzan1:before {
    content: "\e6b9";
}

.icon-fandui1:before {
    content: "\e6ba";
}

.icon-lianjie1:before {
    content: "\e6c3";
}

.icon-shoucang2:before {
    content: "\e6cb";
}

.icon-sousuo:before {
    content: "\e6cc";
}

.icon-shijian1:before {
    content: "\e60f";
}

.icon-xinchebaojia:before {
    content: "\e602";
}

.icon-aichegujiabeifen6:before {
    content: "\e607";
}

.icon-dianzan2:before {
    content: "\ebc2";
}

.icon-dianzanxuanzhong:before {
    content: "\ebc3";
}

.icon-car:before {
    content: "\e776";
}



.page-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* 固定头部样式 */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 50px;
    background-color: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    z-index: 100;
}

header a.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

header a.logo img {
    width: 100px;
}

nav {
    display: flex;
    align-items: center;
}

nav>a {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-right: 15px;
    font-size: 14px;
    color: #999999;
    display: flex;
    align-items: center;
}

.nav>a i {
    margin-right: 2px;
}

/* 汉堡菜单图标样式 */
.menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
    z-index: 200;
    /* 确保图标在导航之上 */
}

.menu-icon span {
    width: 100%;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

/* 全屏导航样式 */
.fullscreen-nav {
    position: fixed;
    top: 50px;
    left: 50%;
    width: 100%;
    max-width: 1400px;
    height: 100%;
    transform: translateX(-50%);
    overflow-y: auto;
    padding-bottom: 60px;
    background-color: #ffffff;
    z-index: 150;
    /* 确保导航在内容之上 */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    box-sizing: border-box;
}

.fullscreen-nav h3 {
    padding-left: 10px;
    text-transform: uppercase;
}

.fullscreen-nav.active {
    opacity: 1;
    visibility: visible;
}

.fullscreen-nav ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 10px;
    gap: 10px;
}

.fullscreen-nav ul li {
    width: 100%;
    line-height: 2;
    text-align: center;
    background-color: #f2f4fa;
}

.fullscreen-nav ul li a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: transform 0.2s ease;
}

.fullscreen-nav ul li a:hover {
    transform: scale(1.1);
}

/* 关闭按钮样式 */
.menu-icon.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.menu-icon.active span:nth-child(2) {
    opacity: 0;
}

.menu-icon.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

.banner {
    width: 100%;
    height: auto;
}

.category-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 10px;
}

.category-icons a {
    flex: 0 0 25%;
    box-sizing: border-box;
    text-align: center;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    overflow: hidden;
}

.category-icons a img {
    width: 55px;
    height: 55px;
    margin-bottom: 5px;
}

.category-icons a span {
    font-size: 12px;
    white-space: nowrap;
}

section {
    padding: 10px 10px 15px 10px;
    border-bottom: 10px solid #f2f4fa;
}

section h2 {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    text-transform: uppercase;
    word-break: break-word;
}

section h3 {
    margin-bottom: 10px;
    font-size: 22px;
    line-height: 1.6;
}

section h2 a {
    color: #007bff;
    font-size: 14px;
    font-weight: normal;
}


.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    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 a p {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 32px;
    line-height: 32px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 0 10px;
    font-size: 16px;
    box-sizing: border-box;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}


.swiper-slide a {
    display: block;
    width: 100%;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.swiper-pagination-fraction {
    bottom: 40px;
    text-align: right;
    padding-right: 10px;
    color: #fff;
}

.swiper-pagination-pro {
    bottom: 0;
    text-align: center;
    padding-right: 0;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 15px;
}

.news-item {
    display: flex;
    height: 100%;
    overflow: hidden;
}

.news-item a {
    position: relative;
    flex: 0 0 auto;
}


.news-item img {
    width: 120px;
    aspect-ratio: 3/2;
    height: auto;
    margin-right: 10px;
    display: block;
    object-fit: cover;
}

.news-item a.video span {
    position: absolute;
    right: 10px;
    bottom: 0;
    padding: 2px 3px;
    border-radius: 2px;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    font-size: 12px;
    line-height: normal;
}

.news-item a.video span i {
    font-size: 12px;
}

.news-item a.video::after {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    content: "";
    width: 40px;
    height: 40px;
    background: url("../images/v-icon.png") no-repeat center center;
    background-size: contain;
    border-radius: 5px;
}


.products-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.product-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
}

.product-item img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.news-item p,
.product-item p {
    height: 48px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}



.videos-list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
}

.videos-list .video-item {
    display: flex;
    flex-direction: column;

}

.videos-list .video-item>a {
    display: block;
    position: relative;
}

.videos-list .video-item>a>i {
    position: absolute;
    font-size: 60px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
}

.videos-list .video-item>a span {
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 2px 4px;
    border-radius: 2px;
    font-size: 12px;
    line-height: normal;
}

.videos-list .video-item>a span i {
    font-size: 12px;
    margin-right: 2px;
}


.videos-list .video-item img {
    width: 100%;
    aspect-ratio: 16/9;
    height: auto;
    margin-right: 10px;
    display: block;
}

.video-title {
    margin-bottom: 5px;
    margin-top: 5px;
    hyphens: auto;
    word-break: break-word;
    /* 确保长单词可以断行 */
    /* text-align: justify; */
    /* 可选，使文本两端对齐 */
    /* 确保浏览器支持 */
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
}

.item-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    overflow: hidden;
}

.item-des {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #999;
    line-height: normal;
    width: 100%;
}


.item-des span:first-child {
    width: 130px;
    overflow: hidden;
}

.item-des span:nth-child(2) {
    width: 60px;
}


.item-des span:last-child {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: right;
}


.item-des span a {
    color: #999999;
    background-color: #f2f4fa;
    padding: 3px 5px;
    border-radius: 2px;
    text-transform: uppercase;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.item-des span i {
    font-size: 12px;
    margin-right: 2px;
}

.item-des span.ask a {
    background-color: #ffffff;
    padding: 0;
    color: #ff8300;
}

.advisor-form {
    display: flex;
    flex-direction: column;
    max-width: 1400px;
}

.form-group {
    margin-bottom: 15px;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.submit-btn {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

.submit-btn:hover {
    background-color: #0056b3;
}

.code-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.code-display {
    background-color: #007bff;
    color: white;
    padding: 0 15px;
    border-radius: 4px;
    height: 33px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.links a {
    flex: 1;
    text-decoration: none;
    color: #333;
}

.links a img {
    display: block;
    width: 100%;
}

footer {
    text-align: center;
    font-size: 14px;
    color: #999999;
    line-height: 2;
    padding: 20px 0;
}

footer a {
    color: #007bff;
}


/* 新闻 */

.news-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.news-nav li {
    list-style: none;
    font-size: 14px;
    background-color: #f2f4fa;
}

.brand-nav li {
    flex: 1;
}

.brand-nav li a {
    text-align: center;
    height: 40px;
    line-height: 40px;
}

.brand-nav li.on a {
    font-weight: bold;
}


.news-nav li a {
    display: block;
    position: relative;
    color: #333;
    padding: 2px 8px;
    border-radius: 2px;
}

.news-nav li.on {
    background-color: #ccebff;
}

.news-nav li.on a {
    color: #007bff;
}

.article-content {
    line-height: 1.8;
    hyphens: auto;
    word-break: break-word;
    /* 确保长单词可以断行 */
    text-align: justify;
    /* 可选，使文本两端对齐 */
    /* 确保浏览器支持 */
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
}

.article-content p {
    margin-bottom: 10px;
}

.article-content img {
    margin: 0 auto 10px auto;
    max-width: 100%;
    width: 100% !important;
    height: auto !important;
}

.artilce-meta {
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #999;
    margin-bottom: 10px;
}

.artilce-meta span i {
    font-size: 12px;
    margin-right: 2px;
}

.article-fixed {
    position: fixed;
    width: 100%;
    max-width: 1400px;
    padding: 5px 10%;
    height: 50px;
    background-color: #ffffff;
    border: 1px solid #eee;
    border-bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    z-index: 99;
}

.article-fixed p {
    display: flex;
    align-items: center;
}

.article-fixed p a{
    display: flex;
    align-items: center;
    color: #ff8300;
}

.article-fixed p i {
    font-size: 20px;
    margin-right: 4px;
}


.article-fixed p.liked {
    color: #f44336;
}

.article-fixed p.disliked {
    color: #f44336;
}

.article-fixed p i.icon-yanjing {
    color: #333;
}

.article-footer {
    padding-bottom: 60px;
}

/* 视频 */

.player-container-id-dimensions {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
}

.video-js {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.video-del p {
    margin-bottom: 10px;
    color: #666666;
    word-break: break-word;
    hyphens: auto;
    text-align: justify;
}

/* 产品详情 */

.pro-table {
    margin-top: 10px;
}

.pro-table table {
    width: 100%;
    border-collapse: collapse;
}

.pro-table table tr {
    display: flex;
}

.pro-table table th,
.pro-table table td {
    border-bottom: 1px solid #e3e3e3;
    padding: 5px;
    word-break: break-word;
    flex: 1;
}

.pro-table table th {
    background-color: #f2f4fa;
}

.pro-table table td:first-child {
    border-right: 1px solid #e3e3e3;
    flex: 0 0 auto;
    width: 120px;
    word-break: break-word;
}

.brands-container {
    flex: 1;
}

.brand-section {
    margin-bottom: 20px;
}

.brand-letter {
    font-size: 14px;
    font-weight: bold;
    padding: 2px 10px;
    margin-bottom: 15px;
    color: #333;
    position: sticky;
    top: 0;
    background-color: #f2f4fa;
    z-index: 1;
}

.brand-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, 1fr);
    gap: 10px;
}

.brand-card {
    background-color: white;
    padding: 10px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e3e3e3;
}

.brand-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.brand-name {
    font-size: 16px;
    font-weight: 600;
    margin-left: 10px;
}

.index-sidebar {
    width: 40px;
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 10px 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

.index-letter {
    font-size: 14px;
    font-weight: bold;
    color: #666;
    padding: 3px 0;
    cursor: pointer;
    width: 100%;
    text-align: center;
    transition: all 0.2s ease;
}

.index-letter:hover {
    color: #0066cc;
    transform: scale(1.2);
}

.index-letter.active {
    color: #0066cc;
    transform: scale(1.3);
}

.brand-msg {
    display: flex;
}

.brand-msg img {
    flex: 0 0 auto;
    width: 120px;
    border: 1px solid #eeeeee;
    margin-right: 10px;
}

.brand-title {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.brand-title h2 {
    font-size: 16px;
}

.partnership-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: center;
}

.partnership-logos li {
    padding: 10px;
    border: 1px solid #eeeeee;
}


.search-container {
    display: flex;
}

#search-input {
    flex: 1;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
}

#search-button {
    padding: 10px 20px;
    background-color: #4285f4;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 16px;
}

#search-button:hover {
    background-color: #3367d6;
}

.search-results {
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 15px;
    min-height: 200px;
}

.result-item {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.highlight {
    background-color: yellow;
    font-weight: bold;
}

.no-results {
    color: #666;
    font-style: italic;
}


.content-tabs {
    display: flex;
    padding: 10px;
    box-sizing: border-box;
}

.tab-btn {
    padding: 8px 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    border: 1px soid #e3e3e3;
    background-color: #ccebff;
    margin-right: 10px;
    text-transform: uppercase;
    border-radius: 2px;
    color: #333;
}

.tab-btn.active {
    background-color: #0066cc;
    color: #fff;
    font-weight: bold;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}



@media (min-width: 768px) {
    .pro-table table td:first-child {
        width: 30%;
    }

    .fullscreen-nav ul {
        grid-template-columns: repeat(3, 1fr);
    }

    .article-content img {
        width: auto !important;
    }

    .swiper-slide img {
        height: 400px;
    }

    .links a img {
        display: block;
        width: 60%;
        margin: 0 auto;
    }

    .partnership-logos {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* 可选：在大屏幕上调整布局 */
@media (min-width: 992px) {
    .category-icons a {
        flex: 0 0 12.5%;
        /* 8个图标一行 */
    }

    .products-list {
        grid-template-columns: repeat(4, 1fr);
    }

    .videos-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .news-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .news-item {
        display: flex;
    }


    .category-icons a img {
        width: 68px;
        height: 68px;
        margin-bottom: 5px;
    }

    .fullscreen-nav ul li a {
        height: 40px;
    }

    .swiper-slide img {
        height: 500px;
    }
}