/* ============================================
   home.css — 鹏欣迪商城 首页
   板块：Hero → 分类直通车 → 平台优势 → 精选推荐 → 平台介绍 → 栏目专区 → 商家入驻 → 入驻商家 → 购物流程
   配色：鲜活果绿 #43A047 + 阳光橙 #F5920B + 清新浅绿白 #F5FAF2 + 深森林绿 #1E3A24
   类名前缀：px_h_
   ============================================ */

.px_h_home { background: var(--px-cream); }
.px_h_in { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.px_h_sec { padding: 60px 0; }

/* 通用区块标题 */
.px_h_head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.px_h_head_center { justify-content: center; text-align: center; }
.px_h_eyebrow {
    display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 2px;
    color: var(--px-orange); margin-bottom: 8px;
}
.px_h_title { font-size: 30px; font-weight: 800; color: var(--px-green-deep); line-height: 1.25; }
.px_h_title span { color: var(--px-orange); }
.px_h_sub { font-size: 14px; color: var(--px-ink-2); margin-top: 8px; }
.px_h_more {
    display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
    font-size: 14px; font-weight: 600; color: var(--px-green); padding-bottom: 6px;
}
.px_h_more i { transition: transform .2s; }
.px_h_more:hover { color: var(--px-orange-deep); }
.px_h_more:hover i { transform: translateX(4px); }

/* ============================================
   ① Hero
   ============================================ */
.px_h_hero { position: relative; background: var(--px-cream); overflow: hidden; }
.px_h_hero::before {
    content: ''; position: absolute; inset: 0;
    background-image: var(--hero-bg); background-size: cover; background-position: right center;
}
.px_h_hero::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(100deg, var(--px-cream) 0%, rgba(245,250,242,.95) 32%, rgba(245,250,242,.6) 54%, rgba(245,250,242,0) 76%);
}
.px_h_hero_in { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; padding: 68px 20px 74px; }
.px_h_hero_c { max-width: 566px; }
.px_h_hero_eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; color: var(--px-green-deep);
    font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 999px;
    box-shadow: var(--px-shadow-sm); margin-bottom: 20px;
}
.px_h_hero_eyebrow i { color: var(--px-orange); }
.px_h_hero_title { font-size: 48px; font-weight: 900; color: var(--px-green-deep); line-height: 1.12; letter-spacing: 1px; }
.px_h_hero_slogan { font-size: 20px; font-weight: 700; color: var(--px-orange); margin-top: 12px; letter-spacing: 1px; }
.px_h_hero_desc { font-size: 15px; line-height: 1.9; color: var(--px-ink-2); margin-top: 16px; max-width: 500px; }

.px_h_hero_search {
    display: flex; align-items: stretch; height: 52px; max-width: 500px;
    margin-top: 26px; background: #fff; border: 2px solid var(--px-green);
    border-radius: 999px; box-shadow: var(--px-shadow); overflow: hidden;
}
.px_h_hero_search input {
    flex: 1; border: none; outline: none; background: transparent;
    padding: 0 10px 0 24px; font-size: 14.5px; color: var(--px-ink); font-family: inherit; min-width: 0;
}
.px_h_hero_search input::placeholder { color: var(--px-ink-3); }
.px_h_hero_search button {
    flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px;
    padding: 0 28px; border: none; cursor: pointer;
    background: var(--px-grad-orange); color: #fff; font-size: 15px; font-weight: 600;
    margin: 4px; border-radius: 999px; transition: filter .2s;
}
.px_h_hero_search button:hover { filter: brightness(1.06); }

.px_h_hero_hot { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 14px; font-size: 13px; }
.px_h_hero_hot > span { color: var(--px-ink-3); }
.px_h_hero_hot a { color: var(--px-ink-2); padding: 3px 12px; background: rgba(255,255,255,.7); border-radius: 999px; transition: all .18s; }
.px_h_hero_hot a:hover { background: var(--px-orange); color: #fff; }

.px_h_hero_btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.px_h_hero_btn {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 13px 28px; border-radius: 999px; font-size: 15px; font-weight: 700; transition: all .2s;
}
.px_h_hero_btn_main { background: var(--px-grad-green); color: #fff; box-shadow: var(--px-shadow-green); }
.px_h_hero_btn_main:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.05); }
.px_h_hero_btn_outline { background: #fff; color: var(--px-green-deep); border: 2px solid var(--px-green); }
.px_h_hero_btn_outline:hover { background: var(--px-green); color: #fff; }

.px_h_hero_stats { display: flex; gap: 40px; margin-top: 38px; }
.px_h_hero_stat b { display: flex; align-items: baseline; font-size: 34px; font-weight: 900; color: var(--px-green-deep); line-height: 1; }
.px_h_hero_stat b i { font-size: 18px; color: var(--px-orange); font-style: normal; margin-left: 2px; }
.px_h_hero_stat span { font-size: 13px; color: var(--px-ink-2); }

/* ============================================
   ② 分类直通车
   ============================================ */
.px_h_cats_wrap { background: #fff; border-bottom: 1px solid var(--px-line); padding: 40px 0 44px; }
.px_h_cats_top { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.px_h_cats_eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 2px; color: var(--px-orange); display: inline-flex; align-items: center; gap: 7px; }
.px_h_cats_h { font-size: 22px; font-weight: 800; color: var(--px-green-deep); }
.px_h_cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.px_h_cat {
    display: flex; align-items: center; gap: 14px; padding: 16px 18px;
    background: var(--px-cream); border: 1px solid var(--px-line); border-radius: var(--px-radius);
    transition: all .22s;
}
.px_h_cat:hover { border-color: var(--px-green); background: #fff; transform: translateY(-3px); box-shadow: var(--px-shadow); }
.px_h_cat_ic {
    width: 50px; height: 50px; flex-shrink: 0; border-radius: 13px;
    background: var(--px-green-tint); color: var(--px-green);
    display: inline-flex; align-items: center; justify-content: center; font-size: 22px; transition: all .22s;
}
.px_h_cat:hover .px_h_cat_ic { background: var(--px-grad-orange); color: #fff; }
.px_h_cat_tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.px_h_cat_tx strong { font-size: 15px; font-weight: 700; color: var(--px-ink); }
.px_h_cat_tx small { font-size: 12px; color: var(--px-ink-3); }

/* ============================================
   ③ 平台优势
   ============================================ */
.px_h_advs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.px_h_adv {
    position: relative; background: #fff; border: 1px solid var(--px-line);
    border-radius: var(--px-radius-lg); padding: 32px 26px 28px; overflow: hidden;
    transition: all .25s;
}
.px_h_adv:hover { transform: translateY(-4px); box-shadow: var(--px-shadow-lg); border-color: transparent; }
.px_h_adv_n {
    position: absolute; top: 14px; right: 18px;
    font-size: 42px; font-weight: 900; color: var(--px-green-tint); line-height: 1;
}
.px_h_adv_ic {
    width: 60px; height: 60px; border-radius: 16px;
    background: var(--px-green-tint); color: var(--px-green);
    display: inline-flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 18px;
    transition: all .25s;
}
.px_h_adv:nth-child(even) .px_h_adv_ic { background: var(--px-orange-tint); color: var(--px-orange); }
.px_h_adv:hover .px_h_adv_ic { transform: scale(1.06); }
.px_h_adv h3 { font-size: 18px; font-weight: 700; color: var(--px-green-deep); margin-bottom: 10px; }
.px_h_adv p { font-size: 13.5px; line-height: 1.85; color: var(--px-ink-2); }

/* ============================================
   ④ 精选推荐
   ============================================ */
.px_h_feat_grid { display: grid; grid-template-columns: 336px 1fr; gap: 22px; align-items: stretch; }
.px_h_feat_big {
    display: flex; flex-direction: column; padding: 26px 24px;
    background: var(--px-grad-green); color: #fff; border-radius: var(--px-radius-lg);
    box-shadow: var(--px-shadow-green); position: relative; overflow: hidden;
}
.px_h_feat_big::before {
    content: '\f5d1'; font-family: 'Font Awesome 5 Free'; font-weight: 900;
    position: absolute; right: -20px; bottom: -18px; font-size: 130px; color: rgba(255,255,255,.08); line-height: 1;
}
.px_h_feat_big_eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: 1.5px; color: var(--px-orange-light); position: relative; z-index: 1; }
.px_h_feat_big h3 { font-size: 21px; font-weight: 800; margin-top: 12px; line-height: 1.35; position: relative; z-index: 1; }
.px_h_feat_big p { font-size: 13px; line-height: 1.8; color: rgba(255,255,255,.85); margin-top: 10px; position: relative; z-index: 1; }
.px_h_feat_big_img { flex: 1 1 auto; margin-top: 18px; min-height: 190px; display: flex; position: relative; z-index: 1; }
.px_h_feat_big_img img { width: 100%; height: 100%; min-height: 190px; object-fit: contain; border-radius: 14px; background: #fff; }
.px_h_feat_big_btn {
    display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
    margin-top: 18px; padding: 10px 22px; border-radius: 999px;
    background: #fff; color: var(--px-green-deep); font-size: 14px; font-weight: 700; position: relative; z-index: 1;
    transition: all .2s;
}
.px_h_feat_big_btn:hover { color: var(--px-orange-deep); }
.px_h_feat_big_btn i { transition: transform .2s; }
.px_h_feat_big_btn:hover i { transform: translateX(4px); }

.px_h_feat_pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.px_h_empty {
    grid-column: 1 / -1; text-align: center; padding: 50px 20px;
    background: #fff; border: 1px dashed var(--px-line); border-radius: var(--px-radius-lg); color: var(--px-ink-3);
}
.px_h_empty i { font-size: 40px; color: var(--px-lime-soft); margin-bottom: 14px; }
.px_h_empty h3 { font-size: 17px; color: var(--px-ink); margin-bottom: 6px; }
.px_h_empty p { font-size: 13px; }

/* ============================================
   ⑤ 平台介绍图文
   ============================================ */
.px_h_about_wrap { background: #fff; }
.px_h_about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 54px; align-items: center; }
.px_h_about_img { position: relative; }
.px_h_about_img img { width: 100%; border-radius: var(--px-radius-lg); box-shadow: var(--px-shadow-lg); background: var(--px-cream); }
.px_h_about_img_badge {
    position: absolute; right: -14px; bottom: 26px;
    display: flex; align-items: center; gap: 12px;
    background: #fff; padding: 14px 20px; border-radius: 16px; box-shadow: var(--px-shadow-lg);
}
.px_h_about_img_badge i {
    width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
    background: var(--px-grad-orange); color: #fff;
    display: inline-flex; align-items: center; justify-content: center; font-size: 18px;
}
.px_h_about_img_badge span { font-size: 13px; font-weight: 700; color: var(--px-green-deep); line-height: 1.4; }
.px_h_about_txt h2 { font-size: 30px; font-weight: 800; color: var(--px-green-deep); line-height: 1.3; margin: 8px 0 18px; }
.px_h_about_txt h2 span { color: var(--px-orange); }
.px_h_about_txt p { font-size: 14px; line-height: 1.95; color: var(--px-ink-2); margin-bottom: 14px; }
.px_h_about_txt p strong { color: var(--px-green-deep); font-weight: 700; }
.px_h_about_pts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 22px 0 26px; }
.px_h_about_pt { display: flex; align-items: center; gap: 12px; }
.px_h_about_pt i {
    width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
    background: var(--px-green-tint); color: var(--px-green);
    display: inline-flex; align-items: center; justify-content: center; font-size: 17px;
}
.px_h_about_pt:nth-child(even) i { background: var(--px-orange-tint); color: var(--px-orange); }
.px_h_about_pt b { display: block; font-size: 14.5px; color: var(--px-ink); }
.px_h_about_pt span { font-size: 12px; color: var(--px-ink-3); }
.px_h_about_more {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 26px; border-radius: 999px; background: var(--px-grad-green); color: #fff;
    font-size: 14px; font-weight: 700; box-shadow: var(--px-shadow-green); transition: all .2s;
}
.px_h_about_more:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.05); }
.px_h_about_more i { transition: transform .2s; }
.px_h_about_more:hover i { transform: translateX(4px); }

/* ============================================
   ⑥ 栏目专区
   ============================================ */
.px_h_zone_head {
    display: flex; align-items: center; gap: 16px; margin-bottom: 26px;
    padding: 20px 24px; border-radius: var(--px-radius-lg);
    background: linear-gradient(120deg, var(--px-green-tint) 0%, rgba(234,244,229,.35) 100%);
    border: 1px solid var(--px-line);
}
.px_h_zone_head_orange { background: linear-gradient(120deg, var(--px-orange-tint) 0%, rgba(254,243,226,.35) 100%); }
.px_h_zone_ic {
    width: 54px; height: 54px; flex-shrink: 0; border-radius: 15px;
    background: var(--px-grad-green); color: #fff;
    display: inline-flex; align-items: center; justify-content: center; font-size: 24px;
}
.px_h_zone_head_orange .px_h_zone_ic { background: var(--px-grad-orange); }
.px_h_zone_tt { flex: 1; min-width: 0; }
.px_h_zone_tt h3 { font-size: 22px; font-weight: 800; color: var(--px-green-deep); }
.px_h_zone_tt p { font-size: 13px; color: var(--px-ink-2); margin-top: 3px; }
.px_h_zone_more {
    display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
    padding: 9px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--px-line);
    font-size: 13px; font-weight: 600; color: var(--px-green-deep); transition: all .2s;
}
.px_h_zone_more:hover { background: var(--px-green); color: #fff; border-color: var(--px-green); }
.px_h_zone_grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ============================================
   ⑦ 商家入驻 CTA
   ============================================ */
.px_h_join_wrap { padding: 56px 0; background: var(--px-grad-forest); position: relative; overflow: hidden; }
.px_h_join_wrap::before {
    content: '\f54e'; font-family: 'Font Awesome 5 Free'; font-weight: 900;
    position: absolute; left: -40px; top: -30px; font-size: 220px; color: rgba(255,255,255,.04); line-height: 1;
}
.px_h_join { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; z-index: 1; }
.px_h_join_eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 2px; color: var(--px-orange-light); }
.px_h_join_l h2 { font-size: 28px; font-weight: 800; color: #fff; margin: 10px 0 16px; }
.px_h_join_l ul { display: flex; flex-direction: column; gap: 9px; }
.px_h_join_l li { display: flex; align-items: center; gap: 9px; font-size: 14px; color: rgba(255,255,255,.82); }
.px_h_join_l li i { color: var(--px-orange-light); }
.px_h_join_btns { display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; }
.px_h_join_btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 14px 34px; border-radius: 999px; font-size: 15px; font-weight: 700; transition: all .2s;
}
.px_h_join_btn_main { background: var(--px-grad-orange); color: #fff; box-shadow: var(--px-shadow-orange); }
.px_h_join_btn_main:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.05); }
.px_h_join_btn_ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.px_h_join_btn_ghost:hover { background: rgba(255,255,255,.22); color: #fff; }

/* ============================================
   ⑧ 入驻商家
   ============================================ */
.px_h_merch_grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.px_h_mcard {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 26px 16px 20px; background: #fff; border: 1px solid var(--px-line);
    border-radius: var(--px-radius-lg); transition: all .22s;
}
.px_h_mcard:hover { transform: translateY(-4px); box-shadow: var(--px-shadow-lg); border-color: transparent; }
.px_h_mcard_logo {
    width: 66px; height: 66px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
    background: var(--px-green-tint); color: var(--px-green);
    display: inline-flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 14px;
}
.px_h_mcard_logo img { width: 100%; height: 100%; object-fit: cover; }
.px_h_mcard_name { font-size: 15px; font-weight: 700; color: var(--px-ink); margin-bottom: 10px; }
.px_h_mcard_meta { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: var(--px-ink-2); margin-bottom: 14px; }
.px_h_mcard_badge { display: inline-flex; align-items: center; gap: 4px; color: var(--px-green); font-weight: 600; }
.px_h_mcard_btn {
    display: inline-flex; align-items: center; gap: 6px; margin-top: auto;
    font-size: 13px; font-weight: 600; color: var(--px-green-deep); transition: all .2s;
}
.px_h_mcard:hover .px_h_mcard_btn { color: var(--px-orange-deep); }
.px_h_mcard_join { background: var(--px-green-tint); border-style: dashed; border-color: var(--px-lime-soft); justify-content: center; }
.px_h_mcard_join .px_h_mcard_logo { background: #fff; color: var(--px-orange); }
.px_h_mcard_join .px_h_mcard_meta { color: var(--px-ink-3); }

/* ============================================
   ⑨ 购物流程
   ============================================ */
.px_h_flow_wrap { background: #fff; }
.px_h_flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; position: relative; }
.px_h_fstep { text-align: center; padding: 0 10px; position: relative; }
.px_h_fstep::after {
    content: ''; position: absolute; top: 38px; left: 50%; width: 100%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--px-line) 0 8px, transparent 8px 16px);
    z-index: 0;
}
.px_h_fstep:last-child::after { display: none; }
.px_h_fcircle {
    position: relative; z-index: 1; width: 76px; height: 76px; margin: 0 auto 18px;
    border-radius: 50%; background: var(--px-green-tint); color: var(--px-green);
    display: inline-flex; align-items: center; justify-content: center; font-size: 28px;
    border: 3px solid #fff; box-shadow: var(--px-shadow);
}
.px_h_fstep:nth-child(even) .px_h_fcircle { background: var(--px-orange-tint); color: var(--px-orange); }
.px_h_fn {
    position: absolute; top: -4px; right: -4px; width: 26px; height: 26px; border-radius: 50%;
    background: var(--px-grad-green); color: #fff; font-size: 13px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; border: 2px solid #fff;
}
.px_h_fstep:nth-child(even) .px_h_fn { background: var(--px-grad-orange); }
.px_h_fstep h4 { font-size: 16px; font-weight: 700; color: var(--px-green-deep); margin-bottom: 6px; }
.px_h_fstep p { font-size: 13px; line-height: 1.7; color: var(--px-ink-2); }

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1100px) {
    .px_h_feat_grid { grid-template-columns: 1fr; }
    .px_h_feat_pgrid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
    .px_h_merch_grid { grid-template-columns: repeat(3, 1fr); }
    .px_h_about { gap: 36px; }
}

@media (max-width: 992px) {
    .px_h_hero_title { font-size: 40px; }
    .px_h_cats { grid-template-columns: repeat(2, 1fr); }
    .px_h_advs { grid-template-columns: repeat(2, 1fr); }
    .px_h_about { grid-template-columns: 1fr; }
    .px_h_about_img { max-width: 560px; }
    .px_h_zone_grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .px_h_sec { padding: 44px 0; }
    .px_h_title { font-size: 25px; }
    .px_h_hero_in { padding: 46px 20px 50px; }
    .px_h_hero_title { font-size: 33px; }
    .px_h_hero::after { background: linear-gradient(100deg, var(--px-cream) 0%, rgba(245,250,242,.94) 52%, rgba(245,250,242,.6) 78%, rgba(245,250,242,.35) 100%); }
    .px_h_hero_stats { gap: 26px; }
    .px_h_zone_grid { grid-template-columns: repeat(2, 1fr); }
    .px_h_merch_grid { grid-template-columns: repeat(2, 1fr); }
    .px_h_flow { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
    .px_h_fstep::after { display: none; }
    .px_h_head { flex-wrap: wrap; }
    .px_h_zone_head { flex-wrap: wrap; }
    .px_h_zone_more { order: 3; }
}

@media (max-width: 480px) {
    .px_h_hero_title { font-size: 28px; }
    .px_h_hero_search { height: 48px; }
    .px_h_hero_search button span { display: none; }
    .px_h_hero_btns { gap: 10px; }
    .px_h_hero_btn { flex: 1; justify-content: center; padding: 12px 16px; }
    .px_h_cats { grid-template-columns: 1fr; }
    .px_h_advs { grid-template-columns: 1fr; }
    .px_h_about_pts { grid-template-columns: 1fr; }
    .px_h_zone_grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .px_h_join_btns { width: 100%; }
    .px_h_join_l h2 { font-size: 23px; }
}
