html.has-nv-cookie-banner {
  --nv-cookie-banner-reserved-space: clamp(184px, 21vw, 248px);
  --nv-cookie-banner-tab-bar: 0px;
  scroll-padding-bottom: var(--nv-cookie-banner-reserved-space);
}

html.has-nv-cookie-banner body {
  padding-bottom: calc(var(--nv-cookie-banner-reserved-space) + var(--nv-cookie-banner-tab-bar) + env(safe-area-inset-bottom, 0px));
}

.nv-cookie-banner {
  --nv-cookie-banner-bottom-offset: 24px;
  position: fixed;
  right: 0;
  bottom: calc(var(--nv-cookie-banner-bottom-offset) + env(safe-area-inset-bottom, 0px));
  left: 0;
  z-index: 1300;
  padding: 0 18px;
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.nv-cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nv-cookie-banner.is-hidden {
  opacity: 0;
  transform: translateY(38px);
}

.nv-cookie-banner__shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr) auto;
  grid-template-areas: "visual content actions";
  align-items: center;
  gap: 24px;
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 20px 22px;
  border: 1px solid rgba(122, 85, 34, 0.18);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(246, 90, 3, 0.18), transparent 28%),
    radial-gradient(circle at bottom left, rgba(0, 0, 0, 0.06), transparent 38%),
    linear-gradient(135deg, rgba(255, 249, 245, 0.98), rgba(246, 227, 217, 0.96));
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  pointer-events: auto;
  isolation: isolate;
}

.nv-cookie-banner__shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.55), transparent 18%),
    radial-gradient(circle at 78% 24%, rgba(246, 90, 3, 0.08), transparent 16%),
    radial-gradient(circle at 35% 88%, rgba(48, 65, 89, 0.06), transparent 18%);
  pointer-events: none;
}

.nv-cookie-banner__visual {
  grid-area: visual;
}

.nv-cookie-banner__content {
  grid-area: content;
}

.nv-cookie-banner__actions {
  grid-area: actions;
}

.nv-cookie-banner__visual,
.nv-cookie-banner__content,
.nv-cookie-banner__actions {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.nv-cookie-banner__visual {
  position: relative;
  min-height: 178px;
  border-radius: 24px;
  background: linear-gradient(180deg, #0d1d38 0%, #1a2f4f 42%, #f6e3d9 100%);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 18px 34px rgba(13, 29, 56, 0.18);
}

.nv-cookie-banner__visual::before,
.nv-cookie-banner__visual::after,
.nv-cookie-banner__scene {
  position: absolute;
}

.nv-cookie-banner__visual::before {
  content: "";
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 33, 54, 0.34) 0%, rgba(18, 33, 54, 0.08) 36%, rgba(18, 33, 54, 0) 66%),
    linear-gradient(180deg, rgba(255, 232, 183, 0.18) 0%, rgba(255, 232, 183, 0) 28%, rgba(28, 22, 12, 0.16) 100%);
  z-index: 1;
  pointer-events: none;
}

.nv-cookie-banner__visual::after {
  content: "";
  inset: auto 14px 12px 14px;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 202, 112, 0.46) 0%, rgba(255, 202, 112, 0.08) 58%, transparent 74%);
  filter: blur(8px);
  z-index: 1;
  pointer-events: none;
}

.nv-cookie-banner__scene {
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.nv-cookie-banner__art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.03);
  transform-origin: center center;
  filter: saturate(1.05) contrast(1.03);
  transition: transform 0.6s ease;
}

.nv-cookie-banner__scene.has-animated-image .nv-cookie-banner__art {
  animation: nv-cookie-banner-image 16s ease-in-out infinite;
}

.nv-cookie-banner__scene.is-animated-ready .nv-cookie-banner__art {
  transform: scale(1.05);
}

.nv-cookie-banner__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(246, 90, 3, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--navira-blue);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nv-cookie-banner__eyebrow-text {
  display: inline-block;
  line-height: 1;
}

.nv-cookie-banner__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navira-orange), var(--navira-orange-dark));
  color: #fff;
  box-shadow: 0 12px 24px rgba(246, 90, 3, 0.24);
  flex: 0 0 auto;
}

.nv-cookie-banner__title {
  margin: 14px 0 10px;
  font-size: 1.25rem;
  line-height: 1.08;
  color: var(--navira-blue);
}

.nv-cookie-banner__text {
  max-width: 700px;
  margin: 0;
  color: var(--navira-blue-soft);
  font-size: 1rem;
  line-height: 1.52;
}

.nv-cookie-banner__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: var(--navira-blue);
  font-size: 1rem;
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nv-cookie-banner__more::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.nv-cookie-banner__more:hover {
  color: var(--navira-orange);
  transform: translateX(2px);
}

.nv-cookie-banner__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  z-index: 3;
}

.nv-cookie-banner__accept {
  position: relative;
  z-index: 4;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  min-width: 170px;
  min-height: 58px;
  padding: 16px 28px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--navira-orange), var(--navira-orange-dark));
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 18px 36px rgba(246, 90, 3, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.nv-cookie-banner__accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(246, 90, 3, 0.34);
  color: var(--navira-orange);
  border-color: var(--navira-orange);
  background: var(--navira-white);
  filter: saturate(1.05);
}

.nv-cookie-banner__accept:focus-visible,
.nv-cookie-banner__more:focus-visible {
  outline: 3px solid rgba(246, 90, 3, 0.24);
  outline-offset: 4px;
}

@keyframes nv-cookie-banner-image {
  0%,
  100% {
    transform: scale(1.04) translate3d(0, 0, 0);
  }

  50% {
    transform: scale(1.08) translate3d(-8px, -3px, 0);
  }
}

@media (max-width: 991px) {
  html.has-nv-cookie-banner {
    --nv-cookie-banner-reserved-space: 340px;
  }

  .nv-cookie-banner {
    --nv-cookie-banner-bottom-offset: 16px;
    padding: 0 12px;
  }

  .nv-cookie-banner__shell {
    grid-template-columns: 1fr;
    grid-template-areas:
      "visual"
      "content"
      "actions";
    gap: 16px;
    padding: 16px;
    border-radius: 26px;
  }

  .nv-cookie-banner__visual {
    min-height: 148px;
  }

  .nv-cookie-banner__actions {
    justify-content: stretch;
  }

  .nv-cookie-banner__accept {
    width: 100%;
    min-height: 56px;
  }
}

@media (max-width: 760px) {
  html.has-nv-cookie-banner {
    --nv-cookie-banner-reserved-space: 220px;
    --nv-cookie-banner-tab-bar: var(--navira-mobile-tab-bar-height, calc(82px + env(safe-area-inset-bottom, 0px)));
  }

  .nv-cookie-banner {
    --nv-cookie-banner-bottom-offset: calc(var(--nv-cookie-banner-tab-bar) + 10px);
    padding: 0 10px;
  }

  .nv-cookie-banner__shell {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "content actions";
    gap: 12px;
    max-height: min(72dvh, calc(100dvh - var(--nv-cookie-banner-tab-bar) - 24px));
    padding: 14px;
    border-radius: 22px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .nv-cookie-banner__visual {
    display: none;
  }

  .nv-cookie-banner__content {
    display: grid;
    gap: 6px;
  }

  .nv-cookie-banner__eyebrow {
    width: auto;
    justify-content: flex-start;
    gap: 8px;
    padding: 7px 10px;
    font-size: 0.78rem;
  }

  .nv-cookie-banner__icon {
    width: 28px;
    height: 28px;
  }

  .nv-cookie-banner__title {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.15;
  }

  .nv-cookie-banner__text {
    font-size: 0.84rem;
    line-height: 1.38;
  }

  .nv-cookie-banner__more {
    margin-top: 2px;
    font-size: 0.84rem;
  }

  .nv-cookie-banner__actions {
    align-self: center;
    justify-content: flex-end;
  }

  .nv-cookie-banner__accept {
    width: auto;
    min-width: 118px;
    min-height: 56px;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  html.has-nv-cookie-banner {
    --nv-cookie-banner-reserved-space: 196px;
  }

  .nv-cookie-banner {
    --nv-cookie-banner-bottom-offset: calc(var(--nv-cookie-banner-tab-bar) + 8px);
    padding: 0 8px;
  }

  .nv-cookie-banner__shell {
    gap: 10px;
    padding: 12px;
    border-radius: 20px;
  }

  .nv-cookie-banner__eyebrow {
    font-size: 0.74rem;
    padding: 6px 9px;
  }

  .nv-cookie-banner__icon {
    width: 24px;
    height: 24px;
    font-size: 0.72rem;
  }

  .nv-cookie-banner__title {
    font-size: 0.92rem;
  }

  .nv-cookie-banner__text {
    font-size: 0.8rem;
    line-height: 1.34;
  }

  .nv-cookie-banner__more {
    font-size: 0.8rem;
  }

  .nv-cookie-banner__accept {
    min-width: 108px;
    min-height: 52px;
    padding: 11px 14px;
    font-size: 0.9rem;
  }
}

@media (max-width: 360px) {
  html.has-nv-cookie-banner {
    --nv-cookie-banner-reserved-space: 228px;
  }

  .nv-cookie-banner__shell {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "actions";
  }

  .nv-cookie-banner__actions {
    align-self: stretch;
  }

  .nv-cookie-banner__accept {
    width: 100%;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nv-cookie-banner,
  .nv-cookie-banner__art,
  .nv-cookie-banner__more,
  .nv-cookie-banner__accept {
    animation: none !important;
    transition: none !important;
  }
}
