/* ===== 卡车列表页样式 - 参考 shunweiag.com ===== */
.truck-page-wrapper {
    background: #f5f5f5;
    padding-bottom: 60px;
}

    /* Banner 轮播 */
    .truck-banner-section {
        position: relative;
        width: 100%;
        height: 450px;
        overflow: hidden;
        background: #1a1a2e;
    }

    .truck-banner-slider {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .truck-banner-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: opacity 1s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #000;
    }

    .truck-banner-slide.active {
        opacity: 1;
    }

    .truck-banner-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

.truck-banner-dot.active {
        background: #e94560;
        transform: scale(1.2);
    }

    .truck-banner-dots {
        position: absolute;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 12px;
    }

    .truck-banner-dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: rgba(255,255,255,0.5);
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .truck-banner-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(15, 52, 96, 0.7) 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: #fff;
    }

    .truck-banner-content {
        max-width: 800px;
        padding: 20px;
    }

    .truck-banner-content h1 {
        font-size: 48px;
        font-weight: 800;
        margin-bottom: 15px;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    }

    .truck-banner-content p {
        font-size: 18px;
        opacity: 0.9;
        margin-bottom: 25px;
    }

    .truck-banner-btn {
        display: inline-block;
        padding: 14px 40px;
        background: #e94560;
        color: #fff;
        text-decoration: none;
        border-radius: 50px;
        font-weight: 600;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
    }

    .truck-banner-btn:hover {
        background: #d63a52;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(233, 69, 96, 0.5);
    }

/* 分类导航 */
.truck-category-nav {
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.truck-category-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.truck-category-list {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.truck-category-btn {
    padding: 10px 25px;
    background: #f0f0f0;
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
}

.truck-category-btn:hover,
.truck-category-btn.active {
    background: #fff;
    border-color: #e94560;
    color: #e94560;
}

.truck-category-btn.active {
    background: #e94560;
    color: #fff;
}

/* 系列卡片区域 */
.truck-series-section {
    padding: 60px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.truck-series-header {
    text-align: center;
    margin-bottom: 50px;
}

.truck-series-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.truck-series-header p {
    font-size: 16px;
    color: #666;
}

/* 系列卡片 */
.truck-series-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.truck-series-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

.truck-series-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.truck-series-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.truck-series-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.truck-series-card:hover .truck-series-image img {
    transform: scale(1.08);
}

.truck-series-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 20px;
    background: #e94560;
    color: #fff;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(233, 69, 96, 0.4);
}

.truck-series-content {
    padding: 30px;
}

.truck-series-title {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.truck-series-subtitle {
    font-size: 14px;
    color: #888;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.truck-series-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.truck-series-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: #f8f8f8;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.truck-series-item:hover {
    background: #e94560;
    color: #fff;
}

.truck-series-item:hover .truck-item-arrow {
    color: #fff;
}

.truck-item-name {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: inherit;
}

.truck-item-arrow {
    color: #e94560;
    font-size: 14px;
    transition: color 0.3s ease;
}

/* 卡车网格列表 - 参考原网站横向卡片布局 */
.truck-grid-section {
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
    background: #fff;
    margin-bottom: 40px;
}

.truck-grid-header {
    margin-bottom: 30px;
}

.truck-grid-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 5px;
}

.truck-grid-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #e94560;
    margin-top: 10px;
}

.truck-grid-subtitle {
    font-size: 14px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.truck-grid-count {
    font-size: 14px;
    color: #888;
}

.truck-grid-count strong {
    color: #e94560;
}

.truck-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}

.truck-card {
    flex: 0 0 calc(25% - 15px);
    min-width: 240px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: center;
}

.truck-card:hover {
    transform: translateY(-5px);
}

.truck-card:hover .truck-card-image img {
    transform: scale(1.05);
}

.truck-card-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.truck-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.truck-card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 12px;
    background: #e94560;
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.truck-card-content {
    padding: 15px;
}

.truck-card-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin: 0;
}

.truck-card-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.truck-card-title a:hover {
    color: #e94560;
}

.truck-card-meta {
    display: none;
}

.truck-card-price {
    display: none;
}

/* 空状态 */
.truck-empty {
    text-align: center;
    padding: 80px 20px;
    color: #888;
}

.truck-empty-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.truck-empty h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

    /* 响应式 */
    @media (max-width: 1200px) {
    .truck-grid {
        flex: 0 0 calc(33.333% - 14px);
    }
}

@media (max-width: 992px) {
    .truck-banner-section {
        height: 350px;
    }

    .truck-banner-content h1 {
        font-size: 36px;
    }

    .truck-series-grid {
        grid-template-columns: 1fr;
    }

    .truck-grid {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .truck-banner-section {
        height: 300px;
    }

    .truck-banner-content h1 {
        font-size: 28px;
    }

    .truck-banner-content p {
        font-size: 15px;
    }

    .truck-series-image {
        height: 220px;
    }

    .truck-series-list {
        grid-template-columns: 1fr;
    }

    .truck-grid {
        flex: 0 0 calc(50% - 10px);
    }

    .truck-card-image {
        height: 150px;
    }

    .truck-floating-btns {
        right: 15px;
        bottom: 80px;
    }

    .truck-floating-btn {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .truck-banner-section {
        height: 250px;
    }

    .truck-banner-content h1 {
        font-size: 24px;
    }

    .truck-banner-btn {
        padding: 12px 30px;
        font-size: 14px;
    }

    .truck-series-content {
        padding: 20px;
    }

    .truck-series-title {
        font-size: 22px;
    }

    .truck-grid {
        flex: 0 0 100%;
    }

    .truck-card-image {
        height: 160px;
    }
}
