.header {
    /* background: linear-gradient(to right, #fff, #fff, var(--primary), var(--primary)); */
    position: sticky;
    background: var(--teritary);
    height: auto;
    z-index: 9;
    left: 0;
    width: 100%;
    padding: 8px 0;
    top: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    /* border-bottom: 1px solid rgba(0, 0, 0, 0.1); */
}

.header .grid_header {
    /* display: grid;
    grid-template-columns: minmax(100px, auto) minmax(100px, 1fr) minmax(100px, auto);
    justify-content: center;
    align-items: center; */
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    align-items: center;
}


.header .logo {
    margin: 0 0px 0 20px;
}

.header .logo img {
    max-width: 218px;
    max-height: 55px;
    object-fit: contain;
    height: auto !important;
    width: auto !important;
    position: relative !important;
    cursor: pointer;
}


.custom_css_select input {
    height: 40px;
    padding-left: 15px;
}

@media(max-width: 768px) {

    .custom_css_select {
        margin-bottom: 15px 0 9px 0px;

    }

    .header .logo {
        margin: 0;
    }

    .header {
        position: sticky;
        top: 0;
        z-index: 9;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        left: 0;
        width: 100%;
        padding: 5px 0;
    }


}

.site_option {
    /* display: flex; */
    justify-content: space-between;
    margin: 0 20px;
    margin-left: 10px;
    width: 100%;
}

.menu_flex {
    display: flex;
    justify-content: flex-end;
    margin: 0 20px;
    z-index: 1;
}

.site_option_section {
    cursor: pointer;
    margin: 15px 12px;
    margin-right: 3px;
}


.profile_image {
    width: 30px;
    height: 30px;
    border-radius: 100%;
    position: relative;
    overflow: hidden;
    margin-right: 5px;
}

.profile_image img {
    max-width: 100% !important;
    height: auto !important;
}

.site_option svg {
    font-size: 29px;
    margin-right: 2px;
    color: var(--teritary-text);
}

.site_option_section {
    display: flex;
    align-items: center;
    column-gap: 5px;
}

.site_option_section .icon {
    position: relative;
}

.site_option_section .icon .total_count {
    position: absolute;
    top: -2px;
    right: 1.5px;
    width: 14px;
    height: 14px;
    border-radius: 100%;
    background-color: var(--teritary-text);
}

.site_option_section .icon .total_count::after {
    content: attr(data-count);
    display: flex;
    color: var(--teritary);
    width: 100%;
    justify-content: center;
    position: relative;
    align-items: center;
    height: 100%;
    font-size: 9px;
    font-weight: 500;

}

.header_option_text .option_title {
    margin: 0;
    font-size: 12px;
    color: var(--teritary-text);
    font-weight: 500;
}

.header_option_text .option_sub {
    margin: 0;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    color: var(--teritary-text);
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

}

.top_hr_menu {
    color: rgba(0, 0, 0, 0.3);
    margin: 0;
}

.bottom_hr_menu {
    color: rgba(0, 0, 0, 0.3);
    margin: 0;
}

.menu_option {
    display: flex;
    align-items: center;
    padding: 9px 0;
    width: 100%;
    column-gap: 30px;
}

.search_btn button {
    border: 0;
    background-color: transparent;
    margin: 10px;
    width: 35px;
    height: 35px;
}

.search_btn button svg {
    font-size: 28px;
    stroke: var(--secondary);
    stroke-width: 0.5;
    color: var(--secondary-text);
}


.search_btn button.open {
    width: 35px;
    height: 35px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary);
}

.search_btn button.open svg {
    color: var(--secondary-text);

}

.search_btn button.open svg {
    font-size: 23px;
}

@media(max-width: 768px) {
    .menu_option {
        display: block;
        padding: 10px;
    }

}

@media(max-width: 768px) {

    .header .grid_header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 7px;
    }

    .site_option {
        display: flex;
        justify-content: flex-start;
        flex-direction: row-reverse;
        margin: 0;
    }

    .header .logo img {
        max-width: 218px;
        max-height: 50px;
        display: block;
    }

    .menu_flex {
        margin: 0;
    }

}

.loader svg {
    stroke: var(--primary);
    width: 30px;
    height: 30px;
}


.header_top_section {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Top Header Setion */
.top_header {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background-size: cover;
    background-color: var(--primary);
    background-position: center;
    padding: 3px 15px;
}



.social_network {
    display: flex;
    align-items: center;
    column-gap: 10px;
    color: var(--primary-text);
}

.social_icon {
    display: flex;
    align-items: center;
    column-gap: 7px;
}


.social_icon a {
    position: relative;
    top: -1px;
}

.social_icon svg {
    color: var(--primary-text);
    font-size: 17px;
}

.buttons {
    display: flex;
    align-items: center;
    column-gap: 5px;
    margin: 5px 0;
}

.buttons button {
    border: 0;
    color: var(--primary-text);
    background-color: transparent;
    border: 0.5px solid var(--primary-text);
    font-size: 13px;
    padding: 0px 10px;
}


@media(max-width: 768px) {

    .header {
        padding-bottom: 5px;
    }

    .menu_option {
        display: flex;
    }

}

@media(max-width: 991px) {
    .social_network {
        display: none;
    }

    .buttons {
        display: none;
    }

    .top_header {
        justify-content: center;
    }
}



.search_section {
    position: relative;
    display: flex;
    align-items: center;
    overflow: visible;
    background-color: var(--primary-text);
    border-radius: 5px;
    margin-right: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.search_icon {
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.cancel_icon {
    border-radius: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.cancel_icon svg {
    color: var(--secondary-text);
    font-size: 30px;
    margin-right: 7px;
}

.search_icon svg {
    color: var(--secondary-text);
    font-size: 25px;
    margin-right: 7px;
}



.productSearchClass {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 9;
    width: 100%;
}

.search_bar {
    height: 100%;
    width: 100%;
    padding-right: 5px;
    z-index: 1;
}

.search_box_class {
    display: flex;
    background: var(--primary-text);
    border-radius: 5px;
    width: 100%;
}

@media(max-width: 768px) {
    .cancel_icon {
        display: flex;
    }

    .search_icon {
        display: none;
    }

    .search_section {
        position: fixed;
        top: 0;
        z-index: 9999;
        width: 100%;
        left: 0;
        border-radius: 0;
        height: 55px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .search_box_class {
        display: flex;
        background: var(--primary-text);
        width: 100%;
        height: 100%;
        z-index: 1;
        padding: 0 5px;
        border-radius: 0;
    }


    .search_section::before {
        content: "";
        position: fixed;
        top: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1;
    }

    .search_bar {
        width: 100%;
    }
}

@media(max-width: 400px) {
    .logo img {
        height: 51px !important;
    }
}