﻿/* ==========================================================================
   首页专用样式 - Index Page Specific Styles
   ========================================================================== */

/* 专用容器样式 */
.container {
    max-width: 1920px;
}

/* Hero Section - 主页轮播区域 */
.hero-section {
    width: 100%;
    height: 50vw;
    max-height: 733px;
    position: relative;
    overflow: hidden;
}

/* Banner 轮播图样式 */
.banner-swiper {
    width: 100%;
    height: 100%;
}

.banner-item {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.banner-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.banner-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
    max-width: 600px;
    padding: 0 20px;
}

.banner-title {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 600;
    margin: 0 0 1rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-subtitle {
    font-size: clamp(16px, 3vw, 24px);
    margin: 0 0 2rem 0;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.banner-btn {
    background: #105E8C;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 94, 140, 0.3);
}

.banner-btn:hover {
    background: #0d4a6b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 94, 140, 0.4);
}

/* Swiper 导航按钮自定义样式 */
.banner-button-next,
.banner-button-prev {
    width: 50px;
    height: 50px;
    margin-top: -25px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-button-next:after,
.banner-button-prev:after {
    display: none; /* 隐藏默认的Swiper箭头图标 */
}

.banner-button-next i,
.banner-button-prev i {
    color: #105E8C;
    font-size: 18px;
    transition: all 0.3s ease;
}

.banner-button-next:hover,
.banner-button-prev:hover {
    transform: scale(1.1);
}

.banner-button-next:hover i,
.banner-button-prev:hover i {
    color: #0d4a6b;
    transform: scale(1.1);
}

/* Swiper 分页器自定义样式 */
.banner-pagination {
    bottom: 30px !important;
}

.banner-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.banner-pagination .swiper-pagination-bullet-active {
    background: #105E8C;
    transform: scale(1.2);
}

/* 自定义图标分页器样式 */
.banner-pagination .banner-pagination-bullet {
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    padding: 8px;
    margin: 0 4px;
    position: relative;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.banner-pagination .banner-pagination-bullet .pagination-icon {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    line-height: 1;
}

.banner-pagination .banner-pagination-bullet:hover .pagination-icon {
    color: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
}

.banner-pagination .swiper-pagination-bullet-active .pagination-icon {
    color: #105E8C;
    transform: scale(1.2);
}

/* 当不使用自定义图标时，隐藏图标元素 */
.banner-pagination .swiper-pagination-bullet:not(.banner-pagination-bullet) .pagination-icon {
    display: none;
}

/* 通用分页器自定义图标样式 */
.pagination-dot.custom-icon-dot,
.m-pagination-dot.custom-icon-dot {
    background: transparent;
    border: none;
    padding: 8px;
    margin: 0 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination-dot.custom-icon-dot i,
.m-pagination-dot.custom-icon-dot i {
    color: rgba(16, 94, 140, 0.6);
    transition: all 0.3s ease;
}

.pagination-dot.custom-icon-dot:hover i,
.m-pagination-dot.custom-icon-dot:hover i {
    color: rgba(16, 94, 140, 0.8);
    transform: scale(1.1);
}

.pagination-dot.custom-icon-dot.active i,
.m-pagination-dot.custom-icon-dot.active i {
    color: #105E8C;
    transform: scale(1.2);
}

/* 隐藏非自定义图标模式下的img元素 */
.pagination-dot.custom-icon-dot img,
.m-pagination-dot.custom-icon-dot img,
.feature-pagination .pagination-dot.custom-icon-dot img {
    display: none;
}

/* Section Titles - 区域标题 */
.section-title {
    color: #105E8C;
    font-size: clamp(24px, 4vw, 30px);
    text-align: center;
    margin: 0;
    padding: 2rem 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-weight: 500;
}

/* Products Section - 产品展示区域 */
.products-section {
    padding: 2rem 0;
    background-color: #fff;
}

/* Products Swiper 轮播图样式 */
.products-swiper {
    width: 100%;
    height: auto;
    overflow: hidden;
    flex: 1;
    max-width: 1040px;
}

.products-swiper .swiper-wrapper {
    align-items: stretch;
    height: auto;
}

.products-swiper .swiper-slide {
    width: auto;
    height: auto;
    flex-shrink: 0;
    display: flex;
}

/* 产品项在轮播图中的样式 */
.products-swiper .product-item {
    background: #fff;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.products-swiper .product-image {
    width: 100%;
    aspect-ratio: 4/5;
    flex-shrink: 0;
}

.products-swiper .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.products-swiper .product-info {
    padding: 1rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.products-container-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.products-container {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin: 2rem 0;
}

.nav-btn {
    flex-shrink: 0;
    width: 22px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    z-index: 10;
    margin-top: 130px;
}

.nav-btn:hover {
    transform: scale(1.1);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    flex: 1;
    padding: 0 1rem;
    width: 1040px;
}

.product-item {
    background: #fff;
    border-radius: 8px;
}

.product-image {
    width: 100%;
    aspect-ratio: 4/5;
}

.product-image img {
    width: 100%;
    object-fit: cover;
}

.product-info {
    padding: 1rem;
    text-align: center;
}

.product-name {
    font-size: clamp(14px, 2.5vw, 18px);
    margin: 0 0 0.5rem 0;
    color: #242424;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
    font-weight: 500;
}

.product-price {
    font-size: clamp(14px, 2.2vw, 16px);
    color: #666;
    margin: 0.5rem 0;
}

.add-to-cart {
    color: #242424;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: clamp(12px, 2vw, 16px);
    transition: background-color 0.3s ease;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.add-to-cart:hover {
}

/* Pagination - 分页器 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

.pagination-btn {
    width: 11px;
    height: auto;
}

.pagination-dots {
    display: flex;
    gap: 0.5rem;
}

.pagination-dot {
    width: clamp(10px, 1.5vw, 12px);
    height: auto;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.pagination-dot.active,
.pagination-dot:hover {
    opacity: 1;
}

/* Feature Sections - 特色区域 */
.feature-section {
    padding: 3rem 0;
    /* background-color: #f8f9fa; */
}

/* 奇数位置的feature-section: feature-text在左，feature-image在右 */
.feature-section:nth-child(odd) .feature-content {
    flex-direction: row-reverse;
}

/* 偶数位置的feature-section: feature-image在左，feature-text在右（默认布局） */
.feature-section:nth-child(even) .feature-content {
    flex-direction: row;
}

.feature-section:nth-child(even) {
    background-color: #fff;
}

.feature-content {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.feature-text {
    flex: 1;
    min-width: 0;
}

.feature-image {
    flex: 0 0 auto;
    width: clamp(250px, 35vw, 400px);
    overflow: hidden;
}

.feature-section:nth-child(odd) .feature-image {
    border-radius: 0 60px;
}

.feature-section:nth-child(even) .feature-image {
    border-radius: 60px 0;
}


.feature-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 2/3;
    object-fit: cover;
}

/* Feature Products Swiper 样式 */
.feature-products {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin: 2rem 0;
}

.feature-swiper {
    width: 100%;
    height: auto;
    overflow: hidden;
    flex: 1;
    max-width: 652px;
}

.feature-swiper .swiper-wrapper {
    align-items: stretch;
    height: auto;
}

.feature-swiper .swiper-slide {
    width: 204px;
    height: auto;
    flex-shrink: 0;
    display: flex;
    box-sizing: border-box;
}

/* Feature 产品项在轮播图中的样式 */
.feature-swiper .feature-item {
    background: #fff;
    border-radius: 6px;
    transition: all 0.3s ease;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.feature-swiper .feature-item-image {
    width: 100%;
    aspect-ratio: 4/5;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
}

.feature-swiper .feature-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.feature-swiper .feature-info {
    padding: 0.75rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.feature-swiper .feature-info h3 {
    font-size: clamp(12px, 2vw, 18px);
    margin: 0 0 0.5rem 0;
    color: #242424;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.3;
    font-weight: 500;
}

.feature-swiper .feature-info .price {
    font-size: clamp(12px, 1.8vw, 16px);
    color: #666;
    margin: 0.25rem 0;
}

.feature-swiper .feature-info .add-to-cart {
    padding: 0.4rem 0.8rem;
}

/* Feature Pagination */
.feature-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.feature-pagination .pagination-btn {
    width: 11px;
}

.feature-pagination .pagination-dots {
    gap: 0.3rem;
}

.feature-pagination .pagination-dot {
    width: 11px;
}

/* About Section - 关于我们区域 */
.about-section {
    padding: 3rem 0;
    background-color: #fff;
}

.about-image {
    margin-top: 2rem;
    border-radius: 12px;
}

.about-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* 产品悬停效果 */
.product-show-image:hover {
    display: none;
}

.product-image:hover .product-show-image {
    display: none;
}

.product-image:hover {
    background-image: var(--product-bg-image, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.product-item:hover .product-image {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

/* Feature 产品悬停效果 */
.feature-item-image:hover .feature-item-show-image {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-item-image:hover {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.feature-item:hover .feature-item-image {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.feature-item-image {
    width: 100%;
    aspect-ratio: 4/5;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
    border-radius: 6px 6px 0 0;
}

.feature-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

/* 文本行数限制工具类 */
.line-two-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 49px;
}

.m-product-name.line-two-text {
    height: 70px;
}

/* 响应式显示控制 */
.products-section {
    display: block;
}

.m-products-section {
    display: none;
}

/* 移动端产品样式 */
.m-products-section {
    padding: 2rem 0;
    background-color: #fff;
}

.m-section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.m-section-title {
    color: #105E8C;
    font-size: clamp(24px, 4vw, 30px);
    text-align: center;
    margin: 0;
    padding: 1rem 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-weight: 500;
}

.m-products-container-wrapper {
    display: flex;
    justify-content: center;
    height: 500px;
}

.m-products-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

/* Mobile Products Swiper 样式 */
.m-products-swiper {
    width: 100%;
    height: auto;
    overflow: visible;
    flex: 1;
}

.m-products-swiper .swiper-wrapper {
    align-items: stretch;
    height: auto;
}

.m-products-swiper .swiper-slide {
    width: auto;
    height: auto;
    flex-shrink: 0;
    display: flex;
}

/* Mobile 产品项在轮播图中的样式 */
.m-products-swiper .m-product-item {
    background: #fff;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.m-products-swiper .m-product-image {
    width: 100%;
    flex-shrink: 0;
}

.m-products-swiper .m-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.m-products-swiper .m-product-info {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.m-products-swiper .m-product-name {
    color: #242424;
    font-size: 24px;
    font-weight: 500;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
}

.m-products-swiper .m-product-price {
    color: #242424;
    font-size: 24px;
    margin: 0.5rem 0;
    text-align: center;
}

.m-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    flex: 1;
    padding: 0 1rem;
}

.m-section-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.m-section-more {
    line-height: 38px;
    font-size: 18px;
    min-width: 50px;
    margin: 10px;
}

.m-product-item {
    background: #fff;
    border-radius: 8px;
}

.m-product-image {
    width: 100%;
    
}

.m-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.m-product-info {
    padding: 1rem;
}

.m-product-name {
    color: #242424;
    font-size: 24px;
    font-weight: 500;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
}

.m-product-price {
    color: #242424;
    font-size: 24px;
    margin: 0.5rem 0;
    text-align: center;
}

.m-add-to-cart {
    background: linear-gradient(135deg, #105E8C, #1a7bc4);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.m-add-to-cart:hover {
    background: linear-gradient(135deg, #0d4a73, #156bb1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 94, 140, 0.3);
}

/* 手机端分页样式 */
.m-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.m-pagination-btn {
    flex-shrink: 0;
    width: 11px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.m-pagination-btn:hover {
    transform: scale(1.1);
}

.m-pagination-dots {
    display: flex;
    gap: 0.5rem;
}

.m-pagination-dot {
    width: clamp(15px, 2.5vw, 20px);
    height: auto;
    transition: transform 0.3s ease;
}

.m-pagination-dot.active,
.m-pagination-dot:hover {
    transform: scale(1.2);
}

/* 手机端悬停效果 */
.m-product-image:hover .product-show-image {
    display: none;
}

.m-product-image:hover {
    background-image: var(--product-bg-image, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.m-product-item:hover .m-product-image {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

.product-image-overlay,.product-image, .feature-item-image, .feature-item-image-overlay {
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: center;

    background-color: #fff;
}

.product-image-overlay, .feature-item-image-overlay {
    width: 100%;
    height: 100%;
}

.color-white {
    color: #fff !important;
}

/* 响应式设计断点 */
@media (max-width: 809px) {
    .products-section {
        display: none;
    }
    
    .m-products-section {
        display: block;
        overflow: hidden;
    }
    
    .pc-box {
        display: none !important;
    }
    
    .m-products-container {
        display: flex;
        align-items: center;
        gap: 15px;
        width: 750px;
        margin: 2rem auto;
        justify-content: center;
    }
    
    .m-products-grid {
        display: grid;
        grid-template-columns: repeat(2, 350px);
        gap: 20px;
        width: 720px;
        flex: none;
        padding: 0;
        margin: 0;
    }
    
    .m-product-item {
        width: 350px;
        flex-shrink: 0;
    }
    
    .m-product-image {
        width: 350px;
    }
    
    .m-product-image img {
        width: 350px;
        object-fit: cover;
    }
    
    .m-product-info {
        width: 350px;
        padding: 1rem;
        box-sizing: border-box;
    }
    
    .m-product-name {
        font-size: 16px;
        line-height: 1.4;
        height: auto;
        min-height: 45px;
    }
    
    .m-product-price {
        font-size: 18px;
        height: 27px;
        line-height: 27px;
    }
    
    .m-add-to-cart {
        font-size: 14px;
        padding: 12px 16px;
        height: 48px;
        line-height: 24px;
    }
}

@media (min-width: 810px) and (max-width: 1200px) {
    .products-swiper {
        width: 1040px;
        flex: none;
    }
    
    .products-swiper .swiper-slide {
        width: 240px;
        flex-shrink: 0;
    }
    
    .products-swiper .product-item {
        width: 240px;
        flex-shrink: 0;
    }
    
    .products-swiper .product-image {
        width: 240px;
        height: 300px;
    }
    
    .products-swiper .product-image img {
        width: 240px;
        height: 300px;
        object-fit: cover;
    }
    
    .products-swiper .product-info {
        width: 240px;
        padding: 1rem;
        box-sizing: border-box;
    }
    
    .products-container {
        display: flex;
        align-items: flex-start;
        gap: 20px;
        width: 1160px;
        margin: 2rem auto;
        justify-content: center;
    }
    
    .nav-btn {
        width: 22px;
        height: 44px;
        flex-shrink: 0;
    }
    
    .nav-btn img {
        width: 22px;
        height: 44px;
        object-fit: contain;
    }
    
    .products-grid {
        display: grid;
        grid-template-columns: repeat(4, 240px);
        gap: 20px;
        width: 1040px;
        flex: none;
        padding: 0;
        margin: 0;
    }
    
    .product-item {
        width: 240px;
        flex-shrink: 0;
    }
    
    .product-image {
        width: 240px;
        height: 300px;
    }
    
    .product-image img {
        width: 240px;
        height: 300px;
        object-fit: cover;
    }
    
    .product-info {
        width: 240px;
        padding: 1rem;
        box-sizing: border-box;
    }
    
    .product-name {
        font-size: 18px;
        line-height: 1.4;
        height: auto;
        min-height: 50px;
    }
    
    .product-price {
        font-size: 16px;
        height: 24px;
        line-height: 24px;
    }
    
    .add-to-cart {
        font-size: 16px;
        padding: 12px 16px;
        height: 48px;
        line-height: 24px;
    }
    
    /* Feature Swiper 响应式样式 */
    .feature-swiper {
        max-width: 652px;
    }
    
    .feature-swiper .swiper-slide {
        width: 204px;
        min-width: 180px;
    }
    
    .feature-swiper .feature-item {
        margin: 0;
    }
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    
    .feature-image {
        display: none;
    }
    
    /* Feature Swiper 在小屏幕下的样式 */
    .feature-swiper {
        max-width: 100%;
    }
    
    .feature-swiper .swiper-slide {
        width: 45%;
        min-width: 150px;
    }
    
    .feature-content {
        flex-direction: column !important;
        gap: 1rem;
    }
    
    .feature-text {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 60vw;
        max-height: 400px;
    }

    .section-title {
        padding: 0;
    }
    
    .banner-content {
        padding: 0 15px;
    }
    
    .banner-btn {
        padding: 10px 24px;
        font-size: 14px;
    }
    
    .banner-button-next,
    .banner-button-prev {
        width: 40px;
        height: 40px;
        margin-top: -20px;
    }
    
    .banner-button-next:after,
    .banner-button-prev:after {
        font-size: 14px;
    }
    
    .banner-pagination {
        bottom: 20px !important;
    }
    
    .banner-pagination .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }
    
    /* Feature Swiper 移动端样式 */
    .feature-swiper {
        max-width: 100%;
    }
    
    .feature-swiper .swiper-slide {
        width: 100%;
        min-width: 200px;
    }
    
    .feature-products {
        gap: 0.5rem;
        margin: 1rem 0;
    }
    
    .feature-swiper .feature-item {
        margin: 0 2px;
    }
    
    .feature-swiper .feature-info {
        padding: 0.5rem;
    }
    
    .feature-swiper .feature-info h3 {
        font-size: 14px;
    }
    
    .feature-swiper .feature-info .price {
        font-size: 12px;
    }
    
    .feature-swiper .feature-info .add-to-cart {
        font-size: 10px;
        padding: 0.3rem 0.6rem;
    }
}

@media (max-width: 480px) {
    .products-swiper .product-info {
        padding: 0.75rem;
    }
    
    .products-swiper .product-name {
        font-size: 14px;
    }
    
    .products-swiper .product-price {
        font-size: 16px;
    }
    
    .products-swiper .add-to-cart {
        font-size: 12px;
        padding: 0.5rem;
    }
    
    /* Feature Swiper 超小屏幕样式 */
    .feature-swiper {
        max-width: 100%;
    }
    
    .feature-swiper .swiper-slide {
        width: 100%;
        min-width: 150px;
    }
    
    .feature-swiper .feature-item {
        margin: 0 1px;
    }
    
    .feature-swiper .feature-info {
        padding: 0.4rem;
    }
    
    .feature-swiper .feature-info h3 {
        font-size: 12px;
        line-height: 1.2;
    }
    
    .feature-swiper .feature-info .price {
        font-size: 11px;
    }
    
    .feature-swiper .feature-info .add-to-cart {
        font-size: 9px;
        padding: 0.2rem 0.4rem;
    }
    
    .feature-products {
        gap: 0.3rem;
    }
}