@font-face {
    font-family: kalameh;
    src: url("../fonts/KalamehWeb-Medium.woff2")format("woff2");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: kalameh;
}

/* BASKET START */

.basket {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 50px 0px;
    padding: 0px 10px;
}

.basket-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 1200px;
    gap: 30px;
}

.basket-rast {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    gap: 10px;
}

.basket-rast .basket-card {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
    width: 100%;
    height: 205px;
    gap: 20px;
    padding: 10px;
    border-radius: 10px;
    border: 3px solid #D1DBE8;
    background-color: white;
}

.basket-card-rast {
    border-left: 1px dotted gray;
    padding-left: 10px;
}

.basket-card-rast img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    border-radius: 5px;
}

.basket-card-chap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.basket-card-chap-top {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.basket-card-chap-top p {
    color: gray;
    font-size: 14px;
}

.basket-card-chap-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    width: 100%;
}

.basket-card-chap-bottom p {
    font-size: 14px;
}

.basket-card-chap-bottom-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 5px;
}

.basket-card-chap-bottom .basket-card-chap-bottom-btns #remove {
    text-decoration: none;
    color: white;
    background-color: red;
    border: 2px solid red;
    border-radius: 5px;
    font-size: 12px;
    padding: 5px 15px;
    transition: all .5s;
}

.basket-card-chap-bottom .basket-card-chap-bottom-btns #remove:hover {
    color: red;
    background-color: white;
}

.basket-card-chap-bottom .basket-card-chap-bottom-btns #seen {
    text-decoration: none;
    color: white;
    background-color: blue;
    border: 2px solid blue;
    border-radius: 5px;
    font-size: 12px;
    padding: 5px 15px;
    transition: all .5s;
}

.basket-card-chap-bottom .basket-card-chap-bottom-btns #seen:hover {
    color: blue;
    background-color: white;
}

.basket-chap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    border-radius: 15px;
    border: 4px solid #D1DBE8;
    top: 10px;
    position: sticky;
    min-width: 400px;
    background-color: white;
}

.basket-chap-title {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding-bottom: 10px;
    border-bottom: 3px solid #D1DBE8;
}

.basket-chap-post {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    padding-bottom: 10px;
    border-bottom: 3px dotted #D1DBE8;
    width: 100%;
}

.basket-chap-post p {
    font-size: 10px;
}

.basket-chap-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    padding-bottom: 10px;
    border-bottom: 3px solid #D1DBE8;
    width: 100%;
}

.basket-chap-btn {
    width: 100%;
}

.basket-chap-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    background-color: blue;
    border-radius: 10px;
    border: 3px solid blue;
    width: 100%;
    transition: all .5s;
    padding: 10px 5px;
}

.basket-chap-btn a:hover {
    border: 3px dotted blue;
    background-color: white;
    color: blue;
}

/* BASKET END */













/* RESPONIVE START */

@media screen and (max-width:480px) {

    .basket-container {
        width: 100%;
        flex-direction: column;
        gap: 30px;
    }

    .basket-rast .basket-card {
        flex-direction: column;
        width: 100%;
        height: auto;
    }

    .basket-card-rast img {
        width: 100%;
    }

    .basket-card-chap {
        gap: 20px;
    }

    .basket-card-chap-bottom-btns {
        flex-direction: column;
        gap: 10px;
    }

    .basket-chap {
        min-width: unset;
        width: 100%;
    }

}







@media screen and (min-width:481px) and (max-width:768px) {

    .basket-container {
        width: 100%;
        flex-direction: column;
        gap: 30px;
    }

    .basket-rast .basket-card {
        height: auto;
    }

    .basket-card-rast img {
        width: 175px;
    }

    .basket-card-chap-bottom-btns {
        flex-direction: column;
        gap: 10px;
    }

    .basket-card-chap-bottom .basket-card-chap-bottom-btns #remove,
    .basket-card-chap-bottom .basket-card-chap-bottom-btns #seen {
        font-size: 10px;
    }

    .basket-chap {
        min-width: unset;
        width: 100%;
    }

}











@media screen and (min-width:769px) and (max-width:1100px) {

    .basket-container {
        width: 100%;
        flex-direction: column;
        gap: 30px;
    }

    .basket-chap {
        min-width: unset;
        width: 100%;
    }

}

/* RESPONIVE END */