/* ============================================================
   zhifanyemao.cn — 全局主题（墨绿 · 暖金 · 暖白）
   作用域：顶部信息条 / 主头部 / 导航 / CTA / 页脚（xj_ 前缀）
   不影响旧的 zh_ 共享组件样式
   ============================================================ */

/* ---------- 品牌 ---------- */
.xj_brand { display: flex; align-items: center; gap: 10px; }
.xj_brand_mark {
    width: 38px; height: 38px; flex: none;
    display: flex; align-items: center; justify-content: center;
    background: var(--zh-primary);
    color: #fff; font-size: 20px; font-weight: 700; line-height: 1;
    border-radius: var(--zh-radius-sm);
    position: relative;
}
.xj_brand_mark::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0;
    height: 3px; background: var(--zh-accent);
    border-radius: 0 0 var(--zh-radius-sm) var(--zh-radius-sm);
}
.xj_brand_txt { display: flex; flex-direction: column; line-height: 1.3; }
.xj_brand_txt b { font-size: 16.5px; font-weight: 700; color: var(--zh-text-primary); letter-spacing: .2px; }
.xj_brand_txt i { font-size: 11.5px; font-style: normal; color: var(--zh-text-tertiary); }

/* ---------- ① 顶部信息条 ---------- */
.xj_topbar {
    background: var(--zh-dark);
    color: rgba(255,255,255,0.62);
    font-size: 12.5px;
    border-bottom: 2px solid var(--zh-accent);
}
.xj_topbar_in { display: flex; align-items: center; justify-content: space-between; height: 34px; gap: 12px; }
.xj_topbar_l, .xj_topbar_r { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.xj_topbar i { margin-right: 5px; color: var(--zh-accent); }
.xj_topbar a { color: rgba(255,255,255,0.62); transition: color .2s; }
.xj_topbar a:hover { color: #fff; }
.xj_dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.28); flex: none; }

/* ---------- ② 主头部（吸顶，导航内联） ---------- */
.xj_head {
    position: sticky; top: 0; z-index: 900;
    background: var(--zh-bg-card);
    border-bottom: 1px solid var(--zh-border);
    box-shadow: var(--zh-shadow-sm);
}
.xj_head_in { display: flex; align-items: center; gap: 26px; height: 68px; }
.xj_head_in .xj_brand { flex: none; }

.xj_nav {
    flex: 1 1 auto; display: flex; align-items: center; gap: 2px;
    overflow-x: auto; scrollbar-width: none;
}
.xj_nav::-webkit-scrollbar { display: none; }
.xj_nav a {
    white-space: nowrap; padding: 7px 13px;
    font-size: 14.5px; font-weight: 500; color: var(--zh-text-secondary);
    border-radius: var(--zh-radius-sm);
    transition: background .2s, color .2s;
}
.xj_nav a:hover { color: var(--zh-primary); background: var(--zh-primary-light); }
.xj_nav a.on { color: #fff; background: var(--zh-primary); font-weight: 600; }

.xj_head_r { flex: none; margin-left: auto; display: flex; align-items: center; gap: 12px; }

.xj_search {
    display: flex; align-items: center;
    height: 36px; width: 210px;
    background: var(--zh-bg-light);
    border: 1px solid var(--zh-border);
    border-radius: var(--zh-radius-sm);
    overflow: hidden;
    transition: border-color .2s, background .2s, width .25s;
}
.xj_search:focus-within { background: #fff; border-color: var(--zh-primary); width: 260px; }
.xj_search input {
    flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent;
    padding: 0 10px; font-size: 13.5px; color: var(--zh-text-primary);
}
.xj_search input::placeholder { color: var(--zh-text-tertiary); }
.xj_search button {
    flex: none; width: 40px; height: 100%; border: 0; cursor: pointer;
    background: var(--zh-primary); color: #fff; font-size: 13px;
    transition: background .2s;
}
.xj_search button:hover { background: var(--zh-primary-dark); }

.xj_cart {
    position: relative; width: 38px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--zh-border); border-radius: var(--zh-radius-sm);
    color: var(--zh-text-secondary); font-size: 15px;
    transition: all .2s;
}
.xj_cart:hover { color: var(--zh-primary); border-color: var(--zh-primary); background: var(--zh-primary-light); }
.xj_cart em {
    position: absolute; top: -6px; right: -6px;
    min-width: 16px; height: 16px; padding: 0 4px;
    display: flex; align-items: center; justify-content: center;
    background: var(--zh-price); color: #fff;
    font-size: 10px; font-style: normal; font-weight: 700;
    border-radius: var(--zh-radius-pill);
}

.xj_burger {
    display: none; width: 38px; height: 36px; cursor: pointer;
    border: 1px solid var(--zh-border); border-radius: var(--zh-radius-sm);
    background: #fff; color: var(--zh-text-primary); font-size: 15px;
}

/* ---------- 入驻 CTA 色带 ---------- */
.xj_cta {
    margin-top: var(--zh-section-gap);
    background: linear-gradient(100deg, var(--zh-primary-dark) 0%, var(--zh-primary) 100%);
    position: relative; overflow: hidden;
}
.xj_cta::after {
    content: ""; position: absolute; right: -60px; top: -40px;
    width: 260px; height: 260px; border-radius: 50%;
    background: rgba(201,162,39,0.14);
}
.xj_cta_in {
    position: relative; z-index: 1;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 28px 0;
}
.xj_cta_txt h3 { margin: 0 0 5px; font-size: 20px; font-weight: 700; color: #fff; }
.xj_cta_txt p { margin: 0; font-size: 13.5px; color: rgba(255,255,255,0.7); }
.xj_cta_btn {
    flex: none; display: inline-flex; align-items: center; gap: 8px;
    height: 42px; padding: 0 24px;
    background: var(--zh-accent); color: #241f00;
    font-size: 14.5px; font-weight: 700;
    border-radius: var(--zh-radius-sm);
    transition: transform .2s, background .2s;
}
.xj_cta_btn:hover { background: #d8b23a; transform: translateY(-2px); }

/* ---------- 页脚（浅色） ---------- */
.xj_foot {
    background: var(--zh-bg-light);
    border-top: 1px solid var(--zh-border);
    padding: 44px 0 0;
    color: var(--zh-text-secondary);
}
.xj_foot_grid {
    display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.1fr; gap: 36px;
    padding-bottom: 34px;
}
.xj_foot_desc { margin: 14px 0 18px; font-size: 13px; line-height: 1.85; color: var(--zh-text-muted); }
.xj_foot_contact p {
    display: flex; align-items: flex-start; gap: 9px; margin-bottom: 9px;
    font-size: 12.5px; line-height: 1.7; color: var(--zh-text-muted);
}
.xj_foot_contact i { margin-top: 3px; color: var(--zh-primary); font-size: 12px; flex: none; }

.xj_foot_col h5 {
    margin: 0 0 16px; padding-left: 9px;
    font-size: 14.5px; font-weight: 700; color: var(--zh-text-primary);
    border-left: 3px solid var(--zh-accent);
}
.xj_foot_col ul { margin: 0; padding: 0; list-style: none; }
.xj_foot_col li { margin-bottom: 10px; }
.xj_foot_col a { font-size: 13px; color: var(--zh-text-muted); transition: color .2s; }
.xj_foot_col a:hover { color: var(--zh-primary); }

.xj_foot_tel { font-size: 21px; font-weight: 800; color: var(--zh-primary); letter-spacing: .3px; }
.xj_foot_hours p { margin: 5px 0 0; font-size: 12.5px; color: var(--zh-text-muted); }
.xj_foot_note { color: var(--zh-text-tertiary) !important; }

.xj_copy {
    padding: 16px 0; border-top: 1px solid var(--zh-border);
    text-align: center; font-size: 12.5px; color: var(--zh-text-tertiary);
}
.xj_copy a { color: var(--zh-text-muted); }
.xj_copy a:hover { color: var(--zh-primary); }
.xj_copy_sep { margin: 0 8px; color: var(--zh-text-disabled); }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
    .xj_nav { display: none; }
    .xj_burger { display: inline-flex; align-items: center; justify-content: center; }
}
@media (max-width: 992px) {
    .xj_foot_grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 768px) {
    .xj_hide_sm { display: none; }
    .xj_head_in { height: 58px; gap: 12px; }
    .xj_brand_txt i { display: none; }
    .xj_brand_txt b { font-size: 15px; }
    .xj_search { display: none; }
    .xj_cta_in { flex-direction: column; align-items: flex-start; padding: 22px 0; }
    .xj_cta_txt h3 { font-size: 17px; }
    .xj_foot { padding-top: 32px; }
    .xj_foot_grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================================
   zhifanyemao.cn - gx_ header / navbar / footer
   ============================================================ */

.gx_head { background: var(--zh-bg-card); border-bottom: 1px solid var(--zh-border); }
.gx_head_in { display: flex; align-items: center; gap: 30px; height: 84px; }

.gx_logo { display: flex; align-items: center; gap: 11px; flex: none; }
.gx_logo_mark {
    width: 44px; height: 44px; flex: none;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--zh-primary) 0%, var(--zh-primary-dark) 100%);
    color: #fff; font-size: 22px; font-weight: 800; line-height: 1;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(29,78,216,.28);
}
.gx_logo_txt { display: flex; flex-direction: column; line-height: 1.35; }
.gx_logo_txt b { font-size: 17px; font-weight: 800; color: var(--zh-text-primary); letter-spacing: .2px; }
.gx_logo_txt i { font-size: 11.5px; font-style: normal; color: var(--zh-text-tertiary); }

.gx_search {
    flex: 1 1 auto; max-width: 540px; position: relative;
    display: flex; align-items: center; height: 44px;
    background: #fff; border: 2px solid var(--zh-primary);
    border-radius: 999px; overflow: hidden;
}
.gx_search_ico { position: absolute; left: 18px; color: var(--zh-text-tertiary); font-size: 14px; pointer-events: none; }
.gx_search input {
    flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent;
    padding: 0 12px 0 42px; font-size: 14px; color: var(--zh-text-primary);
}
.gx_search input::placeholder { color: var(--zh-text-tertiary); }
.gx_search button {
    flex: none; height: 100%; padding: 0 30px; border: 0; cursor: pointer;
    background: var(--zh-primary); color: #fff; font-size: 15px; font-weight: 600;
    transition: background .2s;
}
.gx_search button:hover { background: var(--zh-primary-dark); }

.gx_head_r { flex: none; margin-left: auto; display: flex; align-items: center; gap: 18px; }
.gx_hr_link { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--zh-text-secondary); transition: color .2s; }
.gx_hr_link i { font-size: 14px; color: var(--zh-text-tertiary); }
.gx_hr_link:hover, .gx_hr_link:hover i { color: var(--zh-primary); }
.gx_hr_btn {
    display: inline-flex; align-items: center; height: 34px; padding: 0 18px;
    background: var(--zh-accent); color: #fff; font-size: 13.5px; font-weight: 600;
    border-radius: 999px; transition: background .2s, transform .2s;
}
.gx_hr_btn:hover { background: var(--zh-accent-dark); color: #fff; transform: translateY(-1px); }

.gx_cart {
    position: relative; display: inline-flex; align-items: center; gap: 7px;
    height: 38px; padding: 0 18px;
    border: 1px solid var(--zh-border); border-radius: 999px;
    color: var(--zh-text-secondary); font-size: 13.5px; transition: all .2s;
}
.gx_cart:hover { color: var(--zh-primary); border-color: var(--zh-primary); background: var(--zh-primary-light); }
.gx_cart em {
    position: absolute; top: -5px; right: -4px;
    min-width: 17px; height: 17px; padding: 0 4px;
    display: flex; align-items: center; justify-content: center;
    background: var(--zh-price); color: #fff;
    font-size: 10px; font-style: normal; font-weight: 700; border-radius: 999px;
}
.gx_burger {
    display: none; width: 40px; height: 38px; cursor: pointer;
    border: 1px solid var(--zh-border); border-radius: 10px;
    background: #fff; color: var(--zh-text-primary); font-size: 16px;
}

.gx_navbar {
    position: sticky; top: 0; z-index: 900;
    background: var(--zh-dark);
    box-shadow: 0 2px 10px rgba(15,23,42,.18);
}
.gx_navbar_in { display: flex; align-items: center; height: 48px; gap: 18px; }
.gx_allcat {
    flex: none; display: inline-flex; align-items: center; gap: 9px;
    height: 48px; padding: 0 22px; border: 0; cursor: pointer;
    background: var(--zh-primary); color: #fff;
    font-size: 14.5px; font-weight: 600; font-family: inherit;
}
.gx_allcat:hover { background: var(--zh-primary-dark); }
.gx_nav { flex: 1 1 auto; display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.gx_nav::-webkit-scrollbar { display: none; }
.gx_nav a {
    white-space: nowrap; padding: 6px 15px; border-radius: 999px;
    font-size: 14px; color: rgba(255,255,255,.72); transition: all .2s;
}
.gx_nav a:hover { color: #fff; background: rgba(255,255,255,.1); }
.gx_nav a.on { color: #fff; background: var(--zh-accent); font-weight: 600; }
.gx_navbar_r { flex: none; display: flex; align-items: center; gap: 16px; }
.gx_nb_tel { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: rgba(255,255,255,.6); }
.gx_nb_tel i { color: var(--zh-accent); }
.gx_nb_join { font-size: 13.5px; color: var(--zh-accent); font-weight: 600; }
.gx_nb_join:hover { color: #fff; }

.gx_foot { margin-top: var(--zh-section-gap); background: var(--zh-dark); color: rgba(255,255,255,.62); }
.gx_foot_svc { border-bottom: 1px solid rgba(255,255,255,.08); }
.gx_svc_in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 0; }
.gx_svc_item { display: flex; align-items: center; gap: 13px; }
.gx_svc_item i {
    width: 42px; height: 42px; flex: none;
    display: flex; align-items: center; justify-content: center;
    background: rgba(249,115,22,.14); color: var(--zh-accent);
    border-radius: 12px; font-size: 17px;
}
.gx_svc_item b { display: block; font-size: 14.5px; color: #fff; font-weight: 600; }
.gx_svc_item span { font-size: 12px; color: rgba(255,255,255,.45); }

.gx_foot_main { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.3fr; gap: 40px; padding: 40px 0 34px; }
.gx_logo_foot .gx_logo_txt b { color: #fff; font-size: 16px; }
.gx_foot_desc { margin: 15px 0 18px; font-size: 13px; line-height: 1.85; color: rgba(255,255,255,.45); }
.gx_foot_contact { margin: 0; padding: 0; list-style: none; }
.gx_foot_contact li { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 9px; font-size: 12.5px; line-height: 1.7; color: rgba(255,255,255,.5); }
.gx_foot_contact i { margin-top: 3px; color: var(--zh-accent); font-size: 12px; flex: none; }

.gx_foot_col h5 { margin: 0 0 18px; font-size: 14.5px; font-weight: 700; color: #fff; }
.gx_foot_col ul { margin: 0; padding: 0; list-style: none; }
.gx_foot_col li { margin-bottom: 11px; }
.gx_foot_col a { font-size: 13px; color: rgba(255,255,255,.5); transition: color .2s; }
.gx_foot_col a:hover { color: var(--zh-accent); }

.gx_foot_join h5 { margin: 0 0 10px; font-size: 14.5px; font-weight: 700; color: #fff; }
.gx_foot_join p { margin: 0 0 16px; font-size: 12.5px; line-height: 1.75; color: rgba(255,255,255,.45); }
.gx_join_btn {
    display: inline-flex; align-items: center; gap: 8px;
    height: 40px; padding: 0 24px;
    background: var(--zh-accent); color: #fff; font-size: 14px; font-weight: 700;
    border-radius: 999px; transition: background .2s, transform .2s;
}
.gx_join_btn:hover { background: var(--zh-accent-dark); color: #fff; transform: translateY(-2px); }
.gx_foot_hours { margin-top: 16px; font-size: 12px; color: rgba(255,255,255,.38); }

.gx_copy { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.08); text-align: center; font-size: 12.5px; color: rgba(255,255,255,.38); }
.gx_copy a { color: rgba(255,255,255,.5); }
.gx_copy a:hover { color: var(--zh-accent); }
.gx_copy_sep { margin: 0 9px; color: rgba(255,255,255,.2); }

@media (max-width: 1100px) {
    .gx_nav { display: none; }
    .gx_burger { display: inline-flex; align-items: center; justify-content: center; }
    .gx_head_in { gap: 16px; }
}
@media (max-width: 992px) {
    .gx_foot_main { grid-template-columns: 1fr 1fr; gap: 28px; }
    .gx_svc_in { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 768px) {
    .gx_head_in { height: 62px; gap: 12px; }
    .gx_logo_txt i { display: none; }
    .gx_search { display: none; }
    .gx_head_r .gx_hr_link span, .gx_cart span { display: none; }
    .gx_head_r { gap: 10px; }
    .gx_navbar_r { display: none; }
    .gx_allcat { padding: 0 14px; font-size: 13.5px; }
    .gx_foot_main { grid-template-columns: 1fr; gap: 24px; }
    .gx_svc_in { grid-template-columns: 1fr; }
}

/* logo 图片适配（替换原首字文本标记） */
.gx_logo_mark { background: transparent !important; box-shadow: none !important; padding: 0; }
.gx_logo_mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.gx_logo_foot .gx_logo_mark { background: rgba(255,255,255,.08) !important; border-radius: 10px; padding: 4px; }
