/* ── Sticky wrapper ─────────────────────────────────────── */
.pf-3f152f03-sticky {
    position: sticky;
    top: 20px;
    background: transparent;
    font-family: inherit;
    color: #333;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}
body.admin-bar .pf-3f152f03-sticky {
    top: calc(var(--wp-admin--admin-bar--height, 32px) + 20px);
}
@media screen and (max-width: 782px) {
    body.admin-bar .pf-3f152f03-sticky { top: calc(46px + 20px); }
}
.pf-3f152f03-sticky::-webkit-scrollbar { width: 4px; }
.pf-3f152f03-sticky::-webkit-scrollbar-thumb { background: #ccc; border-radius: 2px; }

/* ── Form layout ────────────────────────────────────────── */
.pf-3f152f03-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.pf-3f152f03-section {
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #eee;
}
.pf-3f152f03-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* ── Section titles ─────────────────────────────────────── */
.pf-3f152f03-section-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #222;
    margin: 0 0 14px 0;
    padding: 0;
}

/* ── Price slider ───────────────────────────────────────── */
.pf-3f152f03-slider-track {
    position: relative;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    margin: 12px 0 14px;
}
.pf-3f152f03-slider-range {
    position: absolute;
    height: 100%;
    background: #555;
    border-radius: 2px;
    pointer-events: none;
}
.pf-3f152f03-thumb {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 4px;
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    margin: 0;
    padding: 0;
    border: none;
}
.pf-3f152f03-thumb::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #555;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.3);
    cursor: pointer;
    pointer-events: all;
    position: relative;
    z-index: 2;
}
.pf-3f152f03-thumb::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #555;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.3);
    cursor: pointer;
    pointer-events: all;
}
.pf-3f152f03-thumb-min { z-index: 3; }
.pf-3f152f03-thumb-max { z-index: 4; }

.pf-3f152f03-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}
.pf-3f152f03-price-display {
    font-size: 14px;
    color: #444;
}
.pf-3f152f03-reset-btn {
    background: #f2f2f2;
    border: 1px solid #ddd;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #555;
    cursor: pointer;
    border-radius: 2px;
    transition: background 0.2s;
}
.pf-3f152f03-reset-btn:hover { background: #e5e5e5; }

/* ── Checkbox list ──────────────────────────────────────── */
.pf-3f152f03-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pf-3f152f03-item { margin: 0; padding: 0; }
.pf-3f152f03-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #444;
    cursor: pointer;
    line-height: 1.3;
}
.pf-3f152f03-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #333;
    margin: 0;
}

/* ── Stars ──────────────────────────────────────────────── */
.pf-3f152f03-stars { display: inline-flex; gap: 2px; line-height: 1; }
.pf-3f152f03-star { font-size: 18px; }
.pf-3f152f03-star.filled { color: #f0b429; }
.pf-3f152f03-star.empty  { color: #ddd; }

/* ── Categories hierarchy ───────────────────────────────── */
.pf-3f152f03-parent-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.pf-3f152f03-toggle {
    background: none;
    border: none;
    padding: 2px 4px;
    cursor: pointer;
    color: #888;
    font-size: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.pf-3f152f03-arrow {
    display: inline-block;
    transition: transform 0.2s ease;
}
.pf-3f152f03-parent-item.is-open .pf-3f152f03-arrow {
    transform: rotate(180deg);
}
.pf-3f152f03-subcategories {
    display: none;
    list-style: none;
    margin: 10px 0 0 26px;
    padding: 0;
    flex-direction: column;
    gap: 10px;
}
.pf-3f152f03-subcategories.is-open { display: flex; }
.pf-3f152f03-child-item .pf-3f152f03-label {
    font-size: 13px;
    color: #666;
}

/* ── Submit row ─────────────────────────────────────────── */
.pf-3f152f03-submit-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pf-3f152f03-apply-btn {
    background: #222;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 2px;
    transition: background 0.25s;
    width: 100%;
}
.pf-3f152f03-apply-btn:hover { background: #444; }
.pf-3f152f03-clear-link {
    text-align: center;
    font-size: 12px;
    color: #888;
    text-decoration: underline;
    cursor: pointer;
    display: block;
}
.pf-3f152f03-clear-link:hover { color: #444; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 767px) {
    .pf-3f152f03-sticky {
        position: relative;
        top: auto;
        max-height: none;
    }
}