* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f1f4;
    color: #333;
    line-height: 1.6;
}
.order_info{
    width: 800px;
    margin: 0 auto;
    text-align: center;
}
.container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
}

/* 左侧导航栏样式 */
.sidebar {
    width: 20%;
    background-color: #f8f1f4 ;
    padding: 25px 20px;
    box-shadow: 2px 0 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.logo {
    margin-bottom: 30px;
    text-align: center;
}

.logo h1 {
    color: #e83e8c;
    font-size: 24px;
    font-weight: 700;
}

.logo span {
    color: #6c757d;
    font-size: 14px;
    display: block;
    margin-top: 5px;
}

.nav-section {
    margin-bottom: 30px;
}

.nav-section h3 {
    font-size: 16px;
    color: #495057;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e9ecef;
}

.nav-links {
    list-style: none;
}

.nav-links li {
    margin-bottom: 10px;
}

.nav-links a {
    text-decoration: none;
    color: #6c757d;
    display: flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 5px;
    transition: all 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    background-color: #f8f9fa;
    color: #e83e8c;
}

.nav-links i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.filter-options label {
    display: block;
    margin-bottom: 10px;
    color: #6c757d;
    font-size: 14px;
}

.filter-options input[type="checkbox"] {
    margin-right: 8px;
}

.price-range {
    margin-top: 15px;
}

.price-range input {
    width: 100%;
    margin: 10px 0;
}

.price-values {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #6c757d;
}

/* 右侧产品区域样式 */
.main-content {
    width: 100%;
    padding: 25px 30px;
}

.main-content2 {
    width: 80%;
    padding: 5px;
}

@media (max-width: 768px) {
    .main-content2 {
        width: 100%;
    }
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.search-bar {
    display: flex;
    width: 60%;
}

.search-bar input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #dee2e6;
    border-radius: 5px 0 0 5px;
    font-size: 14px;
}

.search-bar button {
    background-color: #e83e8c;
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.user-actions a {
    color: #6c757d;
    margin-left: 15px;
    text-decoration: none;
}

.user-actions a:hover {
    color: #e83e8c;
}

.banner {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 10px;
    padding: 30px;
    color: white;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.banner-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.banner-content p {
    font-size: 16px;
    opacity: 0.9;
}

.banner-button {
    background-color: white;
    color: #e83e8c;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.banner-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0 20px;
}

.section-title h2 {
    font-size: 22px;
    color: #495057;
}

.view-all {
    color: #e83e8c;
    text-decoration: none;
    font-size: 14px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.product-image {
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ff6b6b;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.product-info {
    padding: 15px;
}

.product-category {
    color: #6c757d;
    font-size: 12px;
    margin-bottom: 5px;
}

.product-name {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 16px;
    height: 60px;
    overflow: hidden;
}

.product-price {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.current-price {
    font-weight: 700;
    font-size: 18px;
    color: #e83e8c;
}

.original-price {
    text-decoration: line-through;
    color: #6c757d;
    margin-left: 10px;
    font-size: 14px;
}

.rating {
    color: #ffc107;
    font-size: 14px;
    margin-bottom: 10px;
}

.add-to-cart {
    background-color: #e83e8c;
    color: white;
    border: none;
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.add-to-cart:hover {
    background-color: #d81b60;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    
    .main-content {
        width: 100%;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 576px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .search-bar {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .banner {
        flex-direction: column;
        text-align: center;
    }
    
    .banner-button {
        margin-top: 15px;
    }
}