/* ================================================================
   FEF SEARCH WIDGET — Styles
   ================================================================ */
.fef-search-wrap { position: relative; display: inline-block; width: 100%; }

/* ── Search Bar ── */
.fef-search-bar {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: visible;
    transition: border-color 0.2s, box-shadow 0.2s;
    position: relative;
}
/* ── Input ── */
.fef-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 15px;
    padding: 12px 16px;
    color: #1e293b;
    min-width: 0;
    width: 100%;
}
.fef-search-input::placeholder { color: #94a3b8 !important; opacity: 1 !important; }
/* Placeholder horizontal/vertical offset via CSS vars set by Elementor */
.fef-search-input {
    --fef-ph-pad-h: 0px;
    --fef-ph-pad-v: 0px;
    text-indent: var(--fef-ph-pad-h);
}
/* Vertical offset uses a pseudo-technique: we shift the entire input's padding-top */
/* Since ::placeholder can't have its own padding, we use the input's text-indent for horizontal */

/* ── Input Icon — overlaps input ── */
.fef-search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 16px;
    flex-shrink: 0;
    z-index: 2;
    pointer-events: none;
    position: absolute;
    top: 0 !important;
    bottom: 0 !important;
    height: 100% !important;
    box-sizing: border-box;
    position: absolute !important;
    margin: 0 !important;
    transform: none !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}
.fef-search-icon > i,
.fef-search-icon > svg {
    display: block;
    flex: none;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1;
    vertical-align: middle;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}
.fef-search-icon > svg { width: 1em; height: 1em; }
.fef-search-icon-left { left: 12px; }
.fef-search-icon-right { right: 12px; }
/* When icon is left, push input text right to avoid overlap */
.fef-search-bar:has(.fef-search-icon-left) .fef-search-input { padding-left: 40px; }
/* When icon is right and no button, push input text left */
.fef-search-bar:has(.fef-search-icon-right) .fef-search-input { padding-right: 40px; }

/* ── Search Button ── */
.fef-search-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 20px;
    height: 100%;
    background: #1e293b;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.2s;
}
.fef-search-btn:hover { background: #334155; }
.fef-search-btn i { font-size: 14px; }

/* ── Icon Trigger (Icon-only mode) ── */
.fef-search-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    color: #1e293b;
    font-size: 18px;
    transition: all 0.2s;
    --fef-trig-x: 0px;
    --fef-trig-y: 0px;
    transform: translate(var(--fef-trig-x), var(--fef-trig-y));
    padding: 0;
    line-height: 0;
    box-sizing: border-box;
}
.fef-search-trigger:focus,
.fef-search-trigger:focus-visible,
.fef-search-trigger > i,
.fef-search-trigger > svg {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}
.fef-search-trigger > i,
.fef-search-trigger > svg {
    display: block;
    flex: none;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1;
    vertical-align: middle;
}
.fef-search-trigger > svg { width: 1em; height: 1em; }
.fef-search-trigger:hover { background: #e2e8f0; }

/* ── Elementor Editor — dropdown shows on trigger click ── */
.fef-search-editor .fef-search-dd-editor { position: relative; }
.fef-search-expand {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 9999;
    width: 380px;
    margin-top: 8px;
    animation: fefSearchExpand 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes fefSearchExpand {
    from { opacity: 0; transform: translateY(-8px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Dropdown ── */
.fef-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    max-height: 420px;
    overflow-y: auto;
    margin-top: -1px;
}
.fef-search-dropdown::-webkit-scrollbar { width: 5px; }
.fef-search-dropdown::-webkit-scrollbar-track { background: #f8fafc; }
.fef-search-dropdown::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }

/* ── Loading ── */
.fef-search-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #94a3b8;
    font-size: 13px;
    gap: 8px;
}
.fef-search-loading .fef-search-spinner {
    width: 16px; height: 16px;
    border: 2px solid #e2e8f0;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: fefSearchSpin 0.6s linear infinite;
}
@keyframes fefSearchSpin { to { transform: rotate(360deg); } }

/* ── Result Item ── */
.fef-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.1s;
    text-decoration: none;
    color: inherit;
}
.fef-search-item:last-child { border-bottom: none; }
.fef-search-item:hover { background: #f8fafc; }

/* Thumbnail */
.fef-search-item-thumb {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fef-search-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.fef-search-item-thumb-placeholder {
    color: #cbd5e1;
    font-size: 18px;
}

/* Content */
.fef-search-item-content {
    flex: 1;
    min-width: 0;
}
.fef-search-item-title {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fef-search-item-title mark {
    background: #fef3c7;
    color: inherit;
    padding: 0 1px;
    border-radius: 2px;
}
.fef-search-item-excerpt {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fef-search-item-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 3px;
}

/* Type Badge */
.fef-search-item-type {
    display: inline-block;
    padding: 1px 6px;
    font-size: 10px;
    font-weight: 600;
    border-radius: 3px;
    background: #eff6ff;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Price */
.fef-search-item-price {
    font-size: 13px;
    font-weight: 700;
    color: #059669;
}
.fef-search-item-price del {
    color: #94a3b8;
    font-weight: 400;
    font-size: 11px;
    margin-right: 4px;
}

/* ── Add to Cart Button — see the THEME ISOLATION block at the end of this file ── */

/* ── View All Link ── */
.fef-search-view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #3b82f6;
    border-top: 1px solid #e2e8f0;
    cursor: pointer;
    transition: background 0.1s;
    text-decoration: none;
}
.fef-search-view-all:hover { background: #f8fafc; }
.fef-search-view-all i { margin-left: 6px; font-size: 11px; }
/* Sticky "View All" button — pinned to the bottom of the scrolling list */
.fef-search-view-all.fef-search-va-sticky {
    position: sticky;
    bottom: 0;
    z-index: 3;
    background: #fff;
    box-shadow: 0 -2px 6px rgba(0,0,0,0.06);
}

/* ── Enquiry Basket shown INSIDE the dropdown / drawer ──
   The page's FEF Enquiry Basket widget is moved in here while shown (in its own inline "page"
   look); these overrides only undo its drawer / popup positioning, never its colors or fonts. */
.fef-search-basket-host { display: block; }
.fef-search-basket-host > .elementor-element,
.fef-search-basket-host > .elementor-widget {
    display: block !important; position: static !important; top: auto !important;
    width: 100% !important; max-width: 100% !important; margin: 0 !important; transform: none !important;
}
.fef-search-basket-host .fef-basket-inline-mounted .fef-basket-overlay { display: none !important; }
.fef-search-basket-host .fef-basket-inline-mounted .fef-basket-panel {
    position: relative !important; inset: auto !important; transform: none !important;
    visibility: visible !important; opacity: 1 !important; pointer-events: auto !important;
    width: 100% !important; max-width: 100% !important; height: auto !important; max-height: none !important;
    box-shadow: none !important; z-index: auto !important;
}

.fef-search-enq-form-back.fef-search-enq-form-back.fef-search-enq-form-back,
.fef-search-bk-back-basket.fef-search-bk-back-basket.fef-search-bk-back-basket {
    -webkit-appearance: none; appearance: none; box-sizing: border-box;
    display: block; width: 100%; margin: 0; padding: 10px 14px;
    background: none; border: 0; border-bottom: 1px solid #f1f5f9; border-radius: 0; box-shadow: none;
    color: #3b82f6; font: inherit; font-size: 13px; font-weight: 500; line-height: 1.3;
    text-align: left; text-transform: none; cursor: pointer;
}
.fef-search-enq-form-back.fef-search-enq-form-back:hover,
.fef-search-bk-back-basket.fef-search-bk-back-basket:hover { background: #f8fafc; color: #2563eb; }
.fef-search-enq-form-embed { padding: 4px 14px 14px; }

/* built-in list (no FEF Enquiry Basket widget on the page) */
.fef-search-bk { padding: 0 0 10px; }
.fef-search-bk-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px 8px; font-size: 14px; font-weight: 700; color: #1e293b; }
.fef-search-bk-count { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px; background: #1e293b; color: #fff; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.fef-search-bk-list { list-style: none; margin: 0; padding: 0; }
.fef-search-bk-row { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-bottom: 1px solid #f1f5f9; }
.fef-search-bk-thumb { width: 40px; height: 40px; border-radius: 6px; overflow: hidden; flex-shrink: 0; background: #f1f5f9; }
.fef-search-bk-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fef-search-bk-name { flex: 1; min-width: 0; font-size: 13px; color: #1e293b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fef-search-bk-name a { color: inherit; text-decoration: none; }
.fef-search-bk-name a:hover { color: #2563eb; }
.fef-search-bk-qty { display: inline-flex; align-items: center; flex-shrink: 0; border: 1px solid #e2e8f0; border-radius: 6px; overflow: hidden; }
.fef-search-bk-val { min-width: 26px; text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.fef-search-bk-minus.fef-search-bk-minus.fef-search-bk-minus,
.fef-search-bk-plus.fef-search-bk-plus.fef-search-bk-plus,
.fef-search-bk-remove.fef-search-bk-remove.fef-search-bk-remove,
.fef-search-bk-proceed.fef-search-bk-proceed.fef-search-bk-proceed {
    -webkit-appearance: none; appearance: none; box-sizing: border-box; margin: 0;
    border: 0; border-radius: 0; box-shadow: none; text-shadow: none; text-transform: none;
    font: inherit; line-height: 1; cursor: pointer; min-width: 0; min-height: 0;
}
.fef-search-bk-minus.fef-search-bk-minus.fef-search-bk-minus,
.fef-search-bk-plus.fef-search-bk-plus.fef-search-bk-plus { width: 26px; height: 26px; padding: 0; background: #f8fafc; color: #334155; font-size: 15px; }
.fef-search-bk-minus.fef-search-bk-minus:hover,
.fef-search-bk-plus.fef-search-bk-plus:hover { background: #e2e8f0; }
.fef-search-bk-remove.fef-search-bk-remove.fef-search-bk-remove { width: 26px; height: 26px; padding: 0; background: none; color: #94a3b8; font-size: 20px; flex-shrink: 0; }
.fef-search-bk-remove.fef-search-bk-remove:hover { color: #dc2626; }
.fef-search-bk-empty { padding: 24px 14px; text-align: center; color: #94a3b8; font-size: 13px; }
.fef-search-bk-foot { padding: 12px 14px 4px; }
.fef-search-bk-proceed.fef-search-bk-proceed.fef-search-bk-proceed { display: block; width: 100%; padding: 11px 14px; border-radius: 6px; background: #1e293b; color: #fff; font-size: 14px; font-weight: 600; }
.fef-search-bk-proceed.fef-search-bk-proceed:hover { background: #334155; }

/* ── No Results ── */
.fef-search-no-results {
    padding: 24px 16px;
    text-align: center;
    color: #94a3b8;
    font-size: 13px;
}
.fef-search-no-results i {
    display: block;
    font-size: 28px;
    margin-bottom: 8px;
    color: #cbd5e1;
}

/* ── Group Headers (when multiple sources) ── */
.fef-search-group-header {
    padding: 6px 14px;
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    position: sticky;
    top: 0;
    z-index: 1;
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .fef-search-expand { width: calc(100vw - 32px); right: -16px; }
    .fef-search-btn span { display: none; }
}

/* ── Mobile: collapse Full bar to icon (opt-in, "full_mobile_collapse") ──
   Reuses .fef-search-trigger / .fef-search-expand from the Icon-Expand
   layout, but neutralized to look like the normal inline bar by default —
   fef-search.js adds/removes -mobile via matchMedia against the widget's
   own configurable breakpoint, so this never depends on a hardcoded
   @media width. */
.fef-search-mobicollapse .fef-search-trigger { display: none; }
.fef-search-mobicollapse .fef-search-expand { position: static; width: 100%; margin-top: 0; animation: none; }
.fef-search-mobicollapse-mobile .fef-search-trigger { display: flex; }
.fef-search-mobicollapse-mobile .fef-search-expand { position: absolute; top: 100%; right: 0; width: 380px; margin-top: 8px; animation: fefSearchExpand 0.25s cubic-bezier(0.4, 0, 0.2, 1); }

/* ── Voice Button ── */
.fef-search-voice-btn{background:none;border:none;color:#999;cursor:pointer;font-size:18px;padding:6px;transition:color .2s;flex-shrink:0;display:flex;align-items:center}
.fef-search-voice-btn:hover{color:#c62828}
.fef-search-voice-btn.recording{color:#c62828;animation:fefVoicePulse 1s ease infinite}
.fef-search-voice-inside{position:relative;z-index:2}
.fef-search-voice-outside{margin-left:8px}
.fef-search-voice-outside_left{order:-1;margin-left:0;margin-right:8px}
@keyframes fefVoicePulse{0%,100%{transform:scale(1)}50%{transform:scale(1.15)}}

/* ── Chips ── */
.fef-search-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.fef-search-chip{display:inline-flex;align-items:center;padding:4px 12px;background:#f0f0f0;border-radius:14px;font-size:13px;color:#333;text-decoration:none;cursor:pointer;transition:all .15s}
.fef-search-chip:hover{background:#e0e0e0}

/* ── Typewriter ── */
.fef-search-input[data-fef-typewriter]::placeholder{color:transparent !important}
.fef-search-typewriter-text{
    --fef-tw-pad-l:16px;
    --fef-tw-pad-t:0px;
    position:absolute;
    left:0;top:0;right:0;bottom:0;
    display:flex;align-items:center;
    /* Horizontal + vertical offset driven by the Style controls */
    padding-left:var(--fef-tw-pad-l,16px);
    transform:translateY(var(--fef-tw-pad-t,0px));
    font-size:14px;
    color:#94a3b8;
    pointer-events:none;
    overflow:hidden;
    white-space:nowrap;
    box-sizing:border-box;
    /* Keep the overlay above the (transparent-placeholder) input so nothing
       shows through, but below interactive controls like the mic/button. */
    z-index:1;
}
/* The typed characters live in their own span so background/inset styling on the
   container never smears across the whole bar. */
.fef-search-typewriter-text .fef-tw-content{
    display:inline-block;
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    vertical-align:bottom;
}
.fef-search-typewriter-cursor{
    display:inline-block;
    width:1px;height:1.1em;
    background:#94a3b8;
    margin-left:1px;
    vertical-align:text-bottom;
    animation:fefBlink .8s step-end infinite;
}
@keyframes fefBlink{0%,100%{opacity:1}50%{opacity:0}}

/* ── Advanced Search ── */
.fef-search-advanced{margin-top:6px}
.fef-search-adv-below_left{text-align:left}
.fef-search-adv-below_right{text-align:right}
.fef-search-adv-below_center{text-align:center}
.fef-search-adv-link{font-size:12px;color:#1565c0;text-decoration:none;cursor:pointer;display:inline-flex;align-items:center;gap:4px}
.fef-search-adv-link:hover{text-decoration:underline}
.fef-search-adv-link i{font-size:10px;transition:transform .2s}
.fef-search-adv-link.open i{transform:rotate(180deg)}
.fef-search-adv-panel{padding:12px 0;border-top:1px solid #eee;margin-top:8px}
.fef-search-adv-distance{display:flex;flex-direction:column;gap:6px}
.fef-search-adv-distance label{font-size:12px;font-weight:600;color:#555}
.fef-search-adv-dist-val{font-size:13px;color:#333;font-weight:500}
/* ================================================================
   SUGGESTIONS TOGGLE — hide the dropdown completely
   ================================================================ */
.fef-search-no-suggestions .fef-search-dropdown{display:none!important}

/* ================================================================
   FOCUS ANIMATION — resting state; grows via .fef-search-focus-active
   The transition properties + duration are emitted per-widget in PHP
   ================================================================ */
.fef-search-focus-anim{will-change:width,max-width,height}
.fef-search-focus-anim .fef-search-bar{will-change:height,box-shadow}

/* ================================================================
   OVERLAY MODE
   ================================================================ */
.fef-search-overlay-mode{display:inline-block}
.fef-search-overlay-trigger{
    display:inline-flex;align-items:center;justify-content:center;
    width:42px;height:42px;padding:0;
    background:#f1f5f9;border:none;border-radius:50%;
    color:#1e293b;cursor:pointer;font-size:18px;
    transition:background-color 0.2s ease,color 0.2s ease
}
.fef-search-overlay-trigger:hover{background:#e2e8f0}

.fef-search-overlay{
    position:fixed;inset:0;
    background:rgba(0,0,0,0.85);
    z-index:99999;
    /* opacity/visibility/transitions emitted per-widget in PHP based on chosen animation */
}
.fef-search-overlay-inner{
    position:absolute;left:50%;top:30%;
    transform:translateX(-50%);
    width:min(640px,92vw);max-width:100%;
    background:#fff;border-radius:12px;padding:24px;
    box-shadow:0 20px 60px rgba(0,0,0,0.4);
    box-sizing:border-box
}
.fef-search-overlay-inner .fef-search-bar{width:100%}
.fef-search-overlay-inner .fef-search-input{width:100%}

.fef-search-overlay-close{
    position:absolute;top:24px;right:24px;
    display:flex;align-items:center;justify-content:center;
    width:44px;height:44px;padding:0;
    background:rgba(255,255,255,0.15);
    border:none;border-radius:50%;
    color:#fff;cursor:pointer;
    transition:background-color 0.2s ease,transform 0.2s ease;
    z-index:1
}
.fef-search-overlay-close:hover{background:rgba(255,255,255,0.25);transform:rotate(90deg)}
.fef-search-overlay-close i{font-size:18px}

/* When overlay is open, dropdown belongs inside the inner box */
.fef-search-overlay-mode .fef-search-dropdown{
    position:relative;top:auto;left:auto;right:auto;
    margin-top:12px;box-shadow:none;border:1px solid #e2e8f0
}

/* Lock body scroll while overlay is open */
body.fef-search-overlay-active{overflow:hidden}

/* Keep the header stacking context above neighboring page content while its
   fullscreen search is open. The JS toggles this class only for the owning
   header and restores its normal stacking order on close. */
.fef-search-overlay-owner{z-index:2147483647!important}

/* ================================================================
   OVERLAY v2 — "Icon → Fullscreen Overlay v2"
   Fullscreen layer with the search input placed top / center / bottom.
   • Background colour + opacity live on ::before (so the input and the
     suggestions are never faded), driven by --fef-ov2-bg / --fef-ov2-op.
   • Suggestions open BELOW the input (top / center) or ABOVE it (bottom):
     chosen per device by the Placement control through CSS variables.
   • Open / close state (opacity, visibility, animation) is emitted
     per-widget in PHP, keyed off .fef-search-overlay-open.
   All rules are kept at LOW specificity so the Elementor Style controls win.
   ================================================================ */
.fef-search-ov2-mode{display:inline-block}
.fef-search-ov2-trigger{
    display:inline-flex;align-items:center;justify-content:center;
    width:42px;height:42px;padding:0;
    background:#f1f5f9;border:none;border-radius:50%;
    color:#1e293b;cursor:pointer;font-size:18px;
    transition:background-color .2s ease,color .2s ease
}
.fef-search-ov2-trigger:hover{background:#e2e8f0}
.fef-search-ov2{
    position:fixed;inset:0;z-index:2147483000;
    opacity:0;visibility:hidden;pointer-events:none   /* real open state emitted per-widget in PHP */
}
.fef-search-ov2::before{
    content:"";position:absolute;inset:0;
    background:var(--fef-ov2-bg,#0f172a);
    opacity:var(--fef-ov2-op,.6);
    pointer-events:none
}
/* Placement variables (--fef-ov2-ai / -pt / -pb / -dd-* / -slide / -msgpt / -msgpb) are set per device by the
   "Search Input Placement" control; these fallbacks are the "Center" values. */
.fef-search-ov2-stage{
    position:absolute;inset:0;
    display:flex;justify-content:center;align-items:var(--fef-ov2-ai,center);
    padding:var(--fef-ov2-pt,16px) max(12px,env(safe-area-inset-right,0px)) calc(var(--fef-ov2-pb,16px) + env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px));
    box-sizing:border-box;
    pointer-events:none          /* empty space falls through to .fef-search-ov2 → "close on background click" */
}
.fef-search-ov2-box{
    position:relative;pointer-events:auto;
    width:min(640px,100%);max-width:100%;
    box-sizing:border-box;
    /* Style → Input Position: X / Y nudge. `translate` is separate from `transform`, so it never fights the open animation. */
    translate:var(--fef-ov2-x,0px) var(--fef-ov2-y,0px)
}
/* The field = input bar + extras + suggestions. Suggestions are anchored to THIS, so a title / description above or
   below the input never sits between the input and its dropdown. */
.fef-search-ov2-field{position:relative;width:100%}

/* Title + description (Style → Title & Description) */
.fef-search-ov2-head{width:100%;box-sizing:border-box}
.fef-search-ov2-head-above{margin-bottom:14px}
.fef-search-ov2-head-below{margin-top:14px}
.fef-search-ov2-title{margin:0 0 6px;color:#fff;font-size:clamp(20px,3.2vw,30px);font-weight:700;line-height:1.2;text-align:center}
.fef-search-ov2-desc{margin:0 0 6px;color:rgba(255,255,255,.78);font-size:clamp(14px,2vw,16px);line-height:1.5;text-align:center}
.fef-search-ov2-head > :last-child{margin-bottom:0}

/* Page message — default text on the overlay itself (e.g. "Start typing to search").
   It sits BEHIND the stage (never blocks clicks) and keeps clear of the input via --fef-ov2-msgpt / -msgpb. */
.fef-search-ov2-msg-layer{
    position:absolute;inset:0;
    display:flex;justify-content:var(--fef-ov2-msg-jc,center);align-items:var(--fef-ov2-msg-ai,center);
    padding:var(--fef-ov2-msgpt,220px) max(16px,env(safe-area-inset-right,0px)) var(--fef-ov2-msgpb,16px) max(16px,env(safe-area-inset-left,0px));
    box-sizing:border-box;pointer-events:none;
    transition:opacity .2s ease,visibility .2s ease
}
.fef-search-ov2-msg{
    width:100%;max-width:480px;box-sizing:border-box;
    text-align:var(--fef-ov2-msg-ta,center);
    transform:translate(var(--fef-ov2-msg-x,0px),var(--fef-ov2-msg-y,0px))
}
.fef-search-ov2-msg-icon{display:block;margin:0 0 14px;color:rgba(255,255,255,.85);font-size:44px;line-height:1}
.fef-search-ov2-msg-icon svg{width:44px;height:44px;fill:currentColor}
.fef-search-ov2-msg-title{margin:0 0 8px;color:#fff;font-size:clamp(17px,2.6vw,22px);font-weight:600;line-height:1.3}
.fef-search-ov2-msg-text{margin:0;color:rgba(255,255,255,.7);font-size:clamp(13px,1.8vw,15px);line-height:1.55}
/* "Only while the input is empty": JS adds .fef-search-ov2-typing once the visitor has typed enough */
.fef-ov2-msg-empty.fef-search-ov2-typing .fef-search-ov2-msg-layer{opacity:0;visibility:hidden}
.fef-search-ov2-box .fef-search-bar{width:100%;box-sizing:border-box}
.fef-search-ov2-box .fef-search-input{width:100%}

.fef-search-ov2-close{
    position:absolute;top:24px;right:24px;z-index:2;
    display:flex;align-items:center;justify-content:center;
    width:44px;height:44px;padding:0;
    background:rgba(255,255,255,.15);
    border:none;border-radius:50%;
    color:#fff;cursor:pointer;
    transition:background-color .2s ease,transform .2s ease
}
.fef-search-ov2-close:hover{background:rgba(255,255,255,.25);transform:rotate(90deg)}
.fef-search-ov2-close i{font-size:18px}

/* Clear (×) button inside the input — only shown while something is typed (JS toggles [hidden]) */
.fef-search-ov2-clear{
    display:flex;align-items:center;justify-content:center;
    flex:0 0 auto;padding:0 12px;margin:0;
    background:none;border:none;color:#94a3b8;cursor:pointer;font-size:16px;line-height:1
}
.fef-search-ov2-clear:hover{color:#475569}
.fef-search-ov2-clear[hidden]{display:none!important}

/* Suggestions: a floating card anchored to the field. Direction comes from the Placement control (per device):
   Top / Center → opens BELOW (top:100%), Bottom → opens ABOVE (bottom:100%). !important on top/bottom beats the
   shared "Distance from Bar" rule. */
.fef-search-ov2-field .fef-search-dropdown{
    left:0;right:0;
    top:var(--fef-ov2-dd-top,100%)!important;bottom:var(--fef-ov2-dd-bottom,auto)!important;
    margin:var(--fef-ov2-dd-mt,8px) 0 var(--fef-ov2-dd-mb,0px);
    border:1px solid #e2e8f0;border-radius:12px;
    max-height:min(420px,calc(var(--fef-ov2-h,100vh) - 180px));
    overscroll-behavior:contain;-webkit-overflow-scrolling:touch;
    z-index:3
}

/* ── Fully responsive ─────────────────────────────────────────────
   --fef-ov2-h is set by JS to the VISIBLE viewport height (so a phone's on-screen keyboard never hides a
   bottom-aligned input). The Elementor responsive controls (tablet / mobile) layer on top of these defaults. */
@media (max-width:1024px){
    .fef-search-ov2-box{width:min(560px,100%)}
}
@media (max-width:767px){
    .fef-search-ov2-box{width:100%}
    .fef-search-ov2-box .fef-search-input{font-size:16px}        /* ≥16px stops iOS zooming the page on focus */
    .fef-search-ov2-box .fef-search-btn span{display:none}        /* icon-only search button saves room */
    .fef-search-ov2-field .fef-search-dropdown{max-height:min(420px,calc(var(--fef-ov2-h,100vh) - 150px))}
    .fef-search-ov2-box .fef-search-item{padding:8px 10px;gap:10px}
    .fef-search-ov2-box .fef-search-item-thumb{width:40px;height:40px}
    .fef-search-ov2-head-above{margin-bottom:10px}
    .fef-search-ov2-head-below{margin-top:10px}
    .fef-search-ov2-clear{padding:0 10px}
}
@media (max-width:480px){
    .fef-search-ov2-box .fef-search-item-excerpt{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
}
@media (max-height:480px){                                          /* phones in landscape */
    .fef-search-ov2-stage{--fef-ov2-pt:8px;--fef-ov2-pb:8px}
    .fef-search-ov2-field .fef-search-dropdown{max-height:calc(var(--fef-ov2-h,100vh) - 110px)}
    .fef-search-ov2-msg-icon{font-size:28px}
}
@media (prefers-reduced-motion:reduce){
    .fef-search-ov2,.fef-search-ov2-box,.fef-search-ov2-msg-layer{transition:none!important}
}
/* ================================================================
   SUGGESTIONS DRAWER MODE
   Docks the live-suggestions panel to a screen edge and slides it in.
   On the frontend the JS portals the drawer + backdrop to <body> so
   they escape any transformed ancestor (Elementor sticky headers use
   transform, which traps position:fixed inside the header). Because of
   that, every rule here is scoped to the element's OWN classes — never
   an ancestor wrapper — and the "open" state is toggled directly on the
   element (.fef-search-dd-active) as well as on the wrapper
   (.fef-search-dd-open, kept for the in-place Elementor editor preview).
   ================================================================ */
.fef-search-dd-backdrop{
    position:fixed; inset:0; z-index:2147482999;
    background:rgba(15,23,42,.5);
    opacity:0; visibility:hidden; pointer-events:none;
    transition:opacity var(--fef-dd-drawer-dur,320ms) ease,
               visibility var(--fef-dd-drawer-dur,320ms) ease;
}
.fef-search-dd-open .fef-search-dd-backdrop,
.fef-search-dd-backdrop.fef-search-dd-active{
    opacity:1; visibility:visible; pointer-events:auto;
}

/* Lock page scroll while a suggestions drawer is open */
body.fef-search-dd-lock{ overflow:hidden; }

/* Scoped to .fef-search-dd-drawer (the real frontend panel) so the Elementor
   editor preview, which reuses .fef-search-dropdown, is never turned into a
   hidden fixed drawer. */
.fef-search-dropdown.fef-search-dd-drawer{
    position:fixed; z-index:2147483000;
    margin:0; max-height:none; border-radius:0;
    background:#ffffff;
    box-shadow:0 20px 60px rgba(0,0,0,.25);
    display:flex !important;      /* overrides the inline display:none; we hide via opacity/transform */
    flex-direction:column;
    overflow-y:auto;
    opacity:0; visibility:hidden; pointer-events:none;
    transition:transform var(--fef-dd-drawer-dur,320ms) cubic-bezier(.22,1,.36,1),
               opacity   var(--fef-dd-drawer-dur,320ms) ease,
               visibility var(--fef-dd-drawer-dur,320ms) ease;
}
.fef-search-dd-open .fef-search-dropdown.fef-search-dd-drawer,
.fef-search-dropdown.fef-search-dd-drawer.fef-search-dd-active{
    transform:none !important; opacity:1; visibility:visible; pointer-events:auto;
}

/* Docking — Left / Right = full-height side panels. Selectors match the
   placement class whether it sits on an ancestor (editor preview) or on the
   drawer element itself (frontend, after portaling to <body>). */
.fef-dd-drawer-right .fef-search-dd-drawer,
.fef-dd-drawer-left  .fef-search-dd-drawer,
.fef-search-dd-drawer.fef-dd-drawer-right,
.fef-search-dd-drawer.fef-dd-drawer-left{
    top:var(--fef-dd-drawer-mt,0px);
    bottom:var(--fef-dd-drawer-mb,0px);
    width:var(--fef-dd-drawer-w,420px); max-width:100vw; height:auto;
}
.fef-dd-drawer-right .fef-search-dd-drawer,
.fef-search-dd-drawer.fef-dd-drawer-right{ right:var(--fef-dd-drawer-mr,0px); left:auto;  transform:translateX(110%); }
.fef-dd-drawer-left  .fef-search-dd-drawer,
.fef-search-dd-drawer.fef-dd-drawer-left{ left:var(--fef-dd-drawer-ml,0px);  right:auto; transform:translateX(-110%); }

/* Docking — Top / Bottom = full-width strips */
.fef-dd-drawer-top    .fef-search-dd-drawer,
.fef-dd-drawer-bottom .fef-search-dd-drawer,
.fef-search-dd-drawer.fef-dd-drawer-top,
.fef-search-dd-drawer.fef-dd-drawer-bottom{
    left:var(--fef-dd-drawer-ml,0px);
    right:var(--fef-dd-drawer-mr,0px);
    width:auto; height:var(--fef-dd-drawer-h,60vh); max-height:100vh;
}
.fef-dd-drawer-top    .fef-search-dd-drawer,
.fef-search-dd-drawer.fef-dd-drawer-top{ top:var(--fef-dd-drawer-mt,0px); bottom:auto; transform:translateY(-110%); }
.fef-dd-drawer-bottom .fef-search-dd-drawer,
.fef-search-dd-drawer.fef-dd-drawer-bottom{ bottom:var(--fef-dd-drawer-mb,0px); top:auto; transform:translateY(110%); }

/* Close button inside the drawer — see the THEME ISOLATION block at the end of this file */

@media (prefers-reduced-motion: reduce){
    .fef-search-dd-drawer,
    .fef-search-dd-backdrop{ transition:none !important; }
}

/* ================================================================
   MOBILE VOICE
   Visibility is driven by fef-search.js (inline styles + matchMedia), so
   these rules only style the buttons — they never decide when to show them.
   The mic + Cancel are rendered with an inline display:none, so they stay
   hidden on desktop no matter what.
   ================================================================ */
.fef-search-mvoice-cancel{
    background:none; border:none; color:#64748b; cursor:pointer;
    font-size:18px; padding:6px; flex-shrink:0;
    align-items:center; justify-content:center;
}
.fef-search-mvoice-cancel:hover{ color:#1e293b; }
/* Give the active mic a subtle emphasis while a session is running. */
.fef-search-mvoice-active .fef-search-input{ text-align:left; }

/* Dropdown mode — "tap to speak" row pinned at the top of the panel */
.fef-search-voice-dd-row{
    display:flex; align-items:center; gap:10px;
    padding:12px 14px; cursor:pointer;
    border-bottom:1px solid #f1f5f9;
    color:#334155; font-size:14px; font-weight:500;
    position:sticky; top:0; background:inherit; z-index:2;
}
.fef-search-voice-dd-row .fef-search-voice-btn{ font-size:20px; padding:2px; }
.fef-search-voice-dd-row.recording{ color:#c62828; }
/* ================================================================
   #8 VOICE UNSUPPORTED (e.g. Firefox)
   Belt-and-braces backup to the inline hiding done in fef-search.js:
   when the Web Speech API is missing, <html> gets .fef-no-speech and
   every voice control stays hidden — no dead mic icon.
   ================================================================ */
.fef-no-speech .fef-search-voice-btn,
.fef-no-speech .fef-search-voice-inside,
.fef-no-speech .fef-search-voice-outside,
.fef-no-speech .fef-search-mvoice-mic,
.fef-no-speech .fef-search-mvoice-cancel,
.fef-no-speech .fef-search-voice-dd-row{ display:none !important; }

/* ================================================================
   #13 INPUT FOCUS HARDENING
   Kills the browser's default focus ring on the input (the stray
   "black border" that clipped the bar's left edge) while leaving the
   bar's own focus-within styling — and any user-set focus styles —
   untouched. No !important, so Elementor focus controls still win.
   ================================================================ */
.fef-search-input{
    -webkit-appearance:none; appearance:none;
    -webkit-tap-highlight-color:transparent;
    box-shadow:none;
}
.fef-search-input:focus,
.fef-search-input:focus-visible{ outline:none; box-shadow:none; }

/* ================================================================
   #13b ONE FIELD — bar + input appear as a single control
   The search bar carries the one border / background / shadow (Style →
   📏 Search Bar → Normal / Hover / Active). The input inside must add
   nothing of its own, otherwise its background, radius and (theme-drawn,
   usually black) border show up as a second box inside the bar with a gap
   around it. More specific than a theme's input[type=text] / :focus rules AND
   than the per-widget Elementor rules an older cached page CSS file may still
   hold for the (now removed) input background/border controls.
   ================================================================ */
.fef-search-wrap .fef-search-bar input.fef-search-input.fef-search-input,
.fef-search-wrap .fef-search-bar input.fef-search-input.fef-search-input:hover,
.fef-search-wrap .fef-search-bar input.fef-search-input.fef-search-input:focus,
.fef-search-wrap .fef-search-bar input.fef-search-input.fef-search-input:focus-visible{
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    outline:none;
}
.fef-search-bar{ transition: border-color .2s, box-shadow .2s, background-color .2s; }

/* ================================================================
   #14 OVERLAY — FULL-WIDTH TOP BAR + CONTENT BELOW
   Top-bar variant pins the search box across the top of the screen.
   The per-widget PHP drives the slide-from-top animation; these rules
   set the static full-width layout. Centered mode is unaffected.
   ================================================================ */
.fef-search-ovstyle-topbar .fef-search-overlay-inner{
    left:0; right:0; top:0;
    transform:none;
    width:100%; max-width:100%;
    border-radius:0;
    max-height:100vh; overflow:auto;
    box-sizing:border-box;
}
.fef-search-ovstyle-topbar .fef-search-bar{ width:100%; }

/* "Content below search" template (e.g. a FEF Loop best-sellers grid). */
.fef-search-overlay-below{ width:100%; box-sizing:border-box; }
.fef-search-overlay-below > *{ max-width:100%; }
/* Hidden by JS the moment live results appear; back when the field clears. */
.fef-search-below-hidden .fef-search-overlay-below{ display:none; }

/* ================================================================
   SMART MATCHING — "Did you mean" + always-show fallback banners
   ================================================================ */
/* .fef-search-didyoumean / .fef-search-dym-* live in the DID YOU MEAN block at the end of this file */

.fef-search-fallback-notice{
    padding:10px 14px;
    background:#f8fafc;
    border-bottom:1px solid #eef2f7;
    font-size:13px;
    color:#64748b;
    display:flex;
    align-items:flex-start;
    gap:8px;
    line-height:1.5;
}
.fef-search-fallback-notice i{ color:#94a3b8; margin-top:2px; }
.fef-search-fallback-item{ /* inherits .fef-search-item styling */ }

/* ================================================================
   SLIDE-OUT DRAWER — optional header (title + search input)
   Base layout; per-widget colours/sizes are emitted inline by the
   widget (ID-scoped) so they survive the drawer being portaled to body.
   ================================================================ */
.fef-search-dd-header{
    position:sticky; top:0;
    background:inherit;
    z-index:3;
    padding-bottom:10px;
    margin-bottom:6px;
}
.fef-search-dd-title{
    margin:0 0 10px;
    font-weight:700;
    font-size:18px;
    line-height:1.3;
    color:#0f172a;
}
.fef-search-dd-searchrow{
    display:flex;
    align-items:center;
    gap:8px;
    padding:0 12px;
    min-height:46px;
    border:1px solid #e2e8f0;
    border-radius:10px;
    background:#f8fafc;
}
.fef-search-dd-input-icon{ color:#94a3b8; font-size:14px; flex:0 0 auto; }
.fef-search-dd-input{
    flex:1;
    border:none;
    background:transparent;
    outline:none;
    font-size:15px;
    color:#0f172a;
    padding:8px 0;
    height:100%;
    -webkit-appearance:none;
    appearance:none;
    box-shadow:none;
}
/* Keep the input clean on focus — no stray browser outline/border breaking the row. */
.fef-search-dd-input:focus,
.fef-search-dd-input:focus-visible{ outline:none !important; box-shadow:none !important; border:none !important; }
.fef-search-dd-searchrow:focus-within{ border-color:#3b82f6; }

/* Drawer portal host — draws no box of its own; only carries the Elementor
   element classes so {{WRAPPER}} style selectors reach the portaled drawer. */
.fef-search-drawer-portal{ display:contents; }

/* ================================================================
   SLIDE-OUT DRAWER — close button layers (icon + icon-bg container)
   ================================================================ */
.fef-search-dd-close-bg{
    display:flex; align-items:center; justify-content:center;
    width:100%; height:100%;
}
.fef-search-dd-close-icon{
    display:flex; align-items:center; justify-content:center;
    line-height:1;
}
/* Close button as an image + hover animations */
.fef-search-dd-close img{
    display:block; max-width:100%;
    transition:transform .25s ease;
}
.fef-search-dd-close.fef-sd-close-zoom:hover img   { transform:scale(1.12); }
.fef-search-dd-close.fef-sd-close-shrink:hover img { transform:scale(.88); }
.fef-search-dd-close.fef-sd-close-rotate:hover img { transform:rotate(90deg); }
.fef-search-dd-close.fef-sd-close-spin:hover img   { transform:rotate(360deg); }
.fef-search-dd-close.fef-sd-close-bounce:hover img { animation:fefSdCloseBounce .4s ease; }
@keyframes fefSdCloseBounce{
    0%,100%{ transform:translateY(0); }
    50%{ transform:translateY(-4px); }
}

/* ================================================================
   GROUP HEADERS — source-type icon / image / svg + placement
   ================================================================ */
.fef-search-group-header{
    display:flex; align-items:center; gap:6px;
}
.fef-search-group-header-label{
    flex:1 1 auto; min-width:0;
}
.fef-search-src-icon{
    display:inline-flex; align-items:center; justify-content:center;
    line-height:1; flex:0 0 auto;
}
.fef-search-src-icon i{ font-size:inherit; line-height:1; }
.fef-search-src-icon img,
.fef-search-src-icon svg{
    display:block; width:1em; height:1em; object-fit:contain;
}
.fef-search-src-icon svg{ fill:currentColor; }

/* Stacked placements (icon above the label) */
.fef-search-group-header.fef-sd-src-top_left,
.fef-search-group-header.fef-sd-src-top_center,
.fef-search-group-header.fef-sd-src-top_right{
    flex-direction:column; align-items:stretch; gap:2px;
}
.fef-search-group-header.fef-sd-src-top_left .fef-search-src-icon   { align-self:flex-start; }
.fef-search-group-header.fef-sd-src-top_center .fef-search-src-icon { align-self:center; }
.fef-search-group-header.fef-sd-src-top_right .fef-search-src-icon  { align-self:flex-end; }

/* ================================================================
   THEME / ELEMENTOR-KIT ISOLATION FOR THE SEARCH PANEL BUTTONS
   ----------------------------------------------------------------
   Themes style every <button> / [type=button] globally. Hello Elementor's
   reset.css, for example, gives them  border:1px solid #c36; color:#c36;
   padding:.5rem 1rem; width:auto  and a #c36 fill on :hover/:focus — which
   ties with (and, by load order, beats) a single-class plugin rule. That is
   where the pink close button and the pink "Did you mean" button came from.

   Every button inside the suggestions dropdown / drawer is therefore reset
   here to a neutral baseline, and ONLY the Style-tab controls may change it:
     • normal state  → three chained classes  (0,3,0)  beats theme (0,1,0)/(0,1,1)
     • hover / focus → two chained classes + pseudo-class (0,3,0) beats (0,2,x)
   Both stay BELOW Elementor's own control selectors
   (.elementor-N .elementor-element-X .cls = (0,4,0), hover (0,5,0)) and the
   drawer's ID-scoped mirror (1,x,0), so a value set in the Style tab always wins
   — in the normal AND the hover state.
   ================================================================ */
.fef-search-dd-close.fef-search-dd-close.fef-search-dd-close,
.fef-search-dym-btn.fef-search-dym-btn.fef-search-dym-btn,
.fef-search-cart-btn.fef-search-cart-btn.fef-search-cart-btn,
.fef-search-enq-btn.fef-search-enq-btn.fef-search-enq-btn,
.fef-search-enq-icon.fef-search-enq-icon.fef-search-enq-icon,
.fef-search-submit.fef-search-submit.fef-search-submit,
.fef-search-clear.fef-search-clear.fef-search-clear{
    -webkit-appearance:none; appearance:none;
    box-sizing:border-box;
    margin:0; padding:0;
    min-width:0; min-height:0; width:auto; height:auto; max-width:none;
    background:none; background-image:none;
    border:0 solid currentColor; border-radius:0;
    box-shadow:none; text-shadow:none; outline:0;
    color:inherit;
    font:inherit; line-height:1.2; letter-spacing:normal; word-spacing:normal;
    text-transform:none; text-decoration:none; text-align:center; text-indent:0;
    white-space:nowrap;
    cursor:pointer;
    -webkit-user-select:none; user-select:none;
    transition:none; transform:none; filter:none;
}
/* keyboard focus ring (never the theme's) */
.fef-search-dd-close.fef-search-dd-close.fef-search-dd-close:focus-visible,
.fef-search-dym-btn.fef-search-dym-btn.fef-search-dym-btn:focus-visible,
.fef-search-cart-btn.fef-search-cart-btn.fef-search-cart-btn:focus-visible,
.fef-search-enq-btn.fef-search-enq-btn.fef-search-enq-btn:focus-visible,
.fef-search-enq-icon.fef-search-enq-icon.fef-search-enq-icon:focus-visible,
.fef-search-submit.fef-search-submit.fef-search-submit:focus-visible,
.fef-search-clear.fef-search-clear.fef-search-clear:focus-visible{
    outline:2px solid rgba(59,130,246,.55); outline-offset:2px;
}

/* ── ❌ Close button (drawer) ── */
.fef-search-dd-close.fef-search-dd-close.fef-search-dd-close{
    position:sticky; top:0; align-self:flex-end;
    display:flex; align-items:center; justify-content:center;
    width:34px; height:34px; flex:0 0 auto;
    margin:0 0 4px 0;
    border-radius:50%;
    background-color:#f1f5f9; color:#64748b;
    font-size:16px; line-height:1;
    z-index:3;
    transition:filter .15s ease;
}
.fef-search-dd-close.fef-search-dd-close:hover,
.fef-search-dd-close.fef-search-dd-close:focus,
.fef-search-dd-close.fef-search-dd-close:active{
    background-color:#f1f5f9; color:#64748b; text-decoration:none; box-shadow:none;
    filter:brightness(.94);
}

/* ── 💡 "Did you mean" suggestion button ──
   Plain text-link look by default; the static and dynamic words are separate
   spans so they can be styled independently (Style → 💡 Did You Mean). */
.fef-search-dym-btn.fef-search-dym-btn.fef-search-dym-btn{
    display:inline-flex; align-items:baseline; flex-wrap:wrap;
    color:#1565c0; font-weight:600;
    text-align:left; white-space:normal;
    text-decoration:underline; text-underline-offset:2px;
}
.fef-search-dym-btn.fef-search-dym-btn:hover,
.fef-search-dym-btn.fef-search-dym-btn:focus,
.fef-search-dym-btn.fef-search-dym-btn:active{
    background-color:transparent; color:#0d47a1; text-decoration:underline; box-shadow:none;
}

/* ── 🛒 Add to Cart ── */
.fef-search-cart-btn.fef-search-cart-btn.fef-search-cart-btn{
    display:inline-flex; align-items:center; gap:4px;
    padding:4px 10px;
    background-color:#10b981; color:#fff;
    border-radius:4px;
    font-size:11px; font-weight:600;
    transition:background-color .15s;
    flex-shrink:0;
}
.fef-search-cart-btn.fef-search-cart-btn:hover,
.fef-search-cart-btn.fef-search-cart-btn:focus,
.fef-search-cart-btn.fef-search-cart-btn:active{ background-color:#059669; color:#fff; text-decoration:none; box-shadow:none; }
.fef-search-cart-btn.fef-search-cart-btn.fef-search-cart-btn.added{ background-color:#6366f1; color:#fff; }
.fef-search-cart-btn.fef-search-cart-btn.added:hover,
.fef-search-cart-btn.fef-search-cart-btn.added:focus{ background-color:#6366f1; color:#fff; }
.fef-search-cart-btn.fef-search-cart-btn.fef-search-cart-btn.loading{ opacity:.75; cursor:progress; }

/* ── ➕ Add to Enquiry ── */
.fef-search-enq-btn.fef-search-enq-btn.fef-search-enq-btn{
    display:inline-flex; align-items:center; gap:4px;
    padding:4px 10px;
    background-color:#3b82f6; color:#fff;
    border-radius:4px;
    font-size:11px; font-weight:600;
    transition:background-color .15s;
    flex-shrink:0;
}
.fef-search-enq-btn.fef-search-enq-btn:hover,
.fef-search-enq-btn.fef-search-enq-btn:focus,
.fef-search-enq-btn.fef-search-enq-btn:active{ background-color:#2563eb; color:#fff; text-decoration:none; box-shadow:none; }
.fef-search-enq-btn.fef-search-enq-btn.fef-search-enq-btn.is-added{ background-color:#16a34a; color:#fff; }
.fef-search-enq-btn.fef-search-enq-btn.is-added:hover,
.fef-search-enq-btn.fef-search-enq-btn.is-added:focus{ background-color:#16a34a; color:#fff; }
.fef-search-enq-btn.fef-search-enq-btn.fef-search-enq-btn:disabled{ cursor:default; }

/* ── 🧺 Enquiry basket icon (built-in) + count badge ── */
.fef-search-enq-icon.fef-search-enq-icon.fef-search-enq-icon{
    position:relative;
    display:inline-flex; align-items:center; justify-content:center;
    width:36px; height:36px;
    border-radius:50%;
    background-color:#f1f5f9; color:#1e293b;
    font-size:16px; line-height:1;
    transition:background-color .15s;
}
.fef-search-enq-icon.fef-search-enq-icon:hover,
.fef-search-enq-icon.fef-search-enq-icon:focus,
.fef-search-enq-icon.fef-search-enq-icon:active{ background-color:#e2e8f0; color:#1e293b; text-decoration:none; box-shadow:none; }
.fef-search-enq-badge{
    position:absolute; top:-5px; right:-5px;
    min-width:18px; height:18px; padding:0 5px; box-sizing:border-box;
    display:inline-flex; align-items:center; justify-content:center;
    border-radius:9px;
    background:#ef4444; color:#fff;
    font-size:11px; font-weight:700; line-height:1;
}

/* ── ✅ Submit / ✖ Clear ── */
.fef-search-submit.fef-search-submit.fef-search-submit{
    display:inline-flex; align-items:center; justify-content:center; gap:8px;
    padding:9px 18px;
    background-color:#0f172a; color:#fff;
    border-radius:8px;
    font-size:14px; font-weight:600;
    transition:background-color .15s, opacity .15s;
}
.fef-search-submit.fef-search-submit:hover,
.fef-search-submit.fef-search-submit:focus,
.fef-search-submit.fef-search-submit:active{ background-color:#1e293b; color:#fff; text-decoration:none; box-shadow:none; }
.fef-search-submit.fef-search-submit.fef-search-submit:disabled{ opacity:.5; cursor:not-allowed; }
.fef-search-clear.fef-search-clear.fef-search-clear{
    padding:4px 6px;
    color:#64748b;
    font-size:13px; font-weight:500;
}
.fef-search-clear.fef-search-clear:hover,
.fef-search-clear.fef-search-clear:focus,
.fef-search-clear.fef-search-clear:active{ background-color:transparent; color:#0f172a; text-decoration:underline; box-shadow:none; }
.fef-search-enq-btn svg, .fef-search-cart-btn svg, .fef-search-submit svg, .fef-search-enq-icon svg, .fef-search-dym-icon svg{
    width:1em; height:1em; fill:currentColor; flex:0 0 auto;
}

/* ================================================================
   💡 DID YOU MEAN — row, icon, button, static + dynamic text
   (the button's own look is in the isolation block above)
   ================================================================ */
.fef-search-didyoumean{
    padding:10px 14px;
    border-bottom:1px solid #eef2f7;
    font-size:13px;
    color:#475569;
    display:flex;
    align-items:center;
    gap:8px;
}
.fef-search-dym-icon{
    display:inline-flex; align-items:center; justify-content:center;
    color:#f59e0b; line-height:1; flex:0 0 auto;
}
.fef-search-dym-icon i{ color:inherit; }
.fef-search-dym-static,
.fef-search-dym-term{
    display:inline-block;
    text-decoration:inherit;   /* inline-blocks do not receive their parent's underline — inherit it explicitly */
}

/* ================================================================
   ☑️ CHECKBOX · TOOLBAR · SUBMIT BAR
   ================================================================ */
.fef-search-sel-wrap{ display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; }
.fef-search-sel{
    box-sizing:border-box;
    display:inline-flex; align-items:center; justify-content:center;
    width:20px; height:20px; flex:0 0 auto;
    border:2px solid #cbd5e1; border-radius:5px;
    background-color:#fff; color:#fff;
    font-size:11px; line-height:1;
    cursor:pointer;
    transition:background-color .12s, border-color .12s, box-shadow .12s;
    -webkit-user-select:none; user-select:none;
}
.fef-search-sel i{ color:inherit; visibility:hidden; font-size:inherit; }
.fef-search-sel:hover{ border-color:#3b82f6; }
.fef-search-sel.is-checked{ background-color:#3b82f6; border-color:#3b82f6; }
.fef-search-sel.is-partial{ background-color:#93c5fd; border-color:#93c5fd; }
.fef-search-sel.is-checked i,
.fef-search-sel.is-partial i{ visibility:visible; }
.fef-search-sel:focus-visible{ outline:2px solid rgba(59,130,246,.6); outline-offset:2px; }
.fef-search-item .fef-search-sel-wrap{ flex:0 0 auto; }
.fef-search-item.fef-sel-right .fef-search-sel-wrap{ order:100; }

/* Row buttons (Add to Enquiry / Add to Cart) */
.fef-search-item-actions{
    display:flex; align-items:center; gap:6px; flex:0 0 auto;
}
.fef-search-item.fef-sel-right .fef-search-item-actions{ order:99; }

/* Toolbar — above the results */
.fef-search-toolbar{
    display:flex; align-items:center; gap:10px;
    padding:8px 14px;
    border-bottom:1px solid #eef2f7;
}
.fef-search-toolbar-spacer{ flex:1 1 auto; }
.fef-search-selall-wrap{ display:inline-flex; align-items:center; gap:8px; cursor:pointer; line-height:1.2; }
.fef-search-selall-text{ font-size:13px; font-weight:500; color:#334155; }
.fef-search-selcount{ font-size:12px; color:#64748b; }
.fef-search-enq-slot{ display:inline-flex; align-items:center; }

/* Submit bar — optionally pinned to the bottom of the scrolling panel
   (the .fef-search-foot-sticky class is emitted by the widget when the
   "Sticky Submit Bar (Footer)" toggle is on; default ON). */
.fef-search-footer{
    display:flex; align-items:center; gap:10px;
    padding:10px 14px;
    background:#fff;
    border-top:1px solid #e2e8f0;
}
.fef-search-foot-sticky{
    position:sticky; bottom:0; z-index:4;
}
/* Submit button placement (Style → Submit Enquiry Button → Placement) */
.fef-sub-btn-left .fef-search-footer .fef-search-footer-spacer,
.fef-sub-btn-center .fef-search-footer .fef-search-footer-spacer,
.fef-sub-btn-stretch .fef-search-footer .fef-search-footer-spacer{ display:none; }
.fef-sub-btn-left .fef-search-footer{ justify-content:flex-start; }
.fef-sub-btn-center .fef-search-footer{ justify-content:center; }
.fef-sub-btn-right .fef-search-footer{ justify-content:flex-end; }
.fef-sub-btn-stretch .fef-search-footer .fef-search-submit,
.fef-sub-btn-stretch .fef-search-footer .fef-search-bk-submit{ flex:1 1 auto; }
/* Enquiry choice menu — opens above the Submit button ("Enquiry button — ask" action) */
.fef-search-enq-choice{
    position:absolute; right:14px; bottom:calc(100% + 6px); z-index:6;
    display:flex; flex-direction:column; gap:6px;
    min-width:210px; padding:10px;
    background:#fff; border:1px solid #e2e8f0; border-radius:10px;
    box-shadow:0 10px 30px rgba(15,23,42,.18);
}
.fef-search-enq-choice-title{ font-size:12px; font-weight:600; color:#64748b; padding:0 2px 2px; }
.fef-search-enq-choice-btn.fef-search-enq-choice-btn{
    display:block; width:100%; text-align:left;
    padding:9px 12px; border:1px solid #e2e8f0; border-radius:8px;
    background:#f8fafc; color:#0f172a;
    font-size:14px; font-weight:600; cursor:pointer;
}
.fef-search-enq-choice-btn.fef-search-enq-choice-btn:hover,
.fef-search-enq-choice-btn.fef-search-enq-choice-btn:focus{ background:#0f172a; color:#fff; border-color:#0f172a; }
.fef-search-footer-spacer{ flex:1 1 auto; }
.fef-search-footer-msg{ font-size:12px; color:#b91c1c; min-width:0; }
.fef-search-footer-msg.is-ok{ color:#15803d; }

/* ── Drawer: results stretch so a short list still pins the submit bar to the bottom edge ── */
.fef-search-dd-drawer .fef-search-results{ flex:1 0 auto; }
.fef-search-dd-drawer .fef-search-toolbar,
.fef-search-dd-drawer .fef-search-footer{ flex:0 0 auto; }

/* ── Icon tooltips (data-fef-tip on any icon button in the search bar) ── */
[data-fef-tip]{ position:relative; }
[data-fef-tip]::after{
    content:attr(data-fef-tip);
    position:absolute; bottom:calc(100% + 8px); left:50%; transform:translateX(-50%) translateY(3px);
    background:#0f172a; color:#fff; font-size:11px; font-weight:500; line-height:1.35;
    padding:5px 9px; border-radius:6px; white-space:nowrap; max-width:200px;
    opacity:0; visibility:hidden; pointer-events:none; z-index:2147483001;
    transition:opacity .15s ease, transform .15s ease, visibility .15s;
}
[data-fef-tip]::before{
    content:""; position:absolute; bottom:calc(100% + 3px); left:50%; transform:translateX(-50%) translateY(3px);
    border:5px solid transparent; border-top-color:#0f172a;
    opacity:0; visibility:hidden; pointer-events:none; z-index:2147483001;
    transition:opacity .15s ease, transform .15s ease, visibility .15s;
}
[data-fef-tip]:hover::after, [data-fef-tip]:focus-visible::after{ opacity:1; visibility:visible; transform:translateX(-50%) translateY(0); }
[data-fef-tip]:hover::before, [data-fef-tip]:focus-visible::before{ opacity:1; visibility:visible; transform:translateX(-50%) translateY(0); }

/* ── Nearby location: marker / current-location / back-to-search icons ── */
.fef-search-loc-btn, .fef-search-gps-btn, .fef-search-loc-close{
    display:inline-flex; align-items:center; justify-content:center;
    width:34px; height:34px; flex:0 0 auto;
    border:0; background:transparent; color:#64748b; font-size:16px;
    cursor:pointer; border-radius:8px; padding:0;
}
.fef-search-loc-btn:hover, .fef-search-gps-btn:hover, .fef-search-loc-close:hover{ color:#3b82f6; background:#eff6ff; }
.fef-search-loc-active .fef-search-loc-btn{ color:#3b82f6; }
.fef-search-loc-active .fef-search-loc-close{ color:#059669; }

/* Location field slot — shown by JS in toggle mode, replacing the input */
.fef-search-nearby-slot{ width:100%; flex:1 1 auto; min-width:0; }
.fef-search-nearby-slot .fef-loc-field{ width:100%; }
/* Never let any other rule (theme / field styles) un-hide the hidden slot */
.fef-search-nearby-slot[hidden]{ display:none !important; }
.fef-search-loc-active .fef-search-input{ display:none; }

/* ── Distance slider inside the suggestions (shown while location search is active) ── */
.fef-search-loc-tools{
    display:flex; align-items:center; gap:10px;
    padding:8px 14px; border-bottom:1px solid #eef2f7; background:#f8fafc;
}
.fef-search-loc-tools-label{ font-size:12px; font-weight:600; color:#334155; white-space:nowrap; }
.fef-search-loc-tools .fef-search-dist-range{ flex:1 1 auto; accent-color:#3b82f6; height:4px; cursor:pointer; }
.fef-search-loc-tools .fef-search-dist-val{ font-size:12px; font-weight:600; color:#3b82f6; white-space:nowrap; min-width:44px; text-align:right; }

/* Location suggestion rows (shared mode) */
.fef-search-item-loc .fef-search-item-title{ color:#0f766e; }
.fef-search-item-loc:hover{ background:#f0fdfa; }


/* ================================================================
   THEME ISOLATION FOR THE SEARCH BAR / OVERLAY ICON BUTTONS  +  ICON-FONT GUARD
   ----------------------------------------------------------------
   Themes (Hello Elementor: border:1px solid #c36; color:#c36; padding:.5rem 1rem;
   #c36 fill on :hover/:focus) and global "font-family:… !important" rules reach
   every <button>, <input> and icon <i>. That is what produced the pink-bordered
   empty boxes where the trigger / clear / voice / camera / location icons should be.

   • Normal state  → three chained classes (0,3,0)  beats the theme (0,1,0)/(0,1,1)
   • Hover / focus → three chained classes + pseudo (0,4,0) beats (0,2,x)
   Both stay BELOW Elementor's own Style-tab selectors
   (.elementor-N .elementor-element-X .cls = (0,4,0), hover (0,5,0)), so anything set
   in the Style tab still wins. Each rule restates the widget's own default look.
   ================================================================ */

/* Shared neutral baseline (the theme's box model is wiped; looks are restated below) */
.fef-search-btn.fef-search-btn.fef-search-btn,
.fef-search-trigger.fef-search-trigger.fef-search-trigger,
.fef-search-overlay-trigger.fef-search-overlay-trigger.fef-search-overlay-trigger,
.fef-search-ov2-trigger.fef-search-ov2-trigger.fef-search-ov2-trigger,
.fef-search-overlay-close.fef-search-overlay-close.fef-search-overlay-close,
.fef-search-ov2-close.fef-search-ov2-close.fef-search-ov2-close,
.fef-search-ov2-clear.fef-search-ov2-clear.fef-search-ov2-clear,
.fef-search-voice-btn.fef-search-voice-btn.fef-search-voice-btn,
.fef-search-mvoice-cancel.fef-search-mvoice-cancel.fef-search-mvoice-cancel,
.fef-search-photo-btn.fef-search-photo-btn.fef-search-photo-btn,
.fef-search-loc-btn.fef-search-loc-btn.fef-search-loc-btn,
.fef-search-gps-btn.fef-search-gps-btn.fef-search-gps-btn,
.fef-search-loc-close.fef-search-loc-close.fef-search-loc-close,
.fef-photo-opt.fef-photo-opt.fef-photo-opt,
.fef-photo-cancel.fef-photo-cancel.fef-photo-cancel{
    -webkit-appearance:none; appearance:none;
    box-sizing:border-box;
    margin:0;
    min-width:0; min-height:0; max-width:none;
    background-image:none;
    border:0 solid transparent;
    box-shadow:none; text-shadow:none; outline:0;
    font-family:inherit; font-style:normal; letter-spacing:normal; word-spacing:normal;
    text-transform:none; text-decoration:none; text-indent:0;
    -webkit-user-select:none; user-select:none;
}
/* keyboard focus ring (never the theme's) */
.fef-search-btn.fef-search-btn.fef-search-btn:focus-visible,
.fef-search-trigger.fef-search-trigger.fef-search-trigger:focus-visible,
.fef-search-overlay-trigger.fef-search-overlay-trigger.fef-search-overlay-trigger:focus-visible,
.fef-search-ov2-trigger.fef-search-ov2-trigger.fef-search-ov2-trigger:focus-visible,
.fef-search-overlay-close.fef-search-overlay-close.fef-search-overlay-close:focus-visible,
.fef-search-ov2-close.fef-search-ov2-close.fef-search-ov2-close:focus-visible,
.fef-search-ov2-clear.fef-search-ov2-clear.fef-search-ov2-clear:focus-visible,
.fef-search-voice-btn.fef-search-voice-btn.fef-search-voice-btn:focus-visible,
.fef-search-photo-btn.fef-search-photo-btn.fef-search-photo-btn:focus-visible,
.fef-search-loc-btn.fef-search-loc-btn.fef-search-loc-btn:focus-visible,
.fef-search-gps-btn.fef-search-gps-btn.fef-search-gps-btn:focus-visible,
.fef-search-loc-close.fef-search-loc-close.fef-search-loc-close:focus-visible{
    outline:2px solid rgba(59,130,246,.55); outline-offset:2px;
}

/* 🔎 Search button (text / icon button at the end of the bar) */
.fef-search-btn.fef-search-btn.fef-search-btn{
    display:flex; align-items:center; gap:6px;
    padding:0 20px; height:100%;
    background-color:#1e293b; color:#fff;
    border-radius:0;
    font-size:14px; font-weight:500; line-height:1.2; white-space:nowrap; cursor:pointer;
    transition:background-color .2s;
}
.fef-search-btn.fef-search-btn.fef-search-btn:hover,
.fef-search-btn.fef-search-btn.fef-search-btn:focus,
.fef-search-btn.fef-search-btn.fef-search-btn:active{ background-color:#334155; color:#fff; box-shadow:none; text-decoration:none; }

/* 🔍 Icon triggers (Icon-only / Overlay / Overlay v2) */
.fef-search-trigger.fef-search-trigger.fef-search-trigger,
.fef-search-overlay-trigger.fef-search-overlay-trigger.fef-search-overlay-trigger,
.fef-search-ov2-trigger.fef-search-ov2-trigger.fef-search-ov2-trigger{
    align-items:center; justify-content:center;
    width:42px; height:42px; padding:0;
    border-radius:50%;
    background-color:#f1f5f9; color:#1e293b;
    font-size:18px; line-height:1; cursor:pointer;
    transition:background-color .2s ease,color .2s ease;
}
.fef-search-overlay-trigger.fef-search-overlay-trigger.fef-search-overlay-trigger,
.fef-search-ov2-trigger.fef-search-ov2-trigger.fef-search-ov2-trigger{ display:inline-flex; }
.fef-search-trigger.fef-search-trigger.fef-search-trigger{ display:flex; }
.fef-search-trigger.fef-search-trigger.fef-search-trigger:hover,
.fef-search-trigger.fef-search-trigger.fef-search-trigger:focus,
.fef-search-trigger.fef-search-trigger.fef-search-trigger:active,
.fef-search-overlay-trigger.fef-search-overlay-trigger.fef-search-overlay-trigger:hover,
.fef-search-overlay-trigger.fef-search-overlay-trigger.fef-search-overlay-trigger:focus,
.fef-search-overlay-trigger.fef-search-overlay-trigger.fef-search-overlay-trigger:active,
.fef-search-ov2-trigger.fef-search-ov2-trigger.fef-search-ov2-trigger:hover,
.fef-search-ov2-trigger.fef-search-ov2-trigger.fef-search-ov2-trigger:focus,
.fef-search-ov2-trigger.fef-search-ov2-trigger.fef-search-ov2-trigger:active{ background-color:#e2e8f0; color:#1e293b; box-shadow:none; text-decoration:none; }

/* ✕ Overlay close buttons */
.fef-search-overlay-close.fef-search-overlay-close.fef-search-overlay-close,
.fef-search-ov2-close.fef-search-ov2-close.fef-search-ov2-close{
    display:flex; align-items:center; justify-content:center;
    width:44px; height:44px; padding:0;
    border-radius:50%;
    background-color:rgba(255,255,255,.15); color:#fff;
    line-height:1; cursor:pointer;
}
.fef-search-overlay-close.fef-search-overlay-close.fef-search-overlay-close:hover,
.fef-search-overlay-close.fef-search-overlay-close.fef-search-overlay-close:focus,
.fef-search-overlay-close.fef-search-overlay-close.fef-search-overlay-close:active,
.fef-search-ov2-close.fef-search-ov2-close.fef-search-ov2-close:hover,
.fef-search-ov2-close.fef-search-ov2-close.fef-search-ov2-close:focus,
.fef-search-ov2-close.fef-search-ov2-close.fef-search-ov2-close:active{ background-color:rgba(255,255,255,.25); color:#fff; box-shadow:none; text-decoration:none; }

/* ⊗ Clear (×) inside the v2 input */
.fef-search-ov2-clear.fef-search-ov2-clear.fef-search-ov2-clear{
    display:flex; align-items:center; justify-content:center; flex:0 0 auto;
    padding:0 12px; border-radius:0;
    background-color:transparent; color:#94a3b8;
    font-size:16px; line-height:1; cursor:pointer;
}
.fef-search-ov2-clear.fef-search-ov2-clear.fef-search-ov2-clear:hover,
.fef-search-ov2-clear.fef-search-ov2-clear.fef-search-ov2-clear:focus,
.fef-search-ov2-clear.fef-search-ov2-clear.fef-search-ov2-clear:active{ background-color:transparent; color:#475569; box-shadow:none; text-decoration:none; }

/* 🎤 Voice · 📷 Camera · cancel-voice */
.fef-search-voice-btn.fef-search-voice-btn.fef-search-voice-btn,
.fef-search-photo-btn.fef-search-photo-btn.fef-search-photo-btn,
.fef-search-mvoice-cancel.fef-search-mvoice-cancel.fef-search-mvoice-cancel{
    padding:6px; border-radius:0;
    background-color:transparent; color:#999;
    font-size:18px; line-height:1; cursor:pointer; flex-shrink:0;
    transition:color .2s, background-color .2s;
}
.fef-search-voice-btn.fef-search-voice-btn.fef-search-voice-btn,
.fef-search-photo-btn.fef-search-photo-btn.fef-search-photo-btn{ display:flex; align-items:center; }
.fef-search-mvoice-cancel.fef-search-mvoice-cancel.fef-search-mvoice-cancel{ color:#64748b; align-items:center; justify-content:center; }
.fef-search-voice-btn.fef-search-voice-btn.fef-search-voice-btn:hover,
.fef-search-voice-btn.fef-search-voice-btn.fef-search-voice-btn:focus,
.fef-search-voice-btn.fef-search-voice-btn.fef-search-voice-btn:active,
.fef-search-voice-btn.fef-search-voice-btn.fef-search-voice-btn.recording{ background-color:transparent; color:#c62828; box-shadow:none; text-decoration:none; }
.fef-search-photo-btn.fef-search-photo-btn.fef-search-photo-btn:hover,
.fef-search-photo-btn.fef-search-photo-btn.fef-search-photo-btn:focus,
.fef-search-photo-btn.fef-search-photo-btn.fef-search-photo-btn:active,
.fef-search-photo-btn.fef-search-photo-btn.fef-search-photo-btn.is-open{ background-color:transparent; color:#2271b1; box-shadow:none; text-decoration:none; }
.fef-search-mvoice-cancel.fef-search-mvoice-cancel.fef-search-mvoice-cancel:hover,
.fef-search-mvoice-cancel.fef-search-mvoice-cancel.fef-search-mvoice-cancel:focus,
.fef-search-mvoice-cancel.fef-search-mvoice-cancel.fef-search-mvoice-cancel:active{ background-color:transparent; color:#1e293b; box-shadow:none; }

/* 📍 Nearby location: marker / current location / back-to-search */
.fef-search-loc-btn.fef-search-loc-btn.fef-search-loc-btn,
.fef-search-gps-btn.fef-search-gps-btn.fef-search-gps-btn,
.fef-search-loc-close.fef-search-loc-close.fef-search-loc-close{
    display:inline-flex; align-items:center; justify-content:center;
    width:34px; height:34px; flex:0 0 auto; padding:0;
    border-radius:8px;
    background-color:transparent; color:#64748b;
    font-size:16px; line-height:1; cursor:pointer;
}
.fef-search-loc-active .fef-search-loc-btn.fef-search-loc-btn.fef-search-loc-btn{ color:#3b82f6; }
.fef-search-loc-active .fef-search-loc-close.fef-search-loc-close.fef-search-loc-close{ color:#059669; }
.fef-search-loc-btn.fef-search-loc-btn.fef-search-loc-btn:hover,
.fef-search-loc-btn.fef-search-loc-btn.fef-search-loc-btn:focus,
.fef-search-gps-btn.fef-search-gps-btn.fef-search-gps-btn:hover,
.fef-search-gps-btn.fef-search-gps-btn.fef-search-gps-btn:focus,
.fef-search-loc-close.fef-search-loc-close.fef-search-loc-close:hover,
.fef-search-loc-close.fef-search-loc-close.fef-search-loc-close:focus{ background-color:#eff6ff; color:#3b82f6; box-shadow:none; text-decoration:none; }
/* The JS toggles the [hidden] attribute — the display rules above must never defeat it */
.fef-search-loc-close.fef-search-loc-close.fef-search-loc-close[hidden],
.fef-search-ov2-clear.fef-search-ov2-clear.fef-search-ov2-clear[hidden]{ display:none !important; }

/* 📷 Photo menu rows (dropdown + mobile sheet) */
.fef-photo-opt.fef-photo-opt.fef-photo-opt{
    display:flex; align-items:center; gap:12px; width:100%; text-align:left;
    padding:11px 12px; border-radius:10px;
    background-color:transparent; color:#1e293b;
    font-family:inherit; font-size:15px; font-weight:400; line-height:1.3; cursor:pointer;
}
.fef-photo-opt.fef-photo-opt.fef-photo-opt:hover,
.fef-photo-opt.fef-photo-opt.fef-photo-opt:focus,
.fef-photo-opt.fef-photo-opt.fef-photo-opt:active{ background-color:#f1f5f9; color:#1e293b; box-shadow:none; text-decoration:none; }
.fef-photo-menu.is-sheet .fef-photo-opt.fef-photo-opt.fef-photo-opt{ padding:15px 14px; font-size:16px; background-color:#f8fafc; }
.fef-photo-menu.is-sheet .fef-photo-opt.fef-photo-opt.fef-photo-opt:hover,
.fef-photo-menu.is-sheet .fef-photo-opt.fef-photo-opt.fef-photo-opt:focus{ background-color:#f1f5f9; }
.fef-photo-cancel.fef-photo-cancel.fef-photo-cancel{ background-color:transparent; color:#475569; cursor:pointer; }
.fef-photo-menu.is-sheet .fef-photo-cancel.fef-photo-cancel.fef-photo-cancel{
    display:block; width:100%; margin-top:10px; padding:14px; border-radius:12px;
    font-size:16px; font-weight:600;
}
.fef-photo-menu.is-sheet .fef-photo-cancel.fef-photo-cancel.fef-photo-cancel:hover,
.fef-photo-menu.is-sheet .fef-photo-cancel.fef-photo-cancel.fef-photo-cancel:focus{ background-color:#f1f5f9; color:#475569; box-shadow:none; }

/* ⌨ The typed input: the field's border / fill / shadow belong to .fef-search-bar, never the theme's input styling */
.fef-search-input.fef-search-input.fef-search-input{
    -webkit-appearance:none; appearance:none;
    border:0; border-radius:0; outline:0; box-shadow:none;
    background-color:transparent; background-image:none;
    margin:0; font-family:inherit;
}

/* ================================================================
   ICON-FONT GUARD
   A missing-glyph box (the little "F0 02" square) means the icon's font-family was
   overridden — typically by a global `* { font-family:… !important }` or a theme
   `button, button * {…}` rule. Force Font Awesome's own families back on every icon
   in the widget (bar, overlays, dropdown, portaled drawer, photo menu).
   ================================================================ */
:is(.fef-search-wrap,.fef-search-dropdown,.fef-search-dd-drawer,.fef-photo-menu,.fef-search-overlay,.fef-search-ov2) i:is(.fas,.far,.fab,.fa,.fa-solid,.fa-regular,.fa-brands),
:is(.fef-search-wrap,.fef-search-dropdown,.fef-search-dd-drawer,.fef-photo-menu,.fef-search-overlay,.fef-search-ov2) i:is(.fas,.far,.fab,.fa,.fa-solid,.fa-regular,.fa-brands)::before{
    font-family:"Font Awesome 6 Free","Font Awesome 5 Free","FontAwesome" !important;
    font-weight:900;
    font-style:normal; font-variant:normal; text-transform:none; letter-spacing:normal;
    line-height:1; text-rendering:auto;
    -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
}
:is(.fef-search-wrap,.fef-search-dropdown,.fef-search-dd-drawer,.fef-photo-menu,.fef-search-overlay,.fef-search-ov2) i:is(.far,.fa-regular),
:is(.fef-search-wrap,.fef-search-dropdown,.fef-search-dd-drawer,.fef-photo-menu,.fef-search-overlay,.fef-search-ov2) i:is(.far,.fa-regular)::before{ font-weight:400; }
:is(.fef-search-wrap,.fef-search-dropdown,.fef-search-dd-drawer,.fef-photo-menu,.fef-search-overlay,.fef-search-ov2) i:is(.fab,.fa-brands),
:is(.fef-search-wrap,.fef-search-dropdown,.fef-search-dd-drawer,.fef-photo-menu,.fef-search-overlay,.fef-search-ov2) i:is(.fab,.fa-brands)::before{
    font-family:"Font Awesome 6 Brands","Font Awesome 5 Brands" !important; font-weight:400;
}
/* Inline-SVG icons (Elementor "Inline Font Icons" / uploaded SVG) follow the button's colour */
:is(.fef-search-wrap,.fef-search-dropdown,.fef-photo-menu) button svg{ fill:currentColor; }
