.cookie-consent {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 14px;
  background: rgba(15, 23, 42, 0.28);
  font-family: var(--font-body, "Fedra Sans Pro"), Arial, sans-serif;
  color: #0f172a;
}

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

.cookie-consent__summary,
.cookie-consent__settings {
  width: min(1120px, 100%);
  border: 1px solid #cfdbe7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 56px rgba(15, 23, 42, 0.2);
}

.cookie-consent__summary {
  display: grid;
  gap: 22px;
  align-items: center;
  padding: 20px 22px;
}

.cookie-consent h2 {
  margin: 5px 0 0;
  font-size: 20px;
  line-height: 1.25;
}

.cookie-consent p {
  max-width: 760px;
  margin: 8px 0 0;
  color: #52647d;
  font-size: 14px;
  line-height: 1.55;
}

.cookie-consent__eyebrow {
  margin: 0 !important;
  color: #0b5ca8 !important;
  font-size: 10px !important;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cookie-consent__actions,
.cookie-consent__settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-consent button,
.cookie-consent a {
  min-height: 42px;
  border: 1px solid #c5d2df;
  border-radius: 8px;
  background: #fff;
  padding: 0 15px;
  color: #12385f;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.cookie-consent button:focus-visible,
.cookie-consent a:focus-visible {
  outline: 3px solid rgba(11, 92, 168, 0.24);
  outline-offset: 2px;
}

.cookie-consent a {
  display: inline-flex;
  align-items: center;
}

.cookie-consent .is-primary {
  border-color: #008b69;
  background: #008b69;
  color: #fff;
}

.cookie-consent .is-equivalent {
  border-color: #7f94aa;
  color: #20364b;
}

.cookie-consent__settings {
  max-width: 720px;
  padding: 20px 22px;
}

.cookie-consent__settings-head,
.cookie-consent__settings-actions,
.cookie-consent__options label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-consent__close {
  min-width: 42px;
  justify-content: center;
  padding: 0 !important;
  font-size: 24px !important;
}

.cookie-consent__options {
  display: grid;
  gap: 7px;
  margin: 18px 0;
}

.cookie-consent__options label {
  border: 1px solid #d8e2ed;
  border-radius: 8px;
  padding: 13px 14px;
}

.cookie-consent__options strong,
.cookie-consent__options small {
  display: block;
}

.cookie-consent__options small {
  margin-top: 4px;
  color: #64748b;
  line-height: 1.45;
}

.cookie-consent__options input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: #008b69;
}

.cookie-consent__status {
  min-height: 20px;
  margin-top: 10px !important;
  color: #b42318 !important;
  font-size: 12px !important;
  font-weight: 650;
}

@media (min-width: 900px) {
  .cookie-consent__summary {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (max-width: 680px) {
  .cookie-consent {
    padding: 8px;
  }

  .cookie-consent__summary,
  .cookie-consent__settings {
    padding: 15px;
  }

  .cookie-consent__summary {
    gap: 13px;
  }

  .cookie-consent h2 {
    font-size: 18px;
  }

  .cookie-consent p {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.45;
  }

  .cookie-consent__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .cookie-consent__actions button,
  .cookie-consent__actions a {
    justify-content: center;
    min-width: 0;
    padding-inline: 9px;
  }

  .cookie-consent__settings-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-consent__settings-actions > * {
    justify-content: center;
  }
}
