/* ====== LAYOUT ====== */
.container-oem {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 16px;
}

.page-oem {
    min-height: 100vh;
    background: #f7f8fa;
}


/* ====== BUTTONS ====== */
.btn-oem-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    background: #2644DD;
    color: #fff;
    border-radius: 8px;
    padding: 10px 16px;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-oem-primary:hover {
    background: #1f36b3;
    color: #fff;
    text-decoration: none;
}

.btn-oem-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    background: #f5f5f5;
    color: #333;
    border-radius: 8px;
    padding: 10px 16px;
    border: 1px solid #ddd;
    cursor: pointer;
    text-decoration: none;
}

.btn-oem-secondary:hover {
    color: #333;
    text-decoration: none;
    background: #ebebeb;
}

/* ====== INPUTS ====== */
.input-oem {
    height: 42px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0 12px;
    width: 100%;
    background: #fff;
    box-sizing: border-box;
}

.textarea-oem {
    min-height: 100px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    width: 100%;
    background: #fff;
    box-sizing: border-box;
}

/* ====== CARDS ====== */
.card-oem {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    padding: 16px;
}

.card-oem-title {
    margin-bottom: 12px;
}

/* ====== TABLE ====== */
.table-oem {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.table-oem th,
.table-oem td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    text-align: left;
    vertical-align: middle;
}

.table-oem th {
    color: #555;
    background: #fafafa;
}

/* ====== BADGE ====== */
.badge-oem {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 6px;
    line-height: 1.2;
}

.badge-oem-success {
    background: #e8f0ff;
    color: #2644DD;
}

.badge-oem-warning {
    background: #fff8e1;
    color: #a66a00;
}

.badge-oem-danger {
    background: #ffebee;
    color: #c62828;
}

/* ====== ALERT ====== */
.alert-oem {
    padding: 12px;
    border-radius: 8px;
}

.alert-oem-success {
    background: #e8f0ff;
    color: #2644DD;
}

.alert-oem-danger {
    background: #ffebee;
    color: #c62828;
}

.alert-oem-warning {
    background: #fff8e1;
    color: #a66a00;
}

/* ====== FORM ====== */
.form-group-oem {
    margin-bottom: 16px;
}

.label-oem {
    display: block;
    margin-bottom: 6px;
    color: #333;
}

/* ====== SPACING ====== */
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }

/* ====== AUTH LAYOUT ====== */
.auth-oem {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: #f7f8fa;
}

.auth-oem-box {
    width: 100%;
    max-width: 420px;
}

/* ====== ACCOUNT CLEAN ====== */
.account-wrap-oem {
    padding: 30px 0 50px;
}

.account-box-oem {
    max-width: 900px;
}

.account-form-box-oem {
    max-width: 700px;
}

.account-form-box-wide-oem {
    max-width: 900px;
}

.account-header-oem {
    padding: 30px;
}

.account-header-title-oem {
    margin: 0 0 10px;
}

.account-header-desc-oem {
    color: #666;
}

.account-row-gap-oem {
    margin-left: -10px;
    margin-right: -10px;
}

.account-col-gap-oem {
    padding-left: 10px;
    padding-right: 10px;
}

.account-grid-item-oem {
    margin-bottom: 20px;
}

.account-card-link-oem {
    display: block;
    min-height: 140px;
    text-decoration: none;
    color: #222;
    padding: 24px;
}

.account-card-link-oem:hover {
    color: #222;
    text-decoration: none;
}

.account-card-title-oem {
    margin-bottom: 10px;
}

.account-card-desc-oem {
    color: #666;
    line-height: 1.6;
}

.account-actions-oem {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.account-actions-right-oem {
    display: flex;
    justify-content: flex-end;
    margin-top: 25px;
}

.account-note-oem {
    margin-bottom: 25px;
    color: #666;
}

.account-info-text-oem {
    color: #666;
}

.account-inline-radio-oem {
    margin-right: 15px;
}

.account-small-text-oem {
    font-size: 14px;
}

.account-table-meta-oem {
    color: #666;
}

.account-order-meta-oem {
    color: #666;
}

.account-card-text-oem {
    line-height: 1.6;
    margin-bottom: 15px;
}

.account-comment-oem {
    margin-top: 10px;
    color: #555;
}

.account-delivery-oem,
.account-stock-oem {
    color: #666;
}

.account-address-card-oem {
    padding: 20px;
    height: 100%;
}

.account-title-lg-oem {
    margin: 0 0 10px;
}

.account-title-md-oem {
    margin-top: 0;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
    .container-oem {
        padding: 0 12px;
    }

    .card-oem {
        padding: 14px;
        border-radius: 10px;
    }

    .table-oem th,
    .table-oem td {
        padding: 8px;
    }

    .account-wrap-oem {
        padding: 20px 0 35px;
    }

    .account-header-oem,
    .account-card-link-oem,
    .account-address-card-oem {
        padding: 20px;
    }
}

.account-container-sm-oem {
    max-width: 900px;
}

.account-card-fill-oem {
    padding: 20px;
    height: 100%;
}

.account-address-text-oem {
    line-height: 1.6;
    margin-bottom: 15px;
}

.account-actions-between-oem {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.account-form-footer-oem {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* ===== HEADER 2.0 ===== */

.oem-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
}

.oem-logo {
    flex: 0 0 auto;
}

.oem-price-btn {
    white-space: nowrap;
}

.oem-search {
    flex: 1;
}

.oem-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* MOBILE */
@media (max-width: 768px) {

    .oem-header {
        flex-wrap: wrap;
        gap: 10px;
    }

    .oem-search {
        width: 100%;
        order: 3;
    }

    .oem-price-btn {
        order: 2;
    }
}

/* ===== CATEGORY TABLE ===== */
.table-oem {
    width: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.table-oem th {
    background: #f7f8fa;
    font-weight: 600;
    font-size: 13px;
}

.table-oem td {
    font-size: 14px;
}

.table-oem tr:hover {
    background: #fafafa;
}

body {
    background: #F5F7FA; /* мягкий серый */
}

.card-oem {
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.table-oem {
    background: #FFFFFF;
    border-radius: 12px;
}

