.oh-cookie-consent-open,
.oh-cookie-consent-open body {
  overflow: hidden;
}

.oh-cookie-consent {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 99999;
  pointer-events: none;
}

.oh-cookie-consent[hidden] {
  display: none !important;
}

.oh-cookie-consent__overlay {
  position: fixed;
  inset: 0;
  background: color-mix(in srgb, var(--oh-color3) 35%, transparent);
  backdrop-filter: blur(3px);
  pointer-events: auto;
}

.oh-cookie-consent__bar {
  position: relative;
  background: var(--oh-color3);
  color: var(--oh-color7);
  border-top: 1px solid color-mix(in srgb, var(--oh-color7) 10%, transparent);
  pointer-events: auto;
}

.oh-cookie-consent__bar-inner {
  display: grid;
  grid-template-columns: minmax(0, .75fr) auto;
  gap: 24px;
  align-items: center;
  padding-top: 18px;
  padding-bottom: 18px;
}

.oh-cookie-consent__copy {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}

.oh-cookie-consent__icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  color: color-mix(in srgb, var(--oh-color7) 85%, transparent);
  margin-top: 4px;
}

.oh-cookie-consent__icon .oh_svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.oh-cookie-consent__text {
  min-width: 0;
}

.oh-cookie-consent__eyebrow {
  display: block;
  margin-bottom: 6px;
  color: color-mix(in srgb, var(--oh-color7) 65%, transparent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.oh-cookie-consent__body,
.oh-cookie-consent__group p {
  color: color-mix(in srgb, var(--oh-color7) 88%, transparent);
  margin: 0;
}

.oh-cookie-consent__body a,
.oh-cookie-consent__group p a {
  color: var(--oh-color7);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.oh-cookie-consent__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.oh-cookie-consent__link {
  appearance: none;
  border: 0;
  background: none;
  color: color-mix(in srgb, var(--oh-color7) 84%, transparent);
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.oh-cookie-consent__link:hover {
  color: var(--oh-color7);
}
.oh-cookie-consent__secondary.btn,
.oh-cookie-consent__secondary.button {
  background: transparent;
  border-color: color-mix(in srgb, var(--oh-color7) 35%, transparent);
  color: var(--oh-color7);
}

.oh-cookie-consent__secondary.btn:hover,
.oh-cookie-consent__secondary.button:hover {
  background: color-mix(in srgb, var(--oh-color7) 8%, transparent);
  border-color: color-mix(in srgb, var(--oh-color7) 45%, transparent);
}

.oh-cookie-consent__modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px 15px;
  pointer-events: auto;
}

.oh-cookie-consent__modal[hidden] {
  display: none !important;
}

.oh-cookie-consent__panel {
  width: min(100%, 520px);
  background: var(--oh-color3);
  color: var(--oh-color7);
  border: 1px solid color-mix(in srgb, var(--oh-color7) 10%, transparent);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  padding: 28px 30px 30px;
  position: relative;
}

.oh-cookie-consent__title {
  color: var(--oh-color7);
  margin: 0 0 28px;
  font-weight: 400;
}

.oh-cookie-consent__close {
  appearance: none;
  position: absolute;
  top: 18px;
  right: 18px;
  width: 18px;
  height: 18px;
  border: 0;
  background: none;
  color: color-mix(in srgb, var(--oh-color6) 75%, transparent);
  cursor: pointer;
  padding: 0;
}

.oh-cookie-consent__close:hover {
  color: var(--oh-color7);
}

.oh-cookie-consent__close .oh_svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: color-mix(in srgb, var(--oh-color6) 75%, transparent);
}

.oh-cookie-consent__group {
  padding: 22px 0;
  border-top: 1px solid color-mix(in srgb, var(--oh-color7) 10%, transparent);
}

.oh-cookie-consent__group:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.oh-cookie-consent__group-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
}

.oh-cookie-consent__group h3 {
  color: var(--oh-color7);
  font-size: 15px;
  margin-bottom: 0px;
}

.oh-cookie-consent__status {
  display: inline-block;
  color: color-mix(in srgb, var(--oh-color7) 58%, transparent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.oh-cookie-consent__switch {
  position: relative;
  display: inline-flex;
  width: 48px;
  height: 28px;
  flex: 0 0 48px;
}

.oh-cookie-consent__switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.oh-cookie-consent__slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--oh-color7) 12%, transparent);
  transition: background-color 0.2s ease;
}

.oh-cookie-consent__slider::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--oh-color7);
  transition: transform 0.2s ease;
}

.oh-cookie-consent__switch input:checked + .oh-cookie-consent__slider {
  background: color-mix(in srgb, var(--oh-primary) 65%, var(--oh-color7));
}

.oh-cookie-consent__switch input:checked + .oh-cookie-consent__slider::after {
  transform: translateX(20px);
}

.oh-cookie-consent__switch.is-disabled {
  opacity: 0.72;
}

.oh-cookie-consent__modal-actions {
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid color-mix(in srgb, var(--oh-color6) 10%, transparent);
}

@media (max-width: 1024px) {
  .oh-cookie-consent__bar-inner {
    grid-template-columns: 1fr;
  }

  .oh-cookie-consent__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .oh-cookie-consent__bar-inner {
    gap: 18px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .oh-cookie-consent__copy {
    gap: 12px;
        position: relative;
  }
  .oh-cookie-consent__icon{
      position: absolute;
      left: 0px;
      top: 0px;
  }
  .oh-cookie-consent__bar .oh-cookie-consent__eyebrow{
      padding-left: 36px;
  }

  .oh-cookie-consent__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .oh-cookie-consent__actions .oh-cookie-consent__primary {
    grid-column: 1 / -1;
  }

  .oh-cookie-consent__link {
    text-align: left;
  }

  .oh-cookie-consent__panel {
    padding: 24px 20px 24px;
  }

  .oh-cookie-consent__title {
    margin-bottom: 16px;
  }

  .oh-cookie-consent__modal-actions {
    flex-direction: column;
  }

  .oh-cookie-consent__modal-actions .btn {
    width: 100%;
  }

  .oh-cookie-consent__actions {
    flex-direction: column-reverse;
    display: flex;
  }
  .oh-cookie-consent__actions .oh-cookie-consent__primary {
    width: 100%;
  }
}
