/* MEHERIMA V14.2 FINAL APPROVED HEADER */

.mh142-header {
    --mh142-teal: #007F80;
    --mh142-dark-teal: #00686A;
    --mh142-lime: #8AC600;
    --mh142-text: #20252B;

    background: #F7F9F9 !important;
    padding: 0 !important;
}

/* Hide earlier utility bar, if installed */

.mh142-header .mh141-utility {
    display: none !important;
}

/* TOP TEAL BAR */

.mh142-utility {
    background: linear-gradient(
        110deg,
        #006F72,
        #008482
    );
    color: #fff;
}

.mh142-utility-inner {
    width: 100%;
    max-width: 1800px;
    min-height: 30px;
    padding: 3px 25px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mh142-utility-left,
.mh142-utility-right {
    display: flex;
    align-items: center;
    gap: 0;
}

.mh142-utility a {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    color: #fff !important;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    padding: 0 13px;
}

.mh142-utility a + a {
    border-left: 1px solid #FFFFFF55;
}

.mh142-utility i {
    color: #D2EC36;
    font-size: 19px;
}

.mh142-utility a:hover {
    color: #E0F68C !important;
}

/* WHITE ROUNDED MAIN HEADER */

.mh142-header .header-content-wrapper {
    background: #FFFFFF !important;
    border: 1px solid #E9EEEE !important;
    border-radius: 40px !important;

    margin: 7px 14px 10px !important;
    padding: 5px 16px !important;

    box-shadow:
        0 6px 15px rgba(15,45,48,.13),
        0 2px 4px rgba(0,0,0,.04);
}

.mh142-header .header-content-wrapper
> .container,
.mh142-header .header-content-wrapper
> .layout-container {
    max-width: 1800px !important;
    width: 100% !important;
    padding: 0 !important;
    margin: auto;
}

.mh142-header .header-content-wrapper
> div > .d-flex {
    min-height: 44px;
    gap: 12px !important;
    flex-wrap: nowrap !important;
}

/* LOGO */

.mh142-header .navbar-logo {
    max-width: 175px !important;
}

.mh142-header #header-logo-preview {
    max-width: 175px !important;
    max-height: 38px !important;
    width: auto;
    object-fit: contain;
}

/* NAVIGATION */

.mh142-header .nav-menu-list {
    flex: 1 1 auto !important;
    min-width: 0;
}

.mh142-header .nav-menu-list > ul {
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap !important;
    gap: 7px !important;
}

.mh142-header .nav-menu-list > ul > li {
    flex-shrink: 0;
}

.mh142-header .nav-menu-list
> ul > li > a {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    color: #20252B !important;
    font-size: 13px !important;
    font-weight: 700 !important;

    padding: 8px 7px;
    white-space: nowrap;
    position: relative;
}

.mh142-header .nav-menu-list
> ul > li > a:hover {
    color: #007F80 !important;
}

.mh142-header .nav-menu-list
> ul > li > a.active {
    color: #6D9D00 !important;
    background: transparent !important;
}

.mh142-header .nav-menu-list
> ul > li > a.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 6px;
    right: 6px;
    height: 3px;
    background: #8AC600;
    border-radius: 5px;
}

/* CATEGORY BUTTON */

.mh142-header #mega-menu {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-height: 36px;
    padding: 7px 13px !important;

    background: linear-gradient(
        135deg,
        #008D89,
        #00686A
    ) !important;

    color: #fff !important;
    border: 0 !important;
    border-radius: 25px !important;

    box-shadow: 0 3px 7px #007F8025;
}

.mh142-header #mega-menu i {
    color: #fff !important;
}

.mh142-category-label {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

/* PERMANENT SEARCH BAR */

.mh142-header .nav-menu-list
> ul > li.mh142-search-item {
    display: flex;
    align-items: center;
    flex: 1 1 240px !important;
    min-width: 140px;
    gap: 12px;
}

.mh142-search {
    display: flex;
    align-items: center;

    flex: 1 1 auto;
    min-width: 0;
    height: 39px;

    padding: 2px;
    margin: 0;

    background: #FFFFFF;
    border: 1px solid #8AC600;
    border-radius: 30px;

    box-shadow: 0 2px 7px #8AC60015;
}

.mh142-search input {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    height: 100%;

    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;

    padding: 0 11px;
    color: #263238;
    font-size: 12px;
}

.mh142-search input::placeholder {
    color: #7B8490;
    opacity: 1;
}

.mh142-search:focus-within {
    border-color: #007F80;
    box-shadow: 0 0 0 3px #8AC60022;
}

.mh142-search button {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 43px;
    height: 33px;

    background: #8AC600 !important;
    color: #FFFFFF !important;

    border: 0;
    border-radius: 25px;
    cursor: pointer;
}

.mh142-search button:hover {
    background: #78AE00 !important;
}

.mh142-search button i {
    font-size: 23px;
}

/* WISHLIST */

.mh142-header .mh142-wishlist {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 !important;
    color: #20252B !important;
    text-decoration: none;
}

.mh142-wishlist i {
    font-size: 26px;
}

.mh142-wishlist:hover {
    color: #007F80 !important;
}

/* CART AND ACCOUNT */

.mh142-header .header-content-wrapper .badge {
    background: #8AC600 !important;
    color: #FFFFFF !important;
}

.mh142-header .header-content-wrapper
.add-to-cart {
    color: #6D9D00 !important;
}

/* EXISTING DROPDOWNS */

.mh142-header .dropdown-menu {
    border: 1px solid #E2E9E7;
    border-radius: 12px;
    box-shadow: 0 12px 28px #123C4020;
}

.mh142-header .dropdown-item:hover {
    color: #007F80;
    background: #EDF8F5;
}

/* DESKTOP SEARCH:
   Keep original search dropdown available
   on smaller screens. */

@media (min-width: 1200px) {

    .mh142-header #mega-search {
        display: none !important;
    }

    .mh142-header .mh142-search-item {
        display: flex !important;
    }
}

/* COMPACT LAPTOP */

@media (min-width: 1200px)
and (max-width: 1439.98px) {

    .mh142-header .navbar-logo,
    .mh142-header #header-logo-preview {
        max-width: 140px !important;
    }

    .mh142-header .header-content-wrapper {
        padding: 5px 12px !important;
    }

    .mh142-header .header-content-wrapper
    > div > .d-flex {
        gap: 7px !important;
    }

    .mh142-header .nav-menu-list > ul {
        gap: 3px !important;
    }

    .mh142-header .nav-menu-list
    > ul > li > a {
        font-size: 12px !important;
        padding: 6px 4px;
    }

    .mh142-header #mega-menu {
        padding: 6px 10px !important;
    }

    .mh142-header .nav-menu-list
    > ul > li.mh142-search-item {
        min-width: 130px;
        gap: 7px;
    }

    .mh142-search input {
        font-size: 11px;
    }
}

/* MOBILE & TABLET */

@media (max-width: 1199.98px) {

    .mh142-utility {
        display: none !important;
    }

    .mh142-header .mh142-search-item {
        display: none !important;
    }

    .mh142-header .header-content-wrapper {
        margin: 4px 6px 6px !important;
        padding: 4px 10px !important;
        border-radius: 24px !important;
    }

    .mh142-header .header-content-wrapper
    > div > .d-flex {
        min-height: 42px;
        gap: 7px !important;
    }

    .mh142-header .navbar-logo,
    .mh142-header #header-logo-preview {
        max-width: 155px !important;
        max-height: 35px !important;
    }

    .mh142-header
    button[onclick="openLeftCanvas()"] {
        color: #007F80 !important;
    }

    .mh142-header #mega-search {
        background: #8AC600 !important;
        border-color: #8AC600 !important;
        border-radius: 50% !important;
    }

    .mh142-header #mega-search svg path {
        fill: #FFFFFF !important;
    }
}

@media (max-width: 359.98px) {
    .mh142-header #header-logo-preview {
        max-width: 125px !important;
    }
}

