/*
 * Шапка и подвал лендинга — копия шапки yourfitstore.ru для макета.
 * После подключения header.php / footer.php Битрикса этот файл можно не подключать.
 */

.yf-landing .nav-inner a {
  font-family: HovesBold,Hoves,Arial,sans-serif;
}

.yf-landing .site-header {
  position: relative;
  z-index: 50;
  background: #fff;
}

.yf-landing .desktop-header {
  display: block;
}

.yf-landing .header-main {
  height: 89.47px;
  padding-top: 24px;
  padding-bottom: 24px;
  display: flex;
  align-items: center;
}

.yf-landing .header-logo-link {
  width: 130px;
  height: 41.47px;
  display: grid;
  place-items: center;
  flex: 0 0 130px;
}

.yf-landing .header-spacer {
  flex: 1;
}

.yf-landing .desktop-actions {
  height: 41.47px;
  display: flex;
  align-items: center;
  color: #232528;
}

.yf-landing .desktop-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 18px;
  font-size: 14px;
  white-space: nowrap;
}

.yf-landing .header-callback {
  padding: 0 0 2px;
  margin-right: 30px;
  border: 0;
  border-bottom: 1px dashed #232528;
  background: none;
  font-size: 11px;
  cursor: pointer;
}

.yf-landing .desktop-action {
  height: 41px;
  min-width: 91px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #5f5f5f;
  font-size: 11px;
}

.yf-landing .desktop-action svg {
  width: 18px;
  height: 18px;
  stroke: #8a8a8a;
  stroke-width: 1.7;
}

.yf-landing .desktop-cart {
  width: 52px;
  height: 41px;
  display: grid;
  place-items: center;
}

.yf-landing .desktop-cart svg {
  width: 21px;
  height: 21px;
  stroke: #aaa;
  stroke-width: 1.7;
}

.yf-landing .nav-bar {
  height: 50px;
  background: #232528;
}

.yf-landing .nav-inner {
  height: 50px;
  min-height: 50px;
  display: grid;
  grid-template-columns: 154fr 245fr 269fr 109fr 218fr 77fr 128fr;
  gap: 0;
}

.yf-landing .nav-inner a {
  height: 50px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 21px;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background-color .25s;
}

.yf-landing .nav-inner a:hover,
.yf-landing .nav-inner a:focus-visible,
.yf-landing .nav-inner a.is-current {
  background: #3b3f41;
}

.yf-landing .nav-inner a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -3px;
}

.yf-landing .catalog-lines {
  position: relative;
  width: 11px;
  height: 8px;
  border-top: 1px solid;
  border-bottom: 1px solid;
}

.yf-landing .catalog-lines:after {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 7px;
  border-top: 1px solid;
}

.yf-landing .mobile-header,
.yf-landing .mobile-drawer {
  display: none;
}

.yf-landing .site-footer {
  padding: 76px 0 28px;
  background: #222;
  color: #fff;
}

.yf-landing .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 2fr 1.2fr;
  gap: 60px;
}

.yf-landing .footer-grid>div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.yf-landing .footer-grid p {
  margin: 0;
  color: #bbb;
}

.yf-landing .footer-grid .footer-phone {
  margin-top: 30px;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
}

.yf-landing .footer-call {
  padding: 0 0 2px;
  border: 0;
  border-bottom: 1px solid;
  background: none;
  color: #fff;
  cursor: pointer;
}

.yf-landing .footer-email {
  color: #fff;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.yf-landing .footer-grid small {
  margin-top: 20px;
  color: #aaa;
}

.yf-landing .footer-legal a {
  color: #fff;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.yf-landing .footer-nav a {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  transition: opacity .35s;
}

.yf-landing .footer-nav a:hover {
  opacity: .6;
}

.yf-landing .footer-bottom {
  margin-top: 70px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #444;
  color: #aaa;
  font-size: 12px;
}

.yf-landing .site-footer .header-logo-link {
  place-items: start;
}

@media(max-width:900px) {
  .yf-landing .desktop-header {
    display: none;
  }
  .yf-landing .mobile-header {
    height: 81.47px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    background: #fff;
  }
  .yf-landing .mobile-menu-trigger {
    position: relative;
    width: 20px;
    height: 44px;
    flex: 0 0 20px;
    padding: 0;
    margin: 0 20px 0 0;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .yf-landing .mobile-menu-trigger span {
    position: absolute;
    left: 0;
    height: 1.5px;
    background: #232528;
  }
  .yf-landing .mobile-menu-trigger span:first-child {
    top: 16px;
    width: 18px;
  }
  .yf-landing .mobile-menu-trigger span:last-child {
    top: 25px;
    width: 10px;
  }
  .yf-landing .mobile-header .header-logo-link {
    flex: 0 0 130px;
  }
  .yf-landing .mobile-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .yf-landing .mobile-actions a {
    width: 20px;
    height: 44px;
    display: grid;
    place-items: center;
    color: #aaa;
  }
  .yf-landing .mobile-actions svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.8;
  }
  .yf-landing .mobile-drawer {
    position: fixed;
    z-index: 200;
    inset: 0;
    display: flex;
    flex-direction: column;
    overflow: auto;
    background: #fff;
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform .3s cubic-bezier(.22,.61,.36,1),visibility .3s;
  }
  .yf-landing .mobile-drawer.is-open {
    transform: none;
    visibility: visible;
  }
  .yf-landing .mobile-drawer-head {
    height: 86px;
    min-height: 86px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
  }
  .yf-landing .mobile-drawer-head button {
    width: 36px;
    height: 44px;
    margin-right: -8px;
    display: grid;
    place-items: center;
    border: 0;
    background: none;
  }
  .yf-landing .mobile-drawer nav a {
    min-height: 65px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    font-size: 16px;
  }
  .yf-landing .mobile-contact {
    margin-top: 84px;
    background: #f7f7f7;
  }
  .yf-landing .mobile-contact>div,
  .yf-landing .mobile-contact>a {
    min-height: 66px;
    padding: 14px 20px;
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 20px;
    align-items: center;
    border-bottom: 1px solid #e6e6e6;
    font-size: 16px;
  }
  .yf-landing .mobile-contact>div {
    min-height: 86px;
  }
  .yf-landing .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .yf-landing .footer-nav {
    grid-column: 1/-1;
  }
}

@media(max-width:620px) {
  .yf-landing .mobile-header {
    padding: 0 12px;
  }
  .yf-landing .mobile-menu-trigger {
    margin-right: 12px;
  }
  .yf-landing .mobile-actions {
    gap: 12px;
  }
  .yf-landing .mobile-header .header-logo-link {
    flex-basis: 108px;
    width: 108px;
  }
  .yf-landing .mobile-header .yf-logo {
    width: 108px;
  }
  .yf-landing .footer-grid {
    grid-template-columns: 1fr;
  }
  .yf-landing .footer-nav {
    grid-column: auto;
  }
  .yf-landing .footer-bottom {
    display: block;
  }
  .yf-landing .footer-bottom span {
    display: block;
    margin-top: 8px;
  }
}
