:root {
    --max-width: 100rem;
    --color-blue-wb: #0066cc;
    --color-green: #00cc66;
    --color-orange: #ff7200;
    --color-red: #cc0000;
    --color-gray-light: rgba(30, 30, 30, 0.05);
    --color-gray-solid: #efefef;
    --color-gray-medium: #ababab
}

.clr-blue-wb { color: var(--color-blue-wb); }

.clr-green { color: var(--color-green); }
.bg-green { background-color: var(--color-green); }

.clr-orange { color: var(--color-orange); }
.bg-orange { background-color: var(--color-orange); }

.clr-red { color: var(--color-red); }
.bg-red { background-color: var(--color-red); }

.bg-gray-light { background-color: var(--color-gray-light) }
.bd-gray-light { border: 1px solid var(--color-gray-solid) }

.clr-gray-solid { color: var(--color-gray-solid) }
.bg-gray-solid { background-color: var(--color-gray-solid) }

.clr-gray-medium { color: var(--color-gray-medium) }
.bg-gray-medium { background-color: var(--color-gray-medium) }

.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }

.flex-1  { flex: 1 1 10%; }
.flex-5  { flex: 5 5 50%; }
.flex-9  { flex: 9 9 90%; }
.flex-10 { flex: 1 1 100%; }


input:focus { outline: none; }
.force-hide { display:none!important; }

.input-symbol-euro {
    position: relative;
}
.input-symbol-euro input {
    padding-right:18px;
}
.input-symbol-euro:after {
    position: absolute;
    top: 5px;
    content:"€";
    right: 10px;
}

.ais-SearchBox-input.search-input.keywords::placeholder {
    text-transform:none;
}

.ais-SearchBox-input.search-input.keywords:focus {
    outline: none;
}

.ais-SearchBox-input::placeholder {
    text-transform: none;
}

#search-algolia button {
    border: none;
    background:  none;
}

#search-algolia ol,
#search-algolia ul {
    margin: 0;
    padding: 0;
}

#search-algolia ol > *,
#search-algolia ul > * {
    list-style: none;
}

#search-algolia {
    position: absolute;
    width: 100vw;
    display: none;
    z-index: 20000;
    background: #FFFFFF;
    overflow: auto;
}

#search-algolia #search-algolia-container {
    position: relative;
    width: calc(100vw - 5px);
    overflow: hidden;
}

#search-algolia .image-filter {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: var(--color-gray-light);
}

#search-algolia #current-detail {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #fff;
}

#search-algolia #current-detail > * {
    border: 1px solid var(--color-gray-solid);
    display: flex;
    align-items: center;
    height: 40px;
}

#search-algolia #current-detail,
#search-algolia .container {
    width: 100%;
    /* max-width: var(--max-width); */
    box-sizing: border-box;
    margin: auto;
}

#search-algolia .facet {
    padding: 1rem;
    border: .5px solid var(--color-gray-solid);
    & .facet__label {
        font-size: 1.17em;
        margin-block-start: 1em;
        margin-block-end: 1em;
        margin-inline-start: 0;
        margin-inline-end: 0;
        font-weight: bold;
        unicode-bidi: isolate;
    }
}

#search-algolia #brand-list .ais-RefinementList-list,
#search-algolia #categories-list {
    max-height: 250px;
    overflow: auto;
    padding-right: 1rem;
}

#search-algolia #brand-list .ais-RefinementList-list::-webkit-scrollbar,
#search-algolia #categories-list::-webkit-scrollbar {
    width: 3px;
    background-color: transparent;
}

#search-algolia #brand-list .ais-RefinementList-list::-webkit-scrollbar-thumb,
#search-algolia #categories-list::-webkit-scrollbar-thumb {
    width: 3px;
    background-color: #000000;
}

#search-algolia #brand-list .ais-RefinementList-list::-webkit-scrollbar-track,
#search-algolia #categories-list::-webkit-scrollbar-track {
    width: 1px;
    background-color: var(--color-gray-solid);
}

#search-algolia .search-panel {
    display: flex;
}

#search-algolia .search-panel.active {
    position: fixed;
    height: 100%;
}

/*#search-algolia .ais-SortBy-select,*/
#search-algolia .search-panel__filters {
    width: 100vw;
    position: fixed;
    z-index: 1;
    background: #fff;
    left: -100%;
    transition: left .25s ease;
    overflow: auto;
}

#search-algolia .search-panel__filters {
    left: -100%;
}

#search-algolia .search-panel__filters.active {
    left: 0;
    transition: left .25s ease;
    padding-bottom: 115px;

}

#search-algolia .ais-SortBy-select.active {
    right: 0;
    transition: right .25s ease;
}

#search-algolia .search-panel__results {
    padding: 1rem;
    border: .5px solid var(--color-gray-solid);
}

#search-algolia .ais-Hits img {
    object-fit: cover;
    width: 100%;
    mix-blend-mode: multiply;
    transition: all .5s ease;
}

#search-algolia .ais-Hits .ais-Hits-item:hover img {
    transform: scale(.95);
}

#search-algolia .ais-Hits .ais-Hits-item .integer {
    font-size: 24px;
}

#search-algolia .ais-Hits .ais-Hits-item .decimal {
    font-size: 16px;
}

#search-algolia .ais-Hits .ais-Hits-item .currency {
    font-size: 20px;
}

#search-algolia .ais-Hits .ais-Hits-item .strike_price {
    position: relative;
}

#search-algolia .ais-Hits .ais-Hits-item .strike_price:before {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 1px;
    top: 60%;
    background-color: var(--color-gray-medium);
}

#search-algolia .ais-Hits .ais-Hits-item .strike_price .integer,
#search-algolia .ais-Hits .ais-Hits-item .alma .integer {
    font-size: 14px;
}

#search-algolia .ais-Hits .ais-Hits-item .strike_price .decimal,
#search-algolia .ais-Hits .ais-Hits-item .alma .decimal {
    font-size: 10px;
}

#search-algolia .ais-Hits .ais-Hits-item .strike_price .currency,
#search-algolia .ais-Hits .ais-Hits-item .alma .currency {
    font-size: 12px;
}

#search-algolia .tag {
    padding: 5px 10px;
    border-radius: 5px;
}

#search-algolia .alma img {
    width: auto;
    height: 20px;
    margin: -4px 0;
    aspect-ratio: unset !important;
    display: unset !important;
}

#search-algolia .ais-Hits-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 2rem;
    column-gap: 1rem;
}

#search-algolia .ais-CurrentRefinements-category {
    background-color: #000000;
    color: #ffffff;
    border-radius: 5px;
    margin-right: 5px;
    padding: 5px 10px;
    font-size: 14px;
}

#search-algolia .ais-CurrentRefinements-list {
    overflow-y: auto;
    white-space: nowrap;
    width: 90vw;
    height: 40px;
}

#search-algolia .ais-CurrentRefinements-list::-webkit-scrollbar {
    display: none;
}
#search-algolia .ais-CurrentRefinements-item {
    white-space: nowrap;
}

#search-algolia .ais-CurrentRefinements-delete {
    color: #FFFFFF;
    font-size: 8px;
    width: 10px;
    height: 10px;
}

#search-algolia #active_filters_length {
    border-radius: 10px;
}

#search-algolia #pagination {
    margin: 2rem auto;
    text-align: center;
}

.ais-SearchBox-submit {
    flex: 0 0 auto;
    color: #000;
    display: inline-flex;
    align-items: center;
    padding: 8px;
    border: 0;
    margin: 0;
    border-radius: 4px;
    background: transparent;
}

.ais-SearchBox-submit span:first-child g {
    stroke: #000;
}

.ais-SearchBox-submit span:last-child {
    display: none;
}

.ais-SearchBox-form {
    margin: 0;
}

#show_results {
    position: sticky;
    bottom: 20px;
    margin: 20px;
    padding: 10px;
    text-align: center;
    background: #000000;
    color: #FFFFFF;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 1;
}


/* Tablet
================================================== */
@media only screen and (min-device-width: 46.876rem) {
    #show_results {
        display: none;
    }

    #current-refinements {
        overflow-y: auto;
    }

    .flex-wrap-md { flex-wrap: wrap; }
    .flex-nowrap-md { flex-wrap: nowrap; }

    .ais-SearchBox-submit span:first-child,
    .ais-SearchBox-submit span:first-child svg {
        width: 20px;
        height: 20px;
    }

    #search-algolia .search-panel__filters {
        width: 375px;
    }

    #mask {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        backdrop-filter: blur(0);
        transition: backdrop-filter .25s ease;
    }

    #mask.active {
        backdrop-filter: blur(5px);
        z-index: 1;
        transition: backdrop-filter .25s ease;
    }

    #search-algolia .ais-Hits-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    #algolia-close {
        flex: none;
        width: 40px;
    }

    #number-results {
        flex: none;
        white-space: nowrap;
        width: auto;
        padding: 0 10px;
    }

    #resume-refinements {
        width: auto;
        border: none!important;
        overflow: hidden;
    }

    #filter-button {
        flex: none;
        border-right: none!important;
    }

    #active_filters_length {
        display: none;
    }

    #clear-refinements {
        flex: none;
    }

    #search-algolia .ais-CurrentRefinements-list {
        width: auto;
    }

    #sort-by {
        flex: none;
    }
}


/* Desktop :: 1024px
================================================== */
@media only screen and (min-device-width: 64rem) {
    .flex-wrap-lg { flex-wrap: wrap; }
    .flex-nowrap-lg { flex-wrap: nowrap; }

    #search-algolia .ais-CurrentRefinements-list::-webkit-scrollbar {
        display: block;
    }

    #search-algolia .ais-Hits-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    #search-algolia .search-panel__filters {
        position: static;
        flex: 1;
        height: max-content!important;
    }

    #search-algolia .search-panel__results {
        flex: 3;
    }

    #mask.active {
        position: static;
        backdrop-filter: blur(0px);
        z-index: 0;
    }
}


/* Desktop - 1160px
================================================== */
@media only screen and (min-device-width: 72.5rem) {
    #search-algolia .ais-Hits-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    #search-algolia .search-panel__results {
        flex: 4;
    }
}


/* Desktop - 1500px
================================================== */
@media only screen and (min-device-width: 93.75rem) {
    .ais-SearchBox-submit {
        background: var(--color-blue-wb);
        color: #fff;
    }

    .ais-SearchBox-submit span:first-child g {
        stroke: #fff;
    }

    .ais-SearchBox-submit span:last-child {
        display: block;
    }

    #mask.active {
        display: none;
    }

    #search-algolia .ais-Hits-list {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}


/* Desktop - 1600
================================================== */
@media only screen and (min-device-width: 100rem) {
    #search-algolia .ais-Hits-list {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}




















.ais-RangeSlider .rheostat {
    overflow: visible;
    margin-top: 40px;
    margin-bottom: 40px
}

.ais-RangeSlider .rheostat-handle {
    top: -4px;
    width: 12px;
    height: 12px;
    border: 2px solid var(--color-blue-wb);
    border-radius: 50%;
    background-color: #ffffff;
    cursor: grab;
}

.ais-RangeSlider .rheostat-handle.rheostat-handle-lower {
    margin-left: -10px;
}

.ais-RangeSlider .rheostat-handle.rheostat-handle-upper {
    margin-left: -2px;
}

.ais-RangeSlider .rheostat-progress {
    position: absolute;
    top: 1px;
    height: 4px;
    background-color: #333
}

.rheostat-value {
    margin-left: 50%;
    padding-top: 15px;
    position: absolute;
    text-align: center;
    transform: translateX(-50%)
}

.rheostat-tooltip {
    margin-left: 50%;
    position: static;
    float: left;
    top: -22px;
    text-align: center;
    transform: translateX(-50%)
}

.ais-RangeSlider .rheostat {
    margin: 20px 10px 0;
}

.ais-RangeSlider .rheostat-horizontal {
    cursor: pointer;
    width: calc(100% - 20px)
}

.ais-RangeSlider .rheostat-background {
    height: 4px;
    top: 0;
    width: 100%;
    position: relative;
    background-color: rgba(0, 0, 0, 0);
    border: none;
    border-radius: 3px;
    box-shadow: inset 0 1px 3px 0 rgba(0, 0, 0, .1), 0 .5px 0 0 rgba(255, 255, 255, .05);
}

.ais-RangeSlider .rheostat-progress {
    background-color: var(--color-blue-wb);
    border-radius: 3px;
    height: 4px;
    max-width: 100%;
    top: 0
}

.ais-SortBy {
    width: 100%;
    height: 100%;
}

.ais-SortBy-select {
    width: inherit;
    height: inherit;
    border: none;
}

.ais-SortBy-select:focus {
    outline: none;
}








.search-panel__filters h3 {
    margin: 0 0 10px;
}

.ais-ToggleRefinement-label,
.search-panel__filters li {
    font-size: 14px;
}

.ais-Menu-count,
.ais-ToggleRefinement-count,
.ais-RefinementList-count,
.ais-HierarchicalMenu-count {
    color: #D5D5D5;
}

.ais-HierarchicalMenu-list--child {
    margin-left: 20px;
}

.rating-item,
.ais-Menu-link,
.ais-HierarchicalMenu-link .ais-HierarchicalMenu-label,
.search-panel__filters label input {
    position: relative !important;
    appearance: none;
    margin: 0 8px 4px 0;
    box-sizing: content-box;
    display: block!important;
    border: unset;
    width: unset;
    height: unset;
    background: unset;
    outline: unset;
    box-shadow: unset;
}

.ais-RefinementList-item img {
    width: auto;
    height: 20px;
    margin-top: -2px;
}

.rating-item,
.ais-Menu-link,
.ais-HierarchicalMenu-link .ais-HierarchicalMenu-label {
    display: flex!important;
}

.rating-item,
.ais-Menu-link,
.ais-HierarchicalMenu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rating-item:before,
.ais-Menu-link:before,
.ais-HierarchicalMenu-link .ais-HierarchicalMenu-label:before,
.search-panel__filters label input:before {
    content: '';
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 16px;
    border: 1px solid #ccc;
    transition: 0.2s border-color ease;
    position: relative;
    z-index: 1;
}

.rating-item:before,
.ais-Menu-link:before,
.ais-HierarchicalMenu-link .ais-HierarchicalMenu-label:before {
    margin-right: 10px;
}

.ais-RefinementList-item--selected .rating-item:before,
.ais-Menu-item--selected .ais-Menu-link:before,
.ais-HierarchicalMenu-link--selected .ais-HierarchicalMenu-label:before,
.search-panel__filters label input:checked:before {
    border-color: var(--color-blue-wb);
    transition: 0.5s border-color ease;
}

.ais-RefinementList-item--selected .rating-item:after,
.ais-Menu-item--selected .ais-Menu-link:after,
.ais-HierarchicalMenu-link--selected .ais-HierarchicalMenu-label:after,
.search-panel__filters label input:after {
    content: '';
    display: none;
    position: absolute;
    box-sizing: content-box;
    top: 50%;
    left: 50%;
    transform-origin: 50% 50%;
    background-color: var(--color-blue-wb);
    width: 16px;
    height: 16px;
    border-radius: 100vh;
    transform: translate(-50%, -50%) scale(0);
}


.ais-RefinementList-item--selected .rating-item:after,
.ais-Menu-item--selected .ais-Menu-link:after,
.ais-HierarchicalMenu-link--selected .ais-HierarchicalMenu-label:after {
    top: 9px;
    left: 9px;
}

.rating-item:before,
.ais-Menu-link:before,
.ais-HierarchicalMenu-link .ais-HierarchicalMenu-label:before,
.search-panel__filters label input[type="checkbox"]:before {
    border-radius: 4px;
}

.ais-RefinementList-item--selected .rating-item:after,
.ais-Menu-item--selected .ais-Menu-link:after,
.ais-HierarchicalMenu-link--selected .ais-HierarchicalMenu-label:after,
.search-panel__filters label input[type="checkbox"]:after {
    width: 9.6px;
    height: 16px;
    border-radius: 0;
    transform: translate(-50%, -85%) scale(0) rotate(45deg);
    background-color: transparent;
    box-shadow: 4px 4px 0px 0px var(--color-blue-wb);
}

.ais-RefinementList-item--selected .rating-item:after,
.ais-Menu-item--selected .ais-Menu-link:after,
.ais-HierarchicalMenu-link--selected .ais-HierarchicalMenu-label:after,
.ais-HierarchicalMenu-link--selected .ais-HierarchicalMenu-label:after,
.search-panel__filters label input[type="checkbox"]:checked:after {
    display: block;
    animation: toggleOnCheckbox 0.2s ease forwards;
}

@keyframes toggleOnCheckbox {
    0% {
        opacity: 0;
        transform: translate(-50%, -85%) scale(0) rotate(45deg);
    }
    70% {
        opacity: 1;
        transform: translate(-50%, -85%) scale(0.9) rotate(45deg);
    }
    100% {
        transform: translate(-50%, -85%) scale(0.8) rotate(45deg);
    }
}