.site-header {
  background: #fff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header__inner {
  height: 69px;
  display: flex;
  align-items: center;
}

.site-brand img {
  height: 32px;
  display: block;
}

.primary-nav {
  margin-right: 40px;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.primary-nav a {
  font-size: 14px;
  font-weight: 500;

  color: #404040;

  text-decoration: none;

  white-space: nowrap;
  transition: color 300ms;
}

.primary-nav a:hover {
  color: var(--brand);
}

.site-actions {
  margin-right: auto;
}

.menu-toggle {
  display: none;
}

/* mobile */

@media (max-width: 768px) {
  .site-header {
    height: 60px;
  }

  .site-header__inner {
    height: 60px;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* Logo center */

  .site-brand img {
    width: auto;
    height: 28px;
  }

  /* CTA left */

  .site-actions {
    margin: 0;
  }

  .site-actions .shop-btn {
    height: 40px;

    font-size: 14px;
  }

  /* Hamburger right */

  .menu-toggle {
    display: flex;
    width: 40px;
    height: 40px;

    padding: 0;

    border: 1px solid #ddd;

    border-radius: 10px;

    background: #fff;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 5px;
  }

  .menu-toggle span {
    width: 20px;

    height: 2px;

    background: #404040;
  }

  .primary-nav {
    display: none;
  }
}
/* Drawer */

.mobile-menu {
  position: fixed;

  top: 0;

  right: 0;

  width: 355px;

  max-width: 90vw;

  height: 100vh;

  background: white;

  z-index: 1000;

  transform: translateX(100%);

  transition: 0.3s;

  display: flex;

  flex-direction: column;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-overlay {
  position: fixed;

  inset: 0;

  background: rgba(0, 0, 0, 0.55);

  z-index: 999;

  visibility: hidden;

  opacity: 0;

  transition: all 300ms;
}

.mobile-overlay.active {
  visibility: visible;
  opacity: 1;
}

.mobile-menu__header {
  height: 90px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 20px;
}

.mobile-menu__logo {
  display: flex;
  align-items: center;
}

.mobile-menu__logo img {
  width: auto;
  height: 28px;
  display: block;
}

.mobile-menu__close {
  border: 0;

  background: none;

  font-size: 38px;

  font-weight: 300;

  cursor: pointer;
}

.mobile-menu ul {
  list-style: none;

  padding: 28px 20px 20px;

  margin: 0;

  display: flex;

  flex-direction: column;

  overflow: auto;
}

.mobile-menu li a {
  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 16px 0;

  color: #404040;

  text-decoration: none;

  font-size: 16px;

  font-weight: 500;

  line-height: 20px;
}

.mobile-menu__actions {
  margin-top: auto;

  padding: 20px;

  display: flex;

  gap: 14px;
}

.mobile-menu__actions .shop-btn {
  flex: 1;

  height: 48px;

  font-size: 14px;
}
