/**=====================
    Booking scss
==========================**/
.flatpicker-calender {
    &:has(i) {
        .flatpickr-input {
            padding: 10px calc(12px + (16 - 12) * ((100vw - 320px) / (1920 - 320))) 10px calc(38px + (46 - 38) * ((100vw - 320px) / (1920 - 320)));

            [dir="rtl"] {
                padding: 10px calc(38px + (46 - 38) * ((100vw - 320px) / (1920 - 320))) 10px calc(12px + (16 - 12) * ((100vw - 320px) / (1920 - 320)));
            }
        }
    }

    .flatpickr-input {
        body.dark & {
            background-color: #252934 !important;
        }

        &:-webkit-calendar-picker-indicator {
            display: none;
        }

        ~i {
            z-index: 0;
        }
    }

    .input-icon {
        @include center(vertical);
    }
}

.booking-category {
    .category-body {
        margin-top: 16px;
        display: grid;
        gap: 10px;

        ul {
            display: grid;
            gap: calc(4px + (10 - 4) * ((100vw - 320px) / (1920 - 320)));
            max-height: 190px;
            overflow-y: auto;
            height: 100%;

            .form-check {
                justify-content: space-between;
                gap: 4px;
                padding-left: 10px;
                margin: 0;

                label {
                    display: flex;
                    align-items: center;
                    cursor: pointer;
                }

                &:has(.form-check-input:checked) {
                    .form-check-label {
                        span {
                            font-weight: 500;

                            body.dark & {
                                color: $white;
                            }
                        }
                    }
                }

                .form-check-label {
                    img {
                        @include pseudowh($width: 30px, $height: 30px);
                        object-fit: contain;
                    }

                    span {
                        padding-left: 0;
                        margin-left: calc(6px + (10 - 6) * ((100vw - 320px) / (1920 - 320)));
                        transition: all 0.1s ease-in-out;
                        position: relative;
                        font-size: calc(15px + (16 - 15) * ((100vw - 320px) / (1920 - 320)));
                        color: rgba($title-color, 0.8);

                        body.dark & {
                            color: rgba($white, 0.8);
                        }

                        [dir="rtl"] & {
                            padding-left: unset;
                            padding-right: calc(6px + (10 - 6) * ((100vw - 320px) / (1920 - 320)));
                        }

                        &:before {
                            position: absolute;
                            top: 6px;
                            left: 0;
                            background-color: $border-color;
                            @include pseudowh($width: 1px, $height: 16px);

                            [dir="rtl"] & {
                                left: unset;
                                right: 0;
                            }
                        }
                    }
                }

                .form-check-input {
                    float: unset;
                    margin: 0;
                }
            }
        }
    }

    .booking-category-body {
        height: unset !important;
        overflow: unset !important;
    }
}

.booking-sec {
    .filter-sidebar {
        border-right: 1px solid $border-color;

        [dir="rtl"] & {
            border-right: unset;
            border-left: 1px solid $border-color;
        }

        body.dark & {
            border-color: #454851;
        }

        .filter {
            .card {
                background-color: transparent;
                border-radius: unset;
                border: none;

                .card-header {
                    padding: 0 0 18px;
                    margin-bottom: 18px;
                    background-color: transparent;
                    border-bottom: 1px solid $border-color;

                    body.dark & {
                        border-color: #454851;

                        h3 {
                            color: $white;
                        }

                    }

                    @media (max-width: 1199.98px) {
                        padding: calc(15px + (18 - 15) * ((100vw - 320px) / (1199 - 320)));
                        margin-bottom: calc(15px + (18 - 15) * ((100vw - 320px) / (1199 - 320)));
                        background-color: $section-bg;
                        position: sticky;
                        top: 0;
                        border-radius: 0;
                        z-index: 2;

                        body.dark & {
                            background-color: #323640;
                        }
                    }

                    h3 {
                        font-weight: 600;
                        font-size: calc(20px + (22 - 20) * ((100vw - 320px) / (1920 - 320)));
                        letter-spacing: 0.4px;
                    }

                    a {
                        font-size: calc(15px + (16 - 15) * ((100vw - 320px) / (1920 - 320)));
                        font-weight: 500;
                        text-decoration: underline;
                    }
                }

                .card-body {
                    padding: 0;

                    @media (max-width: 1199.98px) {
                        padding: 0 18px 18px;
                    }

                    @media (max-width: 1199.98px) {
                        padding: 0 calc(15px + (18 - 15) * ((100vw - 320px) / (1199 - 320))) calc(15px + (18 - 15) * ((100vw - 320px) / (1199 - 320)));
                    }

                    .booking-main-box {
                        +.booking-main-box {
                            margin-top: 18px;
                        }
                    }

                    body.dark & {
                        .search-div {
                            .form-control {
                                background-color: #252934;
                                color: #ffff;

                                &::placeholder {
                                    color: rgba($white, 0.6);
                                }
                            }
                        }
                    }

                    .sidebar-title {
                        font-size: calc(16px + (17 - 16) * ((100vw - 320px) / (1920 - 320)));
                        letter-spacing: calc(0.2px + (0.4 - 0.2) * ((100vw - 320px) / (1920 - 320)));
                        width: 100%;
                        display: flex;
                        align-items: center;
                        justify-content: space-between;
                        font-weight: 500;
                        color: $title-color;
                        margin-bottom: 9px;

                        body.dark & {
                            color: $white;
                        }
                    }
                }

                .card-footer {
                    padding: 22px 0 0;
                    border-top: 1px solid $border-color;
                    padding-top: 22px;
                    border-radius: unset;

                    @media (max-width: 1199.98px) {
                        padding: calc(16px + (18 - 16) * ((100vw - 320px) / (1199 - 320))) calc(15px + (18 - 15) * ((100vw - 320px) / (1199 - 320)));
                    }

                    body.dark & {
                        border: none;
                    }
                }
            }
        }
    }

    .filter {
        @media (max-width: 1199px) {
            position: fixed !important;
            top: 0 !important;
            left: calc(-320px + (-370 - -320) * ((100vw - 320px) / (1199 - 320)));
            @include pseudowh($width: calc(310px + (350 - 310) * ((100vw - 320px) / (1199 - 320))), $height: 100vh);
            z-index: 9;
            overflow: auto;
            transform: unset;
            transition: all 0.25s ease-in-out;
            opacity: 1;
            visibility: visible;
            background-color: $white;

            body.dark & {
                background-color: #252934;
            }

            &.open {
                left: 0;

                [dir="rtl"] & {
                    left: unset;
                    right: 0;
                }
            }

            .card {
                border-radius: 0;
                border: none;
                height: 100vh;
                overflow: auto;

                .card-header {
                    padding: 1rem;

                    a {
                        font-weight: 600;
                    }

                    h3 {
                        padding-left: 10px;

                        [dir="rtl"] & {
                            padding-left: unset;
                            padding-right: 10px;
                        }
                    }
                }
            }
        }

        .close-box {
            border-radius: 0;
            color: $white;
            justify-content: space-between;
            padding: 14px;
            border: none;
            font-size: 19px;
            background-color: #1d2537;

            i {
                --Iconsax-Size: 18px;
                --Iconsax-Color: #fff;
                transform: rotate(45deg);
                line-height: 1;
            }
        }

        .card {
            .card-header {
                .close-btn {
                    --Iconsax-Size: 18px;
                    --Iconsax-Color: #222;
                    line-height: 1;
                    cursor: pointer;

                    body.dark & {
                        --Iconsax-Color: #fff;
                    }
                }
            }
        }
    }

    .filter-div {
        @media (max-width: 767.98px) {
            width: 100%;
        }
    }

    .filter-btn {
        i {
            --Iconsax-Size: 18px !important;
        }
    }

    .select-dropdown {
        margin-bottom: 14px;
        padding-bottom: 14px;
        border-bottom: 1px solid $border-color;

        body.dark & {
            border-color: #454851;

            h4 {
                color: $white;
            }
        }

        h4 {
            font-weight: 500;
        }

        @media (max-width: 575.98px) {
            align-items: flex-start;
            gap: 12px;

            .form-group {
                width: 100%;
            }
        }

        @media (max-width:425px) {
            flex-wrap: wrap;
        }

        .form-group {
            .form-select {
                border-radius: 6px;
                padding: 8px 38px 8px 12px;
                min-width: 170px;
                font-size: calc(15px + (16 - 15) * ((100vw - 320px) / (1920 - 320)));
            }

            label {
                margin-bottom: 0;
            }
        }

        .form-select {
            padding: 8px 38px 8px 12px;
            width: 100%;
            min-width: 170px;
        }

        .selected-booking {
            padding: 4px 8px;
            color: var(--theme-color);
            border: 1px solid var(--theme-color);
            border-radius: 20px;
            font-size: 14px;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 4px;
            cursor: default;

            span {
                font-weight: 600;
                line-height: 1;
            }

            .close {
                cursor: pointer;
            }
        }
    }

    .status,
    .view-status {
        @include flex_common ($dis: flex, $align: center, $justify: space-between);
        margin-bottom: calc(8px + (16 - 8) * ((100vw - 320px) / (1920 - 320)));

        .status-btn,
        h5 {
            font-size: calc(18px + (22 - 18) * ((100vw - 320px) / (1920 - 320)));
            font-weight: 500;
            line-height: 28px;
            color: var(--theme-color);
            border: none;
            background-color: unset;
            padding: 0;

            &:hover {
                text-decoration: underline;
            }
        }

        .badge {
            padding: calc(6px + (9 - 6) * ((100vw - 320px) / (1920 - 320))) calc(12px + (16 - 12) * ((100vw - 320px) / (1920 - 320)));
        }
    }

    .data {
        display: flex;
        flex-direction: column;
        gap: calc(6px + (8 - 6) * ((100vw - 320px) / (1920 - 320)));

        li {
            @include flex_common ($dis: flex, $align: center, $justify: space-between);
            font-size: calc(13px + (14 - 13) * ((100vw - 320px) / (1920 - 320)));
            flex-wrap: wrap;
        }

        .label {
            color: $light-color;
            display: flex;
            align-items: center;
            gap: calc(4px + (8 - 4) * ((100vw - 320px) / (1920 - 320)));
        }

        .value {
            font-weight: 500;

            &.location {
                font-weight: 400 !important;
                justify-content: end;

                [dir="rtl"] & {
                    justify-content: start;
                }
            }
        }

        i {
            --Iconsax-Size: 18px;
            --Iconsax-Color: var(--theme-color);
        }
    }

    .booking-sec-box {
        .booking-list {
            position: relative;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: calc(16px + (20 - 16) * ((100vw - 320px) / (1920 - 320)));

            @media (max-width: 767.98px) {
                grid-template-columns: 1fr;
            }

            &:has(>.no-data-found) {
                display: block;
            }

            .border-solid {
                border: none;
                border-top: 1px solid $border-color;
            }

            .booking-box {
                padding: 12px;
                background-color: $white;
                border-radius: 10px;
                border: 1px solid $border-color;

                body.dark & {
                    background-color: #252934;
                    border-color: #454851;
                }

                .booking-top-box {
                    .service-image {
                        border-radius: 7px;
                        overflow: hidden;

                        img {
                            aspect-ratio: 74/25;
                            object-fit: cover;

                            @media (max-width: 575.98px) {
                                aspect-ratio: 19 / 10;
                            }
                        }
                    }

                    .service-status {
                        margin-top: 10px;

                        .status {
                            margin-bottom: 10px;
                        }

                        .data {
                            li {
                                &.data-title {
                                    h4 {
                                        color: #FF4B4B;
                                        font-size: calc(15px + (16 - 15) * ((100vw - 320px) / (1920 - 320)));
                                        display: flex;
                                        align-items: center;
                                        gap: 6px;

                                        span {
                                            font-size: calc(18px + (21 - 18) * ((100vw - 320px) / (1920 - 320)));
                                            color: $title-color;
                                            line-height: 1.3;
                                            -webkit-line-clamp: 1;
                                            -webkit-box-orient: vertical;
                                            display: -webkit-box;
                                            overflow: hidden;
                                            max-width: 75%;
                                            word-break: break-all;

                                            body.dark & {
                                                color: $white;
                                            }
                                        }
                                    }

                                    h5 {
                                        font-size: calc(18px + (20 - 18) * ((100vw - 320px) / (1920 - 320)));
                                        font-weight: 600;
                                        color: var(--theme-color);
                                    }
                                }

                                .list-title {
                                    font-size: calc(14px + (16 - 14) * ((100vw - 320px) / (1920 - 320)));
                                    color: $light-color;

                                    body.dark & {
                                        color: rgba($white, 0.6);
                                    }
                                }

                                >span {
                                    font-size: calc(15px + (16 - 15) * ((100vw - 320px) / (1920 - 320)));
                                    font-weight: 500;
                                }

                                .man-list {
                                    display: flex;
                                    align-items: center;

                                    li {
                                        +li {
                                            margin-left: -10px;
                                        }

                                        &:hover {
                                            img {
                                                transform: translateY(-3px);
                                            }
                                        }

                                        img {
                                            transition: all 0.3s ease-in-out;
                                            @include pseudowh($width: 35px, $height: 35px);
                                            border: 3px solid $white;
                                            border-radius: 100%;

                                            body.dark & {
                                                border-color: #252934fc;
                                            }
                                        }
                                    }
                                }

                                .provider-box {
                                    display: flex;
                                    align-items: center;

                                    img {
                                        @include pseudowh($width: 32px, $height: 32px);
                                        border-radius: 100%;
                                    }

                                    h5 {
                                        margin-left: calc(4px + (6 - 4) * ((100vw - 320px) / (1920 - 320)));
                                        font-size: calc(15px + (17 - 15) * ((100vw - 320px) / (1920 - 320)));

                                        body.dark & {
                                            color: $white;
                                        }

                                        [dir="rtl"] & {
                                            margin-left: unset;
                                            margin-right: calc(4px + (6 - 4) * ((100vw - 320px) / (1920 - 320)));
                                        }
                                    }

                                    .rating {
                                        border-left: 1px solid $border-color;
                                        padding-left: calc(6px + (8 - 6) * ((100vw - 320px) / (1920 - 320)));
                                        margin-left: calc(6px + (8 - 6) * ((100vw - 320px) / (1920 - 320)));
                                        display: flex;
                                        align-items: center;
                                        gap: calc(2px + (4 - 2) * ((100vw - 320px) / (1920 - 320)));

                                        [dir="rtl"] & {
                                            border-left: unset;
                                            padding-left: unset;
                                            margin-left: unset;
                                            border-right: 1px solid $border-color;
                                            margin-right: calc(6px + (8 - 6) * ((100vw - 320px) / (1920 - 320)));
                                            padding-right: calc(6px + (8 - 6) * ((100vw - 320px) / (1920 - 320)));
                                        }

                                        body.dark & {
                                            border-color: #454851;
                                        }

                                        img {
                                            @include pseudowh($width: calc(14px + (16 - 14) * ((100vw - 320px) / (1920 - 320))), $height: calc(14px + (16 - 14) * ((100vw - 320px) / (1920 - 320))));
                                            border-radius: unset;
                                        }

                                        span {
                                            font-size: calc(14px + (15 - 14) * ((100vw - 320px) / (1920 - 320)));
                                            line-height: 1;
                                            font-weight: 500;
                                        }
                                    }
                                }
                            }
                        }
                    }

                    .border-solid {
                        margin: 0;
                        position: absolute;
                        bottom: 0;
                        left: 0;
                        width: 100%;

                        [dir="rtl"] & {
                            left: unset;
                            right: 0;
                        }

                        @media (max-width: 767.98px) {
                            position: relative;
                            inset: unset;
                            margin: calc(11px + (16 - 11) * ((100vw - 320px) / (768 - 320))) 0;
                        }
                    }
                }

                .booking-bottom-box {
                    display: flex;
                    align-items: center;
                    margin-top: 14px;
                    padding-top: 14px;
                    border-top: 1px solid $border-color;
                    gap: calc(10px + (15 - 10) * ((100vw - 320px) / (1920 - 320)));

                    @media (max-width: 767.98px) {
                        margin: 0;
                        display: grid;
                        gap: 0;
                    }

                    .service-title {
                        width: 100%;

                        &.booking-title {
                            gap: 4px;
                            flex-wrap: wrap;

                            h4 {
                                font-size: 16px;
                                font-weight: 500;
                                line-height: 1.3;
                                color: $title-color;
                                overflow: hidden;
                                display: -webkit-box;
                                -webkit-line-clamp: 1;
                                -webkit-box-orient: vertical;
                                word-break: break-all;
                                text-overflow: ellipsis;

                            }

                            span {
                                font-size: 18px;
                                line-height: 1.3;
                                color: $title-color;
                            }

                            small {
                                font-size: 14px;
                                font-weight: 500;
                                line-height: 1.3;
                            }
                        }
                    }

                    .selected-men {
                        padding: 0;
                        width: calc(100% - calc(220px + (330 - 220) * ((100vw - 767px) / (1920 - 767))) - 15px);

                        @media (max-width: 767.98px) {
                            width: 100%;
                            display: grid;
                            grid-template-columns: 1fr 1fr;
                        }

                        @media (max-width: 575.98px) {
                            grid-template-columns: 1fr;
                        }

                        .servicemen-list-item {
                            background-color: $section-bg;
                            border: none;
                            box-shadow: none;
                            min-width: calc(220px + (279 - 220) * ((100vw - 575px) / (1920 - 575)));

                            @media (max-width: 575.98px) {
                                min-width: unset;
                            }

                            .list {
                                width: 100%;

                                >div {
                                    width: 100%;

                                    ul {
                                        justify-content: space-between;

                                        li {
                                            .rate {
                                                &:before {
                                                    display: none;
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }

            .invalid-feedback {
                position: absolute;
                bottom: -20px;
            }
        }

        ~.pagination-main {
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px solid $border-color;

            body.dark & {
                border-color: #454851;
            }
        }
    }
}

.date-time-location-btn {
    background-color: unset;
    padding: 0;
    border: none;
}

.left-sidebar-filter {
    position: sticky;

    @media (max-width: 1199.98px) {
        position: fixed;
        top: 0;
        left: calc(-320px + (-380 - -320) * ((100vw - 320px) / (1200 - 320)));
        transition: all 0.3s ease-in-out;
        @include pseudowh($width: calc(310px + (350 - 310) * ((100vw - 320px) / (1200 - 320))), $height: 100vh);
        background-color: $white;
        z-index: 9;
        overflow: auto;

        [dir="rtl"] & {
            left: unset;
            right: calc(-320px + (-380 - -320) * ((100vw - 320px) / (1200 - 320)));
        }

        body.dark & {
            background-color: #252934;

            .filter-title {
                background-color: #252934;
            }
        }

        &.show {
            left: 0;

            [dir="rtl"] & {
                left: unset;
                right: 0;
            }
        }
    }

    .filter-title {
        border-bottom: 1px solid $border-color;
        padding-bottom: 10px;
        margin-bottom: 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;

        body.dark & {
            border-color: #454851;

            h4 {
                color: $white;
            }
        }

        h4 {
            font-weight: 600;
            font-size: calc(20px + (23 - 20) * ((100vw - 320px) / (1920 - 320)));
            line-height: 1.3;

        }

        .close-filter {
            padding: 0;
            display: none;
            width: max-content;
            border: none;

            body.dark & {
                color: $white;
            }
        }

        @media (max-width: 1199.98px) {
            padding: calc(12px + (15 - 12) * ((100vw - 320px) / (1200 - 320))) calc(15px + (18 - 15) * ((100vw - 320px) / (1200 - 320)));
            margin-bottom: 18px;
            position: sticky;
            top: 0;
            left: 0;
            z-index: 1;
            display: flex;
            align-items: center;
            justify-content: space-between;
            background-color: $section-bg;

            .close-filter {
                display: block;

                .feather {
                    width: calc(22px + (24 - 22) * ((100vw - 320px) / (1200 - 320)));
                    height: calc(22px + (24 - 22) * ((100vw - 320px) / (1200 - 320)));
                    stroke-width: 2.3px;
                }
            }
        }
        .filter-btn{
            padding: 7px;
            background-color: var(--theme-color);
            color: $white;
            border: none;
        }
    }

    .main-filter-box {
        @media (max-width: 1199.98px) {
            padding: 0 calc(12px + (15 - 12) * ((100vw - 320px) / (1200 - 320))) calc(15px + (18 - 15) * ((100vw - 320px) / (1200 - 320)));
        }

        .filter-box {
            +.filter-box {
                border-top: 1px solid $border-color;
                margin-top: calc(10px + (14 - 10) * ((100vw - 320px) / (1920 - 320)));
                padding-top: calc(10px + (14 - 10) * ((100vw - 320px) / (1920 - 320)));

                body.dark & {
                    border-color: #454851;
                }
            }

            .filter-sub-title {
                margin-bottom: calc(12px + (15 - 12) * ((100vw - 320px) / (1920 - 320)));

                h5 {
                    font-size: calc(18px + (20 - 18) * ((100vw - 320px) / (1920 - 320)));
                    font-weight: 500;

                    body.dark & {
                        color: $white;
                    }
                }
            }

            .filter-list {
                max-height: 193px;
                overflow: auto;

                body.dark & {
                    &::-webkit-scrollbar-track {
                        background-color: #454851;
                    }
                }

                &::-webkit-scrollbar {
                    width: 3px;
                }

                &::-webkit-scrollbar-track {
                    background: $section-bg;
                    border-radius: 3px;
                }

                &::-webkit-scrollbar-thumb {
                    background: var(--theme-color);
                    border-radius: 3px;
                }

                .form-check {
                    gap: calc(8px + (12 - 8) * ((100vw - 320px) / (1920 - 320)));

                    +.form-check {
                        margin-top: calc(7px + (10 - 7) * ((100vw - 320px) / (1920 - 320)));
                    }

                    .form-check-input {
                        &:checked {
                            ~.form-check-label {
                                color: $title-color;

                                body.dark & {
                                    color: $white;
                                }
                            }
                        }
                    }

                    .form-check-label {
                        font-size: calc(15px + (16 - 15) * ((100vw - 320px) / (1920 - 320)));
                        cursor: pointer;
                        transition: all 0.25s ease-in-out;

                        body.dark & {
                            color: rgba($white, 0.6);
                        }
                    }
                }
            }

            .price-range-box {
                .wrapper {
                    padding-bottom: 8px;

                    .price-input {
                        width: 100%;
                        display: flex;
                        margin: 0 0 calc(13px + (22 - 13) * ((100vw - 320px) / (1920 - 320)));

                        .field {
                            display: flex;
                            width: 100%;
                            align-items: center;

                            input {
                                width: 100%;
                                outline: none;
                                font-size: calc(15px + (17 - 15) * ((100vw - 320px) / (1920 - 320)));
                                color: $title-color;
                                border-radius: 5px;
                                text-align: center;
                                border: 1px solid $border-color;
                                appearance: none;
                                padding: 8px;

                                body.dark & {
                                    background-color: #252934;
                                    border-color: #454851;
                                    color: $white;
                                }
                            }
                        }

                        .separator {
                            width: calc(80px + (100 - 80) * ((100vw - 320px) / (1920 - 320)));
                            font-size: 25px;
                            @include flex_common;
                        }
                    }

                    input[type="number"] {

                        &::-webkit-outer-spin-button,
                        &::-webkit-inner-spin-button {
                            appearance: none;
                        }
                    }

                    .slider {
                        height: calc(4px + (5 - 4) * ((100vw - 320px) / (1920 - 320)));
                        position: relative;
                        background-color: $section-bg;
                        border-radius: 5px;

                        body.dark & {
                            background-color: #454851;
                        }

                        .progress {
                            height: 100%;
                            left: 25%;
                            right: 25%;
                            position: absolute;
                            border-radius: 5px;
                            background: var(--theme-color);
                        }
                    }

                    .range-input {
                        position: relative;

                        input {
                            position: absolute;
                            @include pseudowh($width: 100%, $height: calc(4px + (5 - 4) * ((100vw - 320px) / (1920 - 320))));
                            top: calc(-4px + (-5 - -4) * ((100vw - 320px) / (1920 - 320)));
                            background: none;
                            pointer-events: none;
                            appearance: none;
                        }
                    }

                    input[type="range"]::-webkit-slider-thumb {
                        @include pseudowh($width: calc(13px + (17 - 13) * ((100vw - 320px) / (1920 - 320))), $height: calc(13px + (17 - 13) * ((100vw - 320px) / (1920 - 320))));
                        border-radius: 50%;
                        background: var(--theme-color);
                        pointer-events: auto;
                        -webkit-appearance: none;
                        box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
                    }

                    input[type="range"]::-moz-range-thumb {
                        @include pseudowh($width: 17px, $height: 17px);
                        border: none;
                        border-radius: 50%;
                        background: var(--theme-color);
                        pointer-events: auto;
                        appearance: none;
                        box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
                    }
                }
            }

            .rating-list {
                display: flex;
                align-items: center;
                gap: calc(3px + (4 - 3) * ((100vw - 320px) / (1920 - 320)));

                body.dark & {
                    span {
                        color: $white;
                    }
                }

                img {
                    @include pseudowh($width: calc(15px + (16 - 15) * ((100vw - 320px) / (1920 - 320))), $height: calc(15px + (16 - 15) * ((100vw - 320px) / (1920 - 320))));
                }

                span {
                    font-size: calc(14px + (15 - 14) * ((100vw - 320px) / (1920 - 320)));
                    font-weight: 500;
                    line-height: 1;
                    color: rgba($title-color, 0.6);
                    margin-left: 6px;
                    letter-spacing: 0.4px;

                    [dir="rtl"] & {
                        margin-left: unset;
                        margin-right: 6px;
                    }
                }
            }
        }
    }
}

.right-top-filter {
    border-bottom: 1px solid $border-color;
    padding-bottom: calc(10px + (22 - 10) * ((100vw - 320px) / (1920 - 320)));
    margin-bottom: calc(12px + (22 - 12) * ((100vw - 320px) / (1920 - 320)));

    body.dark & {
        border-color: #454851;
    }

    .product-filer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        flex-wrap: wrap;

        h5 {
            font-size: calc(17px + (19 - 17) * ((100vw - 320px) / (1920 - 320)));
            font-weight: 600;
            text-transform: capitalize;
            letter-spacing: 0.3px;

            body.dark & {
                color: $white;
            }
        }

        .filter-dropdown {
            display: flex;
            align-items: center;
            gap: 10px;

            .form-select {
                padding-right: 36px;

                [dir="rtl"] & {
                    padding-left: 36px;
                    padding-right: 12px;
                    background-position: left 0.75rem center;
                }

                body.dark & {
                    background-color: #252934;
                    color: $white;
                }
            }

            h5 {
                white-space: nowrap;
                font-weight: 400;
                letter-spacing: unset;
                color: $light-color;
                font-size: calc(16px + (18 - 16) * ((100vw - 320px) / (1920 - 320)));
            }
        }
    }

    .recent-filter {
        display: flex;
        gap: calc(8px + (15 - 8) * ((100vw - 320px) / (1920 - 320)));
        flex-wrap: wrap;
        margin-top: calc(8px + (13 - 8) * ((100vw - 320px) / (1920 - 320)));

        h5 {
            font-size: calc(16px + (18 - 16) * ((100vw - 320px) / (1920 - 320)));
            margin-top: calc(8px + (12 - 8) * ((100vw - 320px) / (1920 - 320)));
            white-space: nowrap;
            font-weight: 500;
            text-transform: capitalize;
            letter-spacing: 0.3px;

            body.dark & {
                color: $white;
            }
        }

        .filter-list {
            flex-wrap: wrap;
            display: flex;
            align-items: center;
            gap: calc(6px + (10 - 6) * ((100vw - 320px) / (1920 - 320)));

            li {
                .btn {
                    background-color: $section-bg;
                    border-radius: 100px;
                    color: $title-color;
                    border: 1px solid $border-color;
                    font-size: calc(14px + (15 - 14) * ((100vw - 320px) / (1920 - 320)));
                    font-weight: 500;
                    padding: calc(8px + (10 - 8) * ((100vw - 320px) / (1920 - 320))) calc(11px + (16 - 11) * ((100vw - 320px) / (1920 - 320)));

                    &:hover {
                        background-color: transparent;
                    }

                    body.dark & {
                        background-color: #252934;
                        border-color: #454851;
                        color: $white;
                    }

                    svg {
                        @include pseudowh($width: calc(16px + (18 - 16) * ((100vw - 320px) / (1920 - 320))), $height: calc(16px + (18 - 16) * ((100vw - 320px) / (1920 - 320))));
                    }
                }

                .clear-btn {
                    border: 0;
                    border-color: transparent;
                    background-color: transparent;
                    text-decoration: underline;
                    color: var(--theme-color);

                    body.dark & {
                        border-color: transparent;
                        background-color: transparent;
                        color: var(--theme-color);
                    }
                }
            }
        }
    }
}