/* =========================================================
   COOKIE CONSENT BANNER
========================================================= */

.cookie-consent {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  display: none;
  max-width: 640px;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  color: var(--black, #1f1b16);
  box-shadow: 0 16px 48px rgba(31, 27, 22, 0.16);
}

.cookie-consent.is-visible {
  display: block;
}

.cookie-consent__title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 600;
}

.cookie-consent__text {
  margin: 0 0 20px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(31, 27, 22, 0.72);
}

.cookie-consent__text a {
  color: var(--black, #1f1b16);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-consent__btn {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(31, 27, 22, 0.14);
  border-radius: 999px;
  background: #fff;
  color: var(--black, #1f1b16);
  font-family: inherit;
  font-size: 0.9375rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.cookie-consent__btn:hover {
  border-color: var(--black, #1f1b16);
}

.cookie-consent__btn--primary {
  border-color: var(--black, #1f1b16);
  background: var(--black, #1f1b16);
  color: #fff;
}

.cookie-consent__btn--primary:hover {
  background: #3a3028;
  border-color: #3a3028;
}

@media (max-width: 768px) {
  .cookie-consent {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
    padding: 20px;
    border-radius: 14px;
  }

  .cookie-consent__actions {
    flex-direction: column;
  }

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

@media (max-width: 425px) {
  .cookie-consent {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 18px;
  }

  .cookie-consent__title {
    font-size: 1.125rem;
  }

  .cookie-consent__text {
    font-size: 0.875rem;
  }
}
