/* 杭州易护科技有限公司商城首页样式 - 基于Figma设计稿 */

/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background: #fff;
}

.zh_wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.zh_container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 80px;
}

/* 英雄区域 - 参考Figma设计 */
.zh_hero {
    position: relative;
    min-height: 830px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #CBE195;
    border-radius: 60px;
    margin: 18px;
    padding: 200px 88px 80px;
}

.zh_hero_bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920&h=1080&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    border-radius: 60px;
}

.zh_hero_bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(130, 180, 89, 0.32);
    border-radius: 60px;
}

.zh_hero_content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 768px;
}

.zh_hero_title {
    font-size: 96px;
    font-weight: 800;
    line-height: 80px;
    margin-bottom: 40px;
    letter-spacing: -1.92px;
    color: #fff;
}

.zh_hero_title .zh_highlight {
    color: #CBE195;
}

.zh_hero_subtitle {
    font-size: 32px;
    font-weight: 500;
    line-height: 40px;
    margin-bottom: 40px;
    color: #fff;
}

.zh_hero_desc {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.95);
}

.zh_hero_actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.zh_btn_primary,
.zh_btn_secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 40px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.zh_btn_primary {
    background: #749F06;
    color: #fff;
    border: none;
}

.zh_btn_primary:hover {
    background: #638708;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(116, 159, 6, 0.3);
}

.zh_btn_secondary {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}

.zh_btn_secondary:hover {
    background: rgba(255,255,255,0.3);
    border-color: #fff;
    transform: translateY(-2px);
}

.zh_btn_large {
    padding: 16px 40px;
    font-size: 18px;
}

/* 核心价值区域 */
.zh_values {
    padding: 100px 0;
    background: #f8f9fa;
}

.zh_values_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.zh_value_card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid rgba(116, 159, 6, 0.1);
}

.zh_value_card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(116, 159, 6, 0.15);
    border-color: #749F06;
}

.zh_value_icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #749F06 0%, #638708 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: #fff;
}

.zh_value_card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #18813f;
}

.zh_value_card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 区块标题 */
.zh_section_header {
    text-align: center;
    margin-bottom: 60px;
}

.zh_section_title {
    font-size: 40px;
    font-weight: 700;
    color: #18813f;
    margin-bottom: 15px;
}

.zh_section_subtitle {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* 产品分类区域 */
.zh_categories {
    padding: 100px 0;
    background: #fff;
}

.zh_category_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.zh_category_item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.zh_category_item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(116, 159, 6, 0.2);
}

.zh_category_image {
    position: relative;
    height: 350px;
    overflow: hidden;
}

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

.zh_category_item:hover .zh_category_image img {
    transform: scale(1.1);
}

.zh_category_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(24, 129, 63, 0.85) 0%, rgba(24, 129, 63, 0.3) 100%);
}

.zh_category_info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 30px;
    color: #fff;
    z-index: 2;
}

.zh_category_icon {
    width: 60px;
    height: 60px;
    background: rgba(203, 225, 149, 0.9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #18813f;
    margin-bottom: 20px;
}

.zh_category_info h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.zh_category_info p {
    font-size: 15px;
    margin-bottom: 20px;
    opacity: 0.95;
}

.zh_category_btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #CBE195;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: gap 0.3s ease;
}

.zh_category_btn:hover {
    gap: 12px;
    color: #fff;
}

/* 产品区域 */
.zh_products,
.zh_new_products {
    padding: 100px 0;
}

.zh_products {
    background: #f8f9fa;
}

.zh_new_products {
    background: #fff;
}

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

.zh_product_card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.zh_product_card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(116, 159, 6, 0.15);
    border-color: #749F06;
}

.zh_product_image {
    position: relative;
    height: 256px;
    overflow: hidden;
    background: #f5f5f5;
}

.zh_product_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.zh_product_card:hover .zh_product_image img {
    transform: scale(1.08);
}

.zh_product_badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #749F06;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.zh_badge_new {
    background: #18813f;
}

.zh_product_info {
    padding: 24px;
}

.zh_product_name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.zh_product_name a {
    color: #18813f;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zh_product_name a:hover {
    color: #749F06;
}

.zh_product_price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.zh_price_current {
    font-size: 28px;
    font-weight: 700;
    color: #749F06;
}

.zh_price_original {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

.zh_product_meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.zh_product_date {
    font-size: 13px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 商家入驻区域 */
.zh_merchant {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.zh_merchant_content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.zh_merchant_text h2 {
    font-size: 40px;
    font-weight: 700;
    color: #18813f;
    margin-bottom: 20px;
}

.zh_merchant_text > p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

.zh_merchant_features {
    list-style: none;
    margin-bottom: 40px;
}

.zh_merchant_features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: #555;
    margin-bottom: 16px;
    padding-left: 0;
}

.zh_merchant_features i {
    color: #749F06;
    font-size: 20px;
}

.zh_merchant_image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.zh_merchant_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .zh_container {
        padding: 0 40px;
    }

    .zh_hero {
        padding: 140px 60px 60px;
        min-height: 700px;
    }

    .zh_hero_title {
        font-size: 72px;
        line-height: 68px;
    }

    .zh_hero_subtitle {
        font-size: 28px;
    }

    .zh_product_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .zh_hero_title {
        font-size: 56px;
        line-height: 52px;
    }

    .zh_hero_subtitle {
        font-size: 24px;
        line-height: 32px;
    }

    .zh_values_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .zh_merchant_content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .zh_section_title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .zh_container {
        padding: 0 20px;
    }

    .zh_hero {
        min-height: 600px;
        padding: 120px 30px 40px;
        margin: 10px;
        border-radius: 40px;
    }

    .zh_hero_title {
        font-size: 42px;
        line-height: 44px;
        margin-bottom: 20px;
    }

    .zh_hero_subtitle {
        font-size: 20px;
        line-height: 28px;
    }

    .zh_hero_desc {
        font-size: 14px;
    }

    .zh_hero_desc br {
        display: none;
    }

    .zh_values_grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .zh_category_grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .zh_product_grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .zh_section_title {
        font-size: 32px;
    }

    .zh_merchant_text h2 {
        font-size: 32px;
    }

    .zh_values,
    .zh_categories,
    .zh_products,
    .zh_new_products,
    .zh_merchant {
        padding: 60px 0;
    }

    .zh_section_header {
        margin-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .zh_hero_title {
        font-size: 32px;
        line-height: 36px;
    }

    .zh_hero_subtitle {
        font-size: 18px;
        line-height: 24px;
    }

    .zh_hero_actions {
        flex-direction: column;
    }

    .zh_btn_primary,
    .zh_btn_secondary {
        width: 100%;
        justify-content: center;
    }

    .zh_category_image {
        height: 250px;
    }

    .zh_section_title {
        font-size: 28px;
    }

    .zh_merchant_text h2 {
        font-size: 28px;
    }
}
