/* ==========================================================================
   FEF Popup — stylesheet
   Everything is driven by CSS custom properties so the Elementor widget and
   the FEF Popups dashboard can set values without touching this file.
   Tokens (set inline on .fef-popup-box / .fef-popup-overlay):
     --fef-w --fef-max-w --fef-min-w --fef-h --fef-max-h
     --fef-radius --fef-pad --fef-bg --fef-shadow --fef-overlay --fef-z
   ========================================================================== */

/* Keep the popup shell fully hidden until JS opens it — in the editor too */
.fef-popup-overlay:not(.fef-popup-visible),
.fef-popup-sticky:not(.fef-popup-visible){
    display: none !important;
}
/* Belt-and-suspenders: never let the shell add page height in the editor */
.elementor-editor-active .fef-popup-overlay:not(.fef-popup-visible),
body[data-elementor-device-mode] .fef-popup-overlay:not(.fef-popup-visible){
    position: fixed !important;
    height: 0 !important;
    overflow: hidden !important;
}

.fef-popup-wrap {
    --fef-z: 100000;
    --fef-w: 560px;
    --fef-max-w: 92vw;
    --fef-min-w: 0px;
    --fef-h: auto;
    --fef-max-h: 88vh;
    --fef-radius: 16px;
    --fef-pad: 32px;
    --fef-bg: #ffffff;
    --fef-fg: #1a1a1a;
    --fef-shadow: 0 24px 70px -12px rgba(15, 23, 42, .45);
    --fef-overlay: rgba(15, 23, 42, .62);
    --fef-overlay-blur: 0px;
    --fef-close-size: 34px;
    --fef-close-bg: rgba(0, 0, 0, .06);
    --fef-close-fg: #333;
    --fef-accent: #2563eb;
}

/* ── Overlay (full-viewport flex host) ─────────────────────────────────── */
.fef-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: var(--fef-z);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--fef-overlay);
    -webkit-backdrop-filter: blur(var(--fef-overlay-blur));
    backdrop-filter: blur(var(--fef-overlay-blur));
    opacity: 0;
    transition: opacity .25s ease;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.fef-popup-overlay.fef-popup-visible { display: flex; opacity: 1; }
.fef-popup-overlay.fef-popup-closing { opacity: 0; }

/* ── Box ───────────────────────────────────────────────────────────────── */
.fef-popup-box {
    position: relative;
    width: var(--fef-w);
    max-width: var(--fef-max-w);
    min-width: var(--fef-min-w);
    height: var(--fef-h);
    max-height: var(--fef-max-h);
    background: var(--fef-bg);
    color: var(--fef-fg);
    border-radius: var(--fef-radius);
    box-shadow: var(--fef-shadow);
    overflow: auto;
    overscroll-behavior: contain;
    opacity: 0;
    -webkit-overflow-scrolling: touch;
}
.fef-popup-visible .fef-popup-box { opacity: 1; }

/* Glassmorphism variant */
.fef-popup-box.fef-popup-glass {
    background: rgba(255, 255, 255, .18);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, .35);
}

/* Content region (dynamic markup lands here). Padding lives here — not on the
   box — so it matches the placeable widget, which styles .fef-popup-content. */
.fef-popup-content { min-height: 24px; padding: var(--fef-pad, 24px); }
/* Bars/drawers manage their own inner spacing */
.fef-popup-pos-bar-top .fef-popup-content,
.fef-popup-pos-bar-bottom .fef-popup-content { padding: 0; }

/* ── Close button ──────────────────────────────────────────────────────── */
.fef-popup-close {
    position: absolute;
    top: 12px;
    inset-inline-end: 12px;
    width: var(--fef-close-size);
    height: var(--fef-close-size);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: var(--fef-close-bg);
    color: var(--fef-close-fg);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    z-index: 5;
    transition: transform .2s ease, background .2s ease;
}
.fef-popup-close:hover { transform: rotate(90deg); background: rgba(0, 0, 0, .12); }
.fef-popup-close:focus-visible { outline: 2px solid var(--fef-accent); outline-offset: 2px; }
.fef-popup-close i, .fef-popup-close svg { width: 1em; height: 1em; font-size: inherit; line-height: 1; }

/* ── Close-button placement ─────────────────────────────────────────────
   A class on .fef-popup-box anchors the button; --fef-close-off fine-tunes.
   Inside corners sit within the box; "outside" variants float past the edge. */
.fef-popup-box { --fef-close-off: 8px; }
.fef-popup-close-tr .fef-popup-close { top: var(--fef-close-off); inset-inline-end: var(--fef-close-off); inset-inline-start: auto; bottom: auto; }
.fef-popup-close-tl .fef-popup-close { top: var(--fef-close-off); inset-inline-start: var(--fef-close-off); inset-inline-end: auto; bottom: auto; }
.fef-popup-close-br .fef-popup-close { bottom: var(--fef-close-off); inset-inline-end: var(--fef-close-off); inset-inline-start: auto; top: auto; }
.fef-popup-close-bl .fef-popup-close { bottom: var(--fef-close-off); inset-inline-start: var(--fef-close-off); inset-inline-end: auto; top: auto; }
.fef-popup-close-tc .fef-popup-close { top: var(--fef-close-off); inset-inline-start: 50%; transform: translateX(-50%); inset-inline-end: auto; bottom: auto; }
.fef-popup-close-tc .fef-popup-close:hover { transform: translateX(-50%) rotate(90deg); }

/* Outside: lift the button just beyond the box's top edge (common on image/video popups) */
.fef-popup-close-outside { overflow: visible; }
.fef-popup-close-outside .fef-popup-close {
    top: calc(-1 * var(--fef-close-size) - 6px);
    inset-inline-end: 0;
    background: var(--fef-close-out-bg, rgba(255,255,255,.9));
    color: var(--fef-close-out-fg, #111);
}
.fef-popup-close-outside.fef-popup-close-tl .fef-popup-close { inset-inline-start: 0; inset-inline-end: auto; }

/* ── Push-down placement ────────────────────────────────────────────────
   No overlay — a full-width bar that pushes page content down/up. The engine
   sets body padding-top/bottom to the bar's height (see fef-popup.js). */
.fef-popup-pos-push-top,
.fef-popup-pos-push-bottom {
    background: transparent;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    padding: 0; pointer-events: none; overflow: visible;
}
.fef-popup-pos-push-top    { inset: 0 0 auto 0; align-items: flex-start; }
.fef-popup-pos-push-bottom { inset: auto 0 0 0; align-items: flex-end; }
.fef-popup-pos-push-top .fef-popup-box,
.fef-popup-pos-push-bottom .fef-popup-box {
    /* !important: the widget's Style → Width control writes `width:500px` on .fef-popup-box with a
       higher-specificity selector, which used to leave the bar a narrow centred box. */
    width: 100% !important; max-width: 100% !important; border-radius: 0; max-height: none;
    pointer-events: auto; box-shadow: 0 6px 24px rgba(0,0,0,.12);
}
.fef-popup-pos-push-top,
.fef-popup-pos-push-bottom { justify-content: stretch; }

/* ── Legal consent (Agree / Disagree) ─────────────────────────────────── */
.fef-gc-wrap { padding: 0 var(--fef-pad, 24px) var(--fef-pad, 24px); }
.fef-gc-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.fef-gc-btn { flex: 1 1 150px; padding: 12px 22px; border: 0; border-radius: 8px; font: inherit; font-weight: 600; cursor: pointer; transition: filter .15s ease; }
.fef-gc-btn:hover { filter: brightness(.92); }
.fef-gc-btn:focus-visible { outline: 2px solid var(--fef-accent); outline-offset: 2px; }
.fef-gc-agree, .fef-gc-no { background: #0f172a; color: #fff; }
.fef-gc-disagree, .fef-gc-yes { background: #e2e8f0; color: #0f172a; }
.fef-gc-confirm { display: none; text-align: center; }
.fef-gc-ctitle { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.fef-gc-ctext { margin: 0 0 18px; }
.fef-popup-box.fef-gc-confirming > :not(.fef-gc-wrap) { display: none !important; }
.fef-popup-box.fef-gc-confirming .fef-gc-ask { display: none; }
.fef-popup-box.fef-gc-confirming .fef-gc-confirm { display: block; }
.fef-popup-box.fef-gc-confirming .fef-gc-wrap { padding-top: var(--fef-pad, 24px); }

/* ── Trigger button (built-in) ─────────────────────────────────────────── */
.fef-popup-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

/* ==========================================================================
   PLACEMENTS  (.fef-popup-pos-*)
   ========================================================================== */
.fef-popup-pos-center        { align-items: center;      justify-content: center; }
.fef-popup-pos-top-left      { align-items: flex-start;  justify-content: flex-start; }
.fef-popup-pos-top-center    { align-items: flex-start;  justify-content: center; }
.fef-popup-pos-top-right     { align-items: flex-start;  justify-content: flex-end; }
.fef-popup-pos-middle-left   { align-items: center;      justify-content: flex-start; }
.fef-popup-pos-middle-right  { align-items: center;      justify-content: flex-end; }
.fef-popup-pos-bottom-left   { align-items: flex-end;    justify-content: flex-start; }
.fef-popup-pos-bottom-center { align-items: flex-end;    justify-content: center; }
.fef-popup-pos-bottom-right  { align-items: flex-end;    justify-content: flex-end; }
/* Edge-centred placements (widget "Top / Bottom / Left / Right Center") — these had no
   alignment rule, so they fell back to the overlay's default and stayed in the middle. */
.fef-popup-pos-top           { align-items: flex-start;  justify-content: center; }
.fef-popup-pos-bottom        { align-items: flex-end;    justify-content: center; }
.fef-popup-pos-left          { align-items: center;      justify-content: flex-start; }
.fef-popup-pos-right         { align-items: center;      justify-content: flex-end; }

/* Edge & corner placements sit FLUSH to the viewport edge.
   The centered "Center" and "Full Screen" placements keep the overlay's
   default 20px breathing room; every edge/corner placement instead uses
   --fef-edge-gap, which defaults to 0 (flush) and is exposed as an
   "Edge Gap" control in the widget so a gap can be dialled back in. */
.fef-popup-pos-top,
.fef-popup-pos-bottom,
.fef-popup-pos-left,
.fef-popup-pos-right,
.fef-popup-pos-top-left,
.fef-popup-pos-top-center,
.fef-popup-pos-top-right,
.fef-popup-pos-middle-left,
.fef-popup-pos-middle-right,
.fef-popup-pos-bottom-left,
.fef-popup-pos-bottom-center,
.fef-popup-pos-bottom-right {
    padding: var(--fef-edge-gap, 0px);
}

/* Slide-in panels (edge-pinned, no overlay padding) */
.fef-popup-pos-slide-left,
.fef-popup-pos-slide-right   { padding: 0; align-items: stretch; }
.fef-popup-pos-slide-left    { justify-content: flex-start; }
.fef-popup-pos-slide-right   { justify-content: flex-end; }
.fef-popup-pos-slide-left  .fef-popup-box,
.fef-popup-pos-slide-right .fef-popup-box {
    height: 100%; max-height: 100vh; border-radius: 0; width: var(--fef-w, 420px);
}

.fef-popup-pos-slide-top,
.fef-popup-pos-slide-bottom  { padding: 0; }
.fef-popup-pos-slide-top     { align-items: flex-start; justify-content: center; }
.fef-popup-pos-slide-bottom  { align-items: flex-end;   justify-content: center; }
.fef-popup-pos-slide-top    .fef-popup-box,
.fef-popup-pos-slide-bottom .fef-popup-box { width: 100vw !important; max-width: 100vw !important; border-radius: 0; }

/* Notification bars (full-width) */
.fef-popup-pos-bar-top,
.fef-popup-pos-bar-bottom {
    padding: 0; align-items: stretch; background: transparent; backdrop-filter: none;
}
.fef-popup-pos-bar-top    { justify-content: stretch; }
.fef-popup-pos-bar-bottom { align-items: flex-end; }
.fef-popup-pos-bar-top    .fef-popup-box,
.fef-popup-pos-bar-bottom .fef-popup-box {
    width: 100%; max-width: 100%; border-radius: 0; padding: 14px 24px;
    display: flex; align-items: center; gap: 16px; max-height: none;
}

/* Side drawers (edge, full height, own overlay) */
.fef-popup-pos-drawer-left,
.fef-popup-pos-drawer-right { padding: 0; align-items: stretch; }
.fef-popup-pos-drawer-left  { justify-content: flex-start; }
.fef-popup-pos-drawer-right { justify-content: flex-end; }
.fef-popup-pos-drawer-left  .fef-popup-box,
.fef-popup-pos-drawer-right .fef-popup-box {
    height: 100vh; max-height: 100vh; border-radius: 0; width: min(var(--fef-w, 460px), 100vw);
}

/* Fullscreen */
.fef-popup-pos-fullscreen { padding: 0; }
.fef-popup-pos-fullscreen .fef-popup-box {
    width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; border-radius: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}

/* ==========================================================================
   BACKWARD-COMPAT LAYER — FEF_Popup_Widget markup
   The placeable widget emits legacy classes (single-word placements, panel
   mode, sticky positions). These rules keep placed widgets working with the
   new class-based engine. Dynamic popups use the vocabulary above.
   ========================================================================== */

/* Single-word placements */
.fef-popup-pos-top    { align-items: flex-start; justify-content: center; }
.fef-popup-pos-bottom { align-items: flex-end;   justify-content: center; }
.fef-popup-pos-left   { align-items: center;     justify-content: flex-start; }
.fef-popup-pos-right  { align-items: center;     justify-content: flex-end; }

/* Panel mode (edge-attached, full-height sides / full-width top-bottom) */
.fef-popup-panel        { padding: 0; align-items: stretch; }
.fef-popup-panel-left   { justify-content: flex-start; }
.fef-popup-panel-right  { justify-content: flex-end; }
.fef-popup-panel-left  .fef-popup-box,
.fef-popup-panel-right .fef-popup-box { height: 100vh; max-height: 100vh; border-radius: 0; margin: 0; }
.fef-popup-panel-top    { align-items: flex-start; justify-content: center; }
.fef-popup-panel-bottom { align-items: flex-end;   justify-content: center; }
.fef-popup-panel-top   .fef-popup-box,
.fef-popup-panel-bottom .fef-popup-box { width: 100vw; max-width: 100vw; border-radius: 0; max-height: 80vh; }

/* Sticky container (fixed, no overlay) */
.fef-popup-sticky {
    position: fixed;
    z-index: var(--fef-z);
    display: none;
    --popup-offset-x: 16px;
    --popup-offset-y: 16px;
    max-width: var(--fef-max-w);
}
.fef-popup-sticky.fef-popup-visible { display: block; }
.fef-popup-sticky .fef-popup-box,
.fef-popup-sticky .fef-popup-box-sticky { box-shadow: var(--fef-shadow); }
.fef-popup-sticky-top-left     { top: var(--popup-offset-y); left: var(--popup-offset-x); }
.fef-popup-sticky-top-center   { top: var(--popup-offset-y); left: 50%; transform: translateX(-50%); }
.fef-popup-sticky-top-right    { top: var(--popup-offset-y); right: var(--popup-offset-x); }
.fef-popup-sticky-center-left  { top: 50%; left: var(--popup-offset-x); transform: translateY(-50%); }
.fef-popup-sticky-center-right { top: 50%; right: var(--popup-offset-x); transform: translateY(-50%); }
.fef-popup-sticky-bottom-left  { bottom: var(--popup-offset-y); left: var(--popup-offset-x); }
.fef-popup-sticky-bottom-center{ bottom: var(--popup-offset-y); left: 50%; transform: translateX(-50%); }
.fef-popup-sticky-bottom-right { bottom: var(--popup-offset-y); right: var(--popup-offset-x); }

/* ==========================================================================
   LOADERS
   ========================================================================== */
.fef-popup-spinner {
    width: 42px; height: 42px; margin: 40px auto; border-radius: 50%;
    border: 3px solid rgba(0, 0, 0, .1); border-top-color: var(--fef-accent);
    animation: fefSpin .8s linear infinite;
}
@keyframes fefSpin { to { transform: rotate(360deg); } }

.fef-popup-skeleton { display: grid; gap: 12px; padding: 12px 0; }
.fef-popup-skeleton span {
    height: 14px; border-radius: 7px;
    background: linear-gradient(90deg, #eee 25%, #f5f5f5 37%, #eee 63%);
    background-size: 400% 100%; animation: fefShimmer 1.4s ease infinite;
}
.fef-popup-skeleton span:nth-child(1) { width: 60%; height: 22px; }
.fef-popup-skeleton span.sk-wide { width: 100%; height: 120px; }
@keyframes fefShimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

.fef-popup-progress { height: 4px; background: rgba(0, 0, 0, .08); border-radius: 4px; overflow: hidden; margin: 24px 0; }
.fef-popup-progress span { display: block; height: 100%; width: 40%; background: var(--fef-accent); animation: fefProgress 1.1s ease-in-out infinite; }
@keyframes fefProgress { 0% { margin-left: -40%; } 100% { margin-left: 100%; } }

.fef-popup-error {
    padding: 22px; text-align: center; color: #b91c1c;
    background: #fef2f2; border: 1px solid #fecaca; border-radius: 10px;
}

/* ==========================================================================
   ANIMATION KEYFRAMES  (CSS fallback when GSAP is absent)
   ========================================================================== */
@keyframes fefFadeIn      { from { opacity: 0; } to { opacity: 1; } }
@keyframes fefFadeOut     { from { opacity: 1; } to { opacity: 0; } }
@keyframes fefZoomIn      { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: scale(1); } }
@keyframes fefZoomOut     { from { opacity: 1; transform: scale(1); }  to  { opacity: 0; transform: scale(.82); } }
@keyframes fefScaleIn     { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
@keyframes fefScaleOut    { from { opacity: 1; transform: scale(1); }  to  { opacity: 0; transform: scale(.94); } }
@keyframes fefSlideInUp   { from { opacity: 0; transform: translateY(60px); }  to { opacity: 1; transform: translateY(0); } }
@keyframes fefSlideInDown { from { opacity: 0; transform: translateY(-60px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fefSlideInLeft { from { opacity: 0; transform: translateX(-100%); } to { opacity: 1; transform: translateX(0); } }
@keyframes fefSlideInRight{ from { opacity: 0; transform: translateX(100%); }  to { opacity: 1; transform: translateX(0); } }
@keyframes fefSlideOutUp   { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-60px); } }
@keyframes fefSlideOutDown { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(60px); } }
@keyframes fefSlideOutLeft { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(-100%); } }
@keyframes fefSlideOutRight{ from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(100%); } }
@keyframes fefBounceIn {
    0% { opacity: 0; transform: scale(.3); }
    50% { opacity: 1; transform: scale(1.05); }
    70% { transform: scale(.96); }
    100% { opacity: 1; transform: scale(1); }
}
@keyframes fefFlipIn {
    from { opacity: 0; transform: perspective(800px) rotateX(-90deg); }
    to   { opacity: 1; transform: perspective(800px) rotateX(0); }
}

/* Body scroll lock */
body.fef-popup-no-scroll { position: fixed; width: 100%; overflow: hidden; }

/* ==========================================================================
   DARK MODE  (opt-in via .fef-popup-dark on the wrap, or OS preference on
   dynamic popups tagged .fef-popup-auto-dark)
   ========================================================================== */
.fef-popup-wrap.fef-popup-dark {
    --fef-bg: #16181d; --fef-fg: #e8eaed;
    --fef-close-bg: rgba(255, 255, 255, .1); --fef-close-fg: #e8eaed;
    --fef-shadow: 0 24px 70px -12px rgba(0, 0, 0, .7);
}
@media (prefers-color-scheme: dark) {
    .fef-popup-wrap.fef-popup-auto-dark {
        --fef-bg: #16181d; --fef-fg: #e8eaed;
        --fef-close-bg: rgba(255, 255, 255, .1); --fef-close-fg: #e8eaed;
    }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .fef-popup-wrap { --fef-pad: 26px; }
}
@media (max-width: 767px) {
    .fef-popup-wrap { --fef-max-w: 94vw; --fef-pad: 20px; --fef-radius: 14px; --fef-max-h: 90vh; }
    .fef-popup-overlay { padding: 12px; }

    /* Slide/side/drawer panels become full width on phones */
    .fef-popup-pos-slide-left  .fef-popup-box,
    .fef-popup-pos-slide-right .fef-popup-box,
    .fef-popup-pos-drawer-left  .fef-popup-box,
    .fef-popup-pos-drawer-right .fef-popup-box { width: 100vw; }

    /* Bottom-sheet feel: bottom-anchored popups stretch full width with a grab radius */
    .fef-popup-pos-bottom-center .fef-popup-box,
    .fef-popup-pos-bottom-left   .fef-popup-box,
    .fef-popup-pos-bottom-right  .fef-popup-box,
    .fef-popup-pos-slide-bottom  .fef-popup-box {
        width: 100vw; max-width: 100vw; border-radius: 18px 18px 0 0;
    }
    .fef-popup-pos-bottom-center, .fef-popup-pos-slide-bottom { padding: 0; }

    /* Notification bars wrap their contents */
    .fef-popup-pos-bar-top .fef-popup-box,
    .fef-popup-pos-bar-bottom .fef-popup-box { flex-wrap: wrap; padding: 12px 16px; }

    .fef-popup-close { top: 8px; inset-inline-end: 8px; }
}
@media (max-width: 480px) {
    .fef-popup-wrap { --fef-pad: 16px; }
}

/* Landscape phones: cap height so content stays reachable */
@media (max-height: 460px) and (orientation: landscape) {
    .fef-popup-wrap { --fef-max-h: 96vh; }
}

/* ==========================================================================
   RTL
   ========================================================================== */
[dir="rtl"] .fef-popup-close { transform: none; }
[dir="rtl"] .fef-popup-close:hover { transform: rotate(-90deg); }

/* ==========================================================================
   ACCESSIBILITY — reduced motion & focus
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .fef-popup-overlay, .fef-popup-box, .fef-popup-close { transition: none !important; animation: none !important; }
    .fef-popup-spinner, .fef-popup-skeleton span, .fef-popup-progress span { animation-duration: 2s; }
}
.fef-popup-box :focus-visible { outline: 2px solid var(--fef-accent); outline-offset: 2px; }

/* High-contrast preference */
@media (forced-colors: active) {
    .fef-popup-box { border: 1px solid CanvasText; }
    .fef-popup-close { border: 1px solid CanvasText; }
}
/* ==========================================================================
   "HIDE THIS POPUP" DISMISS LINK  (FEF_Popup_Widget)
   A small text link that, when clicked, suppresses this popup for the rest
   of the browser session — overriding the frequency cap. See fef-popup.js
   (Frequency dismiss flag). Styling is driven by per-widget CSS vars.
   ========================================================================== */
.fef-popup-hide-row {
    display: flex;
    padding: 10px 24px 16px;
    justify-content: var(--fef-hide-justify, center);
}
.fef-popup-hide-link {
    appearance: none;
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    font: inherit;
    font-size: var(--fef-hide-size, 13px);
    line-height: 1.4;
    cursor: pointer;
    color: var(--fef-hide-color, #64748b);
    text-decoration: var(--fef-hide-underline, none);
    text-underline-offset: 2px;
    transition: color .15s ease;
}
.fef-popup-hide-link:hover,
.fef-popup-hide-link:focus-visible {
    color: var(--fef-hide-color-hover, #0f172a);
}
.fef-popup-hide-link:focus-visible { outline: 2px solid var(--fef-accent); outline-offset: 2px; }
/* Bars/drawers/pushdown keep the link snug against their own inner spacing */
.fef-popup-pos-bar-top .fef-popup-hide-row,
.fef-popup-pos-bar-bottom .fef-popup-hide-row,
.fef-popup-box-push .fef-popup-hide-row { padding: 6px 16px; }