/*!
 * Header.css
 * Version - 1.2
 * Website: Elmich
 * Author: CongThuong_zozo00000
 * Copyright (c) 2021 bicweb.vn
 */

:root {
    --primary-color: #ed2024;
    --bg-primary: linear-gradient(to bottom, #e31e26, #d21c23);
    font-size: 16px;
    --content-size: 1410px;
    scrollbar-color: var(--primary-color) #ccc;
    scrollbar-width: thin;
    scrollbar-face-color: #003d36;
    scrollbar-track-color: #ccc;
}


/* #header.fixed .gd_header_bottom {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
} */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
}

html,
body {
    font-family: "Avetar-R", sans-serif;
    color: #222;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-size-adjust: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    overflow-x: hidden;
}

.upper {
    text-transform: uppercase;
}

.header-search a {
    min-width: 2.5rem;
    height: 2.5rem;
    text-align: center;
    margin-left: 10px;
    font-size: 15px;
    line-height: 2.5rem;
    border-radius: 50%;
    border: 1px solid #cdcdcd;
    color: #ec1f24;
    transition: 0.4s ease;
}

.icon-search {
    background-image: url("../images/icons.png");
    background-position: -122px 0;
}

a {
    color: #222;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    color: #ec1f24;
    outline: none;
    -webkit-transition: all 100ms ease 0s;
    -o-transition: all 100ms ease 0s;
    transition: all 100ms ease 0s;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
	gap:8px;
}

.RadMenu .rmVertical .rmToggle .rmIcon:before,
.RadMenu .rmVertical .rmExpand:before,
.RadMenu .rmRightArrow .rmIcon:before {
    display: none;
}


/* .fixed .gd_logo img {
    max-width: 130px;
}

.fixed.home .gd_header_bottom {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    border-radius: 0;
    transform: none;
    width: 100%;
	margin-top:0;
} */


/* .fixed .header_content {
    width: 100% !important;
    max-width: 100vw !important;
    border-radius: 0;
} */

.gd_logo .sub_logo img {
    margin-left: 3rem;
    max-width: 100px;
}

.gd_logo {
    height: 80px;
    transition: 0.4s;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    justify-content: space-between;
}


/* .fixed .gd_logo {
    height: 60px;
} */

.th_menu__content {
    flex: 0 0 80%;
    display: flex !important;
    justify-content: space-between;
}

.gd_logo svg {
    width: 170px;
    max-width: 100%;
}

.gd_logo>a {
    display: flex;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

figure {
    margin: 0;
}

.bic_module {
    margin-bottom: 4rem;
}

.bic_cat__title {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: #222;
}

.bic_box__title {
    margin-bottom: 2.5rem;
}

.bic_cat__title.ver4 {
    margin-bottom: 3rem;
}

.bic_cat__title.ver3 {
    font-size: 2.75rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.bic_cat__title.ver2 {
    font-size: 3.625rem;
    margin-bottom: 1.75rem;
}

.img-fluid {
    max-width: 100%;
}

.text-center {
    text-align: center;
}

.bic_box__title .sub_text {
    text-align: center;
}

.gd_header.fixed .gd_menu__primary .RadMenu .rmRootGroup.rmHorizontal>.rmItem>.rmRootLink {
    line-height: 3.5rem;
}

.bct-hd {
    position: relative;
}

.RadMenu:after,
.RadMenu ul:after,
.RadMenu li:after,
.RadMenu div:after {
    display: none !important;
}

.gd_menu__primary {
    width: 90%;
}

.gd_logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: 0.4s;
    position: relative;
    max-width: 165px;
    height: 55px;
}

.header_content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    background-image: linear-gradient(to bottom, #e31e26, #d21c23);
    border-radius: 24px;
    transition: 0.4s;
}

.dn .header-search {
    flex: 0 0 10%;
}

.dn .gd_menu__primary {
    width: 90%;
}

.sitename {
    margin-left: 20px;
}

.rmItem.rmFirst.menu8 .rmLink {
    padding-left: 22px !important;
    display: block;
}

.sitename .name {
    display: block;
    text-transform: uppercase;
    font-size: 30px;
    font-weight: bold;
    white-space: nowrap;
    color: #263997;
    line-height: 1;
}

.sitename .slogan {
    font-size: 18px;
    font-weight: bold;
    font-style: italic;
    color: #d83e31;
}

.th_menu__primary {
    display: flex;
    justify-content: space-between;
    padding-right: 3rem;
    align-items: center;
    width: 100%;
}

.header-search {
    flex: 0 0 20%;
}

.header_wrap {
    min-width: 86%;
    display: flex;
}

.th_menu__primary>.menu-item>.sub-menu {
    position: absolute;
    width: var(--content-size);
    left: calc((100vw - var(--content-size)) / 2);
    top: 100%;
    display: flex;
    transform: scaleY(0);
    transition: 0.4s;
    background: #fff;
    box-shadow: 0 5px 10px #d5d5d5;
    border-radius: 0 0 1rem 1rem;
    padding: 1rem 2rem;
    transform-origin: 0 0;
    flex-wrap: wrap;
    z-index: 999;
}

.th_menu__primary>.menu-item:hover>.sub-menu {
    transform: none;
}

.home .gd_header_bottom {
    position: relative;
    /* transform: translateY(-50%); */
    z-index: 1;
}

.gd_header {
    background-image: unset !important;
}

.th_menu__primary>.menu-item>.sub-menu>.menu-item {
    flex: 0 0 20%;
}

.th_menu__primary a {
    color: #fff;
    text-transform: uppercase;
}

@media (max-width: 1199px) and (min-width: 992px) {
    .th_menu__primary a {
        font-size: 13px;
    }
}

.gd_header_top .container {
    padding: 0;
}

.th_menu__primary .sub-menu a {
    color: #444;
    text-transform: none;
    font-size: 14px;
}

.th_menu__primary .sub-menu a.cat {
    font-weight: 600;
    margin-bottom: 10px;
    display: inline-block;
    width: 100%;
    border-top: 1px solid #e3e3e3;
    padding: 10px 0;
    border-bottom: 1px solid #e3e3e3;
    text-transform: uppercase;
}

.box-search {
    display: flex;
    position: relative;
}

.box-search input[type="text"] {
    line-height: 40px;
    padding-left: 12px;
    border-radius: 12px;
    border: none;
    width: 100%;
}

.box-search input[type="submit"] {
    position: absolute;
    height: 100%;
    width: 3rem;
    background-color: transparent;
    border: none;
    right: 5px;
    background-image: url("../images/loupe.png");
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.th_menu__primary .sub-menu a:hover {
    color: var(--primary-color);
    padding-left: 5px;
    font-weight: 500;
}

.th_menu__primary .sub-menu .sub-menu .menu-item {
    padding-bottom: 3px;
    border-bottom: 1px dashed #cac7c7;
    margin-bottom: 2px;
}

.bct-banner {
    border-radius: 20px;
    overflow: hidden;
}

@media (max-width: 767px) {
    .bct-banner .item {
        position: relative;
        width: 100%;
        padding-top: 100%;
    }
    .bct-banner .item img {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }
    .strory_product {
        padding-left: 15px;
        padding-right: 15px;
    }
    .strory_product ._item img {
        width: calc(100vw - 30px) !important;
        margin-left: auto;
        margin-right: auto;
    }
}

#header {
    /* padding-top: 7.5rem; */
    position: relative;
    /* margin-bottom: 3.7rem; */
    background-size: cover;
}

.home#header.show-overlay::after {
    opacity: 1;
}

.home#header::after {
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    background-image: linear-gradient(to bottom, #ffffffb2 76%, #fff);
    top: 0;
    left: 0;
    opacity: 0;
    /* display: none; */
}

#face-mess .ripple {
    background: #0084ff;
    box-shadow: 0 0 0 #0084ff;
}

#face-mess .play-now .ripple::after {
    box-shadow: 0 0 0 0 #0084ff;
}

#face-mess .play-now .ripple::before {
    box-shadow: 0 0 0 0 #0084ff;
}

.fixed_right ul li {
    margin-top: 19px;
}

.fixed_right i {
    position: relative;
    width: 45px;
    height: 45px;
    display: block;
    background-image: url("https://elmich.vn/wp-content/themes/elmich/assets/images/icons.png");
    border-radius: 50%;
    background-repeat: no-repeat;
    background-color: var(--primary-color);
}

.fixed_right #zalo .mess {
    background-image: url("../icon/zalo.png");
    background-color: #fff;
    background-size: 100%;
}

.fixed_right #tiktok .mess {
    background-image: url("../icon/footer_socials.png");
    background-position: -127px 1px;
    background-color: #fff;
}

#back-to-top i {
    background-position: -215px 0;
}

#face-mess i {
    background-color: #0084ff;
    background-position: 8px 4px;
}

.fixed_right img {
    width: 45px;
    height: 45px;
}

#partner {
    position: fixed;
    bottom: 149px;
    right: 20px;
    display: flex;
    height: 48px;
    background: var(--primary-color);
    border-radius: 2rem;
    align-items: center;
    transition: 0.4s;
    width: 48px;
}

#partner .ripple {
    background-color: #fff;
    left: 0;
    transform: translateY(-50%);
    height: 40px;
    width: 40px;
    left: 4px;
}

#partner i {
    background-color: #fff;
    background-position: -182px 2px;
    position: absolute;
    top: 50%;
    left: 3px;
    transform: translateY(-50%);
    height: 42px;
    width: 42px;
}

.bic__call {
    color: transparent;
    transform-origin: 100% 0;
    transition: 0.4s;
    display: block;
    width: 0;
}

#partner:hover {
    width: 170px;
    transition: 0.4s;
}

#partner:hover .bic__call {
    transform: scaleY(1);
    padding: 0 2.5rem 0 3.5rem;
    width: auto;
    color: #fff;
    font-weight: 500;
}

.fixed_right {
    position: fixed;
    bottom: 0;
    right: 20px;
    z-index: 10;
    cursor: pointer;
    bottom: 130px;
}

.play-now {
    border-radius: 50%;
}

.play-now .ripple {
    background: #e91d29;
}

.play-now .ripple::before,
.play-now .ripple::after {
    height: 45px;
    width: 45px;
    -webkit-transform-origin: center;
    transform-origin: center center;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    -webkit-box-shadow: 0 0 0 0 rgba(233, 168, 80, 0.3);
    -moz-box-shadow: 0 0 0 0 rgba(233, 168, 80, 0.3);
    -ms-box-shadow: 0 0 0 0 rgba(233, 168, 80, 0.3);
    -o-box-shadow: 0 0 0 0 rgba(233, 168, 80, 0.3);
    box-shadow: 0 0 0 0 #e91d29;
    -webkit-animation: ripple 3s infinite;
    -moz-animation: ripple 3s infinite;
    -ms-animation: ripple 3s infinite;
    -o-animation: ripple 3s infinite;
    animation: ripple 3s infinite;
}

.play-now .ripple:before {
    -webkit-animation-delay: 0.9s;
    -moz-animation-delay: 0.9s;
    -ms-animation-delay: 0.9s;
    -o-animation-delay: 0.9s;
    animation-delay: 0.9s;
    content: "";
    position: absolute;
}

.play-now .ripple:after {
    -webkit-animation-delay: 0.6s;
    -moz-animation-delay: 0.6s;
    -ms-animation-delay: 0.6s;
    -o-animation-delay: 0.6s;
    animation-delay: 0.6s;
    content: "";
    position: absolute;
}

@-webkit-keyframes ripple {
    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

@keyframes ripple {
    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

@-moz-keyframes goRight {
    0% {
        opacity: 0;
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@-webkit-keyframes goRight {
    0% {
        opacity: 0;
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@keyframes goRight {
    0% {
        opacity: 0;
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@keyframes goLeft {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@-webkit-keyframes goLeft {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@-moz-keyframes goLeft {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@media screen and (min-width: 1921px) and (max-width: 2400px) {
     :root {
        font-size: 17px;
        --content-size: 1700px;
    }
    .container {
        max-width: 1700px !important;
        width: 1700px !important;
    }
}

@media only screen and (min-width: 1600px) {
     :root {
        font-size: 16px;
        --content-size: 1410px;
    }
    .container {
        max-width: 1570px !important;
        width: 1570px !important;
    }
}

@media only screen and (max-device-width: 1920px) and (min-device-width: 1601px) {
     :root {
        font-size: 16px;
        --content-size: 1410px;
    }
    .container {
        max-width: 1570px;
        width: 1570px;
    }
}

@media only screen and (max-device-width: 1600px) and (min-device-width: 1441px) {
     :root {
        font-size: 14px;
        --content-size: 1200px;
    }
    .container {
        max-width: 1400px;
        width: 100%;
    }
    .gd_logo img {
        height: 38px;
    }
}

@media only screen and (max-device-width: 1440px) {
     :root {
        font-size: 14px;
        --content-size: 1200px;
    }
    .container {
        max-width: 1200px;
        width: 1200px;
    }
}

@media screen and (max-width: 1400px) and (min-width: 1200px) {
    .gd_logo img {
        max-width: 120px;
    }
    .header-search {
        flex: 0 0 200px;
    }
    .th_menu__primary {
        padding-right: 2rem;
    }
    .box-search input[type="text"] {
        line-height: 35px;
    }
}

@media screen and (max-width: 1200px) {
    .container {
        max-width: 1140px;
        width: 100%;
    }
}

@media screen and (min-width: 1200px) {
    .th_menu__mobile {
        display: none;
    }
}

@media screen and (max-width: 991px) {
    .container {
        max-width: 960px;
        width: 100%;
    }
     :root {
        font-size: 15px;
        --content-size: 960px;
    }
    .gd_header_bottom,
    .home .gd_header_bottom {
        transform: none;
    }
    .th_menu__content {
        display: none !important;
    }
    .header-search {
        width: 100%;
        flex: 0 0 100%;
    }
    .header_content {
        flex-wrap: wrap;
    }
    #search .input-text {
        font-size: 1.5rem;
        width: 100%;
        border-radius: 5px;
        font-size: 1rem;
    }
    .th_button__search {
        width: 2.5rem;
        background-image: url("../images/loupe.png");
        background-size: 15px;
        background-repeat: no-repeat;
        background-position: center;
        cursor: pointer;
        height: 2.5rem;
        background-color: #fff;
        border-radius: 50%;
    }
    .header__middle.active {
        position: relative;
        z-index: 999999;
    }
    .bar__mb {
        font-weight: 700;
    }
    .bar__mb svg:nth-child(2) {
        display: none;
    }
    .bar__mb svg {
        width: 20px;
        height: 20px;
        transform: translateY(-1px);
    }
    .gd_header_top {
        margin-top: 4rem;
    }
    .bct-banner {
        border-radius: 0;
    }
    .bic_module {
        margin: 2rem 0;
    }
    .bic_box__title {
        margin-bottom: 1.5rem;
    }
    .mean-container a.meanmenu-reveal {
        top: -50px;
        left: calc(100% - 5rem) !important;
    }
    .angle-down {
        position: relative;
        width: 20px;
        height: 20px;
        display: block;
    }
    .gd_logo {
        height: auto;
        flex: 0 0 auto;
    }
/*     .header__middle,
    .header__middle .header__cart,
    .header__middle .bar__mb {
        height: 55px;
    }
    
   .header__middle .bar__mb {
        line-height: 55px; 
    } */
    .header__cart {
        padding: 0 15px;
          
    }
     .header__cart a{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size:14px;
        font-weight: 700;
        font-size: 10px;
        height: 100%;
        text-transform: uppercase;
     }
     
     .header__cart img{
         max-width:28px;
     }
    .bar__mb {
        padding-left: 15px;
    }
    .icon-search {
        background-position: -122px -2px;
    }
    .angle-down::after {
        position: absolute;
        content: "»";
        color: #fff;
        left: 0;
        font-size: 24px;
        font-style: normal;
        transform: rotateZ(-90deg);
    }
    .angle-right {
        position: relative;
        width: 20px;
        height: 20px;
        display: block;
    }
    .angle-right::after {
        position: absolute;
        content: "»";
        color: #fff;
        line-height: 20px;
        left: 5px;
        font-size: 23px;
        font-style: normal;
        transform: rotateZ(90deg);
    }
    a.meanmenu-reveal {
        display: none;
    }
    .mean-container .mean-bar {
        background: none;
        padding: 0;
        position: absolute;
        width: 100%;
        z-index: 9999;
        right: 0;
        top: 70px;
    }
    .mean-container a.meanmenu-reveal {
        color: #fff;
        cursor: pointer;
        display: block;
        font-weight: 700;
        height: 35px;
        line-height: 40px;
        padding: 0;
        position: absolute;
        text-decoration: none;
        background: none;
        width: 55px;
    }
    .mean-container a.meanmenu-reveal::before {
        content: "MENU";
        font-size: 11px;
        font-weight: 400;
        padding-top: 1px;
        text-indent: 0;
        display: none;
        line-height: 1;
        text-align: center;
    }
    .mean-container a.meanmenu-reveal.meanclose::before {
        display: none;
    }
    .mean-container a.meanmenu-reveal span {
        background: #fff;
        border-radius: 10px;
        display: block;
        height: 3px;
        margin: 6px 0 0 5px;
        width: 40px;
    }
    .mean-container a.meanmenu-reveal span:first-child {
        margin-top: 4px;
        width: 45px;
    }
    .mean-container a.meanmenu-reveal span:last-child {
        width: 50px;
    }
    .mean-container .mean-nav {
        position: absolute;
        width: 100vw;
        top: 0;
        padding: 0;
        z-index: 2000;
        max-height: calc(100vh - 115px);
        overflow-y: scroll;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .mean-container .mean-nav::-webkit-scrollbar {
        display: none;
    }
    .mean-container .mean-nav ul {
        padding: 0;
        margin: 0;
        width: 100%;
        background: var(--primary-color);
        list-style-type: none;
        float: left;
    }
    .mean-container .mean-nav ul li {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        background: none;
        float: left;
        position: relative;
        width: 100%;
    }
    .mean-container .mean-nav ul li a,
    .mean-container .mean-nav ul li>span {
        color: #fff;
        display: block;
        font-size: 1rem;
        float: left;
        line-height: 42px;
        margin: 0;
        padding: 0 15px;
        text-align: left;
        text-decoration: none;
        width: 100%;
    }
    .mean-container .mean-nav ul li li a {
        width: 90%;
        padding: 0 5%;
        opacity: 0.75;
        filter: alpha(opacity=75);
        text-shadow: none !important;
        visibility: visible;
    }
    .mean-container .mean-nav>ul>li:first-child {
        border: none;
    }
    .mean-container .mean-nav .sub-menu li a {
        text-transform: none;
        white-space: nowrap;
    }
    .mean-container .mean-nav ul li.mean-last a {
        border-bottom: none;
        margin-bottom: 0;
    }
    .mean-container .mean-nav ul li li li a {
        width: 80%;
        padding: 0 10%;
    }
    .mean-container .mean-nav ul li li li li a {
        width: 70%;
        padding: 0 15%;
    }
    .mean-container .mean-nav ul li li li li li a {
        width: 60%;
        padding: 0 20%;
    }
    .mean-container .mean-nav ul li a:hover {
        background: rgba(255, 255, 255, 0.1);
        font-weight: bold;
    }
    .mean-container .mean-nav ul li a.mean-expand {
        margin-top: -1px;
        width: 45px;
        line-height: 1rem;
        padding: 12px !important;
        text-align: center;
        position: absolute;
        right: 0;
        top: 0;
        z-index: 2;
        font-weight: 300;
        background: none;
        border: none !important;
        color: rgba(255, 255, 255, 0.5);
    }
    .mean-container .mean-nav ul li a.mean-expand:hover {
        background: none;
    }
    .mean-container .mean-push {
        float: left;
        width: 100%;
        padding: 0;
        margin: 0;
        clear: both;
    }
    .mean-nav .wrapper {
        width: 100%;
        padding: 0;
        margin: 0;
    }
    .mean-remove {
        display: none !important;
    }
    .home .mean-container a.meanmenu-reveal,
    .sticky .mean-container a.meanmenu-reveal {
        color: #fff;
    }
    .home .mean-container a.meanmenu-reveal span,
    .sticky .mean-container a.meanmenu-reveal span {
        background: #fff;
    }
    .mean-container .mean-nav>.igi_menu__primary {
        padding: 0 15px;
    }
}

@media only screen and (max-device-width: 767px) {
    .pager .num {
        margin-bottom: 10px;
    }
     :root {
        font-size: 15px;
        --content-size: 100vw;
    }
    .container {
        max-width: 100vw;
        width: 100%;
        border-radius: 0;
    }
    .header_content {
        flex-wrap: wrap;
    }
    .header_wrap {
        width: calc(100% + 30px);
        margin: 0 -15px;
    }
}

@media screen and (max-device-width: 576px) {
     :root {
        font-size: 15px;
        --content-size: 100vw;
    }
    .fixed_right {
        bottom: 150px;
    }
    .pager .num {
        margin-bottom: 10px;
    }
    .bic_cat__title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 767px) {
     :root {
        --content-size: 100vw;
    }
}

@-webkit-keyframes fadeInDown {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }
    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }
    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}


/* body.admin-bar #header {
    margin-bottom: 1.7rem;
} */

@media (max-width: 1199px) and (min-width: 992px) {
    .th_menu__primary {
        padding-left: 15px;
        padding-right: 15px;
    }
    .gd_logo img {
        max-width: 130px;
    }
    .th_menu__content {
        flex: 0 0 85%;
    }
    .header-search {
        flex: 0 0 15%;
    }
}

@media (max-width: 991px) {
    .header_wrap {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 1600px) and (min-width: 1366px) {
    .header-search {
        flex: 0 0 15%;
    }
    .header_wrap {
        justify-content: space-between;
    }
    .th_menu__primary {
        font-size: 14px;
        padding-right: 0;
    }
    .th_menu__content {
        flex: 0 0 82%;
    }
}

.header__middle {
    background: var(--bg-primary);
}

.header__middle li a {
    color: #fff;
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
}

.header__middle li a img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    margin-right: 10px;
}

.menu__category li a {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    width: 100%;
    justify-content: flex-end;
}

.menu__category li a img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    margin-right: 10px;
}

.header__middle li:not(:last-child) {
    margin-right: 20px;
}

.header__main {
    padding: 10px 0;
}

.header__main-cate svg {
    margin-right: 10px;
}

.header__main-cate svg path {
    stroke: #fff;
}

.header__main-contact svg {
    margin-right: 10px;
}

.header__main-contact .add {
    font-size: 14px;
}

@media (min-width: 992px) {
    .header__main-cate {
        padding: 10px 15px;
        background: var(--primary-color);
        border-radius: 5px;
        font-weight: 600;
		font-size:1.2rem;
        color: #fff;
        cursor: pointer;
        transition: all 0.3s;
    }
    .header__cart a {
    font-size: 15px;
    display: inline-block;
    font-weight: 600;
}
}

.header__main-search form {
    border: 2px solid var(--primary-color);
    border-radius: 8px;
}

.header__main-search form input:focus {
    outline: none;
}



.header__main .header__cart a svg {
    margin-right: 15px;
}

@media (min-width: 992px) {
    .header__main-cate {
        position: relative;
       
    }
     .header__main-cate.active {
       
        z-index: 9999;
    }
    .header__main-cate:hover .header__main-content {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
        z-index: 10;
    }
    .header__main-content {
        position: absolute;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        z-index: -1;
        width: 100%;
        left: 0;
        margin-top: 7px;
        transition: all 0.3s;
        /* background: var(--primary-color); */
        color: #fff;
    }
    .menu__category a {
        color: #222;
    }
    .menu__category a:hover {
        color: #fff;
    }
    .menu__category .sub-menu a {
        color: #000;
    }
    .menu__category .sub-menu a:hover {
        color: var(--primary-color);
    }
    .menu__category .list-menu::-webkit-scrollbar {
        width: 3px;
    }
    .menu__category .list-menu::-webkit-scrollbar-thumb {
        background-color: var(--primary-color);
        outline: 1px solid var(--primary-color);
    }
    .menu__category .list-menu>li {
        padding: 8px 15px;
        cursor: pointer;
        border-bottom: 0px;
        position: initial;
        display: block;
        display: flex;
    }
    .menu__category .list-menu>li:hover {
        background: var(--primary-color);
    }
    .menu__category .list-menu>li:last-child {
        border-radius: 0 0 5px 5px;
    }
    .menu__category .list-menu>li>a {
        font-size: 15px;
    }
    .menu__category .list-menu>li>a img {
        padding-right: 0;
        width: 24px;
        height: 24px;
        object-fit: contain;
    }
    .menu__category .list-menu>li>.sub-menu {
        display: none;
        --col-menu: 4;
        width: calc(100% * var(--col-menu) + 15px);
        height: 100%;
        padding: 14px 20px;
        border-radius: 0 5px 5px 0;
        position: absolute;
        top: -1px;
        bottom: 0px;
        left: 100%;
        background: white;
        margin-left: 0px;
        box-shadow: rgba(0, 0, 0, 0.06) -2px 0px 8px 0px;
        z-index: 1;
        overflow: auto;
        font-size: 14px;
    }
    .menu__category .list-menu>li>.sub-menu::-webkit-scrollbar {
        width: 3px;
    }
    .menu__category .list-menu>li>.sub-menu::-webkit-scrollbar-thumb {
        background-color: var(--primary-color);
        outline: 1px solid var(--primary-color);
    }
    .menu__category .list-menu>li>.sub-menu>.sub-menu-wrapper {
        column-count: 3;
        column-gap: 10px;
        padding: 30px;
        list-style: none;
    }
    .menu__category .list-menu>li>.sub-menu>.sub-menu-wrapper>li {
        padding-left: 3rem;
        position: relative;
        margin: 0;
        display: grid;
        grid-template-rows: 1fr auto;
        margin-bottom: 10px;
        break-inside: avoid;
    }
    .menu__category .list-menu>li>.sub-menu>.sub-menu-wrapper>li img {
        width: 3rem;
        height: auto;
        object-fit: contain;
        position: absolute;
        left: 0;
        top: 0;
    }
    .menu__category .list-menu>li>.sub-menu>.sub-menu-wrapper>li>a {
        font-weight: 700;
		border-bottom: 1px solid #ebebeb;
    }
	
    .menu__category .list-menu>li>.sub-menu>.sub-menu-wrapper>li>.sub-menu>.sub-menu-wrapper>li>a {
        font-weight: 500;
		line-height:2;
    }
   
    .menu__category .list-menu {
        background: #f9fafa;
        min-height: 100%;
        overflow-y: visible;
        position: relative;
        border-bottom-left-radius: 5px;
    }
     .menu__category .menu__bottom{
         display:none;
     }
    .menu__category .list-menu>li.menu-item-has-children {
        padding-right: 2rem;
        color: #fff;
        background-repeat: no-repeat;
        background-position: 95%;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%23fff' class='bi bi-chevron-right' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    }
    .menu__category .list-menu>li:hover>.sub-menu {
        display: block;
        z-index: 900;
    }
}

.overlay {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
    background-color: rgba(0, 0, 0, 0.8);
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

@media only screen and (max-width: 991px) {
    .header__main-content {
        position: fixed;
        top: 3.5rem;
        right: 0;
        width: 90%;
        height: calc(100% - 3.5rem);
        overflow-y: auto;
        background-color: #fff;
        z-index: 9999;
        transform: translateX(100%);
        transition: 0.5s;
        
    }
    .header__main-content .menu__category>ul {
        list-style: none;
        overflow-y: auto;
        overflow-x: hidden;
        max-height: calc(100% - 85px);
    }
    .header__main-content .menu__category .menu__bottom{
        background: #ebebeb;
    }
    .header__main-content .menu__category .menu__bottom >li{
       padding-left: 2rem;
    }
    .header__main-content .menu__category>ul li {
        position: relative;
        border-bottom: 1px solid #ddd;
    }
    .header__main-content .menu__category>ul li a {
        font-weight: 700;
        font-size: 16px;
        text-transform: uppercase;
        padding: 10px 10px;
        color: #000;
        opacity: 0.85;
    }
    .header__main-content .menu__category>ul li .li-plus {
        position: absolute;
        width: 44px;
        height: 44px;
        line-height: 44px;
        text-align: center;
        display: block;
        top: 0;
        right: 0;
        color: var(--primary-color);
        transition: 0.3s;
        border-left: 1px solid #ddd;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .header__main-content .menu__category>ul li .li-plus:after {
        -webkit-transition: 0.3s;
        -moz-transition: 0.3s;
        -ms-transition: 0.3s;
        -o-transition: 0.3s;
        content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-chevron-right' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    }
    .header__main-content .menu__category>ul li .clicked::after {
        transform: rotate(90deg);
    }
    .header__main-content .menu__category>ul li>ul {
        margin-top: 0;
        display: none;
    }
    .header__main-content .menu__category>ul li>ul li {
        border: none;
        border-top: 1px solid #ddd;
    }
    .header__main-content .menu__category>ul li>ul li a {
        
        text-transform: none;
        font-weight: 400;
    }
   
    .header__main-content .menu__category>ul .current-menu-item ul>a {
        color: var(--primary-color);
    }
    
    .header__main-content .menu__category>ul .current-menu-parent ul {
        display: block;
    }
    .header__main-content .menu__category .header-close {
        position: absolute;
        width: 40px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        top: 0;
        right: 0px;
    }
    .header__main .menu__category .menu-close svg {
        color: var(--primary-color);
    }
    .header__main-content.active {
        transform: translate(0);
    }
}