.header {
  font-size: 16px;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 100; }
  .header__row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 80px; }
  .header__side {
    display: flex;
    align-items: center;
    flex: 1; }
    .header__side-left {
      justify-content: start;
      align-items: stretch; }
    .header__side-right {
      justify-content: end; }
  .header__address-select {
    margin-right: 28px;
    flex-grow: 0;
    flex-shrink: 0; }
    .header__address-select select {
      background-color: #fff;
      font-family: inherit;
      font-size: inherit; }
    .header__address-select_modal {
      display: none; }
  .header__address_static {
    margin-right: 24px;
    padding-right: 24px;
    border-right: 1px solid var(--color); }
  .header__address_modal {
    display: none; }
  .header__contacts {
    white-space: nowrap;
    margin-right: 28px; }
    .header__contacts-item:before {
      content: '';
      display: inline-block;
      width: 18px;
      height: 18px;
      margin-right: 10px;
      background-position: center center;
      background-repeat: no-repeat;
      background-size: contain;
      position: relative;
      top: 2px; }
    .header__contacts-phone:before {
      background-image: url(../img/phone.svg); }
    .header__contacts-worktime:before {
      background-image: url(../img/clock.svg); }
  .header .custom-logo-link, .header__logo, .custom-logo-link img {
    width: 170px; max-height: 100px; }
  .header__account {
    margin-left: 10px; }
  .header__search {
    margin-left: 10px; }
  .header__cart {
    margin-left: 10px; }
  .header__feedback {
    margin-left: 36px; }
  .header__eye {
    margin-left: 36px; }
  .header__menu {
    margin-left: 10px; }
  .header-line {
    height: 20px;
    background: #fff;
    z-index: 99;
    position: relative; }
  .header-border {
    height: 1px;
    background: #fff;
    z-index: 98;
    box-shadow: 0 0 10px #000;
    position: sticky;
    top: 80px; }
  .header a {
    text-decoration: none;
    color: inherit; }

.header-address {
  white-space: nowrap; }

.address-select {
  font-weight: bold;
  border: none;
  outline: none;
  cursor: pointer; }
  .address-select + select {
    font-weight: bold;
    border: none;
    outline: none; }

.search-modal.fade {
  z-index: 90; }

.search-modal .modal-content {
  box-sizing: border-box;
  padding-top: 121px;
  padding-bottom: 20px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  min-width: 100%; }
  .search-modal .modal-content:before {
    content: '';
    display: block;
    height: 1px;
    background: #EDEDED; }

.menu-modal.fade {
  z-index: 90; }

.menu-modal .modal-content {
  box-sizing: border-box;
  padding-top: 121px;
  padding-bottom: 20px; }
  .menu-modal .modal-content:before {
    content: '';
    display: block;
    height: 1px;
    background: #EDEDED; }

.menu-modal .header__contacts {
  display: none; }

.menu-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center; }

.menu-modal__address {
  display: flex; }

.menu-modal__card {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  width: 100%;
  padding-bottom: 55.6%;
  overflow: hidden;
  transition: 0.3s;
  border-radius: var(--border-radius); }
  .menu-modal__card:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
    opacity: 0.5;
    transition: 0.3s; }
  .menu-modal__card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s; }
  .menu-modal__card-text {
    position: absolute;
    display: block;
    left: 20px;
    bottom: 20px;
    right: 20px;
    color: #fff;
    z-index: 2; }
  .menu-modal__card:hover .menu-modal__card-image {
    transform: scale(1.1); }
  .menu-modal__card:hover:before {
    opacity: 1; }

.modal-backdrop {
  z-index: 80; }

.feedback-modal.show ~ .modal-backdrop {
  z-index: 1040; }

.header-menu {
  display: flex;
  font-size: 32px;
  padding-top: 30px;
  padding-bottom: 30px;
  margin: 0;
  white-space: nowrap; }
  .header-menu a {
    text-decoration: none;
    color: inherit;
    line-height: 1.5; }
  .header-menu .menu-item {
    margin-right: 30px; }
    .header-menu .menu-item:hover a, .header-menu .menu-item.current-menu-item a {
      text-decoration: underline;
      color: var(--color-accent); }

.header-fixed.modal-open .header-border {
  display: none; }

.header-fixed.modal-open .menu-modal .modal-content {
  padding-top: 80px; }

.modal.show ~ .header-border {
  display: none; }

@media (max-width: 1600px) {
  .header__address-select {
    margin-right: 15px; }
  .header__address_static {
    margin-right: 20px;
    padding-right: 20px; }
  .header__contacts {
    margin-right: 20px; }
  .header__feedback {
    margin-left: 10px; }
  .header__eye {
    margin-left: 10px; }
  .menu-modal__card-text {
    font-size: 16px; }
  .header-menu {
    font-size: 24px; } }

@media (max-width: 1500px) {
  .header__address_static {
    display: none; }
  .header__address_modal {
    display: block; } }

@media (max-width: 1399px) {
  .header__address_static {
    display: none; }
  .header__address_modal {
    display: block; } }

@media (max-width: 1100px) {
  .header__address-select_static {
    display: none; }
  .header__address-select_modal {
    display: block; }
  .header__feedback {
    display: none; }
  .menu-modal__card {
    padding-bottom: 69%; } }

@media (max-width: 991px) {
  .menu-modal__header {
    align-items: flex-start; }
  .menu-modal__address {
    padding-top: 30px; }
  .header-menu {
    flex-direction: column; }
    .header-menu .menu-item {
      margin-bottom: 15px; } }

@media (max-width: 767px) {
  .menu-modal__header {
    flex-direction: column-reverse; } }

@media (max-width: 575px) {
  .header__row {
    height: 60px; }
  .header__side-left {
    display: none; }
  .header__address-select {
    font-size: 18px;
    margin-bottom: 1em; }
  .header__address {
    font-size: 18px; }
  .header__contacts {
    display: none; }
  .header .custom-logo-link, .header__logo, .custom-logo-link img {
    width: 121px; max-height:75px;}
  .header-line {
    height: 10px; }
  .header-border {
    top: 60px; }
  .menu-modal.modal .modal-dialog.modal-dialog-slideout-up {
    transform: translate(0, -100vh); }
  .menu-modal .modal-content {
    padding-top: 81px; }
  .menu-modal .header__contacts {
    display: block;
    width: 100%;
    margin-bottom: 1em;
    font-size: 18px; }
    .menu-modal .header__contacts a {
      text-decoration: none;
      color: inherit; }
  .menu-modal__address {
    flex-wrap: wrap; }
  .header-fixed.modal-open .menu-modal .modal-content {
    padding-top: 60px; } }
