/* MOBILE FIRST */

.mobile-header {
  min-height: 62px;
  display: grid;
  grid-template-columns: 1fr min-content;
  grid-template-rows: minmax(62px, max-content) 1fr;
  align-items: center;
  background-color: #fff;
  padding: 0 5px;
}

.mobile-header_theme_dark {
  background-color: var(--current-theme);
  color: #fff;
}


.mobile-header_theme_dark .logo {
  color: #fff;
}

.mobile-header_state_menu-opened {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  padding: 0 15px 10px;
}



.mobile-header__link {
  color: var(--current-theme);
  font-size: 10px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  text-decoration: none;
}

.index .mobile-header__link {
  color: #fff;
  pointer-events: none;
}

.mobile-header__icon {
  background-image: url(../images/ui/mobile-menu-closed-icon.svg);
  width: 20px;
  height: 12px;
  background-size: contain;
  background-position: center;
  cursor: pointer;
  transition: opacity .3s;
  background-repeat: no-repeat;
}

.mobile-header_theme_dark .mobile-header__icon {
  background-image: url(../images/ui/mobile-menu-closed-icon-white.svg);
}

.mobile-header__icon:hover {
  opacity: .8;
}

.mobile-header__icon_state_menu-opened {
  background-image: url(../images/ui/mobile-menu-opened-icon.svg);
}

.mobile-header_theme_dark .mobile-header__icon_state_menu-opened {
  background-image: url(../images/ui/video-popup-close-icon.svg);
}

.mobile-header__nav {
  grid-column: 1/-1;
  background-color: var(--current-theme);
  align-self: stretch;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 30px 18px;
  position: relative;
  width: calc(100% + 10px);
  transform: translateX(-5px);
}

.mobile-header_theme_dark .mobile-header__nav {
  background-color: #fff;
  color: var(--current-theme);
}

.mobile-header__nav_state_menu-opened {
  display: flex;
}

.mobile-header__nav-text {
  font-size: 12px;
  line-height: 1.4;
  max-width: 400px;
}

.mobile-header__menu-link {
  font-size: 24px;
  line-height: 1.4;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.3em;
}

.mobile-header__footer {
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

@media screen and (min-width: 600px) {
  .mobile-header {
    display: none;
  }
}
