/* 子神风格复刻版：在 EMSHOP 默认模板结构之上覆盖视觉层。 */
.theme-zishen-clone {
    --zs-ink: #1f1730;
    --zs-text: #463d5d;
    --zs-muted: #766d8a;
    --zs-pink: #e8489a;
    --zs-violet: #9d7aed;
    --zs-cyan: #15998d;
    --zs-line: rgba(126, 87, 194, .14);
    --zs-panel: rgba(255, 255, 255, .88);
    --zs-panel-strong: rgba(255, 255, 255, .95);
    --zs-radius: 18px;
    --zs-radius-sm: 12px;
    --zs-shadow: 0 14px 40px rgba(91, 33, 182, .10);
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    color: var(--zs-text);
    font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei UI", sans-serif;
    font-size: 15px;
    line-height: 1.6;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    background-attachment: fixed;
}

.theme-zishen-clone *,
.theme-zishen-clone *::before,
.theme-zishen-clone *::after {
    box-sizing: border-box;
}

.theme-zishen-clone a {
    color: var(--zs-cyan);
}

.theme-zishen-clone a:hover {
    color: var(--zs-pink);
}

.theme-zishen-clone button,
.theme-zishen-clone a,
.theme-zishen-clone input,
.theme-zishen-clone .card {
    transition: color .2s ease, background-color .2s ease, border-color .2s ease,
                box-shadow .2s ease, transform .2s ease, opacity .2s ease;
}

.theme-zishen-clone .wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.zs-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.zs-bg__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .22;
    animation: zsCloneFloat 18s ease-in-out infinite;
}

.zs-bg__blob--a {
    width: 420px;
    height: 420px;
    right: -120px;
    top: -130px;
    background: #c4b5fd;
}

.zs-bg__blob--b {
    width: 360px;
    height: 360px;
    left: -110px;
    bottom: 8%;
    background: #fbcfe8;
    animation-delay: -6s;
}

.zs-bg__blob--c {
    width: 280px;
    height: 280px;
    right: 18%;
    bottom: -90px;
    background: #a5f3fc;
    animation-delay: -12s;
}

@keyframes zsCloneFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(28px, 18px, 0) scale(1.06); }
}

.theme-zishen-clone .pjax-bar {
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--zs-pink), var(--zs-violet), var(--zs-cyan));
    box-shadow: 0 0 24px rgba(232, 72, 154, .45);
}

/* 顶部导航 */
.theme-zishen-clone .zs-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: auto;
    padding: 14px 0 10px;
    background: transparent;
    box-shadow: none;
}

.theme-zishen-clone .zs-header.scrolled {
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 12px 38px rgba(68, 34, 105, .08);
}

.theme-zishen-clone .zs-header__panel {
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 11px 18px;
    border: 1px solid rgba(126, 87, 194, .13);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(252,231,243,.66));
    box-shadow: var(--zs-shadow), inset 0 1px 0 rgba(255,255,255,.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.theme-zishen-clone .zs-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 10px;
}

.theme-zishen-clone .zs-logo-text {
    color: var(--zs-ink);
    font-size: 1.38rem;
    font-weight: 900;
    letter-spacing: .035em;
}

.theme-zishen-clone .zs-logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 8px;
    border-radius: 999px;
    color: #fff;
    background: var(--zs-pink);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    box-shadow: 0 5px 14px rgba(232, 72, 154, .26);
}

.theme-zishen-clone .site-logo-img {
    max-width: 150px;
    max-height: 40px;
    object-fit: contain;
}

.theme-zishen-clone .main-nav.zs-nav {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: auto;
}

.theme-zishen-clone .main-nav.zs-nav > a,
.theme-zishen-clone .main-nav.zs-nav > .nav-dropdown > a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 15px;
    border-radius: 999px;
    color: #5b526d;
    font-weight: 600;
}

.theme-zishen-clone .main-nav.zs-nav a::after {
    display: none;
}

.theme-zishen-clone .main-nav.zs-nav > a:hover,
.theme-zishen-clone .main-nav.zs-nav > a.active,
.theme-zishen-clone .main-nav.zs-nav > .nav-dropdown > a:hover,
.theme-zishen-clone .main-nav.zs-nav > .nav-dropdown > a.active {
    color: #fff;
    background: linear-gradient(135deg, var(--zs-pink), var(--zs-violet));
    box-shadow: 0 8px 22px rgba(199, 82, 182, .22);
}

.theme-zishen-clone .nav-dropdown-menu {
    border: 1px solid var(--zs-line);
    border-radius: 14px;
    background: rgba(255,255,255,.96);
    box-shadow: var(--zs-shadow);
    backdrop-filter: blur(16px);
}

.theme-zishen-clone .zs-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 8px;
}

.theme-zishen-clone .header-action-btn,
.theme-zishen-clone .header-user,
.theme-zishen-clone .header-menu-btn {
    height: 42px;
    min-width: 42px;
    border: 1px solid rgba(126,87,194,.11);
    border-radius: 12px;
    color: #3d3558;
    background: rgba(255,255,255,.78);
    box-shadow: 0 7px 20px rgba(68,34,105,.07);
}

.theme-zishen-clone .header-action-btn:hover,
.theme-zishen-clone .header-user:hover,
.theme-zishen-clone .header-menu-btn:hover {
    color: var(--zs-pink);
    border-color: rgba(232,72,154,.28);
    background: #fff;
    transform: translateY(-1px);
}

.theme-zishen-clone .zs-order-link {
    padding-inline: 13px;
}

.theme-zishen-clone .header-user-menu {
    overflow: hidden;
    border: 1px solid var(--zs-line);
    border-radius: 14px;
    background: rgba(255,255,255,.97);
    box-shadow: var(--zs-shadow);
}

.theme-zishen-clone .header-user-menu-item:hover {
    color: var(--zs-pink);
    background: rgba(252,231,243,.75);
}

/* 主体与玻璃卡片 */
.theme-zishen-clone #main {
    position: relative;
    z-index: 2;
    flex: 1 0 auto;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.theme-zishen-clone .page-body {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px 20px 48px;
}

.theme-zishen-clone .card,
.theme-zishen-clone .site-announcement,
.theme-zishen-clone .sidebar-card,
.theme-zishen-clone .sidebar-widget,
.theme-zishen-clone .detail-card,
.theme-zishen-clone .detail-content,
.theme-zishen-clone .article-content,
.theme-zishen-clone .auth-card,
.theme-zishen-clone .page-card,
.theme-zishen-clone .order-result-card,
.theme-zishen-clone .coupon-card {
    border: 1px solid var(--zs-line);
    background: var(--zs-panel);
    box-shadow: var(--zs-shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.theme-zishen-clone .site-announcement {
    overflow: hidden;
    margin: 34px 0 20px;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(124,58,237,.12);
    background: var(--zs-panel);
    box-shadow: 0 14px 40px rgba(91,33,182,.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.theme-zishen-clone .site-announcement__head {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    border: 0;
    color: var(--zs-ink);
    background: transparent;
}

.theme-zishen-clone .site-announcement__head .site-announcement__icon {
    width: auto;
    height: auto;
    flex: 0 0 auto;
    border-radius: 0;
    color: var(--zs-ink);
    font-size: 14px;
    background: transparent;
    box-shadow: none;
}

.theme-zishen-clone .site-announcement__title {
    color: var(--zs-pink);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
}

.theme-zishen-clone .site-announcement__title-sep {
    display: none;
}

.theme-zishen-clone .site-announcement__body {
    padding: 10px 0 0;
    color: var(--zs-text);
    font-size: 15px;
    line-height: 2;
    background: transparent;
}

.theme-zishen-clone .site-announcement__body > * {
    margin-top: 0;
    margin-bottom: 4px;
}

.theme-zishen-clone .site-announcement__body > *:last-child {
    margin-bottom: 0;
}

/* 商品列表页：公告与筛选区紧凑衔接，避免两层默认留白叠加。 */
.theme-zishen-clone .zs-goods-list-announcement .site-announcement {
    margin-bottom: 0;
}

.theme-zishen-clone .page-body.zs-goods-list-page {
    padding-top: 0;
}

.theme-zishen-clone .zs-goods-list-page > .breadcrumb {
    margin: 0 0 10px;
    padding: 8px 0 10px;
}

.theme-zishen-clone .breadcrumb {
    margin: 2px 0 16px;
    color: var(--zs-muted);
}

.theme-zishen-clone .breadcrumb a {
    color: var(--zs-cyan);
}

/* 分类与排序 */
.theme-zishen-clone .category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 15px;
}

.theme-zishen-clone .category-tab {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border: 1px solid var(--zs-line);
    border-radius: 14px;
    color: var(--zs-text);
    background: rgba(255,255,255,.86);
    box-shadow: 0 8px 24px rgba(68,34,105,.07);
}

.theme-zishen-clone .category-tab:hover,
.theme-zishen-clone .category-tab.active {
    color: var(--zs-pink);
    border-color: rgba(232,72,154,.28);
    background: rgba(255,244,250,.96);
    transform: translateY(-2px);
}

.theme-zishen-clone .category-tab-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    object-fit: cover;
}

.theme-zishen-clone .category-tab-count {
    min-width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border-radius: 999px;
    color: #b9387d;
    background: #fce7f3;
    font-size: 12px;
}

.theme-zishen-clone .goods-sort-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
}

.theme-zishen-clone .goods-sort-link {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    border: 1px solid rgba(126,87,194,.1);
    border-radius: 11px;
    color: #5f5670;
    background: rgba(255,255,255,.82);
}

.theme-zishen-clone .goods-sort-link:hover,
.theme-zishen-clone .goods-sort-link.active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--zs-pink), var(--zs-violet));
    box-shadow: 0 8px 20px rgba(190,75,180,.2);
}

/* 商品卡片 */
.theme-zishen-clone .goods-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.theme-zishen-clone .goods-card {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 10px;
    border: 1px solid rgba(124,58,237,.12);
    border-radius: 16px;
    color: var(--zs-text);
    background: var(--zs-panel);
    box-shadow: var(--zs-shadow);
    backdrop-filter: blur(10px) saturate(1.04);
    -webkit-backdrop-filter: blur(10px) saturate(1.04);
}

.theme-zishen-clone .goods-card:hover {
    color: var(--zs-text);
    border-color: rgba(232,72,154,.28);
    background: rgba(255,255,255,.94);
    box-shadow: var(--zs-shadow), 0 0 32px rgba(183,148,246,.25);
    transform: translateY(-6px);
}

.theme-zishen-clone .goods-card .card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    background: linear-gradient(135deg, #fff1f7, #f2ecff);
}

.theme-zishen-clone .goods-card .card-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.theme-zishen-clone .goods-card:hover .card-img img {
    transform: scale(1.025);
}

.theme-zishen-clone .goods-card .card-body {
    min-height: 126px;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 12px 2px 2px;
}

.theme-zishen-clone .goods-card .card-title {
    min-height: 48px;
    display: -webkit-box;
    overflow: hidden;
    color: #30263e;
    font-size: 15px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.theme-zishen-clone .goods-card .card-stats {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    color: var(--zs-muted);
    font-size: 12px;
}

.theme-zishen-clone .goods-card .card-bottom {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
    padding-top: 8px;
}

.theme-zishen-clone .goods-card .price {
    color: var(--zs-pink);
    font-size: 18px;
    font-weight: 900;
}

.theme-zishen-clone .price-original {
    color: #8d8499;
    font-size: 12px;
    text-decoration: line-through;
}

.theme-zishen-clone .goods-badge {
    top: 9px;
    right: 9px;
    padding: 4px 8px;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 999px;
    color: #fff;
    font-size: 11px;
    box-shadow: 0 5px 14px rgba(20,140,129,.2);
}

.theme-zishen-clone .goods-badge--auto {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
}

.theme-zishen-clone .goods-badge--manual {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.theme-zishen-clone .pagination {
    margin-top: 28px;
}

.theme-zishen-clone .pagination-btn,
.theme-zishen-clone .pagination-num {
    border: 1px solid var(--zs-line);
    border-radius: 10px;
    background: rgba(255,255,255,.88);
}

.theme-zishen-clone .pagination-num.active,
.theme-zishen-clone .pagination-btn:hover,
.theme-zishen-clone .pagination-num:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--zs-pink), var(--zs-violet));
}

/* 首页与博客 */
.theme-zishen-clone .hero {
    width: min(1180px, calc(100% - 32px));
    margin: 14px auto 8px;
    overflow: hidden;
    border: 1px solid var(--zs-line);
    border-radius: 20px;
    box-shadow: var(--zs-shadow);
}

.theme-zishen-clone .blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
    align-items: start;
}

.theme-zishen-clone .blog-main {
    min-width: 0;
}

.theme-zishen-clone .section {
    margin-bottom: 28px;
}

.theme-zishen-clone .section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 15px;
}

.theme-zishen-clone .section-title {
    color: var(--zs-ink);
    font-size: 22px;
    font-weight: 900;
}

.theme-zishen-clone .section-title::before {
    content: "✦";
    margin-right: 9px;
    color: var(--zs-pink);
    text-shadow: 0 0 16px rgba(232,72,154,.35);
}

.theme-zishen-clone .section-more {
    font-size: 13px;
}

.theme-zishen-clone .article-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.theme-zishen-clone .article-grid-card,
.theme-zishen-clone .blog-article-card {
    overflow: hidden;
    border-radius: 15px;
    color: var(--zs-text);
}

.theme-zishen-clone .article-grid-card:hover,
.theme-zishen-clone .blog-article-card:hover {
    color: var(--zs-text);
    border-color: rgba(232,72,154,.25);
    transform: translateY(-3px);
}

.theme-zishen-clone .sidebar-card,
.theme-zishen-clone .sidebar-widget {
    overflow: hidden;
    margin-bottom: 16px;
    border-radius: 16px;
}

.theme-zishen-clone .sidebar-card-title,
.theme-zishen-clone .sidebar-title {
    color: var(--zs-ink);
    border-bottom-color: rgba(126,87,194,.1);
}

.theme-zishen-clone .sidebar-goods-item:hover,
.theme-zishen-clone .sidebar-cat-parent:hover,
.theme-zishen-clone .sidebar-cat-child:hover {
    background: rgba(252,231,243,.58);
}

/* 商品详情 */
.theme-zishen-clone .zs-detail-page {
    max-width: 1180px;
    padding: 16px 20px 48px;
}

.theme-zishen-clone .zs-detail-page .breadcrumb {
    padding: 10px 6px 16px;
    color: var(--zs-muted);
    font-size: 13px;
}

.theme-zishen-clone .zs-detail-page .breadcrumb a {
    color: var(--zs-cyan);
}

.theme-zishen-clone .detail-card {
    overflow: hidden;
    padding: 20px;
    margin-bottom: 0;
    border: 1px solid rgba(124,58,237,.12);
    border-radius: 18px;
    background: linear-gradient(165deg, rgba(255,255,255,.96), rgba(252,231,243,.35));
    box-shadow: 0 14px 40px rgba(91,33,182,.1);
}

.theme-zishen-clone .detail-layout {
    grid-template-columns: 420px minmax(0, 1fr);
    column-gap: 24px;
    row-gap: 24px;
}

.theme-zishen-clone .detail-gallery {
    min-width: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.theme-zishen-clone .detail-info {
    display: block;
    min-width: 0;
    margin: 0;
    padding: 18px 18px 20px;
    border: 1px solid rgba(126,87,194,.11);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(250,245,255,.88));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 28px rgba(91,33,182,.06);
}

.theme-zishen-clone .detail-img {
    overflow: hidden;
    border-radius: 14px;
    border-color: rgba(124,58,237,.12);
    background: linear-gradient(145deg, #fdf4ff, #ecfeff);
}

.theme-zishen-clone .detail-thumb {
    border-radius: 10px;
    background: rgba(255,255,255,.9);
}

.theme-zishen-clone .detail-thumb.active {
    border-color: var(--zs-pink);
    box-shadow: 0 5px 16px rgba(232,72,154,.18);
}

.theme-zishen-clone .detail-name {
    color: var(--zs-ink);
    margin-bottom: 0;
    font-size: clamp(22px, 2vw, 26px);
    font-weight: 400;
}

.theme-zishen-clone .detail-delivery {
    margin-top: 8px;
}

.theme-zishen-clone .detail-info .goods-badge {
    padding: 6px 14px;
    border: 1px solid rgba(167,243,208,.65);
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    background: linear-gradient(135deg, #10b981, #14b8a6 48%, #06b6d4);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 4px 16px rgba(91,33,182,.14);
}

.theme-zishen-clone .detail-info .goods-badge--manual {
    border-color: rgba(253,186,116,.65);
    background: linear-gradient(135deg, #f97316, #f59e0b);
}

.theme-zishen-clone .detail-intro {
    margin: 10px 0 0;
    color: var(--zs-muted);
    font-size: 14px;
    line-height: 1.75;
}

.theme-zishen-clone .detail-stats-row {
    gap: 10px;
    margin: 12px 0;
    color: var(--zs-muted);
}

.theme-zishen-clone .detail-stat-item strong {
    color: var(--zs-ink);
}

.theme-zishen-clone .detail-price-box,
.theme-zishen-clone .spec-section,
.theme-zishen-clone .detail-qty-row,
.theme-zishen-clone .detail-payment-section,
.theme-zishen-clone .detail-coupon,
.theme-zishen-clone .detail-meta {
    border: 1px solid rgba(124,58,237,.12);
    border-radius: 12px;
}

.theme-zishen-clone .detail-price-box {
    gap: 10px;
    margin: 0 0 14px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(255,110,180,.12), rgba(94,231,223,.08));
}

.theme-zishen-clone .detail-price {
    color: var(--zs-pink);
    font-size: 30px;
    font-weight: 800;
}

.theme-zishen-clone .detail-price-original {
    color: var(--zs-muted);
    font-size: 14px;
}

.theme-zishen-clone .spec-section,
.theme-zishen-clone .detail-qty-row,
.theme-zishen-clone .detail-payment-section,
.theme-zishen-clone .detail-coupon {
    margin: 14px 0 0;
    padding: 12px;
    background: rgba(255,255,255,.72);
}

.theme-zishen-clone .spec-group {
    margin-bottom: 0;
}

.theme-zishen-clone .spec-group + .spec-group {
    margin-top: 12px;
}

.theme-zishen-clone .spec-group-label,
.theme-zishen-clone .detail-qty-label,
.theme-zishen-clone .detail-payment-title,
.theme-zishen-clone .detail-coupon-title,
.theme-zishen-clone .detail-form-field-label {
    margin-bottom: 8px;
    color: var(--zs-ink);
    font-size: 13px;
    font-weight: 400;
}

.theme-zishen-clone .spec-group-options {
    gap: 8px;
    align-items: stretch;
}

.theme-zishen-clone .spec-btn {
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(124,58,237,.16);
    border-radius: 10px;
    color: var(--zs-text);
    font-size: 13px;
    background: rgba(255,255,255,.92);
}

.theme-zishen-clone .spec-btn.active,
.theme-zishen-clone .spec-btn:hover {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(120deg, var(--zs-pink), var(--zs-violet));
    box-shadow: 0 0 28px rgba(232,72,154,.22);
}

.theme-zishen-clone .detail-qty-row {
    margin-bottom: 0;
}

.theme-zishen-clone .detail-qty-label {
    display: inline-block;
}

.theme-zishen-clone .detail-qty-selector {
    border-color: rgba(124,58,237,.12);
    border-radius: 10px;
    background: rgba(255,255,255,.9);
}

.theme-zishen-clone .detail-qty-btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    color: var(--zs-text);
    background: rgba(248,250,252,.95);
}

.theme-zishen-clone .detail-qty-btn:hover {
    color: var(--zs-pink);
    background: rgba(252,231,243,.85);
}

.theme-zishen-clone .detail-qty-input {
    width: 72px;
    height: 34px;
    border: 0;
    color: var(--zs-text);
    background: rgba(255,255,255,.98);
}

.theme-zishen-clone .detail-form-field {
    margin: 10px 0 0;
}

.theme-zishen-clone .detail-form-field-label {
    margin-bottom: 6px;
}

.theme-zishen-clone .detail-form-field-input,
.theme-zishen-clone .detail-coupon-input {
    height: 38px;
    border: 1px solid rgba(124,58,237,.12);
    border-radius: 10px;
    color: var(--zs-text);
    background: rgba(255,255,255,.95);
}

.theme-zishen-clone .detail-form-field-input:focus,
.theme-zishen-clone .detail-coupon-input:focus {
    border-color: rgba(232,72,154,.5);
    box-shadow: 0 0 0 3px rgba(232,72,154,.1);
}

.theme-zishen-clone .detail-coupon-input-row,
.theme-zishen-clone .detail-payment-list {
    gap: 8px;
}

.theme-zishen-clone .detail-coupon-input {
    height: 36px;
}

.theme-zishen-clone .detail-coupon-btn {
    height: 36px;
    padding: 0 12px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(120deg, var(--zs-pink), var(--zs-violet));
}

.theme-zishen-clone .detail-coupon-guest-tip {
    margin-top: 8px;
    color: var(--zs-muted);
    font-size: 13px;
}

.theme-zishen-clone .detail-payment-item {
    min-height: 40px;
    padding: 6px 10px;
    border: 1px solid rgba(124,58,237,.12);
    border-radius: 10px;
    color: var(--zs-text);
    background: rgba(255,255,255,.9);
}

.theme-zishen-clone .detail-payment-item:hover,
.theme-zishen-clone .detail-payment-item.active {
    color: var(--zs-text);
    border-color: rgba(255,110,180,.45);
    background: rgba(255,110,180,.18);
}

.theme-zishen-clone .detail-actions {
    display: block;
    margin: 16px 0 0;
}

.theme-zishen-clone .detail-actions .btn {
    width: min(320px, 100%);
    min-height: 44px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 0 28px rgba(232,72,154,.22);
}

.theme-zishen-clone .detail-meta-tabs {
    margin: 16px 0 0;
}

.theme-zishen-clone .detail-meta {
    margin: 0;
    padding: 12px;
    background: rgba(255,255,255,.78);
}

.theme-zishen-clone .detail-meta-row {
    align-items: baseline;
    gap: 12px;
    padding: 6px 0;
    border-bottom-color: rgba(124,58,237,.08);
}

.theme-zishen-clone .detail-meta-label {
    width: 76px;
    color: var(--zs-muted);
}

.theme-zishen-clone .detail-meta-value {
    color: var(--zs-ink);
}

.theme-zishen-clone .detail-buy-btn,
.theme-zishen-clone .btn-primary,
.theme-zishen-clone .auth-submit {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--zs-pink), var(--zs-violet));
    box-shadow: 0 13px 30px rgba(186,77,187,.24);
}

.theme-zishen-clone .detail-buy-btn:hover,
.theme-zishen-clone .btn-primary:hover,
.theme-zishen-clone .auth-submit:hover {
    filter: brightness(1.04);
    transform: translateY(-2px);
}

.theme-zishen-clone .zs-detail-page > .article-detail {
    margin-top: 22px;
    padding: 16px 18px;
    border: 1px solid rgba(124,58,237,.12);
    border-radius: 14px;
    color: var(--zs-text);
    background: linear-gradient(165deg, rgba(255,255,255,.96), rgba(252,231,243,.4));
    box-shadow: 0 14px 40px rgba(91,33,182,.1);
}

.theme-zishen-clone .zs-detail-page .detail-body {
    color: var(--zs-text);
    font-size: 15px;
    line-height: 1.8;
}

.theme-zishen-clone .zs-detail-page .detail-body h2,
.theme-zishen-clone .zs-detail-page .detail-body h3,
.theme-zishen-clone .zs-detail-page .detail-body h4,
.theme-zishen-clone .zs-detail-page .detail-body strong {
    color: var(--zs-ink);
}

.theme-zishen-clone .goods-detail-tags {
    border-color: rgba(124,58,237,.12) !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,.86) !important;
    box-shadow: 0 14px 40px rgba(91,33,182,.08);
}

/* 登录、注册、页面、搜索、订单等默认视图统一玻璃化 */
.theme-zishen-clone .auth-card,
.theme-zishen-clone .page-card,
.theme-zishen-clone .search-box,
.theme-zishen-clone .empty-state,
.theme-zishen-clone .order-result-card {
    border-radius: 18px;
}

.theme-zishen-clone input,
.theme-zishen-clone textarea,
.theme-zishen-clone select {
    border-color: rgba(126,87,194,.16);
    border-radius: 10px;
    background: rgba(255,255,255,.82);
}

.theme-zishen-clone input:focus,
.theme-zishen-clone textarea:focus,
.theme-zishen-clone select:focus {
    border-color: rgba(232,72,154,.55);
    box-shadow: 0 0 0 3px rgba(232,72,154,.1);
}

/* 搜索层与移动菜单 */
.theme-zishen-clone .search-modal-stage {
    background: rgba(31,23,48,.36);
    backdrop-filter: blur(9px);
}

.theme-zishen-clone .search-modal-body {
    border: 1px solid var(--zs-line);
    border-radius: 18px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 28px 80px rgba(31,23,48,.25);
}

.theme-zishen-clone .search-modal-tab.active {
    color: #fff;
    background: linear-gradient(135deg, var(--zs-pink), var(--zs-violet));
}

.theme-zishen-clone .mobile-nav {
    border-left: 1px solid var(--zs-line);
    background: rgba(255,255,255,.97);
    box-shadow: -18px 0 50px rgba(31,23,48,.18);
    backdrop-filter: blur(18px);
}

.theme-zishen-clone .mobile-nav-item.active,
.theme-zishen-clone .mobile-nav-item:hover,
.theme-zishen-clone .mobile-nav-sub-item:hover {
    color: var(--zs-pink);
    background: rgba(252,231,243,.68);
}

/* 页脚 */
.theme-zishen-clone .zs-footer {
    position: relative;
    z-index: 3;
    flex-shrink: 0;
    margin-top: 30px;
    padding: 0 0 42px;
    color: #675e77;
    background: linear-gradient(
        180deg,
        rgba(255,255,255,.26) 0%,
        rgba(255,248,252,.48) 46%,
        rgba(250,247,255,.68) 100%
    );
    backdrop-filter: blur(5px) saturate(1.04);
    -webkit-backdrop-filter: blur(5px) saturate(1.04);
}

.theme-zishen-clone .zs-footer__wave {
    height: 4px;
    margin-bottom: 34px;
    background: linear-gradient(90deg, var(--zs-violet), var(--zs-cyan), var(--zs-pink), var(--zs-violet));
}

.theme-zishen-clone .zs-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.theme-zishen-clone .zs-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--zs-ink);
    font-weight: 900;
}

.theme-zishen-clone .zs-footer__sigil {
    color: var(--zs-pink);
    font-size: 24px;
    text-shadow: 0 0 18px rgba(232,72,154,.4);
}

.theme-zishen-clone .zs-footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.theme-zishen-clone .zs-footer__links a {
    color: #675e77;
}

.theme-zishen-clone .zs-footer__links a:hover {
    color: var(--zs-pink);
}

.theme-zishen-clone .zs-footer__copy,
.theme-zishen-clone .site-footer__icp {
    color: #847b92;
    font-size: 12px;
}

/* 响应式 */
@media (max-width: 1024px) {
    .theme-zishen-clone .main-nav.zs-nav {
        display: none;
    }

    .theme-zishen-clone .zs-header__panel {
        flex-wrap: nowrap;
    }

    .theme-zishen-clone .zs-actions {
        margin-left: auto;
    }

    .theme-zishen-clone .header-menu-btn {
        display: inline-flex;
    }

    .theme-zishen-clone .goods-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .theme-zishen-clone .blog-layout,
    .theme-zishen-clone .detail-layout {
        grid-template-columns: 1fr;
    }

    .theme-zishen-clone .detail-gallery {
        width: 100%;
    }

    .theme-zishen-clone .blog-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 720px) {
    .theme-zishen-clone {
        background-position: center top;
        background-size: auto 100vh;
    }

    .theme-zishen-clone .wrapper,
    .theme-zishen-clone .page-body,
    .theme-zishen-clone .hero {
        width: 100%;
    }

    .theme-zishen-clone .zs-header {
        padding: 8px 0 6px;
    }

    .theme-zishen-clone .zs-header__panel {
        min-height: 52px;
        padding: 7px 9px;
        border-radius: 15px;
    }

    .theme-zishen-clone .zs-logo-text {
        font-size: 1.2rem;
    }

    .theme-zishen-clone .header-action-btn,
    .theme-zishen-clone .header-user,
    .theme-zishen-clone .header-menu-btn {
        width: 40px;
        min-width: 40px;
        height: 40px;
    }

    .theme-zishen-clone .zs-order-link {
        width: auto;
        padding: 0 11px;
    }

    .theme-zishen-clone .header-user-info {
        display: none;
    }

    .theme-zishen-clone .page-body {
        padding-top: 14px;
        padding-right: 16px;
        padding-bottom: 52px;
        padding-left: 16px;
    }

    .theme-zishen-clone .site-announcement {
        margin: 22px 0 18px;
        padding: 16px 18px;
        border-radius: 16px;
    }

    .theme-zishen-clone .goods-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .theme-zishen-clone .goods-card {
        padding: 8px;
        border-radius: 14px;
    }

    .theme-zishen-clone .goods-card .card-img {
        border-radius: 10px;
    }

    .theme-zishen-clone .goods-card .card-body {
        min-height: 118px;
        padding-top: 9px;
    }

    .theme-zishen-clone .goods-card .card-title {
        min-height: 44px;
        font-size: 14px;
    }

    .theme-zishen-clone .goods-card .price {
        font-size: 17px;
    }

    .theme-zishen-clone .article-grid,
    .theme-zishen-clone .blog-sidebar {
        grid-template-columns: 1fr;
    }

    .theme-zishen-clone .zs-detail-page {
        padding-inline: 0;
    }

    .theme-zishen-clone .detail-card,
    .theme-zishen-clone .zs-detail-page > .article-detail {
        border-radius: 15px;
    }

    .theme-zishen-clone .detail-card {
        padding: 12px;
    }

    .theme-zishen-clone .detail-layout {
        gap: 14px;
    }

    .theme-zishen-clone .detail-info {
        padding: 14px;
    }

    .theme-zishen-clone .detail-name {
        font-size: 22px;
    }

    .theme-zishen-clone .detail-price {
        font-size: 27px;
    }

    .theme-zishen-clone .detail-payment-item {
        flex: 1 1 128px;
        justify-content: center;
    }

    .theme-zishen-clone .detail-actions .btn {
        width: 100%;
        max-width: none;
    }

    .theme-zishen-clone .zs-detail-page > .article-detail {
        padding: 15px;
    }

    .theme-zishen-clone .zs-footer {
        padding-bottom: 34px;
    }
}

@media (max-width: 430px) {
    .theme-zishen-clone .zs-logo-badge {
        display: none;
    }

    .theme-zishen-clone .zs-actions {
        gap: 6px;
    }

    .theme-zishen-clone .category-tabs {
        gap: 8px;
    }

    .theme-zishen-clone .category-tab {
        min-height: 44px;
        padding: 6px 10px;
    }

    .theme-zishen-clone .category-tab-icon {
        width: 28px;
        height: 28px;
    }

    .theme-zishen-clone .goods-sort-link {
        min-height: 36px;
        padding-inline: 11px;
        font-size: 13px;
    }

    .theme-zishen-clone .detail-info {
        padding: 12px;
        border-radius: 12px;
    }

    .theme-zishen-clone .detail-price-box,
    .theme-zishen-clone .spec-section,
    .theme-zishen-clone .detail-qty-row,
    .theme-zishen-clone .detail-payment-section,
    .theme-zishen-clone .detail-coupon,
    .theme-zishen-clone .detail-meta {
        padding: 10px;
    }

    .theme-zishen-clone .detail-coupon-input-row {
        align-items: stretch;
    }

    .theme-zishen-clone .detail-coupon-btn {
        flex: 0 0 auto;
    }

    .theme-zishen-clone .detail-meta-row {
        gap: 8px;
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .theme-zishen-clone *,
    .theme-zishen-clone *::before,
    .theme-zishen-clone *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
