* {
  box-sizing: border-box;
}

body {
  padding: 2rem; 
  background-color: rgb(240, 231, 218);
}

.confirmation-logotype-main-header {
  font-family: 'Instrument Serif', sans-serif;
  font-size: 7rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.confirmation-logotype-header {
  font-family: 'Instrument Serif', sans-serif;
  font-size: 3rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.confirmation-logotype-subheader {
  font-family: 'Instrument Serif', sans-serif;
  font-size: 2rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.confirmation-logotype-body {
  font-family: 'Manrope Regular', sans-serif;
  font-size: 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  max-width: 60rem;
  min-width: 10rem;
}

.grid {
  display: grid;
}

.container-input {
  width: 100%;
  max-width: 100%;
  padding: 1rem;
  box-sizing: border-box;
  display: grid;
  gap: 1rem;
}

.element {
  display: grid;
  gap: 0.2rem;
  margin-top: 3rem;
}

.order-items {
  display: grid;
  gap: 1rem;
}

.order-item {
  display: grid;
  grid-template-columns: 5rem 1fr auto auto;
  gap: 1rem;
  align-items: center;
  background-color: #D2C7B7;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid #8b7355;
}

.item-image {
  width: 5rem;
  height: 5rem;
  object-fit: cover;
  border-radius: 0.5rem;
}

.item-name {
  font-family: 'Manrope Regular';
  font-size: 1rem;
  font-weight: 500;
  color: #333;
}

.item-quantity {
  font-family: 'Manrope Regular';
  font-size: 1rem;
  color: #666;
  min-width: 3rem;
  text-align: right;
}

.item-price {
  font-family: 'Manrope Regular';
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  min-width: 5rem;
  text-align: right;
}

.order-summary {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.subtotal {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0 1rem;
}

.subtotal-label {
  font-family: 'Manrope Regular';
  font-size: 1rem;
  font-weight: 500;
  color: #333;
}

.subtotal-price {
  font-family: 'Manrope Regular';
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
}

@media (width < 40rem) {
  .order-item {
    grid-template-columns: 4rem 1fr;
    gap: 0.75rem;
  }

  .item-image {
    width: 4rem;
    height: 4rem;
  }

  .item-quantity,
  .item-price {
    grid-column: 2;
    text-align: left;
  }
}
