:root {
    --a-bg: #cfe8df;
    --a-card-bg: #faf8f5;
    --a-border: #4a5c54;
    --a-accent: #f07b93;
    --a-text: #2f3e36;
    --a-text-sub: #6e7d75;
}
body.atomic-body {
    margin: 0;
    padding: 0;
    background: var(--a-bg);
    color: var(--a-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
}
a {
    color: var(--a-text);
    text-decoration: none;
    transition: color 0.3s;
}
a:hover {
    color: var(--a-accent);
}
.atomic-header {
    height: 64px;
    background: var(--a-card-bg);
    border-bottom: 2px solid var(--a-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.atomic-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}
.atomic-logo img {
    height: 28px;
}
.atomic-header-nav {
    display: flex;
    gap: 20px;
}
.atomic-header-link {
    color: var(--a-text-sub);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
}
.atomic-header-link.atomic-active, .atomic-header-link:hover {
    color: var(--a-accent);
}
.atomic-notice-bar {
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 0 20px;
}
.atomic-notice-inner {
    background: var(--a-card-bg);
    border: 2px solid var(--a-border);
    border-radius: 16px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.atomic-notice-dot {
    width: 10px;
    height: 10px;
    background: var(--a-accent);
    border-radius: 50%;
}
.atomic-notice-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--a-text);
}
.atomic-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}
.atomic-split-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
@media (min-width: 768px) {
    .atomic-split-layout {
        flex-direction: row;
    }
    .atomic-magazine-main {
        flex: 1;
    }
    .atomic-side-index {
        width: 260px;
        flex-shrink: 0;
    }
}
.atomic-index-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--a-text);
    margin-bottom: 12px;
    text-transform: uppercase;
}
.atomic-side-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.atomic-side-menu a {
    display: block;
    padding: 10px 16px;
    background: var(--a-card-bg);
    border: 2px solid var(--a-border);
    border-radius: 12px;
    font-weight: 600;
    color: var(--a-text-sub);
    transition: all 0.3s;
}
.atomic-side-menu a:hover {
    color: var(--a-accent);
    border-color: var(--a-accent);
    transform: translate(-2px, -2px);
    box-shadow: 2px 2px 0 var(--a-border);
}
.atomic-section-title {
    font-size: 18px;
    font-weight: 800;
    margin: 30px 0 15px;
    color: var(--a-text);
}
.atomic-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}
@media (min-width: 1024px) {
    .atomic-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .atomic-card-giant {
        grid-column: span 2;
        grid-row: span 2;
    }
    .atomic-card-giant .atomic-product-img-box {
        aspect-ratio: 1.8;
    }
}
.atomic-card {
    background: var(--a-card-bg);
    border: 2px solid var(--a-border);
    border-radius: 20px;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.atomic-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 4px 4px 0 var(--a-border);
    border-color: var(--a-accent);
}
.atomic-badge-auto {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--a-accent);
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 700;
    z-index: 10;
}
.atomic-product-img-box {
    width: 100%;
    aspect-ratio: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e2f1ea;
    border: 2px solid var(--a-border);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 16px;
    position: relative;
}
.atomic-product-img-box img {
    max-width: 50%;
    max-height: 50%;
    object-fit: contain;
}
.atomic-product-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.atomic-product-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--a-text);
    margin-bottom: 12px;
    line-height: 1.4;
}
.atomic-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.atomic-product-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--a-accent);
}
.atomic-product-sales {
    font-size: 12px;
    color: var(--a-text-sub);
    font-weight: 600;
}
.atomic-detail-flex {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
@media (min-width: 768px) {
    .atomic-detail-flex {
        flex-direction: row;
    }
    .atomic-detail-left {
        flex: 1;
    }
    .atomic-detail-right {
        width: 380px;
        flex-shrink: 0;
    }
}
.atomic-detail-img {
    width: 100%;
    height: 220px;
    background: #e2f1ea;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin-bottom: 20px;
    border: 2px solid var(--a-border);
}
.atomic-detail-img img {
    max-width: 45%;
    max-height: 80%;
    object-fit: contain;
}
.atomic-detail-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--a-text);
    margin: 0 0 10px;
    line-height: 1.3;
}
.atomic-status-tag {
    display: inline-block;
    background: var(--a-bg);
    border: 2px solid var(--a-border);
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 8px;
    color: var(--a-text);
    font-weight: 600;
}
.atomic-desc-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--a-text);
    margin-bottom: 15px;
}
.atomic-desc-content {
    line-height: 1.8;
    color: var(--a-text);
}
.atomic-desc-content img {
    max-width: 100%;
}
.atomic-price-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #e2f1ea;
    padding: 16px;
    border-radius: 12px;
    border: 2px solid var(--a-border);
    margin-bottom: 20px;
}
.atomic-price-large {
    font-size: 24px;
    font-weight: 900;
    color: var(--a-accent);
}
.atomic-stock-status {
    font-size: 12px;
    color: var(--a-text-sub);
    font-weight: 600;
}
.atomic-form-item {
    margin-bottom: 16px;
}
.atomic-form-label {
    display: block;
    font-size: 12px;
    color: var(--a-text-sub);
    margin-bottom: 6px;
    font-weight: 600;
}
.atomic-form-input {
    width: 100%;
    height: 42px;
    background: var(--a-card-bg);
    border: 2px solid var(--a-border);
    border-radius: 10px;
    color: var(--a-text);
    padding: 0 12px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.3s;
    font-weight: 600;
}
.atomic-form-input:focus {
    border-color: var(--a-accent);
}
.atomic-submit-btn {
    width: 100%;
    height: 48px;
    background: var(--a-accent);
    color: #fff;
    border: 2px solid var(--a-border);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}
.atomic-submit-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 2px 2px 0 var(--a-border);
}
.atomic-submit-btn:disabled {
    background: #e2f1ea;
    color: var(--a-text-sub);
    cursor: not-allowed;
    border-color: var(--a-border);
}
.atomic-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.atomic-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--a-card-bg);
    border: 2px solid var(--a-border);
    padding: 16px 20px;
    border-radius: 14px;
    flex-wrap: wrap;
    gap: 12px;
}
.atomic-item-name {
    flex: 1;
    min-width: 200px;
    font-weight: 700;
}
.atomic-item-price {
    font-weight: 800;
    color: var(--a-accent);
}
.atomic-item-stock {
    font-size: 12px;
    color: var(--a-text-sub);
    font-weight: 600;
}
.atomic-btn-buy {
    background: var(--a-accent);
    color: #fff;
    padding: 8px 20px;
    border: 2px solid var(--a-border);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}
.atomic-btn-buy:hover {
    transform: translate(-1px, -1px);
    box-shadow: 1px 1px 0 var(--a-border);
}
.atomic-btn-lock {
    background: #e2f1ea;
    color: var(--a-text-sub);
    border: 2px solid var(--a-border);
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: not-allowed;
}
.atomic-small-box {
    max-width: 500px;
    margin: 40px auto;
}
.atomic-tab-bar {
    display: flex;
    border-bottom: 2px solid var(--a-border);
    margin-bottom: 20px;
}
.atomic-tab-item {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 13px;
    color: var(--a-text-sub);
    font-weight: 700;
    border-bottom: 3px solid transparent;
}
.atomic-tab-item.atomic-active {
    color: var(--a-accent);
    border-bottom-color: var(--a-accent);
}
.atomic-table {
    width: 100%;
    border-collapse: collapse;
}
.atomic-table-header {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: #e2f1ea;
    padding: 12px;
    font-size: 12px;
    color: var(--a-text);
    text-align: center;
    border-bottom: 2px solid var(--a-border);
    font-weight: 700;
}
.atomic-table-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 16px 12px;
    text-align: center;
    align-items: center;
    border-bottom: 2px solid var(--a-border);
}
.atomic-payment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.atomic-pay-btn {
    background: #e2f1ea;
    border: 2px solid var(--a-border);
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s;
}
.atomic-pay-btn:hover {
    border-color: var(--a-accent);
}
.atomic-pay-btn img {
    height: 24px;
}
.atomic-footer {
    background: var(--a-card-bg);
    border-top: 2px solid var(--a-border);
    padding: 30px 0;
    margin-top: 60px;
}
.atomic-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;
}
.atomic-footer-copyright {
    font-size: 12px;
    color: var(--a-text-sub);
    font-weight: 600;
}
.atomic-footer-nav {
    display: flex;
    gap: 20px;
}
.atomic-footer-nav a {
    font-size: 12px;
    color: var(--a-text-sub);
    font-weight: 600;
}
.atomic-footer-nav a:hover {
    color: var(--a-accent);
}
.atomic-title {
    font-size: 18px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--a-text);
}
.atomic-title-sub {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}
.atomic-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 2px dashed var(--a-border);
}
.atomic-price-total {
    border-bottom: none;
    font-size: 16px;
    font-weight: 800;
    color: var(--a-accent);
    margin-top: 10px;
}
.atomic-pay-success {
    color: #10b981;
    font-size: 18px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
}
.atomic-mobile-card {
    background: var(--a-card-bg);
    border: 2px solid var(--a-border);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.atomic-mt-20 {
    margin-top: 20px;
}
@media (max-width: 768px) {
    .atomic-footer-inner {
        flex-direction: column;
        text-align: center;
    }
}