/* 添加全局溢出控制 */
html, body {
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
    background-color: #1c1b22;
}

*, *:before, *:after {
    box-sizing: inherit;
}

.home-page-warp {
    max-width: 100%;
    padding: 0;
}

.home-swiper {
    position: relative;
    padding-top: 29.73%;
}
.swiper-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
.swiper-slide {
    position: relative;
    height: 100%;
}
.swiper-slide > img {
    width: 100%;
    height: 565px;
    object-fit: cover;
    object-position: center;
}
.swiper-slide .swiper-detail {
    position: absolute;
    left: 43px;
    top: 50px;
    background-color: rgba(0, 0, 0, 0.55);
    color: #fff;
    padding: 30px 20px;
    width: 407px;
    max-width: 90%;
}
.swiper-slide .swiper-detail-title {
    font-weight: bold;
    font-size: 34px;
    line-height: 44px;
}
.swiper-slide .swiper-detail-desc {
    margin-top: 10px;
    font-size: 15px;
    line-height: 25px;
}
.swiper-slide .swiper-detail-list {
    margin-top: 25px;
    font-size: 15px;
    line-height: 28px;
}
.swiper-slide .swiper-detail-list li {
    display: flex;
    align-items: center;
    cursor: auto;
}
.swiper-slide .swiper-detail-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: #1DCA66;
    margin-right: 5px;
}
.swiper-slide .swiper-detail-btns {
    margin: 30px auto 0;
}
.swiper-slide .swiper-detail-btns .btn {
    width: 140px;
    color: #fff;
    background-color: transparent;
    margin: 0 auto;
}
.swiper-pagination.swiper-pagination-bullets {
    display: flex;
    background-color: rgba(0, 0, 0, 0.55);
    bottom: 0;
}
.swiper-pagination.swiper-pagination-bullets > .swiper-pagination-bullet {
    width: 100%;
    height: 48px;
    line-height: 48px;
    text-align: center;
    font-size: 18px;
    color: #fff;
    background-color: transparent;
    border-bottom: 4px solid transparent;
    border-radius: 0;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 10px;
}
.swiper-pagination.swiper-pagination-bullets > .swiper-pagination-bullet.swiper-pagination-bullet-active {
    border-bottom-color: #1DCA66;
}
.home-swiper-about {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    height: 126px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 0 20px;
    background-color: #090606;
}
.home-swiper-about-title {
    font-weight: bold;
    font-size: 26px;
    color: #FFFFFF;
}
.home-swiper-about-desc {
    margin-top: 6px;
    font-weight: 400;
    font-size: 16px;
    color: #FFFFFF;
}
.home-swiper-about .btn {
    width: 152px;
    height: 40px;
    font-size: 16px;
    display: flex;
}
.cate-wrap {
    margin-top: 25px;
}
.categories-wrap {
    margin-top: 25px;
    margin-bottom: 25px;
}
.panel-categories {
    background-color: #f7f7fa;
    padding: 10px 10px 30px 10px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.panel-categories .panel-header-title{
    font-size: 30px;
    padding-top: 15px;
}
.panel-categories .panel-header-more-categories {
    background:linear-gradient(135deg, #16b85a, #5dd9a8);
    padding: 10px 20px;
    border-radius: 20px;
    margin-top: 10px;
    transition: all 0.3s ease;
}
.panel-categories .panel-header-more-categories:hover {
    background: linear-gradient(135deg, #16b85a, #5dd9a8);
    box-shadow: 0 4px 12px rgba(30, 202, 102, 0.3);
}
.panel-categories .panel-header-more-categories a {
    color: #333;
    font-size: 16px;
    font-weight: 500;
}
.cate-list {
    display: flex;
    flex-wrap: wrap;
    --col-num: 4;
    gap: 20px;
    margin-top: 20px;
}
.cate-item {
    display: flex;
    align-items: center;
    width: calc((100% - (var(--col-num) - 1) * 20px) / var(--col-num));
    height: 90px;
    padding: 0 18px;
    font-weight: 500;
    font-size: 18px;
    color: #222E3B;
    line-height: 21px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.cate-item > a {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}
.cate-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-color: #1DCA66;
}
.cate-item > img, .cate-item > a > img {
    width: 64px;
    height: 64px;
    margin-right: 15px;
    transition: transform 0.3s ease;
}
.cate-item:hover > img, .cate-item:hover > a > img {
    transform: scale(1.05);
}
.cate-item .cate-img-active {
    display: none;
}
.cate-item.active .cate-img-normal,
.cate-item:hover .cate-img-normal {
    display: none;
}
.cate-item.active .cate-img-active,
.cate-item:hover .cate-img-active {
    display: block;
}
.cate-item.active,
.cate-item:hover {
    border-color: #1DCA66;
    color: #1DCA66;
    box-shadow: 0 5px 15px rgba(29, 202, 102, 0.15);
}
.cate-desc {
    font-size: 14px;
    color: #7C7C8D;
}
.popular-wrap {
    margin-top: 25px;
    background-color: #e4e4e9;
    padding: 10px 10px 30px 10px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.popular-wrap .panel-header-title {
    font-size: 30px;
    color: #222E3B;
    margin-bottom: 10px;
}
.product-list {
    display: flex;
    flex-wrap: wrap;
    --col-num: 4;
    gap: 15px;
    margin-top: 20px;
}
.product-item {
    width: calc((100% - (var(--col-num) - 1) * 15px) / var(--col-num));
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-weight: 400;
    font-size: 16px;
    color: #222E3B;
    border-radius: 6px;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}
.product-item.has-detail .product-title {
    color: #1DCA66;
}
.product-item .product-title{
    font-weight: 600;
}
.product-item .product-title a:hover {
    color: #1DCA66;
}
.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #f7f7fa;
    padding-top: 20px;
    padding-left: 10px;
    padding-bottom: 20px;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    border-top: 1px solid #8d8a98;
    position: relative;
    text-align: center;
}
.product-info button {
    margin-top: 10px;
    width: 120px;
    height: 32px;
    background: rgba(29, 202, 102, 0);
    border-radius: 2px;
    border: 1px solid #9E9E9E;
    font-weight: 400;
    font-size: 13px;
    color: #222E3B;
    transition: all 0.3s ease;
    border-radius: 20px;
    margin: 10px auto 0;
    display: block;
}
.product-info button:hover {
    border-color: #1DCA66;
    color: #1DCA66;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(29, 202, 102, 0.15);
}
.product-info button a {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 22px;
    color: inherit;
    text-decoration: none;
}
.product-desc {
    margin-top: 10px;
    font-size: 14px;
    color: #2d706a;
    font-weight: 600;
}
.product-imgs {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
    height: 120px;
    background-color: #fff;
    border-radius: 8px 8px 0 0;
}
.product-img {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.product-imgs img,
.product-img img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: auto;
}
.product-logo {
    margin-top: 4px;
    height: 32px;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.featured-manufacturer {
    margin-top: 20px;
}
.featured-manufacturer .panel-header-title {
    font-size: 30px;
    color: var(--light-green);
}
.manu {
    --col-num: 5;
    --gap: 15px;
    --side-margin: 0px;
    --container-padding: 0px;
}
.manu .search-wrap {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #D9D9D9;
}
.manu .search-wrap input {
    flex: 1;
    height: 32px;
}
.manu .search-wrap button {
    width: 32px;
    height: 32px;
    border-radius: 0;
    border: none;
    background-color: transparent;
    cursor: pointer;
}
.manu .panel-body {
    margin-top: 20px;
}
.manu-list {
    display: flex;
    flex-wrap: wrap;
    row-gap: var(--gap);
    column-gap: var(--gap);
    margin: 0 var(--side-margin);
    padding: 0 var(--container-padding);
    box-sizing: border-box;
}
.manu-item {
    flex-shrink: 0;
    width: calc((100% - (var(--col-num) - 1) * var(--gap)) / var(--col-num));
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    box-sizing: border-box;
    border-radius: 6px;
    padding: 15px 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}
.manu-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}
.manu-item:hover .manu-item-title {
    color: #1DCA66;
}
.manu-item > img {
    width: 190px;
    height: 100px;
    object-fit: contain;
}
.manu-item-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    width: 100%;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}
.manu-item-image a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    cursor: pointer;
}
.manu-item-image img {
    max-width: 190px;
    max-height: 100px;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    image-rendering: -webkit-optimize-contrast; 
    image-rendering: crisp-edges;
    transition: transform 0.3s ease;
    z-index: 2;
}
.manu-item:hover .manu-item-image img {
    transform: translate(-50%, -50%) scale(1.05);
}
.manu-item-title {
    margin-top: 0;
    text-align: center;
    font-size: 17px;
    color: #222E3B;
    line-height: 25px;
    height: 25px;
    overflow: hidden;
    width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.3s ease;
}
.manu-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 3;
}
.manu-item .manu-item-title a:hover {
    color: #1DCA66;
}
.manu-item-title a {
    display: block;
    color: #222E3B;
    text-decoration: none;
    width: 100%;
    font-weight: 600;
}
.home-blog {
    margin: 0 auto;
    background-color: #e4e4e9;
    width: 98%;
    border-radius: 6px;
}
.blog-wrap {
    margin-top: 30px;
}
.blog-wrap .panel-header-title {
    padding-top: 15px;
    font-size: 30px;
}
.blog-wrap .panel-header-more-blog {
    background:linear-gradient(135deg, #16b85a, #5dd9a8);
    padding: 10px 20px;
    border-radius: 20px;
    margin-top: 20px;
    transition: all 0.3s ease;
}
.blog-wrap .panel-header-more-blog:hover {
    background: linear-gradient(135deg, #16b85a, #5dd9a8);
    box-shadow: 0 4px 12px rgba(30, 202, 102, 0.3);
}
.blog-wrap .panel-header-more-blog a {
    color: #333;
    font-size: 16px;
    font-weight: 500;
}
.news-list {
    --col-num: 4;
    padding: 30px 0 40px 0;
    display: flex;
    flex-wrap: wrap;
    row-gap: 15px;
    column-gap: 15px;
}
.news-list a {
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}
.news-list a:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}
.news-list a:hover .news-title {
    color: #1DCA66;
}
.news-item {
    flex-shrink: 0;
    width: calc((100% - 15px * (var(--col-num) - 1)) / var(--col-num));
    background-color: #fff;
    box-sizing: border-box;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    padding-bottom: 10px;
}
.news-date {
    font-weight: 400;
    font-size: 14px;
    color: #7C7C8D;
    line-height: 19px;
    padding-left: 10px;
    padding-top: 5px;
}
.news-title {
    margin-top: 10px;
    font-weight: 600;
    font-size:16px;
    color: #222E3B;
    line-height: 22px;
    height: 45px;
    overflow: hidden;
    padding-left: 10px;
    padding-right: 10px;
}
.news-title.active {
    color: #1DCA66;
}
.news-img {
    margin: 10px auto 0 auto;
    width: 100%;
    max-width: 313px;
    height: 167px;
    object-fit: cover;
    padding: 10px;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}
.news-tag {
    padding: 10px 0;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}
.news-tag-item {
    padding: 0 18px;
    border-radius: 14px;
    font-weight: 400;
    font-size: 14px;
    color: #222E3B;
    line-height: 28px;
    background: #F0F2F5;
    cursor: pointer;
}
.news-tag-item.active {
    background: #1DCA66;
    color: #fff;
}
.release {
    margin-top: 0;
    --col-num: 2;
}
.release-list {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 60px;
}
.release-item {
    width: calc((100% - 18px * (var(--col-num) - 1)) / var(--col-num));
    min-width: 280px;
    height: 144px;
    padding: 12px 22px;
    display: flex;
    font-weight: 400;
    font-size: 17px;
    color: #222E3B;
    line-height: 25px;
    background-color: #fff;
    border-radius: 4px;
}
.release-item > img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-right: 10px;
    position: relative;
}
.release-item.active .release-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid #1DCA66;
}
.release-item.active .release-title {
    color: #1DCA66;
}
.release-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.release-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.release-desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
    color: #7C7C8D;
    line-height: 20px;
    height: 60px;
}
.release-more {
    margin-top: auto;
}
.services-list {
    --col-num: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 65px 0;
}
.services-item {
    width: calc((100% - 20px * (var(--col-num) - 1)) / var(--col-num));
    min-width: 280px;
    flex: 1;
    height: 334px;
    background: #FFFFFF;
    border-radius: 6px;
    border: 1px solid #D8D8D8;
    padding: 25px 20px 45px;
    display: flex;
    flex-direction: column;
}
.services-item.service .services-main {
    background: url('/static/fpgaelec_assets/services-01.png') no-repeat center / cover;
}
.services-item.quality .services-main {
    background: url('/static/fpgaelec_assets/services-02.png') no-repeat center / cover;
}
.services-item a.services-btn:hover {
    border-color: #1DCA66;
    color: #1DCA66;
}
.services-main {
    height: 133px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 28px;
    color: #FFFFFF;
    line-height: 30px;
    text-align: center;
}
.services-line {
    width: 46px;
    height: 1px;
    background-color: #fff;
    margin: 10px auto;
}
.services-line ~ div {
    font-size: 20px;
}
.services-desc {
    font-size: 15px;
    color: #7C7C8D;
    line-height: 20px;
    padding: 0 10px;
    margin: 20px 0 10px;
}
.services-btn {
    align-self: center;
    margin-top: auto;
    width: 140px;
    height: 32px;
    background: rgba(29, 202, 102, 0);
    border-radius: 2px;
    border: 1px solid #9E9E9E;
}
.solutions-list {
    --col-num: 4;
    margin-top: 100px;
    display: flex;
    flex-wrap: wrap;
    gap: 100px 20px;
    position: relative;
}
.solutions-item {
    width: calc((100% - 20px * (var(--col-num) - 1)) / var(--col-num));
    min-height: 332px;
    padding: 33px 22px 20px;
    background: #F5F6F8;
    border-radius: 4px;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), background-color 0.3s ease;
    transform-origin: center bottom;
    will-change: transform, background-color;
    position: relative;
    z-index: 1;
    background-image: linear-gradient(to bottom, #F5F6F8, #F5F6F8);
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
.solutions-item a {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
}
.solutions-item::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    z-index: -1;
}
.solutions-item .icon {
    width: 70px;
    height: 70px;
    transition: filter 0.3s ease;
}
.solutions-item:hover,
.solutions-item.hover {
    transform: translateY(-80px);
    background: #1DCA66;
    z-index: 2;
}
.solutions-item *,
.solutions-item::before {
    transition: inherit;
}
.solutions-item:hover .icon {
    filter: brightness(0) saturate(100%) invert(100%);
}
.solutions-item:hover .solutions-title,
.solutions-item:hover a .solutions-title {
    color: #fff;
}
.solutions-item:hover .solutions-desc,
.solutions-item:hover a .solutions-desc {
    color: #fff;
}
.solutions-title {
    margin-top: 55px;
    font-weight: 400;
    font-size: 24px;
    color: #222E3B;
    line-height: 28px;
    transition: color 0.3s ease;
}
.solutions-desc {
    margin-top: 10px;
    font-weight: 400;
    font-size: 14px;
    color: #7C7C8D;
    line-height: 20px;
    transition: color 0.3s ease;
}
.part-nums {
    display: flex;
    justify-content: space-between;
    margin: 45px 0;
    overflow: hidden;
}
.part-nums-scoller {
    width: 0;
    flex: 1;
    overflow-x: auto;
    display: flex;
    justify-content: space-around;
}
.part-nums-item {
    display: block;
    font-weight: 400;
    font-size: 15px;
    color: #7C7C8D;
    line-height: 20px;
    padding: 0 10px;
    cursor: pointer;
}
.part-nums-item:first-child {
    padding: 0 20px 0 0;
}
.part-nums-item:last-child {
    padding: 0 0 0 20px;
}
@media screen and (max-width: 1400px) {
    .home-swiper {
        padding-top: 28%; /* 在中等屏幕上稍微增加高度 */
    }
    .home-swiper .swiper-slide .swiper-detail {
        top: 20px;
        padding: 20px;
    }
    .manu {
        --col-num: 4;
    }
    .manu-item-image img {
        max-width: 160px;
    }
}
@media screen and (max-width: 1024px) {
    .hot-search {
        position: relative;
    }
    .hot-search .hot-search-list li:first-child ~ li {
        display: none;
    }
    .news-list {
        --col-num: 1;
    }
    .solutions-list {
        --col-num: 1;
    }
    .cate-list,
    .product-list {
        --col-num: 3;
    }
    .product-item {
        min-height: 300px;
    }
    .product-imgs {
        height: 120px;
    }
    .manu {
        --col-num: 3;
    }
    .manu-item-image img {
        max-width: 140px;
    }
    .products-wrap .panel-header-title {
        font-size: 26px;
    }
    
    /* 添加 Categories 标题和按钮的优化 */
    .panel-categories .panel-header-title {
        font-size: 26px;
    }
    
    .panel-categories .panel-header-more-categories {
        padding: 8px 16px;
        margin-top: 8px;
    }
    
    .panel-categories .panel-header-more-categories a {
        font-size: 15px;
    }
}
@media screen and (max-width: 768px) {
    .about-us-container {
        display: none;
    }
    
    .about-us-wrap {
        display: none;
    }
    
    .home-page-warp {
        display: none;
    }
    
    .bottom_banner {
        display: none;
    }
    
    .home-blog {
        width: 95%;
    }
    
    .home-swiper {
        padding-top: 35%; /* 移动端适当增加高度 */
    }
    .cate-wrap {
        margin-top: 0;
    }
    .cate-list {
        --col-num: 1;
    }
    .product-list {
        --col-num: 2;
    }
    .product-item {
        min-height: 280px;
    }
    .product-imgs {
        height: 100px;
        margin: 15px;
    }
    .product-info {
        padding: 15px 12px;
    }
    .product-info button {
        width: 100px;
        height: 32px;
        font-size: 13px;
        margin: 10px auto 0;
        display: block;
    }
    .product-info button a {
        line-height: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .solutions-list {
        margin-top: 30px;
        row-gap: 30px;
    }
    .solutions-item:hover {
        transform: translateY(-20px);
        transition: transform 0.25s cubic-bezier(0.165, 0.84, 0.44, 1), background-color 0.25s ease;
    }
    .services-list {
        padding: 30px 0;
    }
    .release {
        --col-num: 1;
    }
    .manu {
        --col-num: 2;
    }
    .manu .content-wrap{
      width: 100%;
    }
    .manu-item {
        height: 180px;
    }
    .manu-item-image {
        height: 90px;
    }
    .manu-item-image img {
        max-width: 130px;
        max-height: 80px;
    }
    .manu-more {
        margin: 0 auto;
    }
    /* 在移动端隐藏swiper分页器 */
    .swiper-pagination.swiper-pagination-bullets {
        display: none;
    }
    .advantages-list {
        flex-direction: column;
        gap: 15px;
        padding: 0;
        margin: 0 0 20px 0;
    }
    
    .advantages-item .advantages-item-info .advantages-item-title {
        font-size: 16px;
    }
    
    .products-wrap .panel-header-title {
        font-size: 24px;
    }
    
    /* 添加 Categories 768px 优化 */
    .panel-categories .panel-header-title {
        font-size: 24px;
        text-align: center;
    }
    
    .panel-categories .panel-header-more-categories {
        padding: 8px 14px;
        margin: 10px auto 0;
        display: block;
        width: fit-content;
        border-radius: 18px;
    }
    
    .panel-categories .panel-header-more-categories a {
        font-size: 14px;
        font-weight: 500;
    }
    
    /* 添加 Featured Manufacturer 768px 优化 */
    .featured-manufacturer .panel-header-title {
        font-size: 28px;
        text-align: center;
    }
    
    /* 添加 Blog 768px 优化 */
    .blog-wrap .panel-header-title {
        font-size: 24px;
    }

    .blog-wrap .panel-header-more-blog a{
        font-size: 12px;
    }
}
@media screen and (max-width: 550px) {
    .about-us-container {
        display: none;
    }
    
    .about-us-wrap {
        display: none;
    }
    
    .home-swiper {
        margin-top: 0;
    }
    .cate-list {
        --col-num: 1;
    }
    .product-list {
        --col-num: 2;
    }
    .product-item {
        min-height: auto;
        max-width: none;
        margin: 0;
    }
    .product-imgs {
        height: 100px;
        margin: 12px 12px 0 12px;
    }
    .product-info {
        padding: 12px;
    }
    .product-info button {
        width: 100px;
        height: 32px;
        font-size: 12px;
        margin: 10px auto 0;
        display: block;
    }
    .product-info button a {
        line-height: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .news-list {
        --col-num: 1;
    }
    .swiper-slide .swiper-detail {
        left: 10px;
        top: 10px;
        right: 10px;
        bottom: 68px;
        width: auto;
    }
    .swiper-slide .swiper-detail-title {
        font-size: 26px;
    }
    .manu {
      --col-num: 2;
    }
    .manu .content-wrap{
      width: 100%;
    }
    .manu .manu-list {
      gap: 10px;
    }
    .manu .manu-item {
      height: 160px;
      width: calc((100% - 10px*(var(--col-num) - 1)) / var(--col-num));
      padding: 10px 5px;
    }
    .manu .manu-item-image {
      height: 80px;
    }
    .manu .manu-item-image a {
      z-index: 5;
    }
    .manu .manu-item-image img {
      max-width: 110px;
      max-height: 70px;
      z-index: 2;
    }
    .manu .manu-item-title {
      margin: 5px 0 0;
      font-size: 14px;
    }
    /* 修复超宽元素 */
    .release-item, .services-item {
      min-width: 100%;
      width: 100%;
    }
    .products-wrap .panel-header-title {
        font-size: 22px;
    }
    
    /* 添加 Categories 550px 优化 */
    .panel-categories .panel-header-title {
        font-size: 22px;
        text-align: center;
    }
    
    .panel-categories .panel-header-more-categories {
        padding: 7px 12px;
        margin: 8px auto 0;
        border-radius: 16px;
    }
    
    .panel-categories .panel-header-more-categories a {
        font-size: 13px;
    }
    
    /* 添加 Featured Manufacturer 550px 优化 */
    .featured-manufacturer .panel-header-title {
        font-size: 28px;
        text-align: center;
    }
}
@media screen and (max-width: 414px) {
    .about-us-container {
        display: none;
    }
    
    .about-us-wrap {
        display: none;
    }
    
    .home-swiper-about-title {
        font-size: 20px;
    }
    .home-swiper-about-desc {
        font-size: 14px;
    }
    .news-list {
        --col-num: 1;
    }
    .solutions-list {
        --col-num: 1;
    }
    .cate-list {
        --col-num: 1;
    }
    .product-list {
        --col-num: 2;
    }
    .product-item {
        max-width: 100%;
    }
    .product-imgs {
        height: 100px;
        margin: 12px;
    }
    .product-info {
        padding: 12px;
    }
    .product-info button {
        width: 100px;
        height: 32px;
        font-size: 13px;
        margin: 10px auto 0;
        display: block;
    }
    .product-info button a {
        line-height: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .product-title {
        text-align: center;
        margin-bottom: 6px;
        font-size: 14px;
    }
    .product-title a {
        font-size: 12px;
    }
    .product-desc {
        text-align: center;
        line-height: 1.3;
        height: auto;
        font-size: 12px;
    }
    .news-list {
        --col-num: 1;
    }
    .manu-item-image img {
        max-width: 100px;
        z-index: 2;
    }
    .manu-item-image a {
        z-index: 5;
    }
    
    .advantages-item .advantages-item-info .advantages-item-title {
        font-size: 16px;
    }
    
    .products-wrap .panel-header-title {
        font-size: 18px;
        text-align: center;
    }
    
    /* 添加 Categories 414px 优化 */
    .panel-categories .panel-header-title {
        font-size: 20px;
        text-align: center;
        padding-top: 12px;
    }
    
    .panel-categories .panel-header-more-categories {
        padding: 6px 10px;
        margin: 6px auto 0;
        border-radius: 14px;
    }
    
    .panel-categories .panel-header-more-categories a {
        font-size: 12px;
        font-weight: 500;
    }
    
    /* 添加 Featured Manufacturer 414px 优化 */
    .featured-manufacturer .panel-header-title {
        font-size: 28px;
        text-align: center;
    }
}
@media screen and (max-width: 480px) {
    /* 删除这里的 advantages-list 冗余样式 */
    
    /* Featured Categories 480px 优化 */
    .cate-list {
        --col-num: 1;
    }
    
    /* Popular Products 480px 优化 */
    .popular-wrap .panel-header-title {
        font-size: 24px;
        text-align: center;
    }
    
    .product-item {
        border-radius: 8px;
    }
    
    .product-imgs {
        border-radius: 8px 8px 0 0;
    }
    
    .product-info {
        border-radius: 0 0 8px 8px;
    }
    
    .product-info button {
        margin: 10px auto 0;
        display: block;
    }
    
    .product-info button a {
        line-height: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .products-wrap .panel-header-title {
        font-size: 20px;
        text-align: center;
    }
    
    /* 添加 Categories 480px 优化 */
    .panel-categories .panel-header-title {
        font-size: 21px;
        text-align: center;
        padding-top: 10px;
    }
    
    .panel-categories .panel-header-more-categories {
        padding: 6px 10px;
        margin: 6px auto 0;
        border-radius: 14px;
    }
    
    .panel-categories .panel-header-more-categories a {
        font-size: 12px;
    }
    
    /* 添加 Featured Manufacturer 480px 优化 */
    .featured-manufacturer .panel-header-title {
        font-size: 28px;
        text-align: center;
    }
}

/* 全局按钮样式优化 */
.btn {
    display: inline-block;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: #1DCA66;
    color: #fff !important;
    border: 1px solid #1DCA66;
}

.btn-primary:hover {
    background-color: #18b859;
    border-color: #18b859;
}

.flex-c-c {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
}

/* Advantages优势展示区域样式 */
.advantages-list {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0;
    margin: 20px 0;
}

.advantages-item {
    flex: 1;
    min-width: 250px;
    display: flex;
    align-items: center;
    background-color: #1c4644;
    border-radius: 6px;
}

.advantages-item .advantages-item-img {
    width: 90px;
    height: 110px;
    background-color: #1c514c;
    border-radius: 6px 0 0 6px;
    padding: 22px 10px;
}

.advantages-item .advantages-item-info {
    padding-left: 10px;
}

.advantages-item .advantages-item-info .advantages-item-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 8px;
    color: #fff;
}

.advantages-item .advantages-item-info .advantages-item-desc {
    font-size: 14px;
    line-height: 1.5;
    color: var(--light-green);
    font-weight: 500;
}

/* 响应式设计 */
@media screen and (max-width: 1200px) {
    .advantages-list {
        gap: 15px;
        padding: 30px 0;
    }
    
    .advantages-item {
        min-width: 220px;
        padding: 25px 15px;
    }
    
    .advantages-item .advantages-item-title:first-child img {
        width: 50px;
        height: 50px;
    }
    
    .advantages-item .advantages-item-desc .advantages-item-title {
        font-size: 18px;
    }
}

@media screen and (max-width: 1024px) {
    .advantages-list {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .advantages-item {
        width: calc(50% - 10px);
        min-width: 280px;
    }
}

@media screen and (max-width: 768px) {
    .advantages-list {
        flex-direction: column;
        gap: 15px;
        padding: 0;
        margin: 0 0 20px 0;
    }
    
    .advantages-item {
        width: 100%;
        min-width: auto;
        padding: 0;
    }
    
    .advantages-item .advantages-item-title:first-child {
        margin-right: 15px;
    }
    
    .advantages-item .advantages-item-title:first-child img {
        width: 45px;
        height: 45px;
    }
    
    .advantages-item .advantages-item-desc .advantages-item-title {
        font-size: 16px;
    }
    
    .advantages-item .advantages-item-desc .advantages-item-desc {
        font-size: 13px;
    }
}

@media screen and (max-width: 480px) {
    .advantages-list {
        padding: 0;
        gap: 12px;
    }
    
    .advantages-item {
        padding: 0;
    }
    
    .advantages-item .advantages-item-title:first-child {
        margin-right: 15px;
    }
    
    .advantages-item .advantages-item-desc .advantages-item-title {
        font-size: 15px;
        margin-bottom: 5px;
    }
    
    .advantages-item .advantages-item-desc .advantages-item-desc {
        font-size: 12px;
    }
    
    .advantages-item .advantages-item-info .advantages-item-title {
        font-size: 16px;
    }
}

.products-wrap .panel-header-title{
    font-size: 30px;
}

.light-hight{
    color: #1eca66;
}

/* 新产品轮播容器样式 */
.new-product-carousel {
    position: relative;
    margin-top: 20px;
}

/* 移动端滑动提示 */
.swipe-hint {
    display: none;
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    z-index: 10;
    white-space: nowrap;
    animation: swipeHintFade 3s ease-in-out infinite;
}

.swipe-hint::before {
    content: '← ';
    margin-right: 3px;
}

.swipe-hint::after {
    content: ' →';
    margin-left: 3px;
}

@keyframes swipeHintFade {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.new-product-container {
    overflow: hidden;
    border-radius: 8px;
}

/* 新产品列表样式 */
.new-product-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 0px;
    margin-top: 0;
    padding: 0;
    transition: transform 0.3s ease;
    width: fit-content;
}

.new-product-item {
    width: 343.75px;
    flex-shrink: 0;
    background-color: #fff;
    border: 1px solid #D8D8D8;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-right: 15px;
}

.new-product-item:last-child {
    margin-right: 0;
}

/* 轮播按钮样式 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: 2px solid #E0E0E0;
    border-radius: 50%;
    background-color: #fff;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 修复disabled状态的CSS选择器 */
.carousel-btn:disabled,
.carousel-btn[disabled] {
    opacity: 1;
    cursor: not-allowed;
    pointer-events: none;
    border-color: #F5F5F5;
    color: #CCCCCC;
    background-color: #FAFAFA;
    box-shadow: none;
}

.carousel-btn:disabled:hover,
.carousel-btn[disabled]:hover {
    transform: translateY(-50%);
    border-color: #F5F5F5;
    color: #CCCCCC;
    background-color: #FAFAFA;
    box-shadow: none;
}

.carousel-btn-prev {
    left: 5px;
}

.carousel-btn-next {
    right: 5px;
}

.carousel-btn:hover {
    border-color: #1DCA66;
    color: #1DCA66;
    background-color: #f8fff9;
}

.new-product-info {
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.new-product-info .detail{
    padding: 20px;
    background-color: #f7f7fa;
    border-top: 1px solid #8d8a98;
    text-align: center;
}

.new-product-imgs {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    margin-bottom: 20px;
    background-color: #FFF;
    border-radius: 4px;
}

.new-product-imgs img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.new-product-title {
    margin-bottom: 10px;
}

.new-product-title a {
    font-size: 16px;
    font-weight: 600;
    color: #222E3B;
    text-decoration: none;
    line-height: 1.4;
}

.new-product-title a:hover {
    color: #1DCA66;
}

.new-product-desc {
    font-size: 14px;
    color: #7C7C8D;
    height: 40px;
    line-height: 1.5;
    margin-bottom: 10px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.new-product-manufacturer {
    font-size: 14px;
    color: #2d706a;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.new-product-btn {
    width: 100%;
    height: 36px;
    background-color: #FFFFFF;
    border: 1px solid #9E9E9E;
    border-radius: 20px;
    font-size: 14px;
    color: #222E3B;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: auto;
}

.new-product-btn:hover {
    border-color: #1DCA66;
    background-color: #1DCA66;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(29, 202, 102, 0.2);
}

.new-product-btn a {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 34px;
    color: inherit;
    text-decoration: none;
}

/* 响应式设计 */
@media screen and (max-width: 1200px) {
    .new-product-container {
        margin: 0 55px; /* 减少按钮空间 */
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
    }
}

@media screen and (max-width: 768px) {
    .new-product-container {
        margin: 0 50px; /* 进一步减少按钮空间 */
    }
    
    .carousel-btn {
        display: none; /* 隐藏移动端轮播按钮 */
    }
    
    /* 显示移动端滑动提示 */
    .swipe-hint {
        display: block;
        bottom: -30px;
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .carousel-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .new-product-info {
        padding: 15px;
    }
    
    .new-product-imgs {
        height: 100px;
        margin-bottom: 12px;
    }
    
    .new-product-title a {
        font-size: 15px;
    }
    
    .new-product-desc {
        font-size: 13px;
    }
}

@media screen and (max-width: 480px) {
    .new-product-carousel {
        flex-direction: column;
        gap: 15px;
    }
    
    .carousel-btn {
        display: none; /* 确保在480px以下也隐藏轮播按钮 */
    }
    
    /* 移动端滑动提示优化 */
    .swipe-hint {
        display: block;
        bottom: 0;
        font-size: 10px;
        padding: 4px 8px;
        border-radius: 12px;
    }
    
    .carousel-btn-prev {
        order: 1;
    }
    
    .carousel-btn-next {
        order: 3;
    }
    
    .new-product-container {
        order: 2;
        margin: 0; /* 移除按钮空间的margin */
    }
    
    .new-product-info {
        padding: 12px;
    }
    
    .new-product-imgs {
        height: 80px;
        margin-bottom: 10px;
    }
    
    .new-product-title a {
        font-size: 14px;
    }
    
    .new-product-desc {
        font-size: 12px;
        -webkit-line-clamp: 3;
    }
    
    .new-product-btn {
        height: 32px;
        font-size: 13px;
    }
    
    .new-product-btn a {
        line-height: 30px;
    }
}

.carousel-btn-prev:hover svg {
    transform: translateX(-2px);
}

/* 响应式设计 */
@media screen and (max-width: 1200px) {
    .new-product-carousel {
        gap: 10px;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
    }
}

@media screen and (max-width: 768px) {
    .new-product-carousel {
        gap: 8px;
    }
    
    .carousel-btn {
        display: none; /* 隐藏移动端轮播按钮 */
    }
    
    .carousel-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .new-product-info {
        padding: 15px;
    }
    
    .new-product-imgs {
        height: 100px;
        margin-bottom: 12px;
    }
    
    .new-product-title a {
        font-size: 15px;
    }
    
    .new-product-desc {
        font-size: 13px;
    }
}

@media screen and (max-width: 480px) {
    .new-product-carousel {
        flex-direction: column;
        gap: 15px;
    }
    
    .carousel-btn {
        display: none; /* 确保在480px以下也隐藏轮播按钮 */
    }
    
    .carousel-btn-prev {
        order: 1;
    }
    
    .carousel-btn-next {
        order: 3;
    }
    
    .new-product-container {
        order: 2;
        margin: 0; /* 移除按钮空间的margin */
    }
    
    .new-product-info {
        padding: 12px;
    }
    
    .new-product-imgs {
        height: 80px;
        margin-bottom: 10px;
    }
    
    .new-product-title a {
        font-size: 14px;
    }
    
    .new-product-desc {
        font-size: 12px;
        -webkit-line-clamp: 3;
    }
    
    .new-product-btn {
        height: 32px;
        font-size: 13px;
    }
    
    .new-product-btn a {
        line-height: 30px;
    }
}

/* About Us 区域样式优化 */
.about-us-wrap {
    margin: 10px auto;
    width: 98%;
    height: 35vh;
    min-height: 480px;
    max-height: 600px;
    border-radius: 15px;
    background-image: url('/static/fpgaelec_assets/bg-about-us.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-us-container {
    position: relative;
    z-index: 2;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px 0 20px;
    max-width: 800px;
}

.about-us-container .about-us-title {
    font-size: 32px;
    font-weight: 600;
    color: #1DCA66;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.about-us-container .about-us-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1DCA66, #5dd9a8);
    border-radius: 2px;
}

.about-us-container .about-us-description {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease-out 0.2s both;
    margin-bottom: 30px;
}

/* About Us Content 区域样式 */
.about-us-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap:300px;
    margin: 40px 0;
    padding: 0 20px;
}

.about-us-content-left {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.about-us-content-left-btn {
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    background: linear-gradient(135deg, #1DCA66, #5dd9a8);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(29, 202, 102, 0.3);
    position: relative;
    overflow: hidden;
    margin-top: 200px;
}

.about-us-content-left-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.about-us-content-left-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(29, 202, 102, 0.4);
    background: linear-gradient(135deg, #18b859, #4fd99a);
}

.about-us-content-left-btn:hover::before {
    left: 100%;
}

.about-us-content-left-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.company-introduction {
    font-size: 16px;
    line-height: 2.2;
    color: #FFF;
    text-align: justify;
    font-weight: 400;
    position: relative;
    width: 680px;
    margin-top: 40px;
    margin-right: 40px;
}

/* 添加动画关键帧 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计优化 */
@media screen and (max-width: 1200px) {
    .about-us-wrap {
        width: 95%;
        height: 30vh; /* 改为视口高度的30% */
        min-height: 350px; /* 设置最小高度 */
        max-height: 500px; /* 设置最大高度 */
        margin: 35px auto;
    }
    
    .about-us-container .about-us-title {
        font-size: 28px;
        margin-bottom: 18px;
    }
    
    .about-us-container .about-us-description {
        font-size: 42px;
    }
    
    .about-us-content {
        gap: 30px;
        margin: 30px 0;
    }
    
    .about-us-content-right {
        padding: 25px;
    }
    
    .company-introduction {
        font-size: 15px;
    }
}

@media screen and (max-width: 1024px) {
    .about-us-wrap {
        height: 26vh; /* 改为视口高度的26% */
        min-height: 320px; /* 设置最小高度 */
        max-height: 450px; /* 设置最大高度 */
        border-radius: 12px;
    }
    
    .about-us-container {
        padding: 30px 20px;
    }
    
    .about-us-container .about-us-title {
        font-size: 26px;
        margin-bottom: 16px;
        letter-spacing: 1.5px;
    }
    
    .about-us-container .about-us-description {
        font-size: 38px;
    }
    
    .about-us-content {
        flex-direction: column;
        gap: 25px;
        align-items: center;
    }
    
    .about-us-content-left {
        width: 100%;
        min-height: auto;
    }
    
    .about-us-content-right {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .about-us-container {
        display: none;
    }
    
    .about-us-wrap {
        display: none;
    }
    
    .home-page-warp {
        display: none;
    }
    
    .bottom_banner {
        display: none;
    }
    
    .home-blog {
        width: 95%;
    }
    
    .home-swiper {
        padding-top: 35%; /* 移动端适当增加高度 */
    }
    .cate-wrap {
        margin-top: 0;
    }
    .cate-list {
        --col-num: 1;
    }
    .product-list {
        --col-num: 2;
    }
    .product-item {
        min-height: 280px;
    }
    .product-imgs {
        height: 100px;
        margin: 15px;
    }
    .product-info {
        padding: 15px 12px;
    }
    .product-info button {
        width: 100px;
        height: 32px;
        font-size: 13px;
        margin: 10px auto 0;
        display: block;
    }
    .product-info button a {
        line-height: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .solutions-list {
        margin-top: 30px;
        row-gap: 30px;
    }
    .solutions-item:hover {
        transform: translateY(-20px);
        transition: transform 0.25s cubic-bezier(0.165, 0.84, 0.44, 1), background-color 0.25s ease;
    }
    .services-list {
        padding: 30px 0;
    }
    .release {
        --col-num: 1;
    }
    .manu {
        --col-num: 2;
    }
    .manu .content-wrap{
      width: 100%;
    }
    .manu-item {
        height: 180px;
    }
    .manu-item-image {
        height: 90px;
    }
    .manu-item-image img {
        max-width: 130px;
        max-height: 80px;
    }
    .manu-more {
        margin: 0 auto;
    }
    /* 在移动端隐藏swiper分页器 */
    .swiper-pagination.swiper-pagination-bullets {
        display: none;
    }
    .advantages-list {
        flex-direction: column;
        gap: 15px;
        padding: 0;
        margin: 0 0 20px 0;
    }
    
    .advantages-item .advantages-item-info .advantages-item-title {
        font-size: 16px;
    }
    
    .products-wrap .panel-header-title {
        font-size: 24px;
    }
    
    /* 添加 Categories 768px 优化 */
    .panel-categories .panel-header-title {
        font-size: 24px;
        text-align: center;
    }
    
    .panel-categories .panel-header-more-categories {
        padding: 8px 14px;
        margin: 10px auto 0;
        display: block;
        width: fit-content;
        border-radius: 18px;
    }
    
    .panel-categories .panel-header-more-categories a {
        font-size: 14px;
        font-weight: 500;
    }
    
    /* 添加 Featured Manufacturer 768px 优化 */
    .featured-manufacturer .panel-header-title {
        font-size: 28px;
        text-align: center;
    }
    
    /* 添加 Blog 768px 优化 */
    .blog-wrap .panel-header-title {
        font-size: 24px;
    }

    .blog-wrap .panel-header-more-blog a{
        font-size: 12px;
    }
}

@media screen and (max-width: 550px) {
    .about-us-container {
        display: none;
    }
    
    .about-us-wrap {
        display: none;
    }
    
    .home-swiper {
        margin-top: 0;
    }
    .cate-list {
        --col-num: 1;
    }
    .product-list {
        --col-num: 2;
    }
    .product-item {
        min-height: auto;
        max-width: none;
        margin: 0;
    }
    .product-imgs {
        height: 100px;
        margin: 12px 12px 0 12px;
    }
    .product-info {
        padding: 12px;
    }
    .product-info button {
        width: 100px;
        height: 32px;
        font-size: 12px;
        margin: 10px auto 0;
        display: block;
    }
    .product-info button a {
        line-height: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .news-list {
        --col-num: 1;
    }
    .swiper-slide .swiper-detail {
        left: 10px;
        top: 10px;
        right: 10px;
        bottom: 68px;
        width: auto;
    }
    .swiper-slide .swiper-detail-title {
        font-size: 26px;
    }
    .manu {
      --col-num: 2;
    }
    .manu .content-wrap{
      width: 100%;
    }
    .manu .manu-list {
      gap: 10px;
    }
    .manu .manu-item {
      height: 160px;
      width: calc((100% - 10px*(var(--col-num) - 1)) / var(--col-num));
      padding: 10px 5px;
    }
    .manu .manu-item-image {
      height: 80px;
    }
    .manu .manu-item-image a {
      z-index: 5;
    }
    .manu .manu-item-image img {
      max-width: 110px;
      max-height: 70px;
      z-index: 2;
    }
    .manu .manu-item-title {
      margin: 5px 0 0;
      font-size: 14px;
    }
    /* 修复超宽元素 */
    .release-item, .services-item {
      min-width: 100%;
      width: 100%;
    }
    .products-wrap .panel-header-title {
        font-size: 22px;
    }
    
    /* 添加 Categories 550px 优化 */
    .panel-categories .panel-header-title {
        font-size: 22px;
        text-align: center;
    }
    
    .panel-categories .panel-header-more-categories {
        padding: 7px 12px;
        margin: 8px auto 0;
        border-radius: 16px;
    }
    
    .panel-categories .panel-header-more-categories a {
        font-size: 13px;
    }
    
    /* 添加 Featured Manufacturer 550px 优化 */
    .featured-manufacturer .panel-header-title {
        font-size: 28px;
        text-align: center;
    }
}
@media screen and (max-width: 414px) {
    .about-us-container {
        display: none;
    }
    
    .about-us-wrap {
        display: none;
    }
    
    .home-swiper-about-title {
        font-size: 20px;
    }
    .home-swiper-about-desc {
        font-size: 14px;
    }
    .news-list {
        --col-num: 1;
    }
    .solutions-list {
        --col-num: 1;
    }
    .cate-list {
        --col-num: 1;
    }
    .product-list {
        --col-num: 2;
    }
    .product-item {
        max-width: 100%;
    }
    .product-imgs {
        height: 100px;
        margin: 12px;
    }
    .product-info {
        padding: 12px;
    }
    .product-info button {
        width: 100px;
        height: 32px;
        font-size: 13px;
        margin: 10px auto 0;
        display: block;
    }
    .product-info button a {
        line-height: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .product-title {
        text-align: center;
        margin-bottom: 6px;
        font-size: 14px;
    }
    .product-title a {
        font-size: 12px;
    }
    .product-desc {
        text-align: center;
        line-height: 1.3;
        height: auto;
        font-size: 12px;
    }
    .news-list {
        --col-num: 1;
    }
    .manu-item-image img {
        max-width: 100px;
        z-index: 2;
    }
    .manu-item-image a {
        z-index: 5;
    }
    
    .advantages-item .advantages-item-info .advantages-item-title {
        font-size: 16px;
    }
    
    .products-wrap .panel-header-title {
        font-size: 28px;
        text-align: center;
    }
    
    /* 添加 Categories 414px 优化 */
    .panel-categories .panel-header-title {
        font-size: 20px;
        text-align: center;
        padding-top: 12px;
    }
    
    .panel-categories .panel-header-more-categories {
        padding: 6px 10px;
        margin: 6px auto 0;
        border-radius: 14px;
    }
    
    .panel-categories .panel-header-more-categories a {
        font-size: 12px;
        font-weight: 500;
    }
    
    /* 添加 Featured Manufacturer 414px 优化 */
    .featured-manufacturer .panel-header-title {
        font-size: 28px;
        text-align: center;
    }
}

/* 针对超小屏幕的额外优化 */
@media screen and (max-width: 320px) {
    .about-us-wrap {
        height: 20vh; /* 改为视口高度的20% */
        min-height: 200px; /* 设置最小高度 */
        max-height: 280px; /* 设置最大高度 */
    }
    
    .about-us-container .about-us-title {
        font-size: 16px;
    }
    
    .about-us-container .about-us-description {
        font-size: 20px;
    }
    
    .about-us-content-right {
        padding: 12px;
    }
    
    .company-introduction {
        font-size: 11px;
    }
    
    /* 确保超小屏幕也保持单列布局 */
    .cate-list {
        --col-num: 1;
    }
    
    /* 确保超小屏幕也保持2列布局 */
    .product-list {
        --col-num: 2;
    }
    
    /* Popular Products 超小屏幕优化 */
    .popular-wrap .panel-header-title {
        font-size: 22px;
    }
    
    .product-info button {
        width: 90px;
        height: 30px;
        font-size: 12px;
        margin: 10px auto 0;
        display: block;
    }
    
    .product-info button a {
        line-height: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Popular Products 额外优化样式 */
.product-title {
    margin-bottom: 0;
    line-height: 1.3;
}

.product-title a {
    color: #222E3B;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

/* Manufacturer View All Button 样式 */
.manu-btn {
    display: inline-block;
    padding: 12px 24px;
    margin: 20px auto;
    background: linear-gradient(135deg, #1DCA66, #5dd9a8);
    color: #333;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(29, 202, 102, 0.3);
    text-align: center;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.manu-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.manu-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(29, 202, 102, 0.4);
    background: linear-gradient(135deg, #18b859, #4fd99a);
}

.manu-btn:hover::before {
    left: 100%;
}

.manu-btn:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 12px rgba(29, 202, 102, 0.3);
}

.manu-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(29, 202, 102, 0.2);
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .manu-btn {
        padding: 10px 20px;
        font-size: 15px;
        margin: 15px auto;
    }
}

@media screen and (max-width: 480px) {
    .manu-btn {
        padding: 8px 16px;
        font-size: 14px;
        margin: 12px auto;
        border-radius: 20px;
    }
}

.bottom_banner{
    margin: 0 auto;
    margin-bottom: 30px;
    width: 98%;
    height:231px;
    border-radius: 15px;
    background-color: #1c4644;
    background-image: url('/static/fpgaelec_assets/home/sign-up-today.png');
    background-size: 1995px 231px;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.bottom_banner_btn{
    margin-top: 105px;
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    background: linear-gradient(135deg, #1DCA66, #5dd9a8);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(29, 202, 102, 0.3);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    text-align: center;
}

.bottom_banner_btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.bottom_banner_btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(29, 202, 102, 0.4);
    background: linear-gradient(135deg, #18b859, #4fd99a);
}

.bottom_banner_btn:hover::before {
    left: 100%;
}

.bottom_banner_btn:active {
    transform: translateY(-1px) scale(1.02);
}

.bottom_banner_btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(29, 202, 102, 0.2);
}

/* 底部横幅按钮响应式设计 */
@media screen and (max-width: 1200px) {
    .bottom_banner_btn {
        margin-top: 95px;
        padding: 14px 28px;
        font-size: 17px;
    }
}

@media screen and (max-width: 1024px) {
    .bottom_banner_btn {
        margin-top: 85px;
        padding: 13px 26px;
        font-size: 16px;
    }
}

@media screen and (max-width: 768px) {
    .bottom_banner_btn {
        margin-top: 75px;
        padding: 12px 24px;
        font-size: 15px;
        border-radius: 22px;
    }
}

@media screen and (max-width: 550px) {
    .bottom_banner_btn {
        margin-top: 65px;
        padding: 10px 20px;
        font-size: 14px;
        border-radius: 20px;
    }
}

@media screen and (max-width: 414px) {
    .bottom_banner_btn {
        margin-top: 55px;
        padding: 8px 16px;
        font-size: 13px;
        border-radius: 18px;
        letter-spacing: 0.5px;
    }
}

@media screen and (max-width: 320px) {
    .bottom_banner_btn {
        margin-top: 45px;
        padding: 7px 14px;
        font-size: 12px;
        border-radius: 16px;
    }
}

@media screen and (max-width: 660px) {
    .manu-item-title {
        font-size: 15px;
    }
    .manu-item:hover {
        transform: translateY(-3px) scale(1.01);
    }
}

