.facet-type-numericRange-data {
    max-width: clamp(200px, 50vw, 500px);
    position: relative;
}

.tx-solr-numericRange {
    --_height: 14px;
    --_thumb-size: calc(var(--_height) * 1.5);
    --_thumb-color: var(--bs-primary, #f18f0b);
    display: grid;
}

.tx-solr-numericRange__slider {
    position: relative;
    z-index: 1;
    height: var(--_height);
    display: grid;
    align-items: center;
}

.tx-solr-numericRange__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.tx-solr-numericRange__slider__track {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-color: #f7f7f7;
    border: 1px solid #dddddd;
}

.tx-solr-numericRange__slider__range-between {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: #ece8da;
    border: 1px solid #dddddd;
}

.tx-solr-numericRange__slider__thumb {
    position: absolute;
    z-index: 3;
    width: var(--_thumb-size);
    height: var(--_thumb-size);
    background-color: var(--_thumb-color);
    transition: box-shadow 0.3s ease-in-out;
    border: 1px solid var(--_thumb-color);
}

.tx-solr-numericRange__slider__thumb.left {
    left: 0;
}

.tx-solr-numericRange__slider__thumb.right {
    right: 0;
}

.tx-solr-numericRange__slider__thumb.solr-active {
    background: #fafaf4;
    border: 1px solid #d4ccb0;
}

.tx-solr-numericRange__slider__thumb.solr-focus {
    outline: -webkit-focus-ring-color auto 1px;
}

.tx-solr-numericRange__input {
    position: absolute;
    pointer-events: none;
    -webkit-appearance: none;
    z-index: 2;
    height: var(--_height);
    width: 100%;
    opacity: 0;
    cursor: pointer;
    top: 0;
}

.tx-solr-numericRange__input::-webkit-slider-thumb {
    pointer-events: all;
    width: var(--_thumb-size);
    height: var(--_thumb-size);
    border-radius: 0;
    border: 0 none;
    background-color: var(--_thumb-color, #f18f0b);
    -webkit-appearance: none;
}

.tx-solr-numericRange__input::-moz-range-thumb {
    pointer-events: all;
    width: var(--_thumb-size);
    height: var(--_thumb-size);
    border-radius: 0;
    border: 0 none;
    background-color: var(--_thumb-color, #f18f0b);
    -webkit-appearance: none;
}
