/* D.8.5.2B.3B.3.2B FIX3 VISUAL — aviso de seguimiento más visible, sin modificar consentimiento. */
.lp-consent-notice, .lp-consent-notice * { box-sizing: border-box; }
.lp-consent-notice {
    position: fixed; z-index: 9990; left: 50%; bottom: max(20px, env(safe-area-inset-bottom));
    transform: translateX(-50%); width: min(1040px, calc(100% - 36px));
    display: flex; align-items: center; gap: 22px; padding: 24px 28px;
    background: #fff; color: #010736; border: 1px solid #c8d9f0;
    border-top: 4px solid #ABD2FA; border-radius: 20px;
    box-shadow: 0 22px 60px rgba(1,7,54,.24), 0 5px 14px rgba(1,7,54,.07);
    font-family: Inter, ui-sans-serif, system-ui, sans-serif; line-height: 1.5;
}
.lp-consent-notice__mark {
    flex: 0 0 56px; height: 56px; display: grid; place-items: center;
    border-radius: 16px; background: #edf4ff; color: #22396F;
}
.lp-consent-notice__mark svg { width: 27px; height: 27px; }
.lp-consent-notice__content { flex: 1 1 340px; min-width: 0; }
.lp-consent-notice__content strong {
    display: block; color: #010736; font-weight: 800; font-size: 19px; line-height: 1.32;
}
.lp-consent-notice__content p {
    margin: 7px 0 8px; color: #405377; font-size: 14px; line-height: 1.6;
}
.lp-consent-notice__content a {
    font-size: 13px; font-weight: 750; text-decoration: underline;
    text-underline-offset: 3px; color: #22396F;
}
.lp-consent-notice__actions { flex: 0 0 auto; display: flex; gap: 10px; align-items: center; }
.lp-consent-notice__actions form { margin: 0; }
.lp-consent-notice__actions button {
    min-height: 50px; border-radius: 11px; padding: 13px 20px;
    font: inherit; font-size: 14px; font-weight: 800;
    cursor: pointer; white-space: nowrap;
}
.lp-consent-notice__reject { color: #010736; background: #fff; border: 1px solid #a9c2e5; }
.lp-consent-notice__accept { color: #fff; background: #010736; border: 1px solid #010736; }
.lp-consent-notice__reject:hover { background: #f0f5fc; }
.lp-consent-notice__accept:hover { background: #22396F; }
.lp-consent-notice :is(button,a):focus-visible { outline: 3px solid #568fdb; outline-offset: 3px; }
@media (max-width: 960px) {
    .lp-consent-notice { flex-wrap: wrap; align-items: flex-start; gap: 16px; }
    .lp-consent-notice__mark { flex-basis: 52px; height: 52px; }
    .lp-consent-notice__content { flex: 1 1 calc(100% - 76px); }
    .lp-consent-notice__actions { flex: 1 1 100%; justify-content: flex-end; }
}
@media (max-width: 700px) {
    .lp-consent-notice {
        bottom: max(12px, env(safe-area-inset-bottom));
        width: calc(100% - 24px); max-height: 52dvh; overflow-y: auto;
        gap: 13px; padding: 18px 19px 20px; border-radius: 18px;
        box-shadow: 0 16px 45px rgba(1,7,54,.24);
    }
    .lp-consent-notice__mark { flex-basis: 46px; height: 46px; border-radius: 13px; }
    .lp-consent-notice__mark svg { width: 24px; height: 24px; }
    .lp-consent-notice__content { flex-basis: calc(100% - 59px); }
    .lp-consent-notice__content strong { font-size: 17px; }
    .lp-consent-notice__content p { margin: 6px 0 7px; font-size: 13.5px; line-height: 1.58; }
    .lp-consent-notice__content a { font-size: 12.5px; }
    .lp-consent-notice__actions { flex-basis: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .lp-consent-notice__actions form, .lp-consent-notice__actions button { width: 100%; }
    .lp-consent-notice__actions button { min-height: 50px; white-space: normal; }
}
@media (max-width: 370px) {
    .lp-consent-notice { gap: 11px; padding: 15px 14px 16px; }
    .lp-consent-notice__content strong { font-size: 16px; }
    .lp-consent-notice__content p { font-size: 13px; }
    .lp-consent-notice__actions button { padding: 10px 9px; font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) { .lp-consent-notice * { transition: none !important; } }
@media print { .lp-consent-notice { display: none !important; } }

/* 10/NOV/2026 — el aviso deja de tapar controles del checkout.
   Solo dimensiones y posición: textos, formularios y consentimiento intactos.
   1) Mientras el aviso está visible, el documento reserva al final su alto
      (lo mide el propio componente; sin script se usa un máximo), así cualquier
      control puede desplazarse por encima del aviso.
   2) En teléfono el aviso es más compacto: sin ícono, menos margen y botones de
      44 px, para cubrir menos pantalla. */
body:has(.lp-consent-notice)::after {
    content: "";
    display: block;
    height: var(--lp-consent-reserve, calc(52dvh + 24px));
    pointer-events: none;
}
@media (max-width: 700px) {
    .lp-consent-notice {
        bottom: max(8px, env(safe-area-inset-bottom));
        width: calc(100% - 16px); max-height: 46dvh;
        gap: 10px; padding: 14px 15px 15px; border-radius: 16px;
    }
    .lp-consent-notice__mark { display: none; }
    .lp-consent-notice__content { flex-basis: 100%; }
    .lp-consent-notice__content strong { font-size: 15.5px; }
    .lp-consent-notice__content p { margin: 4px 0 5px; font-size: 13px; line-height: 1.45; }
    .lp-consent-notice__content a { font-size: 12.5px; }
    .lp-consent-notice__actions { gap: 8px; }
    .lp-consent-notice__actions button { min-height: 44px; padding: 9px 10px; font-size: 13px; }
}
@media print { body:has(.lp-consent-notice)::after { display: none; } }
