/* Aviso de cookies */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 20px;
  color: #fff;
  background: rgba(18, 18, 18, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  font-size: 0.95rem;
  line-height: 1.5;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner p {
  margin: 0;
}

.cookie-banner a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
}

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

.cookie-button {
  min-width: 105px;
  padding: 10px 18px;
  border: 1px solid #fff;
  border-radius: 7px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.cookie-button:hover {
  transform: translateY(-1px);
}

.cookie-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.45);
  outline-offset: 2px;
}

.cookie-button--accept {
  color: #111;
  background: #fff;
}

.cookie-button--reject {
  color: #fff;
  background: transparent;
}

@media screen and (max-width: 736px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    align-items: stretch;
    flex-direction: column;
    gap: 15px;
    padding: 16px;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-button {
    flex: 1;
    min-width: 0;
  }
}
