/* 首页样式 - zh_ 前缀 - Figma 风格 */

/* 全局样式 */
body {
    font-family: 'Poppins', 'Microsoft YaHei', sans-serif;
    background: #fff;
    color: #101411;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Hero 首屏区域 */
.zh_hero {
    position: relative;
    min-height: 600px;
    background: #fff;
    display: flex;
    align-items: center;
    padding: 60px 0 80px;
    overflow: hidden;
}

.zh_hero_container {
    max-width: 1216px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 10;
}

.zh_hero_content {
    max-width: 520px;
}

.zh_hero_title {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 72px;
    line-height: 1.1;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 24px;
}

.zh_hero_subtitle {
    font-size: 20px;
    color: #708494;
    line-height: 1.6;
    margin: 0 0 40px;
    font-weight: 500;
}

.zh_hero_actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.zh_hero_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 47px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.2s ease;
    border: 2px solid #000;
}

.zh_hero_btn_primary {
    background: #f2db0d;
    color: #010101;
    box-shadow: 0 7px 0 0 #000;
}

.zh_hero_btn_primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 0 0 #000;
}

.zh_hero_btn_primary:active {
    transform: translateY(3px);
    box-shadow: 0 4px 0 0 #000;
}

.zh_hero_btn_secondary {
    background: #fff;
    color: #010101;
    box-shadow: 0 7px 0 0 #000;
}

.zh_hero_btn_secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 0 0 #000;
}

.zh_hero_visual {
    position: relative;
    flex-shrink: 0;
}

.zh_hero_img {
    width: 480px;
    height: 400px;
    object-fit: cover;
    border-radius: 24px;
    border: 3px solid #000;
    box-shadow: 8px 8px 0 0 #000;
}

.zh_hero_shape {
    position: absolute;
    border-radius: 50%;
}

.zh_hero_shape_1 {
    width: 80px;
    height: 80px;
    background: #f2db0d;
    border: 3px solid #000;
    top: -20px;
    right: -30px;
}

.zh_hero_shape_2 {
    width: 50px;
    height: 50px;
    background: #fff;
    border: 3px solid #000;
    bottom: 40px;
    left: -25px;
}

.zh_hero_decor {
    position: absolute;
}

.zh_hero_decor_star {
    width: 60px;
    height: 60px;
    background: #f2db0d;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    top: 150px;
    left: 15%;
}

.zh_hero_decor_circle {
    width: 40px;
    height: 40px;
    border: 3px solid #000;
    border-radius: 50%;
    bottom: 120px;
    right: 20%;
}

/* 特色服务区域 */
.zh_features {
    padding: 60px 0;
    background: #f8f9fa;
}

.zh_features_container {
    max-width: 1216px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.zh_feature_card {
    background: #fff;
    border: 2px solid #000;
    border-radius: 20px;
    padding: 32px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all 0.3s ease;
    box-shadow: 4px 4px 0 0 #000;
}

.zh_feature_card:hover {
    transform: translateY(-6px);
    box-shadow: 4px 10px 0 0 #000;
}

.zh_feature_icon_wrap {
    width: 60px;
    height: 60px;
    background: #f2db0d;
    border: 2px solid #000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.zh_feature_icon_wrap i {
    font-size: 24px;
    color: #000;
}

.zh_feature_text {
    flex: 1;
}

.zh_feature_title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #101411;
    margin: 0 0 8px;
}

.zh_feature_desc {
    font-size: 14px;
    color: #8c8f99;
    margin: 0;
    line-height: 1.6;
}

/* 热门商品区域 */
.zh_popular {
    padding: 60px 0 20px;
}

.zh_section_container {
    max-width: 1216px;
    margin: 0 auto;
    padding: 0 20px;
}

.zh_section_header {
    text-align: center;
    margin-bottom: 40px;
}

.zh_section_title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 36px;
    color: #101411;
    margin: 0 0 12px;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

.zh_section_subtitle {
    font-size: 16px;
    color: #8c8f99;
    margin: 0;
}

/* 主内容区域 */
.zh_main {
    padding: 20px 0 60px;
}

.zh_main_container {
    max-width: 1216px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 产品区块 */
.zh_product_section {
    margin-bottom: 60px;
}

.zh_product_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e2e8f0;
}

.zh_product_header_left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.zh_product_tag {
    display: inline-block;
    padding: 6px 14px;
    background: #f2db0d;
    border: 2px solid #000;
    border-radius: 20px;
    font-weight: 700;
    font-size: 12px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.zh_product_tag_alt {
    background: #101411;
    color: #fff;
}

.zh_product_title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: #101411;
    margin: 0;
}

.zh_product_subtitle {
    font-size: 14px;
    color: #9a99ad;
    letter-spacing: 2px;
    font-weight: 500;
    margin: 0;
}

/* 产品网格 */
.zh_product_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.zh_product_item {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.zh_product_item:hover {
    border-color: #000;
    box-shadow: 6px 6px 0 0 #000;
    transform: translateY(-6px);
}

.zh_product_link {
    text-decoration: none;
    display: block;
}

.zh_product_img_wrap {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background: #f8f9fa;
}

.zh_product_img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.zh_product_item:hover .zh_product_img {
    transform: scale(1.08);
}

.zh_product_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.zh_product_item:hover .zh_product_overlay {
    opacity: 1;
}

.zh_product_view {
    display: inline-block;
    padding: 12px 24px;
    background: #f2db0d;
    border: 2px solid #000;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    color: #000;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.zh_product_item:hover .zh_product_view {
    transform: translateY(0);
}

.zh_product_info {
    padding: 20px;
}

.zh_product_name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #101411;
    margin: 0 0 8px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 44px;
}

.zh_product_shop {
    font-size: 13px;
    color: #9a99ad;
    margin: 0 0 12px;
}

.zh_product_price_wrap {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}

.zh_product_price {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #f2db0d;
    text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
}

.zh_product_market {
    font-size: 14px;
    color: #bbb;
    text-decoration: line-through;
}

/* 促销横幅 */
.zh_promo_banner {
    margin: 60px 0;
    background: #f2db0d;
    border: 3px solid #000;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 8px 8px 0 0 #000;
}

.zh_promo_content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 60px;
}

.zh_promo_text {
    max-width: 450px;
}

.zh_promo_label {
    display: inline-block;
    padding: 6px 16px;
    background: #000;
    border-radius: 20px;
    font-weight: 700;
    font-size: 12px;
    color: #f2db0d;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.zh_promo_title {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 40px;
    color: #000;
    text-transform: uppercase;
    line-height: 1.2;
    margin: 0 0 16px;
}

.zh_promo_desc {
    font-size: 16px;
    color: #333;
    margin: 0 0 28px;
    line-height: 1.6;
}

.zh_promo_btn {
    display: inline-block;
    padding: 16px 36px;
    background: #fff;
    border: 2px solid #000;
    border-radius: 47px;
    box-shadow: 0 6px 0 0 #000;
    font-weight: 700;
    font-size: 16px;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.zh_promo_btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 0 0 #000;
}

.zh_promo_img_wrap {
    flex-shrink: 0;
}

.zh_promo_img {
    width: 350px;
    height: 260px;
    object-fit: cover;
    border-radius: 16px;
    border: 3px solid #000;
    box-shadow: 6px 6px 0 0 #000;
}

/* 懒加载动画 */
.lazy-loading {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.lazy-loading.loaded {
    opacity: 1;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .zh_hero_container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .zh_hero_title {
        font-size: 52px;
    }

    .zh_hero_actions {
        justify-content: center;
    }

    .zh_hero_img {
        width: 100%;
        max-width: 450px;
        height: 350px;
    }

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

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

    .zh_promo_content {
        flex-direction: column;
        text-align: center;
        padding: 40px;
        gap: 30px;
    }

    .zh_promo_img_wrap {
        order: -1;
    }

    .zh_promo_img {
        width: 100%;
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .zh_hero {
        min-height: auto;
        padding: 40px 0 60px;
    }

    .zh_hero_title {
        font-size: 36px;
    }

    .zh_hero_subtitle {
        font-size: 16px;
    }

    .zh_hero_actions {
        flex-direction: column;
        gap: 12px;
    }

    .zh_hero_btn {
        width: 100%;
        max-width: 280px;
    }

    .zh_hero_img {
        height: 280px;
    }

    .zh_hero_decor {
        display: none;
    }

    .zh_features {
        padding: 40px 0;
    }

    .zh_feature_card {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .zh_section_title {
        font-size: 28px;
    }

    .zh_product_header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .zh_product_title {
        font-size: 22px;
    }

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

    .zh_product_info {
        padding: 16px;
    }

    .zh_product_name {
        font-size: 14px;
        min-height: 40px;
    }

    .zh_product_price {
        font-size: 16px;
    }

    .zh_promo_banner {
        margin: 40px 0;
    }

    .zh_promo_title {
        font-size: 28px;
    }

    .zh_promo_content {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .zh_hero_title {
        font-size: 28px;
    }

    .zh_section_title {
        font-size: 24px;
    }

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

    .zh_product_item {
        max-width: 100%;
    }
}
