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);
}
#store-content{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    width: 960px;
    margin: 20px auto;
    direction: rtl;
    box-sizing: border-box;
}
#filter-sidebar{
    width: 220px;
    flex-shrink: 0;
    background-color: rgb(243, 209, 226);
    border: 1px solid #d297ff;
    border-radius: 15px;
    padding: 20px;
    box-sizing: border-box;
}
.filter-box{
    margin-bottom: 20px;
}
.filter-box h4{
    font-family: fontp;
    font-size: 16px;
    color: rgb(134, 86, 179);
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #d297ff;
}
.color-option, .price-option{
    display: flex;
    align-items: center;
    font-family: fontp;
    font-size: 14px;
    color: rgb(90, 60, 120);
    margin-bottom: 10px;
    cursor: pointer;
}
.color-option input, .price-option input{
    margin-left: 8px;
    cursor: pointer;
}
.color-dot{
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-block;
    margin-left: 8px;
    border: 1px solid rgba(0,0,0,0.15);
}
#apply-filter{
    width: 100%;
    padding: 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;
}
#apply-filter:hover{
    background-color: rgb(255, 223, 255);
    color: rgb(134, 86, 179);
}
#prodoct-shelf{
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    justify-items: center;
}
div.prodocts{
    position: relative;
    background-color: rgba(243, 209, 226);
    margin: 0;
    border: 1px solid rgba(210, 151, 255);
    width: 100%;
    max-width: 280px;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
.add-to-cart{
    position: absolute;
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(134, 86, 179);
    border: 2px solid rgb(255, 223, 255);
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.add-to-cart:hover{
    background-color: rgb(76, 40, 96);
    transform: scale(1.1);
}
.add-to-cart img{
    width: 32px;
    height: 32px;
}
div.prodocts:hover{
    border: 1px solid #4d006b;
    transform: scale(1.05);
    background-color: rgb(216, 191, 235);
    box-shadow: 0 6px 14px rgba(77, 0, 107, 0.25);
}
#image{
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}
div.desc{
    padding: 5px;
    text-align: center;
    font-family:fontp;
}
div.price{
    padding: 0 5px 10px 5px;
    text-align: center;
    font-family: fontp;
    font-size: 14px;
    font-weight: bold;
    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);
}