/* =========================================================
   HEADER 2 CSS START
========================================================= */
.custom-header2 {
    width: 100%;
    font-family: "Nunito", sans-serif;
    background: #ffffff;
    color: #333333;
}

.custom-header2 .custom-header2-container {
    /* width: min(1320px, calc(100% - 40px)); */
    /* margin: auto; */
}


/* Top Bar */

.custom-header2 .custom-header2-topbar {
    background: #fff0f5;
    border-bottom: 1px solid #f9dce7;
}

.custom-header2 .custom-header2-topbar .custom-header2-container {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.custom-header2 .custom-header2-topbar-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

.custom-header2 .custom-header2-topbar-left span {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: #70565f;
}

.custom-header2 .custom-header2-topbar-left i {
    color: var(--primary);
}

.custom-header2 .custom-header2-topbar-right {
    display: flex;
    gap: 20px;
}

.custom-header2 .custom-header2-topbar-right a {
    font-size: 12px;
    color: #70565f;
}

.custom-header2 .custom-header2-topbar-right a:hover {
    color: var(--primary);
}


/* Main */

.custom-header2 .custom-header2-main {
    background: #ffffff;
}

.custom-header2 .custom-header2-main-row {
    min-height: 92px;
    display: flex;
    align-items: center;
    gap: 38px;
}

.custom-header2 .custom-header2-logo {
    flex: 0 0 auto;
}

.custom-header2 .custom-header2-logo img {
    display: block;
    max-width: 155px;
    max-height: 65px;
    object-fit: contain;
}


/* Search */

.custom-header2 .custom-header2-search {
    flex: 1;
    position: relative;
    display: flex;
    height: 48px;
    border: 2px solid var(--primary-rgba);
    border-radius: 30px;
    /* overflow: hidden; */
    background: #ffffff;
}

.custom-header2 .custom-header2-search input {
    width: 100%;
    border: 0;
    outline: 0;
    padding: 0 58px 0 22px;
    font-size: 13px;
    color: #555555;
    border-radius: 30px;
}

.custom-header2 .custom-header2-search input::placeholder {
    color: #a6a6a6;
}

.custom-header2 .custom-header2-search button {
    position: absolute;
    right: 3px;
    top: 3px;
    width: 40px;
    height: 38px;
    border: 0;
    padding: 0;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
}


/* Actions */

.custom-header2 .custom-header2-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.custom-header2 .custom-header2-action {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #42383c;
}

.custom-header2 .custom-header2-action-icon {
    position: relative;
    font-size: 21px;
}

.custom-header2 .custom-header2-action-text {
    display: flex;
    flex-direction: column;
}

.custom-header2 .custom-header2-action-text small {
    font-size: 10px;
    color: #999999;
    line-height: 1.3;
}

.custom-header2 .custom-header2-action-text strong {
    font-size: 12px;
    color: #473b40;
}

.custom-header2 .custom-header2-count {
    position: absolute;
    right: -9px;
    top: -8px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    background: var(--primary);
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
}


.custom-header2 .notice-board,
.custom-header2 .notice-board * {
    font-size: 14px !important;
}

.custom-header2 .notice-board {
    margin-left: 5px;
}

/* Navigation */

.custom-header2 .custom-header2-nav {
    border-top: 1px solid #f6e4e9;
    border-bottom: 1px solid #f6e4e9;
}

.custom-header2 .custom-header2-nav-row {
    height: 55px;
    display: flex;
    align-items: center;
}

.custom-header2 .custom-header2-category-btn {
    height: 100%;
    padding: 20px 22px;
    border: 0;
    background: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
}

/* Categories dropdown */
.custom-header2 .custom-header2-category-wrap {
    position: relative;
    height: 100%;
    z-index: 20;
}

.custom-header2 .custom-header2-category-wrap .main-sidebar {
    /* top: 100%; */
    /* left: 0; */
    margin-top: 0;
    background: #ffffff;
    z-index: 30;
}

.custom-header2 .custom-header2-category-wrap:hover .main-sidebar,
.custom-header2 .custom-header2-category-wrap:focus-within .main-sidebar {
    display: block !important;
}

body .custom-header2 .mega-menu {
    margin-left: 12px;
}
.custom-header2 .custom-header2-menu {
    list-style: none;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 31px;
    width: calc(100% - 300px);
}

.custom-header2 .custom-header2-menu a {
    /* font-size: 13px; */
    font-weight: 700;
    color: #4c4245;
    transition: 0.2s;
}

.custom-header2 .custom-header2-menu a:hover {
    color: var(--primary);
}

.custom-header2 .custom-header2-sale {
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    display: flex;
    gap: 7px;
    align-items: center;
}

.custom-header2 .custom-header2-mobile-toggle {
    display: none;
    width: auto;
    height: auto;
    border-radius: 10px;
    border: 0;
    /* background: #fff0f5; */
    background: #fff;
    color: #42383c;
    font-size: 18px;
}


@media (max-width: 1100px) {

    .custom-header2 .custom-header2-menu {
        gap: 18px;
    }

    .custom-header2 .custom-header2-menu a {
        font-size: 11px;
    }

    .custom-header2 .custom-header2-action-text {
        display: none;
    }
}


@media (max-width: 768px) {

    .custom-header2 .custom-header2-container {
        /* width: calc(100% - 28px); */
    }

    .custom-header2 .custom-header2-topbar-left span:nth-child(2) {
        display: none;
    }

    .custom-header2 .custom-header2-topbar-right {
        display: none;
    }

    .custom-header2 .custom-header2-main-row {
        min-height: 72px;
        gap: 12px;
    }

    .custom-header2 .custom-header2-logo img {
        max-width: 115px;
        max-height: 48px;
    }

    .custom-header2 .custom-header2-search {
        position: absolute;
        top: 60px;
        left: 14px;
        width: calc(100% - 28px);
        display: none;
        z-index: 50;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    }

    .custom-header2.custom-header2-mobile-open .custom-header2-search {
        display: flex;
    }

    .custom-header2 .custom-header2-actions {
        margin-left: auto;
        gap: 14px;
    }

    .custom-header2 .custom-header2-actions .custom-header2-account,
    .custom-header2 .custom-header2-wishlist {
        display: none;
    }

    .custom-header2 .custom-header2-mobile-toggle {
        display: block;
    }

    .custom-header2 .custom-header2-nav {
        display: none;
    }

    .custom-header2.custom-header2-mobile-open .custom-header2-nav {
        /* display: block; */
    }

    .custom-header2 .custom-header2-nav-row {
        height: auto;
        flex-direction: column;
        align-items: stretch;
        padding-bottom: 15px;
    }

    .custom-header2 .custom-header2-category-btn {
        min-height: 46px;
        justify-content: space-between;
    }

    .custom-header2 .custom-header2-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .custom-header2 .custom-header2-menu li {
        border-bottom: 1px solid #f2f2f2;
    }

    .custom-header2 .custom-header2-menu a {
        display: block;
        padding: 12px 8px;
        font-size: 12px;
    }

    .custom-header2 .custom-header2-sale {
        padding: 14px 8px 2px;
    }
    body .custom-header2 .custom-header2-search button {        
        top: -19px;
    }
}
/* =========================================================
   HEADER 2 CSS END
========================================================= */
