.nutri-site {
  --nutri-page-container: min(calc(100% - clamp(120px, 15vw, 360px)), 1586px);
  --nutri-z-header: 1000;
  --nutri-z-overlay: 1001;
  --nutri-z-header-content: 1002;
  --nutri-z-drawer: 1020;
  --nutri-z-actions: 1030;
  --nutri-z-burger: 1031;
}

.nutri-site .nutri-header {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: var(--nutri-z-header);
  padding-top: 24px;
  padding-bottom: 24px;
  background: transparent;
}

body.is-nutri-menu-open {
  overflow: hidden;
}

.nutri-site .nutri-header::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--nutri-z-overlay);
  background: rgba(7, 18, 24, 0.54);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

body.is-nutri-menu-open .nutri-site .nutri-header::before {
  opacity: 1;
  pointer-events: auto;
}

.nutri-site .nutri-header__inner {
  width: var(--nutri-page-container);
  margin: 0 auto;
  position: relative;
  z-index: var(--nutri-z-header-content);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 28px;
}

.nutri-site .nutri-header__logo {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  text-decoration: none;
}

.nutri-site .nutri-header__logo img {
  width: 199px;
  height: auto;
  display: block;
}

.nutri-site .nutri-header__nav {
  width: 100%;
  max-width: 970px;
  min-height: 51px;
  justify-self: center;
  padding: 0 27px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

@supports ((backdrop-filter: blur(16px)) or (-webkit-backdrop-filter: blur(16px))) {
  .nutri-site .nutri-header__nav {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
}

.nutri-site .nutri-header__menu {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 1.2vw, 28px);
}

.nutri-site .nutri-header__menu li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nutri-site .nutri-header__menu a {
  color: #ffffff;
  font-family: var(--nutri-font-main);
  font-size: 17px;
  line-height: 24px;
  font-weight: 350;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0.9;
  transition: color 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.nutri-site .nutri-header__menu a:hover {
  color: #95e3c7;
  opacity: 1;
}

.nutri-site .nutri-header__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}


/* ============================= */
/* Header social icons */
/* ============================= */

.nutri-site .nutri-header__socials {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.nutri-site .nutri-header__social {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: #ffffff;
  text-decoration: none;
  transition:
    transform 0.22s ease,
    background-color 0.22s ease;
}

.nutri-site .nutri-header__social:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.09);
}

.nutri-site .nutri-header__social img {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
}

.nutri-site .nutri-header__quiz {
  height: 48px;
  min-width: 154px;
  padding: 0 6px 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(148, 228, 199, 0.9);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--nutri-font-main);
  font-size: 17px;
  line-height: 24px;
  font-weight: 350;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nutri-site .nutri-header__quiz:hover {
  background-color: rgba(148, 228, 199, 0.12);
  border-color: #95e3c7;
}

.nutri-site .nutri-header__quiz-text {
  display: block;
}

.nutri-site .nutri-header__quiz-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #6cc5a7;
}

.nutri-site .nutri-header__quiz-icon img {
  width: 16px;
  height: 16px;
  display: block;
  object-fit: contain;
}

.nutri-site .nutri-header__cart {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.nutri-site .nutri-header__cart > img {
  width: 26px;
  height: 26px;
  display: block;
  object-fit: contain;
}

.nutri-site .nutri-header__cart-count {
  position: absolute;
  top: -4px;
  right: -2px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f05d4f;
  color: #ffffff;
  font-size: 10px;
  line-height: 1;
  text-align: center;
}

.nutri-site .nutri-header__burger {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: none;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.nutri-site .nutri-header__burger span {
  width: 18px;
  height: 1.5px;
  display: block;
  margin: 0;
  background: #ffffff;
  border-radius: 999px;
  transition: transform 0.22s ease, opacity 0.22s ease;
  transform-origin: center;
}

body.is-nutri-menu-open .nutri-site .nutri-header__burger span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

body.is-nutri-menu-open .nutri-site .nutri-header__burger span:nth-child(2) {
  opacity: 0;
}

body.is-nutri-menu-open .nutri-site .nutri-header__burger span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

.nutri-site .nutri-header__menu a:focus-visible,
.nutri-site .nutri-header__social:focus-visible,
.nutri-site .nutri-header__quiz:focus-visible,
.nutri-site .nutri-header__cart:focus-visible,
.nutri-site .nutri-header__burger:focus-visible {
  outline: 2px solid rgba(148, 228, 199, 0.9);
  outline-offset: 3px;
}

@media (max-width: 1720px) {
  .nutri-site {
    --nutri-page-container: min(calc(100% - clamp(96px, 11vw, 260px)), 1360px);
  }

  .nutri-site .nutri-header__inner {
    width: var(--nutri-page-container);
    column-gap: 24px;
  }

  .nutri-site .nutri-header__logo img {
    width: 190px;
  }

  .nutri-site .nutri-header__nav {
    max-width: 810px;
    min-height: 50px;
    padding: 0 24px;
  }

  .nutri-site .nutri-header__menu {
    gap: clamp(12px, 1vw, 20px);
  }

  .nutri-site .nutri-header__menu a {
    font-size: 15px;
    line-height: 22px;
  }

  .nutri-site .nutri-header__quiz {
    height: 46px;
    min-width: 146px;
    padding: 0 6px 0 22px;
    gap: 14px;
    font-size: 16px;
    line-height: 22px;
  }

  .nutri-site .nutri-header__quiz-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .nutri-site .nutri-header__actions {
    gap: 8px;
  }

  .nutri-site .nutri-header__socials {
    gap: 7px;
  }

  .nutri-site .nutri-header__social {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .nutri-site .nutri-header__social img {
    width: 17px;
    height: 17px;
  }

  .nutri-site .nutri-header__cart {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }
}

@media (max-width: 1440px) {
  .nutri-site {
    --nutri-page-container: min(calc(100% - clamp(80px, 12vw, 220px)), 1240px);
  }

  .nutri-site .nutri-header {
    padding-top: 20px;
  }

  .nutri-site .nutri-header__inner {
    width: var(--nutri-page-container);
    column-gap: 20px;
  }

  .nutri-site .nutri-header__logo img {
    width: 170px;
  }

  .nutri-site .nutri-header__nav {
    max-width: 720px;
    min-height: 46px;
    padding: 0 22px;
  }

  .nutri-site .nutri-header__menu {
    gap: clamp(10px, 0.9vw, 16px);
  }

  .nutri-site .nutri-header__menu a {
    font-size: 14px;
    line-height: 20px;
  }

  .nutri-site .nutri-header__quiz {
    height: 44px;
    min-width: 136px;
    padding: 0 5px 0 20px;
    gap: 12px;
    font-size: 14px;
    line-height: 20px;
  }

  .nutri-site .nutri-header__quiz-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .nutri-site .nutri-header__quiz-icon img {
    width: 15px;
    height: 15px;
  }

  .nutri-site .nutri-header__actions {
    gap: 7px;
  }

  .nutri-site .nutri-header__socials {
    gap: 6px;
  }

  .nutri-site .nutri-header__social {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .nutri-site .nutri-header__social img {
    width: 15px;
    height: 15px;
  }

  .nutri-site .nutri-header__cart {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .nutri-site .nutri-header__cart > img {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 1360px) {
  .nutri-site {
    --nutri-page-container: min(calc(100% - clamp(64px, 11vw, 180px)), 1160px);
  }

  .nutri-site .nutri-header__inner {
    width: var(--nutri-page-container);
    column-gap: 16px;
  }

  .nutri-site .nutri-header__logo img {
    width: 156px;
  }

  .nutri-site .nutri-header__nav {
    max-width: 650px;
    min-height: 42px;
    padding: 0 18px;
  }

  .nutri-site .nutri-header__menu {
    gap: clamp(8px, 0.7vw, 14px);
  }

  .nutri-site .nutri-header__menu a {
    font-size: 13px;
    line-height: 20px;
  }

  .nutri-site .nutri-header__quiz {
    height: 42px;
    min-width: 128px;
    padding: 0 5px 0 18px;
    gap: 10px;
    font-size: 13px;
    line-height: 20px;
  }

  .nutri-site .nutri-header__quiz-icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .nutri-site .nutri-header__actions {
    gap: 6px;
  }

  .nutri-site .nutri-header__socials {
    gap: 5px;
  }

  .nutri-site .nutri-header__social {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    border-radius: 7px;
  }

  .nutri-site .nutri-header__social img {
    width: 14px;
    height: 14px;
  }

  .nutri-site .nutri-header__cart {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }
}

/* ============================= */
/* Mobile sticky header */
/* ============================= */

@media (max-width: 1180px) {
  .nutri-site {
    --nutri-page-container: calc(100% - 32px);
  }

  .nutri-site .nutri-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--nutri-z-header);
    width: 100%;
    padding: 0;
    background: transparent;
  }

  body.is-nutri-menu-open .nutri-site .nutri-header {
    position: fixed;
  }

  .nutri-site .nutri-header::before {
    content: none;
    display: none;
  }

  .nutri-site .nutri-header__inner {
    width: 100%;
    min-height: 122px;
    margin: 0;
    padding: 28px 36px 20px;
    position: relative;
    z-index: var(--nutri-z-actions);
    display: flex;
    align-items: center;
    gap: 24px;
    border-radius: 0;
    background: transparent;
    transition:
      width 0.25s ease,
      min-height 0.25s ease,
      margin 0.25s ease,
      padding 0.25s ease,
      border-radius 0.25s ease,
      background-color 0.25s ease;
  }

  body.is-nutri-header-scrolled:not(.is-nutri-menu-open) .nutri-site .nutri-header__inner {
    width: calc(100% - 64px);
    min-height: 96px;
    margin: 24px auto 0;
    padding: 12px 24px 12px 34px;
    border-radius: 999px;
    background: rgba(17, 18, 28, 0.78);
  }

  @supports ((backdrop-filter: blur(18px)) or (-webkit-backdrop-filter: blur(18px))) {
    body.is-nutri-header-scrolled:not(.is-nutri-menu-open) .nutri-site .nutri-header__inner {
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
    }
  }

  .nutri-site .nutri-header__logo {
    position: relative;
    z-index: var(--nutri-z-burger);
    margin-right: auto;
    display: inline-flex;
    align-items: center;
  }

  .nutri-site .nutri-header__logo img {
    width: 205px;
    height: auto;
    display: block;
    transition: width 0.25s ease;
  }

  body.is-nutri-header-scrolled:not(.is-nutri-menu-open) .nutri-site .nutri-header__logo img {
    width: 190px;
  }

  .nutri-site .nutri-header__actions {
    position: relative;
    z-index: var(--nutri-z-actions);
    display: flex;
    align-items: center;
    gap: 22px;
  }

  .nutri-site .nutri-header__socials {
    display: none;
  }

  .nutri-site .nutri-header__quiz {
    display: none;
  }

  body.is-nutri-header-scrolled:not(.is-nutri-menu-open) .nutri-site .nutri-header__quiz {
    height: 64px;
    min-width: 172px;
    padding: 0 8px 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 1px solid rgba(108, 197, 167, 0.95);
    border-radius: 999px;
    background: rgba(10, 31, 35, 0.22);
    color: #ffffff;
    font-family: var(--nutri-font-main);
    font-size: 17px;
    line-height: 24px;
    font-weight: 350;
    text-decoration: none;
    white-space: nowrap;
  }

  body.is-nutri-header-scrolled:not(.is-nutri-menu-open) .nutri-site .nutri-header__quiz-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    background: #6cc5a7;
  }

  body.is-nutri-header-scrolled:not(.is-nutri-menu-open) .nutri-site .nutri-header__quiz-icon img {
    width: 18px;
    height: 18px;
  }

  .nutri-site .nutri-header__cart {
    width: 80px;
    height: 80px;
    flex: 0 0 80px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    background: rgba(11, 27, 28, 0.42);
    color: #ffffff;
    transition:
      width 0.25s ease,
      height 0.25s ease,
      flex-basis 0.25s ease,
      background-color 0.25s ease,
      opacity 0.2s ease,
      visibility 0.2s ease,
      transform 0.2s ease;
  }

  body.is-nutri-header-scrolled:not(.is-nutri-menu-open) .nutri-site .nutri-header__cart {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
    background: rgba(11, 27, 28, 0.34);
  }

  .nutri-site .nutri-header__cart > img {
    width: 34px;
    height: 34px;
    transition:
      width 0.25s ease,
      height 0.25s ease;
  }

  body.is-nutri-header-scrolled:not(.is-nutri-menu-open) .nutri-site .nutri-header__cart > img {
    width: 30px;
    height: 30px;
  }

  .nutri-site .nutri-header__cart-count {
    top: 0;
    right: -3px;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    background: #f05d4f;
    color: #ffffff;
    font-size: 17px;
    line-height: 1;
    transition:
      top 0.25s ease,
      right 0.25s ease,
      min-width 0.25s ease,
      height 0.25s ease,
      font-size 0.25s ease;
  }

  body.is-nutri-header-scrolled:not(.is-nutri-menu-open) .nutri-site .nutri-header__cart-count {
    top: -4px;
    right: -4px;
    min-width: 28px;
    height: 28px;
    font-size: 14px;
  }

  body.is-nutri-menu-open .nutri-site .nutri-header__cart {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(0.86);
  }

  .nutri-site .nutri-header__burger {
    width: 80px;
    height: 80px;
    flex: 0 0 80px;
    position: relative;
    z-index: var(--nutri-z-burger);
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    gap: 7px;
    transition:
      width 0.25s ease,
      height 0.25s ease,
      flex-basis 0.25s ease,
      background-color 0.25s ease;
  }

  body.is-nutri-header-scrolled:not(.is-nutri-menu-open) .nutri-site .nutri-header__burger {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }

  .nutri-site .nutri-header__burger span {
    width: 26px;
    height: 2px;
    background: #ffffff;
  }

  body.is-nutri-header-scrolled:not(.is-nutri-menu-open) .nutri-site .nutri-header__burger span {
    width: 24px;
  }

  body.is-nutri-menu-open .nutri-site .nutri-header__burger {
    border-color: rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.055);
  }

  body.is-nutri-menu-open .nutri-site .nutri-header__burger span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  body.is-nutri-menu-open .nutri-site .nutri-header__burger span:nth-child(2) {
    opacity: 0;
  }

  body.is-nutri-menu-open .nutri-site .nutri-header__burger span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .nutri-site .nutri-header__nav {
    position: fixed;
    inset: 0;
    z-index: var(--nutri-z-drawer);
    width: 100%;
    max-width: none;
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    padding: 0;
    display: block;
    border: 0;
    border-radius: 0;
    background:
      radial-gradient(circle at 100% 0%, rgba(93, 185, 155, 0.28), rgba(93, 185, 155, 0) 34%),
      radial-gradient(circle at 74% 88%, rgba(93, 185, 155, 0.28), rgba(93, 185, 155, 0) 31%),
      linear-gradient(180deg, #173d37 0%, #0e1d24 44%, #10262b 100%);
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    transition:
      opacity 0.24s ease,
      visibility 0s linear 0.24s;
    overflow: hidden;
    isolation: isolate;
  }

  .nutri-site .nutri-header__nav::before,
  .nutri-site .nutri-header__nav::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    border-radius: 999px;
    filter: blur(40px);
  }

  .nutri-site .nutri-header__nav::before {
    width: 260px;
    height: 210px;
    right: -115px;
    top: -56px;
    background: rgba(117, 214, 181, 0.22);
  }

  .nutri-site .nutri-header__nav::after {
    width: 300px;
    height: 180px;
    right: -88px;
    bottom: 18px;
    background: rgba(117, 214, 181, 0.18);
    transform: rotate(-28deg);
  }

  @supports ((backdrop-filter: blur(18px)) or (-webkit-backdrop-filter: blur(18px))) {
    .nutri-site .nutri-header__nav {
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
    }
  }

  body.is-nutri-menu-open .nutri-site .nutri-header__nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
      opacity 0.24s ease,
      visibility 0s linear 0s;
  }

  .nutri-site .nutri-header__menu {
    width: max-content;
    max-width: calc(100% - 48px);
    position: absolute;
    left: 50%;
    top: clamp(96px, 17vh, 150px);
    margin: 0;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(12px, 1.8vh, 18px);
    transform: translateX(-50%);
  }

  .nutri-site .nutri-header__menu li {
    width: auto;
  }

  .nutri-site .nutri-header__menu a {
    width: auto;
    min-height: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: transparent;
    color: #ffffff;
    font-family: var(--nutri-font-main);
    font-size: 17px;
    line-height: 24px;
    font-weight: 350;
    text-align: center;
    opacity: 1;
    white-space: nowrap;
  }

  .nutri-site .nutri-header__menu a:hover {
    color: #95e3c7;
    background: transparent;
  }

  body.is-nutri-menu-open .nutri-site .nutri-header__quiz {
    position: fixed;
    left: 50%;
    bottom: clamp(132px, 19vh, 176px);
    z-index: var(--nutri-z-actions);
    transform: translateX(-50%);
    height: 56px;
    min-width: 180px;
    padding: 0 8px 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 1px solid rgba(108, 197, 167, 0.95);
    border-radius: 999px;
    background: rgba(10, 31, 35, 0.22);
    color: #ffffff;
    font-family: var(--nutri-font-main);
    font-size: 17px;
    line-height: 24px;
    font-weight: 350;
    text-decoration: none;
    white-space: nowrap;
  }

  body.is-nutri-menu-open .nutri-site .nutri-header__quiz-icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    background: #6cc5a7;
  }

  body.is-nutri-menu-open .nutri-site .nutri-header__quiz-icon img {
    width: 15px;
    height: 15px;
  }
}

@media (max-width: 768px) {
  .nutri-site {
    --nutri-page-container: calc(100% - 28px);
  }

  .nutri-site .nutri-header__inner {
    min-height: 112px;
    padding: 0px 15px ;
    gap: 16px;
  }

  body.is-nutri-header-scrolled:not(.is-nutri-menu-open) .nutri-site .nutri-header__inner {
    width: calc(100% - 44px);
    min-height: 68px;
    margin: 5px auto 0;
    padding: 7px 14px 7px 17px;
    gap: 8px;
  }

  .nutri-site .nutri-header__logo img {
    width: 196px;
  }

  body.is-nutri-header-scrolled:not(.is-nutri-menu-open) .nutri-site .nutri-header__logo img {
    width: 146px;
  }

  .nutri-site .nutri-header__cart,
  .nutri-site .nutri-header__burger {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }

  body.is-nutri-header-scrolled:not(.is-nutri-menu-open) .nutri-site .nutri-header__cart,
  body.is-nutri-header-scrolled:not(.is-nutri-menu-open) .nutri-site .nutri-header__burger {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .nutri-site .nutri-header__cart > img {
    width: 31px;
    height: 31px;
  }

  body.is-nutri-header-scrolled:not(.is-nutri-menu-open) .nutri-site .nutri-header__cart > img {
    width: 24px;
    height: 24px;
  }

  .nutri-site .nutri-header__burger {
    gap: 6px;
  }

  .nutri-site .nutri-header__burger span {
    width: 24px;
    height: 2px;
  }

  body.is-nutri-header-scrolled:not(.is-nutri-menu-open) .nutri-site .nutri-header__burger span {
    width: 18px;
  }

  .nutri-site .nutri-header__cart-count {
    top: -2px;
    right: -4px;
    min-width: 32px;
    height: 32px;
    font-size: 16px;
  }

  body.is-nutri-header-scrolled:not(.is-nutri-menu-open) .nutri-site .nutri-header__cart-count {
    top: -5px;
    right: -5px;
    min-width: 24px;
    height: 24px;
    font-size: 12px;
  }

  body.is-nutri-header-scrolled:not(.is-nutri-menu-open) .nutri-site .nutri-header__quiz {
    height: 46px;
    min-width: 100px;
    padding: 0 5px 0 11px;
    gap: 6px;
    font-size: 15px;
    line-height: 24px;
  }

  body.is-nutri-header-scrolled:not(.is-nutri-menu-open) .nutri-site .nutri-header__quiz-icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  body.is-nutri-header-scrolled:not(.is-nutri-menu-open) .nutri-site .nutri-header__quiz-icon img {
    width: 15px;
    height: 15px;
  }

  .nutri-site .nutri-header__menu {
    top: clamp(96px, 17vh, 150px);
    gap: clamp(12px, 1.8vh, 18px);
  }

  .nutri-site .nutri-header__menu a {
    font-size: 17px;
    line-height: 24px;
  }

  body.is-nutri-menu-open .nutri-site .nutri-header__quiz {
    bottom: 128px;
  }
}

@media (max-width: 380px) {
  .nutri-site .nutri-header__inner {
    min-height: 104px;
    padding: 22px 22px 16px;
    gap: 12px;
  }

  body.is-nutri-header-scrolled:not(.is-nutri-menu-open) .nutri-site .nutri-header__inner {
    width: calc(100% - 36px);
    min-height: 64px;
    margin-top: 5px;
    padding: 7px 12px;
    gap: 6px;
  }

  .nutri-site .nutri-header__logo img {
    width: 172px;
  }

  body.is-nutri-header-scrolled:not(.is-nutri-menu-open) .nutri-site .nutri-header__logo img {
    width: 128px;
  }

  .nutri-site .nutri-header__cart,
  .nutri-site .nutri-header__burger {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }

  body.is-nutri-header-scrolled:not(.is-nutri-menu-open) .nutri-site .nutri-header__cart,
  body.is-nutri-header-scrolled:not(.is-nutri-menu-open) .nutri-site .nutri-header__burger {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .nutri-site .nutri-header__cart > img {
    width: 27px;
    height: 27px;
  }

  body.is-nutri-header-scrolled:not(.is-nutri-menu-open) .nutri-site .nutri-header__cart > img {
    width: 21px;
    height: 21px;
  }

  .nutri-site .nutri-header__burger span {
    width: 22px;
  }

  body.is-nutri-header-scrolled:not(.is-nutri-menu-open) .nutri-site .nutri-header__burger span {
    width: 17px;
  }

  .nutri-site .nutri-header__cart-count {
    min-width: 28px;
    height: 28px;
    font-size: 14px;
  }

  body.is-nutri-header-scrolled:not(.is-nutri-menu-open) .nutri-site .nutri-header__cart-count {
    min-width: 22px;
    height: 22px;
    font-size: 11px;
  }

  body.is-nutri-header-scrolled:not(.is-nutri-menu-open) .nutri-site .nutri-header__quiz {
    min-width: 94px;
    height: 44px;
    padding: 0 4px 0 10px;
    gap: 5px;
    font-size: 14px;
  }

  body.is-nutri-header-scrolled:not(.is-nutri-menu-open) .nutri-site .nutri-header__quiz-icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .nutri-site .nutri-header__menu {
    top: 96px;
    gap: 12px;
  }

  .nutri-site .nutri-header__menu a {
    font-size: 17px;
    line-height: 24px;
  }

  body.is-nutri-menu-open .nutri-site .nutri-header__quiz {
    bottom: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nutri-site .nutri-header__nav,
  .nutri-site .nutri-header__nav::before,
  .nutri-site .nutri-header__nav::after,
  .nutri-site .nutri-header__menu a,
  .nutri-site .nutri-header__social,
  .nutri-site .nutri-header__cart,
  .nutri-site .nutri-header__burger span,
  .nutri-site .nutri-header__inner,
  .nutri-site .nutri-header__logo img,
  .nutri-site .nutri-header__quiz,
  .nutri-site .nutri-header__cart-count {
    transition: none;
  }
}

/* ============================= */
/* Header background variants */
/* Selected per page in WordPress */
/* ============================= */

/*
 * The header itself stays transparent.
 * The green backing belongs to the page and scrolls away with the document,
 * so the mobile fixed/sticky header is never trapped inside a green block.
 */
.nutri-site .nutri-header--transparent,
.nutri-site .nutri-header--green {
  background-color: transparent;
}

body.nutri-header-green-page .nutri-site {
  position: relative;
  padding-top: 99px;
}

body.nutri-header-green-page .nutri-site::after {
  content: "";
  width: 100%;
  height: 99px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  background: #214a40;
  pointer-events: none;
}

body.nutri-header-green-page .nutri-site .nutri-header {
  position: absolute;
  z-index: var(--nutri-z-header);
}

body.nutri-header-green-page .nutri-site .nutri-header__inner {
  position: relative;
  z-index: var(--nutri-z-header-content);
}

@media (max-width: 1440px) {
  body.nutri-header-green-page .nutri-site {
    padding-top: 86px;
  }

  body.nutri-header-green-page .nutri-site::after {
    height: 86px;
  }
}

@media (max-width: 1180px) {
  body.nutri-header-green-page .nutri-site {
    padding-top: 122px;
  }

  body.nutri-header-green-page .nutri-site::after {
    height: 122px;
  }

  /*
   * Before scroll the header is part of the page top and scrolls away.
   * Only after the scroll class is added does it become the floating fixed header.
   */
  body.nutri-header-green-page:not(.is-nutri-header-scrolled)
    .nutri-site
    .nutri-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
  }

  body.is-nutri-header-scrolled.nutri-header-green-page
    .nutri-site
    .nutri-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
  }
}

@media (max-width: 768px) {
  body.nutri-header-green-page .nutri-site {
    padding-top: 112px;
  }

  body.nutri-header-green-page .nutri-site::after {
    height: 112px;
  }
}

@media (max-width: 380px) {
  body.nutri-header-green-page .nutri-site {
    padding-top: 104px;
  }

  body.nutri-header-green-page .nutri-site::after {
    height: 104px;
  }
}





/* ============================= */
/* Language switcher */
/* ============================= */

.nutri-site .nutri-header__lang-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nutri-site .nutri-header__lang {
  height: 36px;
  min-width: 61px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-family: var(--nutri-font-text);
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  letter-spacing: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.nutri-site .nutri-header__lang-text {
  display: block;
}

.nutri-site .nutri-header__lang-arrow {
  width: 6px;
  height: 6px;
  display: block;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.75;
  transition: transform 0.2s ease;
}

.nutri-site .nutri-header__lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 20;
  min-width: 61px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

@supports (
  (backdrop-filter: blur(16px)) or
  (-webkit-backdrop-filter: blur(16px))
) {
  .nutri-site .nutri-header__lang-menu {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
}

.nutri-site
  .nutri-header__lang-wrap.is-lang-open
  .nutri-header__lang-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nutri-site
  .nutri-header__lang-wrap.is-lang-open
  .nutri-header__lang-arrow {
  transform: rotate(225deg) translate(-2px, -1px);
}

.nutri-site .nutri-header__lang-menu li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nutri-site .nutri-header__lang-menu a {
  min-height: 32px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  font-family: var(--nutri-font-text);
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.nutri-site .nutri-header__lang-menu a:hover {
  background: rgba(148, 228, 199, 0.13);
  color: #95e3c7;
}

.nutri-site .nutri-header__lang:focus-visible,
.nutri-site .nutri-header__lang-menu a:focus-visible {
  outline: 2px solid rgba(148, 228, 199, 0.9);
  outline-offset: 3px;
}

/* ============================= */
/* Responsive */
/* ============================= */

@media (max-width: 1440px) {
  .nutri-site .nutri-header__lang {
    height: 34px;
    min-width: 54px;
    padding: 0 10px;
    font-size: 13px;
    line-height: 20px;
  }
}

@media (max-width: 1180px) {
  .nutri-site .nutri-header__lang-wrap {
    display: none;
  }

  body.is-nutri-menu-open
    .nutri-site
    .nutri-header__lang-wrap {
    position: fixed;
    left: 50%;
    bottom: clamp(74px, 11vh, 104px);
    z-index: var(--nutri-z-actions);
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  body.is-nutri-menu-open
    .nutri-site
    .nutri-header__lang {
    height: 28px;
    width: 46px;
    min-width: 46px;
    flex: 0 0 46px;
    padding: 0 13px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.57);
    border-radius: 999px;
    background: rgb(255 255 255 / 5%);
    color: hwb(0deg 100% 0% / 70%);
    font-family: var(--nutri-font-text);
    font-size: 14px;
    line-height: 1;
    font-weight: 400;
    pointer-events: none;
  }

  body.is-nutri-menu-open
    .nutri-site
    .nutri-header__lang-arrow {
    display: none;
  }

  body.is-nutri-menu-open
    .nutri-site
    .nutri-header__lang-menu {
    position: static;
    min-width: auto;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  body.is-nutri-menu-open
    .nutri-site
    .nutri-header__lang-menu a {
    min-height: 28px;
    width: 46px;
    min-width: 46px;
    flex: 0 0 46px;
    padding: 0 13px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: hwb(0deg 100% 0% / 70%);
    font-family: var(--nutri-font-text);
    font-size: 14px;
    line-height: 1;
    font-weight: 400;
  }
}

@media (max-width: 768px) {
  body.is-nutri-menu-open
    .nutri-site
    .nutri-header__lang-wrap {
    bottom: 72px;
  }
}

@media (max-width: 380px) {
  body.is-nutri-menu-open
    .nutri-site
    .nutri-header__lang-wrap {
    bottom: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nutri-site .nutri-header__lang-menu,
  .nutri-site .nutri-header__lang-arrow {
    transition: none;
  }
}






/* ============================= */
/* Desktop sticky header */
/* ============================= */

@media (min-width: 1181px) {
  /*
   * На десктопі обидва варіанти хедера
   * залишаються зверху під час прокручування.
   */
  .nutri-site .nutri-header,
  body.nutri-header-green-page
    .nutri-site
    .nutri-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    width: 100%;
    z-index: var(--nutri-z-header);

    transition:
      background-color 0.25s ease,
      box-shadow 0.25s ease,
      backdrop-filter 0.25s ease;
  }

  
  body:not(.is-nutri-header-scrolled)
    .nutri-site
    .nutri-header--transparent {
    background: transparent;
    box-shadow: none;
  }

  body.is-nutri-header-scrolled:not(.nutri-header-green-page)
    .nutri-site
    .nutri-header {
    background: rgba(17, 18, 28, 0.92);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }


  body.nutri-header-green-page:not(.is-nutri-header-scrolled)
    .nutri-site
    .nutri-header {
    background: transparent;
    box-shadow: none;
  }

  body.nutri-header-green-page.is-nutri-header-scrolled
    .nutri-site
    .nutri-header {
    background: rgba(33, 74, 64, 0.96);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
}
