.cookie-consent-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 10000;
  max-width: 920px;
  margin: 0 auto;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(15, 20, 30, 0.18);
  color: #1d1f23;
  font-family: var(--font-family, "Schibsted Grotesk", sans-serif);
}

.cookie-consent-banner.is-hidden {
  display: none;
}

.cookie-consent-content {
  padding: 18px 20px;
}

.cookie-consent-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.cookie-consent-text {
  margin: 0;
  color: #4a4f58;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-consent-links {
  margin-top: 10px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-consent-link {
  color: #1f252f;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
}

.cookie-consent-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn {
  border: 1px solid #2d3138;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.cookie-btn-primary {
  background: #2d3138;
  color: #fff;
}

.cookie-btn-primary:hover,
.cookie-btn-primary:focus-visible {
  background: #1f2329;
}

.cookie-btn-secondary {
  background: #fff;
  color: #2d3138;
}

.cookie-btn-secondary:hover,
.cookie-btn-secondary:focus-visible {
  background: #f2f4f7;
}

.cookie-btn-link {
  border-color: transparent;
  background: transparent;
  color: #2d3138;
  text-decoration: underline;
  padding-left: 4px;
  padding-right: 4px;
}

.cookie-btn:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.cookie-consent-preferences {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.cookie-consent-preferences[hidden] {
  display: none;
}

.cookie-consent-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}

.cookie-consent-option-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.cookie-consent-option-text {
  margin: 3px 0 0;
  color: #5b616d;
  font-size: 12px;
}

.cookie-consent-toggle {
  width: 18px;
  height: 18px;
}

.cookie-settings-button {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 9999;
  border: 1px solid #2d3138;
  border-radius: 999px;
  background: #ffffff;
  color: #1f2329;
  padding: 9px 14px;
  font-family: var(--font-family, "Schibsted Grotesk", sans-serif);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 20, 30, 0.12);
}

.cookie-settings-button:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

@media screen and (max-width: 767px) {
  .cookie-consent-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .cookie-consent-content {
    padding: 14px;
  }

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

  .cookie-btn {
    width: 100%;
    text-align: center;
  }

  .cookie-settings-button {
    left: 12px;
    bottom: 12px;
  }
}
