body {
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 400;
  background-color: #fefaf6;
  color: #333;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1,
h2,
h3 {
  font-weight: 600;
  color: #333;
}

p,
span {
  font-weight: 300;
  color: #555;
}

button,
.add-to-cart {
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
}

.modal-content h2 {
  font-weight: 700;
  color: forestgreen;
}

.container {
  display: block;
  width: 90%;
  max-width: 1200px;
  margin: 20px auto;
}

.container img {
  height: 30px;
  width: 30px;
  opacity: 0.8;
}

.heading {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}

.content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.desserts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  flex: 3;
}

.dessert-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding: 15px;
  transition: transform 0.3s ease;
}

.dessert-card:hover {
  transform: translateY(-5px);
}

.dessert-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

.dessert-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

.dessert-card p {
  font-size: 0.9rem;
  font-weight: 300;
}

.dessert-card .price {
  font-weight: bold;
  color: #333;
  display: block;
  margin-bottom: 10px;
}

.add-to-cart {
  background: none;
  border: 2px solid #333;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  color: #333;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.add-to-cart:hover {
  background-color: #333;
  color: #fff;
}

.cart-section {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  flex: 1;
  width: 300px;
}

.cart-section h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  text-align: center;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  text-align: left;
}

.cart-item h3 {
  font-size: 1rem;
  margin: 0;
}

.cart-item .price {
  font-size: 0.9rem;
  color: #777;
  text-align: right;
}

.order-summary {
  margin-top: 20px;
  text-align: center;
}

.order-total {
  font-size: 1.2rem;
  font-weight: 900;
  margin-top: 40px;
  text-align: center;
}

.confirm-order {
  background-color: #333;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 20px;
  text-align: center;
}

.confirm-order:hover {
  background-color: #555;
}

.carbon-neutral {
  font-size: 0.9rem;
  color: #777;
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: center;
}

.carbon-neutral img.carbon-img {
  width: 20px;
  height: 20px;
  display: inline-block;
  margin: 0;
}

.cart-section img {
  height: 180px;
  width: 180px;
  opacity: 0.8;
  display: block;
  margin: 0 auto;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 400px;
  border-radius: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.modal-content h2 {
  font-size: 35px;
  color: forestgreen;
}

.check-icon {
  color: green;
  border: 2px solid green;
  border-radius: 50%;
}

.description-enjoy {
  margin-left: 6px;
  font-size: 12px;
  color: #555;
}

.order-details p {
  margin: 20px;
  padding-top: 5px;
  font-weight: bolder;
  color: #555;
}

.start-new-order {
  background-color: black;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  margin-left: 210px;
}

.start-new-order:hover {
  background-color: forestgreen;
}

@media (max-width: 1024px) {
  .content {
    flex-direction: column;
  }

  .desserts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cart-section {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .desserts-grid {
    grid-template-columns: 1fr;
  }
}