/* static/store/css/nouislider.css */
/* Estilos mínimos + bonitos para noUiSlider (barrita visible) */

.noUi-target,
.noUi-target * {
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-user-select: none;
    user-select: none;
    box-sizing: border-box;
}

.noUi-target {
    position: relative;
    direction: ltr;
}

.noUi-base,
.noUi-connects {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.noUi-connects {
    overflow: hidden;
    border-radius: 999px;
}

.noUi-connect {
    height: 100%;
    width: 100%;
}

.noUi-origin {
    position: absolute;
    right: 0;
    top: 0;
    left: 0;
    bottom: 0;
}

.noUi-handle {
    position: absolute;
    z-index: 2;
    cursor: grab;
}

.noUi-handle:active {
    cursor: grabbing;
}

.noUi-state-tap .noUi-connect,
.noUi-state-tap .noUi-origin {
    transition: transform .2s;
}

/* ===== LOOK BAR (tu estilo pastel) ===== */
.cat-page .noUi-target {
    border: 1px solid rgba(10, 44, 78, .12) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .85) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
    height: 10px !important;
}

.cat-page .noUi-connect {
    background: linear-gradient(90deg, #EAF6FF, #F2EEFF) !important;
}

.cat-page .noUi-handle {
    width: 22px !important;
    height: 22px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(10, 44, 78, .18) !important;
    background: #fff !important;
    box-shadow: 0 10px 18px rgba(2, 6, 23, .10) !important;
    top: -7px !important;
    /* centra el handle sobre la barra */
    right: -11px !important;
    /* corrige el offset */
}

/* quita las rayitas del handle */
.cat-page .noUi-handle:before,
.cat-page .noUi-handle:after {
    display: none !important;
}

/* Opcional: tooltip (si luego lo usas) */
.noUi-tooltip {
    position: absolute;
    background: rgba(10, 44, 78, .92);
    color: #fff;
    padding: 4px 8px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 12px;
    transform: translate(-50%, -10px);
    white-space: nowrap;
}