.restaurants-filters {
    margin: auto;
    max-width: 1470px;
}


@media (max-width: 1200px) {
    .restaurants-filters {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch; 
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 16px; 
}

.restaurants-filters::-webkit-scrollbar {
    display: none; 
}
}

.restaurants-options-container {
    width: 100%;
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 9998;
    padding-top: 30px;
    padding-bottom: 20px;
}

@media (max-width: 979px)  {
    .restaurants-options-container {
        padding-top: 16px;
    }
}

.nav-panel-btn {
    vertical-align: middle;
}

.restaurants-filters-shadow {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

:has(.restaurants-options-container) {
    position: relative;
}

@media (min-width: 980px) {
    .header-switch-page {
        display: none;
    }

    .header-search-form-restaurants {
    display: none !important;
    }
    
}

@media (max-width: 979px) and (min-width:769px) {
    .header-switch-page {
       /* margin: 56px auto 16px !important; */
       margin: 0 !important;
    }

    
}



.header-switch-page {
 max-width: 328px;
 width: 100%;
 margin: 16px auto;
}

.header-search-form-restaurants {
    width: auto !important;
    margin: 0 16px !important;
    display: block;
}

.header-search-form {
    max-width: 550px !important;
}

.header-search-input-restaurants {
    width: 100% ;
    margin: 0 auto !important
}


.header-time-rest {
font-size: 14px;
  font-family: "Golos Text", sans-serif;
  line-height: 17px;
  font-weight: 500;
  display: none;
  min-width: 230px;
  text-align: center;
  display: none;
  justify-content: center;
}



@media (max-width: 980px) {


.container_line {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
}}

@media (max-width: 979px) and (min-width:769px) {
    .container_header{
        display: flex;
        flex-direction: column;
    }
    .container_line {
        flex-direction: row;
        margin: 56px auto 16px;
        justify-content: center;
        align-items: center;
    }

    .header-switch-page {
       margin: 0 0 0 10px !important;
    }
    .header-search-form {
    max-width: 100% !important;
    }


    .header-time-rest {
    display: flex;
}
    .header-switch-page {

    width: 328px !important;
    margin: 16px auto;
    }
}

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

    .header-switch-page {
    max-width: 328px;
    width: 100%;
    margin: 16px auto;
    }

       .header-search-form {
    max-width: 100% !important;
    }
}

@media (max-width: 979px) {
    .header-time-status{
        margin-right: 4px;
    }
}