body:not(.mode-login) .kos-cookie-popup,
body:not(.mode-login) .kos-cookie-popup__preferences-link {
  display: none !important;
}

body.body-page-login .kos-cookie-popup,
body.body-page-login .kos-cookie-popup__preferences-link {
  display: none !important;
}

body.mode-edit .kos-cookie-popup,
body.mode-edit .kos-cookie-popup__preferences-link {
  display: none !important;
}

body:has(.modal.modal--open) .kos-cookie-popup__banner {
  transform: translate(-50%, 150%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.kos-cookie-popup__preferences-link--settings {
  background-color: #333333 !important;
}

.kos-cookie-popup__preferences-link--settings:hover {
  background-color: #949494 !important;
}

.kos-cookie-popup__banner {
  min-width: 35.25% !important;
  margin: 0 !important;
  padding: 0 !important;
  background-color: #333333 !important;
  border: 1px solid var(--color-border-subtle) !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  justify-content: space-between !important;
  position: fixed !important;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 9998 !important;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease !important;
}

.kos-cookie-popup__banner-copy {
  width: auto !important;
  flex-grow: 1 !important;
  padding: 16px 24px !important;
  display: flex !important;
  align-items: center !important;
}

.kos-cookie-popup__banner-title {
  color: var(--color-white-1) !important;
  font-size: var(--font-size-16) !important;
  font-weight: 700 !important;
  line-height: 120% !important;
  letter-spacing: 0%;
  margin: 0 !important;
  mix-blend-mode: difference;
}

.kos-cookie-popup__banner-description {
  display: none !important;
}

.kos-cookie-popup__banner-actions {
  width: auto !important;
  margin-top: 0 !important;
  gap: 0 !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: normal !important;
}

.kos-cookie-popup__banner-actions .kos-cookie-popup__button {
  background-color: transparent !important;
  border: none !important;
  border-left: 1px solid var(--color-border-subtle) !important;
  border-radius: 0 !important;
  color: var(--color-white-1) !important;
  padding: 0 24px !important;
  margin: 0 !important;
  text-transform: uppercase !important;
  width: auto !important;
  flex: auto !important;
}

.kos-cookie-popup__banner-actions .kos-cookie-popup__button:hover {
  background-color: #949494 !important;
}

.kos-cookie-popup__banner-actions .kos-cookie-popup__button--customize {
  padding: 17px !important;
}

.kos-cookie-popup__banner-actions .kos-cookie-popup__button--reject {
  display: none !important;
  aspect-ratio: 1/1 !important;
}

.kos-cookie-popup__banner-actions .kos-cookie-popup__button--accept {
  color: var(--color-white-1) !important;
  font-family: var(--font-family-dm-mono) !important;
  font-size: 12px;
  font-style: normal;
  line-height: 100%;
  letter-spacing: 0%;
  text-transform: uppercase;
}

.kos-cookie-popup__customize {
  display: none !important;
}

.kos-cookie-popup__gear {
  position: static !important;
  margin: 0 !important;
  width: 20px !important;
  height: 20px !important;
  color: var(--color-text-white-soft) !important;
  flex-shrink: 0;
}

.kos-cookie-popup__gear svg {
  width: 20px !important;
  height: 20px !important;
}

.kos-cookie-popup__modal {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  z-index: 9999 !important;
}

.kos-cookie-popup__modal-panel {
  background-color: #333333 !important;
  color: var(--color-white-1) !important;
  border: 1px solid var(--color-border-subtle) !important;
  border-bottom: none !important;
  min-width: 35.25% !important;
  height: auto !important;
  max-height: 100vh !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
}

.kos-cookie-popup__modal-panel::-webkit-scrollbar {
  display: none !important;
}

.kos-cookie-popup__modal-copy {
  width: 100% !important;
}

.kos-cookie-popup__modal-panel {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

.kos-cookie-popup__modal-title {
  padding: 17.5px 32px !important;
  font-weight: 700 !important;
  font-size: var(--font-size-16) !important;
  line-height: 120% !important;
  letter-spacing: 0% !important;
  color: var(--color-white-1) !important;
  mix-blend-mode: difference !important;
  border-bottom: 1px solid var(--color-border-subtle) !important;
  margin: 0 !important;
  height: 54px;
  mix-blend-mode: difference;
}

.kos-cookie-popup__modal-description {
  font-weight: 375 !important;
  font-style: normal !important;
  font-size: var(--font-size-16) !important;
  line-height: 132% !important;
  letter-spacing: 0% !important;
  color: var(--color-text-base) !important;
  padding: 0 32px !important;
  margin: 0 !important;
}

.kos-cookie-popup__modal-copy
  .kos-cookie-popup__modal-description:first-of-type {
  padding-top: 24px !important;
}

.kos-cookie-popup__modal-description + .kos-cookie-popup__modal-description {
  margin-top: 10px !important;
}

.kos-cookie-popup__item-body {
  padding: 12px 0 0 36px !important;
}

.kos-cookie-popup__item-description {
  color: var(--color-text-base) !important;
  font-weight: 375 !important;
  font-style: normal !important;
  font-size: var(--font-size-14) !important;
  line-height: 160% !important;
  letter-spacing: 0% !important;
}

.kos-cookie-popup__preferences {
  margin-top: 30px !important;
  margin-bottom: 24px !important;
  padding: 0 32px !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}

.kos-cookie-popup__preferences-title {
  color: var(--color-white-1) !important;
  font-weight: 700 !important;
  font-size: var(--font-size-16) !important;
  line-height: 120% !important;
  letter-spacing: 0% !important;
  margin-bottom: 20px !important;
  mix-blend-mode: difference;
}

.kos-cookie-popup__close {
  background-color: transparent !important;
  border: none !important;
  border-left: 1px solid var(--color-border-subtle) !important;
  border-radius: 0 !important;
  width: 54px !important;
  height: 54px !important;
  aspect-ratio: 1/1 !important;
  padding: 17px !important;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  transition: background-color 0.2s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.kos-cookie-popup__close:hover {
  background-color: #949494 !important;
}

.kos-cookie-popup__close span {
  background-color: var(--color-white-1) !important;
  width: 16px !important;
}

.kos-cookie-popup__list {
  border-top: 1px solid var(--color-text-base) !important;
  margin-bottom: 0 !important;
}

.kos-cookie-popup__item {
  border-bottom: 1px solid var(--color-text-base) !important;
  padding: 12px 0 !important;
}

.kos-cookie-popup__item-header {
  align-items: center !important;
}

.kos-cookie-popup__item-trigger {
  color: var(--color-white-1) !important;
  padding: 0 0 0 32px !important;
}

.kos-cookie-popup__item-icon {
  top: 50% !important;
  transform: translateY(-50%) !important;
  left: 0 !important;
}

.kos-cookie-popup__item-icon::before,
.kos-cookie-popup__item-icon::after {
  background-color: var(--color-white-1) !important;
}

.kos-cookie-popup__item-title {
  color: var(--color-white-1) !important;
  font-weight: 700 !important;
  font-size: var(--font-size-16) !important;
  line-height: 120% !important;
  letter-spacing: 0% !important;
  mix-blend-mode: difference;
}

.kos-cookie-popup__item-state {
  color: var(--color-text-subtle) !important;
  font-family: var(--font-family-dm-mono) !important;
  font-size: var(--font-size-14) !important;
  font-style: normal !important;
  padding: 0 !important;
  text-align: right !important;
  line-height: var(--font-size-14) !important;
  letter-spacing: 0% !important;
  text-transform: capitalize !important;
}

.kos-cookie-popup__switch {
  padding: 0 !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

.kos-cookie-popup__switch:hover {
  cursor: pointer;
}

.kos-cookie-popup__switch-track {
  background-color: transparent !important;
  border: 1px solid #d6d6d666 !important;
}

.kos-cookie-popup__switch-thumb {
  background-color: var(--color-text-base) !important;
}

.kos-cookie-popup__switch input:checked + .kos-cookie-popup__switch-track {
  background-color: #888888 !important;
  border-color: #888888 !important;
}

.kos-cookie-popup__switch
  input:checked
  + .kos-cookie-popup__switch-track
  .kos-cookie-popup__switch-thumb {
  background-color: var(--color-white-1) !important;
}

.kos-cookie-popup__modal-actions .kos-cookie-popup__button {
  background-color: transparent !important;
  border: 1px solid var(--color-border-subtle) !important;
  color: var(--color-white-1) !important;
  text-transform: uppercase !important;
  font-family: var(--font-family-dm-mono) !important;
  font-weight: 400;
  font-style: normal;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 0%;
  text-transform: uppercase;
  flex: none !important;
  width: auto !important;
  height: 50px !important;
}

.kos-cookie-popup__modal-actions .kos-cookie-popup__button:hover {
  background-color: #949494 !important;
}

.kos-cookie-popup__modal-actions .kos-cookie-popup__button--reject {
  padding: 17px 16px !important;
}

.kos-cookie-popup__modal-actions .kos-cookie-popup__button--save {
  padding: 17px 22.5px !important;
}

.kos-cookie-popup__modal-actions .kos-cookie-popup__button--accept {
  margin-left: auto;
  padding: 17px 21px 17px 25px !important;
}

.kos-cookie-popup__button-icon {
  position: relative;
  width: 16px;
  height: 16px;
  overflow: hidden;
  flex-shrink: 0;
  display: inline-block;
}

.kos-cookie-popup__button-icon-copy {
  position: absolute;
  inset: 0;
  display: block;
  transform: translate(0, 0);
}

.kos-cookie-popup__button-icon-copy svg {
  display: block;
  width: 100%;
  height: 100%;
}

.kos-cookie-popup__button-icon-copy svg path {
  fill: currentColor;
}

.kos-cookie-popup__button-icon-copy--secondary {
  transform: translate(-16px, 16px);
}

.kos-cookie-popup__button--accept:hover
  .kos-cookie-popup__button-icon-copy--primary,
.kos-cookie-popup__button--accept:focus-visible
  .kos-cookie-popup__button-icon-copy--primary {
  animation: cookie-btn-arrow-primary 1.250123s
    linear(
      0,
      0.0216,
      0.0747,
      0.1458,
      0.2255,
      0.3076,
      0.3879,
      0.4638,
      0.5339,
      0.5974,
      0.6542,
      0.7044,
      0.7484,
      0.7866,
      0.8196,
      0.8479,
      0.8722,
      0.8928,
      0.9103,
      0.9251,
      0.9375,
      0.948,
      0.9568,
      0.9642,
      0.9703,
      0.9754,
      0.9797,
      0.9832,
      0.9862,
      0.9886,
      0.9906,
      0.9923,
      0.9936,
      0.9948,
      0.9957,
      0.9965,
      0.9971,
      0.9976,
      0.9981,
      0.9984,
      0.9987,
      0.9989,
      0.9991,
      0.9993,
      0.9994,
      0.9995,
      0.9996,
      0.9997,
      0.9997,
      0.9998,
      0.9998
    )
    forwards;
}

.kos-cookie-popup__button--accept:hover
  .kos-cookie-popup__button-icon-copy--secondary,
.kos-cookie-popup__button--accept:focus-visible
  .kos-cookie-popup__button-icon-copy--secondary {
  animation: cookie-btn-arrow-secondary 1.250123s
    linear(
      0,
      0.0216,
      0.0747,
      0.1458,
      0.2255,
      0.3076,
      0.3879,
      0.4638,
      0.5339,
      0.5974,
      0.6542,
      0.7044,
      0.7484,
      0.7866,
      0.8196,
      0.8479,
      0.8722,
      0.8928,
      0.9103,
      0.9251,
      0.9375,
      0.948,
      0.9568,
      0.9642,
      0.9703,
      0.9754,
      0.9797,
      0.9832,
      0.9862,
      0.9886,
      0.9906,
      0.9923,
      0.9936,
      0.9948,
      0.9957,
      0.9965,
      0.9971,
      0.9976,
      0.9981,
      0.9984,
      0.9987,
      0.9989,
      0.9991,
      0.9993,
      0.9994,
      0.9995,
      0.9996,
      0.9997,
      0.9997,
      0.9998,
      0.9998
    )
    forwards;
}

@keyframes cookie-btn-arrow-primary {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(16px, -16px);
  }
}

@keyframes cookie-btn-arrow-secondary {
  0% {
    transform: translate(-16px, 16px);
  }
  100% {
    transform: translate(0, 0);
  }
}

@keyframes cookie-modal-slide-up {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.kos-cookie-popup__modal:not([hidden]) .kos-cookie-popup__modal-panel {
  animation: cookie-modal-slide-up 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards !important;
}

@media (max-width: 767px) {
  body:has(.modal.modal--open) .kos-cookie-popup__banner {
    transform: translateY(150%) !important;
  }

  .kos-cookie-popup__preferences-link--settings {
    bottom: 12px !important;
  }

  .kos-cookie-popup__banner {
    width: calc(100% - 32px) !important;
    min-width: 0 !important;
    left: 16px !important;
    right: 16px !important;
    bottom: 16px !important;
    transform: none !important;
    flex-direction: column !important;
  }

  .kos-cookie-popup__banner-copy {
    width: 100% !important;
    padding: 16px !important;
    justify-content: center !important;
    border-bottom: 1px solid var(--color-border-subtle) !important;
  }

  .kos-cookie-popup__banner-title {
    text-align: center !important;
    width: 100% !important;
  }

  .kos-cookie-popup__banner-actions {
    width: 100% !important;
    flex-direction: row !important;
  }

  .kos-cookie-popup__banner-actions .kos-cookie-popup__button--customize {
    padding: 17px 40px !important;
    border-right: 1px solid var(--color-border-subtle) !important;
    border-left: none !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .kos-cookie-popup__banner-actions .kos-cookie-popup__button--accept {
    flex: 1 !important;
    border-left: none !important;
    justify-content: center !important;
  }

  .kos-cookie-popup__modal-panel {
    height: calc(100vh - 44px) !important;
    margin: 22px 16px !important;
  }
}

@media (max-width: 441px) {
  .kos-cookie-popup__modal-actions {
    flex-direction: column !important;
  }
  .kos-cookie-popup__modal-actions .kos-cookie-popup__button {
    width: 100% !important;
  }
}
