.cookie-background {
  align-items: center;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background: rgba(17, 17, 17, .58);
  display: flex;
  font-family: Manrope, sans-serif;
  inset: 0;
  justify-content: center;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 24px;
  position: fixed;
  z-index: 1200;
}

.cookie-background .cookie-popup-wrapper {
  left: auto;
  max-width: 780px;
  position: relative !important;
  top: auto;
  transform: none;
  width: 100%;
}

.cookie-background .cookie-popup {
  background-color: #fff;
  border: 1px solid rgba(17, 17, 17, .08);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(17, 17, 17, .28);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 0;
  position: relative;
}

.cookie-background .cookie-popup::before {
  background: linear-gradient(90deg, #4ebfc4 0 50%, #eaf261 50% 100%);
  content: '';
  display: block;
  height: 8px;
  width: 100%;
}

.cookie-background .cookie-popup .cookie-popup-content {
  padding: clamp(28px, 5vw, 48px) !important;
}

.cookie-background .cookie-popup h2 {
  color: #111;
  font-family: Nunito, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.45rem);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.05;
  margin-bottom: 1.5rem !important;
  max-width: 17ch;
}

.cookie-background .cookie-popup h3 {
  align-items: center;
  color: #111;
  display: flex;
  font-family: Nunito, sans-serif;
  font-size: .95rem;
  font-weight: 900;
  gap: .55rem;
  margin-bottom: .75rem;
}

.cookie-background .cookie-popup h3::before {
  background: #eaf261;
  border-radius: 50%;
  content: '';
  flex: 0 0 10px;
  height: 10px;
}

.cookie-background .cookie-popup .js-allow-specific {
  display: none;
}

.cookie-background .cookie-popup .cookie-popup-content p,
.cookie-background .cookie-popup .cookie-popup-content label {
  color: #596360;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.65;
}

.cookie-background .cookie-popup .cookie-popup-content p {
  margin-bottom: .85rem;
}

.cookie-background .cookie-popup .cookie-popup-content a {
  color: #087f87;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.cookie-background .cookie-popup .cookie-popup-content a:hover,
.cookie-background .cookie-popup .cookie-popup-content a:focus {
  color: #111;
}

.cookie-background .cookie-popup .buttons {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.5rem !important;
}

.cookie-background .cookie-popup .buttons .btn {
  align-items: center;
  border: 2px solid transparent !important;
  border-radius: 999px !important;
  cursor: pointer;
  display: inline-flex;
  font-family: Manrope, sans-serif;
  font-size: .78rem;
  font-weight: 800;
  justify-content: center;
  letter-spacing: .01em;
  line-height: 1.2;
  min-height: 48px;
  padding: .8rem 1.15rem !important;
  text-decoration: none;
  text-transform: none !important;
  transition: box-shadow .2s ease, transform .2s ease, background-color .2s ease;
}

.cookie-background .cookie-popup .buttons .btn:hover,
.cookie-background .cookie-popup .buttons .btn:focus-visible {
  box-shadow: 0 8px 22px rgba(17, 17, 17, .14);
  transform: translateY(-2px);
}

.cookie-background .cookie-popup .buttons .js-allow-all,
.cookie-background .cookie-popup .buttons .js-allow-specific {
  background: #eaf261 !important;
  color: #111 !important;
  order: 1;
}

.cookie-background .cookie-popup .buttons .js-allow-extra {
  background: #111 !important;
  color: #fff !important;
  order: 2;
}

.cookie-background .cookie-popup .buttons .js-allow-minimal {
  background: #fff !important;
  border-color: rgba(17, 17, 17, .15) !important;
  color: #111 !important;
  order: 3;
}

.cookie-background .cookie-popup .js-extra-cookies .checkbox {
  align-items: center;
  background: #f6f7f9;
  border: 1px solid rgba(17, 17, 17, .07);
  border-radius: 16px;
  margin-left: 0;
  margin-right: 0;
  padding: 14px 16px;
}

.cookie-background .cookie-popup .js-extra-cookies .col-2 {
  flex: 0 0 64px;
  max-width: 64px;
  padding-left: 0;
}

.cookie-background .cookie-popup .js-extra-cookies .col-10 {
  flex: 1 1 0;
  max-width: none;
  padding-right: 0;
}

.cookie-background .cookie-popup .js-extra-cookies .js-allow-all {
  background: #111 !important;
  color: #fff !important;
  order: 2;
}

.cookie-background .cookie-popup .js-extra-cookies .js-allow-minimal {
  order: 3;
}

.cookie-background .cookie-popup .slider-content {
  display: block;
}

.cookie-background .cookie-popup .slider-content strong {
  color: #111;
  font-family: Nunito, sans-serif;
  font-weight: 900;
}

.cookie-background .cookie-popup .switch {
  display: inline-block;
  height: 28px;
  position: relative;
  top: 0;
  width: 48px;
}

.cookie-background .cookie-popup .switch input {
  display: none;
}

.cookie-background .cookie-popup .slider {
  background-color: #cbd4d1;
  border-radius: 999px;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: .25s ease;
}

.cookie-background .cookie-popup .slider.active {
  background-color: #4ebfc4;
  cursor: auto;
}

.cookie-background .cookie-popup .slider::before {
  background-color: #fff;
  border-radius: 50%;
  bottom: 3px;
  box-shadow: 0 2px 5px rgba(17, 17, 17, .2);
  content: '';
  height: 22px;
  left: 3px;
  position: absolute;
  transition: .25s ease;
  width: 22px;
}

.cookie-background .cookie-popup input:checked + .slider {
  background-color: #111;
}

.cookie-background .cookie-popup input:focus + .slider {
  box-shadow: 0 0 0 3px rgba(78, 191, 196, .35);
}

.cookie-background .cookie-popup input:checked + .slider::before {
  transform: translateX(20px);
}

@media (max-width: 767px) {
  .cookie-background {
    align-items: flex-end;
    padding: 12px;
  }

  .cookie-background .cookie-popup {
    border-radius: 24px 24px 12px 12px;
    max-height: calc(100vh - 24px);
  }

  .cookie-background .cookie-popup .cookie-popup-content {
    padding: 26px 22px 22px !important;
  }

  .cookie-background .cookie-popup h2 {
    font-size: 1.75rem;
  }

  .cookie-background .cookie-popup .buttons {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-background .cookie-popup .buttons .btn {
    width: 100%;
  }
}
