/* 首页样式 - 基于Figma珠宝电商风格 */
/* 配色：深青色#0e343d 金色#ce8b39 蓝灰色#415a77 米色#f5e7d6 */
/* 所有自定义类或ID使用前缀 zh_ */

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

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    color: #27282c;
    line-height: 1.6;
    background: #fff;
}

.zh_container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==================== Hero Banner 区域 ==================== */
#zh_hero {
    position: relative;
    min-height: 700px;
    background: linear-gradient(135deg, #f5e7d6 0%, #fff 50%, #f5e7d6 100%);
    overflow: hidden;
}

.zh_hero_container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 700px;
}

.zh_hero_content {
    padding: 60px 0;
}

.zh_hero_subtitle {
    display: inline-block;
    background: #ce8b39;
    color: #fff;
    padding: 8px 20px;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.zh_hero_title {
    font-size: 56px;
    font-weight: 600;
    color: #0e343d;
    line-height: 1.2;
    margin-bottom: 25px;
}

.zh_hero_desc {
    font-size: 16px;
    color: #5a5a5a;
    line-height: 1.8;
    margin-bottom: 35px;
    max-width: 500px;
}

.zh_hero_btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0e343d;
    color: #fff;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
}

.zh_hero_btn:hover {
    background: #ce8b39;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(206,139,57,0.3);
}

.zh_hero_btn i {
    transition: transform 0.3s;
}

.zh_hero_btn:hover i {
    transform: translateX(5px);
}

.zh_hero_stats {
    display: flex;
    gap: 50px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(14,52,61,0.1);
}

.zh_hero_stat_item h4 {
    font-size: 42px;
    color: #0e343d;
    font-weight: 700;
}

.zh_hero_stat_item h4 span {
    color: #ce8b39;
}

.zh_hero_stat_item p {
    font-size: 14px;
    color: #5a5a5a;
    margin-top: 5px;
}

.zh_hero_image {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zh_hero_img_wrapper {
    position: relative;
    width: 100%;
    max-width: 550px;
}

.zh_hero_img_wrapper img {
    width: 100%;
    border-radius: 300px 300px 20px 20px;
    box-shadow: 0 30px 60px rgba(14,52,61,0.15);
}

.zh_hero_img_badge {
    position: absolute;
    bottom: 40px;
    left: -30px;
    background: #fff;
    padding: 20px 25px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}

.zh_hero_img_badge i {
    width: 50px;
    height: 50px;
    background: #ce8b39;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.zh_hero_img_badge div h5 {
    font-size: 18px;
    color: #0e343d;
    font-weight: 600;
}

.zh_hero_img_badge div p {
    font-size: 13px;
    color: #5a5a5a;
}

/* ==================== 分类导航区域 ==================== */
#zh_categories {
    padding: 80px 0;
    background: #fff;
}

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

.zh_section_subtitle {
    display: inline-block;
    color: #ce8b39;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.zh_section_title {
    font-size: 42px;
    color: #0e343d;
    font-weight: 600;
    line-height: 1.3;
}

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

.zh_category_card {
    position: relative;
    background: #f5e7d6;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    overflow: hidden;
}

.zh_category_card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #415a77 0%, #0e343d 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.zh_category_card:hover::before {
    opacity: 1;
}

.zh_category_card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(14,52,61,0.2);
}

.zh_category_icon {
    position: relative;
    z-index: 2;
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #0e343d;
    transition: all 0.4s;
}

.zh_category_card:hover .zh_category_icon {
    background: #ce8b39;
    color: #fff;
}

.zh_category_card h3 {
    position: relative;
    z-index: 2;
    font-size: 20px;
    color: #0e343d;
    margin-bottom: 10px;
    transition: color 0.4s;
}

.zh_category_card:hover h3 {
    color: #fff;
}

.zh_category_card p {
    position: relative;
    z-index: 2;
    font-size: 14px;
    color: #5a5a5a;
    transition: color 0.4s;
}

.zh_category_card:hover p {
    color: rgba(255,255,255,0.8);
}

.zh_category_link {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: #ce8b39;
    font-size: 14px;
    font-weight: 500;
}

.zh_category_card:hover .zh_category_link {
    color: #fff;
}

/* ==================== 产品展示区域 ==================== */
#zh_products {
    padding: 80px 0;
    background: #f5e7d6;
}

.zh_products_header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.zh_products_tabs {
    display: flex;
    gap: 30px;
}

.zh_products_tab {
    font-size: 16px;
    color: #5a5a5a;
    padding: 10px 0;
    border: none;
    background: none;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.zh_products_tab.zh_active,
.zh_products_tab:hover {
    color: #0e343d;
}

.zh_products_tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ce8b39;
    transition: width 0.3s;
}

.zh_products_tab.zh_active::after,
.zh_products_tab:hover::after {
    width: 100%;
}

.zh_view_all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #0e343d;
    font-size: 15px;
    font-weight: 500;
}

.zh_view_all:hover {
    color: #ce8b39;
}

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

.zh_product_card {
    background: #fff;
    transition: all 0.4s ease;
    overflow: hidden;
}

.zh_product_card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(14,52,61,0.15);
}

.zh_product_image {
    position: relative;
    padding-top: 100%;
    background: #fcfcfc;
    overflow: hidden;
}

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

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

.zh_product_badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    z-index: 2;
}

.zh_product_badge.zh_new {
    background: #ce3939;
}

.zh_product_badge.zh_hot {
    background: #ce8b39;
}

.zh_product_badge.zh_sale {
    background: #0e343d;
}

.zh_product_actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s;
}

.zh_product_card:hover .zh_product_actions {
    opacity: 1;
    transform: translateX(0);
}

.zh_product_action_btn {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0e343d;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.zh_product_action_btn:hover {
    background: #ce8b39;
    color: #fff;
}

.zh_product_info {
    padding: 25px;
}

.zh_product_category {
    font-size: 12px;
    color: #ce8b39;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.zh_product_name {
    font-size: 18px;
    color: #0e343d;
    font-weight: 500;
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zh_product_name a:hover {
    color: #ce8b39;
}

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

.zh_price_current {
    font-size: 20px;
    color: #0e343d;
    font-weight: 600;
}

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

.zh_add_cart_btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: #0e343d;
    color: #fff;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.zh_add_cart_btn:hover {
    background: #ce8b39;
}

/* ==================== 横幅广告区域 ==================== */
#zh_banner {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #415a77 0%, #0e343d 100%);
    overflow: hidden;
}

.zh_banner_container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}

.zh_banner_content {
    max-width: 700px;
}

.zh_banner_subtitle {
    display: inline-block;
    color: #ce8b39;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.zh_banner_title {
    font-size: 48px;
    color: #fff;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 25px;
}

.zh_banner_desc {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 35px;
}

.zh_banner_btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #0e343d;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
}

.zh_banner_btn:hover {
    background: #ce8b39;
    color: #fff;
    transform: translateY(-3px);
}

/* ==================== 特色服务区域 ==================== */
#zh_features {
    padding: 80px 0;
    background: #ce8b39;
}

.zh_features_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.zh_feature_item {
    padding: 40px 50px;
    display: flex;
    align-items: flex-start;
    gap: 25px;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.zh_feature_item:last-child {
    border-right: none;
}

.zh_feature_icon {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.zh_feature_icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.zh_feature_icon i {
    font-size: 28px;
    color: #fff;
}

.zh_feature_text h4 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 600;
}

.zh_feature_text p {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
}

/* ==================== 新品推荐区域 ==================== */
#zh_new_arrivals {
    padding: 80px 0;
    background: #fff;
}

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

.zh_arrival_card {
    position: relative;
    background: #f5e7d6;
    overflow: hidden;
    transition: all 0.4s;
}

.zh_arrival_card:first-child {
    grid-row: span 2;
}

.zh_arrival_card:first-child .zh_arrival_image {
    height: 100%;
}

.zh_arrival_image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

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

.zh_arrival_card:hover .zh_arrival_image img {
    transform: scale(1.1);
}

.zh_arrival_overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(14,52,61,0.9));
}

.zh_arrival_overlay h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 10px;
}

.zh_arrival_overlay h3 a {
    color: #fff;
}

.zh_arrival_overlay h3 a:hover {
    color: #ce8b39;
}

.zh_arrival_overlay .zh_price {
    font-size: 18px;
    color: #ce8b39;
    font-weight: 600;
}

.zh_arrival_overlay .zh_old_price {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    text-decoration: line-through;
    margin-left: 10px;
}

/* ==================== 关于我们区域 ==================== */
#zh_about {
    padding: 100px 0;
    background: #f5e7d6;
}

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

.zh_about_image {
    position: relative;
}

.zh_about_img_main {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(14,52,61,0.15);
}

.zh_about_img_main img {
    width: 100%;
    display: block;
}

.zh_about_stats_card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: #0e343d;
    padding: 30px 40px;
    border-radius: 15px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.zh_about_stat {
    text-align: center;
}

.zh_about_stat h4 {
    font-size: 36px;
    color: #ce8b39;
    font-weight: 700;
}

.zh_about_stat p {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    margin-top: 5px;
}

.zh_about_content {
    padding-left: 20px;
}

.zh_about_content .zh_section_subtitle {
    text-align: left;
}

.zh_about_content .zh_section_title {
    text-align: left;
    margin-bottom: 25px;
}

.zh_about_desc {
    font-size: 16px;
    color: #5a5a5a;
    line-height: 1.9;
    margin-bottom: 30px;
}

.zh_about_features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 35px;
}

.zh_about_feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.zh_about_feature i {
    width: 24px;
    height: 24px;
    background: #ce8b39;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.zh_about_feature span {
    font-size: 15px;
    color: #0e343d;
    font-weight: 500;
}

.zh_about_btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0e343d;
    color: #fff;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
}

.zh_about_btn:hover {
    background: #ce8b39;
    transform: translateY(-3px);
}

/* ==================== 商家入驻CTA ==================== */
#zh_cta {
    padding: 80px 0;
    background: #0e343d;
}

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

.zh_cta_content h2 {
    font-size: 40px;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.3;
}

.zh_cta_content p {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 30px;
}

.zh_cta_contacts {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

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

.zh_cta_contact_item i {
    width: 50px;
    height: 50px;
    background: #ce8b39;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.zh_cta_contact_item div {
    display: flex;
    flex-direction: column;
}

.zh_cta_contact_item span {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

.zh_cta_contact_item a {
    display: block;
    font-size: 18px;
    color: #fff;
    font-weight: 500;
    margin-top: 5px;
}

.zh_cta_contact_item a:hover {
    color: #ce8b39;
}

.zh_cta_image {
    position: relative;
}

.zh_cta_image img {
    border-radius: 20px;
    width: 100%;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1200px) {
    .zh_hero_title {
        font-size: 46px;
    }

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

    .zh_products_grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .zh_arrival_card:first-child {
        grid-row: span 1;
    }
}

@media (max-width: 992px) {
    .zh_hero_container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .zh_hero_content {
        order: 2;
    }

    .zh_hero_image {
        order: 1;
    }

    .zh_hero_desc {
        max-width: 100%;
    }

    .zh_hero_stats {
        justify-content: center;
    }

    .zh_hero_img_badge {
        left: 50%;
        transform: translateX(-50%);
    }

    .zh_section_title {
        font-size: 36px;
    }

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

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

    .zh_feature_item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }

    .zh_feature_item:last-child {
        border-bottom: none;
    }

    .zh_about_layout,
    .zh_cta_layout {
        grid-template-columns: 1fr;
    }

    .zh_about_stats_card {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 30px;
    }

    .zh_about_content {
        padding-left: 0;
    }

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

@media (max-width: 768px) {
    #zh_hero {
        min-height: auto;
    }

    .zh_hero_container {
        min-height: auto;
        padding-top: 40px;
        padding-bottom: 60px;
    }

    .zh_hero_title {
        font-size: 36px;
    }

    .zh_hero_stats {
        flex-direction: column;
        gap: 25px;
        align-items: center;
    }

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

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

    .zh_products_header {
        flex-direction: column;
        align-items: flex-start;
    }

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

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

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

    .zh_cta_contacts {
        flex-direction: column;
        gap: 20px;
    }

    .zh_banner_title {
        font-size: 28px;
    }

    .zh_section_title {
        font-size: 28px;
    }

    .zh_container {
        padding: 0 20px;
    }
}

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

    .zh_hero_btn,
    .zh_banner_btn,
    .zh_about_btn {
        width: 100%;
        justify-content: center;
    }

    .zh_product_info {
        padding: 20px;
    }

    .zh_product_name {
        font-size: 16px;
    }
}
