@charset "UTF-8";
.hero-banner {
    background: #993448;
    border-radius: 28px;
    padding: 60px 48px;
    margin: 30px 0 50px 0;
    text-align: center;
    box-shadow: 0 10px 25px -8px rgba(7,193,96,0.3);
}
.hero-banner h1 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.hero-banner h2 {
    color: rgba(255,255,255,0.92);
    font-size: 1.2rem;
    max-width: 90%;
    margin: 0 auto;
    line-height: 1.6;
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.hero-stats .stat {
    text-align: center;
}
.hero-stats .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}
.hero-stats .stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
    margin-top: 5px;
}
.categories-tabs {
    margin: 0 0 28px 0;
    scroll-margin-top: 80px;       
}

.tabs-wrapper {
    display: flex;
    flex-wrap: wrap;           
    justify-content: center;   
    gap: 14px 10px;            
    padding: 4px 0;
}
.category-tab {
    display: inline-block;
    padding: 12px 22px;
    background: #fff;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #4a5b6e;
    cursor: pointer;
    transition: all 0.25s;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
}
.category-tab:hover, .category-tab.active {
    background: #993448;
    color: white;
    border-color: #993448;
    box-shadow: 0 4px 12px rgba(7, 193, 96, 0.3);
}

.products-section {
    margin-bottom: 50px;
    scroll-margin-top: 80px;
}
.products-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.product-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid #edf2f7;
    padding: 24px 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: all 0.2s;
}
.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}
.product-info {
    flex: 3;
    min-width: 200px;
}
.product-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a2c3e;
}
.product-desc {
    font-size: 0.88rem;
    color: #5c6f87;
    line-height: 1.5;
}
.product-meta {
    flex: 1;
    min-width: 140px;
    text-align: center;
}
.price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #993448;
}
.price small {
    font-size: 0.7rem;
    font-weight: normal;
    color: #8e9eae;
}
.stock-status {
    display: inline-block;
    background: #e8f7ef;
    color: #993448;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
    margin-top: 8px;
}
.stock-status.out {
    background: #fee2e2;
    color: #dc2626;
}
.btn-order {
    display: inline-block;
    background: #993448;
    color: #fff;
    text-align: center;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(7, 193, 96, 0.2);
    border: none;
    cursor: pointer;
}
.btn-order:hover {
    background: #e00046;
    transform: scale(1.02);
}
.btn-order.disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    pointer-events: none;
    opacity: 0.6;
}

.section-card {
    background: #fff;
    border-radius: 24px;
    padding: 36px 32px;
    margin: 40px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #eef2f6;
    scroll-margin-top: 80px;
}
.section-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #eef2f6;
}
.section-card-header .section-icon {
    width: 48px;
    height: 48px;
    background: #e8f5ef;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.section-card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e2a3a;
}
.track-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}
.track-form input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid #cbd5e0;
    border-radius: 50px;
    font-size: 0.95rem;
}
.track-form button {
    background: #2c3e50;
    border: none;
    padding: 0 32px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.track-form button:hover {
    background: #993448;
}

/* 订单列表样式 */
.orders-list {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.order-item {
    background: #f8fafc;
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid #eef2f6;
}
.order-item:hover {
    background: #e8f5ef;
    border-color: #993448;
    transform: translateX(4px);
}
.order-info {
    flex: 2;
}
.order-id {
    font-weight: 700;
    color: #1e2a3a;
    margin-bottom: 6px;
    font-size: 1rem;
}
.order-product {
    font-size: 0.8rem;
    color: #6c7a8e;
}
.order-status {
    display: inline-block;
    background: #e8f7ef;
    color: #993448;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
}
.order-status.shipped {
    background: #e8f7ef;
    color: #993448;
}
.order-status.paid {
    background: #e8f7ef;
    color: #993448;
}
.order-status.processing {
    background: #fff3e0;
    color: #e67e22;
}
.order-price {
    font-weight: 700;
    color: #993448;
    font-size: 1.1rem;
}
.order-time {
    font-size: 0.7rem;
    color: #8e9eae;
    margin-top: 4px;
}
.detail-link a{
    color: #993448;
    font-size: 0.8rem;
    text-decoration: none;
    font-weight: 500;
}
.no-orders {
    text-align: center;
    padding: 40px;
    color: #8e9eae;
    background: #f8fafc;
    border-radius: 16px;
    margin-top: 20px;
}
.demo-hint {
    background: #e8f5ef;
    padding: 12px 16px;
    border-radius: 12px;
    margin-top: 16px;
    font-size: 0.8rem;
    color: #993448;
}

.faq-list {
    margin-top: 16px;
}
.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 16px;
}
.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.faq-question {
    font-weight: 700;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question::after {
    content: "▼";
    font-size: 0.7rem;
    color: #993448;
    transition: transform 0.2s;
}
.faq-question.collapsed::after {
    transform: rotate(-90deg);
}
.faq-answer {
    color: #5c6f87;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 弹窗遮罩 */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
.modal-content {
    background: #fff;
    border-radius: 28px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 28px;
    position: relative;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eef2f6;
}
.modal-header h4 {
    font-size: 1.3rem;
    color: #1e2a3a;
}
.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #8e9eae;
}
.order-detail-item {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf2f7;
}
.order-detail-label {
    font-weight: 600;
    color: #4a5b6e;
    font-size: 0.8rem;
    margin-bottom: 4px;
}
.order-detail-value {
    color: #1e2a3a;
    font-size: 0.95rem;
    word-break: break-all;
}
.account-info {
    background: #e8f5ef;
    padding: 12px;
    border-radius: 12px;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .header { flex-direction: column; text-align: center; }
    .nav-menu { justify-content: center; gap: 20px; }
    .hero-banner { padding: 10px; }
    .hero-banner h2 { font-size: 1.6rem; }
    .hero-stats { gap: 20px; }
    .hero-stats .stat-number { font-size: 1.3rem; }
    .product-card { flex-direction: column; text-align: center; }
    .section-card { padding: 24px 20px; }
    .section-card-header h3 { font-size: 1.2rem; }
    .track-form { flex-direction: column; }
    .track-form button { padding: 12px; }
    .category-tab { padding: 8px 20px; font-size: 0.85rem; }
    .order-item { flex-direction: column; text-align: center; }
    .tabs-wrapper {gap: 10px 8px;justify-content: center;}
    .category-tab {padding: 8px 16px;  font-size: 0.85rem;}
    .hero-banner h1 {font-size: 1.6rem;}
    .hero-banner h2 {font-size: 0.9rem;}
}
@media (max-width: 480px) {
    .hero-stats { gap: 16px; }
    .category-tab {padding: 6px 12px;font-size: 0.75rem;}
}