/* LOPDP Ecuador — UI pública v1.0.4
 * Diseño: mini-aviso estilo Bershka. Esquina inferior izquierda, compacto,
 * monocromático estricto (blanco/negro/grises), blindado contra herencia
 * de WooCommerce/Elementor/temas.
 */

#lopdp-cookie-banner,
#lopdp-consent-popup,
.lopdp-consent-field,
.lopdp-rights-form,
.lopdp-manage-cookies-btn {
    --lopdp-bg: #ffffff;
    --lopdp-fg: #09090b;
    --lopdp-muted: #71717a;
    --lopdp-border: #e4e4e7;
    --lopdp-surface: #fafafa;
    --lopdp-surface-2: #f4f4f5;
    --lopdp-shadow: 0 8px 24px -8px rgba(0,0,0,.12), 0 2px 6px -2px rgba(0,0,0,.05);
    --lopdp-radius: 10px;
    --lopdp-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-family: var(--lopdp-font);
    box-sizing: border-box;
}
#lopdp-cookie-banner *,
#lopdp-consent-popup *,
.lopdp-consent-field * { box-sizing: border-box; }

/* ============================================================
 * MINI AVISO unificado (cookies + LOPDP) — estilo Bershka.
 * ============================================================ */
#lopdp-cookie-banner.lopdp-mini {
    position: fixed !important;
    z-index: 999998;
    width: 300px;
    max-width: calc(100vw - 32px);
    background: var(--lopdp-bg) !important;
    color: var(--lopdp-fg) !important;
    border: 1px solid var(--lopdp-border);
    border-radius: var(--lopdp-radius);
    box-shadow: var(--lopdp-shadow);
    padding: 0;
    margin: 0;
    animation: lopdp-mini-in 220ms cubic-bezier(.16,1,.3,1);
}
#lopdp-cookie-banner.lopdp-mini[hidden] { display: none !important; }

#lopdp-cookie-banner.lopdp-pos-bottom-left { left: 16px; bottom: 16px; right: auto; top: auto; }
#lopdp-cookie-banner.lopdp-pos-bottom-right { right: 16px; bottom: 16px; left: auto; top: auto; }
#lopdp-cookie-banner.lopdp-pos-bottom {
    left: 50%; bottom: 16px; right: auto; top: auto;
    transform: translateX(-50%);
}
#lopdp-cookie-banner.lopdp-pos-top { left: 16px; top: 16px; right: auto; bottom: auto; }

#lopdp-cookie-banner.lopdp-theme-dark {
    background: var(--lopdp-fg) !important;
    color: var(--lopdp-bg) !important;
    border-color: #27272a !important;
}
#lopdp-cookie-banner.lopdp-theme-dark .lopdp-mini-body { color: #d4d4d8 !important; }
#lopdp-cookie-banner.lopdp-theme-dark .lopdp-mini-link { color: var(--lopdp-bg) !important; }
#lopdp-cookie-banner.lopdp-theme-dark .lopdp-mini-close { color: #a1a1aa !important; }
#lopdp-cookie-banner.lopdp-theme-dark .lopdp-mini-close:hover { background: #27272a !important; color: var(--lopdp-bg) !important; }

.lopdp-mini-inner {
    position: relative;
    padding: 16px 16px 14px;
}

.lopdp-mini-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: 0 !important;
    border-radius: 6px;
    color: var(--lopdp-muted) !important;
    cursor: pointer;
    padding: 0 !important;
    box-shadow: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    line-height: 1 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}
.lopdp-mini-close:hover {
    background: var(--lopdp-surface-2) !important;
    color: var(--lopdp-fg) !important;
}

.lopdp-mini-title {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    margin: 0 24px 4px 0 !important;
    color: var(--lopdp-fg) !important;
    font-family: var(--lopdp-font) !important;
    text-transform: none !important;
    letter-spacing: -0.01em !important;
}
#lopdp-cookie-banner.lopdp-theme-dark .lopdp-mini-title { color: var(--lopdp-bg) !important; }

.lopdp-mini-body {
    font-size: 12.5px !important;
    line-height: 1.5 !important;
    color: var(--lopdp-muted) !important;
    margin: 0 0 6px 0 !important;
    font-family: var(--lopdp-font) !important;
}

.lopdp-mini-link {
    display: inline-block;
    font-size: 12px !important;
    color: var(--lopdp-fg) !important;
    text-decoration: underline !important;
    margin: 0 0 12px 0 !important;
    font-family: var(--lopdp-font) !important;
}
.lopdp-mini-link:hover { color: var(--lopdp-fg) !important; }

.lopdp-mini-actions {
    display: flex !important;
    gap: 6px;
    justify-content: flex-end;
}

.lopdp-mini-prefs {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--lopdp-border);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.lopdp-mini-cat {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-size: 12.5px !important;
    color: var(--lopdp-fg) !important;
    cursor: pointer;
    font-family: var(--lopdp-font) !important;
}
.lopdp-mini-cat input[type=checkbox] {
    accent-color: var(--lopdp-fg);
    width: 14px;
    height: 14px;
    margin: 0 !important;
}
.lopdp-mini-cat em { color: var(--lopdp-muted); font-style: normal; font-size: 11.5px; }
.lopdp-mini-prefs-actions {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    margin-top: 6px;
}

/* ============================================================
 * BOTONES — blindados contra herencia.
 * ============================================================ */
.lopdp-btn,
button.lopdp-btn,
#lopdp-cookie-banner .lopdp-btn,
#lopdp-consent-popup .lopdp-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 7px 12px !important;
    min-height: 32px;
    border-radius: 6px !important;
    border: 1px solid transparent !important;
    cursor: pointer;
    font-family: var(--lopdp-font) !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    text-decoration: none !important;
    text-shadow: none !important;
    box-shadow: none !important;
    background-image: none !important;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
    margin: 0 !important;
    height: auto !important;
    width: auto !important;
    min-width: 0 !important;
    text-align: center;
    vertical-align: middle;
    appearance: none !important;
    -webkit-appearance: none !important;
}
.lopdp-btn-solid,
button.lopdp-btn-solid,
#lopdp-cookie-banner .lopdp-btn-solid,
#lopdp-consent-popup .lopdp-btn-solid {
    background: var(--lopdp-fg) !important;
    color: var(--lopdp-bg) !important;
    border-color: var(--lopdp-fg) !important;
}
.lopdp-btn-solid:hover,
button.lopdp-btn-solid:hover {
    background: #27272a !important;
    border-color: #27272a !important;
    color: var(--lopdp-bg) !important;
}
.lopdp-btn-ghost,
button.lopdp-btn-ghost,
#lopdp-cookie-banner .lopdp-btn-ghost,
#lopdp-consent-popup .lopdp-btn-ghost {
    background: transparent !important;
    color: var(--lopdp-fg) !important;
    border-color: var(--lopdp-border) !important;
}
.lopdp-btn-ghost:hover,
button.lopdp-btn-ghost:hover {
    background: var(--lopdp-surface-2) !important;
    color: var(--lopdp-fg) !important;
    border-color: var(--lopdp-muted) !important;
}
#lopdp-cookie-banner.lopdp-theme-dark .lopdp-btn-solid {
    background: var(--lopdp-bg) !important;
    color: var(--lopdp-fg) !important;
    border-color: var(--lopdp-bg) !important;
}
#lopdp-cookie-banner.lopdp-theme-dark .lopdp-btn-ghost {
    background: transparent !important;
    color: var(--lopdp-bg) !important;
    border-color: #52525b !important;
}
.lopdp-btn:focus-visible {
    outline: 2px solid currentColor !important;
    outline-offset: 2px !important;
}

/* Alias compatibles con marcado anterior. */
.lopdp-btn-primary { background: var(--lopdp-fg) !important; color: var(--lopdp-bg) !important; border-color: var(--lopdp-fg) !important; }
.lopdp-btn-secondary { background: transparent !important; color: var(--lopdp-fg) !important; border-color: var(--lopdp-border) !important; }

/* ============================================================
 * POPUP grande (opcional, desactivado por defecto desde v1.0.4).
 * Solo se renderiza si el admin lo activa explícitamente.
 * ============================================================ */
#lopdp-consent-popup.lopdp-toast {
    position: fixed !important;
    left: 16px;
    bottom: 16px;
    z-index: 999999;
    width: 320px;
    max-width: calc(100vw - 32px);
    background: var(--lopdp-bg) !important;
    color: var(--lopdp-fg) !important;
    border: 1px solid var(--lopdp-border);
    border-radius: var(--lopdp-radius);
    box-shadow: var(--lopdp-shadow);
    padding: 0;
    margin: 0;
    animation: lopdp-mini-in 220ms cubic-bezier(.16,1,.3,1);
}
#lopdp-consent-popup.lopdp-toast[hidden] { display: none !important; }
.lopdp-toast-inner { position: relative; padding: 16px 16px 14px; }
.lopdp-toast-close {
    position: absolute; top: 8px; right: 8px; width: 26px; height: 26px;
    background: transparent !important; border: 0 !important; cursor: pointer;
    color: var(--lopdp-muted) !important; border-radius: 6px;
    padding: 0 !important; appearance: none !important; -webkit-appearance: none !important;
    display: inline-flex !important; align-items: center; justify-content: center;
    box-shadow: none !important;
}
.lopdp-toast-close:hover { background: var(--lopdp-surface-2) !important; color: var(--lopdp-fg) !important; }
.lopdp-toast-title { font-size: 13.5px !important; font-weight: 600 !important; margin: 0 24px 4px 0 !important; color: var(--lopdp-fg) !important; font-family: var(--lopdp-font) !important; }
.lopdp-toast-body { font-size: 12.5px !important; line-height: 1.5 !important; color: var(--lopdp-muted) !important; margin: 0 0 10px !important; font-family: var(--lopdp-font) !important; }
.lopdp-toast-check { display: flex !important; gap: 8px; align-items: flex-start; background: var(--lopdp-surface); border: 1px solid var(--lopdp-border); border-radius: 7px; padding: 9px 10px; margin: 0 0 4px !important; font-size: 12px !important; line-height: 1.4 !important; color: var(--lopdp-fg) !important; cursor: pointer; }
.lopdp-toast-check input { margin: 2px 0 0 !important; width: 13px; height: 13px; accent-color: var(--lopdp-fg); }
.lopdp-toast-check a { color: var(--lopdp-fg) !important; text-decoration: underline !important; }
.lopdp-toast-hint { margin: 6px 2px 0 !important; font-size: 12px !important; color: var(--lopdp-fg) !important; }
.lopdp-toast-actions { display: flex !important; gap: 6px; justify-content: flex-end; margin-top: 12px; }

/* ============================================================
 * SHORTCODES en formularios.
 * ============================================================ */
.lopdp-consent-field {
    margin: 12px 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--lopdp-fg);
    font-family: var(--lopdp-font);
}
.lopdp-consent-field label {
    display: flex; gap: 9px; align-items: flex-start; cursor: pointer;
}
.lopdp-consent-field input[type=checkbox] {
    margin-top: 3px;
    accent-color: var(--lopdp-fg);
    flex-shrink: 0;
}
.lopdp-consent-field a { color: var(--lopdp-fg); text-decoration: underline; }
.lopdp-consent-sensitive {
    background: var(--lopdp-surface);
    border: 1px solid var(--lopdp-border);
    border-left: 3px solid var(--lopdp-fg);
    padding: 12px 14px;
    border-radius: 8px;
}

/* ============================================================
 * FORMULARIO ARCO+.
 * ============================================================ */
.lopdp-rights-form { font-family: var(--lopdp-font); color: var(--lopdp-fg); }
.lopdp-rights-form p { margin: 10px 0; }
.lopdp-rights-form label { display: block; font-weight: 500; margin-bottom: 4px; color: var(--lopdp-fg); }
.lopdp-rights-form input,
.lopdp-rights-form select,
.lopdp-rights-form textarea {
    width: 100%;
    padding: 9px 11px;
    border: 1px solid var(--lopdp-border);
    border-radius: 6px;
    font: inherit;
    background: #fff;
    color: var(--lopdp-fg);
}
.lopdp-rights-form input:focus,
.lopdp-rights-form select:focus,
.lopdp-rights-form textarea:focus {
    outline: 2px solid var(--lopdp-fg);
    outline-offset: 1px;
    border-color: var(--lopdp-fg);
}
.lopdp-rights-feedback { margin-top: 10px; font-size: 13px; }
.lopdp-rights-feedback.success,
.lopdp-rights-feedback.error { color: var(--lopdp-fg); font-weight: 500; }

.lopdp-manage-cookies-btn {
    background: transparent !important;
    border: 1px solid var(--lopdp-border) !important;
    color: var(--lopdp-fg) !important;
    border-radius: 6px;
    padding: 6px 12px;
    cursor: pointer;
    font: inherit;
    font-family: var(--lopdp-font) !important;
}
.lopdp-manage-cookies-btn:hover { background: var(--lopdp-surface-2) !important; }

/* ============================================================
 * RESPONSIVE.
 * ============================================================ */
@media (max-width: 640px) {
    #lopdp-cookie-banner.lopdp-mini,
    #lopdp-consent-popup.lopdp-toast {
        left: 12px !important;
        right: 12px !important;
        bottom: 12px !important;
        width: auto !important;
        max-width: none !important;
        transform: none !important;
    }
}

/* ============================================================
 * PÁGINAS LEGALES — diseño tipográfico con fuente Outfit.
 * Contenedor scopeado para no afectar el resto del tema.
 * ============================================================ */
.lopdp-policy {
    --lopdp-policy-fg: #1f2937;
    --lopdp-policy-fg-strong: #09090b;
    --lopdp-policy-muted: #6b7280;
    --lopdp-policy-border: #e4e4e7;
    --lopdp-policy-accent: #09090b;
    --lopdp-policy-font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-family: var(--lopdp-policy-font);
    color: var(--lopdp-policy-fg);
    line-height: 1.7;
    font-size: 16px;
    padding: 3% 0 6%;
    box-sizing: border-box;
}
.lopdp-policy * { box-sizing: border-box; }
.lopdp-policy-inner {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 20px;
}
.lopdp-policy-intro {
    font-size: 1.05em !important;
    line-height: 1.65 !important;
    color: var(--lopdp-policy-fg) !important;
    margin: 0 0 2em !important;
    padding-bottom: 1.5em !important;
    border-bottom: 1px solid var(--lopdp-policy-border);
    font-family: var(--lopdp-policy-font) !important;
}
.lopdp-policy h2 {
    font-family: var(--lopdp-policy-font) !important;
    font-size: 1.8em !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    color: var(--lopdp-policy-fg-strong) !important;
    margin: 0 0 1em !important;
    letter-spacing: -0.02em !important;
}
.lopdp-policy h3 {
    font-family: var(--lopdp-policy-font) !important;
    font-size: 1.35em !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    color: var(--lopdp-policy-fg-strong) !important;
    margin: 2.5em 0 0.8em !important;
    letter-spacing: -0.01em !important;
}
.lopdp-policy h4 {
    font-family: var(--lopdp-policy-font) !important;
    font-size: 1.1em !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: var(--lopdp-policy-fg) !important;
    margin: 1.8em 0 0.6em !important;
}
.lopdp-policy p {
    margin: 0 0 1.1em !important;
    font-family: var(--lopdp-policy-font) !important;
    color: var(--lopdp-policy-fg) !important;
}
.lopdp-policy ul,
.lopdp-policy ol {
    padding-left: 1.4em !important;
    margin: 0 0 1.5em !important;
    font-family: var(--lopdp-policy-font) !important;
}
.lopdp-policy li {
    margin-bottom: 0.55em !important;
    line-height: 1.65 !important;
}
.lopdp-policy strong {
    font-weight: 600 !important;
    color: var(--lopdp-policy-fg-strong) !important;
}
.lopdp-policy em {
    font-style: italic !important;
    color: var(--lopdp-policy-muted) !important;
}
.lopdp-policy a {
    color: var(--lopdp-policy-accent) !important;
    text-decoration: underline !important;
    text-underline-offset: 2px;
    transition: opacity .15s;
}
.lopdp-policy a:hover {
    opacity: 0.7;
}
.lopdp-policy code {
    background: #f4f4f5 !important;
    color: var(--lopdp-policy-fg-strong) !important;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: 'JetBrains Mono', Menlo, monospace !important;
}
.lopdp-policy-meta {
    margin-top: 3em !important;
    padding-top: 1.5em !important;
    border-top: 1px solid var(--lopdp-policy-border);
    font-size: 0.875em !important;
    color: var(--lopdp-policy-muted) !important;
    font-style: italic !important;
    font-family: var(--lopdp-policy-font) !important;
}

/* Responsive: padding lateral menor en móvil */
@media (max-width: 640px) {
    .lopdp-policy {
        padding: 4% 0 7%;
        font-size: 15px;
    }
    .lopdp-policy-inner { padding: 0 16px; }
    .lopdp-policy h2 { font-size: 1.6em !important; }
    .lopdp-policy h3 { font-size: 1.2em !important; margin: 2em 0 0.7em !important; }
}

/* ============================================================
 * FORMULARIO ARCO+ — diseño limpio con Outfit, blindado contra el tema.
 * ============================================================ */
.lopdp-rights-form {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif !important;
    max-width: 640px;
    margin: 0 auto !important;
    padding: 3% 20px 6% !important;
    color: #1f2937 !important;
    font-size: 14.5px !important;
    line-height: 1.5 !important;
    box-sizing: border-box;
}
.lopdp-rights-form *,
.lopdp-rights-form *::before,
.lopdp-rights-form *::after {
    box-sizing: border-box;
}
.lopdp-rights-form .lopdp-field {
    margin-bottom: 18px !important;
    flex: 1;
    min-width: 0;
}
.lopdp-rights-form .lopdp-field-row {
    display: flex !important;
    gap: 14px;
    margin-bottom: 0 !important;
    flex-wrap: wrap;
}
.lopdp-rights-form .lopdp-field-row .lopdp-field {
    min-width: 200px;
    flex: 1;
}
.lopdp-rights-form label {
    display: block !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    color: #374151 !important;
    margin: 0 0 6px 0 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    text-shadow: none !important;
}
.lopdp-rights-form .lopdp-req {
    color: #9ca3af !important;
    font-weight: 400;
}
form.lopdp-rights-form input[type="text"],
form.lopdp-rights-form input[type="email"],
form.lopdp-rights-form input[type="tel"],
form.lopdp-rights-form select,
form.lopdp-rights-form textarea,
.lopdp-rights-form input[type="text"],
.lopdp-rights-form input[type="email"],
.lopdp-rights-form input[type="tel"],
.lopdp-rights-form select,
.lopdp-rights-form textarea {
    width: 100% !important;
    padding: 10px 12px !important;
    border: 1px solid #d4d4d8 !important;
    border-radius: 6px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #1f2937 !important;
    background-color: #ffffff !important;
    background-image: none !important;
    background-repeat: no-repeat !important;
    background-position: 0 0 !important;
    background-attachment: scroll !important;
    background-size: auto !important;
    box-shadow: none !important;
    text-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    margin: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    transition: border-color .15s, box-shadow .15s;
}
form.lopdp-rights-form select,
.lopdp-rights-form select {
    background-color: #ffffff !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3e%3cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 12px 8px !important;
    padding-right: 36px !important;
}
.lopdp-rights-form textarea {
    resize: vertical;
    min-height: 110px !important;
    font-family: 'Outfit', sans-serif !important;
}
.lopdp-rights-form input:focus,
.lopdp-rights-form select:focus,
.lopdp-rights-form textarea:focus {
    outline: 0 !important;
    border-color: #09090b !important;
    box-shadow: 0 0 0 3px rgba(9, 9, 11, .08) !important;
}
.lopdp-rights-form .lopdp-checkbox-row {
    display: flex !important;
    gap: 10px !important;
    align-items: flex-start !important;
    background: #fafafa !important;
    border: 1px solid #e4e4e7 !important;
    border-radius: 6px !important;
    padding: 12px 14px !important;
    margin: 8px 0 18px !important;
    cursor: pointer !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #1f2937 !important;
    font-weight: 400 !important;
}
.lopdp-rights-form .lopdp-checkbox-row input[type="checkbox"] {
    margin: 2px 0 0 0 !important;
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
    accent-color: #09090b !important;
    cursor: pointer !important;
}
.lopdp-rights-form .lopdp-checkbox-row span {
    flex: 1;
}
.lopdp-rights-form .lopdp-form-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    margin-top: 6px;
}
.lopdp-rights-form .lopdp-rf-submit {
    background: #09090b !important;
    color: #ffffff !important;
    border: 1px solid #09090b !important;
    border-radius: 6px !important;
    padding: 11px 22px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    box-shadow: none !important;
    text-shadow: none !important;
    background-image: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    transition: background-color .15s;
}
.lopdp-rights-form .lopdp-rf-submit:hover {
    background: #27272a !important;
    border-color: #27272a !important;
}
/* Slider puzzle — anti-bot visual */
.lopdp-slider {
    margin: 4px 0 18px !important;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
}
.lopdp-slider-track {
    position: relative !important;
    height: 44px !important;
    background: #f4f4f5 !important;
    border: 1px solid #e4e4e7 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    cursor: default;
}
.lopdp-slider-fill {
    position: absolute !important;
    top: 0; left: 0; bottom: 0;
    width: 0;
    background: linear-gradient(90deg, #d1fae5 0%, #6ee7b7 100%) !important;
    transition: width .1s ease;
    border-radius: 8px !important;
}
.lopdp-slider-text {
    position: absolute !important;
    inset: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #6b7280 !important;
    pointer-events: none;
    transition: opacity .15s, color .15s;
    z-index: 1;
}
.lopdp-slider-thumb {
    position: absolute !important;
    top: 2px;
    left: 2px;
    width: 38px !important;
    height: 38px !important;
    background: #09090b !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: grab !important;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
    z-index: 2;
    transition: background .15s;
}
.lopdp-slider-thumb:active { cursor: grabbing !important; }
.lopdp-slider-thumb:hover { background: #27272a !important; }

.lopdp-slider.is-verified .lopdp-slider-fill {
    width: 100% !important;
    background: linear-gradient(90deg, #d1fae5 0%, #34d399 100%) !important;
}
.lopdp-slider.is-verified .lopdp-slider-text {
    color: #14532d !important;
    font-weight: 600 !important;
}
.lopdp-slider.is-verified .lopdp-slider-thumb {
    background: #14532d !important;
    cursor: default !important;
    pointer-events: none;
}
.lopdp-slider.is-error .lopdp-slider-fill {
    background: linear-gradient(90deg, #fee2e2 0%, #fca5a5 100%) !important;
}
.lopdp-slider.is-error .lopdp-slider-text {
    color: #7f1d1d !important;
}

.lopdp-recaptcha-notice {
    font-family: 'Outfit', sans-serif !important;
    font-size: 11px !important;
    color: #9ca3af !important;
}
.lopdp-recaptcha-notice a {
    color: #6b7280 !important;
    text-decoration: underline !important;
}
.lopdp-rights-feedback {
    margin-top: 14px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    padding: 0 !important;
}
.lopdp-rights-feedback.success {
    color: #14532d !important;
    font-weight: 500 !important;
    background: #f0fdf4 !important;
    border: 1px solid #86efac !important;
    border-radius: 6px;
    padding: 12px 14px !important;
}
.lopdp-rights-feedback.error {
    color: #7f1d1d !important;
    font-weight: 500 !important;
    background: #fef2f2 !important;
    border: 1px solid #fca5a5 !important;
    border-radius: 6px;
    padding: 12px 14px !important;
}

@media (max-width: 540px) {
    .lopdp-rights-form .lopdp-field-row {
        flex-direction: column;
        gap: 0;
    }
}

/* ============================================================
 * FOOTER LEGAL — ultra discreto, al final del documento.
 * Sin fondo, sin borde, texto pequeño y gris suave.
 * ============================================================ */
#lopdp-legal-footer.lopdp-legal-footer {
    background: transparent !important;
    color: #9ca3af !important;
    border: 0 !important;
    padding: 10px 16px 14px !important;
    margin: 0 !important;
    font-family: var(--lopdp-font) !important;
    font-size: 11px !important;
    line-height: 1.5 !important;
    text-align: center;
    opacity: 0.85;
    box-shadow: none !important;
}
.lopdp-legal-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 3px 8px;
}
.lopdp-legal-footer-label {
    color: #6b7280 !important;
    margin-right: 2px;
}
#lopdp-legal-footer a {
    color: #6b7280 !important;
    text-decoration: none !important;
    font-weight: 400 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}
#lopdp-legal-footer a:hover {
    color: #1f2937 !important;
    text-decoration: underline !important;
}
#lopdp-legal-footer .lopdp-legal-sep {
    color: #d1d5db !important;
    user-select: none;
    font-size: 10px;
}
#lopdp-legal-footer .lopdp-legal-cookies-btn {
    background: transparent !important;
    border: 0 !important;
    color: #6b7280 !important;
    padding: 0 !important;
    font: inherit !important;
    font-family: var(--lopdp-font) !important;
    font-size: 11px !important;
    cursor: pointer;
    text-decoration: none !important;
    box-shadow: none !important;
    text-transform: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}
#lopdp-legal-footer .lopdp-legal-cookies-btn:hover {
    color: #1f2937 !important;
    text-decoration: underline !important;
}

@media (max-width: 640px) {
    #lopdp-legal-footer.lopdp-legal-footer {
        font-size: 10.5px !important;
        padding: 8px 12px 12px !important;
    }
    .lopdp-legal-footer-inner {
        gap: 3px 6px;
    }
}

@keyframes lopdp-mini-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
#lopdp-cookie-banner.lopdp-pos-bottom { animation-name: lopdp-mini-in-center; }
@keyframes lopdp-mini-in-center {
    from { opacity: 0; transform: translate(-50%, 8px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}
@media (prefers-reduced-motion: reduce) {
    #lopdp-cookie-banner.lopdp-mini,
    #lopdp-consent-popup.lopdp-toast { animation: none !important; }
    .lopdp-btn { transition: none !important; }
}
