.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06), 0 6px 16px rgba(0, 0, 0, 0.04);
  overflow: visible;
}

main {
  padding-top: 92px;
}

.page-home .site-header {
  top: 55px;
}

.page-home main {
  padding-top: 147px;
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  height: 92px;
  padding: 0 24px;
  gap: 16px;
  overflow: visible;
}

.site-header__logo {
  flex-shrink: 0;
  margin-left: 0;
}

@media (min-width: 1281px) {
  .site-header__logo {
    margin-left: 38px;
  }
}

.site-header__logo a {
  display: inline-block;
}

.site-header__logo img {
  display: block;
  height: 45px;
  width: auto;
  aspect-ratio: 737 / 168;
}

.site-header__nav {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
  overflow: visible;
}

.site-header__nav-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 42px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #7a7a7a;
}

.site-header__nav-item {
  flex-shrink: 0;
  position: relative;
}

.site-header__subnav {
  display: none;
}

@media (max-width: 1500px) and (min-width: 1281px) {
  .site-header__inner {
    gap: 12px;
    padding: 0 16px;
  }

  .site-header__nav-list {
    gap: 14px 28px;
    font-size: 16px;
  }

  .site-header__quote-btn {
    min-width: 120px;
    height: 36px;
    padding: 0 12px;
    font-size: 15px;
  }
}

@media (min-width: 1281px) {
  .site-header__nav-item--has-menu:hover .site-header__subnav,
  .site-header__nav-item--has-menu:focus-within .site-header__subnav {
    display: block;
  }

  .site-header__nav-item--has-menu::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 20px;
  }

  .site-header__subnav {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    max-width: min(320px, calc(100vw - 32px));
    max-height: calc(100dvh - 120px);
    margin: 0;
    padding: 10px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    z-index: 300;
  }

  .site-header__nav-item--has-menu-first:not(.site-header__nav-item--has-menu-last) .site-header__subnav {
    left: 0;
    right: auto;
    transform: none;
  }

  .site-header__nav-item--has-menu-last:not(.site-header__nav-item--has-menu-first) .site-header__subnav {
    left: auto;
    right: 0;
    transform: none;
  }

  .site-header__subnav-link {
    display: block;
    padding: 10px 18px;
    font-family: "Roboto", sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #7a7a7a;
    text-decoration: none;
    white-space: nowrap;
  }

  .site-header__subnav-link:hover {
    background: #faf7ef;
    color: #1c1c1c;
  }

  .site-header__subnav-link.is-active,
  .site-header__subnav-link.is-active:hover {
    color: #1c1c1c;
    font-weight: 700;
  }

  .site-header__subnav--products > .site-header__subnav-group--flyout > .site-header__subnav-link {
    padding-left: 28px;
    padding-right: 34px;
    white-space: normal;
  }

  .site-header__subnav--flyout {
    min-width: 260px;
    max-width: min(300px, calc(100vw - 32px));
    overflow: visible;
  }

  .site-header__subnav-group--flyout {
    position: relative;
    margin: 0;
    border-bottom: none;
  }

  .site-header__subnav-group--flyout.site-header__subnav-group--has-children > .site-header__subnav-link {
    position: relative;
  }

  .site-header__subnav-group--flyout.site-header__subnav-group--has-children > .site-header__subnav-link::after {
    content: "›";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    line-height: 1;
    color: #b0b0b0;
  }

  .site-header__subnav-group--flyout.site-header__subnav-group--has-children::after {
    content: "";
    position: absolute;
    top: 0;
    right: -14px;
    width: 14px;
    height: 100%;
  }

  .site-header__subnav-flyout {
    display: none;
    position: absolute;
    top: -10px;
    left: calc(100% - 1px);
    min-width: 240px;
    max-width: min(300px, calc(100vw - 32px));
    max-height: calc(100dvh - 120px);
    margin: 0;
    padding: 10px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 310;
  }

  .site-header__subnav-group--flyout:hover .site-header__subnav-flyout,
  .site-header__subnav-group--flyout:focus-within .site-header__subnav-flyout {
    display: block;
  }
}

.site-header__subnav-item {
  margin: 0;
}

.site-header__nav-link {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}

.site-header__nav-link--parent {
  cursor: default;
}

.site-header__nav-item--active .site-header__nav-link,
.site-header__nav-item:hover .site-header__nav-link {
  color: #1c1c1c;
}

.site-header__nav-item--active .site-header__nav-link::after,
.site-header__nav-item:hover .site-header__nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  width: calc(100% + 20px);
  height: 5px;
  background-color: #1c1c1c;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.site-header__quote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 155px;
  height: 40px;
  padding: 0 16px;
  border: none;
  border-radius: 5px;
  background-color: #d3b574;
  color: #16163f;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  text-transform: capitalize;
  cursor: pointer;
}

.site-header__quote-icon {
  width: 16px;
  height: 16px;
  fill: #16163f;
  flex-shrink: 0;
}

.site-header__menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.site-header__menu-icon,
.site-header__menu-icon::before,
.site-header__menu-icon::after {
  display: block;
  width: 22px;
  height: 2px;
  background: #1c1c1c;
  border-radius: 1px;
  position: relative;
}

.site-header__menu-icon::before,
.site-header__menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.site-header__menu-icon::before {
  top: -7px;
}

.site-header__menu-icon::after {
  top: 7px;
}

@media (max-width: 1280px) {
  .site-header__inner {
    height: 64px;
    padding: 0 16px;
  }

  main {
    padding-top: 64px;
  }

  .site-header__logo {
    margin-left: 0;
  }

  .site-header__logo img {
    height: 36px;
    width: auto;
    aspect-ratio: 737 / 168;
  }

  .site-header__menu-btn {
    display: inline-flex;
  }

  .site-header__quote-btn {
    min-width: auto;
    width: 40px;
    height: 40px;
    padding: 0;
  }

  .site-header__quote-btn span {
    display: none;
  }

  .site-header__nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    justify-content: stretch;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }

  .site-header__nav.is-open {
    display: block;
  }

  .site-header__nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
  }

  .site-header__nav-item {
    border-bottom: 1px solid #f2f2f2;
  }

  .site-header__nav-item--has-menu::after {
    display: none;
  }

  .site-header__nav-link {
    display: block;
    padding: 16px 24px;
    white-space: normal;
  }

  .site-header__nav-item--has-menu:hover .site-header__subnav,
  .site-header__nav-item--has-menu:focus-within .site-header__subnav,
  .site-header__subnav {
    display: block;
    position: static;
    transform: none;
    min-width: 0;
    max-width: none;
    max-height: none;
    margin: 0;
    border: none;
    box-shadow: none;
    background: #fafafa;
    padding: 0 0 8px;
  }

  .site-header__subnav-link {
    display: block;
    padding: 12px 24px 12px 40px;
    font-family: "Roboto", sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #7a7a7a;
    text-decoration: none;
    white-space: normal;
  }

  .site-header__subnav-link:hover {
    background: #f3efe4;
    color: #1c1c1c;
  }

  .site-header__subnav-link.is-active,
  .site-header__subnav-link.is-active:hover {
    color: #1c1c1c;
    font-weight: 700;
  }

  .site-header__subnav--products > .site-header__subnav-group--flyout > .site-header__subnav-link {
    padding: 12px 24px 12px 48px;
  }

  .site-header__subnav-group--flyout {
    border-bottom: none;
  }

  .site-header__subnav-group--flyout.site-header__subnav-group--has-children > .site-header__subnav-link::after {
    display: none;
  }

  .site-header__subnav-flyout {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .site-header__nav-item--active .site-header__nav-link,
  .site-header__nav-item:hover .site-header__nav-link {
    background: #faf7ef;
  }

  .site-header__nav-item--active .site-header__nav-link::after,
  .site-header__nav-item:hover .site-header__nav-link::after {
    display: none;
  }
}
