/* ── Cookie consent banner ─────────────────────────────────────────────── */

#cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 560px;
  background: #FFFFFF;
  border: 1px solid #E8E3DC;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(26, 25, 22, 0.12), 0 2px 8px rgba(26, 25, 22, 0.06);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 9999;
  font-family: 'Instrument Sans', system-ui, sans-serif;
  animation: cookie-slide-up 0.3s ease;
}

#cookie-banner.hidden {
  display: none;
}

@keyframes cookie-slide-up {
  from { opacity: 0; transform: translateX(-50%) translateY(16px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.cookie-banner__text {
  flex: 1;
  font-size: 13px;
  line-height: 1.5;
  color: #7C6F5E;
}

.cookie-banner__text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1A1916;
  margin-bottom: 3px;
}

.cookie-banner__text a {
  color: #2D7A5A;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-banner__accept {
  background: #1A1916;
  color: #FAFAF8;
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.cookie-banner__accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 25, 22, 0.2);
}

.cookie-banner__decline {
  background: none;
  border: none;
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 12px;
  color: #7C6F5E;
  cursor: pointer;
  text-align: center;
  padding: 2px 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__decline:hover {
  color: #1A1916;
}

@media (max-width: 480px) {
  #cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    bottom: 16px;
  }

  .cookie-banner__actions {
    flex-direction: row;
    justify-content: flex-end;
  }
}
