.bgfep-root{--bgfep-btn-bg:#062855;--bgfep-btn-color:#fff;--bgfep-hover-bg:#e50065;--bgfep-hover-color:#fff;--bgfep-panel-bg:#fff;--bgfep-overlay:#071a36;--bgfep-opacity:.65;--bgfep-offset:24px;--bgfep-width:88vw;--bgfep-height:92vh;--bgfep-btn-radius:12px;--bgfep-btn-pad:15px;--bgfep-panel-radius:16px}
.bgfep-trigger{position:fixed;z-index:999980;display:flex;align-items:center;gap:9px;background:var(--bgfep-btn-bg);color:var(--bgfep-btn-color);border:0;border-radius:var(--bgfep-btn-radius);padding:var(--bgfep-btn-pad);font:600 14px/1.3 inherit;cursor:pointer;transition:transform .25s,background .25s,color .25s,box-shadow .25s;max-width:220px}
.bgfep-right .bgfep-trigger{right:var(--bgfep-offset)}.bgfep-left .bgfep-trigger{left:var(--bgfep-offset)}.bgfep-top .bgfep-trigger{top:calc(var(--bgfep-offset) + 80px)}.bgfep-middle .bgfep-trigger{top:50%;transform:translateY(-50%)}.bgfep-bottom .bgfep-trigger{bottom:var(--bgfep-offset)}
.bgfep-trigger:hover{background:var(--bgfep-hover-bg);color:var(--bgfep-hover-color)}.bgfep-hover-lift:not(.bgfep-middle) .bgfep-trigger:hover{transform:translateY(-5px)}.bgfep-hover-lift.bgfep-middle .bgfep-trigger:hover{transform:translateY(calc(-50% - 5px))}.bgfep-hover-scale:not(.bgfep-middle) .bgfep-trigger:hover{transform:scale(1.06)}.bgfep-hover-scale.bgfep-middle .bgfep-trigger:hover{transform:translateY(-50%) scale(1.06)}.bgfep-hover-glow .bgfep-trigger:hover{box-shadow:0 0 24px var(--bgfep-hover-bg)}.bgfep-btn-shadow .bgfep-trigger{box-shadow:0 7px 25px #071a3633}.bgfep-trigger-icon{display:inline-flex;align-items:center;justify-content:center}.bgfep-trigger-icon:empty{display:none}
.bgfep-overlay{position:fixed;inset:0;z-index:999990;background:var(--bgfep-overlay);opacity:0;visibility:hidden;transition:opacity .35s,visibility .35s;pointer-events:none}.bgfep-root.bgfep-open .bgfep-overlay{opacity:var(--bgfep-opacity);visibility:visible;pointer-events:auto}
.bgfep-panel{position:fixed;z-index:999991;top:50%;left:50%;width:min(var(--bgfep-width),100vw);height:min(var(--bgfep-height),100dvh);background:var(--bgfep-panel-bg);border-radius:var(--bgfep-panel-radius);overflow:hidden;visibility:hidden;opacity:0;pointer-events:none;transform:translate(-50%,-50%) scale(.97);transition:transform .35s ease,opacity .35s ease,visibility .35s;box-sizing:border-box}.bgfep-panel-shadow .bgfep-panel{box-shadow:0 25px 90px #0004}.bgfep-anim-slide.bgfep-right .bgfep-panel{transform:translate(25%,-50%)}.bgfep-anim-slide.bgfep-left .bgfep-panel{transform:translate(-125%,-50%)}.bgfep-anim-fade .bgfep-panel{transform:translate(-50%,-50%)}.bgfep-root.bgfep-open .bgfep-panel{visibility:visible;opacity:1;pointer-events:auto;transform:translate(-50%,-50%)}
.bgfep-content{height:100%;overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box}.bgfep-close{position:absolute;z-index:20;top:12px;right:14px;width:42px;height:42px;border:0;border-radius:50%;background:#062855;color:#fff;font-size:29px;line-height:1;cursor:pointer;display:grid;place-items:center;transition:background .2s,transform .2s}.bgfep-close:hover{background:#e50065;transform:rotate(90deg)}.bgfep-root.bgfep-open .bgfep-trigger{visibility:hidden;pointer-events:none}.bgfep-trigger:focus-visible,.bgfep-close:focus-visible{outline:3px solid #36baf4;outline-offset:3px}
@media(max-width:767px){.bgfep-hide-mobile{display:none}.bgfep-panel{width:100vw;height:100dvh;border-radius:0}.bgfep-trigger{font-size:12px;padding:10px;max-width:160px}.bgfep-close{top:8px;right:8px}}
@media(prefers-reduced-motion:reduce){.bgfep-root *{transition:none!important}}

/* v1.0.1: aislamiento del backdrop, estado cerrado y compatibilidad con estilos del tema */
html body .bgfep-root:not(.bgfep-open) > .bgfep-overlay{opacity:0!important;visibility:hidden!important;pointer-events:none!important;display:none!important}
html body .bgfep-root:not(.bgfep-open) > .bgfep-panel{opacity:0!important;visibility:hidden!important;pointer-events:none!important;display:none!important}
html body .bgfep-root.bgfep-open > .bgfep-overlay{display:block!important;position:fixed!important;inset:0!important;background:var(--bgfep-overlay,#071a36)!important;opacity:var(--bgfep-opacity,.65)!important;visibility:visible!important;z-index:2147483000!important}
html body .bgfep-root.bgfep-open > .bgfep-panel{display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;z-index:2147483001!important}
html body .bgfep-root > .bgfep-trigger{position:fixed!important;display:flex!important;visibility:visible;z-index:2147482999!important;font-family:inherit!important;line-height:1.3!important}
html body .bgfep-root.bgfep-open > .bgfep-trigger{visibility:hidden!important;pointer-events:none!important}
.bgfep-placeholder{padding:70px 35px;text-align:center;color:#062855;font-family:inherit}.bgfep-placeholder h2{margin-bottom:16px}

/* v1.0.2: pestaña VERTICAL adherida al borde; sin interferencia con estilos Elementor */
html body .bgfep-root.bgfep-right > .bgfep-trigger{right:0!important;left:auto!important;border-radius:12px 0 0 12px!important;writing-mode:vertical-rl!important;transform:translateY(-50%)!important;top:50%!important;bottom:auto!important;max-width:none!important;flex-direction:row!important;min-height:140px;gap:10px}
html body .bgfep-root.bgfep-left > .bgfep-trigger{left:0!important;right:auto!important;border-radius:0 12px 12px 0!important;writing-mode:vertical-rl!important;transform:translateY(-50%) rotate(180deg)!important;top:50%!important;bottom:auto!important;max-width:none!important;min-height:140px;gap:10px}
html body .bgfep-root.bgfep-top > .bgfep-trigger{top:20%!important}html body .bgfep-root.bgfep-bottom > .bgfep-trigger{top:80%!important}
html body .bgfep-root > .bgfep-trigger:hover{filter:brightness(1.1)}
html body .bgfep-root.bgfep-hover-scale > .bgfep-trigger:hover{scale:1.06}html body .bgfep-root.bgfep-hover-lift > .bgfep-trigger:hover{translate:-3px 0}
html body .bgfep-root > .bgfep-trigger .bgfep-trigger-icon{writing-mode:horizontal-tb;flex:none}
html body .bgfep-root > .bgfep-trigger .bgfep-trigger-icon svg{display:block}
html body .bgfep-root .bgfep-template-frame{display:block;width:100%;height:100%;border:0;background:transparent}
html body .bgfep-root .bgfep-content{height:100%;padding:0;overflow:hidden}

/* v1.0.3: estados normal y hover separados, sin filtro que altere el color configurado */
html body .bgfep-root > .bgfep-trigger,
html body .bgfep-root > .bgfep-trigger:not(:hover){background-color:var(--bgfep-btn-bg,#062855)!important;color:var(--bgfep-btn-color,#fff)!important;background-image:none!important;opacity:1!important;}
html body .bgfep-root > .bgfep-trigger:hover,
html body .bgfep-root > .bgfep-trigger:focus-visible{background-color:var(--bgfep-hover-bg,#e50065)!important;color:var(--bgfep-hover-color,#fff)!important;background-image:none!important;filter:none!important;}
html body.bgfep-external-popup-open .bgfep-root.bgfep-hide-in-popups > .bgfep-trigger{display:none!important;visibility:hidden!important;pointer-events:none!important;}
/* CSS de respaldo para popups Elementor, incluso antes de inicializar JavaScript */
@supports selector(body:has(.elementor-popup-modal[style*="display: block"])){
 html body:has(.elementor-popup-modal[style*="display: block"]) .bgfep-root.bgfep-hide-in-popups > .bgfep-trigger{display:none!important;}
}
