body {
  background-color: #e3e7e8;
  font-family: system-ui;
}
.container {
  width: 800px;
  margin: auto;
  transition: 0.5s;
}
header {
  display: grid;
  grid-template-columns: 1fr 50px;
  margin-top: 35px;
}
header .shopping {
  position: relative;
  text-align: right;
}
header .shopping svg {
  width: 35px;
  height: 35px;
}
header .shopping span {
  background-color: red;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  position: absolute;
  top: -6px;
  left: 80%;
  padding: 0 4px;
}
.list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 20px;
  row-gap: 20px;
  margin-top: 50px;
}
.card {
  position: fixed;
  top: 0;
  left: 100%;
  width: 335px;
  background: #453e3b;
  height: 100vh;
  transition: 0.5s;
  overflow-y: scroll;
}
.card h1 {
  color: #e8bc0e;
  font-weight: 100;
  margin: 0;
  padding: 0 20px;
  height: 80px;
  display: flex;
  align-items: center;
}
.card .checkout {
  position: fixed;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 45px;
  width: 335px;
  padding: 0;
}

.card .checkout div {
  background: #e8bc0e;
  width: 50%;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  cursor: pointer;
}
.card .checkout .closeShopping {
  background: #1c1f25;
  color: #fff;
}
.card .total-price {
  background-color: #e8bc0e;
  position: fixed;
  bottom: 45px;
  padding: 5px 0;
  width: 335px;
  text-align: center;
  font-weight: 600;
  color: #1c1f25;
}
.card .total {
  border-top: 1px solid #453e3b;
  box-sizing: border-box;
  color: #1c1f25;
}
.active .card {
  left: calc(100% - 335px);
}
.active .container {
  transform: translateX(-150px);
}
.list .item {
  text-align: center;
  background-color: #dce0e1;
  padding: 15px;
  box-shadow: 0 50px 50px #757676;
  letter-spacing: 1px;
  border-radius: 3px;
}
.list .item img {
  width: 90%;
}
.list .item .title {
  font-weight: 600;
}
.list .item .price {
  margin: 10px;
}
.list .item button {
  background-color: #1c1f25;
  color: #fff;
  padding: 8px 10px;
  width: 100%;
  cursor: pointer;
}
.listCard {
  list-style-type: none;
  padding: 0;
  margin-bottom: 85px;
}
.listCard li {
  display: grid;
  grid-template-columns: 90px repeat(3, 1fr);
  color: #fff;
  row-gap: 10px;
  margin-bottom: 20px;
}
.listCard li div {
  display: flex;
  justify-content: center;
  align-items: center;
}
.listCard li img {
  width: 80%;
}
.listCard li div h4{
  padding: 1px;
  border-radius: 2px;
}
.listCard li div h4:hover{
  background: #ff1919;
  cursor: pointer;
}
.listCard button {
  border: none;
  border-radius: 3px;
  background-color: #fff5;
  text-align: center;
  margin: 0 5px;
  cursor: pointer;
}
