:root {
    --p-bg: #faf8f4;
    --p-card: #ffffff;
    --p-border: rgba(0, 0, 0, 0.03);
    --p-accent: #5c7468;
    --p-text: #2f3135;
    --p-text-sub: #787d85;
    --p-red: #ef4444;
    --p-shadow: 0 4px 24px rgba(92, 116, 104, 0.03), 0 2px 8px rgba(0, 0, 0, 0.01);
}
body.porcelain-body {
    margin: 0;
    padding: 0;
    background: var(--p-bg);
    color: var(--p-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    background-image: repeating-radial-gradient(circle at 10% 10%, transparent 0, transparent 40px, rgba(47, 49, 53, 0.01) 40px, rgba(47, 49, 53, 0.01) 41px);
    background-attachment: fixed;
}
a {
    color: var(--p-text);
    text-decoration: none;
    transition: color 0.3s;
}
a:hover {
    color: var(--p-accent);
}
.porcelain-header {
    height: 64px;
    background: var(--p-card);
    border-bottom: 1px solid var(--p-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.porcelain-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}
.porcelain-logo img {
    height: 24px;
}
.porcelain-header-nav {
    display: flex;
    gap: 24px;
}
.porcelain-header-link {
    color: var(--p-text-sub);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.05em;
}
.porcelain-header-link.porcelain-active, .porcelain-header-link:hover {
    color: var(--p-accent);
}
.porcelain-notice-bar {
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 0 20px;
}
.porcelain-notice-inner {
    background: var(--p-card);
    border-radius: 12px;
    box-shadow: var(--p-shadow);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.porcelain-notice-dot {
    width: 6px;
    height: 6px;
    background: var(--p-accent);
    border-radius: 50%;
}
.porcelain-notice-text {
    font-size: 13px;
    color: var(--p-text);
    font-weight: 600;
}
.porcelain-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}
.porcelain-split-layout {
    display: flex;
    gap: 24px;
    flex-direction: column;
}
@media (min-width: 1024px) {
    .porcelain-split-layout {
        flex-direction: row;
    }
    .porcelain-sidebar {
        width: 280px;
        flex-shrink: 0;
        order: 2;
    }
    .porcelain-main-panel {
        flex-grow: 1;
        order: 1;
    }
}
.porcelain-side-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--p-text-sub);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.porcelain-side-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.porcelain-side-menu a {
    display: block;
    padding: 12px 16px;
    background: var(--p-card);
    border-radius: 12px;
    font-weight: 600;
    color: var(--p-text-sub);
    box-shadow: var(--p-shadow);
    transition: all 0.3s;
}
.porcelain-side-menu a:hover {
    color: var(--p-accent);
    transform: scale(0.98);
}
.porcelain-section-title {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 16px;
    color: var(--p-text);
    letter-spacing: -0.015em;
}
.porcelain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}
@media (max-width: 600px) {
    .porcelain-grid {
        grid-template-columns: 1fr;
    }
}
.porcelain-card {
    background: var(--p-card);
    border-radius: 16px;
    padding: 24px;
    box-sizing: border-box;
    position: relative;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    box-shadow: var(--p-shadow);
    transition: all 0.3s ease;
}
.porcelain-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(92, 116, 104, 0.06), 0 4px 10px rgba(0, 0, 0, 0.02);
}
.porcelain-badge-auto {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--p-card);
    border: 1.5px solid var(--p-accent);
    color: var(--p-accent);
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    z-index: 10;
}
.porcelain-product-img-box {
    width: 100%;
    aspect-ratio: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--p-bg);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
}
.porcelain-product-img-box img {
    max-width: 60%;
    max-height: 60%;
    object-fit: contain;
}
.porcelain-product-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.porcelain-product-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--p-text);
    margin-bottom: 12px;
    line-height: 1.4;
    letter-spacing: -0.01em;
}
.porcelain-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.porcelain-product-price {
    font-size: 15px;
    font-weight: 800;
    color: var(--p-text);
}
.porcelain-product-sales {
    font-size: 11px;
    color: var(--p-text-sub);
    font-weight: 600;
    letter-spacing: 0.05em;
}
.porcelain-detail-flex {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
@media (min-width: 768px) {
    .porcelain-detail-flex {
        flex-direction: row;
    }
    .porcelain-detail-left {
        flex: 1;
    }
    .porcelain-detail-right {
        width: 380px;
        flex-shrink: 0;
    }
}
.porcelain-detail-img {
    width: 100%;
    height: 200px;
    background: var(--p-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 20px;
}
.porcelain-detail-img img {
    max-width: 40%;
    max-height: 80%;
    object-fit: contain;
}
.porcelain-detail-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--p-text);
    margin: 0 0 10px;
    line-height: 1.3;
}
.porcelain-status-tag {
    display: inline-block;
    background: var(--p-bg);
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 8px;
    color: var(--p-text-sub);
    font-weight: 600;
}
.porcelain-desc-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--p-text);
    margin-bottom: 15px;
}
.porcelain-desc-content {
    line-height: 1.8;
    color: var(--p-text);
}
.porcelain-desc-content img {
    max-width: 100%;
}
.porcelain-price-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--p-bg);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
}
.porcelain-price-large {
    font-size: 24px;
    font-weight: 800;
    color: var(--p-text);
}
.porcelain-stock-status {
    font-size: 12px;
    color: var(--p-text-sub);
    font-weight: 600;
}
.porcelain-form-item {
    margin-bottom: 16px;
}
.porcelain-form-label {
    display: block;
    font-size: 12px;
    color: var(--p-text-sub);
    margin-bottom: 6px;
    font-weight: 600;
}
.porcelain-form-input {
    width: 100%;
    height: 42px;
    background: var(--p-bg);
    border: none;
    border-radius: 8px;
    color: var(--p-text);
    padding: 0 12px;
    box-sizing: border-box;
    outline: none;
    font-weight: 600;
}
.porcelain-submit-btn {
    width: 100%;
    height: 46px;
    background: var(--p-accent);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}
.porcelain-submit-btn:hover {
    background: #475d52;
}
.porcelain-submit-btn:disabled {
    background: rgba(0,0,0,0.05);
    color: #888;
    cursor: not-allowed;
}
.porcelain-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.porcelain-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--p-card);
    box-shadow: var(--p-shadow);
    padding: 16px 20px;
    border-radius: 12px;
    flex-wrap: wrap;
    gap: 12px;
}
.porcelain-item-name {
    flex: 1;
    min-width: 200px;
    font-weight: 700;
}
.porcelain-item-price {
    font-weight: 800;
    color: var(--p-text);
}
.porcelain-item-stock {
    font-size: 12px;
    color: var(--p-text-sub);
    font-weight: 600;
}
.porcelain-btn-buy {
    background: var(--p-card);
    box-shadow: var(--p-shadow);
    color: var(--p-text-sub);
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}
.porcelain-btn-buy:hover {
    color: var(--p-accent);
}
.porcelain-btn-lock {
    background: rgba(0,0,0,0.05);
    color: #888;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 12px;
    cursor: not-allowed;
}
.porcelain-small-box {
    max-width: 500px;
    margin: 40px auto;
}
.porcelain-tab-bar {
    display: flex;
    border-bottom: 2px solid var(--p-border);
    margin-bottom: 20px;
}
.porcelain-tab-item {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 13px;
    color: var(--p-text-sub);
    font-weight: 700;
    border-bottom: 3px solid transparent;
}
.porcelain-tab-item.porcelain-active {
    color: var(--p-text);
    border-bottom-color: var(--p-accent);
}
.porcelain-table {
    width: 100%;
    border-collapse: collapse;
}
.porcelain-table-header {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: var(--p-bg);
    padding: 12px;
    font-size: 12px;
    color: var(--p-text-sub);
    text-align: center;
    border-bottom: 1px solid var(--p-border);
}
.porcelain-table-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 16px 12px;
    text-align: center;
    align-items: center;
    border-bottom: 1px solid var(--p-border);
}
.porcelain-payment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.porcelain-pay-btn {
    background: var(--p-bg);
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}
.porcelain-pay-btn img {
    height: 24px;
}
.porcelain-footer {
    background: var(--p-card);
    border-top: 1px solid var(--p-border);
    padding: 30px 0;
    margin-top: 60px;
}
.porcelain-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;
}
.porcelain-footer-copyright {
    font-size: 12px;
    color: var(--p-text-sub);
    font-weight: 600;
}
.porcelain-footer-nav {
    display: flex;
    gap: 20px;
}
.porcelain-footer-nav a {
    font-size: 12px;
    color: var(--p-text-sub);
    font-weight: 600;
}
.porcelain-footer-nav a:hover {
    color: var(--p-accent);
}
.porcelain-title {
    font-size: 18px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--p-accent);
}
.porcelain-title-sub {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}
.porcelain-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed var(--p-border);
}
.porcelain-price-total {
    border-bottom: none;
    font-size: 16px;
    font-weight: 800;
    color: var(--p-accent);
    margin-top: 10px;
}
.porcelain-pay-success {
    color: #10b981;
    font-size: 18px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
}
.porcelain-mobile-card {
    background: var(--p-card);
    box-shadow: var(--p-shadow);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.porcelain-mt-20 {
    margin-top: 20px;
}
@media (max-width: 768px) {
    .porcelain-footer-inner {
        flex-direction: column;
        text-align: center;
    }
}