header {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    background-color: var(--white-color);
    z-index: 1002;
    box-shadow: 0 -6px 10px 5px rgba(0, 0, 0, 0.1);
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 12px;
    position: relative;
}

.header .logo img {
    width: auto;
    height: 52px;
}

.header .navbar {
    display: flex;
    align-items: center;
    gap: 36px;
    padding-block: 0;
}

.header .navbar a {
    position: relative;
    font-size: 13px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--black-color);
}

.header .navbar a::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s linear;
}

.header .navbar a:hover::after {
    width: 100%;
}

.header .others {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header .others .menu-mb {
    cursor: pointer;
    display: none;
}

.header .others .menu-mb img {
    width: 36px;
    height: auto;
}

.header .others .btn-search {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 6px;
    border: 1px solid var(--white-color);
    border-radius: 8px;
    transition: all 0.3s linear;
}

.header .others .btn-search.active {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.header .others .btn-search.active img {
    filter: brightness(0) invert(1);
}

.header .others .btn-search img {
    width: 18px;
    height: auto;
}

/**
* 1200px
**/

@media screen and (max-width: 1200px) {
    .header .navbar a {
        font-size: 10px;
    }
}

/**
* 991px
**/

@media screen and (max-width: 991px) {

    .header .others .menu-mb {
        display: block;
    }
    
    .header .navbar {
        flex-direction: column;
        position: absolute;
        background-color: #fff;
        top: 76px;
        right: -450px;
        padding: 0px 0 48px;
        gap: 0px;
        align-items: start;
        height: 100vh;
        justify-content: start;
        border-left: 1px solid #e8e8e8;
        transition: all 0.3s linear;
    }

    .header .navbar::after {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        z-index: -1;
        background-color: #fff;
    }

    .header .navbar.active {
        right: calc(-0% - 60px);
    }

    .header .navbar a {
        width: 100%;
        display: block;
        padding: 18px 100px 18px 28px;
        text-align: start;
        font-size: 16px;
        border-bottom: 1px solid #e8e8e8;
    }
}

/**
* 576
**/

@media screen and (max-width: 576px) {
    /* .header .navbar {
        right: calc(-80%);
    }  */
}