/* Piezas comunes a todas las páginas: aviso de cookies, honeypot y botón del pie. */

/* --- Aviso de cookies --- */
.bcck {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 9999;
  display: none; max-width: 560px; margin: 0 auto;
  background: #fff; color: #1B2420; border: 1px solid #DDE5E1; border-radius: 14px;
  box-shadow: 0 12px 40px rgba(16, 40, 32, .18);
  font: 400 14px/1.5 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.bcck--show { display: block; }
.bcck-inner { padding: 16px 18px; }
.bcck-title { margin: 0 0 4px; font-weight: 700; font-size: 15px; }
.bcck-text { margin: 0 0 12px; color: #4A5650; }
.bcck-text a { color: #0F6E56; text-decoration: underline; }
.bcck-prefs { margin: 0 0 12px; display: grid; gap: 8px; }
.bcck-prefs[hidden] { display: none; }
.bcck-opt { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: #4A5650; cursor: pointer; }
.bcck-opt input { margin-top: 3px; accent-color: #0F6E56; }
.bcck-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.bcck-btn {
  font: 600 14px/1 inherit; font-family: inherit; padding: 11px 16px; border-radius: 10px; cursor: pointer;
  border: 1px solid #0F6E56; flex: 1 1 auto; min-width: 96px;
}
.bcck-btn--primary { background: #0F6E56; color: #fff; }
.bcck-btn--ghost { background: #fff; color: #0F6E56; }
.bcck-btn:focus-visible { outline: 3px solid rgba(15, 110, 86, .35); outline-offset: 2px; }
/* En móvil, que no tape la barra de acciones fija */
@media (max-width: 720px) { .has-sticky .bcck { bottom: 80px; } .bcck-inner { padding: 14px; } }

/* --- Campo trampa para bots del formulario --- */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* --- "Configurar cookies" en el pie, con aspecto de enlace --- */
.footer-linkbtn {
  background: none; border: 0; padding: 0; font: inherit; color: rgba(255, 255, 255, .78); cursor: pointer;
}
.footer-linkbtn:hover { color: #fff; }

/* --- Mensaje de error del formulario --- */
.form-send-error { display: none; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: #FDECEC; color: #8A1F1F; font-size: 14px; text-align: center; }
.form-send-error.show { display: block; }
