/* Size sliders on the product list: two range inputs share one track, one
   for the smallest size and one for the largest. */
#sizes-container {
    max-height: none;
    overflow-y: visible;
}

.size-filter {
    padding-top: 8px;
    padding-bottom: 8px;
}

.size-filter-label {
    font-weight: bold;
}

.size-filter-values {
    color: #777;
}

.size-filter-slider {
    position: relative;
    height: 24px;
    margin: 4px 8px 0;
}

.size-filter-track {
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 2px;
    background: #ddd;
}

.size-filter-slider input[type="range"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 24px;
    margin: 0;
    padding: 0;
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.size-filter-slider input[type="range"]:focus {
    outline: none;
}

.size-filter-slider input[type="range"]::-webkit-slider-runnable-track {
    height: 24px;
    background: transparent;
}

.size-filter-slider input[type="range"]::-moz-range-track {
    height: 24px;
    background: transparent;
}

.size-filter-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #428bca;
    box-shadow: 0 0 0 1px #428bca;
    cursor: pointer;
    pointer-events: auto;
}

.size-filter-slider input[type="range"]::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #428bca;
    box-shadow: 0 0 0 1px #428bca;
    cursor: pointer;
    pointer-events: auto;
}

.size-filter-slider input[type="range"]:focus-visible::-webkit-slider-thumb {
    box-shadow: 0 0 0 3px rgba(66, 139, 202, 0.5);
}

.size-filter-slider input[type="range"]:focus-visible::-moz-range-thumb {
    box-shadow: 0 0 0 3px rgba(66, 139, 202, 0.5);
}

.size-filter-range {
    position: absolute;
    top: 10px;
    height: 4px;
    background: #428bca;
}
