/* ============================================================
   Woo Filter Pro v2 — Frontend CSS
   Mobile-first, popup drawer, fully optimised
   ============================================================ */

/* ── CSS Custom Properties ── */
:root {
    --wfp-primary:      #333;
    --wfp-primary-bg:   #333;
    --wfp-accent:       #e0a800;
    --wfp-border:       #e5e7eb;
    --wfp-text:         #374151;
    --wfp-muted:        #9ca3af;
    --wfp-bg:           #fff;
    --wfp-radius:       8px;
    --wfp-transition:   0.2s ease;
    --wfp-shadow:       0 2px 8px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
}

/* ============================================================
   WIDGET WRAPPER
   ============================================================ */
.wfp-root { position: relative; }

.wfp-widget {
    background: var(--wfp-bg);
    box-shadow: var(--wfp-shadow);
    border-radius: var(--wfp-radius);
    overflow: hidden;
}

/* ── Widget Title ── */
.wfp-title {
    margin: 0;
    padding: 16px 20px 14px;
    font-size: 15px;
    font-weight: 700;
    color: var(--wfp-text);
    border-bottom: 1px solid var(--wfp-border);
    letter-spacing: .02em;
    text-transform: uppercase;
}

/* ── Active Chips ── */
.wfp-chips-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px 16px 4px;
}
.wfp-chips-wrap[hidden] { display: none; }

.wfp-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px 4px 12px;
    background: var(--wfp-primary-bg);
    color: #fff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    cursor: default;
}
.wfp-chip-x {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255,255,255,.25);
    font-size: 11px;
    line-height: 1;
    cursor: pointer;
    transition: background var(--wfp-transition);
    flex-shrink: 0;
}
.wfp-chip-x:hover { background: rgba(255,255,255,.45); }

/* ============================================================
   FILTER SECTIONS
   ============================================================ */
.wfp-section {
    border-bottom: 1px solid var(--wfp-border);
}
.wfp-section:last-of-type { border-bottom: none; }

.wfp-sec-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    user-select: none;
    -webkit-user-select: none;
}
.wfp-sec-header.wfp-collapsible { cursor: pointer; }
.wfp-sec-header.wfp-collapsible:hover { background: rgba(0,0,0,.02); }
.wfp-sec-header.wfp-collapsible:active { background: rgba(0,0,0,.04); }

.wfp-sec-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--wfp-text);
    letter-spacing: .025em;
    text-transform: uppercase;
}

.wfp-toggle-icon {
    font-size: 10px;
    color: var(--wfp-muted);
}

.wfp-sec-body {
    padding: 0 20px 16px;
    overflow: hidden;
    max-height: 2000px;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease;
    opacity: 1;
}
.wfp-sec-body.wfp-collapsed {
    max-height: 0 !important;
    opacity: 0;
    padding-bottom: 0;
    pointer-events: none;
}

/* ============================================================
   OPTIONS LIST — checkbox / radio / button
   ============================================================ */
.wfp-opts-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.wfp-btn-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
}

.wfp-opt-row {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    line-height: 1.4;
    padding: 4px 0;
    min-height: 36px;       /* minimum touch target */
    -webkit-tap-highlight-color: transparent;
}
.wfp-opt-row:hover .wfp-opt-label { color: var(--wfp-primary); }
.wfp-opt-row:active { opacity: .75; }

/* Hidden real input */
.wfp-opt-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* Custom checkbox/radio */
.wfp-check-box {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid var(--wfp-border);
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    transition: background var(--wfp-transition), border-color var(--wfp-transition);
    position: relative;
    flex-shrink: 0;
}
.wfp-opt-input[type="radio"] ~ .wfp-check-box { border-radius: 50%; }

.wfp-opt-input:checked ~ .wfp-check-box,
.wfp-root .wfp-opt-input:checked ~ .wfp-check-box,
.wfp-drawer .wfp-opt-input:checked ~ .wfp-check-box,
.wfp-check-box.wfp-is-checked {
    background: var(--wfp-primary-bg) !important;
    border-color: var(--wfp-primary-bg) !important;
}
.wfp-opt-input[type="checkbox"]:checked ~ .wfp-check-box::after,
.wfp-root .wfp-opt-input[type="checkbox"]:checked ~ .wfp-check-box::after,
.wfp-drawer .wfp-opt-input[type="checkbox"]:checked ~ .wfp-check-box::after,
.wfp-opt-input[type="checkbox"] ~ .wfp-check-box.wfp-is-checked::after {
    content: '' !important;
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(43deg) translateY(-1px);
    display: block !important;
}
.wfp-opt-input[type="radio"]:checked ~ .wfp-check-box::after,
.wfp-root .wfp-opt-input[type="radio"]:checked ~ .wfp-check-box::after,
.wfp-drawer .wfp-opt-input[type="radio"]:checked ~ .wfp-check-box::after,
.wfp-opt-input[type="radio"] ~ .wfp-check-box.wfp-is-checked::after {
    content: '' !important;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    display: block !important;
}

.wfp-opt-label {
    font-size: 14px;
    color: var(--wfp-text);
    transition: color var(--wfp-transition);
    flex: 1;
}

.wfp-count {
    font-size: 11px;
    color: var(--wfp-muted);
    background: #f3f4f6;
    padding: 2px 7px;
    border-radius: 999px;
    margin-left: auto;
    font-weight: 500;
}

/* ── Button / Tag Options ── */
.wfp-btn-opt {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    border: 1.5px solid var(--wfp-border);
    border-radius: var(--wfp-radius);
    background: #fff;
    font-size: 13px;
    color: var(--wfp-text);
    cursor: pointer;
    transition: all var(--wfp-transition);
    font-weight: 500;
    min-height: 38px;
    -webkit-tap-highlight-color: transparent;
}
.wfp-btn-opt:hover { background: #f9fafb; border-color: #d1d5db; }
.wfp-btn-opt:active { transform: scale(.97); }
.wfp-btn-opt.is-active {
    background: var(--wfp-primary-bg);
    color: #fff;
    border-color: var(--wfp-primary-bg);
}

/* ── Dropdown ── */
.wfp-dropdown {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid var(--wfp-border);
    border-radius: var(--wfp-radius);
    font-size: 14px;
    color: var(--wfp-text);
    background: #fff;
    outline: none;
    cursor: pointer;
    transition: border-color var(--wfp-transition);
    appearance: auto;
}
.wfp-dropdown:focus { border-color: var(--wfp-primary); }

/* ============================================================
   PRICE SLIDER
   ============================================================ */
.wfp-slider-el {
    margin: 8px 8px 18px;
    height: 4px;
}

.noUi-target {
    background: #e5e7eb;
    border: none;
    box-shadow: none;
    border-radius: 4px;
}
.noUi-connect { background: var(--wfp-primary-bg); }
.noUi-handle {
    background: #fff;
    border: 2px solid var(--wfp-primary-bg);
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0,0,0,.18);
    width: 20px !important;
    height: 20px !important;
    right: -10px !important;
    top: -9px !important;
    cursor: grab;
    outline: none;
}
.noUi-handle:active { cursor: grabbing; }
.noUi-handle::before,
.noUi-handle::after { display: none; }

.wfp-price-inputs {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}
.wfp-price-input {
    width: 0;
    flex: 1;
    padding: 8px;
    border: 1.5px solid var(--wfp-border);
    border-radius: var(--wfp-radius);
    font-size: 13px;
    color: var(--wfp-text);
    text-align: center;
    outline: none;
    transition: border-color var(--wfp-transition);
    background: #fff;
    -moz-appearance: textfield;
    appearance: textfield;
}
.wfp-price-input::-webkit-outer-spin-button,
.wfp-price-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.wfp-price-input:focus { border-color: var(--wfp-primary); }
.wfp-currency { font-size: 13px; color: var(--wfp-muted); flex-shrink: 0; }
.wfp-price-sep { color: var(--wfp-muted); flex-shrink: 0; }
.wfp-price-display { font-size: 13px; color: var(--wfp-muted); margin-top: 10px; }

/* ============================================================
   SWATCHES
   ============================================================ */
.wfp-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.wfp-swatch {
    width: 32px;
    height: 32px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform var(--wfp-transition), border-color var(--wfp-transition), box-shadow var(--wfp-transition);
    position: relative;
    overflow: hidden;
    outline: none;
    background: #e5e7eb;
    box-shadow: 0 1px 2px rgba(0,0,0,.1);
    -webkit-tap-highlight-color: transparent;
}
.wfp-swatch:hover { transform: scale(1.12); box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.wfp-swatch:active { transform: scale(.96); }
.wfp-swatch.is-active {
    border-color: var(--wfp-primary-bg) !important;
    box-shadow: 0 0 0 3px rgba(0,0,0,.12);
}
.wfp-swatch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wfp-swatch--circle  { border-radius: 50%; }
.wfp-swatch--square  { border-radius: 3px; }
.wfp-swatch--rounded { border-radius: 8px; }

/* Tooltip */
.wfp-swatch[data-tip]:hover::after {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 200;
}

/* ============================================================
   RATING
   ============================================================ */
.wfp-rating-row { align-items: center; }
.wfp-stars { display: inline-flex; gap: 1px; }
.wfp-star { color: #d1d5db; font-size: 16px; transition: color var(--wfp-transition); }
.wfp-star.on { color: #f59e0b; }
.wfp-rating-row:hover .wfp-star { color: #f59e0b; }

/* ============================================================
   ACTION BUTTONS
   ============================================================ */
.wfp-actions {
    display: flex;
    gap: 8px;
    padding: 14px 20px 18px;
}
.wfp-apply-btn,
.wfp-reset-btn {
    flex: 1;
    padding: 12px 16px;
    border: 1.5px solid var(--wfp-border);
    border-radius: var(--wfp-radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--wfp-transition);
    letter-spacing: .02em;
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
}
.wfp-apply-btn {
    background: var(--wfp-primary-bg);
    color: #fff;
    border-color: var(--wfp-primary-bg);
}
.wfp-apply-btn:hover  { filter: brightness(1.1); }
.wfp-apply-btn:active { transform: scale(.98); }
.wfp-reset-btn {
    background: #fff;
    color: var(--wfp-text);
}
.wfp-reset-btn:hover  { background: #f9fafb; }
.wfp-reset-btn:active { background: #f3f4f6; }

/* ============================================================
   LOADING OVERLAY
   ============================================================ */
.wfp-loop-wrap { position: relative; }
.wfp-loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.7);
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(1px);
    border-radius: 4px;
}
.wfp-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #e5e7eb;
    border-top-color: var(--wfp-primary-bg);
    border-radius: 50%;
    animation: wfp-spin .7s linear infinite;
}
@keyframes wfp-spin { to { transform: rotate(360deg); } }

.wfp-hidden { display: none !important; }

.wfp-no-results {
    padding: 40px 16px;
    text-align: center;
    color: var(--wfp-muted);
    font-size: 14px;
    width: 100%;
}

/* ============================================================
   MOBILE FILTER TOGGLE BUTTON
   ============================================================ */
.wfp-mobile-toggle {
    display: none;               /* shown only on mobile via media query */
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--wfp-primary-bg);
    color: #fff;
    border: none;
    border-radius: var(--wfp-radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: filter var(--wfp-transition), transform .15s ease;
    -webkit-tap-highlight-color: transparent;
    position: relative;
}
.wfp-mobile-toggle:hover  { filter: brightness(1.1); }
.wfp-mobile-toggle:active { transform: scale(.97); }

/* Filter count badge on the toggle button */
.wfp-filter-badge {
    display: none;               /* hidden when empty */
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    background: #fff;
    color: var(--wfp-primary-bg);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}
.wfp-filter-badge.is-visible { display: inline-flex; }

/* ============================================================
   POPUP OVERLAY (backdrop)
   ============================================================ */
.wfp-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 9998;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    animation: wfp-fade-in .2s ease;
}
.wfp-overlay.is-open { display: block; }
@keyframes wfp-fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   POPUP / MODAL  (centered on tablet, bottom-sheet on phone)
   ============================================================ */
.wfp-drawer {
    /* Centered popup for tablet and larger mobile */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -46%) scale(0.95);
    width: min(420px, 92vw);
    max-height: 88vh;
    background: #fff;
    z-index: 9999;
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(0,0,0,.22), 0 0 0 1px rgba(0,0,0,.04);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: transform .28s cubic-bezier(.34,1.3,.64,1), opacity .22s ease;
}
.wfp-drawer.is-open {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: auto;
}

/* Popup header */
.wfp-drawer-header {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 14px;
    background: #fff;
    border-bottom: 1px solid var(--wfp-border);
}
.wfp-drawer-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--wfp-text);
    letter-spacing: .02em;
}
.wfp-drawer-close {
    width: 34px;
    height: 34px;
    min-width: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--wfp-border);
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    color: var(--wfp-muted);
    background: none;
    transition: all var(--wfp-transition);
    -webkit-tap-highlight-color: transparent;
}
.wfp-drawer-close:hover  { background: #f3f4f6; color: var(--wfp-text); border-color: #d1d5db; }
.wfp-drawer-close:active { background: #e5e7eb; }

/* Scrollable body inside popup */
.wfp-drawer-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

/* Widget inside popup: no outer shadow/radius (popup provides them) */
.wfp-drawer .wfp-widget {
    box-shadow: none;
    border-radius: 0;
}
/* Hide widget title inside popup (popup header already shows it) */
.wfp-drawer .wfp-title { display: none; }

/* ── Bottom sheet on small phones ── */
@media (max-width: 480px) {
    .wfp-drawer {
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-height: 90vh;
        border-radius: 24px 24px 0 0;
        /* Override centered popup transform */
        transform: translateY(100%);
        opacity: 1;
        box-shadow: 0 -8px 40px rgba(0,0,0,.18);
    }
    .wfp-drawer.is-open {
        transform: translateY(0);
        opacity: 1;
    }
    /* Drag handle indicator */
    .wfp-drawer-header {
        padding-top: 24px;
        position: relative;
    }
    .wfp-drawer-header::before {
        content: '';
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 4px;
        background: #d1d5db;
        border-radius: 2px;
    }
}

/* No scroll on body when popup open */
body.wfp-no-scroll { overflow: hidden; }

/* ============================================================
   SEARCH WIDGET
   ============================================================ */
.wfp-search-widget { width: 100%; }
.wfp-s-wrap {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--wfp-border);
    border-radius: var(--wfp-radius);
    background: #fff;
    overflow: hidden;
    transition: border-color var(--wfp-transition), box-shadow var(--wfp-transition);
}
.wfp-s-wrap:focus-within {
    border-color: var(--wfp-primary);
    box-shadow: 0 0 0 3px rgba(0,0,0,.06);
}
.wfp-s-icon {
    padding: 0 12px;
    color: var(--wfp-muted);
    font-size: 16px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.wfp-s-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    padding: 11px 6px;
    background: transparent;
    color: var(--wfp-text);
    min-width: 0;
}
.wfp-s-btn {
    padding: 11px 16px;
    background: var(--wfp-primary-bg);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: filter var(--wfp-transition);
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
}
.wfp-s-btn:hover  { filter: brightness(1.1); }
.wfp-s-btn:active { filter: brightness(.95); }

/* ============================================================
   SORT WIDGET
   ============================================================ */
.wfp-sort-widget {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: 100%;
}

/* Inline layout: label beside the dropdown/buttons on the same row */
.wfp-sort-widget.wfp-sort--inline {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
}
.wfp-sort-widget.wfp-sort--inline .wfp-sort-label {
    flex-shrink: 0;
    white-space: nowrap;
}
.wfp-sort-widget.wfp-sort--inline .wfp-sort-drop {
    flex: 1 1 0% !important;
    width: auto !important;
    min-width: 0;
}

/* Stacked layout: label above the dropdown/buttons */
.wfp-sort-widget.wfp-sort--stacked {
    flex-direction: column;
    align-items: flex-start;
}
.wfp-sort-widget.wfp-sort--stacked .wfp-sort-drop,
.wfp-sort-widget.wfp-sort--stacked .wfp-sort-btns {
    width: 100%;
}

.wfp-sort-label {
    font-size: 13px;
    color: var(--wfp-muted);
    font-weight: 500;
    white-space: nowrap;
}
.wfp-sort-drop {
    padding: 10px 40px 10px 14px;
    border: 1.5px solid var(--wfp-border);
    border-radius: var(--wfp-radius);
    font-size: 13px;
    font-weight: 500;
    color: var(--wfp-text);
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpolyline points='1,1 6,6 11,1' fill='none' stroke='%23555' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 7px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    cursor: pointer;
    min-width: 0;
    transition: border-color var(--wfp-transition);
    min-height: 42px;
}
.wfp-sort-drop:focus { border-color: var(--wfp-primary); }
.wfp-sort-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.wfp-sort-btn {
    padding: 9px 14px;
    border: 1.5px solid var(--wfp-border);
    border-radius: var(--wfp-radius);
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--wfp-transition);
    color: var(--wfp-text);
    min-height: 40px;
    -webkit-tap-highlight-color: transparent;
}
.wfp-sort-btn:hover  { background: #f9fafb; }
.wfp-sort-btn:active { background: #f3f4f6; }
.wfp-sort-btn.is-active {
    background: var(--wfp-primary-bg);
    color: #fff;
    border-color: var(--wfp-primary-bg);
}

/* ============================================================
   PAGINATION WIDGET
   ============================================================ */
.wfp-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 16px 0;
    flex-wrap: wrap;
}
.wfp-page-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 1.5px solid var(--wfp-border);
    border-radius: var(--wfp-radius);
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    color: var(--wfp-text);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--wfp-transition);
    -webkit-tap-highlight-color: transparent;
}
.wfp-page-btn:hover { background: #f3f4f6; }
.wfp-page-btn.is-active {
    background: var(--wfp-primary-bg);
    color: #fff;
    border-color: var(--wfp-primary-bg);
}
.wfp-page-btn:disabled { opacity: .4; cursor: not-allowed; }
.wfp-page-dots { color: var(--wfp-muted); padding: 0 4px; font-size: 13px; }

/* ============================================================
   MOBILE RESPONSIVE  (≤768px)
   ============================================================ */
@media (max-width: 768px) {
    /* Show the filter toggle button */
    .wfp-mobile-toggle { display: inline-flex; }

    /* Hide widget in DOM until popup opens */
    .wfp-root.wfp-drawer-mode .wfp-widget { display: none; }

    /* Search — slightly compact */
    .wfp-s-btn { padding: 11px 12px; }

    /* Sort */
    .wfp-sort-widget { gap: 6px; }
    .wfp-sort-widget.wfp-sort--inline .wfp-sort-drop { min-width: 0; }

    /* Pagination — larger tap targets */
    .wfp-page-btn { min-width: 40px; height: 40px; }

    /* Chips */
    .wfp-chip { font-size: 11px; padding: 3px 8px 3px 10px; }
}

/* ============================================================
   ELEMENTOR EDITOR — preview fixes
   ============================================================ */
.elementor-editor-active .wfp-mobile-toggle { display: none !important; }
.elementor-editor-active .wfp-root.wfp-drawer-mode .wfp-widget { display: block !important; }
