﻿/********** CATEGORY PAGE **********/

/*in-stock & 48hour custom toggle button*/
.toggle-btn-wrapper {
    position: relative;
    width: 66px;
    height: 30px;
    overflow: hidden;
    border-radius: 8px;
}

.toggle-btn {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 3;
}

.knobs,
.layer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.layer {
    width: 100%;
    background-color: #f4f4f4;
    transition: 0.3s ease all;
    z-index: 1;
}

.knobs {
    z-index: 2;
}

.toggle-btn-wrapper .knobs:before {
    content: "";
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: 26px;
    height: 22px;
    color: #8e8e8e;
    font-size: 10px;
    font-weight: bold;
    background-color: #fff;
    border-radius: 8px;
    transition: 0.3s cubic-bezier(0.18, 0.89, 0.35, 1.15) all;
    box-shadow: 0px 4px 10px rgb(44 44 44 / 10%);
}

.toggle-btn-wrapper .toggle-btn:checked + .knobs:before {
    content: "I";
    left: 36px;
    color: #F04D24;
}

.toggle-btn-wrapper .knobs, .toggle-btn-wrapper .knobs:before, .toggle-btn-wrapper .layer {
    transition: 0.3s ease all;
}

/*Category page subcategories slider*/
.category-page .swiper-button-next {
    right: 0;
    position: static;
    width: 50px;
    justify-content: end;
}

.category-page .swiper-button-prev {
    left: 0;
    position: static;
    width: 50px;
    flex-direction: row-reverse;
    justify-content: start;
}

@media all and (min-width: 811px) {

    .product-filter .filter-title {
        max-height: auto;
        min-height: auto;
    }
}

/*Search page*/
.search-page .page-title {
    margin: 0 0 -1px
}

.search-input .fieldset {
    margin: 0 0 30px
}

.search-input .form-fields {
    padding: 30px 15px 10px
}

.search-input input + label {
    display: inline;
    margin: 0 0 0 5px
}

.advanced-search {
    margin: 30px 0 0
}

    .advanced-search .price-range input {
        width: 80px;
        margin: 3px
    }

.search-input .button-1 {
    min-width: 140px;
    border: none;
    background-color: #4ab2f1;
    padding: 10px 30px;
    text-align: center;
    font-size: 15px;
    color: #fff;
    text-transform: uppercase
}

    .search-input .button-1:focus, .search-input .button-1:hover {
        background-color: #248ece
    }

.search-results {
    margin: 0
}

    .search-results .warning {
        margin: 10px 0;
        color: #e4434b
    }

#price-range-slider {
    margin: 0 10px;
}
