/**
 * ============================================================
 * 简雅 ZC Simple · 全站皮肤层
 * ------------------------------------------------------------
 * 加载位置：common.css 之后 / module.css、other.css、page_css 之前
 * 覆盖策略：统一以 body 前缀提升特异性；关键色值用 !important
 * 设计原则：中性色为骨架撑起「大气」，品牌朱橙仅点睛（< 8% 面积）
 * 遵循规范：ShopXO 前端开发规范 / W3C HTML5 / WCAG 2.1 AA
 * ============================================================
 */

/* ---------- 1. 设计令牌 ---------- */
:root {
    --zc-ink:        #1D2129;   /* 标题 / 深色骨架 */
    --zc-body:       #4E5969;   /* 正文 */
    --zc-muted:      #86909C;   /* 辅助信息 */
    --zc-line:       #E5E6EB;   /* 分割线 */
    --zc-surface:    #FFFFFF;   /* 卡片面 */
    --zc-canvas:     #F7F8FA;   /* 页面底 */
    --zc-gold:       #C9A063;   /* 暖金点缀 */
    --zc-soft:       #FBF0EC;   /* 品牌浅底 */
    --zc-brand:      var(--color-main, #E22C08);
    --zc-radius:     var(--border-radius, 0.8rem);
    --zc-radius-lg:  var(--border-radius-lg, 1.2rem);
    --zc-shadow:     var(--box-shadow, 0 8px 30px rgba(29,33,41,0.06));
    --zc-shadow-lg:  var(--box-shadow-lg, 0 16px 48px rgba(29,33,41,0.10));
    --zc-gutter:     24px;
}

/* ---------- 2. 全局排版 ---------- */
html body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--zc-body) !important;
    background: var(--zc-canvas) !important;
    font-size: 14px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body h1, body h2, body h3, body h4, body h5, body h6 {
    color: var(--zc-ink) !important;
    font-weight: 600;
    line-height: 1.35;
}
body h1 { font-size: 30px; }
body h2 { font-size: 24px; }
body h3 { font-size: 18px; }
body a { color: inherit; text-decoration: none; transition: color .2s, background-color .2s, border-color .2s; }
body a:hover,
body a:focus { color: var(--zc-brand) !important; }
body img { max-width: 100%; }
body :focus-visible { outline: 2px solid var(--zc-brand); outline-offset: 2px; }
body ::selection { background: var(--zc-soft); color: var(--zc-ink); }

/* ---------- 3. 顶部导航 ---------- */
body .header-top {
    background: var(--zc-ink) !important;
    color: rgba(255,255,255,.72) !important;
    border: none;
    font-size: 12px;
}
body .header-top a { color: rgba(255,255,255,.82) !important; }
body .header-top a:hover { color: #fff !important; }

body .nav-search {
    background: #fff !important;
    border-bottom: 1px solid var(--zc-line) !important;
    box-shadow: 0 1px 0 rgba(29,33,41,.02);
}
body .nav-search > .am-container { padding-top: 20px; padding-bottom: 20px; }
body .nav-search .logo img { max-height: 46px; }
body .search-bar form .search-group {
    border: 1px solid var(--zc-line) !important;
    border-radius: var(--zc-radius) !important;
    overflow: hidden;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
body .search-bar form .search-group:focus-within {
    border-color: var(--zc-brand) !important;
    box-shadow: 0 0 0 3px var(--zc-soft);
}
body .search-bar input {
    border: none !important;
    background: transparent !important;
    color: var(--zc-ink);
}
body .search-bar input::placeholder { color: var(--zc-muted); }
body #ai-topsearch {
    border-radius: 0 !important;
    font-weight: 500;
    letter-spacing: .5px;
}
body .search-hot-keywords li a { color: var(--zc-muted) !important; }
body .search-hot-keywords li a:hover { color: var(--zc-brand) !important; }

body .shop-navigation {
    background: #fff !important;
    border-bottom: 1px solid var(--zc-line) !important;
    box-shadow: none !important;
}
body .shop-navigation .am-topbar-nav > li > a { color: var(--zc-ink) !important; font-weight: 500; }
body .shop-navigation .am-topbar-nav > li > a:hover,
body .shop-navigation .am-topbar-nav > li.am-active > a { color: var(--zc-brand) !important; }
body .top-nav-right .top-nav-items .menu-hd { color: var(--zc-body) !important; }
body .mobile-navigation {
    background: #fff !important;
    border-top: 1px solid var(--zc-line) !important;
    box-shadow: 0 -4px 20px rgba(29,33,41,.04) !important;
}
body .mobile-navigation li.active a { color: var(--zc-brand) !important; }

/* ---------- 4. 通用容器 / 面包屑 ---------- */
body .body-content-container { min-height: 60vh; }
body .am-container { padding-left: var(--zc-gutter); padding-right: var(--zc-gutter); }
body .breadcrumb,
body .am-breadcrumb { color: var(--zc-muted) !important; font-size: 13px; }
body .am-breadcrumb a { color: var(--zc-muted) !important; }
body .am-breadcrumb a:hover { color: var(--zc-brand) !important; }
body .am-breadcrumb .am-active { color: var(--zc-ink) !important; }

/* ---------- 5. 商品卡片 / 列表 ---------- */
body .module-goods-grid-container .item {
    background: var(--zc-surface) !important;
    border: 1px solid var(--zc-line) !important;
    border-radius: var(--zc-radius-lg) !important;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease !important;
}
body .module-goods-grid-container .item:hover {
    transform: translateY(-4px);
    box-shadow: var(--zc-shadow-lg) !important;
    border-color: transparent !important;
}
body .module-goods-grid-container .item .goods-images,
body .module-goods-grid-container .item .goods-img {
    border-radius: var(--zc-radius) !important;
    overflow: hidden;
}
body .module-goods-grid-container .item img { transition: transform .5s ease; }
body .module-goods-grid-container .item:hover img { transform: scale(1.05); }
body .module-goods-grid-container .item .goods-title,
body .module-goods-grid-container .item .goods-name {
    color: var(--zc-ink) !important;
    font-weight: 500;
    line-height: 1.5;
}
body .module-goods-grid-container .item .goods-price,
body .module-goods-grid-container .item .price { color: var(--color-price) !important; }
body .base-nav-title {
    font-size: 20px !important;
    color: var(--zc-ink) !important;
    border-left: 3px solid var(--zc-brand) !important;
    padding-left: 12px !important;
    font-weight: 600;
}
body .base-nav-desc { color: var(--zc-muted) !important; }
body .base-nav-keywords a {
    color: var(--zc-muted) !important;
    border: 1px solid var(--zc-line) !important;
    border-radius: 20px !important;
    padding: 3px 12px !important;
}
body .base-nav-keywords a:hover {
    color: var(--zc-brand) !important;
    border-color: var(--zc-brand) !important;
}
body .base-nav-more a { color: var(--zc-muted) !important; }
body .base-nav-more a:hover { color: var(--zc-brand) !important; }
body .grid-border { border-color: var(--zc-line) !important; }

/* 列表型商品 */
body .module-goods-list-container .item {
    background: var(--zc-surface) !important;
    border: 1px solid var(--zc-line) !important;
    border-radius: var(--zc-radius-lg) !important;
    transition: box-shadow .25s ease !important;
}
body .module-goods-list-container .item:hover { box-shadow: var(--zc-shadow) !important; }

/* ---------- 6. 分类 / 搜索页 ---------- */
body .category-list-container {
    background: var(--zc-surface) !important;
    border: 1px solid var(--zc-line) !important;
    border-radius: var(--zc-radius-lg) !important;
    box-shadow: var(--zc-shadow-sm) !important;
}
body .category-content > div > a,
body .category-list-level-container a { color: var(--zc-body) !important; }
body .category-list-level-container a.active,
body .category-content .active,
body .am-text-truncate.active {
    color: var(--zc-brand) !important;
    background: var(--zc-soft) !important;
    border-radius: var(--zc-radius-sm) !important;
}
body .zero-title { color: var(--zc-muted) !important; }
body .zero-search { color: var(--zc-ink) !important; }
body .screening-item { border-bottom: 1px solid var(--zc-line) !important; }

/* ---------- 7. 商品详情页 ---------- */
body .goods-detail-container,
body .goods-info-panel {
    background: var(--zc-surface) !important;
    border-radius: var(--zc-radius-lg) !important;
}
body .goods-title h1,
body .goods-name h1 { color: var(--zc-ink) !important; font-size: 24px !important; font-weight: 600 !important; }
body .goods-price-panel { background: var(--zc-soft) !important; border-radius: var(--zc-radius) !important; }
body .goods-spec-choose .am-btn { border-radius: var(--zc-radius-sm) !important; }
body .goods-spec-choose .am-btn.am-active,
body .goods-spec-choose .am-btn.active {
    border-color: var(--zc-brand) !important;
    color: var(--zc-brand) !important;
    background: var(--zc-soft) !important;
}
body .detail-nav-switch-tabs { border-bottom: 1px solid var(--zc-line) !important; }
body .detail-nav-switch-tabs a { color: var(--zc-muted) !important; }
body .detail-nav-switch-tabs a.active { color: var(--zc-brand) !important; }
body .richtext img { border-radius: var(--zc-radius) !important; }
body .am-panel {
    background: var(--zc-surface) !important;
    border: 1px solid var(--zc-line) !important;
    border-radius: var(--zc-radius-lg) !important;
    box-shadow: var(--zc-shadow-sm) !important;
}
body .am-panel-hd {
    background: transparent !important;
    border-bottom: 1px solid var(--zc-line) !important;
    font-weight: 600;
    color: var(--zc-ink) !important;
}

/* ---------- 8. 购物车 / 订单 / 会员中心 ---------- */
body .cart-table,
body .order-table { background: var(--zc-surface) !important; border-radius: var(--zc-radius-lg) !important; }
body .personal-center-panel {
    background: var(--zc-surface) !important;
    border: 1px solid var(--zc-line) !important;
    border-radius: var(--zc-radius-lg) !important;
}
body .user-member-top-bg { border-radius: var(--zc-radius-lg) var(--zc-radius-lg) 0 0 !important; }
body .am-table > thead > tr > th {
    border-bottom: 1px solid var(--zc-line) !important;
    color: var(--zc-ink) !important;
    font-weight: 600;
}
body .am-table > tbody > tr > td { border-top: 1px solid var(--zc-line) !important; }

/* ---------- 9. 表单 / 按钮 / 标签 ---------- */
body .am-form-field,
body input[type="text"],
body input[type="email"],
body input[type="tel"],
body input[type="password"],
body input[type="number"],
body select,
body textarea {
    border-radius: var(--zc-radius) !important;
    border-color: var(--zc-line) !important;
    background: #fff !important;
    color: var(--zc-ink) !important;
    transition: border-color .2s, box-shadow .2s !important;
}
body .am-form-field:focus,
body input:focus,
body select:focus,
body textarea:focus {
    border-color: var(--zc-brand) !important;
    box-shadow: 0 0 0 3px var(--zc-soft) !important;
}
body .am-btn { border-radius: var(--zc-radius) !important; font-weight: 500; }
body .am-btn-primary { border-radius: var(--zc-radius) !important; }
body .am-btn-default,
body .am-btn-secondary {
    background: var(--zc-surface) !important;
    border-color: var(--zc-line) !important;
    color: var(--zc-body) !important;
}
body .am-btn-default:hover,
body .am-btn-secondary:hover {
    border-color: var(--zc-brand) !important;
    color: var(--zc-brand) !important;
}
body .am-badge { border-radius: 20px !important; }
body .am-label { border-radius: var(--zc-radius-sm) !important; font-weight: 500; }

/* ---------- 10. 文章 / 自定义页 ---------- */
body .article-content,
body .richtext { color: var(--zc-body) !important; line-height: 1.8; }
body .article-content h2,
body .richtext h2 { font-size: 22px; margin: 36px 0 16px; }
body .article-content h3,
body .richtext h3 { font-size: 18px; margin: 28px 0 12px; }
body .article-sidebar,
body .category-list {
    background: var(--zc-surface) !important;
    border: 1px solid var(--zc-line) !important;
    border-radius: var(--zc-radius-lg) !important;
}

/* ---------- 11. 页脚 ---------- */
body .am-footer {
    background: #15181D !important;
    color: rgba(255,255,255,.62) !important;
    border: none !important;
    margin-top: 0 !important;
    text-align: left;
}
body .am-footer a { color: rgba(255,255,255,.72) !important; }
body .am-footer a:hover { color: #fff !important; }
body .footer-base-content { background: #15181D !important; color: rgba(255,255,255,.5) !important; }
body .am-footer-title { color: #fff !important; font-weight: 600; }

/* 顶部品牌渐变细线 */
body .zc-footer { position: relative; overflow: hidden; }
body .zc-footer::before {
    content: "";
    display: block;
    height: 2px;
    background: linear-gradient(90deg, var(--zc-brand) 0%, var(--zc-gold) 42%, rgba(255,255,255,0) 100%);
}
body .zc-footer .am-container { padding-left: 24px; padding-right: 24px; }

/* 主体四栏 */
body .zc-footer-main {
    display: flex !important;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0;
    padding-top: 58px !important;
    padding-bottom: 54px !important;
}
body .zc-footer-brand { flex: 0 0 28%; min-width: 220px; padding-right: 34px; }
body .zc-footer-nav {
    display: flex;
    flex: 1 1 44%;
    gap: 26px;
    min-width: 0;
}
body .zc-footer-nav > * { flex: 1 1 0; min-width: 0; }
body .zc-footer-contact { flex: 0 0 24%; min-width: 180px; padding-left: 24px; }
body .zc-footer-col {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}
body .zc-footer-col h3,
body .zc-footer-col-title,
body .zc-footer-contact h3 {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .06em;
    color: #fff !important;
}
body .zc-footer-col a,
body .zc-footer-col li a {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255,255,255,.55) !important;
    text-decoration: none;
    transition: color .18s ease;
}
body .zc-footer-col a:hover,
body .zc-footer-col li a:hover { color: #fff !important; }
body .zc-footer-nav-dynamic > li {
    display: flex;
    flex-direction: column;
    gap: 11px;
}
body .zc-footer-nav-dynamic > li + li { margin-top: 20px; }

/* 品牌 */
body .zc-footer-brand-name {
    display: inline-block;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.3;
    color: #fff !important;
    text-decoration: none;
}
body .zc-footer-brand-en {
    margin: 7px 0 18px;
    font-size: 10px;
    letter-spacing: .2em;
    color: var(--zc-gold);
    text-transform: uppercase;
}
body .zc-footer-brand-desc {
    max-width: 300px;
    margin: 0 0 22px;
    font-size: 13px;
    line-height: 1.95;
    color: rgba(255,255,255,.52);
}
body .zc-footer-brand-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 19px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    font-size: 12px;
    color: #fff !important;
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease;
}
body .zc-footer-brand-cta:hover {
    background: var(--zc-brand);
    border-color: var(--zc-brand);
    color: #fff !important;
}

/* 联系方式 */
body .zc-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
body .zc-footer-contact h3 { margin-bottom: 6px; }
body .zc-footer-contact li {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
}
body .zc-footer-contact li .iconfont { display: none !important; }
body .zc-footer-contact .zc-contact-label {
    flex: none;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    color: var(--zc-gold);
    font-size: 11px;
    white-space: nowrap;
}
body .zc-footer-contact a,
body .zc-footer-contact span:not(.zc-contact-label) {
    color: rgba(255,255,255,.72) !important;
    word-break: break-all;
}
body .zc-footer-contact a:hover { color: #fff !important; }
body .zc-footer-contact .customer-sensitive-contact-img { max-height: 28px; }
body .zc-footer-hint {
    margin: 8px 0 0;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: 11px;
    color: rgba(255,255,255,.38);
}

/* 底部条 */
body .zc-footer-bottom .am-container { border-top: none !important; padding-top: 0; }
body .zc-footer-bottom {
    margin: 0 !important;
    padding: 0 !important;
    border-top: 1px solid rgba(255,255,255,.07);
    background: #101216 !important;
}
body .zc-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    min-height: 58px;
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 12px;
    color: rgba(255,255,255,.4);
}
body .zc-footer-bottom-links { display: inline-flex; gap: 22px; }
body .zc-footer-bottom a { color: rgba(255,255,255,.5) !important; text-decoration: none; }
body .zc-footer-bottom a:hover { color: #fff !important; }
body .zc-footer-links { display: inline-flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 12. 交互反馈 ---------- */
body .am-modal-dialog,
body .am-popup {
    border-radius: var(--zc-radius-lg) !important;
    box-shadow: var(--zc-shadow-lg) !important;
}
body .loading,
body .am-loading { border-radius: var(--zc-radius) !important; }
body [class*="box-shadow-hover"]:hover { box-shadow: var(--zc-shadow-lg) !important; }

/* ---------- 13. 移动端自适应 ---------- */
@media (max-width: 1024px) {
    body .am-container { padding-left: 16px; padding-right: 16px; }
    body .nav-search > .am-container { padding-top: 14px; padding-bottom: 14px; }
    body .nav-search .logo img { max-height: 38px; }
    body .base-nav-title { font-size: 18px !important; }
    body h1 { font-size: 26px; }
    body h2 { font-size: 22px; }
    body .zc-footer-main {
        flex-direction: column;
        gap: 34px;
        padding-top: 44px !important;
        padding-bottom: 40px !important;
    }
    body .zc-footer-brand,
    body .zc-footer-nav,
    body .zc-footer-contact { flex: 1 1 auto; width: 100%; padding-left: 0; padding-right: 0; min-width: 0; }
    body .zc-footer-nav { gap: 28px; }
}
@media (max-width: 768px) {
    :root { --zc-gutter: 14px; }
    body { font-size: 13px; }
    body .header-top { font-size: 11px; }
    body .nav-search > .am-container { padding-top: 12px; padding-bottom: 12px; }
    body .nav-search .logo img { max-height: 32px; }
    body .search-bar form .search-group { border-radius: 20px !important; }
    body .am-container { padding-left: var(--zc-gutter); padding-right: var(--zc-gutter); }
    body .module-goods-grid-container .item { border-radius: var(--zc-radius) !important; }
    body .module-goods-grid-container .item:hover { transform: none; }
    body h1 { font-size: 22px; }
    body h2 { font-size: 20px; }
    body .am-btn { height: 38px; line-height: 36px; }
    body .article-content h2, body .richtext h2 { font-size: 19px; }
    body .zc-footer { text-align: left; }
    body .zc-footer-main { gap: 28px; padding-top: 36px !important; }
    body .zc-footer-brand-desc { max-width: none; }
    body .zc-footer-nav { flex-wrap: wrap; gap: 26px 18px; }
    body .zc-footer-nav > * { flex: 0 0 calc(50% - 9px); }
    body .zc-footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 18px;
        padding-bottom: 18px;
    }
}
@media (max-width: 480px) {
    body .search-hot-keywords { display: none !important; }
    body .am-container { padding-left: 12px; padding-right: 12px; }
    body .base-nav-keywords { display: none !important; }
}

/* ---------- 14. 可访问性 / 打印 ---------- */
/* 跳转到主内容：默认隐藏，键盘聚焦时显现（WCAG 2.4.1） */
body .zc-skip-link {
    position: absolute !important;
    left: -9999px !important;
    top: 0 !important;
    z-index: 9999 !important;
    background: var(--zc-brand) !important;
    color: #fff !important;
    padding: 10px 18px !important;
    border-radius: 0 0 var(--zc-radius) 0 !important;
    font-size: 14px !important;
}
body .zc-skip-link:focus {
    left: 0 !important;
    color: #fff !important;
}
@media (prefers-reduced-motion: reduce) {
    body *, body *::before, body *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    body .module-goods-grid-container .item:hover { transform: none !important; }
}
@media print {
    body .header-top, body .nav-search, body .shop-navigation,
    body .mobile-navigation, body .am-footer { display: none !important; }
    body { background: #fff !important; color: #000 !important; }
    body a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 10px; color: #666; }
}

/* ---------- 顶部导航：全部分类色块与菜单错位修复（非首页） ----------
 * 首页由 index.css 接管导航并隐藏 #goods-category，故这里排除首页。
 * 原 CSS 用 rem 计算让位宽度，主题 rem 基准不同导致色块压住首个菜单项；
 * 改用 px 固定间距，确保色块与菜单之间始终留白。
 */
@media only screen and (min-width: 1025px) {
    body:not(.index-index-index) header.shop-navigation .am-container {
        padding-left: 140px !important;
    }
    body:not(.index-index-index) header.shop-navigation .am-topbar-collapse {
        margin-left: 20px !important;
    }
    /* 桌面端真正显示的是 header 之后的 #goods-category 色块，两个都要改 */
    body:not(.index-index-index) #goods-category .goods-category-title,
    body:not(.index-index-index) header.shop-navigation .goods-category-title {
        width: 140px !important;
    }
    /* 菜单项收紧一点，让 10 个栏目尽量排在单行 */
    body:not(.index-index-index) header.shop-navigation .am-topbar-nav > li > a {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }
}
@media only screen and (min-width: 641px) and (max-width: 1024px) {
    body:not(.index-index-index) header.shop-navigation .am-topbar-collapse {
        margin-left: 190px !important;
    }
    body:not(.index-index-index) #goods-category .goods-category-title,
    body:not(.index-index-index) header.shop-navigation .goods-category-title {
        width: 150px !important;
    }
}

/* ============================================================
 * 简雅 ZC Simple · END
 * ============================================================ */


/* ============================================================
 * 头部视觉增强（与 zc-footer.css 同步，主题包内保底）
 * ============================================================ */
body .nav-search { padding-top: 26px !important; padding-bottom: 22px !important; }
body .search-bar form .search-group {
    height: 42px !important;
    border: 1px solid var(--zc-line) !important;
    border-radius: 999px !important;
    background: #fff !important;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(29,33,41,.03);
}
body .search-bar form .search-group:focus-within {
    border-color: var(--zc-brand) !important;
    box-shadow: 0 0 0 3px rgba(226,44,8,.08);
}
body .search-bar input#search-input { height: 40px; font-size: 13px; padding-left: 18px !important; }
body .search-bar input#search-input::placeholder { color: #AEB4BD; }
body .search-bar #ai-topsearch {
    height: 42px; width: 92px;
    border-radius: 0 999px 999px 0 !important;
    background: linear-gradient(135deg, #F0491E 0%, #E22C08 100%) !important;
    font-size: 14px; font-weight: 600; letter-spacing: .08em;
}
body #goods-category .goods-category-title,
body header.shop-navigation .goods-category-title {
    background: linear-gradient(135deg, #F0491E 0%, #E22C08 100%) !important;
    border-radius: 8px 8px 0 0 !important;
    box-shadow: 0 6px 16px rgba(226,44,8,.16);
}
body .goods-category-title .all-goods { font-size: 15px; font-weight: 600; letter-spacing: .06em; }
body .goods-category-title .all-goods::before {
    content: ""; display: inline-block; width: 14px; height: 11px;
    margin-right: 8px; vertical-align: -1px;
    background:
        linear-gradient(#fff, #fff) left top / 100% 2px no-repeat,
        linear-gradient(#fff, #fff) left center / 100% 2px no-repeat,
        linear-gradient(#fff, #fff) left bottom / 100% 2px no-repeat;
}
body header.shop-navigation .am-topbar-nav > li > a { font-size: 14px; font-weight: 500; color: #2B3038; }
body header.shop-navigation .am-topbar-nav > li > a:after { display: none !important; }
body header.shop-navigation .am-topbar-nav > li.am-active > a:after {
    display: block !important; content: ""; position: absolute; left: 50%; bottom: 0;
    width: 20px; height: 2px; margin-left: -10px; border: none !important;
    border-radius: 2px; background: var(--zc-brand) !important; opacity: 1 !important;
}
body .breadcrumb-data { background: #FAFBFC !important; border-top: 1px solid #F0F1F3; border-bottom: 1px solid #F0F1F3; }
body .breadcrumb-data .am-breadcrumb { padding: 10px 6px !important; }
body .breadcrumb-data .am-breadcrumb li,
body .breadcrumb-data .am-breadcrumb li a { font-size: 12px !important; color: #8A9099 !important; }
body .breadcrumb-data .am-breadcrumb li+li:before { content: "\203A " !important; color: #C9CDD4 !important; }
body .breadcrumb-data .am-breadcrumb li.am-active { color: var(--zc-brand) !important; }


















/* ============================================================
 * 全站页面视觉统一 · 内页专项
 * ------------------------------------------------------------
 * 覆盖范围：商品列表 / 商品详情 / 文章列表 / 文章详情 /
 *          自定义页 / 表单页 / 购物车 / 个人中心 / 空状态
 * 目标：统一标题层级、卡片语言、控件质感、留白节奏
 * ============================================================ */

/* ---------- A. 页面标题层级统一 ---------- */
body .detail-title,
body .tb-detail-hd h1 {
    font-size: 20px !important;
    font-weight: 600;
    line-height: 1.6;
    color: var(--zc-ink) !important;
    letter-spacing: .01em;
}
body .simple-desc {
    font-size: 13px !important;
    line-height: 1.7;
    color: var(--zc-muted) !important;
    margin-top: 6px !important;
    margin-bottom: 0 !important;
}
body .page-title,
body .am-page .page-title,
body .search-title {
    font-size: 20px !important;
    font-weight: 600;
    color: var(--zc-ink) !important;
}

/* ---------- B. 商品详情：面包屑长标题不再撑爆一行 ---------- */
body .breadcrumb-data .am-breadcrumb li.am-active {
    display: inline-block;
    max-width: 380px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
}
body .breadcrumb-data .am-breadcrumb li.am-active a {
    display: inline-block;
    max-width: 380px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
}

/* ---------- C. 商品详情：价格区/缺货态 ---------- */
body .tb-detail-panel-base .tb-detail-panel-top-price-content {
    background: linear-gradient(135deg, #FFF7F1 0%, #FDF1EA 100%) !important;
    border: 1px solid #F6E3D8;
    border-radius: 10px !important;
    padding: 16px 18px !important;
    min-height: 0;
}
/* 询价模式下售价区块被插件隐藏，价格容器为空 => 不留空色条 */
body .tb-detail-panel-base .tb-detail-panel-top-price-content:has(.tb-detail-price-content:empty) {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
}
body .tb-detail-price-content:empty { display: none !important; }
body .tb-detail-panel-base .tb-detail-panel-top-price-content {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
}
/* 有售价时恢复浅色卡片样式 */
body .tb-detail-panel-base .tb-detail-panel-top-price-content:has(.goods-price),
body .tb-detail-panel-base .tb-detail-panel-top-price-content:has(.goods-sale-price),
body .tb-detail-panel-base .tb-detail-panel-top-price-content:has(.goods-original-price-value) {
    background: linear-gradient(135deg, #FFF7F1 0%, #FDF1EA 100%) !important;
    border: 1px solid #F6E3D8 !important;
    padding: 16px 18px !important;
}
body .goods-not-buy-tips {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: auto !important;
    line-height: 1.5 !important;
    padding: 9px 22px;
    border-radius: 999px;
    background: rgba(0,0,0,.04);
    color: #86909C !important;
    font-size: 13px !important;
    font-weight: 500;
}
body .buy-nav .buy-nav-opt {
    align-items: center;
}
body .detail-nav-switch-tabs,
body .nav-tabs-switch {
    border-radius: 8px;
    overflow: hidden;
}
body .detail-nav-switch-tabs .am-active > a,
body .nav-tabs-switch .am-active > a {
    font-weight: 600;
}

/* 商品详情：tab 导航改为白底细下划线，去掉默认灰底块 */
body .am-tabs-short-border > li.am-active > a {
    background: none !important;
    font-weight: 600;
    color: var(--zc-brand) !important;
}
body .am-tabs-short-border > li.am-active::before {
    background: var(--zc-brand) !important;
    height: 2px !important;
    border-radius: 2px;
}
body .am-tabs-nav.am-tabs-short-border {
    background: #FCFCFD !important;
    border: 1px solid var(--zc-line);
    border-radius: 10px;
    overflow: hidden;
    padding: 0 8px;
    text-align: left;
}
body .am-tabs-nav.am-tabs-short-border > li {
    flex: 0 0 auto !important;
    text-align: left;
}
body .am-tabs-nav.am-tabs-short-border > li.am-active {
    border-bottom: 0 !important;
}
body .am-tabs-nav.am-tabs-short-border > li.am-active::before {
    left: 18px !important;
    margin-left: 0 !important;
    bottom: 0 !important;
}
body .am-tabs-nav.am-tabs-short-border > li > a {
    font-size: 14px;
    color: var(--zc-body);
    padding: 12px 18px;
}
body .parameters-content-detail > li {
    font-size: 13px !important;
    line-height: 1.85;
    color: var(--zc-body) !important;
    padding-bottom: 8px;
    border-bottom: 1px dashed #F0F1F3 !important;
}
body .parameters-content-detail > li strong {
    color: var(--zc-ink) !important;
    font-weight: 600;
}

/* ---------- D. 列表页筛选/排序条 ---------- */
/* 排序项被插件隐藏后残留空条：压掉高度，只保留右侧视图切换 */
body .search-nav .sort-nav > li[data-type],
body .search-nav .sort-nav > li.sort-nav-map-price { display: none !important; }
body .search-nav .sort-nav { display: flex; align-items: center; justify-content: flex-end; }
body .search-nav { padding: 0 !important; border: 0 !important; background: transparent !important; }
body .search-nav .sort-nav > li:last-child { margin-left: auto; }
body .search-container .map-item {
    border-color: var(--zc-line) !important;
}
body .search-container .map-left {
    color: var(--zc-ink) !important;
    font-weight: 600;
}
body .search-container .map-result-row {
    padding: 12px 16px !important;
    background: #FCFCFD;
}
body .search-container .map-result-count {
    font-size: 15px;
    font-weight: 700;
}
body .search-nav {
    background: #FCFCFD;
    border: 1px solid var(--zc-line);
    border-radius: 10px;
    padding: 2px 6px;
}
body .search-nav .sort-nav > li > a {
    font-size: 13px;
    color: var(--zc-body);
    border-radius: 6px;
    padding: 0 14px !important;
    transition: color .18s ease, background .18s ease;
}
body .search-nav .sort-nav > li > a::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 7px;
    vertical-align: 2px;
    border-radius: 50%;
    background: #C9CDD4;
    transition: background .18s ease;
}
body .search-nav .sort-nav > li.active > a::before { background: var(--zc-brand); }
body .search-nav .sort-nav > li > a:hover {
    color: var(--zc-brand) !important;
    background: var(--zc-soft);
}
body .search-nav .sort-nav > li.active > a {
    color: var(--zc-brand) !important;
    font-weight: 600;
}

/* ---------- E. 商品卡片：统一圆角/留白/标题层级 ---------- */
body .module-goods-grid-base .item {
    border: 1px solid #EFEFF2 !important;
    border-radius: 12px !important;
    background: #fff;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
body .module-goods-grid-base .item:hover {
    transform: translateY(-3px);
    border-color: #F3D9CE !important;
    box-shadow: 0 12px 28px rgba(29,33,41,.09);
}
body .module-goods-grid-base .item .goods-info { padding: 10px !important; }
body .module-goods-grid-base .item img {
    border-radius: 10px !important;
    background: #FAFAFB;
}
body .module-goods-grid-base .item .price-content { padding: 10px 12px 14px !important; }
body .module-goods-grid-base .item .goods-title {
    font-size: 13px !important;
    line-height: 1.65 !important;
    color: var(--zc-ink) !important;
    margin-top: 6px;
}
body .module-goods-grid-base .item .goods-title a {
    color: var(--zc-ink) !important;
    transition: color .18s ease;
}
body .module-goods-grid-base .item .goods-title a:hover { color: var(--zc-brand) !important; }
body .module-goods-grid-base .item .price {
    min-height: 18px;
    font-size: 14px;
}

/* ---------- F. 文章列表卡片 ---------- */
/* 文章列表：默认是纯文字行 + 右侧日期，改为左标题 + 右日期的卡片行 */
body .am-list-news .am-list.category-content-list > li.am-list-item-dated {
    position: relative;
    padding: 14px 16px !important;
    border: 1px solid transparent;
    border-radius: 10px;
    transition: background .18s ease, border-color .18s ease;
}
body .am-list-news .am-list.category-content-list > li.am-list-item-dated + li {
    border-top: 1px solid #F2F3F5;
}
body .am-list-news .am-list.category-content-list > li.am-list-item-dated:hover {
    background: #FCFCFD;
    border-color: #EFEFF2;
}
body .am-list-news .am-list.category-content-list > li.am-list-item-dated .am-list-item-hd {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--zc-ink) !important;
    padding-right: 150px;
    transition: color .18s ease;
}
body .am-list-news .am-list.category-content-list > li.am-list-item-dated .am-list-item-hd:hover {
    color: var(--zc-brand) !important;
}
body .am-list-news .am-list.category-content-list > li.am-list-item-dated .am-list-date {
    position: absolute;
    right: 16px;
    top: 14px;
    font-size: 12px;
    color: var(--zc-muted);
    font-family: "SF Mono", Consolas, "PingFang SC", "Microsoft YaHei", monospace;
}
/* 列表容器去掉多余内边距 */
body .article-right .am-padding-lg { padding: 22px 24px !important; }
body .article-right .am-article-title {
    font-size: 21px !important;
    font-weight: 600;
    color: var(--zc-ink) !important;
}
body .article-right .am-divider { border-color: #F0F1F3 !important; }
body .article-list .item,
body .article-content-list .item {
    border-radius: 12px;
    border: 1px solid #EFEFF2;
    transition: box-shadow .22s ease, transform .22s ease;
}
body .article-list .item:hover,
body .article-content-list .item:hover {
    box-shadow: 0 12px 28px rgba(29,33,41,.07);
}

/* ---------- G. 侧边栏面板语言统一 ---------- */
/* 文章分类手风琴：标题左对齐，与下方列表左对齐形成统一轴线 */
body .article-sidebar .am-panel-hd .am-panel-title {
    text-align: left !important;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .02em;
}
body .article-sidebar .am-panel-hd {
    padding: 14px 16px !important;
}
/* 侧栏搜索框：胶囊 + 主色图标按钮 */
body .article-sidebar .am-input-group {
    padding: 12px 16px 14px !important;
    margin-top: 0 !important;
    border-bottom: 1px solid #F1F2F4;
}
body .article-sidebar .am-input-group .am-form-field {
    border-radius: 999px !important;
    background: #F7F8FA;
    border-color: transparent;
    height: 34px;
    font-size: 13px;
}
body .article-sidebar .am-input-group .am-form-field:focus {
    background: #fff;
    border-color: var(--zc-brand) !important;
}
body .article-sidebar .am-input-group-btn .am-btn {
    border-radius: 999px !important;
    background: var(--zc-brand) !important;
    border-color: var(--zc-brand) !important;
    color: #fff !important;
    width: 34px;
    padding: 0;
}
body .article-sidebar .am-input-group-btn .am-btn .iconfont { color: #fff !important; }
body .article-sidebar .am-panel,
body .aside .am-panel {
    border: 1px solid #EFEFF2 !important;
    border-radius: 12px !important;
    overflow: hidden;
}
body .article-sidebar .am-panel-hd,
body .aside .am-panel-hd {
    border-bottom: 1px solid #F1F2F4;
    padding: 14px 16px !important;
}
body .article-sidebar .am-panel-hd .am-panel-title,
body .aside .am-panel-hd .am-panel-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--zc-ink) !important;
}
body .article-sidebar .am-panel-bd,
body .aside .am-panel-bd { padding: 14px 16px !important; }
body .article-sidebar ul li a {
    font-size: 13.5px;
    color: var(--zc-body);
    transition: color .18s ease;
}
body .article-sidebar ul li a:hover { color: var(--zc-brand) !important; }
body .article-sidebar .category-list li a.am-active {
    color: var(--zc-brand) !important;
    font-weight: 600;
}

/* ---------- H. 表单控件质感统一 ---------- */
body .am-form-field,
body .am-input-group .am-form-field {
    border-radius: 8px !important;
    border-color: var(--zc-line);
    color: var(--zc-ink);
    transition: border-color .18s ease, box-shadow .18s ease;
}
body .am-form-field:focus,
body .am-input-group .am-form-field:focus {
    border-color: var(--zc-brand) !important;
    box-shadow: 0 0 0 3px rgba(226,44,8,.08);
    outline: none;
}
body .am-btn-primary {
    border-radius: 8px !important;
    background: linear-gradient(135deg, #F0491E 0%, #E22C08 100%) !important;
    border-color: #E22C08 !important;
    transition: filter .18s ease, box-shadow .18s ease;
}
body .am-btn-primary:hover {
    filter: brightness(1.07);
    box-shadow: 0 6px 16px rgba(226,44,8,.24);
}
body .am-btn-default {
    border-radius: 8px !important;
    border-color: var(--zc-line);
    color: var(--zc-body);
}
body .am-btn-default:hover {
    border-color: var(--zc-brand) !important;
    color: var(--zc-brand) !important;
}

/* ---------- I. 侧栏分类搜索框（文章/自定义页） ---------- */
body .article-sidebar .am-input-group .am-form-field,
body .aside .am-input-group .am-form-field {
    border-radius: 999px !important;
    padding-left: 14px;
    background: #F7F8FA;
    border-color: transparent;
}
body .article-sidebar .am-input-group-btn .am-btn,
body .aside .am-input-group-btn .am-btn {
    border-radius: 999px !important;
    background: var(--zc-brand) !important;
    border-color: var(--zc-brand) !important;
    color: #fff !important;
}

/* ---------- J. 空状态 ---------- */
body .table-no,
body .no-data,
body .am-empty {
    border-radius: 12px;
}
body .table-no p,
body .no-data p {
    color: var(--zc-muted) !important;
    font-size: 13.5px;
}

/* ---------- K. 自定义页正文排版 ---------- */
/* 侧栏分类链接：默认弱化，hover/当前项才用品牌色（原本整片红，太抢眼）
 * 注意：customview 的 css_content 以页面内联 <style> 输出，位置晚于本文件，
 *       故这里用更高特异性（body + 双类名）确保覆盖生效。 */
body .zc-custom-sidebar .zc-side-nav li a {
    color: var(--zc-body) !important;
    font-size: 13.5px;
    transition: color .18s ease;
}
body .zc-custom-sidebar .zc-side-nav li a:hover { color: var(--zc-brand) !important; }
body .zc-custom-sidebar .zc-side-nav li a.am-active {
    color: var(--zc-brand) !important;
    font-weight: 600;
}
body .zc-custom-sidebar .zc-side-panel {
    border: 1px solid #EFEFF2;
    border-radius: 12px !important;
    overflow: hidden;
}
body .zc-custom-sidebar .zc-side-hd {
    border-bottom: 1px solid #F1F2F4;
}
body .zc-custom-sidebar .zc-side-hd h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--zc-ink) !important;
}
body .zc-custom-sidebar .zc-side-search .am-form-field {
    border-radius: 999px !important;
    background: #F7F8FA;
    border-color: transparent;
    transition: border-color .18s ease, background .18s ease;
}
body .zc-custom-sidebar .zc-side-search .am-form-field:focus {
    background: #fff;
    border-color: var(--zc-brand) !important;
}
body .zc-custom-sidebar .zc-side-search .am-btn {
    background: var(--zc-brand) !important;
    border-color: var(--zc-brand) !important;
    color: #fff !important;
    border-radius: 999px !important;
}
/* 表单输入框统一宽度与质感 */
body .customview-content input.am-form-field,
body .customview-content textarea.am-form-field,
body .customview-content select.am-form-field {
    width: 100%;
    max-width: 560px;
    border-radius: 8px !important;
    border-color: var(--zc-line);
}
body .customview-content textarea.am-form-field { max-width: 720px; }
body .customview-content .am-form-field:focus {
    border-color: var(--zc-brand) !important;
    box-shadow: 0 0 0 3px rgba(226,44,8,.08);
}
body .customview-content label {
    color: var(--zc-ink) !important;
    font-weight: 500;
}
body .customview-content h1,
body .customview-content h2,
body .customview-content h3 {
    color: var(--zc-ink) !important;
    font-weight: 600;
    letter-spacing: .01em;
}
body .customview-content p,
body .customview-content li {
    color: var(--zc-body) !important;
    line-height: 1.95;
}
body .customview-content a { color: var(--zc-brand) !important; }

/* ---------- L. 右侧悬浮客服条收敛 ---------- */
body .customer-service,
body .customer-sensitive {
    border-radius: 10px 0 0 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(29,33,41,.14);
}

/* ---------- M2. 定制需求表单：统一到全站朱橙体系 ---------- */
body .zc-demand-input,
body .zc-demand-select,
body .zc-demand-textarea {
    width: 100% !important;
    max-width: 560px !important;
    border-radius: 8px !important;
    border-color: var(--zc-line) !important;
    background: #fff !important;
    color: var(--zc-ink) !important;
    transition: border-color .18s ease, box-shadow .18s ease;
}
body .zc-demand-input:focus,
body .zc-demand-select:focus,
body .zc-demand-textarea:focus {
    border-color: var(--zc-brand) !important;
    box-shadow: 0 0 0 3px rgba(226,44,8,.08) !important;
    outline: none !important;
}
body .zc-demand-textarea { max-width: 720px !important; }
body .zc-demand-input::placeholder,
body .zc-demand-textarea::placeholder { color: #AEB4BD; }
body .zc-demand-label {
    color: var(--zc-ink) !important;
    font-weight: 500;
}
body .zc-demand-required { color: var(--zc-brand) !important; }
body .zc-demand-optional { color: var(--zc-muted) !important; }
body .zc-demand-tips {
    background: #FFFBF8 !important;
    border: 1px solid #F6E3D8 !important;
    color: var(--zc-body) !important;
    border-radius: 8px !important;
}
body .zc-demand-card {
    border: 1px solid #EFEFF2 !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 30px rgba(29,33,41,.05) !important;
}
body .zc-demand-subtitle { color: var(--zc-muted) !important; }
body .zc-demand-form .am-btn-primary,
body .zc-demand-form button[type="submit"] {
    border-radius: 8px !important;
    background: linear-gradient(135deg, #F0491E 0%, #E22C08 100%) !important;
    border-color: #E22C08 !important;
    color: #fff !important;
    box-shadow: 0 6px 16px rgba(226,44,8,.2);
    transition: filter .18s ease, box-shadow .18s ease;
}
body .zc-demand-form .am-btn-primary:hover,
body .zc-demand-form button[type="submit"]:hover {
    filter: brightness(1.07);
    box-shadow: 0 8px 22px rgba(226,44,8,.28);
}

/* ---------- M. 移动端适配 ---------- */
@media (max-width: 768px) {
    body .detail-title,
    body .tb-detail-hd h1 { font-size: 17px !important; }
    body .breadcrumb-data .am-breadcrumb li.am-active,
    body .breadcrumb-data .am-breadcrumb li.am-active a { max-width: 56vw; }
    body .search-nav { padding: 2px; }
    body .search-nav .sort-nav > li > a { padding: 0 10px !important; font-size: 12.5px; }
    body .module-goods-grid-base .item:hover { transform: none; }
    body .goods-not-buy-tips { padding: 8px 18px; }
}
