
:root{
  /* Variables */
 --main-color:#ff6d46;
 --second-color:#ecfdf8;
 --text-color:#121011;
 --bg-color:#fff;
 --bage-color:#eeeee6;
 --button-bk-color:#2f2f2f;
 --bk-black-color:#111827;
--icon-color:rgb(134,141,151);
--hover1-color:#253047;
--hover2-color: #F3F4F6;

/* Box Shadow */
--box-shadow:0 0 16px 1px rgb(14 52 54 / 15%);

--dark1:#0000004d;
  --dark2:#181c20;
  --dark3:#212529;
  --dark4:#2d3135;
  --dark5:#424549;
  --dark6:#404346;
  --dark7:#9c9c9c;
  --dark8:#dae0e7;
  --dark9:#262a2e;
  --red1:#902e31;
}

body{
  margin: 0;
   font-family: Poppins;
 background: var(--button-bk-color);
}

a{
  color: unset;
  text-decoration: none;
}

.main-container{
  width: 900px;
  max-width: 90vw;
  margin: auto;
  padding-top: 30px;
  text-align: center;

}

.title{
  font-size: xx-large;
  padding: 20px 0;
  color: var(--second-color);
}

.listProduct .item .img-container{
 
  height: 70%;
}

.listProduct .item img{
width: 90%;

filter: drop-shadow(0 50px 20px #0009);
}



.listProduct{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.listProduct .item{
background:#b4b4ad;
padding: 20px;
border-radius: 20px;

}

.listProduct .item:hover{
 background: var(--second-color);
/* box-shadow: 0 0 16px 1px rgb(14 52 54 / 40%); */
box-shadow: 0 15px 30px  rgba(251, 253, 253, 0.5);
}


.listProduct .item h2{
font-size: large;
font-weight: 500;
}

.listProduct .item .price{
letter-spacing: 7px;
font-size: small;
}

/*Ipad*/
@media screen and (max-width: 992px){
  .listProduct{
    grid-template-columns: repeat(3,1fr);
  }
}

/*Mobile*/
@media screen and (max-width: 768px){
  .listProduct{
    grid-template-columns: repeat(2,1fr);
  }
}


/*Detail Page*/

.detail{
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 50px;
  text-align: left;
  color: var(--second-color);
  }

  .detail .image img{
    width: 100%;
  }
  .detail .image {
    position: relative;
  }

  .detail .image::before {
    position: absolute;
    width: 300px;
    height: 300px;
    content: '';
    background-color: var(--second-color);
    z-index: -1;
    border-radius: 190px 100px 170px 180px;
    left: calc(50% -150px);
    top: 50px;
  }
    .detail .name{
      font-size: xxx-large;
      padding: 40px 0 0 0 ;
      margin:  0 0 10px 0;
    }

    .detail .price{
      font-weight: bold;
      font-size: x-large;
      letter-spacing: 7px;
      margin-bottom: 20px;
    }

    .detail .buttons{
     display: flex;
     gap: 20px;
      margin-bottom: 20px;
    }

      .detail .buttons button{
        background-color: #eee;
        border: none;
        padding: 15px 20px;
        border-radius: 20px;font-family: Poppins;
        font-size: large;
      }

      .detail .buttons .bx{
        width: 15px;
      }

       .detail .buttons span{
        background-color: #555454;
        width: 30px;
        height: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        margin-left: 20px;
        color: #eee;
       }
      
       .detail .buttons button:nth-child(2){
        background-color: transparent;
         border: 0.5px solid ;
        color: var(--second-color);
        display: flex;
        align-items: center;
        box-shadow: 0 10px 20px #2f2f2f77;
        
       }

      .detail .buttons button:nth-child(2):hover{
        background-color: #ff8664;
        cursor: pointer;
         border: none;
         box-shadow: 0 10px 20px  rgba(237, 241, 241, 0.4);
      }

       .detail .description{
        font-weight: 300;
       }

.copyright{
  display: flex;
  justify-content:space-around;
  align-items: center;
  padding: 20px;
  text-align: center;
 background: var(--text-color);
 color: var(--second-color);
}
.copyright select{
  padding: 5px 10px;
  border: 1px solid var(--dark5);
  color: var(--dark8);
  background: var(--dark4);
  border-radius: 5px;
  outline: none;
  transition: 0.3s ease;
  cursor: pointer;
  margin-right: 10px;
}

/* pagination section */
/* ****************** */
.pagination{
  display: flex;
}
.pagination button{
  width: 40px;
  padding: 5px 0;
  color: var(--dark8);
  background: transparent;
  font-size: 16px;
  cursor: pointer;
  pointer-events: auto;
  outline: none;
  border: 1px solid var(--dark6);
  margin: 0;
  border-left: none;
}

.pagination button:first-child{
  width: 85px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  border-left: 1px solid var(--dark6);
  opacity: 0.6;
  pointer-events: none;
}
.pagination button:last-child{
  width: 85px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  border-right: 1px solid var(--dark6);
  opacity: 0.6;
  pointer-events: none;
}

.pagination button.active,
.pagination button:hover{
background: var(--red1);
}







/*Ipad*/
@media screen and (max-width: 992px){
  .listProduct{
    grid-template-columns: repeat(3,1fr);
  }

  .detail{
grid-template-columns: 40% 1fr;
  }
}

/*Mobile*/
@media screen and (max-width: 768px){
  .listProduct{
    grid-template-columns: repeat(2,1fr);
  }
    .detail{
    grid-template-columns: 1fr;
    text-align: center;
      }

      .detail .img img{
        width: unset;
        height: 40vh;
    
      }

      .detail .name{
        font-size: x-large;
        margin: 0;
      }
      .detail .buttons button{
font-size: small;
      }
      .detail .buttons {
        justify-content: center;
      }
}


@media screen and (max-width: 360px){
  .title{
    margin-top: 50px;
  }
}
@media screen and (max-width: 375px){
  .title{
    margin-top: 50px;
  }
}
@media screen and (max-width: 414px){
  .title{
    margin-top: 50px;
  }
}

