/* ===================================
   Product Page - Desktop Styles
   应用于屏幕宽度 >= 769px
   =================================== */

/* 隐藏移动端专用模块 */
.mobile-product-section {
    display: none !important;
}

/* Hero Banner Section */
.hero-banner {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 150px;
    min-height: 600px;
    display: flex;
    align-items: center;
    margin-top: 48px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-left {
    flex: 0 0 450px;
    color: #000000;
}

.hero-category {
    font-size: 13px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 24px;
    font-weight: 500;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 48px;
    color: #000000;
    letter-spacing: -1px;
}

.hero-btn {
    background: #000000;
    color: #ffffff;
    border: none;
    padding: 18px 52px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

.hero-btn:hover {
    background: #333333;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

.hero-bike-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    min-width: 800px;
}

.hero-bike-bg {
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 500px;
    font-weight: 700;
    color: rgba(180, 180, 180, 0.35);
    z-index: 1;
    letter-spacing: -15px;
    line-height: 0.9;
    user-select: none;
}

.hero-bike-img {
    position: relative;
    width: 100% !important;
    height: auto;
    max-width: none !important;
    z-index: 2;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

/* Promotion Section */
.promotion-section {
    padding: 60px 80px;
    display: flex;
    gap: 40px;
    max-width: 1800px;
    margin: 0 auto;
}

.promotion-left,
.promotion-right {
    flex: 1;
}

.gift-content {
    display: flex;
    flex-direction: column;
}

.gift-card {
    background: linear-gradient(135deg, #ff4757 0%, #ff6b81 50%, #ffb3ba 100%);
    border-radius: 24px;
    padding: 50px 45px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    height: 240px;
    box-shadow: 0 10px 30px rgba(255, 71, 87, 0.2);
    transition: all 0.3s ease;
}

.gift-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 71, 87, 0.3);
}

.gift-content h3 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 28px;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.gift-btn {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    padding: 14px 36px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

.gift-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #ff4757;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.gift-image img {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.15));
}

.classic-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 50px 45px;
    color: #000000;
    height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.classic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.classic-card h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 28px;
    line-height: 1.3;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.classic-btn {
    background: #000000;
    color: #ffffff;
    border: none;
    padding: 16px 40px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.classic-btn:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Product Listing Section */
.bike {
    display: flex;
    gap: 40px;
    padding: 60px 80px;
    max-width: 1800px;
    margin: 0 auto;
}

.bike-left {
    width: 300px;
    flex-shrink: 0;
}

.bike-right {
    flex: 1;
}

/* Product Category Tree */
.product-category-tree {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.category-header {
    padding: 30px 25px 20px;
    border-bottom: 1px solid #e5e5e5;
}

.category-title {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-icon {
    width: 22px;
    height: 22px;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
}

.category-icon::before,
.category-icon::after {
    content: '';
    position: absolute;
    width: 9px;
    height: 9px;
    background: #000000;
    border-radius: 2px;
}

.category-icon::before {
    top: 0;
    left: 0;
    box-shadow: 13px 0 0 #000000, 0 13px 0 #000000, 13px 13px 0 #000000;
}

.category-divider {
    height: 1px;
    background: #e5e5e5;
    margin-bottom: 0;
    display: none;
}

.search-box {
    position: relative;
    margin-top: 25px;
}

.search-input {
    width: 100%;
    padding: 14px 20px 14px 45px;
    border: none;
    background: #f0f0f0;
    border-radius: 30px;
    font-size: 14px;
    color: #666;
    outline: none;
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: #aaa;
}

.search-input:focus {
    background: #e8e8e8;
    box-shadow: none;
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    width: 16px;
    height: 16px;
}

.search-icon::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid #999;
    border-radius: 50%;
    top: 0;
    left: 0;
}

.search-icon::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 6px;
    background: #999;
    transform: rotate(-45deg);
    bottom: -1px;
    right: -1px;
}

/* Category List */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item,
.category-sub-item {
    padding: 16px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f5f5f5;
}

.category-item:hover,
.category-sub-item:hover {
    background: #fafafa;
}

.category-item.active,
.category-sub-item.active {
    background: #f5f5f5;
    color: #000000;
    font-weight: 600;
}

.category-name {
    font-size: 15px;
    color: #000000;
    font-weight: 500;
}

.category-arrow {
    font-size: 12px;
    color: #ccc;
    transition: transform 0.3s ease;
}

.category-item.expanded .category-arrow {
    transform: rotate(90deg);
}

.category-sub-item {
    padding-left: 45px;
    font-size: 14px;
    color: #999;
    font-weight: 400;
}

.category-sub-item .category-name {
    color: #999;
    font-weight: 400;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.product-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    height: 280px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.03);
}

.product-info {
    padding: 20px 24px 24px;
    border-top: 1px solid #f5f5f5;
}

.product-series {
    font-size: 11px;
    color: #bbb;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    font-weight: 400;
}

.product-model-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-model {
    font-size: 28px;
    font-weight: 700;
    color: #000000;
}

.buy-now-btn {
    background: #ffffff;
    color: #000000;
    border: 1.5px solid #e0e0e0;
    padding: 11px 28px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.buy-now-btn:hover {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
    transform: translateY(-2px);
}

/* 特殊红色按钮（用于 X9 等） */
.product-card.featured .buy-now-btn {
    background: #ff3b30;
    color: #ffffff;
    border-color: #ff3b30;
}

.product-card.featured .buy-now-btn:hover {
    background: #e6342a;
    border-color: #e6342a;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 50px 0;
}

.page-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #e0e0e0;
    background: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #666;
}

.page-btn:hover:not(:disabled) {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 8px;
}

.page-number {
    width: 36px;
    height: 36px;
    border: 1px solid #e0e0e0;
    background: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    color: #666;
}

.page-number:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-number.active {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

/* Loading & Error States */
.loading,
.error,
.no-products {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 16px;
}

.error {
    color: #ff6b6b;
}

/* 响应式调整 */
@media (max-width: 1400px) {
    .hero-banner,
    .promotion-section,
    .bike {
        padding-left: 80px;
        padding-right: 80px;
    }
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 40px;
    }
}

@media (max-width: 992px) {
    .hero-banner,
    .promotion-section,
    .bike {
        padding-left: 40px;
        padding-right: 40px;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .promotion-section {
        flex-direction: column;
    }
}

