/* 视频背景区域 - 参考参考页面样式 */
.video-hero {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

.video-background.loaded {
    opacity: 1;
}

.video-background.playing {
    opacity: 1;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 0;
}

.video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 1;
    transition: opacity 0.3s;
}

.video-loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.video-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.video-title {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.video-subtitle {
    font-size: 24px;
    margin: 0 0 30px 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.video-cta-btn {
    display: inline-block;
    padding: 15px 40px;
    background: #ff6b35;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.video-cta-btn:hover {
    background: #ff8533;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 平板适配 */
@media (max-width: 1024px) {
    .video-hero {
        height: 400px;
    }
    
    .video-title {
        font-size: 40px;
    }
    
    .video-subtitle {
        font-size: 20px;
    }
}

/* 手机端优化 */
@media (max-width: 768px) {
    .video-hero {
        height: 350px;
    }
    
    .video-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .video-subtitle {
        font-size: 18px;
        margin-bottom: 25px;
    }
    
    .video-cta-btn {
        padding: 12px 30px;
        font-size: 16px;
    }
}

/* 小屏手机适配 */
@media (max-width: 480px) {
    .articles-carousel,
    .popular-products-carousel,
    .feature-products-carousel {
        padding: 0 40px;
    }
    
    .articles-carousel .carousel-nav.carousel-prev,
    .popular-products-carousel .carousel-nav.carousel-prev,
    .feature-products-carousel .carousel-nav.carousel-prev {
        left: -15px;
    }
    
    .articles-carousel .carousel-nav.carousel-next,
    .popular-products-carousel .carousel-nav.carousel-next,
    .feature-products-carousel .carousel-nav.carousel-next {
        right: -15px;
    }
    
    .articles-carousel .carousel-nav,
    .popular-products-carousel .carousel-nav,
    .feature-products-carousel .carousel-nav {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .article-card,
    .popular-products-carousel .product-card,
    .feature-products-carousel .product-card {
        flex: 0 0 100%;
    }
    
    .article-title {
        font-size: 16px;
    }
    
    .article-description {
        font-size: 13px;
    }
    
    .btn-read-more {
        font-size: 13px;
    }
    
    .popular-products-carousel .product-name,
    .feature-products-carousel .product-name {
        font-size: 13px;
        min-height: 36px;
    }
    
    .popular-products-carousel .product-price,
    .feature-products-carousel .product-price {
        font-size: 16px;
    }
    
    .popular-products-carousel .btn-add-to-cart,
    .feature-products-carousel .btn-add-to-cart {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .video-hero {
        height: 300px;
    }
    
    .video-title {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .video-subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .video-cta-btn {
        padding: 10px 25px;
        font-size: 14px;
    }
}

/* 轮播图列表样式 */
.flexslider .slides {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.flexslider .slides > li {
    display: block;
    width: 100%;
    position: relative;
    overflow: hidden;
    float: left;
}

/* 图片自适应 - 高度跟随图片 */
.flexslider .slides img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    max-width: 100%;
}

/* 桌面端悬停效果 */
@media (hover: hover) and (pointer: fine) {
    .flexslider .slides img:hover {
        transform: scale(1.02);
    }
}

/* 手机端优化 */
@media (max-width: 768px) {
    .flexslider .slides img {
        width: 100%;
        height: auto;
    }
}

/* 确保容器高度跟随图片 */
.flexslider .slides > li {
    height: auto;
}

.flexslider .slides > li img {
    display: block;
}

/* 链接样式 */
.flexslider .slides a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}


/* 覆盖原有固定高度 */
.main-content .container {
    max-width: 100%;
    width: 100%;
    padding: 0;
    height: auto;
    display: block;
}

.store-page {
    padding: 20px 0;
}

.store-header {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.store-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.store-logo img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.store-details h1 {
    margin: 0 0 10px 0;
    color: #0f0f0f;
}

.store-desc {
    color: #666;
    margin: 0 0 10px 0;
}

.store-stats {
    display: flex;
    gap: 20px;
    color: #999;
    font-size: 14px;
}

.store-nav {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.store-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.store-nav li {
    flex: 1;
}

.store-nav a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #666;
    text-align: center;
    border-bottom: 3px solid transparent;
}

.store-nav li.active a {
    color: #007bff;
    border-bottom-color: #007bff;
}

.goods-section {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.goods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.goods-item {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.goods-item:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.goods-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.goods-info {
    padding: 15px;
}

.goods-name {
    margin: 0 0 10px 0;
    font-size: 14px;
    line-height: 1.4;
}

.goods-name a {
    color: #0f0f0f;
    text-decoration: none;
}

.goods-price {
    margin-bottom: 15px;
}

.current-price {
    color: #e74c3c;
    font-size: 18px;
    font-weight: bold;
}

.market-price {
    color: #999;
    text-decoration: line-through;
    margin-left: 10px;
}

.goods-actions {
    display: flex;
    gap: 10px;
}

.btn-add-cart, .btn-buy-now {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.btn-add-cart {
    background: #f8f9fa;
    color: #0f0f0f;
    border: 1px solid #ddd;
}

.btn-buy-now {
    background: #007bff;
    color: white;
}

.no-goods {
    text-align: center;
    padding: 40px;
    color: #999;
}

.store-about {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.about-content {
    line-height: 1.6;
    color: #666;
}

/* 服务承诺横条 */
.service-promise-bar {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 20px;
    margin: 0;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.service-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    flex: 1;
    max-width: 250px;
}

.service-icon {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: white;
    font-weight: 500;
    text-align: left;
    line-height: 1.4;
}

.service-text span {
    display: block;
    font-size: 14px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .service-promise-bar {
        flex-wrap: wrap;
        gap: 20px;
        padding: 20px 10px;
    }
    
    .service-item {
        flex: 0 0 calc(50% - 10px);
        max-width: none;
    }
    
    .service-icon {
        width: 48px;
        height: 48px;
    }
    
    .service-text span {
        font-size: 12px;
    }
}

/* 热门分类 */
.popular-categories,
.feature-products,
.latest-articles,
.main-categories,
.popular-products {
    padding: 60px 20px;
    background: #fff;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header-inline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.section-title {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.section-label-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-icon {
    font-size: 20px;
    color: #EF6440;
    display: inline-block;
}

.section-icon i {
    font-size: inherit;
    line-height: 1;
    color: #EF6440;
}

.section-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #EF6440;
    text-transform: uppercase;
}

.latest-articles .section-icon,
.latest-articles .section-icon i,
.latest-articles .section-label {
    color: #EF6440;
}

.section-title h2 {
    margin: 0;
    font-size: 32px;
    font-weight: 600;
    color: #0f0f0f;
}

.section-description {
    margin: 0 0 40px 0;
    color: #666;
    line-height: 1.6;
    font-size: clamp(14px, 0.833vw, 40px);
    max-width: 100%;
}

.section-actions {
    margin-top: 40px;
}

.btn-see-all {
    display: inline-block;
    padding: 12px 30px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
}

.btn-see-all:hover {
    background: #0f0f0f;
}

/* 分类网格 */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.category-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s;
    cursor: pointer;
}

.category-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.category-image {
    width: 100%;
    padding-top: 100%;
    position: relative;
    overflow: hidden;
}

.category-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-name {
    padding: 15px;
    text-align: center;
    font-weight: 500;
    color: #0f0f0f;
    font-size: 14px;
}

/* 产品轮播 */
.products-carousel {
    position: relative;
    padding: 0 50px;
}

.carousel-container {
    overflow: hidden;
}

.carousel-wrapper {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
}

.product-card {
    flex: 0 0 calc(25% - 15px);
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
}

.product-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-actions {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
}

.product-card:hover .product-actions {
    opacity: 1;
}

.btn-add-to-cart {
    display: inline-block;
    padding: 12px 30px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.btn-add-to-cart:hover {
    background: #ff6b35;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.product-quick-actions {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.product-quick-actions li {
    margin: 0;
}

.product-quick-actions a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s;
    color: #0f0f0f;
}

.product-quick-actions a:hover {
    background: #000;
    color: #fff;
    transform: scale(1.1);
}

.product-info {
    padding: 15px;
}

.product-name {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 500;
}

.product-name a {
    color: #0f0f0f;
    text-decoration: none;
}

.product-name a:hover {
    color: #ff6b35;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
}

.product-price .current-price {
    color: #e74c3c;
}

.product-price .market-price {
    color: #999;
    text-decoration: line-through;
    font-size: 14px;
    font-weight: 400;
}

.articles-carousel .carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
    color: #666;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.articles-carousel .carousel-nav.carousel-prev {
    left: -25px;
}

.articles-carousel .carousel-nav.carousel-next {
    right: -25px;
}

.articles-carousel .carousel-nav i {
    font-size: 20px;
    line-height: 1;
    color: #666;
}

.articles-carousel .carousel-nav:hover {
    background: rgba(255, 255, 255, 1);
    color: #000;
    border-color: #ccc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.articles-carousel .carousel-nav:hover i {
    color: #000;
}

.carousel-nav.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.carousel-nav.disabled:hover {
    background: #fff;
    color: #0f0f0f;
    border-color: #e5e5e5;
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

/* 文章轮播 */
.articles-carousel {
    position: relative;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0;
}

.carousel-container {
    overflow: hidden;
}

.articles-wrapper {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
}

.article-card {
    flex: 0 0 calc(25% - 15px);
    min-width: 0;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.article-image {
    width: 100%;
    padding-top: 60%;
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
}

.article-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.article-title {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #0f0f0f;
}

.article-title a {
    color: #0f0f0f;
    text-decoration: none;
    transition: color 0.3s;
}

.article-title a:hover {
    color: #ff6b35;
}

.article-description {
    margin: 0 0 15px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    flex: 1;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    background: transparent;
    color: #007bff;
    border: none;
    text-decoration: underline;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    align-self: flex-start;
    cursor: pointer;
}

.btn-read-more:hover {
    color: #0056b3;
    text-decoration: underline;
}

.btn-read-more i {
    font-size: 12px;
    transition: transform 0.3s;
}

.btn-read-more:hover i {
    transform: translateX(3px);
}

/* 热门产品轮播使用相同的产品卡片样式 */
.popular-products-carousel .product-card {
    flex: 0 0 calc(25% - 15px);
}

@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .product-card,
    .article-card,
    .popular-products-carousel .product-card {
        flex: 0 0 calc(33.333% - 14px);
    }
}

@media (max-width: 1024px) {
    .main-categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .popular-products-carousel .product-card {
        flex: 0 0 calc(33.333% - 14px);
    }
}

@media (max-width: 768px) {
    .popular-categories,
    .feature-products,
    .latest-articles,
    .main-categories,
    .popular-products {
        padding: 40px 15px;
    }
    
    .section-header-inline {
        flex-direction: column;
        gap: 20px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .main-categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .products-carousel,
    .articles-carousel,
    .popular-products-carousel,
    .feature-products-carousel {
        padding: 0px;
    }
    
    .articles-carousel {
        padding: 0 50px;
    }
    
    .articles-carousel .carousel-nav.carousel-prev {
        left: -20px;
    }
    
    .articles-carousel .carousel-nav.carousel-next {
        right: -20px;
    }
    
    .feature-products-carousel .carousel-nav.carousel-prev {
        left: -20px;
    }
    
    .feature-products-carousel .carousel-nav.carousel-next {
        right: -20px;
    }
    
    .product-card,
    .article-card {
        flex: 0 0 calc(50% - 10px);
    }
    
    .popular-products-carousel .product-card,
    .feature-products-carousel .product-card {
        flex: 0 0 calc(50% - 10px);
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .articles-carousel .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .popular-products-carousel .carousel-nav,
    .feature-products-carousel .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* 轮播图容器基础样式 */
.main-content .container {
    max-width: 100%;
    width: 100%;
    padding: 0;
    height: auto;
    display: block;
}

.flex-container a:active,
.flexslider a:active {
    outline: none;
}

.slides,
.flex-control-nav,
.flex-direction-nav {
    padding: 0;
    margin: 0;
    list-style: none;
}

.flexslider .slides > li {
    display: none;
    height: auto;
}

.flexslider .slides > li:first-child {
    display: block;
}

.flexslider .slides img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}

.flex-pauseplay span {
    text-transform: capitalize;
}

.slides:after {
    line-height: 0;
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.no-js .slides > li:first-child {
    display: block;
}

.flexslider .slides {
    zoom: 1;
}

.flexslider .slides > li {
    position: relative;
}

.flex-container {
    position: relative;
    zoom: 1;
}

/* 导航按钮样式优化 */
.flex-direction-nav li a {
    font-size: 0px;
    line-height: 0;
    background-color: transparent;
    text-indent: -9999px;
    display: block;
    width: 0;
    height: 0;
    padding: 0;
    margin: -16px 0 0 0;
    border: solid 16px;
    position: absolute;
    top: 50%;
    opacity: 0.3;
    filter: alpha(opacity=30);
    cursor: pointer;
    transition: opacity 0.3s;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* 桌面端悬停效果 */
@media (hover: hover) and (pointer: fine) {
    .flex-direction-nav li a:hover {
        opacity: 0.9;
        filter: alpha(opacity=90);
    }
}

/* 手机端触摸反馈 */
@media (max-width: 768px) {
    .flex-direction-nav li a:active {
        opacity: 1 !important;
        transform: scale(0.95);
    }
}

/* 左箭头：使用图片 */
.flex-direction-nav li .flex-prev {
    border: none !important;
    width: 40px !important;
    height: 40px !important;
    margin: -20px 0 0 0 !important;
    text-indent: -9999px !important;
    background-image: url('../images/left-arrow.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    left: 20px;
    transform: translateY(-50%);
    z-index: 15;
    touch-action: manipulation;
}

.flex-direction-nav li .flex-prev::after {
    display: none;
}

/* 右箭头：使用图片 */
.flex-direction-nav li .flex-next {
    border: none !important;
    width: 40px !important;
    height: 40px !important;
    margin: -20px 0 0 0 !important;
    text-indent: -9999px !important;
    background-image: url('../images/rigt-arrow.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    right: 20px;
    transform: translateY(-50%);
    z-index: 15;
    touch-action: manipulation;
}

.flex-direction-nav li .flex-next::after {
    display: none;
}

/* 手机端导航按钮优化 */
@media (max-width: 768px) {
    .flex-direction-nav li .flex-prev,
    .flex-direction-nav li .flex-next {
        width: 36px !important;
        height: 36px !important;
        margin: -18px 0 0 0 !important;
        opacity: 0.7;
        left: 10px;
    }
    
    .flex-direction-nav li .flex-next {
        right: 10px;
    }
    
    /* 手机端悬停时显示更明显 */
    .flex-direction-nav li a:hover {
        opacity: 1 !important;
    }
}

/* 小屏手机导航按钮进一步缩小 */
@media (max-width: 480px) {
    .articles-carousel {
        padding: 0 40px;
    }
    
    .articles-carousel .carousel-nav.carousel-prev {
        left: -15px;
    }
    
    .articles-carousel .carousel-nav.carousel-next {
        right: -15px;
    }
    
    .articles-carousel .carousel-nav {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .article-card {
        flex: 0 0 100%;
    }
    
    .article-title {
        font-size: 16px;
    }
    
    .article-description {
        font-size: 13px;
    }
    
    .btn-read-more {
        font-size: 13px;
    }
    
    .flex-direction-nav li .flex-prev,
    .flex-direction-nav li .flex-next {
        width: 32px !important;
        height: 32px !important;
        margin: -16px 0 0 0 !important;
        left: 8px;
        opacity: 0.6;
    }
    
    .flex-direction-nav li .flex-next {
        right: 8px;
    }
}

.flex-direction-nav li .disabled {
    opacity: 0.3;
    filter: alpha(opacity=30);
    cursor: default;
}

/* 控制点样式优化 */
.flex-control-nav {
    text-align: center;
    width: 100%;
    position: absolute;
    bottom: 20px;
    z-index: 10;
    padding: 0 20px;
    box-sizing: border-box;
}

.flex-control-nav li {
    display: inline-block;
    margin: 0 0 0 9px;
    zoom: 1;
    vertical-align: middle;
}

.flex-control-nav li:first-child {
    margin: 0;
}

.flex-control-nav li a {
    line-height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    text-indent: -9999px;
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.8);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* 桌面端悬停效果 */
@media (hover: hover) and (pointer: fine) {
    .flex-control-nav li a:hover {
        background-color: rgba(255, 204, 0, 0.8);
        border-color: rgba(255, 204, 0, 1);
        transform: scale(1.2);
    }
}

.flex-control-nav li a.flex-active {
    background-color: #ff6600;
    border-color: #ff6600;
    cursor: default;
    width: 14px;
    height: 14px;
}

/* 手机端控制点优化 */
@media (max-width: 768px) {
    .flex-control-nav {
        bottom: 15px;
        padding: 0 15px;
    }
    
    .flex-control-nav li {
        margin: 0 0 0 8px;
    }
    
    .flex-control-nav li a {
        width: 10px;
        height: 10px;
        border-width: 1.5px;
        background-color: rgba(255, 255, 255, 0.6);
    }
    
    .flex-control-nav li a.flex-active {
        width: 12px;
        height: 12px;
    }
}

/* 小屏手机控制点进一步优化 */
@media (max-width: 480px) {
    .flex-control-nav {
        bottom: 12px;
        padding: 0 10px;
    }
    
    .flex-control-nav li {
        margin: 0 0 0 6px;
    }
    
    .flex-control-nav li a {
        width: 8px;
        height: 8px;
        border-width: 1px;
    }
    
    .flex-control-nav li a.flex-active {
        width: 10px;
        height: 10px;
    }
}

/* 主要业务分类板块 */
.main-categories,
.popular-products {
    padding: 60px 20px;
    background: #fff;
}

.main-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .main-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .main-categories,
    .popular-products {
        padding: 40px 15px;
    }
    
    .main-categories-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.main-category-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.main-category-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.main-category-image {
    width: 100%;
    padding-top: 75%;
    position: relative;
    overflow: hidden;
}

.main-category-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    display: block;
    background: #f5f5f5;
}

.main-category-card:hover .main-category-image img {
    transform: scale(1.05);
}

.main-category-info {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-category-name {
    font-size: 18px;
    font-weight: 600;
    color: #0f0f0f;
}

.main-category-arrow {
    font-size: 20px;
    color: #999;
    transition: transform 0.3s;
    display: inline-block;
}

.main-category-arrow i {
    font-size: inherit;
    line-height: 1;
    color: #999;
}

.main-category-card:hover .main-category-arrow {
    transform: translateX(5px);
}

/* 特色产品板块 */
.feature-products-carousel {
    position: relative;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0;
}

.feature-products-carousel .carousel-container {
    overflow: hidden;
}

.feature-products-carousel .carousel-wrapper {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
}

.feature-products-carousel .product-card {
    flex: 0 0 calc(25% - 15px);
    min-width: 0;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
}

.feature-products-carousel .product-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

.feature-products-carousel .product-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
}

.feature-products-carousel .product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.feature-products-carousel .product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-products-carousel .product-card:hover .product-image img {
    transform: scale(1.1);
}

.feature-products-carousel .product-actions {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
}

.feature-products-carousel .product-card:hover .product-actions {
    opacity: 1;
}

.feature-products-carousel .btn-add-to-cart {
    display: inline-block;
    padding: 12px 30px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.feature-products-carousel .btn-add-to-cart:hover {
    background: #ff6b35;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.feature-products-carousel .product-quick-actions {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.feature-products-carousel .product-quick-actions li {
    margin: 0;
}

.feature-products-carousel .product-quick-actions a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s;
    color: #0f0f0f;
}

.feature-products-carousel .product-quick-actions a:hover {
    background: #000;
    color: #fff;
    transform: scale(1.1);
}

.feature-products-carousel .product-info {
    padding: 15px;
}

.feature-products-carousel .product-name {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    min-height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.feature-products-carousel .product-name a {
    color: #0f0f0f;
    text-decoration: none;
    transition: color 0.3s;
}

.feature-products-carousel .product-name a:hover {
    color: #ff6b35;
}

.feature-products-carousel .product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
}

.feature-products-carousel .current-price {
    color: #e74c3c;
}

.feature-products-carousel .market-price {
    color: #999;
    text-decoration: line-through;
    font-size: 14px;
    font-weight: 400;
}

.feature-products-carousel .carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
    color: #666;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.feature-products-carousel .carousel-nav i {
    font-size: 20px;
    line-height: 1;
    color: #666;
}

.feature-products-carousel .carousel-nav:hover {
    background: rgba(255, 255, 255, 1);
    color: #000;
    border-color: #ccc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.feature-products-carousel .carousel-nav:hover i {
    color: #000;
}

.feature-products-carousel .carousel-nav.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.feature-products-carousel .carousel-prev {
    left: -25px;
}

.feature-products-carousel .carousel-next {
    right: -25px;
}

/* 热门产品板块 */
.popular-products-carousel {
    position: relative;
    padding: 0;
}

.popular-products-carousel .carousel-container {
    overflow: hidden;
}

.popular-products-carousel .carousel-wrapper {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
}

.popular-products-carousel .product-card {
    flex: 0 0 calc(25% - 15px);
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
}

.popular-products-carousel .product-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

.popular-products-carousel .product-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
}

.popular-products-carousel .product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.popular-products-carousel .product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.popular-products-carousel .product-card:hover .product-image img {
    transform: scale(1.1);
}

.popular-products-carousel .product-actions {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
}

.popular-products-carousel .product-card:hover .product-actions {
    opacity: 1;
}

.popular-products-carousel .btn-add-to-cart {
    display: inline-block;
    padding: 12px 30px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.popular-products-carousel .btn-add-to-cart:hover {
    background: #ff6b35;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.popular-products-carousel .product-quick-actions {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.popular-products-carousel .product-quick-actions li {
    margin: 0;
}

.popular-products-carousel .product-quick-actions a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s;
    color: #0f0f0f;
}

.popular-products-carousel .product-quick-actions a:hover {
    background: #000;
    color: #fff;
    transform: scale(1.1);
}

.popular-products-carousel .product-info {
    padding: 15px;
}

.popular-products-carousel .product-name {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    min-height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.popular-products-carousel .product-name a {
    color: #0f0f0f;
    text-decoration: none;
}

.popular-products-carousel .product-name a:hover {
    color: #ff6b35;
}

.popular-products-carousel .product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
}

.popular-products-carousel .current-price {
    color: #e74c3c;
}

.popular-products-carousel .market-price {
    color: #999;
    text-decoration: line-through;
    font-size: 14px;
    font-weight: 400;
}

.popular-products-carousel .carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
    color: #666;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.popular-products-carousel .carousel-nav i {
    font-size: 20px;
    line-height: 1;
    color: #666;
}

.popular-products-carousel .carousel-nav:hover {
    background: rgba(255, 255, 255, 1);
    color: #000;
    border-color: #ccc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.popular-products-carousel .carousel-nav:hover i {
    color: #000;
}

.popular-products-carousel .carousel-nav.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.popular-products-carousel .carousel-prev {
    left: -25px;
}

.popular-products-carousel .carousel-next {
    right: -25px;
}