.cookie-consent,
.cookie-preferences-link {
  font-family: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cookie-consent {
  position: fixed;
  z-index: 9999;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 20px 22px;
  color: #f7fbfd;
  background: rgba(15, 15, 16, .97);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .32);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .22s ease, transform .22s ease;
  backdrop-filter: blur(16px);
}

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

.cookie-consent--visible {
  opacity: 1;
  transform: translateY(0);
}

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

.cookie-consent__copy strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: 17px;
}

.cookie-consent__copy p {
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  line-height: 1.55;
}

.cookie-consent__copy a {
  display: inline-block;
  margin-top: 7px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.cookie-consent__button,
.cookie-preferences-link {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-weight: 800;
}

.cookie-consent__button {
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 14px;
}

.cookie-consent__button--primary {
  color: #fff;
  background: #c1121f;
  box-shadow: 0 9px 24px rgba(193, 18, 31, .28);
}

.cookie-consent__button--secondary {
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
}

.cookie-consent__button:focus-visible,
.cookie-preferences-link:focus-visible {
  outline: 3px solid rgba(193, 18, 31, .35);
  outline-offset: 3px;
}

.cookie-preferences-link {
  display: inline-block;
  min-height: 44px;
  padding: 10px 0;
  color: #a90f1b;
  background: transparent;
  font-size: 16px;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 720px) {
  .cookie-consent {
    right: 12px;
    bottom: 12px;
    left: 12px;
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    padding: 18px;
  }

  .cookie-consent__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-consent__button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .cookie-consent__actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent {
    transition: none;
  }
}
