/* ============================================
   Akinae Studio — Consent banner (Consent Mode v2)
   consent.css
   ============================================ */
#akinae-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  background: var(--white, #fff);
  border-top: 1px solid var(--light-gray, #DCDEDB);
  box-shadow: 0 -10px 34px -20px rgba(5, 5, 5, 0.28);
  padding: 16px var(--padding-mobile, 24px);
  display: none;
  transform: translateY(12px);
  opacity: 0;
  transition: transform 0.3s var(--ease-out, ease), opacity 0.3s var(--ease-out, ease);
}

#akinae-consent.is-visible {
  display: block;
  transform: none;
  opacity: 1;
}

.akinae-consent__inner {
  max-width: var(--max-width, 1200px);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.akinae-consent__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--dark-gray, #676B6C);
  max-width: 720px;
}

.akinae-consent__text a {
  color: var(--dark-blue-a11y, #5C7686);
  text-decoration: underline;
}

.akinae-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.akinae-consent__btn {
  font-family: var(--font-heading, sans-serif);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out, ease), border-color 0.2s var(--ease-out, ease);
}

.akinae-consent__btn--accept {
  background: var(--accent, #5C7686);
  color: var(--white, #fff);
}

.akinae-consent__btn--accept:hover {
  transform: translateY(-1px);
}

.akinae-consent__btn--reject {
  background: transparent;
  color: var(--black, #000);
  border-color: var(--light-gray, #DCDEDB);
}

.akinae-consent__btn--reject:hover {
  border-color: var(--black, #000);
}

/* Mientras la barra está visible, ocultamos el botón flotante de WhatsApp
   para que no se superponga a los botones Aceptar/Rechazar. */
body.akinae-consent-open .wa-float {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-out, ease);
}

@media (max-width: 640px) {
  .akinae-consent__inner {
    flex-direction: column;
    align-items: stretch;
  }

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

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