/* OEM/ODM 移动端样式 */

/* Hero Section - 全宽圆角卡片 */
.hero-section {
    position: relative;
    height: auto;
    padding: 0;
    background: #fff;
    margin-bottom: 25px;
}

.hero-bg-image {
    position: relative;
    width: 100%;
    height: 280px;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
}

.hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    display: none;
}

.hero-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.hero-content {
    position: absolute;
    top: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-text {
    text-align: left;
}

.hero-title {
    font-size: 44px;
    font-weight: bold;
    color: #fff;
    margin: 0 0 5px 0;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 16px;
    font-weight: 300;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

/* Cards Section - 上下布局（图片在上，内容在下） */
.cards-section {
    padding: 30px 0;
    background: #f5f5f5;
}

.cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 0 15px;
    max-width: 100%;
}

.service-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    width: 100%;
    padding: 20px 18px 24px 18px;
    background: #fff;
}

.card-title {
    font-size: 28px;
    font-weight: bold;
    color: #E84E1B;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.card-subtitle {
    font-size: 16px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 15px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #FF6B35;
    line-height: 1.3;
}

.card-description {
    font-size: 12px;
    line-height: 1.7;
    color: #666;
    margin: 15px 0 0 0;
}

/* Support & Warranty Section - 卡片样式 */
.support-warranty-section {
    padding: 20px 15px 30px 15px;
    background: #f5f5f5;
}

.support-content {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    min-height: auto;
}

.support-image-container {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    order: 1;
}

.support-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.support-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.support-text {
    padding: 24px 20px;
    text-align: left;
    max-width: 100%;
    order: 2;
}

.support-title {
    font-size: 26px;
    font-weight: bold;
    color: #1a1a1a;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.support-description {
    font-size: 13px;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

.brand-highlight {
    color: #0066cc;
    font-weight: 600;
}

/* Warranty Table Section - 卡片样式 */
.warranty-table-section {
    padding: 30px 0 40px 0;
    background: #f5f5f5;
}

.warranty-table-section .container {
    padding: 0 15px;
}

.table-title {
    font-size: 22px;
    font-weight: bold;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    text-align: left;
}

/* 隐藏表格表头 */
.warranty-table thead {
    display: none;
}

/* 表格容器 */
.warranty-table-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.warranty-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.warranty-table tbody {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 每一行变成卡片 */
.warranty-table tr {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* 顶部行：编号、配件名称、保修期 */
.warranty-table td {
    display: block;
    padding: 0;
    border: none;
}

.warranty-table tr td:nth-child(1) {
    /* 编号 */
    position: absolute;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    top: 16px;
    left: 16px;
}

.warranty-table tr td:nth-child(2) {
    /* 配件名称 */
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    padding-left: 45px;
    padding-right: 95px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.warranty-table tr td:nth-child(3) {
    /* 保修期 */
    position: absolute;
    font-size: 12px;
    font-weight: 500;
    color: #5B9BD5;
    top: 16px;
    right: 16px;
    background: rgba(91, 155, 213, 0.15);
    padding: 4px 10px;
    border-radius: 6px;
}

.warranty-table tr td:nth-child(4) {
    /* 故障描述 */
    font-size: 12px;
    color: #888;
    line-height: 1.6;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
}

/* 为了使定位生效 */
.warranty-table tr {
    position: relative;
}

/* 小屏移动端样式 (480px以下) */
@media (max-width: 480px) {
    .hero-section {
        padding: 0;
        margin-bottom: 20px;
    }
    
    .hero-bg-image {
        height: 240px;
    }
    
    .hero-container {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
    
    .hero-content {
        top: 25px;
        left: 25px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    /* 小屏幕卡片样式调整 */
    .cards-section {
        padding: 25px 0;
    }
    
    .cards-wrapper {
        gap: 20px;
        padding: 0 0px;
    }
    
    .card-image {
        height: 180px;
    }
    
    .card-content {
        padding: 16px 15px 20px 15px;
    }
    
    .card-title {
        font-size: 24px;
    }
    
    .card-subtitle {
        font-size: 14px;
        padding-bottom: 12px;
    }
    
    .card-description {
        font-size: 11px;
        line-height: 1.6;
    }
    
    .support-warranty-section {
        padding: 15px 12px 25px 12px;
    }
    
    .support-image-container {
        height: 200px;
    }
    
    .support-text {
        padding: 20px 16px;
    }
    
    .support-title {
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .support-description {
        font-size: 12px;
        line-height: 1.7;
    }
    
    .warranty-table-section {
        padding: 25px 0 35px 0;
    }
    
    .warranty-table-section .container {
        padding: 0 12px;
    }
    
    .table-title {
        font-size: 20px;
        margin-bottom: 16px;
    }
    
    .warranty-table-wrapper {
        gap: 10px;
    }
    
    .warranty-table tbody {
        gap: 10px;
    }
    
    .warranty-table tr {
        padding: 14px;
        border-radius: 10px;
    }
    
    .warranty-table tr td:nth-child(1) {
        font-size: 15px;
        font-weight: 700;
        top: 14px;
        left: 14px;
    }
    
    .warranty-table tr td:nth-child(2) {
        font-size: 14px;
        padding-left: 40px;
        padding-right: 85px;
        margin-bottom: 8px;
    }
    
    .warranty-table tr td:nth-child(3) {
        font-size: 11px;
        top: 14px;
        right: 14px;
        padding: 3px 8px;
        border-radius: 5px;
    }
    
    .warranty-table tr td:nth-child(4) {
        font-size: 11px;
        line-height: 1.5;
    }
}

