@media screen and (max-width: 991px) {
    .header > .container .search-field {
        flex:0 0 30em;
        height: 50px;
    }
    .container.signup {
        max-width: 700px;
        padding: 20px;
    }
    .header {
        background-color: #ffffff;
        padding: 0;
        position: fixed;
        top: 0;
       
      
        padding: 10px 0;
    }
    header ul.menu {
      
        position: fixed;
        background: #fff;
        flex-direction: column;
        transition: .3s;
        /* margin-top: 58px; */
        height: 100%;
        top: 65px;
        left: -1000px;
        width: 320px;
        &.open{
            left: 0;
        }
    }
    header ul.menu li {
        width: 100%;
    }
     .header .h-right .btn-primary, .btn-outline-primary {
    
        padding: 6px 15px !important;
    }
    .header .h-right .toggle-button{
        display: block;
    }
    .header .h-right .toggle-button a{
        display: block;
        width: 28px;
    }
    .header>.container {
       flex-direction: row;
    }
    
}
/* Responsive design */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }

    .footer-section {
        margin-bottom: 30px;
    }

    .back-to-top {
        right: 10px;
        bottom: 10px;
    }
    .search-field {
        max-width: 90%;
    }
}

@media screen and (max-width: 767px) {
    h1.main-title {
        padding: 30px 0 15px 0;
        font-size: 36px;
    }
    
    .container.signup #login-wrapper{
        flex-direction: column;
    }
    .signup #register_wrapper {
       flex-direction: column;
    }
    .container.signup {
        padding: 15px;
    }
    .header > .container .search-field {
        flex: 0 0 6em;
        height: 50px;
        flex-direction: column;
    }
    .product-box{
        margin-bottom: 20px;
    }
    .search-field form {
        flex-direction: column;
    }
    .search-field button {
        position: relative;
        max-width: none;
        border-radius: 0 0 6px 6px;
        padding: 10px 20px;
        left: auto;
        right: auto;
        top: 0;
    }
    .search-field .form-select, .search-field .form-control {
        max-width: none;
        border: none;
        box-shadow: none !important;
        width: 100%;
        border-radius: 0;
        height: 54px;
    }
    .search-field .form-select{
       
            border-bottom: solid 1px #c7c4c4 !important;
       
    }
    #heroCarousel .search-field{
        max-height: none;
        max-width: 95%;
        top: 20%;
    }
    .carousel-caption {
        bottom: -12px;
    }
    .light-wrapper .slogan-wrapper {
        display: flex;
        flex-direction: column;
        padding: 15px;
    }
    footer .newsletter form {
        display: flex;
        flex-direction: column;
    }
}
