:root {
    --d-bg: #14223d;
    --d-card-bg: #1b2844;
    --d-stitch: #e29543;
    --d-brass: #b48e35;
    --d-text: #e2eafc;
    --d-text-sub: #8ea1c1;
    --d-red: #ef4444;
}
body.denim-body {
    margin: 0;
    padding: 0;
    background: var(--d-bg);
    color: var(--d-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    background-image: radial-gradient(circle, rgba(142, 161, 193, 0.05) 1px, transparent 1px);
    background-size: 20px 24px;
    background-attachment: fixed;
    position: relative;
    overflow-x: hidden;
}
body.denim-body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(226, 149, 67, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(142, 161, 193, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}
a {
    color: var(--d-text);
    text-decoration: none;
    transition: color 0.3s;
}
a:hover {
    color: var(--d-stitch);
}
.denim-header {
    height: 64px;
    background: var(--d-card-bg);
    border-bottom: 2px solid var(--d-stitch);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.denim-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}
.denim-logo img {
    height: 26px;
}
.denim-header-nav {
    display: flex;
    gap: 20px;
}
.denim-header-link {
    color: var(--d-text-sub);
    font-weight: 600;
}
.denim-header-link.denim-active, .denim-header-link:hover {
    color: var(--d-stitch);
}
.denim-notice-bar {
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 0 20px;
}
.denim-notice-inner {
    background: var(--d-card-bg);
    border: 2px dashed var(--d-stitch);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.denim-notice-dot {
    width: 6px;
    height: 6px;
    background: var(--d-stitch);
    border-radius: 50%;
}
.denim-notice-text {
    font-size: 13px;
    color: var(--d-stitch);
}
.denim-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}
.denim-dual-container {
    display: flex;
    gap: 24px;
    flex-direction: column;
}
@media (min-width: 768px) {
    .denim-dual-container {
        flex-direction: row;
    }
    .denim-left-block {
        flex: 1;
    }
    .denim-right-block {
        flex: 1;
    }
}
.denim-section-title {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 16px;
    color: var(--d-stitch);
    text-transform: uppercase;
}
.denim-product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}
@media (max-width: 600px) {
    .denim-product-grid {
        grid-template-columns: 1fr;
    }
}
.denim-card {
    background: var(--d-card-bg);
    border: 2px dashed var(--d-stitch);
    border-radius: 16px;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.denim-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border-style: solid;
}
.denim-badge-auto {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(226, 149, 67, 0.15);
    border: 1px solid var(--d-stitch);
    color: var(--d-stitch);
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    z-index: 10;
}
.denim-product-img-box {
    width: 100%;
    aspect-ratio: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.05);
}
.denim-product-img-box img {
    max-width: 60%;
    max-height: 60%;
    object-fit: contain;
}
.denim-product-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.denim-product-name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.4;
}
.denim-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.denim-product-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--d-stitch);
}
.denim-product-sales {
    font-size: 12px;
    color: var(--d-text-sub);
    font-weight: 600;
}
.denim-detail-flex {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
@media (min-width: 768px) {
    .denim-detail-flex {
        flex-direction: row;
    }
    .denim-detail-left {
        flex: 1;
    }
    .denim-detail-right {
        width: 380px;
        flex-shrink: 0;
    }
}
.denim-detail-img {
    width: 100%;
    height: 200px;
    background: rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.05);
}
.denim-detail-img img {
    max-width: 40%;
    max-height: 80%;
    object-fit: contain;
}
.denim-detail-title {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.3;
}
.denim-status-tag {
    display: inline-block;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.05);
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 6px;
    color: var(--d-text-sub);
    font-weight: 600;
}
.denim-desc-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--d-stitch);
    margin-bottom: 15px;
}
.denim-desc-content {
    line-height: 1.8;
    color: var(--d-text);
}
.denim-desc-content img {
    max-width: 100%;
}
.denim-price-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.2);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 20px;
}
.denim-price-large {
    font-size: 24px;
    font-weight: 800;
    color: var(--d-stitch);
}
.denim-stock-status {
    font-size: 12px;
    color: var(--d-text-sub);
    font-weight: 600;
}
.denim-form-item {
    margin-bottom: 16px;
}
.denim-form-label {
    display: block;
    font-size: 12px;
    color: var(--d-text-sub);
    margin-bottom: 6px;
    font-weight: 600;
}
.denim-form-input {
    width: 100%;
    height: 42px;
    background: rgba(0,0,0,0.2);
    border: 2px dashed var(--d-stitch);
    border-radius: 8px;
    color: #fff;
    padding: 0 12px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.3s;
    font-weight: 600;
}
.denim-form-input:focus {
    border-color: var(--d-stitch);
    border-style: solid;
}
.denim-submit-btn {
    width: 100%;
    height: 46px;
    background: var(--d-brass);
    border: 1px solid rgba(0,0,0,0.2);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 2px 4px rgba(0,0,0,0.3);
    color: #fff;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}
.denim-submit-btn:hover {
    background: #c59b27;
}
.denim-submit-btn:disabled {
    background: rgba(0,0,0,0.2);
    color: var(--d-text-sub);
    border-color: rgba(255,255,255,0.05);
    cursor: not-allowed;
    box-shadow: none;
}
.denim-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.denim-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 16px 20px;
    border-radius: 12px;
    flex-wrap: wrap;
    gap: 12px;
}
.denim-item-name {
    flex: 1;
    min-width: 200px;
    font-weight: 700;
}
.denim-item-price {
    font-weight: 800;
    color: var(--d-stitch);
}
.denim-item-stock {
    font-size: 12px;
    color: var(--d-text-sub);
    font-weight: 600;
}
.denim-btn-buy {
    background: var(--d-brass);
    color: #fff;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}
.denim-btn-buy:hover {
    background: #c59b27;
}
.denim-btn-lock {
    background: rgba(0,0,0,0.2);
    color: var(--d-text-sub);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 12px;
    cursor: not-allowed;
}
.denim-small-box {
    max-width: 500px;
    margin: 40px auto;
}
.denim-tab-bar {
    display: flex;
    border-bottom: 2px solid var(--d-stitch);
    margin-bottom: 20px;
}
.denim-tab-item {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 13px;
    color: var(--d-text-sub);
    font-weight: 700;
    border-bottom: 3px solid transparent;
}
.denim-tab-item.denim-active {
    color: var(--d-stitch);
    border-bottom-color: var(--d-stitch);
}
.denim-table {
    width: 100%;
    border-collapse: collapse;
}
.denim-table-header {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: rgba(0,0,0,0.2);
    padding: 12px;
    font-size: 12px;
    color: var(--d-text-sub);
    text-align: center;
    border-bottom: 2px solid var(--d-stitch);
}
.denim-table-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 16px 12px;
    text-align: center;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.denim-payment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.denim-pay-btn {
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s;
}
.denim-pay-btn:hover {
    border-color: var(--d-stitch);
}
.denim-pay-btn img {
    height: 24px;
}
.denim-footer {
    background: var(--d-card-bg);
    border-top: 2px solid var(--d-stitch);
    padding: 30px 0;
    margin-top: 60px;
}
.denim-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;
}
.denim-footer-copyright {
    font-size: 12px;
    color: var(--d-text-sub);
    font-weight: 600;
}
.denim-footer-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}
.denim-footer-nav a {
    font-size: 12px;
    color: var(--d-text-sub);
    font-weight: 600;
}
.denim-footer-nav a:hover {
    color: var(--d-stitch);
}
.denim-social-icon {
    font-size: 16px;
    color: var(--d-text-sub);
}
.denim-social-icon:hover {
    color: var(--d-stitch);
}
.denim-title {
    font-size: 18px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--d-stitch);
}
.denim-title-sub {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}
.denim-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.05);
}
.denim-price-total {
    border-bottom: none;
    font-size: 16px;
    font-weight: 800;
    color: var(--d-stitch);
    margin-top: 10px;
}
.denim-pay-success {
    color: #10b981;
    font-size: 18px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
}
.denim-mobile-card {
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.denim-mt-20 {
    margin-top: 20px;
}
@media (max-width: 768px) {
    .denim-footer-inner {
        flex-direction: column;
        text-align: center;
    }
}