/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* 基础容器 */
.zh_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.zh_main {
    min-height: 100vh;
}

/* 章节标题 */
.zh_section_title {
    text-align: center;
    font-size: 2.5rem;
    color: #2d5016;
    margin-bottom: 3rem;
    position: relative;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.zh_section_title i {
    color: #4CAF50;
    font-size: 2rem;
}

.zh_section_title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #4CAF50, #81C784);
    border-radius: 2px;
}

/* 轮播图区域 */
.zh_hero_section {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-bottom: 4rem;
}

.zh_hero_slider {
    position: relative;
    height: 100%;
}

.zh_slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zh_slide_active {
    opacity: 1;
}

.zh_slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.zh_slide_content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 600px;
    padding: 0 20px;
}

.zh_slide_title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.zh_slide_desc {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.zh_btn_primary {
    display: inline-block;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.zh_btn_primary:hover {
    background: linear-gradient(135deg, #45a049, #3d8b40);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* 轮播图导航 */
.zh_slider_nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.zh_nav_dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.zh_nav_active {
    background: white;
}

/* 热门推荐区域 */
.zh_recommend_section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #FFF8E1, #F3E5F5);
    margin-bottom: 0;
}

.zh_recommend_products_grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

/* 最新上架区域 */
.zh_new_section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #E8F5E8, #F1F8E9);
    margin-bottom: 2rem;
}

.zh_new_products_grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

/* 推荐标签样式 */
.zh_recommend_badge {
    background: linear-gradient(135deg, #FF9800, #FFB74D);
}

/* 空状态样式 */
.zh_empty_state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 2rem;
    color: #666;
}

.zh_empty_state i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 1rem;
    display: block;
}

.zh_empty_state p {
    font-size: 1.1rem;
    margin: 0;
}

/* 栏目产品展示区域 */
.zh_category_products_section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.zh_tea_products {
    background: white;
}

.zh_seafood_products {
    background: linear-gradient(135deg, #F0F8F0, #E8F5E8);
}

/* 栏目产品网格（四个一行） */
.zh_category_products_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.zh_product_card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.zh_product_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.zh_product_image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.zh_product_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.zh_product_card:hover .zh_product_image img {
    transform: scale(1.05);
}

.zh_product_badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 2;
}

.zh_new_badge {
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
}

.zh_product_content {
    padding: 1.5rem;
}

.zh_product_title {
    margin-bottom: 0.8rem;
}

.zh_product_title a {
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zh_product_title a:hover {
    color: #4CAF50;
}

.zh_product_price {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.zh_price_label {
    color: #666;
    font-size: 0.9rem;
}

.zh_current_price {
    color: #e74c3c;
    font-size: 1.3rem;
    font-weight: 600;
}

.zh_market_price {
    color: #999;
    font-size: 1rem;
    text-decoration: line-through;
}

/* 查看详情按钮样式 */
.zh_view_detail_btn {
    width: 100%;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.zh_view_detail_btn:hover {
    background: linear-gradient(135deg, #45a049, #3d8b40);
    transform: translateY(-1px);
    color: white;
}

.zh_view_detail_btn i {
    font-size: 0.8rem;
}

/* 添加到购物车按钮样式（保留备用） */
.zh_add_cart_btn {
    width: 100%;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.zh_add_cart_btn:hover {
    background: linear-gradient(135deg, #45a049, #3d8b40);
    transform: translateY(-1px);
}

/* 品牌优势区域 */
.zh_features_section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #E8F5E8, #F1F8E9);
}

.zh_features_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.zh_feature_card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.zh_feature_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.zh_feature_icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: white;
}

.zh_feature_card h3 {
    font-size: 1.3rem;
    color: #2d5016;
    margin-bottom: 1rem;
    font-weight: 600;
}

.zh_feature_card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .zh_section_title {
        font-size: 2rem;
        margin-bottom: 2rem;
        flex-direction: column;
        gap: 5px;
    }
    
    .zh_section_title i {
        font-size: 1.5rem;
    }
    
    .zh_slide_title {
        font-size: 2rem;
    }
    
    .zh_slide_desc {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .zh_recommend_products_grid,
    .zh_new_products_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .zh_category_products_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .zh_features_grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .zh_hero_section {
        height: 350px;
    }
    
    .zh_recommend_section,
    .zh_new_section,
    .zh_category_products_section,
    .zh_features_section {
        padding: 2rem 0;
    }
    
    .zh_container {
        padding: 0 10px;
    }
    
    .zh_block_title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .zh_slide_title {
        font-size: 1.5rem;
    }
    
    .zh_slide_desc {
        font-size: 0.9rem;
    }
    
    .zh_btn_primary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .zh_product_content {
        padding: 1rem;
    }
    
    .zh_feature_card {
        padding: 1.5rem 1rem;
    }
    
    .zh_recommend_products_grid,
    .zh_new_products_grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .zh_category_products_grid {
        grid-template-columns: 1fr;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.zh_animate_fade_in_up {
    animation: fadeInUp 0.8s ease-out;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #4CAF50;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #45a049;
}
