/*this is the styling page for the shop products carousels*/

.section{
    padding:0px;
    margin:0px;
    box-sizing:border-box;
    
}

main{
    min-width:900px;
    width:70%;
    height:550px;
    margin:10px auto;
    position:relative;
    padding: 5px 0;
    padding-bottom:25px;
}
main .text2{
    padding:5px;
    text-align:center;
    color:#554;
}
.text2 h1{
    font-family: 'Alegreya Sans SC';font-size: 30px;
}
.text2 p{
    width:100%;
    padding:3px;
    margin:auto;
    line-height:20px;
}

main header{
    width:98%;
    height:20px;
    margin: 0 auto;
    align-items:center;
    display:flex;
    padding-bottom:20px;
    justify-content:space-between;
    border-bottom: 2px solid #ddd;
}
header p span{
    font-size:30px;
    margin:0 5px;
    cursor:pointer;
    color:#555;
    width:30px;
    height:30px;
    display:inline-block;
    line-height:19px;
    text-align:center;
    border-radius:3px;
    
}
header p span:hover{
    background:#222;
    color:white;
    
}
.section{
    width:98%;
    height:400px;
    margin:auto;
    display:flex;
    align-items:center;
    overflow-x:auto;
    scrollbar-width: none;
}
.section::-webkit-scrollbar{
    display:none;
    scrollbar-width: none;
}

.section .product{
    min-width:270px;
    height:67%;
    background:whitesmoke;
    margin: 0 20px 0 0;
    border-radius:20px;
    position:relative;
    left:0px;
    transition:0.5s;
    padding-top:5px;
    
}
.product p{
    display:inline;
    vertical-align: middle;
    padding-left:3px;
    padding-right:3px;
    font-family: Candara, Calibri, Segoe, Segoe UI, Optima, Arial, sans-serif;
    margin-top:auto;
    margin-bottom:auto;
}
.product{
    text-align: center;
  border: 3px solid purple;
  margin:auto;
  padding:4px;
}
picture{
    width:100%;
    height:70%;
    padding:20px;
    display:flex;
    overflow:hidden;
    margin-bottom:20px;
}

picture img{
    width:100%;;
}

.detail, .button{
    width:90%;
    margin:auto;
    padding:5px;
    display:flex;
    justify-content: space-between;
    align-items:center;
    height:50px;
    font-size:20px;
    color:#444;
}
small{
    color:#555;
}



p.star{
    margin: 5px auto;
    width:65%;
    font-size:25px;
    color:#808080;
}

@media only screen and (max-width: 900px){
    main{
        min-width:10px;
        width:100%;
        height:500px;
      /*  background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255, 1) 80%); */
    }
}





.section .product2{
    min-width:270px;
    height:67%;
    background:whitesmoke;
    margin: 0 20px 0 0;
    border-radius:20px;
    position:relative;
    left:0px;
    transition:0.5s;
    padding-top:20px;
    
}

.section .product3{
    min-width:270px;
    height:67%;
    background:whitesmoke;
    margin: 0 20px 0 0;
    border-radius:20px;
    position:relative;
    left:0px;
    transition:0.5s;
    padding-top:20px;
    
}

.section .product4{
    min-width:270px;
    height:67%;
    background:whitesmoke;
    margin: 0 20px 0 0;
    border-radius:20px;
    position:relative;
    left:0px;
    transition:0.5s;
    padding-top:20px;
    
}

.section .product5{
    min-width:270px;
    height:67%;
    background:whitesmoke;
    margin: 0 20px 0 0;
    border-radius:20px;
    position:relative;
    left:0px;
    transition:0.5s;
    padding-top:20px;
    
}















