.header-grey{
    background-color: #f5f7fa;
}

.box-1{
    padding-top: 25px;
    padding-bottom: 20px;
}

.grid-header-top{
    margin-bottom: 25px;
    gap: 20px;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    display: grid;
    align-items: center;
}

.grid-header-bottom{
    background: #fff;
}

.span-3{
    grid-column: span 3 / span 3;
}

.span-4{
    grid-column: span 4 / span 4;
}

.span-5{
    grid-column: span 5 / span 5;
}

.span-5 input{
    box-shadow: 0 5px 10px 0 #00000033;
    border: 0;
    border-radius: 8px;
    height: 44px;
    width: 100%;
    padding-right: 50px;
    padding-left: 42px;
    outline: none;
}

.search-icon{
    color: #999;
    height: 44px;
    width: auto;
    align-items: center;
    justify-content: center;
    left: 12px;
    top: 0;
    position: absolute;
    display: flex;
}

.search-button{
    border-width: 0;
    border-bottom-right-radius: 8px;
    border-top-right-radius: 8px;
    background-color: #ec1e24;
    color: #fff;
    font-size: 18px;
    height: 44px;
    width: 44px;
    align-items: center;
    justify-content: center;
    top: 0;
    right: 0;
    position: absolute;
    display: flex;
    outline: none;
}

.search-button svg{
    fill: #fff;
    color: #fff;
    font-size: 18px;
}

.order-area{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.button-cart, .button-order{
    cursor: pointer;
    padding: 10px;
    background: #ffb600;
    border-radius: 50px;
    align-items: center;
    gap: 10px;
    display: flex;
}

.button-order span{
    font-size: 15px;
    font-weight: 700;
    color: #022279;
    line-height: 1.2;
}

.box-cart{
    align-items: center;
    gap: 10px;
    display: flex;
    justify-content: center;
}

.box-cart .position-relative{
    width: 28px;
    height: 28px;
}

.box-cart-title, .order-area .btn-modal-order span, .contact-technical span{
    font-size: 15px;
    font-weight: 700;
    color: #022279;
    line-height: 1.2;
}

.order-area .btn-modal-order, .contact-technical{
    align-items: center;
    gap: 10px;
    display: flex;
}

.count-cart-shopping{
    opacity: 0;
    border-radius: 20px;
    background-color: #ec1e24;
    font-weight: 500;
    color: #fff;
    font-size: 11px;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    z-index: 1;
    position: absolute;
    display: flex;
    top: -5px;
    right: -10px;
}

.grid-header-bottom{
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    z-index: 9999;
}

.grid-header-bottom nav{
    box-shadow: 0 8px 24px #00000033;
    border-radius: 8px;
}

.grid-header-bottom nav>ul{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    list-style-type: none;
    margin:0;
}

.grid-header-bottom nav>ul>li:first-child {
    margin-left: 0;
}

.grid-header-bottom nav ul li{
    position: relative;
}

.grid-header-bottom nav>ul>li{
    margin: 0 22px;
}

.grid-header-bottom nav ul li a {
    display: block;
    cursor: pointer;
}

.grid-header-bottom nav>ul>li>a {
    position: relative;
    margin: 0;
    padding: 10px 0;
    color: #000000;
    font-size: 13px;
    font-weight: 500;
}

.leading-none{
    line-height: 1;
}

.grid-header-bottom img{
    height: 24px;
}

.grid-header-bottom nav ul li .sub-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(25px);
    width: 250px;
    padding: 10px 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, .25);
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 99;
    transition: all .3s ease;
    list-style-type: none;
}

nav .sub-menu li {
    margin: 0;
    position: relative;
}

.grid-header-bottom nav ul li .sub-menu li a {
    font-size: 15px;
    text-align: left;
    color: #000;
    padding: 5px 10px;
    font-weight: 500;
}

.grid-header-bottom nav ul li:hover>.sub-menu{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.grid-header-bottom nav>ul>li:hover>a {
    color: #ec1e24!important;
}

.item-box-link{
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media only screen and (max-width: 1024px) {
    .logo-header .logo-header-inner img{
        width: 60px;
        height: 60px;
    }

    .btn-modal-order svg, .box-cart .position-relative svg{
        width: 20px;
        height: 20px;
        position: absolute;
        top: 0;
        left: 0;
    }

    .box-cart .position-relative, .btn-modal-order .position-relative{
        width: 20px;
        height: 20px;
    }

    .count-cart-shopping{
        top: -10px;
        right: -15px;
    }

    .button-cart{
        cursor: pointer;
        padding: 10px;
        background: #ffb600;
        border-radius: 50px;
    }

    .button-order{
        cursor: pointer;
        padding: 10px;
        background: #ffb600;
        border-radius: 50px;
        display: flex;
        gap: 5px;
        justify-content: space-between;
        justify-items: center;
        align-items: center;
        height: 40px;
    }

    .button-order>span{
        font-size: 15px;
        font-weight: 700;
        color: #022279;
    }

    #mobile-side-drawer{
        min-height: auto!important;
        margin: 0;
        border-radius: 50px;
        border: 1px solid #022279;
        background: #022279;
        width: 40px;
        height: 40px;
        padding: 10px;
    }

    .navbar-toggler .icon-bar{
        background: #f8f8f8;
        height: 3px;
        border-radius: 0;
        display: block;
        width: 18px;
    }

    .main-bar{
        display: flex;
        padding: 0 5px;
    }

    .main-bar .container{
        display: flex;
        justify-content: space-between;
        padding: 0;
    }

    .order-widget {
        bottom: 10%;
    }

    .quick-search{
        display: flex;
        width: 100%;
    }

    .quick-search svg{
        position: absolute;
        right: 10px;
        top: 10px;
        font-size: 18px;
        fill: #7d7a7a;
        flex-grow: 1;
    }

    .quick-search input{
        outline: none;
        border-radius: 30px;
        padding: 0 35px 0 10px;
        height: 40px;
        border: 0.5px solid #d9d7d7;
        font-size: 14px;
        line-height: 0.5;
        color: #494a4c;
        font-weight: 500;
        max-width: 180px;
        flex-grow: 1;
    }

    .logo-header{
        flex-shrink: 0;
        width: 60px;
    }
}
