/* First-party cookie notice. Keep below mobile nav overlay (z-index 1150+). */
.cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
  padding: 14px 16px;
  background: #1A1814;
  color: #F7F4EE;
  border-radius: 6px;
  box-shadow: 0 8px 28px rgba(26, 24, 20, 0.22);
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  line-height: 1.45;
}

.cookie-consent p {
  margin: 0;
  color: #F7F4EE;
}

.cookie-consent a {
  color: #E8C49A;
  text-decoration: underline;
}

.cookie-consent a:focus-visible,
.cookie-consent button:focus-visible {
  outline: 2px solid #E8C49A;
  outline-offset: 2px;
}

.cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-consent button {
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  border-radius: 4px;
  padding: 8px 14px;
}

.cookie-consent-accept {
  background: #C4722A;
  color: #F7F4EE;
  border: 0;
}

.cookie-consent-dismiss {
  background: transparent;
  color: #F7F4EE;
  border: 1px solid rgba(247, 244, 238, 0.35);
}

html.nav-open .cookie-consent,
body.nav-open .cookie-consent {
  visibility: hidden;
  pointer-events: none;
}

html.cookie-consent-visible,
body.cookie-consent-visible {
  padding-bottom: 110px;
}

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

  .cookie-consent-actions {
    justify-content: flex-end;
  }
}

/* Netlify honeypot: visually hidden, still in the DOM for bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
