.pos-section {
    .category-slider {
        .swiper-wrapper {
            height: auto;
        }
    }

    .pos-category-box {
        border: none;

        .nav-link {
            width: 100%;
            padding: 0;
            border: none;
            margin: 0;
            background-color: transparent;
            position: relative;
            z-index: 0;
            overflow: hidden;

            &.active {
                .category-box {
                    border: 1px solid var(--primary-color);

                    .category-image {
                        background-color: rgba(237, 239, 241, 1);
                    }

                    h5 {
                        font-weight: 500;
                        color: var(--primary-color);
                    }
                }
            }
        }
    }

    .category-box {
        background-color: $white;
        border-radius: 8px;
        padding: calc(7px + (11 - 7) * ((100vw - 320px) / (1920 - 320)));
        display: flex;
        flex-direction: column;
        gap: calc(7px + (10 - 7) * ((100vw - 320px) / (1920 - 320)));
        text-align: center;
        cursor: pointer;
        border: 1px solid rgba($white-dark, 0.71);
        position: relative;
        z-index: 0;
        overflow: hidden;

        &.selected {
            border-color: var(--primary-color);

            .category-image {
                background-color: transparent;
                border-bottom: transparent;
                position: relative;
                z-index: 0;
                overflow: hidden;

                &::before {
                    @extend %bg-theme-color;
                    opacity: 0.1;
                }
            }

            h5 {
                color: var(--primary-color);
                font-weight: 600;
            }
        }

        .category-image {
            background-color: rgba(237, 239, 241, 0.4);
            padding: 17px;
            height: 68px;
            border-radius: 5px;

            img {
                width: 100%;
                height: 100%;
                object-fit: contain;
            }
        }

        h5 {
            color: rgba($dark-color, 0.8);
            line-height: 1.3;
            display: -webkit-box;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            overflow: hidden;
            font-size: calc(14px + (16 - 14) * ((100vw - 320px) / (1920 - 320)));
            text-overflow: ellipsis;
        }
    }

    .contentbox {
        .contentbox-title {
            margin-bottom: calc(8px + (18 - 8) * ((100vw - 320px) / (1920 - 320)));
            display: block;

            .contentbox-subtitle {
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: calc(7px + (10 - 7) * ((100vw - 320px) / (1920 - 320)));

                a {
                    font-size: 15px;
                    font-weight: 500;
                }

                .slider-buttons {
                    display: flex;
                    align-items: center;
                    gap: calc(7px + (10 - 7) * ((100vw - 320px) / (1920 - 320)));

                    .swiper-button-next,
                    .swiper-button-prev {
                        position: relative;
                        inset: unset;
                        width: calc(30px + (34 - 30) * ((100vw - 320px) / (1920 - 320)));
                        height: calc(30px + (34 - 30) * ((100vw - 320px) / (1920 - 320)));
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        border: 1px solid rgba($white-dark, 0.71);
                        background-color: $white;
                        border-radius: 6px;
                        margin: 0;
                        z-index: 0;
                        color: #7a8591;
                        font-size: calc(19px + (22 - 19) * ((100vw - 320px) / (1920 - 320)));

                        &::after {
                            content: none;
                        }
                    }
                }

                .search-box {
                    position: relative;

                    .form-control {
                        padding-left: calc(38px + (48 - 38) * ((100vw - 320px) / (1920 - 320)));
                        background-color: $white;
                        color: rgba($dark-color, 0.8);

                        &:-webkit-autofill {
                            box-shadow: 0 0 0px 1000px $white inset !important;
                            -webkit-text-fill-color: rgba($dark-color, 0.8) !important;
                        }
                    }

                    .feather {
                        position: absolute;
                        left: calc(12px + (18 - 12) * ((100vw - 320px) / (1920 - 320)));
                        top: 50%;
                        transform: translateY(-50%);
                        width: calc(18px + (20 - 18) * ((100vw - 320px) / (1920 - 320)));
                        height: calc(18px + (20 - 18) * ((100vw - 320px) / (1920 - 320)));
                        color: #7a8591;
                    }
                }
            }

            h3 {
                text-transform: capitalize;
            }

            .timer {
                display: flex;
                align-items: center;
                background-color: $white;
                border: 1px solid rgba($white-dark, 0.71);
                padding: 5px 13px;
                gap: 6px;
                border-radius: 7px;

                h5 {
                    line-height: 1.4;
                    color: rgba($dark-color, 0.8);
                }

                ul {
                    display: flex;
                    line-height: 1;
                    gap: 3px;
                    align-items: center;

                    li {
                        color: var(--primary-color);
                        font-weight: 500;
                        font-size: 16px;

                        .counter {
                            h4 {
                                color: var(--primary-color);
                                font-weight: 500;
                            }
                        }
                    }
                }
            }
        }

        .inside {
            .btn {
                &:active {
                    background-color: var(--primary-color);
                    color: $white;
                    border-color: var(--primary-color);
                }
            }
        }
    }

    .details-servicemen-box {
        position: sticky;
        top: 110px;

        .card {
            box-shadow: none;
            margin-bottom: 30px;

            &:last-child {
                margin-bottom: 0;
            }
        }

        .clear-btn {
            padding: 0;
            font-weight: 500;
            display: block;
            border: none;
            background-color: transparent;

            &:hover,
            &:active {
                color: #ff4b4b !important;
                background-color: transparent !important;
            }
        }

        .servicemen-list-box {
            max-height: 430px;
            overflow: auto;
            padding: 10px;
            border-radius: 9px;
            background-color: #f6f7f9;

            &:has(.servicemen-list .items-no-found) {
                max-height: unset;
                padding: calc(16px + (20 - 16)*((100vw - 320px) /(1920 - 320)));
            }

            .servicemen-list {
                >li {
                    width: 100%;

                    +li {
                        margin-top: 13px;
                    }
                }
            }
        }

        .payment-summery {
            margin-bottom: calc(12px + (15 - 12) * ((100vw - 320px) / (1920 - 320)));
            padding-bottom: calc(12px + (15 - 12) * ((100vw - 320px) / (1920 - 320)));
            border-bottom: 1px dashed $white-dark;
        }

        .payment-list {
            padding: calc(12px + (14 - 12) * ((100vw - 320px) / (1920 - 320)));
            border-radius: calc(6px + (9 - 6) * ((100vw - 320px) / (1920 - 320)));
            background-color: #f6f7f9;
            display: flex;
            flex-direction: column;

            li {
                display: flex;
                align-items: center;
                justify-content: space-between;
                font-size: calc(15px + (16 - 15) * ((100vw - 320px) / (1920 - 320)));
                color: rgba($dark-color, 0.8);

                +li {
                    margin-top: calc(6px + (12 - 6) * ((100vw - 320px) / (1920 - 320)));
                }

                &:last-child {
                    font-size: calc(18px + (20 - 18) * ((100vw - 320px) / (1920 - 320)));
                    font-weight: 500;
                    border-top: 1px dashed rgba($dark-color, 0.1);
                    padding-top: calc(6px + (8 - 6) * ((100vw - 320px) / (1920 - 320)));
                    margin-top: calc(6px + (8 - 6) * ((100vw - 320px) / (1920 - 320)));
                    color: rgba($dark-color, 0.8);

                    span {
                        color: var(--primary-color);
                        font-weight: 600;
                    }
                }

                span {
                    font-weight: 500;
                }
            }
        }

        .discount-box {
            margin-bottom: 14px;
            padding-bottom: 14px;
            border-bottom: 1px solid rgba($white-dark, 0.71);

            &:has(.radio-buttons-box .form-check #fixed:checked) {
                .position-relative {
                    .feather {
                        &.feather-percent {
                            display: none;
                        }

                        &.feather-dollar-sign {
                            display: block;
                        }
                    }
                }
            }

            &:has(.radio-buttons-box .form-check #percent:checked) {
                .position-relative {
                    .feather {
                        &.feather-percent {
                            display: block;
                        }

                        &.feather-dollar-sign {
                            display: none;
                        }
                    }
                }
            }

            .position-relative {
                .feather {
                    position: absolute;
                    top: 50%;
                    transform: translateY(-50%);
                    right: calc(12px + (17 - 12) * ((100vw - 320px) / (1920 - 320)));
                    width: calc(16px + (18 - 16) * ((100vw - 320px) / (1920 - 320)));
                    color: rgba($dark-color, 0.8);
                }
            }
        }

        .radio-buttons-box {
            display: flex;
            align-items: center;
            gap: 14px;

            .form-check {
                width: 100%;
                padding: calc(10px + (14 - 10) * ((100vw - 320px) / (1920 - 320)));
                border-radius: calc(6px + (9 - 6) * ((100vw - 320px) / (1920 - 320)));
                background-color: rgba(237, 239, 241, 0.4);
                border: 1px solid $white-dark;
            }

            .form-check-label {
                margin: 0;
            }
        }

        .place-btn {
            width: 100%;
            background-color: var(--primary-color);
            color: $white;
            border-radius: 6px;
            margin-top: 14px;
            text-transform: capitalize;
            font-size: calc(15px + (17 - 15) * ((100vw - 320px) / (1920 - 320)));
            font-weight: 500;
            padding: calc(10px + (12 - 10) * ((100vw - 320px) / (1920 - 320)));
            border: 1px solid var(--primary-color);

            &:hover {
                background-color: transparent;
                color: var(--primary-color);
            }
        }
    }
}

.pos-section-2 {
    .discount-slider {
        .swiper-wrapper {
            height: auto;
        }
    }

    .contentbox {
        .contentbox-title {
            margin-bottom: 18px;
            display: block;

            .contentbox-subtitle {
                display: flex;
                align-items: center;
                justify-content: space-between;

                a {
                    font-size: 15px;
                    font-weight: 500;
                }

                .slider-buttons {
                    display: flex;
                    align-items: center;
                    gap: 10px;

                    .swiper-button-next,
                    .swiper-button-prev {
                        position: relative;
                        inset: unset;
                        width: 34px;
                        height: 34px;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        border: 1px solid rgba($white-dark, 0.71);
                        background-color: $white;
                        border-radius: 6px;
                        margin: 0;
                        z-index: 0;
                        color: #7a8591;
                        font-size: 22px;

                        &::after {
                            content: none;
                        }
                    }
                }
            }

            h3 {
                text-transform: capitalize;
            }

            .timer {
                display: flex;
                align-items: center;
                background-color: $white;
                border: 1px solid rgba($white-dark, 0.71);
                padding: 5px 13px;
                gap: 6px;
                border-radius: 7px;

                h5 {
                    line-height: 1.4;
                    color: rgba($dark-color, 0.8);
                }

                ul {
                    display: flex;
                    line-height: 1;
                    gap: 3px;
                    align-items: center;

                    li {
                        color: var(--primary-color);
                        font-weight: 500;
                        font-size: 16px;

                        .counter {
                            h4 {
                                color: var(--primary-color);
                                font-weight: 500;
                            }
                        }
                    }
                }
            }
        }
    }
}

.servicemen-box {
    background-color: $white;
    border-radius: 12px;
    padding: 11px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid rgba($white-dark, 0.71);

    &:hover {
        .servicemen-image {
            img {
                transform: scale(1.1);
            }
        }
    }

    .servicemen-image {
        border-radius: 7px;
        overflow: hidden;
        position: relative;

        img {
            aspect-ratio: 9/5;
            object-fit: cover;
            transition: opacity .5s, transform 1.25s cubic-bezier(0, 0, .44, 1.18);
        }

        span {
            position: absolute;
            top: 5px;
            right: 9px;
            background-color: #fe3d3d;
            color: $white;
            font-weight: 500;
            font-size: 12px;
            padding: 3px 10px;
            letter-spacing: 0;
            border-radius: 100px;
        }
    }

    .servicemen-details {
        h4 {
            font-weight: 500;
            color: rgba($dark-color, 0.8);
            line-height: 1.3;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            display: -webkit-box;
            overflow: hidden;
            font-size: 16px;
        }

        h5 {
            font-weight: 400;
            font-size: 15px;
            line-height: 1.3;
            color: #7a8591;
            margin-top: 1px;
            letter-spacing: 0.2px;
        }

        h3 {
            font-size: 17px;
            margin-top: calc(10px + (12 - 10) * ((100vw - 320px) / (1920 - 320)));
            font-weight: 600;
            letter-spacing: 0;
            color: var(--primary-color);
            display: flex;
            align-items: flex-end;
            gap: 6px;

            del {
                font-size: 15px;
                color: rgba($dark-color, 0.3);
                font-weight: 500;
            }
        }

        .service-list {
            display: flex;
            align-items: center;
            margin-top: calc(3px + (5 - 3) * ((100vw - 320px) / (1920 - 320)));

            li {
                line-height: 1.3;
                display: flex;
                align-items: center;
                gap: 4px;

                +li {
                    border-left: 2px solid $white-dark;
                    padding-left: calc(6px + (10 - 6) * ((100vw - 320px) / (1920 - 320)));
                    margin-left: calc(6px + (10 - 6) * ((100vw - 320px) / (1920 - 320)));
                }

                .feather {
                    width: calc(13px + (14 - 13) * ((100vw - 320px) / (1920 - 320)));
                    height: auto;
                }

                span {
                    font-size: calc(13px + (14 - 13) * ((100vw - 320px) / (1920 - 320)));
                    font-weight: 400;
                }
            }
        }
    }

    .service-bottom-box {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-top: 1px dashed $white-dark;
        padding-top: 12px;
        gap: 14px;

        .footer-detail {
            display: flex;
            align-items: center;
            gap: 10px;

            a {
                img {
                    width: 46px;
                    height: auto;
                    border-radius: 4px;
                }
            }

            p {
                font-size: 15px;
                font-weight: 500;
                line-height: 1.4;
                letter-spacing: 0.3px;
                margin-bottom: 0;
                -webkit-line-clamp: 1;
                -webkit-box-orient: vertical;
                display: -webkit-box;
                overflow: hidden;
                color: rgba($dark-color, 0.8);
            }

            .rate {
                margin-top: calc(2px + (4 - 2) * ((100vw - 320px) / (1920 - 320)));
            }
        }

        button {
            white-space: nowrap;
        }
    }
}

.servicemen-horizontal-box {
    background-color: $white;
    border-radius: 12px;
    padding: 11px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid rgba($white-dark, 0.71);
    position: relative;

    .delete-icon {
        padding: 0;
        position: absolute;
        top: 9px;
        right: 9px;
        z-index: 2;
        color: #ff4b4b;
        font-size: 17px;
        line-height: 1;
        width: 32px;
        height: 32px;
        border-radius: 4px;
        border: none;

        &:hover,
        &:active {
            color: #ff4b4b;
            background-color: rgba(255, 75, 75, 0.18);
        }
    }

    .top-box {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    &:hover {
        .servicemen-image {
            img {
                transform: scale(1.1);
            }
        }
    }

    .servicemen-image {
        border-radius: 7px;
        overflow: hidden;
        position: relative;

        img {
            width: 110px;
            height: 82px;
            object-fit: cover;
            transition: opacity .5s, transform 1.25s cubic-bezier(0, 0, .44, 1.18);
        }

        span {
            position: absolute;
            top: 5px;
            right: 9px;
            background-color: #fe3d3d;
            color: $white;
            font-weight: 500;
            font-size: 12px;
            padding: 3px 10px;
            letter-spacing: 0;
            border-radius: 100px;
        }
    }

    .servicemen-details {
        width: calc(100% - 110px - 14px);

        h4 {
            font-weight: 500;
            color: rgba($dark-color, 0.8);
            line-height: 1.3;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            display: -webkit-box;
            overflow: hidden;
            font-size: 16px;
            width: calc(100% - 34px);
        }

        h5 {
            font-weight: 400;
            font-size: 15px;
            line-height: 1.3;
            color: #7a8591;
            margin-top: 2px;
            letter-spacing: 0.2px;

            span {
                color: rgba($dark-color, 0.8);
                font-weight: 500;
            }
        }

        h3 {
            font-size: 16px;
            margin-top: 12px;
            font-weight: 500;
            letter-spacing: 0;
            color: var(--primary-color);
            display: flex;
            align-items: flex-end;
            gap: 6px;

            del {
                font-size: 14px;
                color: rgba($dark-color, 0.4);
                font-weight: 500;
            }
        }

        .service-list {
            display: flex;
            align-items: center;
            margin-top: 5px;

            li {
                line-height: 1.3;
                display: flex;
                align-items: center;
                gap: 4px;

                +li {
                    border-left: 2px solid $white-dark;
                    padding-left: 10px;
                    margin-left: 10px;
                }

                .feather {
                    width: calc(13px + (14 - 13) * ((100vw - 320px) / (1920 - 320)));
                    height: auto;
                }

                span {
                    font-size: calc(13px + (14 - 13) * ((100vw - 320px) / (1920 - 320)));
                    font-weight: 400;
                }
            }
        }
    }

    .service-bottom-box {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-top: 1px dashed $white-dark;
        padding-top: 12px;

        .footer-detail {
            display: flex;
            align-items: center;
            gap: 10px;

            a {
                img {
                    width: 46px;
                    height: auto;
                    border-radius: 4px;
                }
            }

            p {
                font-size: 15px;
                font-weight: 500;
                line-height: 1.4;
                letter-spacing: 0.3px;
                margin-bottom: 0;
                -webkit-line-clamp: 1;
                -webkit-box-orient: vertical;
                display: -webkit-box;
                overflow: hidden;
                color: rgba($dark-color, 0.8);
            }

            .rate {
                margin-top: 4px;
            }
        }
    }
}

.items-no-found {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;

    svg {
        width: calc(106px + (150 - 106) * ((100vw - 320px) / (1920 - 320)));
        height: calc(106px + (150 - 106) * ((100vw - 320px) / (1920 - 320)));
    }

    p {
        font-size: calc(14px + (16 - 14) * ((100vw - 320px) / (1920 - 320)));
        text-transform: capitalize;
        margin: 0;
        font-weight: 500;
    }
}