:root {
    --x-bg: #fbf9f4;
    --x-card: #ffffff;
    --x-border: rgba(0, 0, 0, 0.03);
    --x-accent: #a23232;
    --x-text: #2b2826;
    --x-text-sub: #787371;
    --x-red: #ef4444;
    --x-shadow: 0 4px 20px rgba(162, 50, 50, 0.03), 0 2px 8px rgba(0, 0, 0, 0.01);
}
body.xuan-body {
    margin: 0;
    padding: 0;
    background: var(--x-bg);
    color: var(--x-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
}
a {
    color: var(--x-text);
    text-decoration: none;
    transition: color 0.3s;
}
a:hover {
    color: var(--x-accent);
}
.xuan-header {
    height: 64px;
    background: var(--x-card);
    border-bottom: 1px solid var(--x-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.xuan-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}
.xuan-logo img {
    height: 24px;
}
.xuan-header-nav {
    display: flex;
    gap: 24px;
}
.xuan-header-link {
    color: var(--x-text-sub);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.05em;
}
.xuan-header-link.xuan-active, .xuan-header-link:hover {
    color: var(--x-accent);
}
.xuan-notice-bar {
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 0 20px;
}
.xuan-notice-inner {
    background: var(--x-card);
    border-radius: 12px;
    box-shadow: var(--x-shadow);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.xuan-notice-dot {
    width: 6px;
    height: 6px;
    background: var(--x-accent);
    border-radius: 50%;
}
.xuan-notice-text {
    font-size: 13px;
    color: var(--x-text);
    font-weight: 600;
}
.xuan-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}
.xuan-section-title {
    font-size: 26px;
    font-weight: 800;
    margin: 40px 0 20px;
    color: var(--x-text);
    letter-spacing: -0.015em;
}
.xuan-asymmetric-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
@media (min-width: 768px) {
    .xuan-asymmetric-grid {
        grid-template-columns: 1.2fr 1fr 0.8fr;
    }
    .xuan-card:nth-child(3n+1) {
        grid-column: span 1;
    }
}
.xuan-card {
    background: var(--x-card);
    border-radius: 16px;
    padding: 24px;
    box-sizing: border-box;
    position: relative;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    box-shadow: var(--x-shadow);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.xuan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(162, 50, 50, 0.08), 0 4px 10px rgba(0, 0, 0, 0.02);
}
.xuan-badge-auto {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--x-card);
    border: 1px solid var(--x-accent);
    color: var(--x-accent);
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    z-index: 10;
}
.xuan-product-img-box {
    width: 100%;
    aspect-ratio: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--x-bg);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
}
.xuan-product-img-box img {
    max-width: 60%;
    max-height: 60%;
    object-fit: contain;
}
.xuan-product-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.xuan-product-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--x-text);
    margin-bottom: 12px;
    line-height: 1.4;
    letter-spacing: -0.01em;
}
.xuan-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.xuan-product-price {
    font-size: 15px;
    font-weight: 800;
    color: var(--x-text);
}
.xuan-product-sales {
    font-size: 11px;
    color: var(--x-text-sub);
    font-weight: 600;
    letter-spacing: 0.05em;
}
.xuan-detail-flex {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
@media (min-width: 768px) {
    .xuan-detail-flex {
        flex-direction: row;
    }
    .xuan-detail-left {
        flex: 1;
    }
    .xuan-detail-right {
        width: 380px;
        flex-shrink: 0;
    }
}
.xuan-detail-img {
    width: 100%;
    height: 200px;
    background: var(--x-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 20px;
}
.xuan-detail-img img {
    max-width: 40%;
    max-height: 80%;
    object-fit: contain;
}
.xuan-detail-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--x-text);
    margin: 0 0 10px;
    line-height: 1.3;
}
.xuan-status-tag {
    display: inline-block;
    background: var(--x-bg);
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 8px;
    color: var(--x-text-sub);
    font-weight: 600;
}
.xuan-desc-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--x-text);
    margin-bottom: 15px;
}
.xuan-desc-content {
    line-height: 1.8;
    color: var(--x-text);
}
.xuan-desc-content img {
    max-width: 100%;
}
.xuan-price-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--x-bg);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
}
.xuan-price-large {
    font-size: 24px;
    font-weight: 800;
    color: var(--x-text);
}
.xuan-stock-status {
    font-size: 12px;
    color: var(--x-text-sub);
    font-weight: 600;
}
.xuan-form-item {
    margin-bottom: 16px;
}
.xuan-form-label {
    display: block;
    font-size: 12px;
    color: var(--x-text-sub);
    margin-bottom: 6px;
    font-weight: 600;
}
.xuan-form-input {
    width: 100%;
    height: 42px;
    background: var(--x-bg);
    border: none;
    border-radius: 8px;
    color: var(--x-text);
    padding: 0 12px;
    box-sizing: border-box;
    outline: none;
    font-weight: 600;
}
.xuan-submit-btn {
    width: 100%;
    height: 46px;
    background: var(--x-accent);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}
.xuan-submit-btn:hover {
    background: #c24d4d;
}
.xuan-submit-btn:disabled {
    background: rgba(0,0,0,0.05);
    color: #888;
    cursor: not-allowed;
}
.xuan-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.xuan-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--x-card);
    box-shadow: var(--x-shadow);
    padding: 16px 20px;
    border-radius: 12px;
    flex-wrap: wrap;
    gap: 12px;
}
.xuan-item-name {
    flex: 1;
    min-width: 200px;
    font-weight: 700;
}
.xuan-item-price {
    font-weight: 800;
    color: var(--x-text);
}
.xuan-item-stock {
    font-size: 12px;
    color: var(--x-text-sub);
    font-weight: 600;
}
.xuan-btn-buy {
    background: var(--x-card);
    box-shadow: var(--x-shadow);
    color: var(--x-text-sub);
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}
.xuan-btn-buy:hover {
    color: var(--x-accent);
}
.xuan-btn-lock {
    background: rgba(0,0,0,0.05);
    color: #888;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 12px;
    cursor: not-allowed;
}
.xuan-small-box {
    max-width: 500px;
    margin: 40px auto;
}
.xuan-tab-bar {
    display: flex;
    border-bottom: 2px solid var(--x-border);
    margin-bottom: 20px;
}
.xuan-tab-item {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 13px;
    color: var(--x-text-sub);
    font-weight: 700;
    border-bottom: 3px solid transparent;
}
.xuan-tab-item.xuan-active {
    color: var(--x-text);
    border-bottom-color: var(--x-accent);
}
.xuan-table {
    width: 100%;
    border-collapse: collapse;
}
.xuan-table-header {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: var(--x-bg);
    padding: 12px;
    font-size: 12px;
    color: var(--x-text-sub);
    text-align: center;
    border-bottom: 1px solid var(--x-border);
}
.xuan-table-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 16px 12px;
    text-align: center;
    align-items: center;
    border-bottom: 1px solid var(--x-border);
}
.xuan-payment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.xuan-pay-btn {
    background: var(--x-bg);
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}
.xuan-pay-btn img {
    height: 24px;
}
.xuan-footer {
    background: var(--x-card);
    border-top: 1px solid var(--x-border);
    padding: 30px 0;
    margin-top: 60px;
}
.xuan-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    flex-wrap: wrap;
    gap: 16px;
}
.xuan-footer-copyright {
    font-size: 12px;
    color: var(--x-text-sub);
    font-weight: 600;
}
.xuan-footer-nav {
    display: flex;
    gap: 20px;
}
.xuan-footer-nav a {
    font-size: 12px;
    color: var(--x-text-sub);
    font-weight: 600;
}
.xuan-footer-nav a:hover {
    color: var(--x-accent);
}
.xuan-title {
    font-size: 18px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--x-accent);
}
.xuan-title-sub {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}
.xuan-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed var(--x-border);
}
.xuan-price-total {
    border-bottom: none;
    font-size: 16px;
    font-weight: 800;
    color: var(--x-accent);
    margin-top: 10px;
}
.xuan-pay-success {
    color: #10b981;
    font-size: 18px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
}
.xuan-mobile-card {
    background: var(--x-card);
    box-shadow: var(--x-shadow);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.xuan-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--x-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(162, 50, 50, 0.3);
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.3s;
}
.xuan-float-btn:hover {
    transform: scale(1.1);
}
.xuan-float-btn i {
    color: #fff;
    font-size: 20px;
}
.xuan-mt-20 {
    margin-top: 20px;
}
@media (max-width: 768px) {
    .xuan-footer-inner {
        flex-direction: column;
        text-align: center;
    }
    .xuan-float-btn {
        bottom: 20px;
        right: 20px;
    }
}