.cart {
  border-radius: 8px;
  background-color: white;
  padding: 20px;
  height: fit-content;
  overflow: hidden;
}
.cart h2 {
  color: hsl(14, 86%, 42%);
  margin-bottom: 10px;
}
.cart .cart-amount {
  display: inline;
}
.cart .cart-content, .cart .confirm-order {
  text-align: center;
}
.cart .item {
  border-bottom: 1px solid rgb(173, 171, 171);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 1em;
  margin-bottom: 1em;
  width: 100%;
}
.cart .item .details {
  display: flex;
}
.cart .item .details * {
  flex-grow: 1;
}
@media (max-width: 959px) {
  .cart .item .details {
    display: block;
  }
}
.cart .item .details .quantity span {
  color: hsl(14, 86%, 42%);
  font-weight: bold;
}
.cart .item .details .remove-item {
  border: 1px solid rgb(150, 149, 149);
  border-radius: 10px;
  cursor: pointer;
  flex-grow: 0;
  height: 13px;
  padding: 2px;
}
@media (max-width: 959px) {
  .cart .item .details .remove-item {
    position: relative;
    float: right;
    bottom: 35px;
  }
}
.cart .order-total-div {
  display: flex;
  justify-content: space-between;
}
.cart .carbon-neutral-div {
  background-color: hsla(14, 86%, 42%, 0.1);
  border-radius: 5px;
  font-size: 14px;
  padding: 10px;
  margin-bottom: 0.5em;
  overflow: hidden;
}
.cart .carbon-neutral-div img {
  position: relative;
  top: 2px;
}
.cart .order-confirm-btn {
  border: 1px solid hsl(14, 86%, 42%);
  border-radius: 50px;
  background-color: hsl(14, 86%, 42%);
  color: #fff;
  padding: 10px;
  margin-top: 10px;
  width: 100%;
}
.cart .order-confirm-btn:hover {
  background-color: hsl(4, 76%, 32%);
}

.product-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 500px) {
  .product-list {
    grid-template-columns: repeat(1, 1fr);
    text-align: center;
  }
  .product-list > div {
    margin: 0 auto;
  }
}
.product-list div.product-details {
  display: flex;
  flex-direction: column;
  max-width: 300px;
  overflow: hidden;
}
.product-list div.product-details img {
  border-radius: 8px;
}
.product-list div.product-details .pre-add-to-cart-btn {
  background-color: #fff;
  border: 1px solid gray;
  border-radius: 20px;
  color: #000;
  display: flex;
  font-size: 15px;
  justify-content: center;
  align-items: center;
  gap: 5px;
  position: relative;
  top: -20px;
  padding: 10px 5px;
  margin: 0 auto;
  margin-bottom: -20px;
  width: 60%;
}
.product-list div.product-details .pre-add-to-cart-btn:hover {
  border: 1px solid hsl(14, 86%, 42%);
}
.product-list div.product-details .add-to-cart-btn {
  background-color: hsl(14, 86%, 42%);
  border: 1px solid hsl(14, 86%, 42%);
  border-radius: 10px;
  color: #fff;
  display: flex;
  justify-content: center;
  gap: 5px;
  position: relative;
  top: -20px;
  padding: 10px 5px;
  margin: 0 auto;
  margin-bottom: -20px;
  width: 60%;
}
.product-list div.product-details .add-to-cart-btn .buttons {
  display: flex;
  overflow: hidden;
  justify-content: space-between;
  width: 80%;
}
.product-list div.product-details .add-to-cart-btn .buttons img {
  border: 1px solid #fff;
  border-radius: 15px;
  cursor: pointer;
  padding: 5px;
}
.product-list div.product-details .add-to-cart-btn .buttons .quantity {
  position: relative;
  top: 4px;
}
.product-list div.product-details p {
  margin: 0px;
  margin-top: 0;
}
.product-list div.product-details p.dessert-name {
  font-size: 20px;
}
.product-list div.product-details p.dessert-cat {
  color: grey;
  margin-top: 10px;
}
.product-list div.product-details p.dessert-price {
  color: hsl(14, 86%, 42%);
  font-size: 20px;
  font-weight: bold;
}

div.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 999;
}

div.order-confirmation {
  background: #fff;
  border-radius: 10px;
  position: fixed;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  display: none;
  padding: 20px;
  z-index: 1000;
}
div.order-confirmation button#closeConfirmation {
  border: 1px solid hsl(14, 86%, 42%);
  border-radius: 50px;
  background-color: hsl(14, 86%, 42%);
  color: #fff;
  padding: 10px;
  margin-top: 10px;
  width: 100%;
}
div.order-confirmation button#closeConfirmation:hover {
  background-color: hsl(4, 76%, 32%);
}

body {
  background-color: hsl(20, 50%, 98%);
  font-family: "Red Hat Display", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  margin: 0;
}

.container {
  display: flex;
  flex-direction: column;
  padding-top: 0px;
  margin-inline: auto;
  margin-top: 60px;
  margin-bottom: 100px;
  max-width: 80%;
}

header {
  padding: 0;
  margin-bottom: 10px;
}
@media (max-width: 500px) {
  header > h1 {
    text-align: center;
  }
}

h1, h2 {
  font-weight: bold;
  margin: 0;
}

h1 {
  font-size: 40px;
}

.content {
  display: flex;
  gap: 1rem;
}
@media (max-width: 850px) {
  .content {
    flex-direction: column;
  }
}

/*# sourceMappingURL=styles.css.map */
