/* ========================================
   整体容器设置
   ======================================== */
.oem-section {
    max-width: 1100px;
    margin: 40px auto;
    font-family: Arial, sans-serif;
    background-color: #fff;
    padding-bottom: 20px;
}

/* 黑色标题头部 */
.oem-header {
    background-color: #11335a !important;
    color: #fff;
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 40px;
}

.oem-header h2 {
    font-size: 36px;
    font-weight: bold;
    margin: 0;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.oem-header p {
    font-size: 18px;
    margin: 10px 0 0;
    color: #ccc;
}

/* 上方 4 格网格布局 */
.oem-grid-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 0 20px;
    margin-bottom: 30px;
}

/* 卡片通用样式 */
.oem-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    background: #fff;
}

.oem-card-img {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.oem-card-img img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* 底部标签 */
.oem-label {
    background-color: #11335a !important;
    color: #fff;
    text-align: center;
    padding: 10px 5px;
    font-size: 14px;
    font-weight: bold;
}

/* 下方长条包装定制样式 */
.oem-full-width {
    margin: 0 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.oem-full-images {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 30px 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.oem-full-images img {
    max-height: 120px;
    width: auto;
    object-fit: contain;
}

/* ========================================
   选项卡导航样式
   ======================================== */
.lee-oem-tabs-wrapper {
    max-width: 1140px;
    margin: 0 auto;
}

.lee-oem-tab-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 0;
    border-bottom: 3px solid #11335a;
}

.lee-oem-tab-btn {
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-bottom: none;
    color: #333;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    margin-right: 4px;
    transition: all 0.3s ease;
    outline: none;
}

.lee-oem-tab-btn:hover {
    background: #e0e0e0;
}

.lee-oem-tab-btn.active {
    background: #11335a;
    color: #fff;
    border-color: #11335a;
}

.lee-oem-tab-panel {
    display: none;
}

.lee-oem-tab-panel.active {
    display: block;
}

/* ========================================
   响应式适配
   ======================================== */
@media (max-width: 991px) {
    .oem-grid-top {
        grid-template-columns: repeat(2, 1fr);
    }

    .lee-oem-tab-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 600px) {
    .oem-header h2 {
        font-size: 24px;
    }

    .oem-grid-top {
        grid-template-columns: 1fr;
    }

    .oem-full-images img {
        max-height: 80px;
    }

    .lee-oem-tab-nav {
        flex-direction: column;
        border-bottom: none;
    }

    .lee-oem-tab-btn {
        border-radius: 0;
        margin-right: 0;
        border-bottom: 1px solid #ddd;
    }

    .lee-oem-tab-btn.active {
        border-radius: 4px;
    }
}
