/* =============================================================================
   子神 ZISHEN — 二次元 · 马卡龙浅彩主题（完全独立样式）
   ============================================================================= */

.theme-zishen {
    --zs-ink: #1a1228;
    --zs-heading: #1e1530;
    --zs-panel: rgba(255, 255, 255, 0.88);
    --zs-panel-2: rgba(255, 252, 254, 0.96);
    --zs-line: rgba(255, 110, 180, 0.35);
    --zs-text: #3d3558;
    --zs-muted: #6e6688;
    --zs-pink: #e8489a;
    --zs-violet: #9d7aed;
    --zs-cyan: #0d9488;
    --zs-warn: #eab308;
    --zs-danger: #e11d48;
    --zs-radius: 16px;
    --zs-radius-sm: 12px;
    --zs-shadow: 0 14px 40px rgba(91, 33, 182, 0.1);
    --zs-glow: 0 0 28px rgba(232, 72, 154, 0.22);
    --zs-border-soft: rgba(124, 58, 237, 0.12);
}

.theme-zishen *,
.theme-zishen *::before,
.theme-zishen *::after { box-sizing: border-box; }

/* 悬停时颜色/背景/描边/阴影统一过渡 */
.theme-zishen a,
.theme-zishen button,
.theme-zishen .header-action-btn,
.theme-zishen .goods-card,
.theme-zishen .category-tab,
.theme-zishen .pagination-btn,
.theme-zishen .pagination-num,
.theme-zishen .blog-article-card,
.theme-zishen .nav-dropdown-menu a,
.theme-zishen .header-user-menu-item,
.theme-zishen .mobile-nav-item,
.theme-zishen .mobile-nav-sub-item,
.theme-zishen .search-modal-tab,
.theme-zishen .layui-table th,
.theme-zishen .sidebar-tag,
.theme-zishen .coupon-btn,
.theme-zishen .header-user,
.theme-zishen .zs-icon-btn,
.theme-zishen .zs-order-link,
.theme-zishen .spec-btn,
.theme-zishen .detail-thumb,
.theme-zishen .detail-meta-tab-btn,
.theme-zishen .detail-payment-item,
.theme-zishen .detail-qty-btn,
.theme-zishen .sidebar-goods-item,
.theme-zishen .sidebar-cat-arrow,
.theme-zishen .sidebar-cat-parent,
.theme-zishen .sidebar-cat-child,
.theme-zishen .zs-home-panel-link,
.theme-zishen .zs-home-aside .sidebar-tag,
.theme-zishen .article-tag,
.theme-zishen .comment-action-btn,
.theme-zishen .comment-sort-btn,
.theme-zishen .comment-page-btn {
    transition: color 0.2s ease, background 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

html { scroll-behavior: smooth; }

.theme-zishen {
    margin: 0;
    /* 粘性页脚：短页面时#main 伸长，footer 贴视口底 */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--zs-text);
    background: radial-gradient(1100px 520px at 10% -8%, rgba(252, 211, 232, 0.75) 0%, transparent 52%),
                radial-gradient(820px 480px at 100% 0%, rgba(221, 214, 254, 0.85) 0%, transparent 48%),
                radial-gradient(600px 400px at 50% 100%, rgba(207, 250, 254, 0.55) 0%, transparent 45%),
                linear-gradient(168deg, #fffafd 0%, #f8f4ff 42%, #f0fdfc 100%);
    background-attachment: fixed;
}

.theme-zishen a { color: var(--zs-cyan); text-decoration: none; transition: color 0.2s, filter 0.2s; }
.theme-zishen a:hover { color: var(--zs-pink); filter: brightness(1.05); }

/* ----- 背景装饰 ----- */
.zs-bg {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.zs-bg__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.28;
    animation: zs-float 18s ease-in-out infinite;
}
.zs-bg__blob--a {
    width: 420px; height: 420px;
    background: #c4b5fd;
    top: -120px; right: -80px;
}
.zs-bg__blob--b {
    width: 360px; height: 360px;
    background: #fbcfe8;
    bottom: 10%; left: -100px;
    animation-delay: -6s;
}
.zs-bg__blob--c {
    width: 280px; height: 280px;
    background: #a5f3fc;
    bottom: -80px; right: 20%;
    animation-delay: -12s;
}
.zs-bg__noise {
    position: absolute;
    inset: 0;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes zs-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, 20px) scale(1.05); }
}

/* ----- 版心 ----- */
.theme-zishen .wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ----- PJAX 条 ----- */
.theme-zishen .pjax-bar {
    position: fixed;
    top: 0; left: 0; height: 3px; z-index: 99998;
    width: 0;
    background: linear-gradient(90deg, var(--zs-pink), var(--zs-violet), var(--zs-cyan));
    box-shadow: var(--zs-glow);
    transition: width 0.25s ease;
}
.theme-zishen .pjax-bar.running { width: 40%; }
.theme-zishen .pjax-bar.done { width: 100%; transition: width 0.35s ease; }

/* ----- 页头 ----- */
.theme-zishen .zs-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    flex-shrink: 0;
    padding: 14px 0 10px;
    transition: background 0.3s, box-shadow 0.3s;
}
.theme-zishen .zs-header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 36px rgba(91, 33, 182, 0.08);
}
.theme-zishen .zs-header__glow {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: min(90%, 720px);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--zs-pink), var(--zs-violet), transparent);
    opacity: 0.85;
    pointer-events: none;
}
.theme-zishen .zs-header__wrap { position: relative; }
.theme-zishen .zs-header__orbit {
    position: absolute;
    right: 8%;
    top: -6px;
    width: 120px;
    height: 40px;
    pointer-events: none;
    opacity: 0.5;
}
.theme-zishen .zs-orbit-dot {
    position: absolute;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--zs-cyan);
    box-shadow: 0 0 10px var(--zs-cyan);
    animation: zs-orbit 5s linear infinite;
}
.theme-zishen .zs-orbit-dot--delay { animation-delay: -2.5s; background: var(--zs-pink); box-shadow: 0 0 10px var(--zs-pink); }
@keyframes zs-orbit {
    0% { left: 0; top: 50%; }
    25% { left: 50%; top: 0; }
    50% { left: 100%; top: 50%; }
    75% { left: 50%; top: 100%; }
    100% { left: 0; top: 50%; }
}

.theme-zishen .zs-header__panel {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 12px 18px 12px 20px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(252, 231, 243, 0.55));
    border: 1px solid var(--zs-border-soft);
    box-shadow: var(--zs-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
}

.theme-zishen .zs-header__left { flex-shrink: 0; }

.theme-zishen .zs-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
}
.theme-zishen .zs-logo-text {
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: 0.04em;
    color: var(--zs-heading);
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    filter: none;
}
.theme-zishen .zs-logo-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 3px 8px;
    border-radius: 999px;
    color: #fff;
    background: var(--zs-pink);
    border: 1px solid rgba(255, 255, 255, 0.35);
}
.theme-zishen .site-logo-img {
    max-height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* 主导航 */
.theme-zishen .main-nav.zs-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    min-width: 0;
}
.theme-zishen .main-nav.zs-nav > a,
.theme-zishen .main-nav.zs-nav > .nav-dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--zs-muted);
    border: 1px solid transparent;
    transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.theme-zishen .main-nav.zs-nav > a:hover,
.theme-zishen .main-nav.zs-nav > .nav-dropdown > a:hover {
    color: var(--zs-text);
    background: rgba(232, 72, 154, 0.08);
    border-color: rgba(255, 110, 180, 0.28);
}
.theme-zishen .main-nav.zs-nav > a.active,
.theme-zishen .main-nav.zs-nav > .nav-dropdown > a.active {
    color: #fff !important;
    background: linear-gradient(120deg, var(--zs-pink), var(--zs-violet));
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: var(--zs-glow);
}
.theme-zishen .main-nav.zs-nav > .nav-dropdown > a.active .nav-arrow {
    color: #fff;
    opacity: 1;
}
.theme-zishen .nav-arrow { opacity: 0.7; margin-left: 2px; }

.theme-zishen .nav-dropdown { position: relative; }
/* 透明外框：承接从一级链到二级的 hover，避免缝隙导致菜单提前消失 */
.theme-zishen .nav-dropdown-panel {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
    padding-top: 10px;
    min-width: 180px;
    z-index: 1205;
    background: transparent;
}
.theme-zishen .nav-dropdown:hover .nav-dropdown-panel,
.theme-zishen .nav-dropdown.zs-menu-hover .nav-dropdown-panel {
    display: block;
}
.theme-zishen .nav-dropdown-menu {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    padding: 8px;
    border-radius: var(--zs-radius-sm);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--zs-border-soft);
    box-shadow: var(--zs-shadow);
}
.theme-zishen .nav-dropdown-menu a {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--zs-text);
    font-size: 13px;
}
.theme-zishen .nav-dropdown-menu a:hover {
    background: rgba(255, 110, 180, 0.12);
    color: var(--zs-heading);
}

/* 右侧操作 */
.theme-zishen .zs-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}
.theme-zishen .zs-icon-btn,
.theme-zishen .zs-order-link {
    border-radius: 12px !important;
    border: 1px solid var(--zs-border-soft) !important;
    background: rgba(255, 255, 255, 0.75) !important;
    color: var(--zs-text) !important;
}
.theme-zishen .zs-order-link span { font-weight: 600; font-size: 13px; }

.theme-zishen .zs-user-trigger {
    border-radius: 14px !important;
    border: 1px solid var(--zs-border-soft) !important;
    background: rgba(255, 255, 255, 0.78) !important;
}
.theme-zishen .header-user-name { color: var(--zs-text); }
.theme-zishen .header-user-money { color: var(--zs-cyan); font-weight: 700; }

.theme-zishen .zs-user-menu {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid var(--zs-border-soft) !important;
    border-radius: var(--zs-radius-sm) !important;
    box-shadow: var(--zs-shadow) !important;
}
.theme-zishen .header-user-menu-item {
    color: var(--zs-text) !important;
}
.theme-zishen .header-user-menu-item:hover {
    background: rgba(255, 110, 180, 0.12) !important;
}
.theme-zishen .header-user-menu-item--danger { color: #ff9ec4 !important; }

.theme-zishen .zs-menu-btn {
    border-radius: 12px !important;
    border: 1px solid var(--zs-border-soft) !important;
    background: rgba(255, 255, 255, 0.85) !important;
}
.theme-zishen .zs-menu-btn .hamburger-line { background: var(--zs-text); }

/* 移动端侧滑导航条目色（抽屉壳体布局见 @media max-width 1024px） */
.theme-zishen .mobile-nav-item,
.theme-zishen .mobile-nav-sub-item {
    color: var(--zs-text) !important;
}
.theme-zishen .mobile-nav-item.active {
    background: linear-gradient(90deg, rgba(255, 110, 180, 0.2), rgba(94, 231, 223, 0.15)) !important;
}

@media (min-width: 1025px) {
    .theme-zishen .header-menu-btn { display: none !important; }
}
@media (max-width: 1024px) {
    .theme-zishen .main-nav.zs-nav { display: none; }
    .theme-zishen .zs-header__orbit { display: none; }
}

/* ----- 搜索弹窗 ----- */
.theme-zishen .zs-search-body {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid var(--zs-border-soft) !important;
    border-radius: var(--zs-radius) !important;
    box-shadow: var(--zs-shadow), var(--zs-glow) !important;
}
.theme-zishen .zs-search-tabs .search-modal-tab {
    color: var(--zs-muted);
    border-radius: 999px;
}
.theme-zishen .zs-search-tabs .search-modal-tab.active {
    background: linear-gradient(120deg, var(--zs-pink), var(--zs-violet)) !important;
    color: #fff !important;
}
.theme-zishen .zs-search-bar {
    background: rgba(248, 250, 252, 0.95) !important;
    border: 1px solid var(--zs-border-soft) !important;
    border-radius: 14px !important;
}
.theme-zishen .zs-search-bar input {
    color: var(--zs-text) !important;
    background: transparent !important;
}
.theme-zishen .search-modal-hint { color: var(--zs-muted) !important; }

/* ----- 主内容区：#main 不放横向内边距，统一由 .page-body 承担 ----- */
/* z-index 需高于页脚：#main 内的 fixed（如模板切换插件）同属本层叠上下文，
   若与 .zs-footer 同级且相等，DOM 靠后的页脚会整层盖住插件按钮 */
.theme-zishen #main {
    position: relative;
    z-index: 3;
    flex: 1 0 auto;
    width: 100%;
    padding-bottom: 0;
}

/* 所有前台正文页统一版心与内边距（子模板首节点应为 .page-body） */
.theme-zishen .page-body {
    max-width: 1180px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    padding: 24px 20px 48px;
}

/* 版心嵌在 .page-body 内时不再二次加左右留白，避免「被挤窄」 */
.theme-zishen .page-body .wrapper {
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

/* 首页 / 博客首页：轮播作为 .page-body 首子元素时贴齐顶栏留白 */
.theme-zishen .page-body > .zs-hero:first-child {
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
}

.theme-zishen .page-title {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin: 8px 0 20px;
    background: linear-gradient(90deg, var(--zs-heading), var(--zs-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.theme-zishen .breadcrumb {
    font-size: 13px;
    color: var(--zs-muted);
    padding: 10px 6px 16px;
}
.theme-zishen .breadcrumb a { color: var(--zs-cyan); }
.theme-zishen .breadcrumb .sep { color: rgba(62, 45, 95, 0.22); margin: 0 6px; }

/* ----- 公告 ----- */
.theme-zishen .site-announcement {
    margin-bottom: 20px;
    padding: 16px 18px;
    border-radius: var(--zs-radius);
    background: var(--zs-panel);
    border: 1px solid var(--zs-border-soft);
    box-shadow: var(--zs-shadow);
}
.theme-zishen .site-announcement__title { color: var(--zs-pink); font-weight: 700; }
.theme-zishen .site-announcement__body { padding-top: 10px; }

/* ----- 分类标签 ----- */
.theme-zishen .category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}
.theme-zishen .category-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 14px;
    background: var(--zs-panel-2);
    border: 1px solid var(--zs-border-soft);
    color: var(--zs-text);
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.theme-zishen .category-tab:hover {
    border-color: var(--zs-pink);
    transform: translateY(-2px);
}
.theme-zishen .category-tab.active {
    border-color: transparent;
    background: linear-gradient(135deg, rgba(255, 110, 180, 0.35), rgba(94, 231, 223, 0.2));
    box-shadow: var(--zs-glow);
}
.theme-zishen .category-tab-icon {
    width: 32px; height: 32px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--zs-border-soft);
}
.theme-zishen .category-tab-icon--fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 110, 180, 0.2);
    color: var(--zs-pink);
    font-size: 14px;
}
.theme-zishen .category-tab-count {
    font-size: 12px;
    color: var(--zs-muted);
    background: rgba(232, 72, 154, 0.1);
    padding: 2px 8px;
    border-radius: 999px;
}

/* ----- 商品列表排序 ----- */
.theme-zishen .goods-sort-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0 0 20px;
}
.theme-zishen .goods-sort-link {
    display: inline-block;
    padding: 7px 13px;
    border-radius: 12px;
    font-size: 13px;
    border: 1px solid var(--zs-border-soft);
    color: var(--zs-text);
    background: var(--zs-panel-2);
    text-decoration: none;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.theme-zishen .goods-sort-link:hover {
    border-color: var(--zs-pink);
    transform: translateY(-1px);
}
.theme-zishen .goods-sort-link.active {
    border-color: transparent;
    background: linear-gradient(135deg, rgba(255, 110, 180, 0.35), rgba(94, 231, 223, 0.2));
    box-shadow: var(--zs-glow);
}

/* ----- 商品网格 ----- */
.theme-zishen .goods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 18px;
}
@media (max-width: 768px) {
    .theme-zishen .goods-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 12px;
    }
}
.theme-zishen .goods-card {
    border-radius: var(--zs-radius);
    overflow: hidden;
    background: var(--zs-panel);
    border: 1px solid var(--zs-border-soft);
    box-shadow: var(--zs-shadow);
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.theme-zishen .goods-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 110, 180, 0.45);
    box-shadow: var(--zs-shadow), 0 0 32px rgba(183, 148, 246, 0.25);
}
.theme-zishen .goods-card .card-img {
    aspect-ratio: 1;
    background: linear-gradient(145deg, #fae8ff, #e0f2fe);
    border-bottom: 1px solid var(--zs-border-soft);
    position: relative;
    overflow: hidden;
}
.theme-zishen .goods-card .card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}
.theme-zishen .goods-card .card-img img {
    transition: transform 0.4s ease;
}
.theme-zishen .goods-card:hover .card-img img { transform: scale(1.06); }
.theme-zishen .goods-no-image {
    background: linear-gradient(145deg, #fce7f3, #e9d5ff) !important;
    border: 1px dashed rgba(124, 58, 237, 0.22);
}
.theme-zishen .goods-card .card-body { padding: 14px 14px 16px; }
.theme-zishen .goods-card .card-title {
    color: var(--zs-text);
    -webkit-line-clamp: 2;
}
.theme-zishen .goods-card:hover .card-title { color: var(--zs-pink); }
.theme-zishen .goods-card .card-stats { color: var(--zs-muted); }
.theme-zishen .goods-card .price {
    color: var(--zs-pink) !important;
    text-shadow: none;
}
/* 发货标签：列表/搜索卡片图、详情等共用（马卡龙描边 + 轻拟物） */
.theme-zishen .goods-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 5px 11px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.2;
    color: #fff;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        0 2px 8px rgba(15, 23, 42, 0.12);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
    white-space: nowrap;
    vertical-align: middle;
}
.theme-zishen .goods-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
    flex-shrink: 0;
}
.theme-zishen .goods-badge--auto {
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 48%, #06b6d4 100%) !important;
    border-color: rgba(167, 243, 208, 0.65);
}
.theme-zishen .goods-badge--manual {
    background: linear-gradient(135deg, #fb7185 0%, #e879f9 55%, #a78bfa 100%) !important;
    border-color: rgba(254, 202, 202, 0.55);
}
.theme-zishen .goods-card .card-img > .goods-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    pointer-events: none;
    max-width: calc(100% - 20px);
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ----- 章节标题 ----- */
.theme-zishen .section { margin-bottom: 36px; }
.theme-zishen .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 12px;
}
.theme-zishen .section-title {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--zs-heading);
    padding-left: 14px;
    position: relative;
}
.theme-zishen .section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 1.1em;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--zs-pink), var(--zs-violet));
    box-shadow: 0 0 12px var(--zs-pink);
}
.theme-zishen .section-more {
    font-size: 13px;
    color: var(--zs-cyan);
    font-weight: 600;
}

/* ----- 博客双栏 ----- */
.theme-zishen .blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 28px;
    align-items: start;
}
@media (max-width: 960px) {
    .theme-zishen .blog-layout { grid-template-columns: 1fr; }
}

.theme-zishen .sidebar-widget {
    background: var(--zs-panel);
    border: 1px solid var(--zs-border-soft);
    border-radius: var(--zs-radius);
    padding: 16px 18px;
    margin-bottom: 18px;
    box-shadow: var(--zs-shadow);
}
.theme-zishen .sidebar-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--zs-heading);
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}
.theme-zishen .sidebar-goods-img {
    background: linear-gradient(145deg, #fae8ff, #e0f2fe);
    border-color: var(--zs-border-soft);
}
.theme-zishen .sidebar-goods-name { color: var(--zs-text); }
.theme-zishen .sidebar-goods-item:hover .sidebar-goods-name { color: var(--zs-cyan) !important; }

/* ----- 商品详情 ----- */
.theme-zishen .detail-card {
    background: var(--zs-panel);
    border: 1px solid var(--zs-border-soft);
    border-radius: var(--zs-radius);
    padding: 28px;
    box-shadow: var(--zs-shadow);
}
.theme-zishen .detail-layout {
    display: grid;
    grid-template-columns: minmax(280px, 400px) 1fr;
    gap: 32px;
}
@media (max-width: 900px) {
    .theme-zishen .detail-layout { grid-template-columns: 1fr; }
}
.theme-zishen .detail-img {
    background: linear-gradient(145deg, #fae8ff, #e0f2fe);
    border-color: var(--zs-border-soft);
}
.theme-zishen .detail-name { color: var(--zs-heading); }
.theme-zishen .detail-intro { color: var(--zs-muted); }
.theme-zishen .detail-price-box {
    background: linear-gradient(135deg, rgba(255, 110, 180, 0.12), rgba(94, 231, 223, 0.08)) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.theme-zishen .detail-price { color: var(--zs-pink) !important; text-shadow: none; }
.theme-zishen .detail-price-original { color: var(--zs-muted) !important; }

.theme-zishen .spec-btn {
    border-radius: 12px !important;
    border: 1px solid var(--zs-border-soft) !important;
    background: rgba(255, 255, 255, 0.85) !important;
    color: var(--zs-text) !important;
}
.theme-zishen .spec-btn.active {
    background: linear-gradient(120deg, var(--zs-pink), var(--zs-violet)) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: var(--zs-glow);
    font-weight: 700;
}

.theme-zishen .btn,
.theme-zishen .btn-primary {
    border-radius: 14px !important;
    font-weight: 700 !important;
    border: none !important;
}
.theme-zishen .btn-primary {
    background: linear-gradient(120deg, var(--zs-pink), var(--zs-violet)) !important;
    color: #fff !important;
    box-shadow: var(--zs-glow);
}
.theme-zishen .btn-lg { padding: 12px 28px !important; font-size: 16px !important; }

.theme-zishen .detail-meta,
.theme-zishen .detail-tags {
    background: rgba(255, 255, 255, 0.65) !important;
    border: 1px solid var(--zs-border-soft) !important;
    color: var(--zs-text);
}
.theme-zishen .detail-meta-label { color: var(--zs-muted); }
.theme-zishen .article-tag {
    display: inline-block;
    margin: 4px 6px 4px 0;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255, 110, 180, 0.15);
    border: 1px solid rgba(255, 110, 180, 0.35);
    color: var(--zs-cyan);
    font-size: 13px;
}

/* ----- 文章列表 / 详情 / CMS 页面 / 博客 / 评论（与 default 结构对齐，子神配色） ----- */
.theme-zishen .article-card,
.theme-zishen .article-grid .card {
    background: var(--zs-panel) !important;
    border: 1px solid var(--zs-border-soft) !important;
    color: var(--zs-text);
    border-radius: var(--zs-radius) !important;
    box-shadow: var(--zs-shadow);
}
.theme-zishen .article-card .card-title,
.theme-zishen .article-grid .card-title { color: var(--zs-heading) !important; }
.theme-zishen .article-card:hover .card-title,
.theme-zishen .article-grid .card:hover .card-title { color: var(--zs-pink) !important; }

.theme-zishen .article-detail {
    background: var(--zs-panel);
    border-radius: var(--zs-radius);
    border: 1px solid var(--zs-border-soft);
    padding: 28px 32px 32px;
    margin-bottom: 16px;
    box-shadow: var(--zs-shadow);
}
.theme-zishen .article-detail .detail-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--zs-heading);
    margin: 0 0 14px;
    line-height: 1.45;
}
.theme-zishen .article-detail .detail-meta {
    font-size: 13px;
    color: var(--zs-muted);
    padding-bottom: 18px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--zs-border-soft);
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.theme-zishen .article-detail .detail-body,
.theme-zishen .detail-body {
    color: var(--zs-text);
    line-height: 1.75;
    font-size: 15px;
}
.theme-zishen .article-detail .detail-body img,
.theme-zishen .detail-body img { max-width: 100%; height: auto; }

.theme-zishen .detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--zs-border-soft);
}

.theme-zishen .article-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    background: var(--zs-panel);
    border-radius: var(--zs-radius-sm);
    border: 1px solid var(--zs-border-soft);
    padding: 14px 18px;
    box-shadow: var(--zs-shadow);
}
.theme-zishen .article-nav a {
    font-size: 13px;
    color: var(--zs-cyan);
    text-decoration: none;
}
.theme-zishen .article-nav a:hover { color: var(--zs-pink); }

/* 博客列表网格（blog_index / blog_list） */
.theme-zishen .blog-article-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.theme-zishen .blog-article-card {
    display: flex;
    flex-direction: row;
    overflow: hidden;
    border-radius: var(--zs-radius-sm);
    text-decoration: none;
    color: var(--zs-text);
    background: var(--zs-panel);
    border: 1px solid var(--zs-border-soft);
    box-shadow: var(--zs-shadow);
}
.theme-zishen .blog-article-card:hover {
    border-color: rgba(232, 72, 154, 0.35);
    box-shadow: var(--zs-shadow), var(--zs-glow);
    transform: translateY(-2px);
}
.theme-zishen .blog-article-img {
    width: 108px;
    min-height: 84px;
    flex-shrink: 0;
    overflow: hidden;
    background: linear-gradient(145deg, #fdf4ff, #ecfeff);
    margin: 12px;
    border-radius: 10px;
    border: 1px solid var(--zs-border-soft);
}
.theme-zishen .blog-article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.theme-zishen .blog-article-card:hover .blog-article-img img { transform: scale(1.05); }
.theme-zishen .blog-article-body {
    padding: 12px 16px 12px 0;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.theme-zishen .blog-article-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--zs-heading);
    line-height: 1.45;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.theme-zishen .blog-article-card:hover .blog-article-title { color: var(--zs-pink); }
.theme-zishen .blog-article-excerpt {
    font-size: 13px;
    color: var(--zs-muted);
    line-height: 1.65;
    margin-bottom: 10px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.theme-zishen .blog-article-meta {
    font-size: 12px;
    color: var(--zs-muted);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.theme-zishen .blog-article-meta .fa { margin-right: 3px; }
.theme-zishen .blog-article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 8px;
}
.theme-zishen .article-tag-label {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11px;
    line-height: 18px;
    color: var(--zs-cyan);
    background: rgba(13, 148, 136, 0.1);
    border-radius: 999px;
    white-space: nowrap;
    border: 1px solid rgba(13, 148, 136, 0.22);
}

.theme-zishen .blog-article-grid--3col {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.theme-zishen .blog-article-grid--3col .blog-article-card { flex-direction: column; }
.theme-zishen .blog-article-grid--3col .blog-article-img {
    width: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
    margin: 0;
    border-radius: var(--zs-radius-sm) var(--zs-radius-sm) 0 0;
}
.theme-zishen .blog-article-grid--3col .blog-article-body { padding: 14px 16px; }

.theme-zishen .pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
    padding: 8px 0;
    flex-wrap: wrap;
}
.theme-zishen .pagination-btn,
.theme-zishen .pagination-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border: 1px solid var(--zs-border-soft);
    border-radius: 10px;
    font-size: 14px;
    color: var(--zs-text);
    background: var(--zs-panel);
    text-decoration: none;
    cursor: pointer;
}
.theme-zishen .pagination-btn:hover,
.theme-zishen .pagination-num:hover {
    border-color: rgba(232, 72, 154, 0.45);
    color: var(--zs-pink);
}
.theme-zishen .pagination-num.active {
    background: linear-gradient(120deg, var(--zs-pink), var(--zs-violet));
    color: #fff;
    border-color: transparent;
    font-weight: 700;
    pointer-events: none;
}
.theme-zishen .pagination-btn.disabled {
    color: var(--zs-muted);
    border-color: var(--zs-border-soft);
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.55;
}
.theme-zishen .pagination-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 36px;
    font-size: 14px;
    color: var(--zs-muted);
}

.theme-zishen .category-tabs--sub {
    margin-top: -8px;
}
.theme-zishen .category-tabs--sub .category-tab {
    font-size: 12px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 10px;
}

/* 评论区（博客详情） */
.theme-zishen .comment-section {
    margin-top: 18px;
    background: var(--zs-panel);
    border-radius: var(--zs-radius);
    border: 1px solid var(--zs-border-soft);
    padding: 28px 32px;
    box-shadow: var(--zs-shadow);
}
.theme-zishen .comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--zs-border-soft);
}
.theme-zishen .comment-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--zs-heading);
}
.theme-zishen .comment-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 22px;
    padding: 0 7px;
    font-size: 12px;
    font-weight: 700;
    color: var(--zs-pink);
    background: rgba(232, 72, 154, 0.12);
    border-radius: 11px;
}
.theme-zishen .comment-sort {
    display: flex;
    gap: 2px;
    background: rgba(248, 250, 252, 0.95);
    border-radius: 8px;
    padding: 3px;
    border: 1px solid var(--zs-border-soft);
}
.theme-zishen .comment-sort-btn {
    padding: 5px 12px;
    font-size: 13px;
    color: var(--zs-muted);
    border-radius: 6px;
    cursor: pointer;
    user-select: none;
}
.theme-zishen .comment-sort-btn.active {
    color: var(--zs-heading);
    background: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(91, 33, 182, 0.08);
}
.theme-zishen .comment-form-box {
    margin-bottom: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--zs-border-soft);
}
.theme-zishen .comment-textarea {
    border: 1px solid var(--zs-border-soft) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    color: var(--zs-text) !important;
}
.theme-zishen .comment-textarea:focus {
    border-color: rgba(232, 72, 154, 0.45) !important;
    box-shadow: 0 0 0 3px rgba(232, 72, 154, 0.12);
}
.theme-zishen .comment-submit-btn {
    background: linear-gradient(120deg, var(--zs-pink), var(--zs-violet)) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
}
.theme-zishen .comment-login-tip {
    background: rgba(248, 250, 252, 0.95);
    border: 1px dashed var(--zs-border-soft);
    color: var(--zs-muted);
    border-radius: 12px;
}
.theme-zishen .comment-login-btn {
    color: var(--zs-pink);
    border-color: rgba(232, 72, 154, 0.45);
}
.theme-zishen .comment-login-btn:hover {
    background: linear-gradient(120deg, var(--zs-pink), var(--zs-violet));
    color: #fff;
}
.theme-zishen .comment-item {
    border-bottom-color: var(--zs-border-soft);
}
.theme-zishen .comment-author { color: var(--zs-heading); }
.theme-zishen .comment-content { color: var(--zs-text); }
.theme-zishen .comment-replies {
    background: rgba(248, 250, 252, 0.85);
    border: 1px solid var(--zs-border-soft);
}
.theme-zishen .comment-pagination {
    border-top-color: var(--zs-border-soft);
}
.theme-zishen .comment-page-btn.active {
    background: linear-gradient(120deg, var(--zs-pink), var(--zs-violet));
    color: #fff;
    border-color: transparent;
}

@media (min-width: 961px) and (max-width: 1024px) {
    .theme-zishen .blog-layout { grid-template-columns: 1fr 240px; gap: 18px; }
}
@media (max-width: 1024px) {
    .theme-zishen .blog-article-grid { grid-template-columns: 1fr; }
    .theme-zishen .blog-article-grid--3col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .theme-zishen .blog-article-grid--3col { grid-template-columns: 1fr; }
    .theme-zishen .article-detail { padding: 20px 16px; }
    .theme-zishen .comment-section { padding: 20px 16px; }
}

/* ----- 登录注册（与 default 结构对齐，避免缺 flex/高度导致错乱） ----- */
.theme-zishen .page-body.zs-auth-page {
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
    min-height: min(640px, calc(100dvh - 120px));
    padding-top: 28px;
    padding-bottom: 40px;
    box-sizing: border-box;
}
.theme-zishen .page-body.zs-auth-page .auth-page {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0;
    padding: 0;
    box-sizing: border-box;
}
.theme-zishen .auth-page {
    min-height: 0;
}
.theme-zishen .auth-card {
    width: 100%;
    max-width: 420px;
    padding: 32px 28px 28px;
    border-radius: var(--zs-radius);
    background: var(--zs-panel);
    border: 1px solid var(--zs-line);
    box-shadow: var(--zs-shadow), var(--zs-glow);
    box-sizing: border-box;
}
.theme-zishen .auth-header {
    text-align: center;
    margin-bottom: 28px;
}
.theme-zishen .auth-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--zs-heading);
    margin: 0 0 6px;
}
.theme-zishen .auth-subtitle {
    color: var(--zs-muted);
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}
.theme-zishen .auth-form {
    margin: 0;
    padding: 0;
}
.theme-zishen .auth-field {
    margin-bottom: 18px;
}
.theme-zishen .auth-field:last-of-type {
    margin-bottom: 0;
}
.theme-zishen .auth-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--zs-muted);
    margin-bottom: 8px;
}
.theme-zishen .auth-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 14px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--zs-border-soft);
    border-radius: 12px;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.theme-zishen .auth-input-wrap:focus-within {
    border-color: rgba(192, 132, 252, 0.65);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.2);
}
.theme-zishen .auth-input-wrap > i.fa {
    color: rgba(148, 122, 168, 0.85);
    font-size: 15px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}
.theme-zishen .auth-input-wrap:focus-within > i.fa {
    color: var(--zs-violet);
}
.theme-zishen .auth-input-wrap input {
    flex: 1 1 auto;
    min-width: 0;
    height: 44px;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: var(--zs-text);
    line-height: 1.4;
}
.theme-zishen .auth-input-wrap input::placeholder {
    color: rgba(100, 80, 120, 0.45);
}
.theme-zishen .auth-eye {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 6px;
    margin-right: -4px;
    color: rgba(148, 122, 168, 0.85);
    font-size: 15px;
    flex-shrink: 0;
    line-height: 1;
    transition: color 0.2s;
}
.theme-zishen .auth-eye:hover {
    color: var(--zs-heading);
}
.theme-zishen .auth-submit {
    display: block;
    width: 100%;
    margin-top: 22px;
    padding: 12px 16px;
    border: none;
    border-radius: 14px;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    color: #fff;
    letter-spacing: 0.12em;
    background: linear-gradient(120deg, var(--zs-pink), var(--zs-violet));
    box-shadow: var(--zs-glow);
    transition: opacity 0.2s, transform 0.15s;
    box-sizing: border-box;
}
.theme-zishen .auth-submit:hover {
    opacity: 0.95;
}
.theme-zishen .auth-submit:active {
    transform: scale(0.98);
}
.theme-zishen .auth-submit.is-loading {
    opacity: 0.72;
    pointer-events: none;
}
.theme-zishen .auth-footer {
    text-align: center;
    margin-top: 22px;
    font-size: 13px;
    color: var(--zs-muted);
}
.theme-zishen .auth-footer a {
    color: var(--zs-cyan);
    font-weight: 700;
    text-decoration: none;
    margin-left: 4px;
}
.theme-zishen .auth-footer a:hover {
    text-decoration: underline;
}
@media (max-width: 480px) {
    .theme-zishen .page-body.zs-auth-page {
        padding-top: 16px;
        min-height: min(560px, calc(100dvh - 100px));
    }
    .theme-zishen .auth-card {
        padding: 24px 18px 22px;
    }
    .theme-zishen .auth-title {
        font-size: 1.35rem;
    }
    .theme-zishen .auth-input-wrap {
        min-height: 44px;
        padding: 0 12px;
    }
    .theme-zishen .auth-input-wrap input {
        height: 42px;
        font-size: 16px; /* iOS 避免缩放 */
    }
    .theme-zishen .auth-submit {
        margin-top: 18px;
        padding: 11px 14px;
        font-size: 15px;
    }
}

/* ----- 订单结果 / 空状态 ----- */
.theme-zishen .order-result-card,
.theme-zishen .card {
    background: var(--zs-panel);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--zs-radius);
    color: var(--zs-text);
    box-shadow: var(--zs-shadow);
}
.theme-zishen .empty-state h3 { color: var(--zs-heading); }
.theme-zishen .empty-state p { color: var(--zs-muted); }

/* ----- Hero 轮播（子神） ----- */
.theme-zishen .zs-hero {
    border-radius: var(--zs-radius);
    overflow: hidden;
    margin: 12px auto 24px;
    max-width: 1180px;
    border: 1px solid var(--zs-border-soft);
    box-shadow: var(--zs-shadow), 0 0 36px rgba(232, 72, 154, 0.12);
}
.theme-zishen .zs-hero .hero-slide {
    background-color: #fdf4ff !important;
    background-image: linear-gradient(135deg, #fce7f3, #e9d5ff, #cffafe) !important;
}
.theme-zishen .zs-hero .hero-title {
    color: var(--zs-heading);
    text-shadow: 0 2px 14px rgba(255, 255, 255, 0.9);
    font-weight: 900;
    letter-spacing: 0.04em;
}
.theme-zishen .zs-hero .hero-slide .btn {
    border-radius: 999px !important;
    background: linear-gradient(90deg, var(--zs-pink), var(--zs-violet)) !important;
    color: var(--zs-ink) !important;
    border: none !important;
    font-weight: 800;
}

/* ----- 搜索页 Tab ----- */
.theme-zishen .search-type-tabs a {
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--zs-panel-2);
    border: 1px solid var(--zs-border-soft);
    color: var(--zs-muted);
    margin-right: 8px;
}
.theme-zishen .search-type-tabs a.active {
    background: linear-gradient(120deg, var(--zs-pink), var(--zs-violet));
    color: #fff;
    font-weight: 800;
}

/* ----- 页脚 ----- */
.theme-zishen .zs-footer {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    margin-top: 40px;
    padding: 48px 0 32px;
    background: linear-gradient(180deg, transparent, rgba(255, 250, 252, 0.95));
    border-top: 1px solid var(--zs-border-soft);
}
.theme-zishen .zs-footer__wave {
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--zs-pink), var(--zs-violet), var(--zs-cyan), var(--zs-pink));
    background-size: 200% 100%;
    animation: zs-wave 8s linear infinite;
    opacity: 0.85;
}
@keyframes zs-wave {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}
.theme-zishen .zs-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}
.theme-zishen .zs-footer__brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.theme-zishen .zs-footer__sigil {
    font-size: 28px;
    color: var(--zs-pink);
    text-shadow: 0 0 20px var(--zs-pink);
}
.theme-zishen .zs-footer__name {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--zs-heading);
}
.theme-zishen .zs-footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
}
.theme-zishen .zs-footer__links a {
    color: var(--zs-muted);
    font-size: 13px;
}
.theme-zishen .zs-footer__links a:hover { color: var(--zs-cyan); }
.theme-zishen .zs-footer__copy,
.theme-zishen .zs-footer__icp {
    font-size: 12px;
    color: var(--zs-muted);
}
.theme-zishen .zs-footer__icp a { color: var(--zs-muted); }

/* ----- 优惠券等表单区块 ----- */
.theme-zishen .detail-coupon,
.theme-zishen .detail-payment-section,
.theme-zishen .detail-qty-row,
.theme-zishen .detail-form-field {
    border-color: var(--zs-border-soft);
}
.theme-zishen .detail-form-field-input,
.theme-zishen .detail-qty-input {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid var(--zs-border-soft) !important;
    color: var(--zs-text) !important;
    border-radius: 10px !important;
}

/* ----- 表格（查单等） ----- */
.theme-zishen table,
.theme-zishen .layui-table { background: transparent; color: var(--zs-text); }
.theme-zishen .layui-table th { background: rgba(255, 110, 180, 0.14) !important; color: var(--zs-heading) !important; }

/* ----- 独立基础结构（不依赖 default） ----- */
.theme-zishen .site-header { width: 100%; }
.theme-zishen .site-logo { text-decoration: none; }
.theme-zishen .site-logo-text { display: inline-block; line-height: 1; }

.theme-zishen .header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.theme-zishen .header-action-btn {
    min-height: 38px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    border: 0;
}

.theme-zishen .header-user-dropdown {
    position: relative;
}
.theme-zishen .header-user {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    color: var(--zs-text);
    text-decoration: none;
    cursor: pointer;
    border: 0;
}
.theme-zishen .header-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.theme-zishen .header-user-avatar--default {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #fdf4ff, #ecfeff);
}
.theme-zishen .header-user-info {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}
.theme-zishen .header-user-name {
    font-size: 13px;
    font-weight: 700;
}
.theme-zishen .header-user-money {
    font-size: 12px;
}
.theme-zishen .header-user-dropdown-panel {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    padding-top: 10px;
    min-width: 180px;
    z-index: 1205;
    background: transparent;
}
.theme-zishen .header-user-dropdown:hover .header-user-dropdown-panel,
.theme-zishen .header-user-dropdown.zs-menu-hover .header-user-dropdown-panel {
    display: block;
}
.theme-zishen .header-user-menu {
    position: relative;
    right: auto;
    top: auto;
    min-width: 170px;
    padding: 8px;
    display: block;
}
.theme-zishen .header-user-menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
}
.theme-zishen .header-user-menu-divider {
    height: 1px;
    margin: 6px 4px;
    background: var(--zs-border-soft);
}

.theme-zishen .header-menu-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.theme-zishen .hamburger-line {
    width: 18px;
    height: 2px;
    border-radius: 2px;
}

.theme-zishen .mobile-nav-backdrop {
    display: none;
}
/* 桌面端抽屉不占 DOM 流；小屏由 media 设为 fixed + .mobile-nav--shown 才显示 */
.theme-zishen .mobile-nav {
    display: none;
}
.theme-zishen .mobile-nav-inner {
    padding: 12px;
}
.theme-zishen .mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
}
.theme-zishen .mobile-nav-group { margin-bottom: 4px; }
.theme-zishen .mobile-nav-sub {
    display: none;
    margin: 4px 0 8px;
    padding-left: 12px;
}
.theme-zishen .mobile-nav-sub.open { display: block; }
.theme-zishen .mobile-nav-sub-item {
    display: block;
    padding: 7px 10px;
    border-radius: 8px;
    text-decoration: none;
}
.theme-zishen .mobile-nav-divider {
    height: 1px;
    margin: 10px 0;
    background: var(--zs-border-soft);
}

/* 搜索层：与 default 同款 stage 结构，避免小屏横向溢出；z-index 高于顶栏/侧滑 */
.theme-zishen .search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: auto;
    z-index: 50000;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
}
.theme-zishen .search-modal.active {
    display: flex;
    flex-direction: column;
}
.theme-zishen .search-modal-mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 21, 48, 0.45);
    backdrop-filter: blur(3px);
}
.theme-zishen .search-modal-stage {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px 20px;
    padding-top: max(12px, env(safe-area-inset-top, 0px));
    padding-bottom: max(20px, env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.theme-zishen .search-modal-body {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: min(92vw, 640px);
    margin: min(16vh, 120px) 0 0;
    padding: 18px;
}
.theme-zishen .search-modal-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    justify-content: center;
}
.theme-zishen .search-modal-tab {
    border: 0;
    padding: 8px 14px;
    cursor: pointer;
}
.theme-zishen #searchModal .search-modal-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 0;
    gap: 0;
    overflow: hidden;
}
.theme-zishen #searchModal .search-modal-bar input {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    border: 0;
    outline: 0;
    font-size: 16px;
    padding: 14px 12px;
}
.theme-zishen #searchModal .search-modal-bar button {
    padding: 12px 16px;
    border: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.theme-zishen .search-modal-hint {
    text-align: center;
    margin-top: 12px;
}

.theme-zishen .card {
    border-radius: var(--zs-radius);
}
.theme-zishen .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    cursor: pointer;
}

.theme-zishen .blog-main,
.theme-zishen .blog-side {
    min-width: 0;
}

.theme-zishen .pagination,
.theme-zishen .layui-laypage {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

@media (max-width: 1024px) {
    .theme-zishen .header-menu-btn { display: inline-flex; }
}

/* ----- 优惠券（领券中心 · zs-coupon-*） ----- */
.theme-zishen .zs-coupon-hero {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 28px;
    padding: 22px 24px;
    border-radius: var(--zs-radius);
    border: 1px solid var(--zs-border-soft);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(252, 231, 243, 0.55));
    box-shadow: var(--zs-shadow);
}
.theme-zishen .zs-coupon-hero__badge {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    background: var(--zs-pink);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 24px rgba(232, 72, 154, 0.35);
}
.theme-zishen .zs-coupon-hero__title {
    margin: 0 0 8px;
    font-size: 1.65rem;
    font-weight: 900;
    color: var(--zs-heading);
    letter-spacing: 0.02em;
}
.theme-zishen .zs-coupon-hero__desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: var(--zs-muted);
}
.theme-zishen .zs-coupon-empty {
    text-align: center;
    padding: 48px 24px;
    border-radius: var(--zs-radius);
    border: 1px dashed var(--zs-border-soft);
    background: var(--zs-panel-2);
}
.theme-zishen .zs-coupon-empty__icon { font-size: 48px; line-height: 1; margin-bottom: 12px; opacity: 0.85; }
.theme-zishen .zs-coupon-empty__title { margin: 0 0 8px; font-size: 1.15rem; color: var(--zs-heading); }
.theme-zishen .zs-coupon-empty__text { margin: 0; color: var(--zs-muted); font-size: 14px; }

.theme-zishen .zs-coupon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}
@media (max-width: 480px) {
    .theme-zishen .zs-coupon-grid { grid-template-columns: 1fr; }
}
.theme-zishen .zs-coupon-card.coupon-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid var(--zs-border-soft);
    background: var(--zs-panel);
    box-shadow: var(--zs-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.theme-zishen .zs-coupon-card.coupon-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}
.theme-zishen .zs-coupon-card__ribbon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 22px 16px;
    text-align: center;
    background: rgba(255, 110, 180, 0.14);
    border-bottom: 1px dashed rgba(232, 72, 154, 0.35);
}
.theme-zishen .zs-coupon-card--percent .zs-coupon-card__ribbon {
    background: rgba(94, 231, 223, 0.16);
    border-bottom-color: rgba(45, 212, 191, 0.35);
}
.theme-zishen .zs-coupon-card--free_shipping .zs-coupon-card__ribbon {
    background: rgba(167, 139, 250, 0.18);
    border-bottom-color: rgba(139, 92, 246, 0.35);
}
.theme-zishen .zs-coupon-card__value {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--zs-pink);
    line-height: 1.15;
}
.theme-zishen .zs-coupon-card--percent .zs-coupon-card__value { color: #0d9488; }
.theme-zishen .zs-coupon-card--free_shipping .zs-coupon-card__value { color: #7c3aed; }
.theme-zishen .zs-coupon-card__caption {
    font-size: 12px;
    font-weight: 600;
    color: var(--zs-muted);
}
.theme-zishen .zs-coupon-card__main { padding: 18px 20px 20px; }
.theme-zishen .zs-coupon-card__kind {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 110, 180, 0.15);
    color: var(--zs-pink);
    border: 1px solid rgba(255, 110, 180, 0.28);
    margin-bottom: 10px;
}
.theme-zishen .zs-coupon-card--percent .zs-coupon-card__kind {
    background: rgba(94, 231, 223, 0.15);
    color: #0f766e;
    border-color: rgba(45, 212, 191, 0.35);
}
.theme-zishen .zs-coupon-card--free_shipping .zs-coupon-card__kind {
    background: rgba(167, 139, 250, 0.18);
    color: #5b21b6;
    border-color: rgba(139, 92, 246, 0.35);
}
.theme-zishen .zs-coupon-card__name {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--zs-heading);
    line-height: 1.35;
}
.theme-zishen .zs-coupon-card__desc {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--zs-muted);
}
.theme-zishen .zs-coupon-card__valid {
    margin: 0 0 14px;
    font-size: 12px;
    color: var(--zs-muted);
}
.theme-zishen .zs-coupon-card__valid i { margin-right: 4px; opacity: 0.85; }
.theme-zishen .zs-coupon-card__code-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(248, 250, 252, 0.95);
    border: 1px solid var(--zs-border-soft);
    margin-bottom: 14px;
}
.theme-zishen .zs-coupon-card__code-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--zs-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.theme-zishen .zs-coupon-card__code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 14px;
    font-weight: 700;
    color: var(--zs-pink);
    background: none;
    padding: 0;
    border: 0;
}
.theme-zishen .zs-coupon-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.theme-zishen .coupon-btn,
.theme-zishen .zs-coupon-btn {
    border-radius: 12px;
    padding: 9px 18px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    border: 1px solid var(--zs-border-soft);
    background: rgba(255, 255, 255, 0.92);
    color: var(--zs-text);
}
.theme-zishen .coupon-btn-ghost,
.theme-zishen .zs-coupon-btn--ghost {
    background: rgba(255, 255, 255, 0.95);
}
.theme-zishen .coupon-btn-primary,
.theme-zishen .zs-coupon-btn--primary {
    background: linear-gradient(120deg, var(--zs-pink), var(--zs-violet));
    color: #fff;
    border: none;
    box-shadow: var(--zs-glow);
}
.theme-zishen .coupon-btn-primary.is-disabled,
.theme-zishen .zs-coupon-btn--primary.is-disabled {
    opacity: 0.45;
    box-shadow: none;
    cursor: not-allowed;
}

/* ----- 搜索页 zs-search-page（横向留白由 .page-body） ----- */
.theme-zishen .page-body.zs-search-page { padding-bottom: 48px; }
.theme-zishen .zs-search-hero {
    text-align: center;
    margin-bottom: 24px;
}
.theme-zishen .zs-search-hero__title {
    margin: 0 0 8px;
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--zs-heading);
    letter-spacing: 0.02em;
}
.theme-zishen .zs-search-hero__hint {
    margin: 0;
    font-size: 14px;
    color: var(--zs-muted);
}
.theme-zishen .zs-search-toolbar {
    max-width: 720px;
    margin: 0 auto 24px;
}
.theme-zishen .zs-search-toolbar__inner {
    display: flex;
    align-items: stretch;
    gap: 0;
    border-radius: 999px;
    border: 1px solid var(--zs-border-soft);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--zs-shadow);
    overflow: hidden;
    min-height: 48px;
}
.theme-zishen .zs-search-toolbar__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    flex-shrink: 0;
    color: var(--zs-muted);
    font-size: 16px;
}
.theme-zishen .zs-search-input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    font-size: 15px;
    color: var(--zs-text);
    padding: 0 8px 0 0;
    outline: none;
}
.theme-zishen .zs-search-input::placeholder { color: var(--zs-muted); opacity: 0.85; }
.theme-zishen .zs-search-submit {
    flex-shrink: 0;
    border-radius: 0 !important;
    min-height: 100%;
    padding-left: 22px !important;
    padding-right: 22px !important;
}
.theme-zishen .zs-search-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}
.theme-zishen .zs-search-tab {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    color: var(--zs-muted);
    border: 1px solid var(--zs-border-soft);
    background: rgba(255, 255, 255, 0.75);
    transition: color 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.theme-zishen .zs-search-tab:hover {
    color: var(--zs-text);
    border-color: rgba(255, 110, 180, 0.35);
}
.theme-zishen .zs-search-tab.is-active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(120deg, var(--zs-pink), var(--zs-violet));
    box-shadow: var(--zs-glow);
}
.theme-zishen .zs-search-summary {
    text-align: center;
    margin: 0 0 28px;
    font-size: 14px;
    color: var(--zs-muted);
}
.theme-zishen .zs-search-summary strong { color: var(--zs-heading); font-weight: 800; }
.theme-zishen .zs-search-section { margin-bottom: 36px; }
.theme-zishen .zs-search-section__title {
    margin: 0 0 14px;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--zs-heading);
    padding-left: 4px;
    border-left: 4px solid var(--zs-pink);
}
.theme-zishen .zs-home-goods-grid.zs-search-goods-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
@media (max-width: 520px) {
    .theme-zishen .zs-home-goods-grid.zs-search-goods-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
.theme-zishen .zs-search-article-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}
.theme-zishen .zs-search-section--articles .zs-search-article-list { margin: 0; max-width: none; }
.theme-zishen .zs-search-article-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: var(--zs-radius-sm);
    border: 1px solid var(--zs-border-soft);
    background: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.theme-zishen .zs-search-article-card:hover {
    border-color: rgba(255, 110, 180, 0.35);
    box-shadow: var(--zs-shadow);
    transform: translateY(-1px);
}
.theme-zishen .zs-search-article-card__body { flex: 1; min-width: 0; }
.theme-zishen .zs-search-article-card__title {
    font-size: 16px;
    font-weight: 800;
    color: var(--zs-heading);
    margin-bottom: 6px;
    line-height: 1.35;
}
.theme-zishen .zs-search-article-card__excerpt {
    font-size: 13px;
    color: var(--zs-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.theme-zishen .zs-search-article-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
    font-size: 12px;
    color: var(--zs-muted);
}
.theme-zishen .zs-search-article-card__meta i { margin-right: 4px; opacity: 0.85; }
.theme-zishen .zs-search-article-card__arrow {
    flex-shrink: 0;
    color: var(--zs-muted);
    font-size: 18px;
    opacity: 0.65;
}
.theme-zishen .zs-search-empty {
    text-align: center;
    padding: 56px 0;
    margin-top: 12px;
    border-radius: var(--zs-radius);
    border: 1px dashed var(--zs-border-soft);
    background: var(--zs-panel-2);
}
.theme-zishen .zs-search-empty__icon {
    font-size: 40px;
    color: var(--zs-pink);
    opacity: 0.75;
    margin-bottom: 14px;
}
.theme-zishen .zs-search-empty__title {
    margin: 0 0 8px;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--zs-heading);
}
.theme-zishen .zs-search-empty__text { margin: 0; font-size: 14px; color: var(--zs-muted); }

/* ----- 子神补齐：模板设置弹窗/密码页/评论按钮等缺失类 ----- */
.theme-zishen .zs-search { position: fixed; inset: 0; }
.theme-zishen .zs-userbox { position: relative; }
.theme-zishen .zs-mobile-inner { padding: 12px; }
.theme-zishen .zs-footer__titles { display: flex; flex-direction: column; align-items: flex-start; }

.theme-zishen .page-body.zs-password-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 46vh;
    padding-top: 32px;
    padding-bottom: 48px;
}
.theme-zishen .password-page {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
    padding: 26px 22px;
    border-radius: var(--zs-radius);
    background: var(--zs-panel);
    border: 1px solid var(--zs-border-soft);
    box-shadow: var(--zs-shadow);
}
.theme-zishen .password-icon { font-size: 28px; color: var(--zs-pink); margin-bottom: 8px; }
.theme-zishen .password-title { margin: 0 0 8px; color: var(--zs-heading); font-size: 22px; font-weight: 800; }
.theme-zishen .password-desc { margin: 0 0 16px; color: var(--zs-muted); font-size: 13px; }
.theme-zishen .password-input {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255, 255, 255, 0.95);
    color: var(--zs-text);
}
.theme-zishen .password-error {
    margin-top: 12px;
    color: #e63946;
    font-size: 14px;
}
.theme-zishen .page-body.zs-setting-page {
    max-width: 960px;
    padding-top: 20px;
    padding-bottom: 32px;
}

.theme-zishen .comment-reply-btn,
.theme-zishen .comment-delete-btn,
.theme-zishen .comment-reply-cancel,
.theme-zishen .comment-reply-submit {
    border: 1px solid var(--zs-border-soft);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--zs-text);
    padding: 4px 10px;
    cursor: pointer;
}
.theme-zishen .comment-reply-submit {
    background: linear-gradient(120deg, var(--zs-pink), var(--zs-violet));
    color: var(--zs-ink);
    border: none;
}
.theme-zishen .reply-char-count { font-size: 12px; color: var(--zs-muted); }

.theme-zishen .popup-inner,
.theme-zishen .popup-section,
.theme-zishen .popup-footer {
    border-radius: 10px;
}
.theme-zishen .popup-btn,
.theme-zishen .popup-btn--default,
.theme-zishen .popup-btn--primary {
    border-radius: 10px;
}

.theme-zishen .setting-tab .layui-tab-title li { color: var(--zs-muted); }
.theme-zishen .setting-tab .layui-tab-title .layui-this { color: var(--zs-heading); }
.theme-zishen .slide-scene-tabs { display: flex; gap: 10px; margin-bottom: 12px; }
.theme-zishen .slide-scene-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.95);
    border: 1px solid var(--zs-border-soft);
    color: var(--zs-muted);
    cursor: pointer;
}
.theme-zishen .slide-scene-tab.active {
    color: var(--zs-ink);
    background: linear-gradient(120deg, var(--zs-pink), var(--zs-violet));
    border-color: transparent;
}
.theme-zishen .slide-scene-panel { border-radius: 10px; }
.theme-zishen .slide-thumb,
.theme-zishen .slide-thumb-empty {
    width: 60px;
    height: 36px;
    border-radius: 4px;
    object-fit: cover;
    background: linear-gradient(145deg, #fdf4ff, #ecfeff);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--zs-muted);
    font-size: 12px;
}
.theme-zishen .slide-edit-btn,
.theme-zishen .slide-del-btn {
    border-radius: 6px;
}
.theme-zishen .slide-no-text { color: var(--zs-muted); font-size: 12px; }

.theme-zishen .sidebar-user--guest { opacity: .95; }
.theme-zishen .sidebar-user-info { min-width: 0; }
.theme-zishen .sidebar-user-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 10px;
    border: 1px solid var(--zs-border-soft);
    background: rgba(255, 255, 255, 0.92);
    color: var(--zs-text);
    text-decoration: none;
}

/* 博客标签等仍用 .tag-page-* 时的基础色（商品标签页已改用 .zs-goods-tag-page） */
.theme-zishen .tag-page-info { color: var(--zs-muted); }

/* =============================================================================
   商品标签页 goods_tag.php（.zs-goods-tag-page）
   ============================================================================= */
.theme-zishen .zs-goods-tag-page .breadcrumb {
    margin-bottom: 18px;
}
.theme-zishen .zs-gtag-hero {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 22px;
    padding: 22px 22px 20px;
    border-radius: var(--zs-radius);
    border: 1px solid var(--zs-border-soft);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(252, 231, 243, 0.55));
    box-shadow: var(--zs-shadow);
}
.theme-zishen .zs-gtag-hero__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    background: linear-gradient(135deg, var(--zs-pink), var(--zs-violet));
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 22px rgba(232, 72, 154, 0.28);
}
.theme-zishen .zs-gtag-hero__body { min-width: 0; }
.theme-zishen .zs-gtag-hero__kicker {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--zs-muted);
    text-transform: uppercase;
}
.theme-zishen .zs-gtag-hero__title {
    margin: 0 0 8px;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 900;
    color: var(--zs-heading);
    letter-spacing: 0.02em;
    line-height: 1.25;
    word-break: break-word;
}
.theme-zishen .zs-gtag-hero__meta {
    margin: 0;
    font-size: 14px;
    color: var(--zs-muted);
}
.theme-zishen .zs-gtag-hero__meta strong {
    color: var(--zs-pink);
    font-weight: 800;
}

.theme-zishen .zs-gtag-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    padding: 14px 16px;
    border-radius: var(--zs-radius-sm);
    border: 1px solid var(--zs-border-soft);
    background: rgba(255, 255, 255, 0.78);
}
.theme-zishen .zs-gtag-chips--solo {
    margin-top: 8px;
}
.theme-zishen .zs-gtag-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    color: var(--zs-text);
    border: 1px solid var(--zs-border-soft);
    background: rgba(248, 250, 252, 0.95);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s, color 0.2s;
}
.theme-zishen .zs-gtag-chip:hover {
    border-color: rgba(255, 110, 180, 0.45);
    color: var(--zs-heading);
    box-shadow: 0 4px 14px rgba(91, 33, 182, 0.08);
    transform: translateY(-1px);
}
.theme-zishen .zs-gtag-chip.is-active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(120deg, var(--zs-pink), var(--zs-violet));
    box-shadow: var(--zs-shadow), var(--zs-glow);
}
.theme-zishen .zs-gtag-chip__name { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-zishen .zs-gtag-chip__count {
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(232, 72, 154, 0.12);
    color: var(--zs-pink);
}
.theme-zishen .zs-gtag-chip.is-active .zs-gtag-chip__count {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.theme-zishen .zs-goods-tag-page .zs-gtag-grid {
    margin-bottom: 8px;
}

.theme-zishen .zs-gtag-pagination {
    margin-top: 8px;
    padding-top: 8px;
}
.theme-zishen .zs-gtag-pagination .pagination {
    justify-content: center;
    margin-top: 0;
}

.theme-zishen .zs-gtag-empty {
    text-align: center;
    padding: 48px 20px 44px;
    margin-top: 8px;
    border-radius: var(--zs-radius);
    border: 1px dashed var(--zs-border-soft);
    background: var(--zs-panel-2);
}
.theme-zishen .zs-gtag-empty__icon {
    font-size: 44px;
    color: var(--zs-pink);
    opacity: 0.75;
    margin-bottom: 14px;
}
.theme-zishen .zs-gtag-empty__title {
    margin: 0 0 10px;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--zs-heading);
}
.theme-zishen .zs-gtag-empty__text {
    margin: 0 0 22px;
    font-size: 14px;
    color: var(--zs-muted);
    line-height: 1.6;
}
.theme-zishen .zs-gtag-empty__btn { min-width: 160px; }

.theme-zishen .zs-gtag-missing {
    text-align: center;
    padding: 32px 20px 28px;
    margin-bottom: 20px;
    border-radius: var(--zs-radius);
    border: 1px solid rgba(248, 113, 113, 0.35);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(254, 226, 226, 0.45));
}
.theme-zishen .zs-gtag-missing__icon {
    font-size: 40px;
    color: #f87171;
    margin-bottom: 12px;
}
.theme-zishen .zs-gtag-missing__title {
    margin: 0 0 8px;
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--zs-heading);
}
.theme-zishen .zs-gtag-missing__text {
    margin: 0;
    font-size: 14px;
    color: var(--zs-muted);
    line-height: 1.55;
}

@media (max-width: 560px) {
    .theme-zishen .zs-gtag-hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 16px;
    }
    .theme-zishen .zs-gtag-hero__body { width: 100%; }
    .theme-zishen .zs-gtag-chips {
        gap: 8px;
        padding: 12px;
    }
    .theme-zishen .zs-gtag-chip { padding: 7px 12px; font-size: 12px; }
    .theme-zishen .zs-gtag-chip__name { max-width: 140px; }
}

.theme-zishen .auth-form { display: flex; flex-direction: column; gap: 12px; }

/* ----- 订单商品图 ----- */
.theme-zishen .order-goods-img { background: linear-gradient(145deg, #fdf4ff, #ecfeff); }

/* ----- 规格 / 数量按钮 ----- */
.theme-zishen .detail-qty-btn {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--zs-border-soft);
    color: var(--zs-text);
    border-radius: 10px;
}

/* ----- 侧栏分类 ----- */
.theme-zishen .sidebar-cat-group { border-color: var(--zs-border-soft) !important; }
.theme-zishen .sidebar-cat-parent { color: var(--zs-text) !important; }

/* =============================================================================
   子神页头修复层（仅页头，放末尾确保覆盖优先级）
   ============================================================================= */
.theme-zishen #siteHeader.zs-header {
    position: sticky;
    top: 0;
    z-index: 10060;
    padding: 14px 0 10px;
    background: transparent;
}

/* 覆盖 default 的 .site-header .wrapper 固定高度，避免头部挤压错位 */
.theme-zishen #siteHeader .wrapper.zs-header__wrap {
    display: block;
    height: auto;
}

.theme-zishen #siteHeader .zs-header__panel {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap;
    min-height: 64px;
}

.theme-zishen #siteHeader .zs-header__left { flex-shrink: 0; }
.theme-zishen #siteHeader .zs-logo { display: inline-flex; align-items: center; gap: 10px; }
.theme-zishen #siteHeader .zs-logo-text { line-height: 1.15; }

/* 主导航：去掉 default 的下划线伪元素和高度绑定 */
.theme-zishen #mainNav.zs-nav {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: auto;
    margin-left: 0;
    min-width: 0;
}
.theme-zishen #mainNav.zs-nav > a,
.theme-zishen #mainNav.zs-nav > .nav-dropdown > a {
    height: auto;
    line-height: 1.2;
    text-decoration: none;
}
.theme-zishen #mainNav.zs-nav a::after,
.theme-zishen #mainNav.zs-nav .nav-dropdown-menu a::before,
.theme-zishen #mainNav.zs-nav .nav-dropdown-menu::before {
    content: none !important;
}

/* 下拉：透明 panel + 内层菜单（与全站 nav-dropdown-panel 一致） */
.theme-zishen #mainNav.zs-nav .nav-dropdown-panel {
    display: none;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) !important;
    z-index: 1205;
}
.theme-zishen #mainNav.zs-nav .nav-dropdown:hover .nav-dropdown-panel,
.theme-zishen #mainNav.zs-nav .nav-dropdown.zs-menu-hover .nav-dropdown-panel { display: block; }
.theme-zishen #mainNav.zs-nav .nav-dropdown-menu {
    transform: none !important;
}

.theme-zishen #siteHeader .zs-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
}
.theme-zishen #siteHeader .header-action-btn {
    min-width: 40px;
    min-height: 40px;
    width: auto;
    height: auto;
}

.theme-zishen #siteHeader .header-user-dropdown { position: relative; margin-left: 0; }
.theme-zishen #siteHeader .header-user {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
}
.theme-zishen #siteHeader .header-user-dropdown-panel {
    right: 0;
}
.theme-zishen #siteHeader .header-user-menu {
    min-width: 170px;
}

/* 移动端规则：只在小屏隐藏主导航并显示汉堡；侧滑在 footer，不占 header 流 */
@media (min-width: 1025px) {
    .theme-zishen #siteHeader .zs-menu-btn { display: none !important; }
    .theme-zishen .mobile-nav-backdrop,
    .theme-zishen #mobileNav.zs-mobile-nav { display: none !important; }
}
@media (max-width: 1024px) {
    /* 侧滑 top：顶栏上下留白 + 面板垂直 padding + min-height（与下方数值一致） */
    /* 顶栏无外边距时，侧滑/遮罩 top ≈ 面板高度（panel 上下 padding 8+8 + min-height 52） */
    body.theme-zishen {
        --zs-drawer-top: 70px;
    }
    .theme-zishen #siteHeader.zs-header {
        padding: 0;
    }
    /* wrapper 左右零 padding：面板贴齐屏幕，避免 default .wrapper 12px 把顶栏挤爆 */
    .theme-zishen #siteHeader .wrapper.zs-header__wrap {
        max-width: none;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box;
    }
    .theme-zishen #siteHeader .zs-header__panel {
        min-height: 52px;
        width: 100%;
        max-width: none;
        gap: 8px;
        justify-content: space-between;
        flex-wrap: nowrap;
        /* 仅保留刘海安全区内边距，其余贴边 */
        padding: 8px max(8px, env(safe-area-inset-left, 0px)) 8px max(8px, env(safe-area-inset-right, 0px));
        border-radius: 0;
        border-left: none;
        border-right: none;
        box-shadow: 0 1px 0 rgba(124, 58, 237, 0.08);
    }
    /* logo 区可收缩，长站名省略，避免与搜索/汉堡重叠 */
    .theme-zishen #siteHeader .zs-header__left {
        flex: 1 1 0;
        min-width: 0;
    }
    .theme-zishen #siteHeader .zs-logo {
        min-width: 0;
        max-width: 100%;
    }
    .theme-zishen #siteHeader .zs-logo-text {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .theme-zishen #siteHeader .zs-actions {
        flex-shrink: 0;
    }
    .theme-zishen #mainNav.zs-nav { display: none !important; }
    .theme-zishen #siteHeader .zs-menu-btn { display: inline-flex !important; }
    .theme-zishen #siteHeader .header-user-dropdown { display: none; }
    /* 查单保留在页头，与搜索、汉堡并排，不占侧滑菜单 */

    .theme-zishen .mobile-nav-backdrop {
        display: none;
        position: fixed;
        top: var(--zs-drawer-top);
        left: 0;
        right: 0;
        bottom: 0;
        height: auto;
        z-index: 10040;
        background: rgba(30, 21, 48, 0.42);
    }
    .theme-zishen .mobile-nav-backdrop.mobile-nav--shown {
        display: block;
        opacity: 0;
        transition: opacity 0.28s ease;
    }
    .theme-zishen .mobile-nav-backdrop.mobile-nav--shown.is-open {
        opacity: 1;
    }

    .theme-zishen .mobile-nav.zs-mobile-nav {
        display: none;
        position: fixed;
        top: var(--zs-drawer-top);
        right: 0;
        bottom: 0;
        width: min(82vw, 280px);
        height: auto;
        max-height: none;
        padding-bottom: env(safe-area-inset-bottom, 0px);
        border: none;
        border-left: 1px solid var(--zs-border-soft);
        border-radius: 0;
        background: rgba(255, 255, 255, 0.98) !important;
        box-shadow: -12px 0 36px rgba(124, 58, 237, 0.12);
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 10050;
        transform: translateX(105%);
        transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .theme-zishen .mobile-nav.zs-mobile-nav.mobile-nav--shown {
        display: block;
    }
    .theme-zishen .mobile-nav.zs-mobile-nav.mobile-nav--shown.open {
        transform: translateX(0);
    }
    .theme-zishen .mobile-nav.zs-mobile-nav .mobile-nav-inner {
        padding: 12px 16px 28px;
    }

    .theme-zishen #searchModal .search-modal-stage {
        padding-left: 12px;
        padding-right: 12px;
    }
    .theme-zishen #searchModal .search-modal-body {
        margin-top: max(12px, 8vh);
    }
}

body.mobile-nav-drawer-open,
body.search-modal-open {
    overflow: hidden;
    touch-action: none;
}

@media (max-width: 400px) {
    .theme-zishen #searchModal .search-modal-bar {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }
    .theme-zishen #searchModal .search-modal-bar input {
        border-bottom: 1px solid var(--zs-border-soft);
    }
    .theme-zishen #searchModal .search-modal-bar button {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
    }
}

/* =============================================================================
   商城首页 page-body 重设计（goods_index.php）
   ============================================================================= */
/* 商城 / 博客首页：在统一 .page-body padding 基础上微调上下节奏 */
.theme-zishen .page-body.zs-home-body,
.theme-zishen .page-body.zs-blog-home-body {
    padding-top: 20px;
    padding-bottom: 40px;
}
.theme-zishen .zs-home-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
}
.theme-zishen .zs-home-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}
.theme-zishen .zs-home-panel {
    border-radius: 18px;
    border: 1px solid var(--zs-border-soft);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(252, 231, 243, 0.45));
    box-shadow: var(--zs-shadow);
    padding: 18px 18px 20px;
}
.theme-zishen .zs-home-panel-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}
.theme-zishen .zs-home-panel-title-wrap { min-width: 0; }
.theme-zishen .zs-home-panel-kicker {
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--zs-muted);
    margin-bottom: 4px;
}
.theme-zishen .zs-home-panel-title {
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
    color: var(--zs-heading);
    font-weight: 800;
}
.theme-zishen .zs-home-panel-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(94, 231, 223, 0.35);
    color: var(--zs-cyan);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.theme-zishen .zs-home-panel-link:hover {
    border-color: rgba(255, 110, 180, 0.55);
    color: var(--zs-heading);
    background: rgba(255, 110, 180, 0.14);
}

/* 商品区 */
.theme-zishen .zs-home-goods-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
/* 列表/标签等宽容器：与旧 .goods-grid 一致的自适应列数，卡片 DOM 仍用首页 .zs-home-goods-item */
.theme-zishen .zs-home-goods-grid--list {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.theme-zishen .zs-home-goods-item {
    border-radius: 14px;
    border: 1px solid var(--zs-border-soft);
    background: rgba(255, 255, 255, 0.82);
    padding: 10px;
}
.theme-zishen .zs-home-goods-cover {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(145deg, #fdf4ff, #ecfeff);
}
.theme-zishen .zs-home-goods-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}
.theme-zishen .zs-home-goods-cover:hover img { transform: scale(1.05); }
.theme-zishen .zs-home-goods-cover-empty {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #fce7f3, #e9d5ff);
}
/* 商城首页封面角标：与 goods-badge 同系视觉，字号略小以适配小图 */
.theme-zishen .zs-home-badge {
    position: absolute;
    top: 9px;
    right: 9px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px 9px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.15;
    border-radius: 999px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.42);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        0 2px 10px rgba(15, 23, 42, 0.14);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
    pointer-events: none;
}
.theme-zishen .zs-home-badge::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    flex-shrink: 0;
}
.theme-zishen .zs-home-badge--auto {
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 48%, #06b6d4 100%);
    border-color: rgba(167, 243, 208, 0.65);
}
.theme-zishen .zs-home-badge--manual {
    background: linear-gradient(135deg, #fb7185 0%, #e879f9 55%, #a78bfa 100%);
    border-color: rgba(254, 202, 202, 0.55);
}
.theme-zishen .zs-home-goods-name {
    margin-top: 10px;
    color: var(--zs-heading);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.45;
    min-height: 2.9em;
}
.theme-zishen .zs-home-goods-meta {
    margin-top: 6px;
    font-size: 12px;
    color: var(--zs-muted);
    display: flex;
    justify-content: space-between;
    gap: 8px;
}
.theme-zishen .zs-home-goods-price {
    margin-top: 8px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.theme-zishen .zs-home-price-main {
    color: var(--zs-pink);
    font-size: 18px;
    font-weight: 800;
}
.theme-zishen .zs-home-price-old {
    color: var(--zs-muted);
    text-decoration: line-through;
    font-size: 12px;
}

/* 文章区 */
.theme-zishen .zs-home-article-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.theme-zishen .zs-home-article-item {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 12px;
    border-radius: 12px;
    border: 1px solid var(--zs-border-soft);
    background: rgba(255, 255, 255, 0.82);
    padding: 10px;
}
.theme-zishen .zs-home-article-thumb {
    display: block;
    width: 108px;
    height: 76px;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(145deg, #fdf4ff, #ecfeff);
}
.theme-zishen .zs-home-article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.theme-zishen .zs-home-article-thumb--empty {
    background: linear-gradient(145deg, #fce7f3, #e9d5ff);
}
.theme-zishen .zs-home-article-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.theme-zishen .zs-home-article-title {
    color: var(--zs-heading);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.theme-zishen .zs-home-article-excerpt {
    color: var(--zs-muted);
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.theme-zishen .zs-home-article-meta {
    color: var(--zs-muted);
    font-size: 12px;
}

/* 空态 */
.theme-zishen .zs-home-empty {
    min-height: 150px;
    border-radius: 14px;
    border: 1px dashed rgba(124, 58, 237, 0.22);
    background: rgba(255, 255, 255, 0.65);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--zs-muted);
    text-align: center;
}
.theme-zishen .zs-home-empty i {
    font-size: 24px;
    color: var(--zs-pink);
}
.theme-zishen .zs-home-empty p {
    margin: 0;
    font-size: 13px;
}

/* 侧栏容器（保留 goods_side 内容，但与新布局对齐） */
.theme-zishen .zs-home-aside { min-width: 0; }
.theme-zishen .zs-home-aside .sidebar-widget {
    margin-bottom: 16px;
}
.theme-zishen .zs-home-aside .blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: sticky;
    top: 92px;
}
.theme-zishen .zs-home-aside .sidebar-widget {
    padding: 14px;
    border-radius: 14px;
}
.theme-zishen .zs-home-aside .sidebar-title {
    margin-bottom: 10px;
    font-size: 13px;
    letter-spacing: .08em;
}

/* 个人信息卡 */
.theme-zishen .zs-home-aside .sidebar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--zs-border-soft);
}
.theme-zishen .zs-home-aside .sidebar-user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--zs-border-soft);
}
.theme-zishen .zs-home-aside .sidebar-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.theme-zishen .zs-home-aside .sidebar-user-avatar--default,
.theme-zishen .zs-home-aside .sidebar-user-avatar--guest {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--zs-muted);
    background: linear-gradient(145deg, #fdf4ff, #ecfeff);
}
.theme-zishen .zs-home-aside .sidebar-user-name {
    color: var(--zs-heading);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}
.theme-zishen .zs-home-aside .sidebar-user-meta {
    color: var(--zs-muted);
    font-size: 12px;
    line-height: 1.35;
    margin-top: 2px;
    word-break: break-all;
}
.theme-zishen .zs-home-aside .sidebar-user-links {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.theme-zishen .zs-home-aside .sidebar-user-links > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 11px;
    border-radius: 999px;
    font-size: 12px;
    text-decoration: none;
    color: var(--zs-text);
    border: 1px solid var(--zs-border-soft);
    background: rgba(255, 255, 255, 0.9);
}
.theme-zishen .zs-home-aside .sidebar-user-links > a:hover {
    background: rgba(255, 110, 180, 0.16);
    border-color: rgba(255, 110, 180, 0.36);
}
.theme-zishen .zs-home-aside .sidebar-user-btn--primary {
    color: #fff !important;
    border-color: transparent !important;
    background: linear-gradient(120deg, var(--zs-pink), var(--zs-violet)) !important;
}

/* 游客态单独修复：避免和登录态共用布局导致错位 */
.theme-zishen .zs-home-aside .sidebar-user.sidebar-user--guest {
    align-items: center;
    justify-content: flex-start;
    padding: 12px;
    background: linear-gradient(135deg, rgba(255, 110, 180, 0.12), rgba(183, 148, 246, 0.1));
    border-color: rgba(255, 110, 180, 0.25);
}
.theme-zishen .zs-home-aside .sidebar-user--guest .sidebar-user-avatar {
    width: 48px;
    height: 48px;
}
.theme-zishen .zs-home-aside .sidebar-user--guest .sidebar-user-avatar--guest {
    background: linear-gradient(145deg, #fce7f3, #e9d5ff);
    color: var(--zs-heading);
    font-size: 18px;
}
.theme-zishen .zs-home-aside .sidebar-user--guest .sidebar-user-info {
    min-width: 0;
    flex: 1;
}
.theme-zishen .zs-home-aside .sidebar-user--guest .sidebar-user-name {
    font-size: 15px;
}
.theme-zishen .zs-home-aside .sidebar-user--guest .sidebar-user-meta {
    word-break: normal;
}

/* 游客按钮两列等宽，防止一大一小/换行难看 */
.theme-zishen .zs-home-aside .sidebar-user--guest + .sidebar-user-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.theme-zishen .zs-home-aside .sidebar-user--guest + .sidebar-user-links .sidebar-user-btn {
    width: 100%;
    justify-content: center;
    height: 34px;
    border-radius: 10px;
}

/* 商品小列表 */
.theme-zishen .zs-home-aside .sidebar-goods-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.theme-zishen .zs-home-aside .sidebar-goods-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid var(--zs-border-soft);
    background: rgba(255, 255, 255, 0.72);
}
.theme-zishen .zs-home-aside .sidebar-goods-item:hover {
    border-color: rgba(94, 231, 223, 0.35);
    background: rgba(94, 231, 223, 0.08);
}
.theme-zishen .zs-home-aside .sidebar-goods-img {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}
.theme-zishen .zs-home-aside .sidebar-goods-img img,
.theme-zishen .zs-home-aside .sidebar-goods-img .goods-no-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.theme-zishen .zs-home-aside .sidebar-goods-info { min-width: 0; flex: 1; }
.theme-zishen .zs-home-aside .sidebar-goods-name {
    font-size: 13px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.theme-zishen .zs-home-aside .sidebar-goods-price { margin-top: 4px; }
.theme-zishen .zs-home-aside .sidebar-goods-price .price {
    color: var(--zs-pink);
    font-size: 13px;
    font-weight: 700;
}
.theme-zishen .zs-home-aside .sidebar-goods-price .price-original {
    color: var(--zs-muted);
    text-decoration: line-through;
    font-size: 11px;
    margin-left: 4px;
}

/* 分类 */
.theme-zishen .zs-home-aside .sidebar-cat-group {
    border-bottom: 1px solid var(--zs-border-soft);
}
.theme-zishen .zs-home-aside .sidebar-cat-group:last-child { border-bottom: 0; }
.theme-zishen .zs-home-aside .sidebar-cat-parent-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}
.theme-zishen .zs-home-aside .sidebar-cat-parent,
.theme-zishen .zs-home-aside .sidebar-cat-child {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 34px;
    padding: 6px 4px;
    color: var(--zs-text);
    text-decoration: none;
}
.theme-zishen .zs-home-aside .sidebar-cat-parent:hover,
.theme-zishen .zs-home-aside .sidebar-cat-child:hover {
    color: var(--zs-cyan) !important;
}
.theme-zishen .zs-home-aside .sidebar-cat-icon {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    object-fit: cover;
}
.theme-zishen .zs-home-aside .sidebar-cat-name { flex: 1; min-width: 0; font-size: 13px; }
.theme-zishen .zs-home-aside .sidebar-cat-count {
    flex-shrink: 0;
    font-size: 11px;
    color: var(--zs-muted);
}
.theme-zishen .zs-home-aside .sidebar-cat-arrow {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: var(--zs-muted);
    cursor: pointer;
}
.theme-zishen .zs-home-aside .sidebar-cat-arrow:hover {
    color: var(--zs-pink);
    background: rgba(232, 72, 154, 0.1);
}
.theme-zishen .zs-home-aside .sidebar-cat-children {
    padding-left: 14px;
    padding-bottom: 6px;
}

/* 标签 */
.theme-zishen .zs-home-aside .sidebar-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.theme-zishen .zs-home-aside .sidebar-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid var(--zs-border-soft);
    background: rgba(255, 255, 255, 0.78);
    color: var(--zs-text);
    font-size: 12px;
    text-decoration: none;
}
.theme-zishen .zs-home-aside .sidebar-tag:hover {
    border-color: rgba(255, 110, 180, 0.35);
    background: rgba(255, 110, 180, 0.16);
}
.theme-zishen .zs-home-aside .tag-count {
    color: var(--zs-muted);
    font-size: 11px;
}

@media (max-width: 1180px) {
    .theme-zishen .zs-home-goods-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
    .theme-zishen .zs-home-shell { grid-template-columns: 1fr; }
    .theme-zishen .zs-home-aside .blog-sidebar {
        position: static;
        top: auto;
    }
}
@media (max-width: 768px) {
    .theme-zishen .zs-home-goods-grid--list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}
@media (max-width: 640px) {
    .theme-zishen .page-body.zs-home-body,
    .theme-zishen .page-body.zs-blog-home-body { padding-top: 14px; }
    .theme-zishen .zs-home-panel { padding: 14px; }
    .theme-zishen .zs-home-goods-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .theme-zishen .zs-home-article-item {
        grid-template-columns: 1fr;
    }
    .theme-zishen .zs-home-article-thumb {
        width: 100%;
        height: 168px;
    }
}

/* =============================================================================
   商品详情页修复（goods.php）
   ============================================================================= */
/* 商品详情：仅微调顶距，左右与 .page-body 一致 */
.theme-zishen .page-body.zs-detail-page {
    padding-top: 16px;
}
.theme-zishen .zs-detail-page .detail-card {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(252, 231, 243, 0.35));
    border: 1px solid var(--zs-border-soft);
    border-radius: 18px;
    box-shadow: var(--zs-shadow);
    padding: 20px;
}
.theme-zishen .zs-detail-page .detail-layout {
    display: grid;
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
    gap: 24px;
}
.theme-zishen .zs-detail-page .detail-gallery {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.theme-zishen .zs-detail-page .detail-img {
    aspect-ratio: 1;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(145deg, #fdf4ff, #ecfeff);
    border: 1px solid var(--zs-border-soft);
}
.theme-zishen .zs-detail-page .detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.theme-zishen .zs-detail-page .detail-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.theme-zishen .zs-detail-page .detail-thumb {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
}
.theme-zishen .zs-detail-page .detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.theme-zishen .zs-detail-page .detail-thumb.active {
    border-color: rgba(255, 110, 180, 0.9);
    box-shadow: 0 0 0 2px rgba(255, 110, 180, 0.2);
}

/* 右侧信息区：单独衬底 + 更高对比，避免与左侧图混在一起看不清 */
.theme-zishen .zs-detail-page .detail-info {
    min-width: 0;
    padding: 18px 18px 20px;
    border-radius: 14px;
    border: 1px solid var(--zs-border-soft);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 245, 255, 0.88) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 28px rgba(91, 33, 182, 0.06);
}
.theme-zishen .zs-detail-page .detail-info a {
    color: var(--zs-cyan);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.theme-zishen .zs-detail-page .detail-info a:hover {
    color: var(--zs-pink);
}
.theme-zishen .zs-detail-page .detail-name {
    margin: 0;
    color: var(--zs-heading);
    font-size: 26px;
    line-height: 1.35;
}
.theme-zishen .zs-detail-page .detail-intro {
    margin-top: 10px;
    color: var(--zs-muted);
    line-height: 1.75;
    font-size: 14px;
}
.theme-zishen .zs-detail-page .detail-stats-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0;
    color: var(--zs-muted);
    font-size: 13px;
}
.theme-zishen .zs-detail-page .detail-stat-item strong {
    color: var(--zs-heading);
    font-weight: 700;
}
.theme-zishen .zs-detail-page .detail-stat-sep { color: rgba(62, 45, 95, 0.2); }

.theme-zishen .zs-detail-page .detail-delivery {
    margin-top: 8px;
}
.theme-zishen .zs-detail-page .detail-info .goods-badge {
    padding: 6px 14px;
    font-size: 12px;
    letter-spacing: 0.05em;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 4px 16px rgba(91, 33, 182, 0.14);
}

.theme-zishen .zs-detail-page .detail-price-box {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 14px;
    background: linear-gradient(135deg, rgba(255, 110, 180, 0.14), rgba(94, 231, 223, 0.08));
    border: 1px solid var(--zs-border-soft);
}
.theme-zishen .zs-detail-page .detail-price {
    color: var(--zs-pink) !important;
    font-size: 30px;
    font-weight: 800;
}
.theme-zishen .zs-detail-page .detail-price-original {
    color: var(--zs-muted) !important;
    font-size: 14px;
}
.theme-zishen .zs-detail-page .detail-price-discount-label {
    color: var(--zs-heading);
    font-size: 12px;
    background: rgba(255, 110, 180, 0.18);
    border: 1px solid rgba(255, 110, 180, 0.35);
    border-radius: 999px;
    padding: 3px 8px;
}

.theme-zishen .zs-detail-page .spec-section {
    margin-top: 14px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--zs-border-soft);
    background: rgba(255, 255, 255, 0.72);
}
.theme-zishen .zs-detail-page .spec-group + .spec-group { margin-top: 12px; }
.theme-zishen .zs-detail-page .spec-group-label {
    color: var(--zs-heading);
    font-size: 13px;
    margin-bottom: 8px;
}
.theme-zishen .zs-detail-page .spec-group-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.theme-zishen .zs-detail-page .spec-item-tags {
    margin-bottom: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.theme-zishen .zs-detail-page .spec-tag {
    font-size: 11px;
    color: var(--zs-cyan);
    border: 1px solid rgba(94, 231, 223, 0.28);
    background: rgba(94, 231, 223, 0.09);
    border-radius: 999px;
    padding: 2px 8px;
}
.theme-zishen .zs-detail-page .spec-btn {
    min-height: 34px;
    padding: 0 12px;
    border-radius: 10px !important;
    font-size: 13px;
    color: var(--zs-text) !important;
    border: 1px solid var(--zs-border-soft) !important;
    background: rgba(255, 255, 255, 0.92) !important;
}
.theme-zishen .zs-detail-page .spec-btn:hover:not(.disabled):not(:disabled) {
    border-color: rgba(13, 148, 136, 0.45) !important;
    background: rgba(204, 251, 241, 0.65) !important;
    color: var(--zs-heading) !important;
}
.theme-zishen .zs-detail-page .spec-btn.active {
    background: linear-gradient(120deg, var(--zs-pink), var(--zs-violet)) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: var(--zs-glow);
    font-weight: 700;
}
.theme-zishen .zs-detail-page .spec-btn.disabled {
    opacity: .45;
    cursor: not-allowed;
}

.theme-zishen .zs-detail-page .detail-qty-row {
    margin-top: 14px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--zs-border-soft);
    background: rgba(255, 255, 255, 0.72);
}
.theme-zishen .zs-detail-page .detail-qty-label {
    color: var(--zs-heading);
    font-size: 13px;
}
.theme-zishen .zs-detail-page .detail-qty-wrap {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.theme-zishen .zs-detail-page .detail-qty-selector {
    display: inline-flex;
    align-items: center;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--zs-border-soft);
}
.theme-zishen .zs-detail-page .detail-qty-btn {
    width: 34px;
    height: 34px;
    border: 0;
    color: var(--zs-text);
    font-size: 18px;
    line-height: 1;
    background: rgba(248, 250, 252, 0.95);
    cursor: pointer;
}
.theme-zishen .zs-detail-page .detail-qty-btn:hover {
    background: rgba(255, 110, 180, 0.18);
}
.theme-zishen .zs-detail-page .detail-qty-input {
    width: 72px;
    height: 34px;
    text-align: center;
    border: 0 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    color: var(--zs-text) !important;
}
.theme-zishen .zs-detail-page .detail-stock-info,
.theme-zishen .zs-detail-page .detail-min-buy { color: var(--zs-muted); font-size: 12px; }
.theme-zishen .zs-detail-page .detail-stock-info span[style*="color"] {
    color: #ff8a9b !important;
    font-weight: 700;
}

.theme-zishen .zs-detail-page .detail-form-field {
    margin-top: 10px;
}
.theme-zishen .zs-detail-page .detail-form-field-label {
    display: block;
    margin-bottom: 6px;
    color: var(--zs-heading);
    font-size: 13px;
}
.theme-zishen .zs-detail-page .detail-form-field-input {
    width: 100%;
    max-width: 360px;
    height: 38px;
    padding: 0 12px;
    border-radius: 10px;
}

.theme-zishen .zs-detail-page .detail-coupon,
.theme-zishen .zs-detail-page .detail-payment-section {
    margin-top: 14px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--zs-border-soft);
    background: rgba(255, 255, 255, 0.72);
}
.theme-zishen .zs-detail-page .detail-coupon-title,
.theme-zishen .zs-detail-page .detail-payment-title {
    color: var(--zs-heading);
    font-size: 13px;
    margin-bottom: 8px;
}
.theme-zishen .zs-detail-page .detail-coupon-input-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.theme-zishen .zs-detail-page .detail-coupon-input {
    flex: 1;
    min-width: 170px;
    height: 36px;
    border-radius: 10px;
    padding: 0 12px;
    border: 1px solid var(--zs-border-soft);
    background: rgba(255, 255, 255, 0.95);
    color: var(--zs-text);
}
.theme-zishen .zs-detail-page .detail-coupon-input::placeholder {
    color: var(--zs-muted);
}
.theme-zishen .zs-detail-page .detail-coupon-btn,
.theme-zishen .zs-detail-page .detail-coupon-choose {
    height: 36px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid var(--zs-border-soft);
    background: rgba(255, 255, 255, 0.9);
    color: var(--zs-text);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.theme-zishen .zs-detail-page .detail-coupon-btn--primary {
    border: 0;
    color: #fff;
    background: linear-gradient(120deg, var(--zs-pink), var(--zs-violet));
}
.theme-zishen .zs-detail-page .detail-coupon-guest-tip,
.theme-zishen .zs-detail-page .detail-coupon-applied {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--zs-muted);
}
.theme-zishen .zs-detail-page .detail-coupon-guest-tip i {
    color: var(--zs-cyan);
    margin-right: 4px;
}
.theme-zishen .zs-detail-page .detail-coupon-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.theme-zishen .zs-detail-page .detail-payment-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.theme-zishen .zs-detail-page .detail-payment-item {
    min-width: 118px;
    min-height: 40px;
    padding: 6px 10px;
    border-radius: 10px;
    border: 1px solid var(--zs-border-soft);
    background: rgba(255, 255, 255, 0.88);
    color: var(--zs-text);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.theme-zishen .zs-detail-page .detail-payment-item img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}
.theme-zishen .zs-detail-page .detail-payment-item.active {
    border-color: rgba(255, 110, 180, 0.45);
    background: rgba(255, 110, 180, 0.18);
}
.theme-zishen .zs-detail-page .detail-payment-item.is-disabled {
    opacity: .45;
    cursor: not-allowed;
}

.theme-zishen .zs-detail-page .detail-actions { margin-top: 16px; }
.theme-zishen .zs-detail-page #buyNowBtn {
    width: 100%;
    max-width: 320px;
    min-height: 44px;
}

.theme-zishen .zs-detail-page .detail-meta-tabs {
    margin-top: 16px;
}
.theme-zishen .zs-detail-page .detail-meta-tab-nav {
    display: inline-flex;
    gap: 6px;
    margin-bottom: 10px;
    background: rgba(248, 250, 252, 0.95);
    border: 1px solid var(--zs-border-soft);
    border-radius: 999px;
    padding: 4px;
}
.theme-zishen .zs-detail-page .detail-meta-tab-btn {
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    border: 0;
    color: var(--zs-muted);
    background: transparent;
    cursor: pointer;
}
.theme-zishen .zs-detail-page .detail-meta-tab-btn.active {
    color: #fff;
    background: linear-gradient(120deg, var(--zs-pink), var(--zs-violet));
}
.theme-zishen .zs-detail-page .detail-meta-tab-pane { display: none; }
.theme-zishen .zs-detail-page .detail-meta-tab-pane.active { display: block; }
.theme-zishen .zs-detail-page .detail-meta,
.theme-zishen .zs-detail-page .detail-discount-list {
    border-radius: 12px;
    padding: 12px;
    border: 1px solid var(--zs-border-soft);
    background: rgba(255, 255, 255, 0.78) !important;
}
.theme-zishen .zs-detail-page .detail-meta-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 6px 0;
}
.theme-zishen .zs-detail-page .detail-meta-label {
    width: 76px;
    flex-shrink: 0;
    color: var(--zs-muted);
}
.theme-zishen .zs-detail-page .detail-meta-value { color: var(--zs-heading); }
.theme-zishen .zs-detail-page .detail-discount-item + .detail-discount-item { margin-top: 8px; }
.theme-zishen .zs-detail-page .detail-discount-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    margin-right: 8px;
    font-size: 12px;
    color: var(--zs-heading);
    background: rgba(255, 110, 180, 0.22);
}

.theme-zishen .zs-detail-page .zs-detail-content-wrap,
.theme-zishen .zs-detail-page .zs-detail-tags-wrap {
    margin-top: 16px;
    border-radius: 14px;
    border: 1px solid var(--zs-border-soft);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(252, 231, 243, 0.4));
    box-shadow: var(--zs-shadow);
}
.theme-zishen .zs-detail-page .zs-detail-content-wrap {
    padding: 16px 18px;
}
.theme-zishen .zs-detail-page .zs-detail-tags-wrap {
    padding: 14px 16px;
}
.theme-zishen .zs-detail-page .detail-body { color: var(--zs-text); }
.theme-zishen .zs-detail-page .detail-body img { max-width: 100%; height: auto; }

@media (max-width: 900px) {
    .theme-zishen .page-body { padding-left: 16px; padding-right: 16px; }
    .theme-zishen .zs-detail-page .detail-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    /* 主图相对满宽缩小 40%（剩余 60%），居中 */
    .theme-zishen .zs-detail-page .detail-gallery {
        align-items: center;
    }
    .theme-zishen .zs-detail-page .detail-img {
        width: 60%;
        max-width: 60%;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }
    .theme-zishen .zs-detail-page .detail-name { font-size: 22px; }
    .theme-zishen .zs-detail-page .detail-price { font-size: 26px; }
}


