/* ── Price Range Slider ─────────────────────────────────────────── */

.minimog-pc-price-form {
    padding: 4px 0 8px;
}

.minimog-pc-price-slider {
    position: relative;
    height: 20px;
    margin: 8px 0 20px;
    user-select: none;
}

/* Track background */
.mpc-track {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    border-radius: 4px;
    pointer-events: none;
}

/* Filled range between handles */
.mpc-fill {
    position: absolute;
    height: 100%;
    background: var(--minimog-color-primary, #1a1a1a);
    border-radius: 4px;
}

/* Range inputs */
.mpc-range {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 4px;
    background: transparent;
    outline: none;
    cursor: pointer;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.mpc-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--minimog-color-primary, #1a1a1a);
    border: 2px solid #fff;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.35);
    cursor: grab;
    pointer-events: all;
    transition: transform 0.1s;
}

.mpc-range::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.15);
}

.mpc-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--minimog-color-primary, #1a1a1a);
    border: 2px solid #fff;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.35);
    cursor: grab;
    pointer-events: all;
}

/* Price display row */
.mpc-price-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
}

.mpc-label {
    font-size: 13px;
    color: #555;
    font-weight: 500;
}

.mpc-submit {
    background: var(--minimog-color-primary, #1a1a1a);
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity .2s;
}

.mpc-submit:hover {
    opacity: .8;
}

/* ── Spacing between injected widgets ───────────────────────────── */

#minimog-pc-brand-filter,
#minimog-pc-pa_gender-filter,
#minimog-pc-pa_fragrance-type-filter,
#minimog-pc-price-filter {
    margin-bottom: 24px;
}

/* ── Sticky shop sidebar ─────────────────────────────────────────── */
@media (min-width: 992px) {
    .woocommerce.page-has-sidebar .page-sidebar.sidebar-primary .page-sidebar-content-wrap {
        position: sticky;
        top: 110px;
    }
}

/* ── Long filter list collapse (5 items + See more) ─────────────── */
.mpc-collapsible-filter-list:not(.is-expanded) > li:nth-child(n + 6) {
    display: none;
}

.mpc-filter-see-more {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    padding: 0;
    color: var(--minimog-color-primary, #1a1a1a);
    background: transparent;
    border: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    cursor: pointer;
}

.mpc-filter-see-more:hover {
    opacity: 0.75;
}
