@charset "UTF-8";
/* 面包屑导航 */
.breadcrumb {
    padding: 15px 0;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: var(--wechat-green);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 产品详情区域 */
.product-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin: 30px 0 40px;
}

.product-main {
    flex: 2;
    min-width: 300px;
}

.product-sidebar {
    flex: 1;
    min-width: 300px;
}

.product-header {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    text-align: center;
}

.product-icon {
    font-size: 60px;
    color: var(--wechat-green);
    margin-bottom: 20px;
}

.product-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.product-category {
    display: inline-block;
    background: var(--wechat-light-green);
    color: var(--wechat-dark-green);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 500;
}

.product-price {
    font-size: 32px;
    font-weight: bold;
    color: var(--wechat-green);
    margin: 20px 0;
}

.product-features {
    margin: 20px 0;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    background: var(--wechat-light-green);
    color: var(--wechat-dark-green);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    gap: 5px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.feature-tag i {
    font-size: 12px;
    color: var(--wechat-green);
}

.status {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    background: var(--wechat-light-green);
    color: var(--wechat-dark-green);
    border-radius: 20px;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
}

.status i {
    margin-right: 5px;
    font-size: 14px;
    color: var(--wechat-green);
}

/* 购买选项 */
.purchase-options {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.option-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.quantity-selector {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    background: var(--wechat-gray);
    border: none;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid #e0e3e8;
    margin: 0 10px;
    font-size: 16px;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.btn {
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: var(--wechat-dark-green);
    color: white;
    flex: 2;
}

.btn-primary:hover {
    background: var(--wechat-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(7, 193, 96, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--wechat-green);
    border: 1px solid var(--wechat-green);
    flex: 1;
}

.btn-secondary:hover {
    background: var(--wechat-light-green);
}

/* 产品详情标签页 */
.product-tabs {
    margin: 40px 0;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid #e0e3e8;
    margin-bottom: 20px;
}

.tab {
    padding: 15px 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.tab.active {
    color: var(--wechat-green);
    border-bottom: 3px solid var(--wechat-green);
}

.tab-content {
    display: none;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.tab-content.active {
    display: block;
}

/* 相关文章 */
.related-articles {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.section-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--wechat-light-green);
}

.articles-list {
    list-style: none;
}

.article-item {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.article-item:last-child {
    border-bottom: none;
}

.article-item a {
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.article-item a:hover {
    color: var(--wechat-green);
}

.article-item i {
    color: var(--wechat-green);
    margin-right: 10px;
    font-size: 14px;
}

/* 相关产品 */
.related-products {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.product-card {
    display: flex;
    background: var(--wechat-light-green);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-3px);
}

.card-image {
    width: 80px;
    background: var(--wechat-green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
}

.card-content {
    padding: 15px;
    flex: 1;
}

.card-content a {
    color: #333;
    text-decoration: none;
    align-items: center;
    transition: color 0.3s;
}

.card-content a:hover {
    color: var(--wechat-green);
}

.card-title {
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
    font-size: 16px;
}

.card-price {
    font-size: 16px;
    font-weight: bold;
    color: var(--wechat-green);
}

/* USDT支付弹窗 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-overlay.active {
    display: flex;
}

.usdt-modal {
    background: white;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #eaeaea;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.modal-content {
    padding: 20px;
}

.payment-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.payment-amount {
    font-size: 24px;
    font-weight: bold;
    color: var(--wechat-green);
    display: block;
    margin: 10px 0;
}

.usdt-types {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.usdt-option {
    border: 2px solid #eaeaea;
    border-radius: 8px;
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
    min-width: 0;
}

.usdt-option.active {
    border-color: var(--wechat-green);
    background: var(--wechat-light-green);
}

.usdt-option:hover {
    border-color: var(--wechat-green);
}

.usdt-icon {
    font-size: 24px;
    margin-bottom: 8px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.usdt-option.active .usdt-icon {
    color: var(--wechat-green);
}

.usdt-name {
    font-weight: bold;
    margin-bottom: 4px;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.usdt-desc {
    font-size: 11px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wallet-info {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
}

.qrcode-container {
    margin: 20px auto;
    width: 180px;
    height: 180px;
    background: white;
    padding: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qrcode-placeholder {
    width: 160px;
    height: 160px;
    background: #eaeaea;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}

.wallet-address {
    background: white;
    padding: 10px;
    border-radius: 4px;
    font-family: monospace;
    word-break: break-all;
    margin: 15px 0;
    border: 1px solid #eaeaea;
    font-size: 14px;
}

.copy-btn {
    background: var(--wechat-green);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.copy-btn:hover {
    background: var(--wechat-dark-green);
}

.payment-steps {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.step-number {
    width: 24px;
    height: 24px;
    background: var(--wechat-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-right: 10px;
    flex-shrink: 0;
}



/* 响应式设计 - 导航优化 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        text-align: center;
    }
    
    .menu-toggle {
        display: block;
    }
    
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--wechat-dark-green);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px 0;
    }
    
    nav ul li {
        margin: 0;
    }
    
    nav ul li a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .product-detail {
        flex-direction: column;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .tabs-header {
        flex-wrap: wrap;
    }
    
    .tab {
        flex: 1;
        min-width: 120px;
        text-align: center;
    }
    
    .product-card {
        flex-direction: column;
    }
    
    .card-image {
        width: 100%;
        height: 60px;
    }
    
    .usdt-types {
        gap: 8px;
    }
    
    .usdt-option {
        flex: 0 0 calc(50% - 4px); /* 两个放一行，减去gap的一半 */
        margin-bottom: 8px;
        padding: 10px 6px;
    }
    
    .usdt-name {
        font-size: 13px;
        margin-bottom: 3px;
    }
    
    .usdt-desc {
        font-size: 10px;
    }
    
    .usdt-icon {
        font-size: 20px;
        margin-bottom: 6px;
        height: 40px;
    }
    
    .usdt-modal {
        width: 95%;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 15px;
    }
    
    .modal-title {
        font-size: 18px;
    }
    
    .modal-content {
        padding: 15px;
    }
    
    .payment-amount {
        font-size: 20px;
        margin: 8px 0;
    }
    
    .wallet-info {
        padding: 15px;
    }
    
    .qrcode-container {
        width: 150px;
        height: 150px;
    }
    
    .qrcode-placeholder {
        width: 130px;
        height: 130px;
        font-size: 12px;
    }
    
    .wallet-address {
        font-size: 12px;
        padding: 8px;
    }
    
    .copy-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .payment-steps {
        padding: 12px;
    }
    
    .step {
        margin-bottom: 8px;
    }
    
    .step-number {
        width: 20px;
        height: 20px;
        font-size: 12px;
        margin-right: 8px;
    }
}

@media (max-width: 480px) {
    .usdt-option {
        flex: 0 0 calc(50% - 4px);
        padding: 8px 4px;
    }
    
    .usdt-name {
        font-size: 12px;
    }
    
    .usdt-desc {
        font-size: 9px;
    }
    
    .usdt-modal {
        width: 98%;
        max-height: 80vh;
    }
    
    .modal-header {
        padding: 12px;
    }
    
    .modal-title {
        font-size: 16px;
    }
    
    .modal-content {
        padding: 12px;
    }
    
    .qrcode-container {
        width: 150px;
        height: 150px;
    }
    
    .qrcode-placeholder {
        width: 150px;
        height: 150px;
    }
}