.cookie-consent {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1300;
  padding: 18px 24px;
  color: var(--color-white, #fff);
  background: var(--color-ink, #111);
  border-top: 4px solid var(--action-light);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.24);
}

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

.cookie-consent__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1140px;
  margin: 0 auto;
  gap: 28px;
}

.cookie-consent__copy {
  max-width: 760px;
}

.cookie-consent h2 {
  margin: 0 0 7px;
  color: var(--color-white, #fff);
  font: 500 20px/1.2 var(--font-display, Archivo, Arial, sans-serif);
}

.cookie-consent p {
  margin: 0;
  color: #d6d6d6;
  font-size: 14px;
  line-height: 1.55;
}

.cookie-consent a {
  color: var(--action-light);
  text-decoration: underline;
}

.cookie-consent__gpc {
  margin-top: 7px !important;
  color: var(--action-light) !important;
}

.cookie-consent__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  gap: 10px;
}

.cookie-consent__button,
.cookie-consent__close {
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid var(--action-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cookie-consent__button--primary {
  color: var(--color-ink, #111);
  background: var(--action-light);
}

.cookie-consent__button--primary:hover,
.cookie-consent__button--primary:focus {
  background: var(--action-light-hover);
}

.cookie-consent__button--primary:active {
  background: var(--action-light-active);
}

.cookie-consent__button--secondary,
.cookie-consent__close {
  color: var(--color-white, #fff);
  background: transparent;
}

.cookie-consent__button--secondary:hover,
.cookie-consent__button--secondary:focus,
.cookie-consent__close:hover,
.cookie-consent__close:focus {
  color: var(--color-ink, #111);
  background: var(--action-light);
}

.cookie-consent__button:focus,
.cookie-consent__close:focus,
.footer-cookie-settings:focus {
  outline: 2px solid var(--focus-on-dark) !important;
  box-shadow: 0 0 0 2px var(--focus-on-light);
  outline-offset: 3px;
}

.cookie-consent a:focus-visible {
  outline-color: var(--focus-on-dark) !important;
  box-shadow: 0 0 0 2px var(--focus-on-light);
}

.cookie-consent__button--secondary:active,
.cookie-consent__close:active {
  background: var(--action-light-active);
  color: var(--action-light-text);
}

.cookie-consent__button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.footer-cookie-settings {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  text-align: left;
}

.footer-cookie-settings:hover,
.footer-cookie-settings:focus {
  color: var(--action-light);
}

.legal-content h3 {
  margin: 26px 0 10px;
  font-family: var(--font-display, Archivo, Arial, sans-serif);
  font-size: 18px;
  line-height: 1.35;
}

.legal-content__choice-button {
  min-height: 46px;
  padding: 0 19px;
  color: var(--action-dark-text);
  background: var(--action-dark);
  border: 1px solid var(--action-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-content__choice-button:hover,
.legal-content__choice-button:focus {
  background: var(--action-dark-hover);
  border-color: var(--action-dark-hover);
}

.legal-content__choice-button:active {
  background: var(--action-dark-active);
  border-color: var(--action-dark-active);
}

@media (max-width: 900px) {
  .cookie-consent__inner {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

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

@media (max-width: 520px) {
  .cookie-consent {
    padding: 17px 18px calc(17px + env(safe-area-inset-bottom));
  }

  .cookie-consent__actions,
  .cookie-consent__button,
  .cookie-consent__close {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent * {
    scroll-behavior: auto;
  }
}
