/* =========================================================
   Nutrilogy cookie popup
   Compact non-blocking version
   ========================================================= */

.nutri-cookie,
.nutri-cookie * {
  box-sizing: border-box;
  font-family: "Kyiv*Type Sans", Arial, sans-serif;
}

.nutri-cookie[hidden],
.nutri-cookie [hidden] {
  display: none;
}

.nutri-cookie {
  position: fixed;
  inset: 0;
  z-index: 999999;

  display: flex;
  align-items: flex-end;
  justify-content: flex-end;

  padding: 24px;

  pointer-events: none;
}

.nutri-cookie__backdrop,
.nutri-cookie-reopen {
  display: none;
}

/* =========================================================
   Panel
   ========================================================= */

.nutri-cookie__panel {
  width: min(420px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);

  position: relative;
  overflow-y: auto;

  padding: 58px 34px 34px;

  border: 1px solid rgba(108, 197, 167, 0.18);
  border-radius: 28px;

  background: rgba(9, 68, 62, 0.82);
  color: #ffffff;

  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);

  pointer-events: auto;
}

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

/* =========================================================
   Close button
   ========================================================= */

.nutri-cookie__close {
  width: 34px;
  height: 34px;

  position: absolute;
  top: 18px;
  right: 18px;

  margin: 0;
  padding: 0;

  border: 0;
  background: transparent;

  cursor: pointer;
}

.nutri-cookie__close span {
  width: 22px;
  height: 1px;

  position: absolute;
  top: 16px;
  left: 6px;

  display: block;

  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.nutri-cookie__close span:first-child {
  transform: rotate(45deg);
}

.nutri-cookie__close span:last-child {
  transform: rotate(-45deg);
}

.nutri-cookie__close:hover span {
  background: #ffffff;
}

.nutri-cookie__close:focus-visible {
  outline: 2px solid #f4ee4c;
  outline-offset: 3px;
  border-radius: 50%;
}

/* =========================================================
   Main text
   ========================================================= */

.nutri-cookie .nutri-cookie__panel [data-cookie-main] {
  width: 100%;
  text-align: center;
}

.nutri-cookie
  .nutri-cookie__panel
  [data-cookie-main]
  > p {
  width: 100%;
  max-width: 320px;

  margin: 0 auto;
  padding: 0;

  display: block;

  color: rgba(255, 255, 255, 0.92);

  font-size: 15px;
  line-height: 1.3;
  font-weight: 300;
  text-align: center;
}

.nutri-cookie
  .nutri-cookie__panel
  [data-cookie-main]
  > p
  + p {
  margin-top: 20px;
}

/* =========================================================
   Actions
   ========================================================= */

.nutri-cookie
  .nutri-cookie__panel
  .nutri-cookie__actions {
  width: 100%;

  margin-top: 28px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 12px;
}

.nutri-cookie
  .nutri-cookie__panel
  .nutri-cookie__actions
  > .nutri-cookie__button {
  width: 168px;
  min-width: 168px;
  max-width: 168px;
  min-height: 44px;

  margin: 0;
  padding: 0 18px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 auto;

  border-radius: 999px;

  font-size: 16px;
  line-height: 1;
  font-weight: 350;
  text-align: center;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.nutri-cookie
  .nutri-cookie__panel
  .nutri-cookie__actions
  > .nutri-cookie__button:hover {
  transform: translateY(-1px);
}

/* =========================================================
   Accept button
   ========================================================= */

.nutri-cookie__button--accept {
  border: 1px solid #f4ee4c;
  background: #f4ee4c;
  color: #0f1018;
}

.nutri-cookie__button--accept:hover {
  border-color: #ffffff66;
  background: #fff95d;
}

/* =========================================================
   Decline button
   ========================================================= */

.nutri-cookie__button--decline {
  border: 1px solid rgba(255, 255, 255, 0.86);
  background: transparent;
  color: #ffffff;
}

.nutri-cookie__button--decline:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

/* =========================================================
   Focus
   ========================================================= */

.nutri-cookie__button:focus-visible {
  outline: 2px solid #f4ee4c;
  outline-offset: 3px;
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 600px) {
  .nutri-cookie {
    padding: 12px;
  }

  .nutri-cookie__panel {
    width: min(100%, 400px);
    max-height: calc(100vh - 24px);

    padding: 54px 24px 28px;

    border-radius: 24px;
  }

  .nutri-cookie
    .nutri-cookie__panel
    [data-cookie-main]
    > p {
    max-width: 300px;

    font-size: 14px;
  }

  .nutri-cookie
    .nutri-cookie__panel
    .nutri-cookie__actions
    > .nutri-cookie__button {
    width: 168px;
    min-width: 168px;
    max-width: 168px;
  }
}

/* =========================================================
   Reduced motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .nutri-cookie__button,
  .nutri-cookie__close span {
    transition: none;
  }
}