/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    background-color: #FCF5E6;
    color: #333;
    line-height: 1.6;
}

/* 头部导航 */
header {
    background-color: #10243F;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    max-width: 1200px;
    margin: 0 auto;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

nav a {
    color: #FCF5E6;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav a:hover {
    background-color: #CC1B1B;
    color: #FFB61E;
}

/* Banner区域 */
.banner {
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 主要内容区 */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.featured h2 {
    color: #10243F;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.featured h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #CC1B1B;
    margin: 0.5rem auto;
}

/* 乐器网格 */
.instrument-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.instrument-item {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.instrument-item:hover {
    transform: translateY(-5px);
}

.instrument-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
}

.instrument-item h3 {
    color: #10243F;
    font-size: 1.5rem;
    margin: 1rem 0;
}

.instrument-item p {
    color: #666;
}

/* 页脚 */
footer {
    background-color: #10243F;
    color: #FCF5E6;
    padding: 2rem 0;
    text-align: center;
    margin-top: 3rem;
}

footer img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 1rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
        padding: 1rem;
    }

    .banner {
        height: 400px;
    }

    .instrument-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
} 

/* 分类导航 */
.category-nav {
    background-color: #FCF5E6;
    padding: 2rem 0;
    text-align: center;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.tab {
    padding: 0.8rem 1.5rem;
    border: none;
    background: #10243F;
    color: #FCF5E6;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.tab:hover {
    background: #CC1B1B;
}

.tab.active {
    background: #CC1B1B;
    color: #FFB61E;
}

/* 分类内容 */
.category-header {
    margin-bottom: 3rem;
    text-align: center;
}

.category-header img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.category-header h3 {
    color: #10243F;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.category-header p {
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* 乐器列表 */
.instrument-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.instrument-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.instrument-card:hover {
    transform: translateY(-5px);
}

.instrument-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.instrument-card h4 {
    color: #10243F;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.instrument-card p {
    color: #666;
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #10243F;
    color: #FCF5E6;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #CC1B1B;
    color: #FFB61E;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .category-tabs {
        flex-direction: column;
        padding: 0 1rem;
    }
    
    .category-header img {
        height: 300px;
    }
} 

/* 详情页样式 */
.detail-page {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.product-showcase {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* 图片展示区 */
.product-gallery {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.main-image {
    margin-bottom: 1rem;
}

.main-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 4px;
}

.thumbnail-list {
    display: flex;
    gap: 1rem;
}

.thumbnail-list img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumbnail-list img:hover {
    transform: scale(1.05);
}

/* 商品信息 */
.product-info {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.product-info h1 {
    color: #10243F;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.price {
    color: #CC1B1B;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

.basic-info {
    margin-bottom: 2rem;
}

.basic-info p {
    margin: 0.5rem 0;
    color: #666;
}

.actions {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    background: #CC1B1B;
    color: #FCF5E6;
    border: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-secondary {
    background: #10243F;
    color: #FCF5E6;
    border: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* 详情内容 */
.product-details {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.detail-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 1rem;
}

.detail-tabs .tab {
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1.1rem;
    color: #666;
    cursor: pointer;
}

.detail-tabs .tab.active {
    color: #CC1B1B;
    border-bottom: 2px solid #CC1B1B;
}

.detail-section img {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    display: block;
}

/* 相关推荐 */
.related-products h2 {
    color: #10243F;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.product-card h3 {
    color: #10243F;
    margin-bottom: 0.5rem;
}

.product-card p {
    color: #CC1B1B;
    font-weight: bold;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .product-showcase {
        grid-template-columns: 1fr;
    }

    .main-image img {
        height: 400px;
    }

    .actions {
        flex-direction: column;
    }
} 

/* 关于我们页面样式 */
.about-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Banner样式 */
.about-banner {
    position: relative;
    width: 100%;
    height: 600px;
    margin-bottom: 3rem;
}

.about-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #FCF5E6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* 公司简介 */
.company-intro {
    margin-bottom: 3rem;
}

.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.text-content {
    padding: 2rem;
}

.text-content h2 {
    color: #10243F;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.text-content p {
    color: #666;
    line-height: 1.8;
}

.image-content img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

/* 企业文化 */
.culture {
    margin-bottom: 3rem;
    text-align: center;
}

.culture h2 {
    color: #10243F;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.culture-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.culture-item:hover {
    transform: translateY(-5px);
}

.culture-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.culture-item h3 {
    color: #10243F;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* 团队展示 */
.team {
    margin-bottom: 3rem;
    text-align: center;
}

.team h2 {
    color: #10243F;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.team-showcase {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.team-showcase img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 2rem;
}

.team-info p {
    color: #666;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* 发展历程 */
.history {
    margin-bottom: 3rem;
    text-align: center;
}

.history h2 {
    color: #10243F;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #CC1B1B;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 2rem;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 3rem;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #CC1B1B;
    border-radius: 50%;
    top: 50%;
}

.timeline-item:nth-child(odd)::before {
    right: -10px;
}

.timeline-item:nth-child(even)::before {
    left: -10px;
}

.timeline-item .content {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.timeline-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.timeline-item .time {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #CC1B1B;
    font-weight: bold;
}

.timeline-item:nth-child(odd) .time {
    right: -80px;
}

.timeline-item:nth-child(even) .time {
    left: -80px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .section-content {
        grid-template-columns: 1fr;
    }

    .culture-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
        padding-right: 1rem;
    }

    .timeline-item::before {
        left: 10px;
    }

    .timeline-item .time {
        left: 60px !important;
        top: 0;
    }
} 

/* 新闻页面样式 */
.news-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.news-header {
    text-align: center;
    margin-bottom: 3rem;
}

.news-header h1 {
    color: #10243F;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* 搜索和筛选工具 */
.news-tools {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.search-box {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    max-width: 500px;
}

.search-box input {
    flex: 1;
    padding: 0.8rem;
    border: 2px solid #10243F;
    border-radius: 4px;
    font-size: 1rem;
}

.search-btn {
    padding: 0.8rem 1.5rem;
    background: #10243F;
    color: #FCF5E6;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #CC1B1B;
}

.category-filter {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: none;
    border: 2px solid #10243F;
    border-radius: 4px;
    color: #10243F;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #10243F;
    color: #FCF5E6;
}

/* 新闻列表 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

.news-content h2 {
    color: #10243F;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.news-meta {
    display: flex;
    gap: 1rem;
    color: #666;
    margin-bottom: 1rem;
}

.news-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    color: #CC1B1B;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #10243F;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.page-btn {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #10243F;
    border-radius: 4px;
    color: #10243F;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-btn:hover,
.page-btn.active {
    background: #10243F;
    color: #FCF5E6;
}

.page-dots {
    padding: 0.5rem;
    color: #666;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .news-item {
        grid-template-columns: 1fr;
    }

    .news-image img {
        height: 250px;
    }

    .category-filter {
        flex-direction: column;
        width: 100%;
    }

    .filter-btn {
        width: 100%;
    }
} 

/* 联系我们页面样式 */
.contact-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h1 {
    color: #10243F;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-header p {
    color: #666;
    font-size: 1.1rem;
}

/* 联系信息 */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.info-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.info-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.info-item h3 {
    color: #10243F;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: #666;
}

/* 联系表单 */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    color: #10243F;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #10243F;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: #10243F;
    color: #FCF5E6;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #CC1B1B;
}

/* 地图 */
.contact-map {
    margin-top: 3rem;
}

.contact-map img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
} 

/* 购物车页面样式 */
.cart-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.cart-page h1 {
    color: #10243F;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* 购物车表格 */
.cart-table {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #eee;
}

th {
    background: #f8f8f8;
    color: #10243F;
    font-weight: bold;
}

.product-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.product-info img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

.product-details h3 {
    color: #10243F;
    margin-bottom: 0.5rem;
}

.product-details p {
    color: #666;
    font-size: 0.9rem;
}

/* 数量调整 */
.quantity {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.quantity input {
    width: 60px;
    padding: 0.5rem;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: #f0f0f0;
}

/* 删除按钮 */
.delete-btn {
    padding: 0.5rem 1rem;
    background: none;
    border: 1px solid #CC1B1B;
    color: #CC1B1B;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.delete-btn:hover {
    background: #CC1B1B;
    color: white;
}

/* 价格和小计 */
.price, .subtotal {
    color: #CC1B1B;
    font-weight: bold;
}

/* 购物车汇总 */
.cart-summary {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.total-price {
    color: #CC1B1B;
    font-size: 1.5rem;
    font-weight: bold;
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: #CC1B1B;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    background: #a01515;
    transform: translateY(-2px);
}

.continue-shopping {
    display: block;
    text-align: center;
    color: #10243F;
    text-decoration: none;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.continue-shopping:hover {
    color: #CC1B1B;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .cart-table {
        font-size: 0.9rem;
    }

    .product-info img {
        width: 60px;
        height: 60px;
    }

    .product-details h3 {
        font-size: 1rem;
    }

    .quantity input {
        width: 40px;
    }

    .delete-btn {
        padding: 0.3rem 0.6rem;
    }
} 

/* 用户中心页面样式 */
.user-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* 用户头部信息 */
.user-header {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.info-text h2 {
    color: #10243F;
    margin-bottom: 0.5rem;
}

.info-text p {
    color: #666;
}

.user-stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.stat-item {
    text-align: center;
}

.stat-item img {
    width: 40px;
    height: 40px;
    margin-bottom: 0.5rem;
}

.stat-item span {
    display: block;
    color: #666;
    margin-bottom: 0.5rem;
}

.stat-item strong {
    color: #CC1B1B;
    font-size: 1.5rem;
}

/* 用户内容区域 */
.user-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
}

/* 侧边菜单 */
.user-menu {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    color: #10243F;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.menu-item img {
    width: 24px;
    height: 24px;
}

.menu-item:hover,
.menu-item.active {
    background: #f0f0f0;
    color: #CC1B1B;
}

/* 内容区域 */
.content-area {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.content-area h3 {
    color: #10243F;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #eee;
}

/* 个人资料表单 */
.profile-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #10243F;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group input:disabled {
    background: #f8f8f8;
}

.save-btn {
    padding: 1rem 2rem;
    background: #CC1B1B;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.save-btn:hover {
    background: #a01515;
    transform: translateY(-2px);
}

/* 订单列表 */
.order-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.order-item {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.order-header {
    background: #f8f8f8;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-number {
    color: #666;
}

.order-status {
    color: #CC1B1B;
}

.order-content {
    padding: 1rem;
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 1rem;
    align-items: center;
}

.order-content img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

.order-info h4 {
    color: #10243F;
    margin-bottom: 0.5rem;
}

.order-info p {
    color: #CC1B1B;
    font-weight: bold;
}

.order-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.order-actions .btn {
    padding: 0.5rem 1rem;
    background: #10243F;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.order-actions .btn:hover {
    background: #CC1B1B;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .user-header {
        grid-template-columns: 1fr;
    }

    .user-content {
        grid-template-columns: 1fr;
    }

    .user-menu {
        position: sticky;
        top: 70px;
        z-index: 90;
    }

    .menu-item {
        padding: 0.8rem;
    }

    .order-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .order-actions {
        flex-direction: row;
        justify-content: center;
    }
} 