/* ============================================================
   cookie-consent.css — Pureframe Labs
   Cookie consent banner — retthemed to bone/ink/red editorial
   system
   ============================================================ */

.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: var(--ink);
  border-top: 1px solid rgba(241, 235, 225, 0.14);
  padding: 0;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.4s ease;
  will-change: transform, opacity;
}

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

.cookie-consent-banner.cookie-banner-hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.cookie-consent-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px var(--gut);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-consent-text {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.cookie-consent-icon {
  font-size: 24px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.cookie-consent-title {
  font-family: var(--display);
  text-transform: uppercase;
  font-weight: 900;
  font-variation-settings: 'wdth' 76;
  font-size: 14px;
  color: var(--bone);
  margin-bottom: 4px;
  line-height: 1.3;
}

.cookie-consent-desc {
  font-size: 13px;
  color: rgba(241, 235, 225, 0.62);
  line-height: 1.55;
  max-width: 600px;
}

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

.cookie-btn {
  padding: 11px 22px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cookie-btn-accept {
  background: var(--red);
  color: var(--bone);
  border-color: var(--red);
}

.cookie-btn-accept:hover {
  background: var(--red-deep);
  border-color: var(--red-deep);
}

.cookie-btn-reject {
  background: transparent;
  color: rgba(241, 235, 225, 0.8);
  border-color: rgba(241, 235, 225, 0.24);
}

.cookie-btn-reject:hover {
  border-color: var(--bone);
  color: var(--bone);
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .cookie-consent-inner {
    flex-direction: column;
    padding: 18px 20px;
    gap: 16px;
    align-items: stretch;
  }

  .cookie-consent-text {
    gap: 10px;
  }

  .cookie-consent-icon {
    font-size: 22px;
  }

  .cookie-consent-actions {
    justify-content: stretch;
  }

  .cookie-btn {
    flex: 1;
    text-align: center;
    padding: 12px 16px;
  }
}
