body{
    background-image: url(../pic/bg.webp);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}
@font-face {
    font-family: fontp;
    src: url('../fonts/Sans\ a4fran3.eot');
    src:url('../fonts/Sans\ a4fran3.eot') format('Sans-opentype'),
        url('../fonts/Sans\ a4fran3.woff'),
        url('../fonts/Sans\ a4fran3.ttf') format('truetype')
}
#main{
    width: 960px;
    height: auto;
    margin: auto;
}
#head{
    width: 960px;
    height: 90px;
    margin: auto ;
    padding: 5px;
    background-color: rgb(134, 86, 179);
    border-radius: 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    direction: rtl;
}
#menu-wrapper{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex: 1;
}
#pic{
    width: 90px;
    height: 90px;
    background-color: rgb(211, 192, 221);
    border-radius: 45px;
    background-image: url(../pic/logo.webp);
    background-size: 90px 90px ;
    
}
#basket{
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
#basket img{
    width: 48px;
    height: 48px;
    padding: 30px;
}
.menu{
    font-family:fontp;
    font-size: 15px;
    text-decoration: none; 
    color: rgb(255, 223, 255);
    padding: 10px;
    border-radius: 10px;
    transition: background-color 0.5s ease, color 0.5s ease;
}
.menu:hover{
    background-color: rgb(255, 223, 255);
    color: rgb(134, 86, 179);
}
#basket-content{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    width: 960px;
    margin: 30px auto;
    direction: rtl;
    box-sizing: border-box;
}
#basket-items{
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.basket-item{
    background-color: rgba(243, 209, 226, 0.774);
    border: 1px solid #d297ff;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
}
.basket-item.empty{
    background-color: transparent;
    border: 1px dashed #d297ff;
}
.basket-item img{
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.basket-item .desc{
    padding: 5px;
    font-family: fontp;
}
.basket-item .price{
    padding: 0 5px;
    font-family: fontp;
    font-size: 14px;
    font-weight: bold;
    color: rgb(134, 86, 179);
}
.qty{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 0;
    font-family: fontp;
}
.qty-btn{
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 50%;
    background-color: rgb(134, 86, 179);
    color: rgb(255, 223, 255);
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.qty-btn:hover{
    background-color: rgb(255, 223, 255);
    color: rgb(134, 86, 179);
}
#checkout-box{
    width: 260px;
    flex-shrink: 0;
    background-color: rgb(243, 209, 226);
    border: 1px solid #d297ff;
    border-radius: 15px;
    padding: 20px;
    box-sizing: border-box;
}
#checkout-box h4{
    font-family: fontp;
    font-size: 16px;
    color: rgb(134, 86, 179);
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #d297ff;
}
.checkout-row{
    display: flex;
    justify-content: space-between;
    font-family: fontp;
    font-size: 14px;
    color: rgb(90, 60, 120);
    margin-bottom: 12px;
}
.checkout-row.total{
    font-weight: bold;
    font-size: 15px;
    color: rgb(134, 86, 179);
    border-top: 1px solid #d297ff;
    padding-top: 12px;
}
#pay-btn{
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    font-family: fontp;
    font-size: 14px;
    background-color: rgb(134, 86, 179);
    color: rgb(255, 223, 255);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}
#pay-btn:hover{
    background-color: rgb(255, 223, 255);
    color: rgb(134, 86, 179);
}
#foot{
    width: 960px;
    margin: auto;
    padding: 30px 20px;
    background-color: rgb(134, 86, 179);
    border-radius: 25px 25px 0 0;
    box-sizing: border-box;
    direction: rtl;
}
#foot-wrapper{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.foot-col{
    flex: 1;
    width: 200px;
}
.foot-col h4{
    font-family: fontp;
    font-size: 17px;
    color: rgb(255, 223, 255);
    margin: 0 0 12px 0;
}
.foot-col p{
    display: block;
    font-family: fontp;
    font-size: 15px;
    color: rgb(255, 223, 255);
    margin-bottom: 8px;
}
.foot-col a{
    display: block;
    font-family: fontp;
    font-size: 15px;
    text-decoration: none;
    color: rgb(255, 223, 255);
    margin-bottom: 8px;
}
.foot-col a:hover{
    text-decoration: underline;
}
#foot-bottom{
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgb(211, 192, 221);
    text-align: center;
    font-family: fontp;
    font-size: 13px;
    color: rgb(255, 223, 255);
}