/* ─── COOKIE BANNER ─── */
#cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--white);
  border-top: 2px solid var(--green-mid);
  box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.10);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
#cookie-banner.visible {
  transform: translateY(0);
}
#cookie-banner.hiding {
  transform: translateY(100%);
}
.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-text {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}
.cookie-text svg {
  flex-shrink: 0;
  color: var(--green);
}
.cookie-text p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
.cookie-text a {
  color: var(--green);
  font-weight: 600;
  text-decoration: underline;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.cookie-btn-reject {
  background: none;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  transition: border-color 0.18s, color 0.18s;
  white-space: nowrap;
}
.cookie-btn-reject:hover {
  border-color: var(--green);
  color: var(--green);
}
.cookie-btn-accept {
  background: var(--green);
  color: #fff;
  border: none;
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  transition: background 0.18s, transform 0.15s;
  white-space: nowrap;
}
.cookie-btn-accept:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

/* ─── CONSENT PLACEHOLDER ─── */
.consent-placeholder {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  min-height: 220px;
  padding: 32px 24px;
  text-align: center;
  background: var(--cream);
}
.consent-placeholder.visible {
  display: flex;
}
.consent-placeholder svg {
  color: var(--text-light);
  opacity: 0.7;
}
.consent-placeholder p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 220px;
}
.consent-placeholder-btn {
  background: var(--green);
  color: #fff;
  border: none;
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  transition: background 0.18s;
}
.consent-placeholder-btn:hover {
  background: var(--green-dark);
}

/* ─── FOOTER COOKIE SETTINGS BUTTON ─── */
.cookie-settings-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  padding: 0;
  transition: color 0.2s;
}
.cookie-settings-btn:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 640px) {
  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
  }
  .cookie-actions {
    width: 100%;
  }
  .cookie-btn-reject,
  .cookie-btn-accept {
    flex: 1;
    text-align: center;
  }
}
