/**
* 
**/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html, body {
  display: flex;
  flex-direction: column;
  font-family: sans-serif;
  background-color: #082032;
  height: 100%;
  margin: 0;
}

.wrapper {
  flex-grow: 1;
}

.navbar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background-color: #000000;
  color:#F0A500;
  padding: 25px 60px;
  margin-bottom: 30px;
  transition: 0.2s;
}
.navbar:hover{
  color: rgb(255, 228, 170);
}


.cart {
  position: relative;
  background-color: #F0A500;
  color: #000000;
  font-size: 30px;
  padding: 5px;
  border-radius: 3px;
  transition: 0.2s;
}
.cart:hover{
  background-color: rgb(255, 228, 170);
}

.cartAmount {
  position: absolute;
  top:-15px;
  right: -10px;

  background-color: red;
  color: white;
  font-size: 16px;

  padding: 3px;
  border-radius: 3px; ;
}

/**
* ! Shop items styles are here
**/

.shop {
  display: grid;
  grid-template-columns: repeat(4, 220px);
  gap: 20px;
  justify-content: center;
}


/* RWD 響應式 */
@media (max-width: 1000px) {
  .shop {
    grid-template-columns: repeat(2, 220px);
  }
}

@media (max-width: 500px) {
  .shop {
    grid-template-columns: repeat(1, 220px);
  }
}



.item {
  border-radius: 3px;
  background-color: #F0A500;
  transition: all 0.3s ease-out;
  /* position: relative; */
  transform: scale(1,1);
  gap: 10px;
} 
.item:hover {
  transform: scale(1.05,1.05);
}

img {
  border-radius: 6%;
  padding: 10px;
  border-bottom: #000000;
}


.details {
  display: flex;
  flex-direction: column;
  padding: 10px;
  gap: 10px;
}

.price-quantity {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background-color: rgb(255, 240, 240);
  padding: 10px;
  border-radius: 5px;
}

.buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.quantity {
  font-size: 18px;
  padding: 3px;
}

.bi-b {
  font-size: 16px;
  transition: 0.2s;
  border-radius: 5px;
}
.bi-b:hover {
  background-color: #F0A500;
}



/**
* ! footer styles are here
**/

.footer {
  background-color: #fff;
  color:#F0A500 ;
  
}

.footer > p {
  font-size: 30px;
  text-align: center;
  align-items: center;
  justify-content: center;
  background-color: #000000;
  color:#F0A500;
  height:40px;
  /* padding: 25px 60px;*/
}