.basket{
    .basket-title{
        display: flex;
        align-items: center;
        gap: 30px;
        font-size: 2rem;
        font-weight: 600;
        margin-bottom: 110px;

        @media screen and (max-width: 1024px){
            margin-bottom: 50px;
        }
    }

    .basket-main{
        display: flex;
        gap: 24px;

        @media screen and (max-width: 768px){
            flex-direction: column;
        }

        .basket-left{
            width: 60%;

            @media screen and (max-width: 1024px) {
                width: 70%;
            }

            @media screen and (max-width: 768px){
               width: 100%;
            }
        }

        .basket-btns{
            display: flex;
            justify-content: space-between;
            margin-bottom: 24px;
            .basket-select-all{
                display: flex;
                align-items: center;
                padding: 10px 12px;
                padding-right: 22px;
                gap: 70px;
                border-radius: 10px;
                background: #FFF;
                box-shadow: 0px 1px 5px 0px rgba(29, 45, 83, 0.20);

                @media screen and (max-width: 560px) {
                    justify-content: space-between;
                    gap: 0;
                    width: 100%;
                }
            }

            .basket-select-all-delete{
                color: #FF6C87;
                font-family: Montserrat;
                font-style: normal;
                font-weight: 600;
                line-height: normal;
                cursor: pointer;

                .large-title{
                    display: block;
                }

                .mobile-title{
                    display: none;
                }

                @media screen and (max-width: 560px){
                    .large-title{
                        display: none;
                    }
    
                    .mobile-title{
                        display: block;
                    }
                }
            }

            .basket-btn{
                button{
                    position: relative;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    background-color: #fff;
                    border: 0;
                    outline: none;
                    height: 48px;
                    border-radius: 10px;
                    box-shadow: 0px 1px 5px 0px rgba(29, 45, 83, 0.20);
                    padding: 14px 26px;
                    padding-left: 63px;
                    color: #1D2D53;
                    font-weight: 600;
                    cursor: pointer;

                    img{
                        position: absolute;
                        left: 20px;
                    }
                }

                @media screen and (max-width:560px) {
                    display: none;
                }
            }
        }

        .basket-products{
            display: flex;
            flex-direction: column;
            gap: 24px;
            .basket-product{
                border-radius: 10px;
                background: #FFF;
                box-shadow: 0px 1px 5px 0px rgba(29, 45, 83, 0.20);
                padding: 10px;
                padding-left: 0;
                display: flex;
                flex-direction: row;
                justify-content: space-between;
                position: relative;

                @media screen and (max-width: 1024px){
                    height: 180px;
                }

                @media screen and (max-width: 560px){
                    height: max-content;
                }
            }

            .basket-product-img{
                margin-right: 50px;

               
                img{
                    width: 100%;
                    height: 100%;
                    max-width: 180px;   
                    max-height: 180px;
                }

                @media screen and (max-width: 1024px) {
                    margin-right: 10px;
                }

                @media screen and (max-width: 560px){
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    img{
                        max-width: 95px;
                        max-height: 95px;
                    }
                }
            }

            .basket-checkbox{
                position: absolute;
                top: 10px;
                left: 10px;
            }

            .basket-product-content{
                width: calc(100% - 180px - 50px);
                display: flex;
                flex-direction: column;
                justify-content: space-between;

                @media screen and (max-width: 1024px) {
                    width: calc(100% - 180px);
                }

                @media screen and (max-width: 560px){
                    width: 55%;
                }
            }

            .basket-product-top{
                display: flex;
                position: relative;
                padding-right: 35px;
                justify-content: space-between;
                height: max-content;

                @media screen and (max-width: 560px){
                    flex-direction: column;
                    margin-top: 25px;
                    gap: 15px;
                    padding-right: 0;
                }
                
                .basket-product-name{
                    font-weight: 700;
                    width: 80%;

                    @media screen and (max-width: 1024px) {
                        width: 70%;
                    }

                    @media screen and (max-width: 560px){
                        width: 95%;
                    }
                }

                .basket-product-price-number{
                    width: 100%;
                    font-weight: 700;
                    font-size: 1.25rem;
                    color: #0EAA9E;
                    text-wrap: nowrap;

                    @media screen and (max-width: 1024px) {
                        font-size: 20px;
                    }
                }

                .basket-product-price{
                    display: flex;
                    width: 15%;

                    @media screen and (max-width: 560px){
                        width: 100%;
                        text-align: end;
                    }
                }

                .basket-product-delete{
                    position: absolute;
                    right: 0px;
                    top: -2px;
                    cursor: pointer;

                    @media screen and (max-width: 560px) {
                        top: -27px;
                    }
                }
            }

            .basket-product-down{
                height: 36px;
                display: flex;
                justify-content: space-between;
                align-items: center;

                @media screen and (max-width: 560px){
                    justify-content: end;
                    margin-top: 15px;
                }

                .favorite-btn{
                    height: 36px;
                    width: 36px;
                    img{
                        width: 19px;
                        height: 19px;
                    }

                    @media screen and (max-width: 560px){
                        position: absolute;
                        left: 5px;
                    }
                }

                .counter{
                    display: flex;
                    gap: 6px;

                    .counter-minus,
                    .counter-input,
                    .counter-plus{
                        width: 36px;
                        height: 36px;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        border-radius: 5px;
                        border: 2px solid var(--20, #CACDD5);
                        svg{
                            width: 17px;
                            height: 17px;
                            fill: #1D2D53;
                        }
                    }

                    .counter-input{
                        input{
                            width: 36px;
                            padding: 0;
                            background-color: 0;
                            height: 36px;
                            border-radius: 5px;
                            border: 2px solid var(--20, #CACDD5);
                            background-color: #fff;
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            text-align: center;
                            outline: none;
                            min-height: 36px;
                            color: #1D2D53;
                            font-weight: 500;
                        }
                    }
                }
            }
        }
        .basket-right{
            width: 35%;

            @media screen and (max-width: 768px){
                width: 100%;
            }

            .checkout{
                padding: 30px 25px;
                border-radius: 10px;
                box-shadow: 0px 1px 5px 0px rgba(29, 45, 83, 0.20);
                display: flex;
                flex-direction: column;
                overflow: hidden;
            }

            .checkout-head{
                display: flex;
                justify-content: space-between;
                align-items: end;
                padding-bottom: 30px;
                padding-top: 10px;
                position: relative;

                &::after{
                    content:"";
                    height: 2px;
                    background: #cacdd570;
                    width: 200%;
                    position: absolute;
                    bottom: 0;
                    left: -50%;
                }
                .checkout-head-title{
                    color: #1D2D53;
                    font-family: Montserrat;
                    font-size: 1.25rem;
                    font-style: normal;
                    font-weight: 700;
                    line-height: normal;
                }
                .checkout-head-price{
                    color: #0EAA9E;
                    font-family: Montserrat;
                    font-size: 2rem;
                    font-style: normal;
                    font-weight: 700;
                    line-height: normal;
                }
            }

            .checkout-items{
                margin-top: 32px;
                .checkout-item{
                    display: flex;
                    justify-content: space-between;
                    margin-bottom: 17px;
                    .checkout-item-title{
                        color: #8E96A9;
                        font-family: Georgia;
                        font-style: normal;
                        font-weight: 400;
                        line-height: normal;
                    }
                    .checkout-item-value{
                        color: #1D2D53;
                        font-family: Montserrat;
                        font-style: normal;
                        font-weight: 600;
                        line-height: normal;

                        &.discount{
                            color: #FF6C87;
                            font-family: Montserrat;
                            font-style: normal;
                            font-weight: 600;
                            line-height: normal;
                        }
                    }
                }
                .checkout-subtitle{
                    margin-top: 30px;
                    color: #8E96A9;
                    text-align: justify;
                    font-family: Georgia;
                    font-style: normal;
                    font-weight: 400;
                    line-height: normal;
                    margin-bottom: 95px;
                }

                .checkout-checkbox{
                    margin-bottom: 30px;
                }

                .checkout-promo{
                    width: 100%;
                    display: flex;
                    position: relative;
                    margin-bottom: 24px;

                    input{
                        background-color: white;
                        border-radius: 10px;
                        border: 2px solid #CACDD5;
                        width: 100%;
                    }
                    button{
                        border-radius: 10px;
                        background: #CACDD5;
                        height: 100%;
                        position: absolute;
                        right: -20px;
                        padding: 0 25px;
                        color: white;
                        border: 0;
                        font-weight: 700;
                        line-height: normal;
                        cursor: pointer;

                        @media screen and (max-width: 1024px){
                            right: 0;
                        }
                    }
                }

                .checkout-btn{
                    width: 100%;
                    button{
                        height: 60px;
                        border-radius: 10px;
                        background: #1D2D53;
                        font-size: 1.25rem;
                        font-style: normal;
                        font-weight: 700;
                        line-height: normal;
                        color: white;
                        border: 0;
                        width: 100%;
                        cursor: pointer;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        gap: 40px;
                        padding: 0 20px;

                        @media screen and (max-width : 1024px) {
                            text-align: start;
                        }
                    }
                }
            }
        }
    }
}