
.cart {
  display: flex;
  justify-content: space-between;
  align-items: center;

  border-radius: 3px;

  cursor: pointer;
  position: relative;
}

.fa-solid {
  color: #222325;

  
}

.cart p {
  position: absolute;
  background:#d81717 ;
  top: -10%;
  right: -15%;
  padding: 5px;
  border-radius: 16px;
  width: 18px;
  text-align: center;
  color: #fff;
}

.container {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#root, #rootJersey, #rootShoes{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 50px;
  

}

.sidebar {
  width: 300px;
  border-radius: 5px;
  background-color: #eee;
  padding: 15px;
  text-align: center;
  position: fixed;
  top: 0;
  right: -350px;
  height: 100%;
  overflow-y: auto;
  transition: right 0.3s ease-in-out;
  z-index: 1000;
}

.sidebar.active {
  right: 0;
}

.head {
  background-color: goldenrod;
  border-radius: 3px;
  height: 40px;
  padding: 10px;
  margin-bottom: 20px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.foot {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
  padding: 10px 0;
  border-top: 1px solid #333;
}

.close-btn, .checkout-btn {
  width: 100%;
  border: none;
  border-radius: 5px;
  background-color: goldenrod;
  padding: 10px 20px;
  cursor: pointer;
  color: white;
  margin-top: 10px;
}

.close-btn:hover, .checkout-btn:hover {
  background-color: #333;
}

.box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border: 1px solid goldenrod;
  border-radius: 5px;
  padding: 15px;
  background: #fff;
}

.img-box {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.images {
  max-width: 90%;
  max-height: 90%;
  object-fit: cover;
  object-position: center;
}

.bottom {
  margin-top: 20px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 110px;
}

h2 {
  font-size: 20px;
  color: red;
}

button {
  width: 100%;
  border: none;
  border-radius: 5px;
  background-color: goldenrod;
  padding: 7px 25px;
  cursor: pointer;
  color: white;
}

button:hover {
  background-color: #333;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  background-color: white;
  border-bottom: 1px solid #aaa;
  border-radius: 3px;
  margin: 10px 10px;
}

.row-img {
  width: 50px;
  height: 50px;
  border-radius: 50px;
  border: 1px solid goldenrod;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rowimg {
  max-width: 43px;
  max-height: 43px;
  border-radius: 50%;
}

.fa-trash:hover {
  cursor: pointer;
  color: #333;
}
