@CHARSET "UTF-8";
:root {
    --primary-color: #f36f21; /* Orange from image */
    --text-color: #333;
    --light-text: #fff;
    --bg-light: #f9f9f9;
    --bg-dark: #1a1a1a;
    --font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --container-width: 1200px;
    --section-padding: 60px 0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

h3 {
    font-weight: bold;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    padding: 0;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.container:before,
.container:after {
    content: none;
    display: none;
}

a:hover {
    text-decoration: none;
}

.section-padding {
    padding: var(--section-padding);
}

.section-title {
    font-weight: 800;
    color: #000;
    margin-bottom: 20px;
    line-height: 1.2;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.btn-primary:hover {
    background-color: #d65a18;
}


.btn-small {
    padding: 5px 15px;
}

/* <---顶部栏 */
.top-bar {
    background-color: #000;
    color: #fff;
    padding: 5px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* <--- 语言选择器样式 --> */
.language-selector {
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    transition: all 0.3s;
}

.language-selector i.fa-chevron-down {
    font-size: 10px;
    transition: transform 0.3s;
}

.language-selector.active i.fa-chevron-down {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    min-width: 180px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 5px;
}

.language-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #fff;
}

.language-dropdown ul {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.language-dropdown li {
    margin: 0;
}

.language-dropdown a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
}

.language-dropdown a:hover {
    background-color: var(--primary-color);
    color: #fff;
    padding-left: 25px;
}

.language-dropdown a.active {
    background-color: var(--primary-color);
    color: #fff;
}

.language-selector.active .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 767px) {
    .language-dropdown {
        left: auto;
        min-width: 160px;
    }

    .language-dropdown::before {
        left: auto;
        right: 20px;
    }
}

/* 语言选择器样式 --> */

.social-icons {
    margin-left: auto;
}

.social-icons a {
    margin-left: 15px;
    color: #fff;
}

/* 顶部栏--> */
/* <---导航栏 */
.main-header {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 100px;
    height: auto;
}

.nav li {
    display: inline-block;
    margin: 0 10px;
}

.nav li a {
    color: #595757;
    padding: 10px 0;
}

.nav li.menu-select {
    border-bottom: 2px solid #F36F21FF;
}

.nav li:hover a {
    color: #F36F21FF;
}

.main-nav ul {
    display: flex;
    gap: 30px;
    margin: 0 0 0px 25px;
}

.main-nav a {
    font-weight: 500;
    text-transform: uppercase;
}

.main-nav a:hover {
    color: var(--primary-color);
}

@media (max-width: 1200px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }
}

/* 导航栏---> */

/* <--- 搜索栏 */
.header-actions {
    display: flex;
    gap: 20px;
}

.header-actions i {
    cursor: pointer;
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
}

.search-container {
    position: relative;
    display: inline-block;
}

.search-toggle {
    display: block;
    color: var(--text-color);
    transition: color 0.3s;
}

.search-toggle:hover {
    color: var(--primary-color);
}

.search-container {
    position: relative;
    display: inline-block;
}

.search-checkbox {
    display: none;
}

.search-toggle {
    display: block;
    color: var(--text-color);
    transition: color 0.3s;
    cursor: pointer;
}

.search-toggle:hover {
    color: var(--primary-color);
}

.search-box {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    min-width: 300px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.search-box form {
    margin: 0px;
}

.search-form {
    display: flex;
    align-items: center;
}

.search-form input {
    margin: 0px;
    height: auto;
}

.search-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    outline: none;
    font-size: 14px;
    height: 34px;
    box-sizing: border-box;
    line-height: 1.4;
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(243, 111, 33, 0.1);
}

.search-button {
    padding: 0 12px;
    background: var(--primary-color);
    border: 1px solid #ddd;
    border-left: none;
    border-radius: 0 4px 4px 0;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
    height: 34px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-button:hover {
    background: #d65a18;
}

.search-checkbox:checked ~ .search-box {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 1200px) {
    .header-actions {
        display: none;
    }

    .search-box {
        min-width: 250px;
        right: -50px;
    }

    .search-input, .search-button {
        height: 40px;
    }

    .mobile-menu-toggle {
        display: block;
    }
}

/* 搜索栏 --> */
/* <- 底部样式 */
.main-footer {
    background-color: #111;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-logo {
    width: 100px;
}

.footer-nav {
    display: flex;
    gap: 50px;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a:hover {
    color: var(--primary-color);
}
.footer-newsletter {
    width: 450px;
}

.footer-newsletter h3 {
    color: #fff;
    font-weight: normal;
    font-size: 20px;
    margin: 0px;
}

.footer-newsletter form {
    display: flex;
    background: #333;
    padding: 5px;
    border-radius: 5px;
}

.footer-newsletter input {
    background: transparent;
    border: none;
    color: #fff;
    flex: 1;
    outline: none;
    height: auto;
    margin: 0px;
}

.footer-newsletter button {
    background: #fff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    margin: 5px;
}

.footer-social {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    color: #666;
}

.footer-legal a {
    margin-left: 20px;
}
@media (max-width: 979px){
    .footer-newsletter {
        width: 100%;
    }
}
@media (max-width: 767px) {
    .footer-top {
        flex-direction: column;
        gap: 30px;
    }

    .footer-nav {
        gap: 100px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-legal {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .footer-legal a {
        margin-left: 0;
    }
}

/* -> */
/* <-- 通用分页器 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination li {
    list-style: none
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    border-radius: 5px;
    color: #666;
    font-weight: 500;
    transition: all 0.3s;
    border: 1px solid #eee;
    background-color: #fff;
    text-decoration: none;
}

.pagination a:hover {
    background-color: #f9f9f9;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination li:hover {
    cursor: pointer;
}

.pagination li.active {
    background-color: #000;
    color: #fff;
    border-color: #000;
    border-radius: 5px;
}

.pagination .active span {
    display: inline-block; /* 或者 block */
    width: 40px; /* 设置固定宽度 */
    height: 40px; /* 设置固定高度 */
    background-color: #000; /* 黑色背景 */
    border-radius: 5px; /* 圆角 */
    text-align: center; /* 文字居中 */
    line-height: 40px; /* 垂直居中 */
}

@media (max-width: 767px) {
    .pagination {
        flex-wrap: wrap;
    }
}

/*  通用分页器 ---> */
/* <- 通用轮播图 */
.swiper-slide a {
    display: block;
}

.swiper-slide img {
    width: 100%;
}

#banner-swiper .swiper-slide a {
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 100%;
}

#banner-swiper .swiper-slide img {
    opacity: 0;
    height: 500px
}

#banner-swiper .swiper-slide.swiper-slide-active a {
}

#banner-swiper .slide-info {
    cursor: pointer;
    position: absolute;
    bottom: 100px;
    left: 100px;
    right: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
    flex-wrap: wrap;
    gap: 15px;
}

#banner-swiper .slide-title-container {
    flex: 1 1 auto;
    min-width: 0;
}

#banner-swiper .slide-btn-container {
    flex-shrink: 0;
}

#banner-swiper .slide-title {
    color: #fff;
    font-size: 0.4rem;
    font-weight: bold;
    background: transparent;
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateX(-30px);
    display: block;
}

#banner-swiper .swiper-slide-active .slide-title {
    opacity: 1;
    transform: translateX(0);
}

#banner-swiper .slide-btn {
    padding: 10px 30px;
    height: auto;
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    font-family: Helvetica, Arial, sans-serif;
    transition: all 0.6s;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    text-shadow: 0 0 0 rgba(255, 255, 255, 1);
    white-space: nowrap;
}

#banner-swiper .slide-btn:hover {
    background: #000000;
    border-color: #ffffff;
    color: #ffffff;
}

/*轮播图圆点样式*/
#banner-swiper .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: #fff;
    opacity: 1;
    margin: 0 10px;
}

#banner-swiper .swiper-pagination-bullet-active {
    width: 11px;
    height: 11px;
    /* 这里实现空心效果 */
    background: transparent;
    border: 2px solid #fff;
}

/*轮播图左右按钮样式*/
#banner-swiper .swiper-button-prev,
#banner-swiper .swiper-button-next {
    background: rgba(160, 160, 160, 0.6);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #363a3a;
    transition: all 0.3s;
}

#banner-swiper .swiper-button-prev:hover,
#banner-swiper .swiper-button-next:hover {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

#banner-swiper .swiper-button-prev::after,
#banner-swiper .swiper-button-next::after {
    font-size: 23px;
    font-weight: bold;
    transition: color 0.3s;
}

#banner-swiper .swiper-button-prev:hover::after,
#banner-swiper .swiper-button-next:hover::after {
    color: #fff;
}

@media (max-width: 768px) {
    #banner-swiper .swiper-slide img {
        opacity: 0;
        height: 400px
    }

    #banner-swiper .slide-info {
        bottom: 60px;
        left: 20px;
        right: 20px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    #banner-swiper .slide-title-container {
        width: 100%;
    }

    #banner-swiper .slide-title {
        font-size: 0.7rem;
        margin-bottom: 10px;
    }

    #banner-swiper .slide-btn {
        padding: 8px 24px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    #banner-swiper .swiper-slide img {
        opacity: 0;
        height: 400px
    }

    #banner-swiper .slide-info {
        bottom: 50px;
        left: 15px;
        right: 15px;
        align-items: center;
        justify-content: center;
    }

    #banner-swiper .slide-title-container {
        width: 100%;
    }

    #banner-swiper .slide-title {
        font-size: 0.7rem;
    }

    #banner-swiper .slide-btn {
        padding: 6px 20px;
        font-size: 14px;
    }

    #banner-swiper .swiper-button-prev,
    #banner-swiper .swiper-button-next {
        display: none;
    }
}

/* --> */
/* <- 通用左右滑动 */
.carousel-prev, .carousel-next {
    background: #ccc;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    transition: background 0.3s;
    position: absolute;
    z-index: 10;
}

.carousel-prev:hover, .carousel-next:hover {
    background: var(--primary-color);
}

.carousel-prev {
    left: -20px;
}

.carousel-next {
    right: -20px;
}

@media (max-width: 767px) {
    .carousel-next {
        right: 0px;
    }

    .carousel-prev {
        left: 0px;
    }
}

@media (max-width: 576px) {
    .carousel-next {
        right: -1px;
    }

    .carousel-prev {
        left: -1px;
    }
}

/* --> */

/* <-- New Releases */
.product-carousel {
    position: relative;
    display: flex;
    align-items: center;
}

.product-list {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    width: 100%;
    scrollbar-width: none; /* Firefox */
}

.product-list::-webkit-scrollbar {
    display: none;
}

.product-item {
    flex: 0 0 calc(25% - 20px);
    text-align: center;
}

.product-item img {
    margin: 0 auto 15px;
    height: 250px;
    object-fit: contain;
}

@media (max-width: 767px) {
    .product-item {
        flex: 0 0 calc(50% - 15px);
    }
}

/* -->  */

/* <--- Featured Picks */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
}

.featured-item {
    position: relative;
    height: 300px;
    overflow: hidden;
    color: #fff;
}

.featured-content {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 80%;
}

.featured-content h3 {
    font-size: 38px;
    margin-bottom: 5px;
    color: #fff;
}

.featured-content p {
    margin-bottom: 15px;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
}

.btn-outline {
    padding: 8px 20px;
    font-size: 12px;
    color: var(--primary-color);
    background: var(--light-text);
    position: relative;
    overflow: hidden;
    transition: color 0.6s ease, border-color 0.6s ease;
    z-index: 1;
    border-radius: 30px;
    border: 2px solid var(--light-text);
    box-sizing: border-box;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.6s ease;
    z-index: -1;
    display: block;
    border-radius: 30px;
}

.btn-outline:hover {
    color: var(--light-text);
    border-color: var(--primary-color);
}

.btn-outline:hover::before {
    transform: scaleY(1);
    transform-origin: bottom;
}


@media (max-width: 767px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
}

/* Featured Picks --> */
/* <--- 首页产品分类 */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.category-item {
    background-color: var(--bg-light);
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.category-info {
    z-index: 1;
}

.category-info h3 {
    margin-bottom: 15px;
    line-height: 1.2;
}

.category-item img {
    max-height: 150px;
    width: 200px;
}

.category-btn-more {
    padding: 5px 15px;
    background-color: var(--primary-color);
    color: var(--light-text);
    display: inline-block;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: all 0.6s ease;
}

.category-btn-more:hover {
    background: #000000;
    border-color: #ffffff;
    color: #ffffff;
}

@media (max-width: 767px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* 首页产品分类--> */

/* Partners */
.partners {
    background-color: var(--bg-light);
}

.partners-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-list {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    width: 100%;
    scrollbar-width: none; /* Firefox */
}

.partner-list::-webkit-scrollbar {
    display: none;
}

.partner-card {
    flex: 0 0 calc(50% - 10px); /* 桌面端每行显示2个 */
    display: flex;
    gap: 20px;
    background: #fff;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    min-height: 160px;
    position: relative;
}

.partner-card:hover {
    transform: translateY(-5px);
}

.partner-image {
    flex: 0 0 auto; /* 图片容器不伸缩 */
    width: 120px;
    height: 100%;
    min-width: 120px;
    min-height: 100%;
}

.partner-image img {
    border-radius: 5px;
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: center;
}

.partner-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding-left: 10px;
    word-wrap: break-word; /* 允许长单词换行 */
    overflow: hidden; /* 防止内容溢出 */
}

.partner-info h3 {
    margin-bottom: 8px;
    font-weight: bold;
    white-space: nowrap; /* 防止换行 */
    overflow: hidden; /* 隐藏溢出文本 */
    text-overflow: ellipsis; /* 显示省略号 */
    align-self: flex-start; /* 固定在左侧 */
    flex-shrink: 0; /* 防止收缩 */
    min-width: 0; /* 允许收缩到内容宽度以下 */
}

.partner-info p {
    color: #666;
    font-style: italic;
    flex: 1; /* 占据剩余空间 */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0; /* 重置默认边距 */
    align-self: flex-start; /* 左对齐 */
    word-break: break-word; /* 允许在任意字符间换行 */
    min-height: 0; /* 防止过度收缩 */
}

@media (max-width: 767px) {
    .partner-card {
        flex-direction: column; /* 移动端垂直排列 */
        text-align: center;
        gap: 15px;
        flex: 0 0 100%; /* 移动端每行显示一个 */
        align-items: center; /* 居中对齐 */
        padding: 15px;
        min-height: auto;
    }

    .partner-info {
        text-align: center;
        padding-left: 0;
        width: 100%; /* 占满容器 */
    }

    .partner-info h3,
    .partner-info p {
        text-align: center;
        align-self: center;
        white-space: normal; /* 移动端允许换行 */
        width: 100%; /* 占满容器 */
    }

    .partner-info h3 {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .partner-image {
        min-width: 80px; /* 移动端图片尺寸 */
        min-height: 80px;
        width: 80px;
        height: 80px;
    }
}

/* --> */

/* News & Insights */
.news-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}

.news-item.large {
    position: relative;
    overflow: hidden;
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-height: 250px;
}

.news-item.large .news-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.news-item.large .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.news-item.large::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 1;
}

.news-item.large .news-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    z-index: 2;
    max-width: 90%;
    /* 添加背景色半透明，提升小屏可读性 */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
    word-wrap: break-word;
    hyphens: auto;
}

.news-item.large .date {
    font-size: 14px;
    color: #ddd;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.news-item.large h3 {
    font-size: 24px;
    margin: 0 0 15px;
    line-height: 1.3;
    font-weight: bold;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-item.large .read-more {
    color: white;
    text-decoration: underline;
    font-size: 14px;
    font-weight: 500;
    margin-top: 10px;
}

.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item.small {
    display: flex;
    gap: 20px;
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
    align-items: flex-start; /* 关键：让内容顶部对齐 */
}

.news-item.small:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-item.small .news-image {
    flex-shrink: 0;
    width: 160px;
    height: 160px;
    border-radius: 8px;
    overflow: hidden;
}

.news-item.small .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-item.small .news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-item.small .date {
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}

.news-item.small .date i {
    font-size: 12px;
}

.news-item.small h3 {
    font-size: 16px;
    margin: 0 0 10px;
    line-height: 1.4;
    font-weight: 500;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-item.small .read-more {
    font-size: 13px;
    margin-top: 5px;
}

/* --> */

/* <--- 经销商、保修、关于纳拓共用 */
.hero-overlay {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-title {
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.form-section {
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
    margin-top: 40px;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.form-row {
    display: flex;
    gap: 20px;
}

.btn-submit {
    width: 100%;
    padding: 15px 30px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    margin-top: 30px;
}

.btn-submit:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.btn-submit.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@media (max-width: 576px) {
    .form-section {
        padding: 20px;
    }
}

@media (max-width: 767px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-section {
        padding: 25px;
    }
}

/*  --> */

/* <--- about_nextool */
.about-hero {
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 80px;
}

.about-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2));
}

.about-content {
    padding: 80px 100px 60px 100px;
}

.content-layout {
    display: flex;
    align-items: flex-start;
}

.content-images {
    flex: 0 0 50%;
}

.image-stack {
    position: relative;
    height: 100%;
}

.image-large {
    position: relative;
    z-index: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: rotate(3deg);

    width: 80%; /* 让大图变瘦 */
    margin: 0 auto; /* 居中 */
}

.image-large img {
    width: 100%; /* 填充容器宽度 */
    height: 550px; /* 👈 固定高度！这是关键 */
    object-fit: cover; /* 👈 保证图片填满容器且不拉伸变形 */
    object-position: center; /* 图片居中裁剪 */
    display: block;
}

.image-small {
    position: absolute;
    top: 50%; /* 定位在大图垂直中心 */
    left: -50px; /* 向左偏移 */
    transform: translateY(-45%) rotate(-7deg); /* 小图逆时针倾斜 */
    z-index: 2;
    width: 45%; /* 小图宽度 */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.image-small img {
    width: 100%;
    height: 300px; /* 👈 固定高度，根据你的设计调整 */
    object-fit: cover; /* 裁剪填充，保持比例 */
    object-position: center;
    display: block;
}

@media (max-width: 992px) {
    .content-layout {
        flex-direction: column;
    }

    .image-small {
        position: relative;
        bottom: auto;
        right: auto;
        width: 60%;
        margin-top: -60px;
        margin-left: auto;
        margin-right: 20px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .about-hero {
        height: 400px;
        margin-bottom: 40px;
    }

    .image-small {
        width: 70%;
        margin-top: -40px;
        margin-right: 10px;
    }
}

@media (max-width: 576px) {
    .image-stack {
        margin-bottom: 20px;
    }

    .image-small {
        position: relative;
        width: 80%;
        margin: -30px auto 0;
        right: auto;
    }
}

/* --> */


/* <-- 联系我们 */
.contact-page {
    padding: 60px 0 50px;
    background-color: #fff;
}

.contact-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.contact-form-section {
    flex: 1;
}

.form-title {
    font-weight: 800;
    color: #000;
    margin-bottom: 15px;
    line-height: 1.2;
}

.form-subtitle {
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-form {
    max-width: 100%;
}

.btn-submit:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.form-disclaimer {
    color: #999;
    line-height: 1.6;
    margin: 0;
}

.form-disclaimer a {
    color: #666;
    text-decoration: underline;
    transition: color 0.3s;
}

.form-disclaimer a:hover {
    color: var(--primary-color);
}

.contact-info-section {
    flex: 0 0 350px;
    padding-top: 20px;
}

.info-item {
    margin-bottom: 40px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-label {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 15px;
}

.info-value {
    color: #000;
    line-height: 1.6;
    margin-bottom: 10px;
}

.info-value:last-child {
    margin-bottom: 0;
}

.info-value a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
}

.info-value a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    border-radius: 50%;
    color: #000;
    transition: all 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

@media (max-width: 992px) {
    .contact-layout {
        flex-direction: column;
        align-items: center;
    }

    .contact-info-section {
        flex: 0 0 auto;
        padding-top: 0;
        align-items: center;
    }
}

@media (max-width: 767px) {
    .contact-page {
        padding: 40px 0 60px;
    }

    .info-item {
        margin-bottom: 30px;
    }
}

/* 联系我们--> */

/* <-- 成为经销商 */
.dealer-hero {
    height: 500px;
    background-color: #333;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 60px;
}
.dealer-intro{
    margin-top: 60px;
}
.dealer-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-text {
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.intro-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.intro-text a:hover {
    text-decoration: underline;
}

.advantages-section {
    margin-bottom: 40px;
}

.advantages-title {
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
}

.advantages-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.advantages-list li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    line-height: 1.6;
    color: #333;
}

.advantages-list li i {
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.account-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.account-types-title {
    grid-column: 1 / -1;
    font-weight: 700;
    margin-bottom: 0;
    color: #000;
}

.account-type-item {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.account-type-item h3 {
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
}

.account-type-item p {
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.dealer-form-section {
    padding: 60px 0 100px;
    background-color: #f9f9f9;
}

.form-main-title {
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    color: #000;
}

.dealer-form {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-section-title {
    font-weight: 700;
    margin-bottom: 25px;
    color: #000;
}

.char-counter {
    text-align: right;
    color: #999;
    margin-top: 5px;
}

.char-counter span {
    font-weight: 600;
}

.field-hint {
    font-size: 14px;
    font-weight: normal;
    margin-left: 5px;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.checkbox-label:hover {
    background-color: #f9f9f9;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.checkbox-label span {
    color: #333;
}

@media (max-width: 767px) {
    .dealer-hero {
        height: 400px;
        margin-bottom: 40px;
    }

    .dealer-form-section {
        padding: 40px 0 60px;
    }

    .dealer-form {
        padding: 25px;
    }
}

@media (max-width: 992px) {
    .account-types {
        grid-template-columns: 1fr;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }

    .dealer-form {
        padding: 30px;
    }
}

/* 成为经销商----> */

/* <---输入框统一样式 */
.form-group {
    flex: 1;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    background-color: #fff;
    color: #333;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input {
    padding: 12px;
}

.form-group select {
    appearance: none;
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-left: 12px;
    cursor: pointer;
}
/*这段给contact us用*/
.form-group select:valid {
    color: #333;
}

.form-group select:invalid,
.form-group select option[value=""] {
    color: #999;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(243, 111, 33, 0.1);
}

/*.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #e74c3c;
}

.form-group input:valid:not(:placeholder-shown),
.form-group select:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: #27ae60;
}*/

.form-group.error .error-message {
    display: block;
}

.success-message {
    background-color: #27ae60;
    color: #fff;
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: none;
}

.success-message.show {
    display: block;
}

.error-message {
    color: #e74c3c;
    margin-top: 5px;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

.form-group.error input,
.form-group.error textarea {
    border-color: #e74c3c;
}

/*  统一输入框样式--> */

/* <---- 产品详情*/
.product-detail-page {
    padding: 40px 0;
    background-color: #fff;
}

.product-layout {
    display: flex;
    gap: 60px;
}

.product-images {
    flex: 0 0 50%;
    display: flex;
    gap: 20px;
}

.main-image {
    flex: 1;
    position: relative;
}

.main-image img {
    width: 100%;
    height: 488px;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.thumbnail-gallery {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 500px;
    overflow-y: hidden;
    scrollbar-width: none;
}

.thumbnail-gallery::-webkit-scrollbar {
    display: none; /* Chrome/Safari隐藏滚动条 */
}

.thumbnail-gallery::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.thumbnail-gallery::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 2px;
}

.thumbnail-container {
    max-height: 350px;
    height: 350px;
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    transition: scroll-top 0.3s ease-out;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.3s;
    flex-shrink: 0;
}

.thumbnail:hover {
    border-color: var(--primary-color);
}

.thumbnail.active {
    border-color: var(--primary-color);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 防止图片被压缩变形 */
    display: block;
}

.thumbnail-scroll {
    text-align: center;
    padding: 10px;
    color: #999;
    cursor: pointer;
}

.thumbnail-scroll:hover {
    color: var(--primary-color);
}

.product-details {
    padding: 20px;
}

.product-title {
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.2;
    color: #000;
}

.color-selector {
    margin-bottom: 30px;
}

.color-label {
    display: block;
    margin-bottom: 15px;
    color: #666;
}

.color-label strong {
    color: #000;
    font-weight: 600;
}

.color-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    border: 2px solid #ddd;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.color-option:hover {
    transform: scale(1.1);
}

.color-option.active {
    border-color: #000;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #000;
}

@media (max-width: 992px) {
    .product-layout {
        flex-direction: column; /* 让产品布局垂直排列 */
        gap: 40px;
    }

    .main-image img {
        width: 100%;
        height: 300px;
        border-radius: 5px;
        background-color: #f9f9f9;
    }

    .product-images {
        gap: 20px;
    }

    .thumbnail-gallery {
        display: flex;
        flex-direction: column;
        gap: 10px;
        max-height: none;
        overflow-y: hidden;
    }

    .thumbnail-container {
        max-height: 200px;
        height: 200px;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        gap: 10px;
        position: relative;
    }

    .thumbnail-container::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Edge */
    }

    .thumbnail-container {
        -ms-overflow-style: none; /* IE 和 Edge */
        scrollbar-width: none; /* Firefox */
    }

    .thumbnail {
        flex-shrink: 0;
        width: 80px;
        height: 80px;
        align-self: center;
    }

    .thumbnail-scroll {
        align-self: center;
        padding: 8px;
        background: #f5f5f5;
        border-radius: 4px;
        cursor: pointer;
    }
}

@media (max-width: 576px) {
    .thumbnail {
        width: 60px;
        height: 60px;
    }
}

/* 产品详情---->*/

/* 价格区域样式 */
.price-label {
    font-weight: 700;
    color: #000;
    font-size: 26px;
}

.price-amount {
    font-weight: 800;
    color: #000;
    font-size: 26px;
}

/* 我要买和我要卖 */
.product-actions {
    display: flex;
    align-items: flex-start; /* 让内容顶部对齐 */
    background-color: #fff;
    border-radius: 8px;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.btn-sell {
    background-color: #ff6b00;
    color: white;
    min-width: 120px;
}

.btn-sell:hover {
    background-color: #e05d00;
}

.btn-buy {
    background-color: #000;
    color: white;
    min-width: 120px;
    cursor: default;
}

.btn-with-info {
    display: flex;
    align-items: center;
    gap: 0.1rem;
}

.btn-helper-text {
    color: #666;
    font-size: 12px;
    line-height: 1.3;
    max-width: 300px;
}

@media (max-width: 768px) {
    .product-actions {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .action-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .btn-buy, .btn-sell {
        width: 100%;
    }

    .btn-with-info {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
        width: 100%;
        text-align: left;
    }

    .btn-with-info a {
        width: 100%;
    }

    .btn-helper-text {
        font-size: 0.3rem;
        max-width: 100%;
        text-align: left;
        line-height: 1.3;
    }
}

/* --> */

/* <---- 产品分享，飞书，telegram等等 */
.share-section {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.share-label {
    color: #666;
}

.share-icons {
    display: flex;
    gap: 10px;
}

.share-icons a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f5f5f5;
    color: #666;
    transition: all 0.3s;
}

.share-icons a:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.product-overview h2 {
    font-weight: 700;
    text-align: left;
    margin-bottom: 30px;
}

/* 产品分享，飞书，telegram等等  ---> */

/* 产品规格 */
.product-highlights {
    background-color: #fff;
}

.product-highlights.section-padding {
    padding: 0 0 40px 0;
}

.product-highlights .section-title {
    font-weight: 700;
    margin-bottom: 1px;
    color: #1a1a1a;
}

.explore-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5px;
    align-items: start;
}

.title-description-container {
    margin-bottom: 30px;
    max-width: 50%;
}

.explore-description {
    color: #555;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 0 1.5px 0;
    text-align: left;
}

.spec-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.specifications-table {
    width: 100%;
    overflow: hidden;
}

.specifications-table table {
    width: 100%;
    border-collapse: collapse;
}

.specifications-table td {
    padding: 5px 0;
    line-height: 1.6;
    border-bottom: 1px solid #cacaca;
}

.specifications-table .spec-label {
    font-weight: 600;
    color: #333;
    width: 45%;
    vertical-align: top;
}

.specifications-table .spec-value {
    color: #666;
    width: 55%;
    vertical-align: top;
}

.feature-diagram img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .spec-image-grid {
        grid-template-columns: 1fr;
    }

    .title-description-container {
        max-width: 100%; /* 小屏幕上占满全宽 */
    }

    .explore-description {
        padding: 0 1px;
    }

    .specifications-table {
        padding: 1px;
    }
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 宽高比 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --> */

/* <-- 产品列表 */
.products-page {
    padding: 40px 0 60px;
}

.products-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.products-sidebar {
    flex: 0 0 250px;
    position: sticky;
    top: 100px;
}

.sidebar-title {
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
    color: #000;
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    margin-bottom: 12px;
}

.category-list a {
    display: block;
    padding: 10px 0;
    color: #666;
    transition: all 0.3s;
    border-bottom: 1px solid transparent;
}

.category-list a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.category-list a.active {
    color: var(--primary-color);
    font-weight: 600;
    border-bottom-color: var(--primary-color);
    padding-left: 10px;
}

.content-title {
    font-weight: 700;
    margin-bottom: 30px;
    color: #000;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
    align-items: stretch;
}

.product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    color: #000;
}

.product-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-image-wrapper {
    position: relative;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.product-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.product-image-primary {
    display: block;
    transform: translateX(0);
    opacity: 1;
}

.product-image-hover {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateX(100%);
    opacity: 0;
}

.product-image-wrapper:hover .product-image-hover {
    transform: translateX(0);
    opacity: 1;
}

.product-image-wrapper:hover .product-image-primary {
    transform: translateX(-20%);
    opacity: 0;
}

@keyframes scaleDots {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.2);
    }
}

.product-info {
    padding: 20px 0px 0px 0px;
    display: flex;
    flex-direction: column;
    flex: 1;
    stify-content: space-between;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-name {
    font-weight: 400;
    color: #000;
    text-align: center;
    font-size: 18px;
}

.product-price {
    font-weight: 700;
    color: #000;
    text-align: center;
    font-size: 18px;
}


.product-specs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    background-color: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    scrollbar-width: none;
    scroll-behavior: smooth;
    transition: scroll-left 0.5s ease;
    position: relative;
}


.spec-item {
    display: flex;
    align-items: center;
    color: #666;
    border-right: 1px solid #f0f0f0;
    padding: 10px 20px 10px 20px;
    overflow: hidden;
    flex-shrink: 0;
    white-space: nowrap;
}

.spec-item:last-child {
    border-right: none;
}

.spec-item i {
    color: #000;
    width: 28px;
    font-size: 10px;
    text-align: center;
}

.spec-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.spec-title {
    color: #000;
    font-size: 12px;
    white-space: nowrap;
}

.spec-value {
    color: #999;
    font-size: 12px;
    white-space: nowrap;
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .products-layout {
        flex-direction: column;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .products-sidebar {
        flex: 0 0 auto;
        position: static;
        width: 100%;
        margin-bottom: 30px;
    }

    .category-list {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .category-list li {
        margin-bottom: 0;
    }

    .category-list a {
        background-color: #f9f9f9;
        padding: 8px 15px;
        border-radius: 20px;
        border-bottom: none;
    }

    .category-list a.active {
        background-color: var(--primary-color);
        color: #fff;
        padding-left: 15px;
    }

    .category-list a:hover {
        padding-left: 15px;
    }
}

/* 产品列表 ---> */


/* <---- 保修 */
.warranty-hero {
    height: 500px;
    background-color: #333;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 60px;
}

.warranty-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
}

.warranty-content {
    padding: 40px 0 80px;
    background-color: #fff;
}

.content-section {
    margin-bottom: 50px;
}

.content-section:last-child {
    margin-bottom: 0;
}

.intro-text,
.section-text,
.info-text {
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.section-intro {
    color: #666;
    margin-bottom: 20px;
}

.info-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.info-text a:hover {
    text-decoration: underline;
}

.warranty-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.warranty-list li {
    padding: 15px 0;
    padding-left: 30px;
    position: relative;
    line-height: 1.8;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

.warranty-list li:last-child {
    border-bottom: none;
}

.warranty-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.warranty-period {
    color: var(--primary-color);
    font-weight: 600;
    margin-left: 10px;
}

.exclusions-box {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-color);
}

.subsection-title {
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
}

.exclusions-list {
    margin-left: 20px;
    padding-left: 20px;
}

.exclusions-list li {
    margin-bottom: 12px;
    line-height: 1.6;
    color: #333;
}

.service-process {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}

.process-item {
    padding: 25px;
    background-color: #f9f9f9;
    border-radius: 10px;
}

.process-title {
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
}

.process-item p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #333;
}

.process-list {
    list-style: disc;
    margin-left: 20px;
    padding-left: 20px;
}

.process-list li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #333;
}

.process-list a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.process-list a:hover {
    text-decoration: underline;
}

.disclaimer-text {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #999;
}

.disclaimer-text p {
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

.disclaimer-text p:last-child {
    margin-bottom: 0;
}

.accordion {
    margin-top: 20px;
}

.accordion-item {
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s;
}

.accordion-item:last-child {
    margin-bottom: 0;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
}

.accordion-header:hover {
    background-color: #f9f9f9;
}

.accordion-header h3 {
    font-weight: 600;
    color: #000;
    margin: 0;
}

.accordion-header i {
    color: var(--primary-color);
    transition: transform 0.3s;
}

.accordion-item.active .accordion-header i {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    padding-left: 20px;
    overflow-y: auto;
    transition: max-height 0.3s ease-out;
    background-color: #f9f9f9;
}

.accordion-content::-webkit-scrollbar {
    width: 6px;
}

.accordion-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.accordion-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.accordion-content::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-content p {
    padding: 20px;
    margin: 0;
    line-height: 1.6;
    color: #333;
}

.cleaning-list {
    margin-top: 25px;
}

.cleaning-list .list-item {
    position: relative;
    padding: 0 20px;
    margin-bottom: 15px;
    line-height: 25px;
}

.cleaning-list .list-item::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: #999;
    font-size: 16px;
}

.form-intro {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.warranty-claim-form {
    max-width: 100%;
}

.warranty-claim-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.warranty-claim-form .form-group {
    flex: 1;
    margin-bottom: 20px;
}

.warranty-claim-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.warranty-claim-form input,
.warranty-claim-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.warranty-claim-form input:focus,
.warranty-claim-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(243, 111, 33, 0.1);
}

.warranty-claim-form input[type="file"] {
    padding: 0px;
    border: 2px dashed #ddd;
    background-color: #fff;
    cursor: pointer;
}

.warranty-claim-form input[type="file"]:hover {
    border-color: var(--primary-color);
}

.warranty-claim-form small {
    display: block;
    margin-top: 5px;
    color: #666;
}

@media (max-width: 992px) {

    .warranty-claim-form .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 576px) {
    .warranty-list li {
        padding-left: 25px;
    }

    .accordion-header {
        padding: 15px;
    }
}

@media (max-width: 767px) {
    .warranty-hero {
        height: 400px;
        margin-bottom: 40px;
    }

    .warranty-content {
        padding: 30px 0 60px;
        padding: 30px 0 60px;
    }

    .content-section {
        margin-bottom: 40px;
    }

    .exclusions-box,
    .process-item,
    .disclaimer-text {
        padding: 20px;
    }
    /*移动适配*/
    .container{padding-left: 10px;padding-right:10px;}
    .dealer-form-section .container{padding-left: 0px;padding-right:0px;}
}

/*  保修 ---->*/