.navigation {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  padding: 16px 24px 16px 40px;
  border-radius: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-direction: row;
  transition: background-color .4s, box-shadow .4s;
}

.navigation.scrolled {
  background-color: #2E2E2E;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 960px) {
  .navigation {
    flex-direction: row;
    padding: 14px 12px 14px 20px;
  }
}

.navigation-trigger {
  display: none;
}

@media (max-width: 960px) {
  .navigation-trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-direction: column;
    width: 24px;
    height: 24px;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 2;
  }
}

.navigation-trigger__line {
  width: 100%;
  height: 3px;
  background: var(--header-color);
  border-radius: 3px;
  transform-origin: center;
  transition: transform 0.3s ease;
}

.navigation--open .navigation-trigger__line {
  transform: rotate(45deg) translate(2px, 3px);
}

.navigation--open .navigation-trigger__line:nth-child(2) {
  transform: rotate(-45deg) translate(2px, -3px);
}

.navigation--open .navigation-trigger__line:nth-child(3) {
  transform: scale(0);
}

.navigation nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 40px;
}

@media (max-width: 960px) {
  .navigation nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    padding: 40px;
    background: rgb(var(--color-secondary));
    z-index: 1;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.navigation--open nav {
  transform: translateX(0);
}

.navigation nav a {
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--header-color);
  transition: color 0.3s ease;
  position: relative;
  display: block;
}

.navigation nav a:after {
  display: block;
  position: absolute;
  bottom: -4px;
  content: '';
  background: currentColor;
  height: 3px;
  width: 0;
  transition: width 0.3s ease;
}

.navigation nav a:hover:after {
  width: 100%;
}


.mini-cart-wrapper {
  line-height: 0;
}

.mini-cart .mini-cart-contents {
  position: relative;
  display: flex;
}

.mini-cart .mini-cart-contents svg {
  min-width: 40px;
  width: 40px;
  min-height: 40px;
  height: 40px;
  fill: currentColor;
}

.mini-cart .mini-cart-contents span {
  min-width: 24px;
  width: 24px;
  min-height: 24px;
  height: 24px;
  background: #fff;
  color: #000;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -8px;
  right: -8px;
  font-size: 12px;
  font-weight: bold;
}