:root {
    --brand: #496a5f;
    --brand-dark: #2d473f;
    --brand-soft: #edf3ef;
    --brand-soft-2: #f7faf7;
    --brand-ring: rgba(73, 106, 95, 0.18);
    --accent: #b8844f;
    --accent-soft: #f8ede0;
    --price: #c96b45;
    --ink: #1a2521;
    --ink-soft: #34413c;
    --muted: #6d7973;
    --muted-soft: #94a09a;
    --line: #dfe6e0;
    --line-strong: #ced8d2;
    --card: rgba(255, 255, 255, 0.92);
    --card-solid: #ffffff;
    --page-bg: #f1eee7;
    --page-bg-soft: #f7faf7;
    --shadow-soft: 0 18px 38px rgba(24, 35, 31, 0.08);
    --shadow-card: 0 26px 54px rgba(20, 30, 27, 0.09);
    --shadow-deep: 0 24px 58px rgba(16, 22, 20, 0.18);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --bodyBground: var(--page-bg-soft);
    --fontColor: var(--ink);
    --buttonBgColor: var(--brand-soft);
    --buttonBorderColor: var(--line);
    --marRadius: 14px;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    color: var(--ink);
    font-family: "Alibaba PuHuiTi 3.0", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    background:
        radial-gradient(circle at 10% 0%, rgba(184, 132, 79, 0.11), transparent 28%),
        radial-gradient(circle at 88% 4%, rgba(73, 106, 95, 0.12), transparent 24%),
        linear-gradient(180deg, #f5f0e8 0%, #f8fbf8 38%, #f3f5f1 100%);
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: auto;
    pointer-events: none;
    z-index: 0;
}

body::before {
    top: 88px;
    left: -80px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(44, 107, 92, 0.08), transparent 70%);
}

body::after {
    right: -90px;
    bottom: 120px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(185, 122, 53, 0.08), transparent 72%);
}

body.zs-menu-open {
    overflow: hidden;
}

body > main,
body > article,
body > .blog-container {
    flex: 1 0 auto;
    position: relative;
    z-index: 1;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-left: 18px;
    padding-right: 18px;
    box-sizing: border-box;
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

.header {
    position: relative;
    z-index: 90;
}

.h-fix {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: linear-gradient(135deg, rgba(249, 245, 239, 0.94), rgba(245, 250, 247, 0.96));
    border-bottom: 1px solid rgba(223, 230, 224, 0.94);
    box-shadow: 0 14px 30px rgba(26, 37, 33, 0.07);
    backdrop-filter: blur(16px);
}

.h-fix > .container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 2px;
    padding-bottom: 4px;
}

.zs-header-ribbon {
    display: flex;
    align-items: center;
    gap: 12px;
}

.zs-header-ribbon__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(221, 231, 225, 0.92);
    color: var(--muted);
    font-size: 12px;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(24, 35, 31, 0.05);
}

.zs-header-ribbon__item span:last-child {
    min-width: 0;
    max-width: 480px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.zs-header-ribbon__item--quiet {
    margin-left: auto;
    color: var(--ink-soft);
}

.zs-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), #79a395);
    box-shadow: 0 0 0 5px rgba(44, 107, 92, 0.1);
    flex: 0 0 auto;
}

.header-bar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    min-height: 72px;
}

.zs-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.logo,
.logo-text {
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
}

.logo a,
.logo-text a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    max-height: 54px;
    max-width: 190px;
    border-radius: 16px;
    object-fit: contain;
    box-shadow: 0 10px 22px rgba(26, 37, 33, 0.08);
    background: rgba(255, 255, 255, 0.76);
}

.logo-text a span {
    display: inline-block;
    max-width: min(42vw, 240px);
    background: linear-gradient(135deg, #22312b 0%, #4d7468 100%);
    color: transparent;
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-background-clip: text;
    background-clip: text;
}

.zs-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.zs-brand-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 280px;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(223, 230, 224, 0.96);
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 10px 22px rgba(24, 35, 31, 0.05);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.zs-brand-label::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), #76968c);
    box-shadow: 0 0 0 4px rgba(73, 106, 95, 0.1);
    flex: 0 0 auto;
}

.nav-container {
    min-width: 0;
}

.zs-site-nav .nav {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.zs-site-nav .nav::-webkit-scrollbar {
    display: none;
}

.zs-site-nav .nav > li {
    position: relative;
}

.zs-site-nav .nav > li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid transparent;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.22s ease;
    white-space: nowrap;
}

.zs-site-nav .nav > li > a:hover {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(221, 231, 225, 0.92);
    color: var(--ink);
    transform: translateY(-1px);
}

.zs-site-nav .nav > li.is-active > a,
.zs-site-nav .nav > li > a.is-active,
.header .nav-bar li.active > a {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(242, 249, 246, 0.98));
    border-color: rgba(44, 107, 92, 0.18);
    color: var(--ink);
    box-shadow: 0 10px 22px rgba(24, 35, 31, 0.07);
}

.zs-site-nav .dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 190px;
    margin: 0;
    padding: 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(221, 231, 225, 0.94);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.22s ease;
    z-index: 60;
}

.zs-site-nav .dropdown-menu a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 40px;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
    box-sizing: border-box;
}

.zs-site-nav .dropdown-menu a:hover,
.zs-site-nav .dropdown-menu a.is-active {
    background: var(--brand-soft);
    color: var(--brand-dark);
}

.zs-site-nav .nav > li:hover > .dropdown-menu,
.zs-site-nav .nav > li.on > .dropdown-menu,
.zs-site-nav .nav > li.is-active > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-right {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
}


.header-right-btn {
    display: flex;
    align-items: center;
    gap: 12px;
}

.zs-order-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, #54786c 0%, var(--brand-dark) 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 16px 28px rgba(45, 71, 63, 0.18);
}

.zs-order-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 34px rgba(45, 71, 63, 0.22);
    color: #fff;
}

.header-account {
    display: flex;
    align-items: center;
}

.header-auth-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid var(--line);
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.header-auth-btn.is-login {
    background: rgba(255, 255, 255, 0.86);
    color: var(--ink);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38);
}

.header-auth-btn.is-login:hover {
    background: var(--card-solid);
    border-color: var(--line-strong);
}

.header-auth-btn.is-register {
    background: linear-gradient(135deg, var(--accent), #c8945d);
    border-color: rgba(185, 122, 53, 0.1);
    color: #fff;
    box-shadow: 0 14px 24px rgba(184, 132, 79, 0.18);
}

.header-auth-btn.is-register:hover {
    transform: translateY(-1px);
}

.header-user-card {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 6px;
    border-radius: 18px;
    border: 1px solid rgba(221, 231, 225, 0.98);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(244, 248, 245, 0.92));
    box-shadow: 0 12px 26px rgba(24, 35, 31, 0.06);
    transition: all 0.22s ease;
}

.header-user-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(24, 35, 31, 0.08);
}

.header-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 14px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.96);
    background: #eef4f1;
}

.header-user-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.header-user-name {
    max-width: 128px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-user-balance {
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap;
}

.m-btn,
.zs-mobile-close {
    border: 0;
    cursor: pointer;
}

.m-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(221, 231, 225, 0.92);
    color: var(--ink);
    box-shadow: 0 10px 22px rgba(24, 35, 31, 0.06);
    transition: all 0.2s ease;
}

.m-btn:hover {
    background: var(--card-solid);
    transform: translateY(-1px);
}

.m-btn i.fa,
.zs-mobile-close i.fa {
    font-size: 16px;
}

#mask {
    position: fixed;
    inset: 0;
    background: rgba(18, 24, 22, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 9997;
}

#mask.is-visible {
    opacity: 1;
    visibility: visible;
}

.zs-mobile-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(90vw, 368px);
    height: 100vh;
    padding: 18px 16px 18px 0;
    box-sizing: border-box;
    transform: translateX(105%);
    transition: transform 0.28s ease;
    z-index: 9998;
}

.zs-mobile-panel.is-open {
    transform: translateX(0);
}

.zs-mobile-panel__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 22px 18px 24px;
    border-radius: 30px 0 0 30px;
    background: linear-gradient(180deg, rgba(248, 243, 236, 0.98), rgba(245, 250, 247, 0.98));
    border: 1px solid rgba(221, 231, 225, 0.94);
    box-shadow: var(--shadow-deep);
    overflow-y: auto;
}

.zs-mobile-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.zs-mobile-panel__title {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.zs-mobile-panel__eyebrow {
    color: var(--brand);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.zs-mobile-panel__title strong {
    color: var(--ink);
    font-size: 20px;
    line-height: 1.2;
}

.zs-mobile-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--ink);
    box-shadow: 0 8px 16px rgba(24, 35, 31, 0.08);
}

.zs-mobile-panel__summary {
    margin-top: 18px;
    padding: 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 248, 243, 0.94));
    border: 1px solid rgba(221, 231, 225, 0.94);
    box-shadow: var(--shadow-soft);
}

.zs-mobile-panel__summary p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.zs-mobile-panel__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.zs-mobile-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(221, 231, 225, 0.92);
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
}

.zs-mobile-chip.is-accent {
    background: linear-gradient(135deg, var(--brand-dark), #54786c);
    border-color: transparent;
    color: #fff;
}

.zs-mobile-nav {
    margin-top: 18px;
}

.zs-mobile-nav .nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.zs-mobile-nav li {
    position: relative;
}

.zs-mobile-nav li > a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(221, 231, 225, 0.86);
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 600;
    box-sizing: border-box;
}

.zs-mobile-nav li.has-children > a {
    padding-right: 54px;
}

.zs-mobile-nav li.is-active > a,
.zs-mobile-nav li > a.is-active {
    background: var(--card-solid);
    color: var(--ink);
    box-shadow: 0 10px 18px rgba(24, 35, 31, 0.08);
}

.zs-mobile-toggle {
    position: absolute;
    top: 9px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: rgba(44, 107, 92, 0.08);
    color: var(--brand-dark);
}

.zs-mobile-toggle i.fa {
    transition: transform 0.2s ease;
}

.zs-mobile-nav li.is-open > .zs-mobile-toggle i.fa {
    transform: rotate(180deg);
}

.zs-mobile-nav .dropdown-menu {
    display: none;
    margin-top: 8px;
    padding: 0 0 0 10px;
}

.zs-mobile-nav li.is-open > .dropdown-menu,
.zs-mobile-nav li.is-active > .dropdown-menu {
    display: block;
}

.zs-mobile-nav .dropdown-menu a {
    min-height: 42px;
    border-radius: 14px;
    font-size: 13px;
    background: rgba(244, 248, 245, 0.92);
}

#zhanwei {
    width: 100%;
    position: relative;
    z-index: 1;
}

.main-footer {
    position: relative;
    z-index: 1;
    margin-top: 34px;
    padding: 0 0 24px;
    color: #eef4f1;
}

.zs-footer-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border-radius: var(--radius-xl);
    background: linear-gradient(145deg, rgba(24, 35, 31, 0.97), rgba(39, 56, 51, 0.99));
    box-shadow: var(--shadow-deep);
}

.zs-footer-card::before,
.zs-footer-card::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.zs-footer-card::before {
    top: -88px;
    right: -42px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(185, 122, 53, 0.24), transparent 68%);
}

.zs-footer-card::after {
    bottom: -90px;
    left: -32px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(44, 107, 92, 0.26), transparent 70%);
}

.zs-footer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
}

.zs-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.zs-footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.zs-footer-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 18px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.zs-footer-mark.is-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.08);
}

.zs-footer-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.zs-footer-subtitle {
    color: rgba(238, 244, 241, 0.56);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.zs-footer-desc {
    max-width: 460px;
    color: rgba(238, 244, 241, 0.74);
    font-size: 13px;
    line-height: 1.8;
}

.zs-footer-side {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.zs-footer-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.zs-footer-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.11);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.zs-footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.zs-footer-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.zs-footer-links a:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.zs-footer-links a span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.zs-footer-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.zs-footer-meta-card {
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.zs-footer-meta-card.is-light {
    background: rgba(255, 255, 255, 0.05);
}

.zs-footer-meta-title {
    margin-bottom: 10px;
    color: rgba(238, 244, 241, 0.56);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.copyright {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    align-items: center;
    color: rgba(238, 244, 241, 0.86);
    font-size: 12px;
    line-height: 1.7;
}

.copyright a {
    color: #fff;
    opacity: 0.88;
}

.copyright a:hover {
    opacity: 1;
}

.divider {
    opacity: 0.34;
}

.footer-nav {
    display: none;
}

.footer-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 58px;
    border-radius: 18px;
    color: var(--muted-soft);
    font-size: 11px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.footer-nav .nav-item.active {
    color: #fff;
    background: linear-gradient(135deg, var(--brand-dark), #53786b);
    box-shadow: 0 12px 20px rgba(31, 79, 68, 0.24);
}

.footer-nav .nav-icon {
    font-size: 18px;
}

.transition {
    transition: all 0.3s ease;
}

/* Coupon input */
.coupon-input-wrap {
    position: relative;
}

.coupon-input-wrap .coupon-input {
    padding-right: 86px;
    background: #f8fafb;
    border: 1px solid var(--line);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.coupon-input-wrap .coupon-input:focus {
    background: #fff;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-ring);
}

.coupon-input-wrap .coupon-input:disabled {
    background: #f1f3f5;
    color: #9aa3af;
    border-color: #e5e7eb;
}

.coupon-input-wrap .coupon-apply-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    height: 30px;
    line-height: 30px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    background: linear-gradient(135deg, #6f9f91 0%, #88b0a4 100%);
    color: #fff;
    border: none;
    box-shadow: 0 2px 8px rgba(76, 125, 113, 0.25);
}

.coupon-input-wrap .coupon-apply-btn:hover {
    filter: brightness(1.04);
}

.coupon-input-wrap .coupon-apply-btn.layui-btn-disabled,
.coupon-input-wrap .coupon-apply-btn:disabled {
    background: #f1f3f5;
    color: #9aa3af;
    border: 1px solid #e5e7eb;
    box-shadow: none;
}

.coupon-change-link {
    margin-left: 6px;
    font-size: 12px;
    color: var(--brand);
    text-decoration: none;
    display: none;
}

.coupon-change-link:hover {
    text-decoration: underline;
}

.coupon-tip {
    display: none;
    margin-top: 6px;
    font-size: 12px;
    color: #ff4d4f;
}

@media (max-width: 1080px) {
    .header-auth-links {
        gap: 6px;
    }

    .header-auth-btn {
        padding: 0 14px;
    }
}

@media (max-width: 860px) {
    .h-fix > .container {
        gap: 10px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .zs-header-ribbon {
        display: none;
    }

    .header-bar {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
        min-height: 60px;
    }

    .nav-container,
    .header-account,
    .zs-order-link {
        display: none;
    }

    .header-right::before {
        content: none;
    }

    .m-btn {
        display: inline-flex;
    }

    .logo img {
        max-height: 46px;
    }

    .logo-text a span {
        max-width: 58vw;
        font-size: 22px;
    }

    .zs-footer-grid {
        grid-template-columns: 1fr;
    }

    .zs-footer-side,
    .zs-footer-pills {
        justify-content: flex-start;
    }

    .footer-nav {
        position: fixed;
        left: 14px;
        right: 14px;
        bottom: 14px;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        padding: 12px;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.96);
        box-shadow: 0 18px 34px rgba(24, 35, 31, 0.14);
        backdrop-filter: blur(16px);
        z-index: 9996;
    }

    body.has-mobile-footer {
        padding-bottom: 94px;
    }
}

@media (max-width: 640px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .logo-text a span {
        font-size: 20px;
    }

    .zs-mobile-panel {
        width: 100%;
        padding-right: 0;
    }

    .zs-mobile-panel__inner {
        border-radius: 24px 0 0 24px;
    }

    .zs-footer-card {
        padding: 22px 20px;
        border-radius: 24px;
    }

    .zs-footer-title {
        font-size: 20px;
    }

    .copyright {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .divider {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* === ZISHEN_GOODS_LIST_START === */
.goods-page {
        --brand: #496a5f;
        --brand-dark: #2d473f;
        --brand-soft: #edf3ef;
        --accent: #c96b45;
        --ink: #1a2521;
        --muted: #6d7973;
        --card: rgba(255, 255, 255, 0.9);
        --line: #dfe6e0;
        font-family: "Alibaba PuHuiTi 3.0", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
        background: linear-gradient(180deg, #f5f0e8 0%, #f8fbf8 58%, #f3f5f1 100%);
        position: relative;
        padding: 24px 0 50px;
        min-width: 1200px;
    }
    .goods-page::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 15% 10%, rgba(73, 106, 95, 0.12), transparent 45%),
                    radial-gradient(circle at 85% 0%, rgba(184, 132, 79, 0.1), transparent 40%);
        pointer-events: none;
        z-index: 0;
    }

    .goods-shell {
        position: relative;
        z-index: 1;
        max-width: 1240px;
        min-width: 1200px;
        margin: 0 auto;
        padding: 0 18px;
        display: grid;
        grid-template-columns: 260px minmax(0, 1fr) 300px;
        gap: 20px;
        align-items: start;
    }
    .goods-shell.no-category {
        grid-template-columns: minmax(0, 1fr) 300px;
    }
    .goods-shell.no-notice {
        grid-template-columns: 260px minmax(0, 1fr);
    }
    .goods-shell.no-category.no-notice {
        grid-template-columns: minmax(0, 1fr);
    }

    .panel-card {
        background: var(--card);
        border-radius: 18px;
        border: 1px solid var(--line);
        box-shadow: 0 16px 30px rgba(31, 45, 42, 0.06);
    }

    .category-panel {
        padding: 16px;
        position: sticky;
        top: 85px;
        max-height: calc(100vh - 110px);
        overflow: auto;
    }
    .category-panel::-webkit-scrollbar {
        width: 0;
    }
    .panel-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 14px;
    }
    .panel-title {
        font-size: 16px;
        font-weight: 700;
        color: var(--ink);
    }
    .panel-sub {
        font-size: 12px;
        color: var(--muted);
        background: #f3f7f5;
        padding: 4px 8px;
        border-radius: 999px;
    }

    .category-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .category-card {
        background: #fbfcfb;
        border: 1px solid #eef2f1;
        border-radius: 14px;
        padding: 12px;
        transition: border 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
        animation: floatUp 0.6s ease both;
    }
    .category-card:hover {
        border-color: rgba(76, 125, 113, 0.4);
        box-shadow: 0 12px 20px rgba(76, 125, 113, 0.12);
        transform: translateY(-2px);
    }
    .category-item {
        display: flex;
        align-items: center;
        gap: 12px;
        text-decoration: none;
        color: var(--ink);
        padding: 6px;
        border-radius: 12px;
        border: 1px solid transparent;
        transition: background 0.2s ease, border 0.2s ease, color 0.2s ease;
    }
    .subcategory-toggle {
        margin-left: auto;
        width: 26px;
        height: 26px;
        border-radius: 50%;
        display: none;
        align-items: center;
        justify-content: center;
        background: #f1f5f3;
        border: 1px solid #e0e7e3;
        color: #6d7a76;
        font-size: 12px;
        transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
    }
    .subcategory-toggle:hover {
        background: var(--brand-soft);
        color: var(--brand);
    }
    .subcategory-toggle i {
        transition: transform 0.2s ease;
    }
    .category-card.is-expanded .subcategory-toggle i {
        transform: rotate(180deg);
    }
    .category-card.is-active {
        border-color: rgba(76, 125, 113, 0.5);
        box-shadow: 0 14px 24px rgba(76, 125, 113, 0.18);
        background: #f6fbf9;
    }
    .category-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        background: #f2f5f3;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        flex-shrink: 0;
        border: 1px solid #e6ece8;
    }
    .category-icon img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .category-text {
        display: flex;
        flex-direction: column;
        min-width: 0;
        flex: 1;
        gap: 4px;
    }
    .category-name {
        font-size: 14px;
        font-weight: 600;
        color: inherit;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .category-count {
        font-size: 12px;
        color: var(--muted);
    }
    .category-count strong {
        color: var(--brand);
    }

    .subcategory-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 10px;
        padding-left: 6px;
    }
    .subcategory-item {
        font-size: 12px;
        color: #54605c;
        background: #f5f7f6;
        border: 1px solid #e6ece8;
        border-radius: 999px;
        padding: 5px 10px;
        text-decoration: none;
        transition: all 0.2s ease;
    }
    .subcategory-item:hover {
        background: var(--brand-soft);
        border-color: var(--brand);
        color: var(--brand);
    }
    .subcategory-item.is-active {
        background: var(--brand);
        border-color: var(--brand);
        color: #fff;
        box-shadow: 0 6px 12px rgba(76, 125, 113, 0.2);
    }
    .goods-page.is-collapsible .subcategory-toggle {
        display: inline-flex;
    }
    .goods-page.is-collapsible .subcategory-list {
        display: none;
    }
    .goods-page.is-collapsible .category-card.is-expanded .subcategory-list {
        display: flex;
    }

    .goods-main {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    .goods-header {
        padding: 16px 18px;
        border-radius: 18px;
        border: 1px solid var(--line);
        background: var(--card);
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-shadow: 0 10px 20px rgba(31, 45, 42, 0.04);
    }
    .goods-title {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }
    .goods-title .title-text {
        font-size: 20px;
        font-weight: 700;
        color: var(--ink);
    }
    .goods-title .title-sub {
        font-size: 12px;
        color: var(--muted);
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }
    .goods-title .title-sub::before {
        content: "";
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--brand);
        display: inline-block;
    }

    .goods-search {
        border-radius: 18px;
        border: 1px solid var(--line);
        background: linear-gradient(135deg, #ffffff 0%, #f8fcfa 100%);
        padding: 16px 14px 12px;
        box-shadow: 0 12px 24px rgba(31, 45, 42, 0.04);
    }
    .goods-search-form {
        display: block;
    }
    .search-box {
        position: relative;
        display: flex;
        align-items: center;
        height: 46px;
        border-radius: 14px;
        border: 1px solid #dfe9e4;
        background: #fff;
        padding-left: 34px;
        padding-right: 86px;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }
    .search-box:focus-within {
        border-color: rgba(76, 125, 113, 0.55);
        box-shadow: 0 0 0 4px rgba(76, 125, 113, 0.12);
    }
    .search-input-icon {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: #8ea29c;
        font-size: 14px;
        pointer-events: none;
    }
    .goods-search-input {
        width: 100%;
        height: 100%;
        border: 0;
        background: transparent;
        padding: 0;
        font-size: 14px;
        color: var(--ink);
    }
    .goods-search-input::placeholder {
        color: #9aaba6;
    }
    .goods-search-input:focus {
        outline: none;
    }
    .search-clear {
        position: absolute;
        right: 84px;
        top: 50%;
        transform: translateY(-50%);
        width: 22px;
        height: 22px;
        border: 0;
        border-radius: 50%;
        background: transparent;
        color: #9aa8a3;
        cursor: pointer;
        display: none;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
        z-index: 2;
    }
    .search-clear.is-visible {
        display: inline-flex;
    }
    .search-clear:hover {
        background: #f1f5f3;
        color: #5f706b;
    }
    .search-btn {
        position: absolute;
        right: 4px;
        top: 4px;
        bottom: 4px;
        width: 74px;
        border-radius: 10px;
        border: 0;
        background: linear-gradient(135deg, var(--brand) 0%, #5d8f82 100%);
        color: #fff;
        font-size: 13px;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        white-space: nowrap;
        cursor: pointer;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .search-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 16px rgba(76, 125, 113, 0.3);
    }
    .search-tip {
        min-height: 18px;
        margin-top: 10px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 12px;
        color: #80908b;
    }
    .search-tip .tip-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #9bb3ab;
        transition: all 0.25s ease;
    }
    .search-tip.is-searching .tip-dot {
        background: var(--accent);
        box-shadow: 0 0 0 6px rgba(201, 107, 69, 0.14);
    }

    .goods-list-section {
        border-radius: 18px;
        border: 1px solid var(--line);
        background: var(--card);
        padding: 18px;
        box-shadow: 0 12px 24px rgba(31, 45, 42, 0.04);
    }
    #goods-list-wrapper {
        transition: opacity 0.25s ease, transform 0.25s ease;
    }
    #goods-list-wrapper.is-loading {
        opacity: 0.6;
        transform: translateY(4px);
    }
    #goods-list-wrapper.is-loaded {
        animation: goodsFadeIn 0.35s ease;
    }
    @keyframes goodsFadeIn {
        from { opacity: 0; transform: translateY(8px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .goods-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
    .goods-card {
        display: flex;
        gap: 12px;
        padding: 12px;
        border-radius: 16px;
        border: 1px solid #eef2f1;
        text-decoration: none;
        background: #fff;
        transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.25s ease;
        position: relative;
        overflow: hidden;
        animation: floatUp 0.6s ease both;
    }
    .goods-card:hover {
        border-color: rgba(76, 125, 113, 0.35);
        box-shadow: 0 16px 26px rgba(76, 125, 113, 0.16);
        transform: translateY(-3px);
    }
    .goods-cover {
        width: 110px;
        height: 110px;
        border-radius: 14px;
        overflow: hidden;
        position: relative;
        background: #f3f5f4;
        flex-shrink: 0;
        border: 1px solid #e7ece9;
    }
    .goods-cover img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }
    .goods-card:hover .goods-cover img {
        transform: scale(1.08);
    }
    .deliver-pill {
        font-size: 11px;
        padding: 4px 8px;
        border-radius: 999px;
        background: #f6f8f7;
        border: 1px solid #e6ece8;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-weight: 600;
    }
    .deliver-pill.auto {
        color: #15a36c;
    }
    .deliver-pill.manual {
        color: #d46b08;
    }

    .goods-body {
        display: flex;
        flex-direction: column;
        min-width: 0;
        flex: 1;
        gap: 6px;
    }
    .goods-name {
        font-size: 15px;
        font-weight: 600;
        color: var(--ink);
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .goods-desc {
        font-size: 12px;
        color: var(--muted);
        line-height: 1.4;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .goods-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    .stat-pill {
        font-size: 11px;
        color: #5f6b67;
        background: #f6f8f7;
        border: 1px solid #e6ece8;
        border-radius: 999px;
        padding: 4px 8px;
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }
    .stat-pill .value {
        font-weight: 600;
    }
    .stat-pill.stock .value {
        color: #2f6fed;
    }
    .stat-pill.sales .value {
        color: #15a36c;
    }

    .goods-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: auto;
        gap: 10px;
    }
    .goods-price {
        display: flex;
        align-items: baseline;
        gap: 6px;
        color: var(--accent);
        font-weight: 700;
        font-size: 18px;
    }
    .goods-price .currency {
        font-size: 12px;
        font-weight: 600;
        color: var(--accent);
    }
    .market-price {
        font-size: 12px;
        color: #b6bcbc;
        text-decoration: line-through;
        font-weight: 500;
    }
    .buy-cta {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        border: 1px solid rgba(76, 125, 113, 0.3);
        background: #f2fcf9;
        color: var(--brand);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
    }
    .goods-card:hover .buy-cta {
        background: var(--brand);
        color: #fff;
        border-color: var(--brand);
        box-shadow: 0 6px 12px rgba(76, 125, 113, 0.3);
    }

    .right-sidebar {
        position: sticky;
        top: 85px;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    .notice-panel {
        padding: 16px;
    }
    .notice-header {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 16px;
        font-weight: 700;
        color: var(--ink);
        margin-bottom: 12px;
    }
    .notice-header i {
        color: var(--brand);
    }
    .notice-body {
        font-size: 13px;
        line-height: 1.8;
        color: #5e6b66;
        background: #f9fbfa;
        border-radius: 12px;
        padding: 14px;
        border: 1px dashed #e1e8e4;
    }
    .notice-body a {
        color: var(--brand);
        text-decoration: underline;
    }
    .notice-body a:hover {
        color: var(--brand-dark);
    }

    .empty-container {
        padding: 50px 0;
        text-align: center;
        color: #8a9591;
    }
    .empty-icon {
        font-size: 52px;
        color: #d7dddb;
        margin-bottom: 16px;
    }
    .empty-text {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .skeleton-card {
        display: flex;
        gap: 12px;
        padding: 12px;
        border-radius: 16px;
        border: 1px solid #eef2f1;
        background: #fff;
    }
    .skeleton-cover {
        width: 110px;
        height: 110px;
        border-radius: 14px;
        background: #f1f3f2;
        position: relative;
        overflow: hidden;
        flex-shrink: 0;
    }
    .skeleton-line {
        height: 12px;
        border-radius: 999px;
        background: #f1f3f2;
        margin-bottom: 10px;
        position: relative;
        overflow: hidden;
    }
    .skeleton-line.short {
        width: 60%;
    }
    .skeleton-line.tiny {
        width: 40%;
    }
    .skeleton-shimmer::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.7), rgba(255,255,255,0));
        transform: translateX(-100%);
        animation: shimmer 1.2s infinite;
    }
    @keyframes shimmer {
        100% { transform: translateX(100%); }
    }

    @keyframes floatUp {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    @media (prefers-reduced-motion: reduce) {
        * {
            animation: none !important;
            transition: none !important;
        }
    }
/* === ZISHEN_GOODS_LIST_END === */

/* === ZISHEN_GOODS_DETAIL_START === */
/* 全局布局优化 - 左右分栏 */
    .goods-con {
        width: 1220px;
        margin: 0 auto;
        background: #fff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        display: flex;
        gap: 0;
        align-items: stretch;
        position: relative;
        margin-top: 22px;
    }
    
    /* 左侧内容区域 */
    .goods-left {
        flex: 1;
        padding: 30px;
        border-right: 1px solid #f0f2f5;
        min-width: 0;
        display: flex;
        flex-direction: column;
    }
    
    /* 右侧容器 */
    .goods-right-wrapper {
        width: 380px;
        flex-shrink: 0;
        position: relative;
        background: #fafbfc;
    }
    
    /* 右侧购买区域 */
    .goods-right {
        padding: 30px 25px;
        display: flex;
        flex-direction: column;
        position: -webkit-sticky;
        position: sticky;
        top: 20px;
    }
    
    /* 商品封面图 - 缩小尺寸 */
    .goods-detail-cover {
        width: 100%;
        max-width: 400px;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        margin-bottom: 25px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    
    .card-title {
        font-size: 24px;
        font-weight: 600;
        color: #1a1a1a;
        margin-bottom: 15px;
        line-height: 1.4;
    }
    
    .des {
        color: #666;
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 20px;
        padding: 0;
        background: transparent;
        border: none;
    }
    
    .tag {
        margin-bottom: 15px;
    }
    
    .tag .badge {
        font-size: 11px;
        padding: 3px 8px;
        border-radius: 20px;
        font-weight: 500;
        border: none;
        box-shadow: 0 2px 6px rgba(0,0,0,0.08);
        transition: all 0.2s ease;
    }
    
    .tag .badge-success {
        background: linear-gradient(135deg, #e8f9f0 0%, #d0f2e4 100%);
        color: #3aa76d;
    }
    
    .tag .badge-primary {
        background: linear-gradient(135deg, #eefcf8 0%, #ddf0e8 100%);
        color: #4C7D71;
    }
    
    .tag .badge-danger {
        background: linear-gradient(135deg, #fdeeee 0%, #f9e1e1 100%);
        color: #e74c3c;
    }
    
    /* 价格和元信息优化 */
    .goods-detail-price {
        display: inline-flex;
        align-items: baseline;
        margin-bottom: 8px;
    }
    
    .goods-detail-price .name {
        font-size: 14px;
        color: #666;
        margin-right: 6px;
    }
    
    .goods-detail-price .currency {
        font-size: 14px;
        color: #ff4d4f;
        font-weight: 600;
        margin-right: 2px;
    }
    
    .goods-detail-price .price {
        font-size: 24px;
        color: #ff4d4f;
        font-weight: 700;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    }
    
    .goods-sales, .goods-stock {
        display: inline-flex;
        align-items: center;
        margin-right: 15px;
        font-size: 13px;
        color: #666;
        background: #f8f9fa;
        padding: 4px 8px;
        border-radius: 6px;
        margin-bottom: 8px;
    }
    
    .goods-sales .value, .goods-stock .value {
        font-weight: 500;
        color: #333;
        margin-left: 4px;
    }
    
    .intro{
        overflow-wrap: break-word;
        word-wrap: break-word;
        word-break: break-all;
    }
    .intro img{
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        margin: 10px 0;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    .intro a {
        color: #4C7D71;
        text-decoration: none;
        font-weight: 500;
    }
    .intro a:hover {
        text-decoration: underline;
        color: #366358;
    }
    @media (max-width: 850px) {
        .card-body.goods-attr{
            padding: 1rem 0.5rem 1rem 0;
        }
        .goods-con .cover{
            padding-left: 5px;
        }
        .goods-con .con-1 .cover{
            width: 100px;
        }
        .goods-con .goods-body .card-title{
            /*font-size: 1.1rem;*/
            font-weight: 500;
        }
        .goods-con .con-1 .goods-body{
            width: calc(100% - 105px);
        }
    }
    .drawer-content {
        /*max-height: 50vh;*/
        /*overflow-y: auto;*/
        /*padding: 15px;*/
    }
    /* 右侧购买区域样式调整 */
    .goods-right .form-group {
        background: #fff;
        border: 1px solid #f0f2f5;
        border-radius: 10px;
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .goods-right .form-title {
        font-size: 14px;
        color: #333;
        margin-bottom: 12px;
        font-weight: 600;
        display: flex;
        align-items: center;
    }
    
    .goods-right .form-title i {
        margin-right: 6px;
        color: #4C7D71;
        font-size: 12px;
    }
    
    .goods-right .spec-options {
        gap: 8px;
    }
    
    .goods-right .spec-option {
        padding: 8px 20px 8px 20px;
        font-size: 13px;
        position: relative;
    }
    
    .goods-right .quantity-selector {
        margin-top: 0;
    }
    
    .goods-right .payment-methods {
        gap: 8px;
    }
    
    .goods-right .payment-item {
        width: 100%;
        padding: 12px;
        margin-bottom: 8px;
    }
    
    /* 底部购买按钮 */
    .goods-right .drawer-footer {
        padding: 0;
        background: transparent;
        border-radius: 0;
        border: none;
        margin: 20px 0 0;
    }
    
    .goods-right .drawer-actions {
        display: block;
        gap: 0;
    }
    
    .goods-right .drawer-btn {
        width: 100%;
        padding: 15px;
        border-radius: 10px;
        border: none;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
        position: relative;
        overflow: hidden;
    }
    
    .goods-right .buy-btn-g {
        background: linear-gradient(135deg, #4C7D71 0%, #366358 100%);
        color: #fff;
        box-shadow: 0 4px 15px rgba(76, 125, 113, 0.3);
    }
    
    .goods-right .buy-btn-g:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(76, 125, 113, 0.4);
    }
    
    .goods-right .total-price {
        font-weight: 600;
        font-size: 16px;
        color: #fff;
        margin-left: 8px;
    }
    .mask {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0,0,0,0.5);
        z-index: 1005;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    .mask.open {
        opacity: 1;
        pointer-events: auto;
    }

    /* 规格选择样式优化 */
    .form-group {
        margin-bottom: 20px;
        padding: 15px;
        background: #fafbfc;
        border-radius: 10px;
        border: 1px solid #f0f2f5;
    }
    .spec-title {
        font-size: 15px;
        color: #333;
        margin-bottom: 15px;
        align-items: center;
        font-weight: 600;
        display: flex;
        align-items: center;
    }
    .spec-title i {
        margin-right: 8px;
        color: #4C7D71;
        font-size: 14px;
    }
    .spec-options {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .spec-option {
        padding: 10px 16px;
        border: 1px solid #e1e4e8;
        border-radius: 8px;
        font-size: 14px;
        cursor: pointer;
        transition: all 0.2s;
        background-color: #fff;
        font-weight: 500;
        position: relative;
        overflow: hidden;
    }
    .spec-option:hover {
        border-color: #4C7D71;
        background-color: #f8fcf8;
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(76, 125, 113, 0.15);
    }
    .spec-option.active {
        border-color: #4C7D71;
        color: #4C7D71;
        background-color: #eefcf8;
        position: relative;
        font-weight: 600;
        box-shadow: 0 2px 8px rgba(76, 125, 113, 0.2);
    }
    .spec-option.active::after {
        content: "✓";
        position: absolute;
        right: 8px;
        top: 15px;
        font-size: 12px;
        font-weight: bold;
        color: #4C7D71;
    }
    .spec-option.disabled {
        color: #999;
        border-color: #f0f0f0;
        background-color: #fafafa;
        cursor: not-allowed;
        opacity: 0.6;
    }

    /* 数量选择器优化 */
    .quantity-selector {
        display: flex;
        align-items: center;
        margin-top: 5px;
        gap: 0;
    }
    .quantity-btn {
        width: 38px;
        height: 38px;
        border: 1px solid #e1e4e8;
        border-radius: 8px;
        background-color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 16px;
        transition: all 0.2s;
        color: #666;
    }
    .quantity-btn:hover {
        border-color: #4C7D71;
        color: #4C7D71;
        background-color: #f8fcf8;
    }
    .quantity-input {
        width: 50px;
        height: 38px;
        border: 1px solid #e1e4e8;
        border-left: none;
        border-right: none;
        text-align: center;
        margin: 0;
        font-size: 16px;
        font-weight: 500;
        background: #fff;
    }
    .quantity-input:focus {
        outline: none;
        border-color: #4C7D71;
    }

    body.goods-detail-page .footer-nav{
        display: none;
    }


    /* 支付方式优化 */
    .payment-methods {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        flex-direction: unset;
    }
    .payment-item {
        width: calc(50% - 6px);
        padding: 15px;
        border: 1px solid #e1e4e8;
        border-radius: 10px;
        cursor: pointer;
        transition: all 0.3s;
        display: flex;
        align-items: center;
        box-sizing: border-box;
        background-color: #fff;
        position: relative;
        overflow: hidden;
    }
    .payment-item:hover {
        border-color: #4C7D71;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(76, 125, 113, 0.15);
    }
    .payment-item.active {
        border-color: #4C7D71;
        background-color: #eefcf8;
        box-shadow: 0 2px 8px rgba(76, 125, 113, 0.2);
    }
    .payment-icon {
        width: 42px;
        height: 42px;
        margin-right: 12px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    }
    .payment-icon img {
        width: 26px;
        height: 26px;
        transition: transform 0.2s;
    }
    .payment-item:hover .payment-icon img {
        transform: scale(1.1);
    }
    .payment-info {
        flex: 1;
        min-width: 0;
    }
    .payment-name {
        font-size: 15px;
        color: #333;
        margin-bottom: 2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: 500;
    }
    .payment-desc {
        font-size: 12px;
        color: #666;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .payment-checked {
        color: #4C7D71;
        font-size: 22px;
        display: none;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }
    .payment-item.active .payment-checked {
        display: block;
    }
    /* 金额显示优化 */
    .amount-bar {
        padding: 15px 20px;
        background: linear-gradient(135deg, #fff9e6 0%, #fff 100%);
        border: 1px solid #ffeaa7;
        border-radius: 10px;
        margin: 15px 0;
        font-size: 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .amount-bar span {
        color: #ff4d4f;
        font-size: 20px;
        font-weight: 700;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    }
    .confirm-btn {
        padding: 15px 20px;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
        box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
        box-sizing: border-box;
        border-top: 1px solid #e9ecef;
    }
    .confirm-btn button {
        width: 100%;
        height: 50px;
        font-size: 16px;
        font-weight: 600;
        border-radius: 10px;
        background: linear-gradient(135deg, #4C7D71 0%, #366358 100%);
        border: none;
        color: #fff;
        transition: all 0.3s;
    }
    .confirm-btn button:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(76, 125, 113, 0.3);
    }

    /* 适配小屏手机 */
    @media (max-width: 320px) {
        .payment-name {
            font-size: 14px;
        }
        .payment-icon {
            width: 32px;
            height: 32px;
        }
        .payment-icon img {
            width: 20px;
            height: 20px;
        }
    }


    /* 商品详情区域 - 在左侧下方 */
    .goods-detail-section {
        padding-top: 30px;
        border-top: 1px solid #f0f2f5;
    }
    
    .goods-detail-title {
        font-size: 18px;
        font-weight: 600;
        color: #333;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
    }
    
    .goods-detail-title i {
        color: #4C7D71;
        margin-right: 8px;
        font-size: 16px;
    }
    
    .goods-detail {
        line-height: 1.8;
        color: #333;
        font-size: 15px;
    }
    
    .goods-detail p {
        margin-bottom: 15px;
        text-align: justify;
    }
    
    .goods-detail h1, .goods-detail h2, .goods-detail h3 {
        margin: 20px 0 15px;
        color: #1a1a1a;
        font-weight: 600;
    }
    
    .goods-detail h1 { font-size: 24px; }
    .goods-detail h2 { font-size: 20px; }
    .goods-detail h3 { font-size: 18px; }
    
    .goods-detail ul, .goods-detail ol {
        margin: 15px 0;
        padding-left: 25px;
    }
    
    .goods-detail li {
        margin-bottom: 8px;
        line-height: 1.6;
    }

    /* 弹窗核心美化 */
    body.goods-detail-page .layui-layer {
        border-radius: 16px !important;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
        overflow: hidden !important;
        border: none !important;
        backdrop-filter: blur(10px);
    }

    /* 标题栏美化 */
    body.goods-detail-page .layui-layer-title {
        background: linear-gradient(135deg, #4C7D71 0%, #366358 100%) !important;
        color: white !important;
        font-size: 18px !important;
        padding: 18px 24px !important;
        border-bottom: none !important;
        position: relative;
        line-height: 22px;
        font-weight: 600;
    }

    /* 关闭按钮美化 */
    body.goods-detail-page .layui-layer-setwin .layui-layer-close1 {
        width: 32px !important;
        height: 32px !important;
        background: rgba(255,255,255,0.2) !important;
        border-radius: 50% !important;
        top: 12px !important;
        right: 12px !important;
        transition: all 0.3s !important;
        color: #fff !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 16px !important;
    }

    body.goods-detail-page .layui-layer-setwin .layui-layer-close1:hover {
        background: rgba(255,255,255,0.3) !important;
        transform: rotate(90deg) !important;
    }

    /* 统一主题色覆盖 */
    .goods-con {
        background: rgba(255, 255, 255, 0.92);
        border: 1px solid var(--line);
        border-radius: 18px;
        box-shadow: 0 22px 52px rgba(24, 35, 31, 0.08);
    }

    .goods-left {
        border-right-color: var(--line);
    }

    .goods-right-wrapper {
        background: linear-gradient(180deg, rgba(247, 250, 247, 0.96) 0%, rgba(237, 243, 239, 0.72) 100%);
    }

    .card-title,
    .goods-detail,
    .goods-detail h1,
    .goods-detail h2,
    .goods-detail h3,
    .goods-detail-title,
    .payment-name {
        color: var(--ink);
    }

    .des,
    .goods-detail-price .name,
    .goods-sales,
    .goods-stock,
    .payment-desc,
    .goods-detail p {
        color: var(--muted);
    }

    .goods-detail-price .currency,
    .goods-detail-price .price,
    .amount-bar span {
        color: var(--price);
    }

    .goods-sales,
    .goods-stock {
        background: rgba(73, 106, 95, 0.07);
        border: 1px solid rgba(73, 106, 95, 0.08);
    }

    .goods-sales .value,
    .goods-stock .value,
    .goods-right .form-title,
    .spec-title,
    .payment-name {
        color: var(--ink-soft);
    }

    .tag .badge-success {
        background: linear-gradient(135deg, #edf8f0 0%, #dceee0 100%);
        color: #2f8f63;
    }

    .tag .badge-primary {
        background: linear-gradient(135deg, var(--brand-soft) 0%, #dfe9e3 100%);
        color: var(--brand-dark);
    }

    .tag .badge-danger {
        background: linear-gradient(135deg, #fff1ec 0%, #f7ded6 100%);
        color: var(--price);
    }

    .intro a,
    .goods-detail-title i,
    .goods-right .form-title i,
    .spec-title i,
    .payment-checked {
        color: var(--brand);
    }

    .intro a:hover {
        color: var(--brand-dark);
    }

    .goods-right .form-group,
    .form-group {
        background: rgba(255, 255, 255, 0.84);
        border-color: var(--line);
    }

    .spec-option,
    .payment-item,
    .quantity-btn,
    .quantity-input {
        border-color: var(--line);
    }

    .spec-option,
    .payment-item,
    .quantity-btn,
    .quantity-input,
    .payment-icon {
        background-color: rgba(255, 255, 255, 0.94);
    }

    .spec-option {
        color: var(--ink-soft);
    }

    .spec-option:hover,
    .quantity-btn:hover,
    .payment-item:hover {
        border-color: var(--brand);
        background-color: var(--brand-soft-2);
    }

    .spec-option.active,
    .payment-item.active {
        border-color: var(--brand);
        background-color: var(--brand-soft);
        color: var(--brand-dark);
        box-shadow: 0 8px 18px rgba(73, 106, 95, 0.16);
    }

    .spec-option.active::after {
        color: var(--brand-dark);
    }

    .goods-right .buy-btn-g,
    .confirm-btn button,
    body.goods-detail-page .layui-layer-title {
        background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%) !important;
    }

    .goods-right .buy-btn-g:hover,
    .confirm-btn button:hover {
        box-shadow: 0 14px 28px rgba(45, 71, 63, 0.24);
    }

    .amount-bar {
        background: linear-gradient(135deg, var(--accent-soft) 0%, rgba(255, 255, 255, 0.96) 100%);
        border-color: rgba(184, 132, 79, 0.26);
    }

    body.goods-detail-page .layui-layer {
        box-shadow: 0 20px 60px rgba(26, 37, 33, 0.16) !important;
    }

    body.goods-detail-page .layui-layer-setwin .layui-layer-close1 {
        background: rgba(255,255,255,0.16) !important;
    }
/* === ZISHEN_GOODS_DETAIL_END === */
