.result-nav-wrap{
    background-color: #002c5f;
    padding: 50px 0 30px 0;
    h2{
        font-size: 32px;
        line-height: 1.25;
        text-align: center;
        color: #ffffff;
        font-weight: 500;
        strong{
            display: block;
        }
        span{
            font-size: 20px;
            display: block;
            opacity: 0.6;
            line-height: 2;
        }
    }
    .result-nav{
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 20px;
        white-space: nowrap;
        @media (min-width: 768px){
            padding: 20px 0;
            overflow: visible;
            justify-content: center;
        }
    }
    .result-nav-item{
        display: inline-block;
        border: 2px solid rgba(255, 255, 255, 0.6);
        color: #ffffff;
        font-size: 14px;
        padding: 10px 15px 9px 15px;
        margin: 0 5px;
        position: relative;
        transition: all 0.3s ease-in-out;
        &:hover, &:active, &.active {
            border: 2px solid #00AAD2;
            color: #00AAD2;
        }
        &.active{
            &:after{
                @media (min-width: 768px) {
                    content: "";
                    display: block;
                    width: 0;
                    height: 0;
                    border-left: 40px solid transparent;
                    border-right: 40px solid transparent;
                    border-top: 30px solid #002c5f;
                    position: absolute;
                    top: 89px;
                    left: 50%;
                    transform: translateX(-50%);
                    z-index: 10;
                }
            }
        }
    }
}
.result-nav-filters-wrap{
    background-color: #f6f3f2;
    .result-nav-filters{
        position: relative;
        padding: 40px 0 30px;
        @media (min-width: 768px){
            padding: 40px 0 50px;
        }
    }
    .result-nav-filters-close{
        position: absolute;
        top: 20px;
        right: 20px;
        border: 0;
        background-color: transparent;
        font-size: 24px;
        color: #002c5f;
        cursor: pointer;
        transition: all 0.3s ease-in-out;
        width: 36px;
        height: 30px;
        &:hover, &:active{
            color: #00AAD2;
        }
    }
    .filters-wrapper{
        display: flex;
        gap: 20px;
        flex-direction: column;
        flex-wrap: wrap;
        @media (min-width: 768px){
            flex-direction: row;
            align-items: center;
        }
        &.center{
            align-items: center;
            @media (min-width: 768px){
                justify-content: center;
            }
        }
        &.center-equal{
            @media (min-width: 768px){
                > *{
                    width: calc(100% / 3 - 14px);
                }
            }
        }
        > *{
            p{
                font-size: 16px;
                color: #002c5f;
                font-weight: 500;
                line-height: 3.12;
                text-align: center;
                margin: 0;
            }
        }
    }
    .filters{
        max-width: 900px;
        margin: 0 auto;
    }
    .form-group{
        .form-control{
            background-color: transparent;
            border: 2px solid rgba(0, 0, 0, 0.1);
            font-size: 14px;
        }
        label:has( ~ .form-control), label:has( ~ .input-group .form-control), label:has( ~ .between .form-control){
            background-color: #f6f3f2;
            color: #1c1b1b;
            font-size: 14px;
        }
        .nice-select-dropdown{
            margin: 0;
            border-radius: 0;
            background-color: #f6f3f2;
            border: 2px solid rgba(0, 0, 0, 0.1);
            border-top: 0;
            box-shadow: none;
            left: -2px;
            right: -2px;
            .list{
                margin: 0;
                list-style: none;
                li{
                    padding: 15px 10px 15px 20px;
                    font-size: 14px;
                    line-height: 1.4;
                    color: #121212;
                    font-weight: 500;
                    cursor: pointer;
                    &:before{
                        display: none;
                    }
                    &:hover, &:active{
                        background-color: #fff;
                        color: #002c5f;
                    }
                }
            }
        }
        &:has(.form-control:focus), &:has(option[selected]), &:has(.form-control:not(:placeholder-shown)){
            label{
                font-size: 12px;
            }
        }
    }
    .filters-row{
        padding: 10px 0;
        &:not(:first-child){
            border-top: 1px solid #dddddd;
        }
        @media (min-width: 768px){
            display: flex;
            align-items: flex-start;
        }
        .filter-label{
            text-align: left;
            font-size: 16px;
            font-weight: 500;
            margin-top: 0;
            @media (min-width: 1024px) {
                width: 20%;
            }
        }
        .filters-wrapper{
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: flex-start;
            @media (min-width: 1024px) {
                width: 80%;
            }
            > *{
                width: 100%;
                @media (min-width: 768px) {
                    width: calc(100% / 3);
                }
            }
        }
    }
    .filter-checkbox{
        display: flex;
        align-items: center;
        cursor: pointer;
        gap: 10px;
        span{
            display: inline-block;
            vertical-align: middle;
            transition: all 0.3s ease-in-out;
            box-shadow: inset 0 0 0 #003c78;
            &:before{
                content: "";
                display: flex;
                align-items: center;
                justify-content: center;
                width: 32px;
                height: 32px;
                border: 2px solid rgba(0, 0, 0, 0.1);
                margin-top: -1px;
                text-align: center;
            }
        }
        strong{
            font-weight: 500;
            transition: all 0.3s ease-in-out;
            color: #1c1b1b;
        }
        input[type="checkbox"]{
            display: none;
            &:checked{
                & ~ span{
                    border-color: #00AAD2;
                    box-shadow: inset 5rem 0 0 #00AAD2;
                    &:before{
                        content: "\f105";
                        font-weight: 400;
                        color: #fff;
                    }
                }
                & ~ strong{
                    color: #00aad2;
                }
            }
        }
        &.color{
            position: relative;
            width: 55px;
            height: 55px;
            span{
                width: 55px;
                height: 55px;
                border: 3px solid transparent;
                &:before{
                    display: none;
                }
            }
            input[type="checkbox"]{
                &:checked{
                    & ~ span{
                        border-color: #00AAD2;
                        box-shadow: none;
                    }
                }
            }
            strong{
                display: block;
                position: absolute;
                top: calc(100% + 7px);
                left: 50%;
                transform: translateX(-50%);
                white-space: wrap;
                width: auto;
                margin-right: 0;
                background-color: #fff;
                border: 2px solid #002c5f;
                padding: 5px;
                color: #002c5f !important;
                font-size: 16px;
                font-weight: 500;
                opacity: 0;
                visibility: hidden;
                min-width: 100px;
                z-index: 2;
                &:after{
                    content: "";
                    display: block;
                    width: 0;
                    height: 0;
                    border-left: 7px solid transparent;
                    border-right: 7px solid transparent;
                    border-bottom: 7px solid #002c5f;
                    position: absolute;
                    top: -7px;
                    left: 50%;
                    transform: translateX(-50%);
                    z-index: 10;
                }
            }
            &:hover, &:active{
                strong{
                    opacity: 1;
                    visibility: visible;
                }
            }
        }
    }
    .result-nav-filters-amount {
        padding: 20px 0;
        background-color: #f6f3f2;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        @media (min-width: 768px){
            position: absolute;
            bottom: 40px;
            right: 20px;
            padding: 0;
            background-color: transparent;
            border: 0;
            left: auto;
            z-index: 10;
        }
        button{
            width: 100%;
            text-align: center;
            border: 0 none;
            font-size: 15px;
            color: #ffffff;
            background-color: #002c5f;
            padding: 15px 35px;
            cursor: pointer;
            transition: all 0.3s ease-in-out;
            @media (min-width: 768px) {
               width: auto;
            }
        }
    }
    .filters{
        h3{
            font-size: 16px;
            color: #002c5f;
            line-height: 2.94;
            text-align: center;
        }
    }
}
.search-results{
    .result{
        display: flex;
        flex-direction: column;
        padding: 40px 15px;
        gap: 22px;
        &:not(:first-child){
            border-top: 1px solid #ddd;
        }
        @media (min-width: 768px){
            padding: 40px 30px;
        }
        @media (min-width: 1024px){
            flex-direction: row;
            padding: 70px 0;
        }
        .result-left{
            flex: 0 1 100%;
            width: 100%;
            @media (min-width: 1024px) {
                flex: 0 1 450px;
                width: 450px;
            }
        }
        .result-right{
            flex: 0 1 100%;
            width: 100%;
            @media (min-width: 1024px) {
                flex: 1;
                width: auto;
            }
        }
        .result-image-wrap{
            width: 80%;
            margin: 0 auto;
            padding-top: 30px;
            overflow: hidden;
            text-align: center;
            @media (min-width: 1024px){
                width: 100%;
                padding-top: 0;
            }
        }
        .result-title{
            font-size: 28px;
            text-align: center;
            padding-top: 10px;
            line-height: 1.07;
            color: #1c1b1b;
            font-weight: 500;
            @media (min-width: 1024px){
                font-size: 33px;
                text-align: left;
            }
        }
        .result-details{
            padding: 20px 0;
            display: flex;
            flex-wrap: wrap;
            .detail{
                flex: 0 1 50%;
                width: 50%;
                padding: 15px 0;
                @media (min-width: 1024px){
                    flex: 0 1 25%;
                    width: 25%;
                }
                .detail-label{
                    color: #767676;
                    font-size: 15px;
                    @media (min-width: 768px){
                        font-size: 16px;
                    }
                }
                .detail-value{
                    color: #1c1b1b;
                    font-size: 15px;
                    margin-top: 10px;
                    display: flex;
                    align-items: center;
                    flex-wrap: wrap;
                    gap: 10px;
                    word-break: break-all;
                    @media (min-width: 768px){
                        font-size: 16px;
                    }
                }
                .color-box{
                    width: 24px;
                    height: 24px;
                }
            }
        }
        .result-description{
            color: #767676;
            font-size: 14px;
        }
        .result-footer{
            padding: 20px 0 10px;
            display: flex;
            flex-direction: column;
            gap: 17px;
            @media (min-width: 1024px){
                flex-direction: row;
                align-items: center;
            }
            .result-footer-left{
                flex: 0;
            }
            .result-footer-right{
                flex: 1;
                display: flex;
                align-items: center;
                flex-direction: column;
                gap: 20px;
                @media (min-width: 1024px){
                    flex-direction: row;
                    justify-content: flex-end;
                    gap: 30px;
                }
            }
            .result-footer-location{
                color: #002c5f;
                i{
                    font-size: 20px;
                    width: 20px;
                    display: block;
                }
                > div{
                    flex: 1;
                    font-size: 16px;
                    text-transform: uppercase;
                }
            }
            .result-footer-price{
                text-align: center;
                font-size: 30px;
                color: #002c5f;
                font-weight: 500;
                @media (min-width: 1024px){
                    text-align: right;
                }
            }
            .result-footer-btn{
                width: 100%;
                text-align: center;
                border: 2px solid #002c5f;
                background-color: #002c5f;
                color: #ffffff;
                padding: 20px 50px;
                font-size: 16px;
                line-height: 1;
                font-weight: 500;
                @media (min-width: 1024px){
                    width: auto;
                }
            }
        }
    }
}
.results-page-wrap{
    padding: 50px 0;
    h1{
        font-size: 50px;
        line-height: 1;
        color: rgba(0, 0, 0, 0.1);
        font-weight: 700;
        text-align: center;
        margin: 0;
        @media (min-width: 768px){
            font-size: 80px;
        }
        @media (min-width: 1024px){
            font-size: 100px;
        }
        span{
            font-size: 28px;
            margin: 0 30px;
            color: #1c1b1b;
            display: block;
            line-height: 1.4;
            @media (min-width: 768px){
                margin-top: -40px;
                font-size: 32px;
            }
        }
    }
    .selected-filters-wrap{
        display: flex;
        align-items: center;
        padding-bottom: 40px;
        flex-wrap: wrap;
        gap: 20px;
        > *{
            flex: 0 1 calc(50% - 10px);
            @media (min-width: 768px){
                flex: 1;
            }
            &:first-child{
                display: none;
                @media (min-width: 768px){
                    display: block;
                }
            }
            &:first-child, &:last-child{
                @media (min-width: 768px) {
                    flex: 0 1 240px;
                }
            }
        }
    }
    .selected-filters{
        display: flex;
        align-items: center;
        justify-content: flex-start;
        overflow-x: auto;
        gap: 8px 6px;
        @media (min-width: 768px){
            justify-content: center;
        }
        .single-filter{
            display: flex;
            border: 2px solid #f6f3f2;
            padding: 2px 7px;
            align-items: center;
            justify-content: center;
            gap: 10px;
            span{
                font-size: 15px;
                color: #1c1b1b;
            }
            i{
                font-size: 10px;
                color: #767676;
                line-height: 1;
            }
            button{
                background-color: transparent;
                border: 0;
                padding: 0;
                color: #767676;
                cursor: pointer;
            }
            &:hover, &:active{
                button{
                    color: #002c5f;
                }
            }
        }
        .reset-filters{
            background-color: #f6f3f2;
            border: 2px solid #f6f3f2;
            padding: 3px 13px;
            cursor: pointer;
            white-space: nowrap;
            i{
                font-size: 16px;
                color: #767676;
            }
            span{
                font-size: 15px;
                color: #1c1b1b;
            }
            &:hover, &:active{
                background-color: #ddd;
                border-color: #ddd;
            }
        }
    }
    .sorting{
        margin: 0;
        .form-control{
            height: 40px;
            padding: 5px 15px;
            border: 2px solid rgba(0, 0, 0, 0.1);
            background-color: #f6f3f2;
            font-size: 14px;
            font-weight: 500;
        }
        &:has(.form-control:focus), &:has(option[selected]), &:has(.form-control:not(:placeholder-shown)) {
            label {
                transform: translateY(-24px);
            }
        }
    }

    nav {
        ul.pagination {
            display: flex;
            list-style: none;
            flex-wrap: wrap;
            gap: 16px;
            li {
                padding: 0;
                margin: 0;
                &:before {
                    display: none;
                }

                a {
                    display: block;
                    font-size: 15px;
                    color: #ffffff;
                    background-color: #002c5f;
                    padding: 15px 35px;

                    &.active {
                        background-color: #004489;
                    }
                }

            }
        }
    }
}