/* MoneyMood — aviso de cookies. Rechazar pesa lo mismo que aceptar. */

.mm-consent[hidden] { display: none; }
.mm-consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 99999;
  background: #fff; border-top: 3px solid var(--mm-secondary, #16c79a);
  box-shadow: 0 -6px 30px rgba(15, 52, 96, .16);
  font-size: .92rem; line-height: 1.55; color: #3c4756;
}
.mm-consent-inner {
  max-width: 1200px; margin: 0 auto; padding: 20px max(20px, 4vw);
  display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center;
  justify-content: space-between;
}
.mm-consent-texto { flex: 1 1 420px; min-width: 0; margin: 0; }
.mm-consent-texto strong { display: block; margin-bottom: 4px; color: var(--mm-primary, #0f3460); font-size: 1rem; }
.mm-consent-texto a { color: var(--mm-primary, #0f3460); text-decoration: underline; }

.mm-consent-acciones { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.mm-consent .mm-c-btn {
  padding: 11px 20px; border-radius: 8px; border: 1px solid transparent;
  font-size: .93rem; font-weight: 700; cursor: pointer; font-family: inherit;
  transition: background .15s, border-color .15s, color .15s;
}
/* Mismo tamaño, mismo peso y mismo contraste que aceptar: es requisito, no estética. */
.mm-consent .mm-c-rechazar {
  background: #fff; color: var(--mm-primary, #0f3460);
  border-color: var(--mm-primary, #0f3460);
}
.mm-consent .mm-c-rechazar:hover { background: #eef2f7; }
.mm-consent .mm-c-aceptar { background: var(--mm-primary, #0f3460); color: #fff; }
.mm-consent .mm-c-aceptar:hover { background: var(--mm-primary-dark, #0a2647); }
.mm-consent .mm-c-preferencias {
  background: none; border: 0; padding: 6px 4px; cursor: pointer;
  font-family: inherit; font-size: .9rem; font-weight: 600;
  color: #5a6472; text-decoration: underline;
}
.mm-consent .mm-c-preferencias:hover { color: var(--mm-primary, #0f3460); }

.mm-consent-prefs[hidden] { display: none; }
.mm-consent-prefs {
  flex: 1 1 100%; margin: 4px 0 0; padding: 18px 0 4px;
  border-top: 1px solid var(--mm-border, #e2e6eb);
}
.mm-consent-prefs ul { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 10px; }
.mm-consent-prefs li { margin: 0; padding: 0; }
.mm-consent-prefs li::before { display: none; }
.mm-consent-prefs label {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 12px 14px; border: 1px solid var(--mm-border, #e2e6eb); border-radius: 8px;
  cursor: pointer;
}
.mm-consent-prefs label:has(input:disabled) { background: #f7f5f1; cursor: default; }
.mm-consent-prefs input { margin: 3px 0 0; accent-color: #0e9c78; flex: none; }
.mm-consent-prefs b { display: block; color: var(--mm-primary, #0f3460); font-size: .94rem; }
.mm-consent-prefs span { display: block; font-size: .87rem; color: #5a6472; }
.mm-consent .mm-c-guardar {
  background: var(--mm-secondary, #16c79a); color: #062b22; border-color: transparent;
}
.mm-consent .mm-c-guardar:hover { background: #13e0ad; }

.mm-consent-reopen { background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: inherit; text-decoration: underline; }

@media (max-width: 720px) {
  .mm-consent-inner { padding: 16px 20px; gap: 14px; }
  .mm-consent-acciones { width: 100%; }
  .mm-consent .mm-c-rechazar, .mm-consent .mm-c-aceptar { flex: 1 1 0; }
  .mm-consent { max-height: 82vh; overflow-y: auto; }
}
