.mi2_header_shell {
    position: relative;
    z-index: 99;
}

.mi2_topbar {
    background: #00a651;
    color: #ffffff;
    font-size: 15px;
}

.mi2_topbar_inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mi2_topbar_worktime strong {
    color: #fff3a6;
    font-weight: 700;
}

.mi2_topbar_contact {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mi2_topbar_contact a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.mi2_header_main {
    background: linear-gradient(to right, rgba(232, 239, 235, 0.95), rgba(239, 245, 241, 0.95));
    border-top: 1px solid #e1eee7;
}

.mi2_middle_row {
    min-height: 118px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.mi2_logo_box img {
    width: 108px;
    max-width: 108px;
    height: auto;
}

.mi2_brand_text {
    flex: 1;
    text-align: center;
}

.mi2_brand_text h1 {
    margin: 0;
    color: #d41f1f;
    font-size: 43px;
    line-height: 1.15;
    font-weight: 700;
    text-transform: uppercase;
}

.mi2_brand_text p {
    margin: 8px 0 0;
    color: #007f3f;
    font-size: 29px;
    font-style: italic;
}

.mi2_right_tools {
    width: 330px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.mi2_search_form {
    width: 100%;
    display: flex;
    align-items: center;
    border: 2px solid #018340;
    border-radius: 6px;
    background: #ffffff;
    overflow: hidden;
}

.mi2_search_form input {
    flex: 1;
    border: 0;
    height: 42px;
    padding: 0 12px;
    font-size: 15px;
}

.mi2_search_form input:focus {
    outline: none;
}

.mi2_search_form button {
    width: 56px;
    height: 42px;
    border: 0;
    background: #018340;
    color: #ffffff;
    font-size: 20px;
    line-height: 1;
}

.mi2_cart_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 146px;
    height: 34px;
    border-radius: 6px;
    background: #007f3f;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

.mi2_navbar_wrap {
    background: #017a39;
    border-bottom: 4px solid #c62525;
}

.mi2_navbar_wrap .pc_main_menu {
    min-height: 52px;
}

.mi2_navbar_wrap .pc_nav_items > ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    margin: 0;
    padding: 0;
}

.mi2_navbar_wrap .pc_nav_items > ul > li > .a-menu {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 16px 0;
}

.mi2_navbar_wrap .pc_nav_items > ul > li > .a-menu:hover,
.mi2_navbar_wrap .pc_nav_items > ul > li.active > .a-menu {
    color: #ffe5e5;
}

@media (max-width: 1599px) {
    .mi2_brand_text h1 {
        font-size: 34px;
    }

    .mi2_brand_text p {
        font-size: 23px;
    }

    .mi2_navbar_wrap .pc_nav_items > ul > li > .a-menu {
        font-size: 17px;
    }
}

@media (max-width: 1199px) {
    .mi2_middle_row {
        flex-wrap: wrap;
        justify-content: center;
        padding: 14px 0;
    }

    .mi2_brand_text {
        width: 100%;
        order: 2;
    }

    .mi2_right_tools {
        width: min(100%, 460px);
        order: 3;
        align-items: center;
    }

    .mi2_navbar_wrap .pc_nav_items > ul {
        gap: 16px;
    }
}

@media (max-width: 991px) {
    .mi2_topbar_inner {
        flex-direction: column;
        justify-content: center;
        padding: 8px 0;
    }

    .mi2_topbar_worktime,
    .mi2_topbar_contact {
        text-align: center;
    }

    .mi2_brand_text h1 {
        font-size: 27px;
    }

    .mi2_brand_text p {
        font-size: 18px;
    }
}

@media (max-width: 575px) {
    .mi2_logo_box img {
        width: 84px;
        max-width: 84px;
    }

    .mi2_brand_text h1 {
        font-size: 19px;
    }

    .mi2_brand_text p {
        font-size: 14px;
    }

    .mi2_search_form input {
        font-size: 14px;
    }
}
