* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ffffff;
    --secondary-color: #f8f9fa;
    --accent-color: #6366f1;
    --text-primary: #1a1a2e;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* Loading Screen */
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

#loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.hidden {
    display: none !important;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Top Navigation */
.top-nav {
    background: #181818;
    color: #fff;
    padding: 12px 40px;
    align-items: center align-items: center;
}

.nav-container {
    padding: 0px 32px;
    align-items: center;
    gap: 20px;
    display: flex;
    justify-content: space-between
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 700;
    width: 141px;
}

.logo-icon {
    font-size: 28px;
}

.logo-cn {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 500;
    margin-left: 4px;
}

.features-bar {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 24px 0;
    width: 100%;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.features-bar .feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.features-bar .feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e6eeff 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.features-bar .feature-text {
    display: flex;
    flex-direction: column;
}

.features-bar .feature-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.features-bar .feature-desc {
    font-size: 13px;
    color: #6b7280;
}

@media (max-width: 992px) {
    .features-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .features-container {
        grid-template-columns: 1fr;
    }

    .features-bar {
        padding: 16px 0;
    }
}

.feature-icon {
    font-size: 18px;
}

.login-btn {
    background: rgb(255 255 255 / 0%);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.login-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-1px);
}

.cart-btn {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #e53935;
    color: white;
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* Main Content Layout */
.main-content {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    gap: 32px;
    padding: 32px;
    min-height: calc(100vh - 140px);
}

.main-box {
    display: block;
}

.main-box.hidden {
    display: none;
}

.overlay {
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 0;
    padding-bottom: 0;
    background: #fff;
}

/* Sidebar */
.sidebar {
    width: 260px;
    flex-shrink: 0;
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.category-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 4px;
}

/* æ»šåŠ¨æ¡æ ·å¼ */
.category-menu::-webkit-scrollbar {
    width: 6px;
}

.category-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.category-menu::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.category-menu::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* Firefox */
.category-menu {
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 #f1f1f1;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    background: transparent;
}

.category-item:hover {
    background: var(--secondary-color);
}

.category-item.active {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    color: var(--accent-color);
}

.category-icon {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.category-name {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
}

.category-count {
    font-size: 12px;
    color: var(--text-muted);
    background: var(--secondary-color);
    padding: 2px 10px;
    border-radius: 20px;
}

.category-item.active .category-count {
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-color);
}

/* Content Area */
.content-area {
    flex: 1;
    min-width: 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-title h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}
.section-title h2 img {
    width: 55px;
    height: 47px;
    margin-right: 10px;
}
/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    position: relative;
    overflow: hidden;
}

.product-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
}

.product-info {
    padding: 18px;
}

.product-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.5;
}

.product-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #10b981;
    background: #ecfdf5;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.product-quantity-control {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.qty-label {
    font-size: 12px;
    color: #6b7280;
}

.qty-btn {
    width: 24px;
    height: 24px;
    border: 1px solid #e5e7eb;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    transition: all 0.15s ease;
}

.qty-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.qty-value {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    min-width: 20px;
    text-align: center;
}

.product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.price-cny, .price-usdt {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price-label {
    font-size: 11px;
    color: #9ca3af;
    margin-bottom: 2px;
}

.price-cny .price-value {
    font-size: 16px;
    font-weight: 700;
    color: #e53935;
}

.price-usdt .price-value {
    font-size: 14px;
    font-weight: 600;
    color: #6366f1;
}

.buy-now-btn-small {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.buy-now-btn-small:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.add-cart-btn {
    background: #fbbf24;
    color: #1a1a2e;
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-cart-btn:hover {
    background: #f59e0b;
    transform: scale(1.05);
}

/* News Section */
.news-section {
    margin-bottom: 48px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.news-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.news-image {
    width: 100%;
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-secondary);
}

.news-content {
    padding: 14px;
}

.news-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Reviews Section */
.reviews-section {
    padding: 60px 0;
    background: linear-gradient(152deg, #f9f6f6, #ebe7e6);
    position: relative;
}

.reviews-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
    text-align: center;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.review-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 22px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.review-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.review-user {
    flex: 1;
}

.review-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.review-date {
    font-size: 12px;
    color: var(--text-muted);
}

.review-stars {
    font-size: 14px;
    flex-shrink: 0;
}

.review-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Footer */
.footer {
    background: #000;
    border-top: 1px solid var(--border-color);
    padding: 48px 32px 24px;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}

.footer-section {
}

.footer-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.footer-links {
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.payment-methods {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.payment-icon {
    width: 44px;
    height: 28px;
    background: var(--secondary-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.payment-icon img {
    width: 77px;
    height: auto;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-icon:hover {
    background: var(--accent-color);
    color: white;
}

.footer-bottom {
    max-width: 1440px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.copyright {
    font-size: 13px;
    color: var(--text-muted);
}

/* Toast */
.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #1a1a2e;
    color: white;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Responsive */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .news-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .main-content {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        position: static;
    }

    .category-menu {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .nav-features {
        display: none;
    }
}

@media (max-width: 640px) {
    .nav-container {
        padding: 12px 16px;
    }

    .main-content {
        padding: 16px;
    }

    .category-menu {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* Product Detail Page */
.product-detail-page {
    max-width: 100%;
    margin: 0 auto;
    padding-top: 0;
    min-height: 100vh;
    background: #f1f1f2;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
}

.product-detail-page.hidden {
    display: none;
}

.product-detail-main {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    display: flex;
    gap: 24px;
}

.product-detail-left {
    flex: 1;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    border-radius: 8px;
}

/* Warning Banner */
.warning-banner {
    background: #f6f3eb;
    color: #a75600;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px 12px 133px;
    font-weight: 700
}

/* Product Detail Header */
.product-detail-header {
    background: white;
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.detail-title-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.detail-icon {
    font-size: 48px;
}

.detail-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.detail-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.badge {
    color: #667eea;
}

.sales-data {
    font-size: 14px;
    color: var(--text-secondary);
}

/* New Product Header Styles */
.product-header {
    padding: 24px;
    background: url(https://static-kk.accountboy.com/static/assets/AB_details_bg.80534d0770dced9ed32e.png) center center/cover no-repeat,linear-gradient(#ededed,#fff);
    border-radius: 8px;
    margin-bottom: 24px;
    height: 192px
}

.product-header-center {
    width: 1215px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    height: 100%
}

.product-logo {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #1b2838, #2a475e);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    overflow: hidden;
}

.product-logo .steam-logo {
    width: 100%;
    height: 100%;
}

.product-info {
    text-align: left;
    flex: 1;
}

.product-info h1 {
    font-size: 24px;
    margin: 0 0 16px;
    color: #1f2937
}

.product-badges {
    display: flex;
    gap: 32px;
    margin-top: 66px
}

.product-badges .badge {
    display: flex;
    align-items: center;
    gap: 8px
}

.product-badges .badge .badge-title {
    display: block;
    font-size: 14px;
    color: #1f2937;
}

.product-badges .badge .badge-desc {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
}

.sales-count {
    color: #6b7280;
    font-size: 14px;
    align-self: flex-end;
    padding-bottom: 18px
}

/* Spec Section */
.spec-section {
    background: white;
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
    width: 100%;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    margin-bottom: 16px;
}

.spec-header {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px
}

.spec-price {
    display: flex;
    align-items: center;
    margin-left: 18px;
}

.spec-price-currency {
    font-size: 14px;
    color: #e94560;
    font-weight: 600;
    white-space: nowrap;
}

.spec-price-value {
    font-size: 14px;
    color: #e94560;
    font-weight: 600;
    white-space: nowrap;
}

.spec-description {
    line-height: 1.3;
    font-size: 14px;
    color: #1f2937;
}

/* Product Details Section */
.product-details-section {
    background: white;
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
    width: 100%;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    margin-bottom: 16px;
}

.details-header {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.details-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.detail-photo {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    font-size: 64px;
}

.detail-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: #10b981;
    font-weight: 600;
}

.highlight-icon {
    font-size: 24px;
}

/* Related Section */
.related-section {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    margin-bottom: 16px;
    width: 100%;
}

.related-header {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.related-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.related-card {
    min-width: 140px;
    background: var(--secondary-color);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.related-card:hover {
    background: #e8e8e8;
    transform: translateY(-2px);
}

.related-icon {
    font-size: 36px;
    margin-bottom: 8px;
}

.related-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.related-price {
    font-size: 14px;
    font-weight: 700;
    color: #667eea;
}

/* Sidebar */
.product-detail-sidebar {
    width: 320px;
    flex-shrink: 0;
}

.sidebar-card {
    background: white;
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    position: sticky;
    top: 100px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    margin-bottom: 16px;
}

.sidebar-price {
    margin-bottom: 20px;
}

.sidebar-quantity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-qty-label {
    font-size: 14px;
    color: #000;
    display: block;
}

.sidebar-qty-control {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid #e5e7eb;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    color: #4b5563;
    transition: all 0.15s ease;
}

.sidebar-qty-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.sidebar-qty-value {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    min-width: 24px;
    text-align: center;
}

.cny-price {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    font-weight: 600;
}

.usdt-price {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    font-weight: 600;
}

.price-label {
    font-size: 14px;
    color: #000;
    display: block;
}

.cny-price .price-value {
    font-size: 14px;
    color: #000;
}

.usdt-price .price-value {
    font-weight: 600;
    color: #e94560;
    font-size: 20px;
}

.buy-now-btn {
    width: 100%;
    padding: 12px;
    background: #1f2937;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px
}

.buy-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.order-tabs {
    display: flex;
    gap: 8px;
}

.order-tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: var(--radius-sm);
    background: var(--secondary-color);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.order-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.order-tab:hover:not(.active) {
    background: #e8e8e8;
}

/* Detail News Section */
.detail-news-section {
    max-width: 1200px;
    margin: 0 auto;
    gap: 24px;
    margin-bottom: 48px;
}

/* Back Button for Detail Page */
.back-button {
    background: var(--secondary-color);
    color: var(--text-primary);
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.back-button:hover {
    background: #e8e8e8;
}

/* Product Card Clickable */
.product-card {
    cursor: pointer;
}

/* Responsive for Detail Page */
@media (max-width: 1200px) {
    .product-detail-main {
        flex-direction: column;
    }

    .product-detail-sidebar {
        width: 100%;
    }

    .sidebar-card {
        position: static;
    }
}

@media (max-width: 640px) {
    .product-detail-page {
        padding: 16px;
    }

    .detail-title {
        font-size: 24px;
    }

    .detail-badges {
        flex-wrap: wrap;
    }
}

/* =====================================
   Checkout Page Styles
   ===================================== */
/* Checkout Page Container */
.checkout-page {
    background: #f5f7fa;
    min-height: 100vh;
}

/* Black Top Navigation */
.checkout-top-nav {
    background: #1a1a1a;
    color: white;
    padding: 20px 0;
}

.checkout-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkout-nav-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.checkout-back-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: opacity 0.2s ease;
}

.checkout-back-btn:hover {
    opacity: 0.8;
}

.checkout-logo {
    font-size: 18px;
    font-weight: 700;
}

.checkout-logo-red {
    color: #e53935;
    margin-right: 8px;
}

.checkout-logo-white {
    color: white;
}

.checkout-order-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkout-order-btn:hover {
    background: rgba(255,255,255,0.1);
}

/* Main Checkout Container */
.checkout-main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px;
    display: flex;
    gap: 32px;
}

.checkout-left-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Checkout Sections */
.checkout-section {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
}

.checkout-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.checkout-section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.checkout-service-icon {
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

/* Product Card */
.checkout-product-card {
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    margin-right: 20px;
}

.checkout-product-icon {
    font-size: 56px;
    background: #f5f7fa;
    border-radius: 12px;
    padding: 0px;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-product-icon img {
    width: 100%;
}

.checkout-product-details {
    flex: 1;
}

.checkout-product-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.5;
}

.checkout-product-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.checkout-tag {
    background: #f5f7fa;
    color: #666;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.checkout-product-quantity {
    font-size: 14px;
    color: #666;
}

.checkout-product-price {
    font-size: 24px;
    font-weight: 700;
    color: #e53935;
}

/* Service Options */
.checkout-service-options {
    display: flex;
    gap: 16px;
}

.checkout-service-card {
    flex: 1;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    transition: all .2s;
}

.checkout-service-card:hover {
    border-color: #000;
    background: #f8f9ff;
}

.checkout-service-card.selected {
    border-color: #ff6b6b;
    background: #fff5f5;
}

.checkout-service-name {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.checkout-service-price {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* Payment Methods */
.checkout-payment-methods {
    display: flex;
    gap: 29px;
}

.checkout-payment-btn {
    display: flex;
    align-items: center;
    gap: 39px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.checkout-payment-btn:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.checkout-payment-btn.active {
    border-color: #e53935;
    background: #fff5f5;
}

.payment-icon {
    font-size: 28px;
    width: auto;
    text-align: center;
    display: block;
}

.payment-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    display: block;
    margin-left: -17px;
}

/* Checkout Sidebar */
.checkout-sidebar {
    width: 314px;
    flex-shrink: 0;
}

.checkout-sidebar-card {
    border-radius: 16px;
    position: sticky;
    top: 24px;
}

.checkout-address-section {
    margin-bottom: 28px;
}

.checkout-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.checkout-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
}

.checkout-input:focus {
    outline: none;
    border-color: #667eea;
}

/* Order Summary */
.checkout-order-summary {
    border-top: 2px solid #f0f2f5;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
}

.checkout-summary-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
    font-size: 14px;
    font-weight: 500
}

.checkout-summary-value {
    font-weight: 600;
}

.checkout-summary-divider {
    height: 0;
    background: none;
    margin: 0;
}

.checkout-summary-text {
    font-weight: 600;
}

.checkout-summary-red {
    font-size: 20px;
    font-weight: 700;
    color: #e53935;
}

.checkout-pay-btn {
    width: 100%;
    margin-top: 24px;
    background: #1a1a1a;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkout-pay-btn:hover {
    background: #333;
    transform: translateY(-1px);
}

/* Payment Icons Bar */
.checkout-payment-icons-bar {
    background: white;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    padding: 11px 0;
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 32px;
    align-items: center;
}

.payment-icon-item {
    font-size: 14px;
    font-weight: 700;
    color: #999;
    letter-spacing: 1px;
}

/* Black Footer */
.checkout-black-footer {
    background: #1a1a1a;
    color: white;
    padding: 48px 0;
    margin-top: 24px;
}

.checkout-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
}

.checkout-footer-col {
    display: flex;
    flex-direction: column;
}

.checkout-footer-logo {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.checkout-footer-logo-red {
    color: #e53935;
    margin-right: 8px;
}

.checkout-footer-logo-white {
    color: white;
}

.checkout-contact-us {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 16px;
}

.checkout-social-icons {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 36px;
    height: 36px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.checkout-footer-title {
    font-size: 14px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.checkout-footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkout-footer-links a {
    color: #999;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

.checkout-footer-links a:hover {
    color: white;
}

.checkout-footer-extra-links {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.checkout-footer-extra-links a {
    color: #999;
    text-decoration: none;
    font-size: 13px;
}

.link-divider {
    color: #555;
    margin: 0 8px;
}

/* Responsive Checkout */
@media (max-width: 1024px) {
    .checkout-main-container {
        flex-direction: column;
    }

    .checkout-sidebar {
        width: 100%;
    }

    .checkout-sidebar-card {
        position: static;
    }

    .checkout-service-options {
        flex-direction: column;
    }

    .checkout-footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .checkout-nav-container {
        padding: 0 16px;
    }

    .checkout-main-container {
        padding: 16px;
    }

    .checkout-product-card {
        flex-direction: column;
        text-align: center;
    }

    .checkout-product-icon {
        margin: 0 auto;
    }

    .checkout-footer-container {
        grid-template-columns: 1fr;
    }

    .checkout-payment-icons-bar {
        flex-wrap: wrap;
        padding: 16px;
    }
}

/* AccountBoy reference homepage product and news list */
.main-box {
    background: #f1f2f4;
}

.main-box .main-content {
    max-width: 1340px;
    gap: 20px;
    align-items: flex-start;
    padding: 20px 16px 30px;
    min-height: 600px;
}

.main-box .sidebar {
    width: 200px;
    border: 0;
    border-radius: 8px;
    padding: 8px 0;
    box-shadow: none;
    max-height: 600px;
    overflow-y: auto;
    top: 84px;
}

.main-box .sidebar-header {
    display: none;
}

.main-box .category-menu {
    gap: 0;
}

.main-box .category-item {
    justify-content: space-between;
    gap: 0;
    padding: 12px 20px;
    border-radius: 0;
    color: #64666a;
}

.main-box .category-item:hover {
    background: #f7f7f7;
}

.main-box .category-item.active {
    margin: 4px 8px;
    padding: 12px;
    color: #fff;
    background: #f60000;
    border-radius: 8px;
}

.main-box .category-icon {
    display: none;
}

.main-box .category-name, .main-box .category-count {
    font-size: 14px;
    font-weight: 500;
}

.main-box .category-count, .main-box .category-item.active .category-count {
    color: inherit;
    background: transparent;
    padding: 2px 8px;
    border-radius: 0;
}

.main-box .product-section > .section-title {
    display: none;
}

.main-box .products-grid {
    grid-template-columns: repeat(4, 250px);
    gap: 32px 24px;
    align-items: start;
    justify-content: start;
    margin-bottom: 0;
}

.main-box .product-card {
    width: 250px;
    height: 120px;
    position: relative;
    overflow: visible;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: none;
}

.main-box .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
}

.main-box .product-card .product-header {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    gap: 12px;
    padding: 16px;
}

.main-box .product-card .product-logo {
    position: absolute;
    top: -10px;
    left: 20px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f5f5;
    border-radius: 12px;
}

.main-box .product-card .product-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.main-box .product-card .product-info {
    flex: 1;
    padding: 0;
    text-align: left;
}

.main-box .product-card .product-name {
    min-height: 40px;
    margin: 0 0 4px;
    padding-left: 65px;
    color: #1f2933;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

.main-box .font-limit-2 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.main-box .product-card .product-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    color: #999;
    font-size: 12px;
    line-height: 1;
}

.main-box .product-card .discount {
    color: #333;
    font-weight: 600;
}

.main-box .product-card .discount span {
    color: #f60000;
}

.main-box .product-card .product-image, .main-box .product-card .product-desc, .main-box .product-card .product-price-row {
    display: none;
}

.main-box .overlay > .news-section:not(.ab-news-section) {
    display: none;
    padding-bottom: 48px;
}

.main-box .ab-news-section {
    background: #fff;
    max-width: 1340px;
    margin: 0 auto;
    padding: 16px;
    padding-bottom: 48px;
}

.main-box .ab-news-section .news-container {
    max-width: 1200px;
    margin: 0 auto;
}

.main-box .ab-news-section .news-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.main-box .ab-news-section .news-section-title {
    margin: 0;
    color: #1a1a1a;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.main-box .ab-news-section .news-view-more {
    color: #555;
    font-size: 14px;
    text-decoration: none;
}

.main-box .ab-news-section .news-view-more span {
    color: #f60000;
}

.main-box .ab-news-section .news-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.main-box .ab-news-section .news-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: none;
}

.main-box .ab-news-section .news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
}

.main-box .ab-news-section .news-image {
    height: 120px;
    aspect-ratio: auto;
    overflow: hidden;
    background: #f6f6f6;
    color: #fff;
    font-size: 18px;
}

.main-box .ab-news-section .news-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.main-box .ab-news-section .news-content {
    padding: 12px;
}

.main-box .ab-news-section .news-title {
    color: #1f2933;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

.main-box .ab-news-section .news-image-twitch {
    background: linear-gradient(180deg, #9747ff 0%, #7b2cd5 100%);
}

.main-box .ab-news-section .news-twitch-mark {
    padding: 8px 16px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.main-box .ab-news-section .news-image-download {
    background: #8f3ffc;
}

.main-box .ab-news-section .download-icon {
    color: #111;
    font-size: 56px;
    font-weight: 900;
}

.main-box .ab-news-section .news-image-accountboy {
    background: linear-gradient(180deg, #e8f1ff 0%, #d9e8fb 100%);
    color: #4b5c74;
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 1320px) {
    .main-box .products-grid {
        grid-template-columns: repeat(3, 250px);
    }
}

@media (max-width: 992px) {
    .main-box .main-content {
        flex-direction: column;
        padding: 16px;
    }

    .main-box .sidebar {
        width: 100%;
        max-height: none;
        position: static;
    }

    .main-box .category-menu {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .main-box .products-grid {
        grid-template-columns: repeat(2, minmax(250px, 1fr));
        width: 100%;
    }

    .main-box .product-card {
        width: 100%;
    }

    .main-box .ab-news-section .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .main-box .category-menu {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-box .products-grid {
        grid-template-columns: 1fr;
    }

    .main-box .ab-news-section .news-section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .main-box .ab-news-section .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* AccountBoy reference product detail related/news/footer */
.product-detail-page .product-detail-left {
    display: block;
    flex: 1;
}

.product-detail-page > .detail-news-section:not(.ab-detail-news-section) {
    display: none;
}

.product-detail-page .section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
    justify-content: left;
}

.product-detail-page .title-bar {
    width: 4px;
    height: 16px;
    background: #e94560;
    border-radius: 2px;
}

.product-detail-page .related-section {
    padding: 20px;
    margin-bottom: 24px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.product-detail-page .related-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 16px;
}

.product-detail-page .related-item {
    text-align: center;
    cursor: pointer;
}

.product-detail-page .related-logo {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0 auto 8px;
    color: #fff;
    background: linear-gradient(135deg, #1b2838, #2a475e);
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
}

.product-detail-page .related-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-page .related-name {
    margin: 0;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.4;
}

.product-detail-page .ab-detail-news-section {
    max-width: none;
    width: 100%;
    padding: 20px;
    margin: 0 0 24px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.product-detail-page .ab-detail-news-section .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.product-detail-page .ab-detail-news-section .section-title {
    margin-bottom: 0;
}

.product-detail-page .ab-detail-news-section .view-more {
    color: #e94560;
    font-size: 14px;
    text-decoration: none;
}

.product-detail-page .ab-detail-news-section .news-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.product-detail-page .ab-detail-news-section .news-item {
    cursor: pointer;
}

.product-detail-page .ab-detail-news-section .news-image {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 8px;
    color: #fff;
    border-radius: 10px;
    font-weight: 700;
}

.product-detail-page .ab-detail-news-section .news-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.product-detail-page .ab-detail-news-section .news-title {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #1f2937;
    font-size: 13px;
    line-height: 1.4;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ab-footer.footer {
    padding: 0;
    background: #000;
    border-top: 1px solid #eee;
}

.ab-footer .footer-payment-methods {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    background: #fff;
}

.ab-footer .footer-payment-methods img {
    height: 24px;
    object-fit: contain;
    opacity: 0.8;
}

.ab-footer .footer-container {
    max-width: 1200px;
    display: block;
    margin: 0 auto;
    padding: 40px 0;
}

.ab-footer .footer-content {
    display: flex;
    gap: 60px;
}

.ab-footer .footer-brand {
    min-width: 220px;
}

.ab-footer .footer-logo-wrap {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.ab-footer .footer-logo {
    width: 141px;
    height: auto;
}

.ab-footer .contact-label {
    margin-bottom: 12px;
    color: #fff;
    font-size: 14px;
}

.ab-footer .social-links {
    display: flex;
    gap: 8px;
}

.ab-footer .social-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #333;
    border-radius: 50%;
    font-size: 9px;
    line-height: 1;
    text-decoration: none;
}

.ab-footer .social-icon:hover {
    background: #444;
    color: #fff;
}

.ab-footer .footer-links {
    flex: 1;
    display: flex;
    justify-content: space-between;
    gap: 52px;
}

.ab-footer .link-column {
    min-width: 90px;
}

.ab-footer .column-title {
    margin: 0 0 16px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.ab-footer .link-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ab-footer .link-list li {
    margin-bottom: 10px;
    color: #fff;
    font-size: 13px;
}

.ab-footer .link-list a {
    color: #fff;
    text-decoration: none;
}

.ab-footer .link-list a:hover {
    color: #ff6b6b;
}

@media (max-width: 992px) {
    .product-detail-page .related-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .product-detail-page .ab-detail-news-section .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ab-footer .footer-container {
        padding: 32px 20px;
    }

    .ab-footer .footer-content, .ab-footer .footer-links {
        flex-direction: column;
        gap: 28px;
    }
}

@media (max-width: 640px) {
    .product-detail-page .related-grid, .product-detail-page .ab-detail-news-section .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =====================================
   Payment Modal Styles
   ===================================== */
.payment-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-modal.hidden {
    display: none;
}

.payment-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

/* Firefox */
.payment-modal-content {
    overflow-y: auto;
    scrollbar-width: none;
}

/* Chrome, Safari, Opera, Edge */
.payment-modal-content::-webkit-scrollbar {
    display: none;
}

.payment-modal-content {
    position: relative;
    max-width: 440px;
    overflow: hidden;
    margin: 20px;
    background: #fff;
    border-radius: 20px;
    padding: 0;
    width: 100%;
    box-shadow: 0 25px 50px -12px #00000040;
    animation: modalSlideUp-3196a677 .4s cubic-bezier(.16,1,.3,1);
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.payment-header {
    background: linear-gradient(90deg, #6384e8 0%, #8b5cf6 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
}

.payment-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-shield-icon {
    font-size: 13px;
    font-weight: 500;
}

.payment-header-text {
    font-size: 13px;
    font-weight: 500;
}

.payment-close-btn {
    font-size: 32px;
    position: absolute;
    top: 20px;
    right: 20px;
    background: #fffffff2;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
    z-index: 10;
    box-shadow: 0 4px 12px #00000026
}

.payment-close-btn:hover {
    background: #f5f5f5;
}

.payment-body {
    padding: 0px;
    padding-top: 10px;
}

.payment-amount-section {
    text-align: center;
    margin-bottom: 24px;
}

.payment-amount-title {
    margin-bottom: 10px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #6b7280;
}

.payment-amount-display {
    text-align: center;
    padding: 10px 24px;
    background: linear-gradient(135deg, #667eea15, #764ba215);
    border-radius: 12px;
    margin: 0 24px 16px;
    line-height: 1;
}

.payment-amount-value {
    font-size: 32px;
    font-weight: 700;
    color: #3b82f6;
}

.payment-usdt-label {
    font-size: 22px;
    font-weight: 500;
    color: #10b981;
    margin-left: 8px;
}

.payment-qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
}

.payment-qr-container {
    position: relative;
}

.payment-qr-border {
    position: relative;
    padding: 10px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px #00000014;
    margin-bottom: 8px;
}

.payment-qr-corner {
    position: absolute;
    width: 24px;
    height: 24px;
}

.payment-qr-corner-tl {
    top: 0;
    left: 0;
    border-top: 4px solid #3b82f6;
    border-left: 4px solid #3b82f6;
    border-radius: 8px 0 0 0;
}

.payment-qr-corner-tr {
    top: 0;
    right: 0;
    border-top: 4px solid #3b82f6;
    border-right: 4px solid #3b82f6;
    border-radius: 0 8px 0 0;
}

.payment-qr-corner-bl {
    bottom: 0;
    left: 0;
    border-bottom: 4px solid #3b82f6;
    border-left: 4px solid #3b82f6;
    border-radius: 0 0 0 8px;
}

.payment-qr-corner-br {
    bottom: 0;
    right: 0;
    border-bottom: 4px solid #3b82f6;
    border-right: 4px solid #3b82f6;
    border-radius: 0 0 8px 0;
}

.payment-qr-inner {
    width: 160px;
    height: 160px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
.payment-qr-inner .ew_code{
    width: 160px;
    height: 160px;
}
.payment-qr-code {
    width: 100%;
    height: 100%;
}

.payment-qr-hint {
    font-size: 12px;
    color: #6b7280;
    text-align: center;
    margin: 0;
}

.payment-wallet-section {
    margin-bottom: 16px;
    padding: 0 24px;
}

.payment-wallet-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 500;
}

.payment-wallet-input {
    display: flex;
    align-items: center;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 10px 12px;
    gap: 10px;
    transition: all .2s
}

.payment-wallet-address {
    flex: 1;
    background: transparent;
    border: none;
    color: #6b7280;
    font-size: 12px;
    outline: none;
}

.payment-copy-btn {
    flex-shrink: 0;
    background: #1976d2;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all .2s
}

.payment-copy-btn:hover {
    background: #2563eb;
}

.payment-countdown {
    background: linear-gradient(90deg, #6384e8 0%, #8b5cf6 100%);
    color: white;
    border-radius: 12px;
    text-align: center;
    padding: 10px 14px;
    margin: 0 24px;
}

.payment-countdown-title {
    color: #ffffffe6;
    font-size: 13px;
    font-weight: 500;
    margin: 0 0 10px;
}

.payment-countdown-timer {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 8px;
}

.payment-countdown-box {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    text-align: center;
    padding: 6px 8px;
    min-width: 48px;
}

.payment-countdown-value {
    font-size: 18px;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.payment-countdown-unit {
    display: block;
    color: #fffc;
    font-size: 11px;
    line-height: 1.2;
}

.payment-countdown-hint {
    color: #ffffffe6;
    font-size: 12px;
    margin: 0;
}

.payment-warning {
    background: #fef9c3;
    border-left: 4px solid #facc15;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    margin-bottom: 10px;
    margin: 12px 24px;
}

.payment-warning-icon {
    background: #facc15;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #713f12;
    font-weight: 700;
    font-size: 14px;
}

.payment-warning-text {
    color: #92400e;
    font-size: 12px;
    line-height: 1.4;
}

.payment-success-info {
    background: #dcfce7;
    border-left: 4px solid #4ade80;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 24px;
    padding: 8px 10px;
    margin-bottom: 10px;
}

.payment-success-icon {
    background: #4ade80;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    font-weight: 700;
    font-size: 14px;
}

.payment-success-text {
    color: #374151;
    font-size: 14px;
}

.payment-help {
    text-align: center;
    margin-top: 24px;
    margin-bottom: 24px;
}

.payment-help a {
    text-decoration: none;
    color: #6b7280;
    font-size: 13px;
}

.payment-help a:hover span {
    color: #3b82f6;
}

.payment-help span {
    color: #3b82f6;
}

/* Checkout email error */
.checkout-email-error {
    font-size: 13px;
    margin-top: 8px;
}

.service-btn {
    position: fixed;
    right: 16px;
    bottom: 100px;
    width: 56px;
    height: 56px;
    background: linear-gradient(134deg,#4f545d,#131321);
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 12px #0000001f;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    cursor: pointer;
    transition: transform .2s
}

.service-btn span {
    font-size: 10px;
    color: #fff
}

.reviews-section-box {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}