main {
  display: flex;
  max-width: 43.75rem;
  margin: 5rem auto;
  gap: 5rem;
}

h2 {
  font-size: 1.25rem;
  color: #25313C;
  margin-bottom: 1rem;
}

hr {
  height: 2px;
  background-color: #F0C6A8;
  border: none;
}

#left {
  width: 25rem;
}

#cart-items {
  max-width: 25rem;
  list-style: none;
}

#cart-items img {
  height: 165px;
  width: 165px;
  object-fit: cover;
  border-radius: 6px;
}

.cart-item {
  margin: 1.5rem 0;
}

.cart-item-info {
  display: flex;
  justify-content: flex-start;
  gap: 1.5rem;
  width: 100%;
}

#cart-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#cart-info h2 {
  font-size: 1.125rem;
  color: #25313C;
}

#cart-info p {
  font-size: 0.875rem;
  color: #25313C
}

#actions {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8rem;
}

.cart-item-management {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FAC59E;
  border-radius: 4px;
  height: 1.5rem;
  width: 4.125rem;
}

.cart-item-management input {
  background-color: transparent;
  border: none;
  width: auto;
  max-width: 2rem;
  text-align: center;
}

.cart-item-management button {
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.remove-btn {
  background-color: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
}

#add-note {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

#right {
  width: 12.5rem;
}

#cart-total {
  max-width: 200px;
}

#order-summary {
  margin: 1.5rem 0;
}

#order-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1rem 0;
}

#order-summary div p {
  font-size: 0.875rem;
  font-weight: 500;
  color: #25313C;
  text-align: right;
}


#total {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#total p {
  font-size: 1.25rem;
  font-weight: 500;
  color: #25313C;
  margin-top: 1rem;
}

#checkout-btn {
  width: 100%;
  margin-top: 2.75rem;
}

.order-item {
  max-width: 300px;
}

.order-info-div {
  display: flex;
  flex-direction: column;
}

.order-info-div div {
  display: flex;
  align-items: top;
  justify-content: flex-start;
  gap: 0.75rem;
  margin: 0.25rem 0;
  list-style: none;
}

.order-info-div p {
  font-size: 1rem;
  color: #25313C;
  margin-top: 0.25rem;
}

.order-item-info {
  display: flex;
  flex-direction: column;
}

#status {
  margin-top: 0.5rem;
}

ol {
  list-style: none;
  max-width: 300px;
}

.order-details img {
  height: 75px;
  width: 75px;
  object-fit: cover;
  border-radius: 6px;
}

.order-item-info {
  margin: 0 1rem 0 0.75rem;
}

#cart-total {
  text-align: center;
}

@media (max-width: 768px) {
  
  main {
    flex-direction: column;
    align-items: center;
  }

  ol {
    margin: 0 auto;
  }

}

@media (max-width: 425px) {
  
  #left {
    width: 20rem;
  }

  #actions {
    justify-content: flex-start;
    gap: 2rem;
  }

}

@media (max-width: 375px) {
  
  #left {
    width: 18rem;
  }

  #actions {
    gap: 1rem;
  }

}
