

.checkout-item {
  font-size: 1rem;
  border: 1px solid black;
  border-radius: 0.2em;
  padding: 1em;
  margin: 1em 0;
  height: fit-content;
  min-width: 300px;    
  max-width: 500px;
  width: calc(100% - 2em);
}

.checkout-item-header {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.checkout-item-title {
  width: calc(100% - 5em);
  font-size: 1.1em;
  font-weight: bold;
}

.checkout-item-name {
  margin: 0.2em 0;
}

.checkout-item-image {
  width: 5em;
  heigth: 5em;
  object-fit: contain;
}

.label-bold {
  font-weight: 400;
}

.checkout-item-actions button {
  padding: 0.5em;
  margin-right: 1em;
}

.extra-checkout-price-breakdown, .checkout-item-display-custom  {
  display: none;
}

.toggleShowCheckout {
  padding: 0.2em;
  margin: 1em 1em 1em 0;
  background-color: var(--action);
  color: white;
  border: 1px solid black;
  border-radius: 0.2em;
  transition: 0.3s;
}

.toggleShowCheckout:hover {
  background-color: var(--action-hover);
}

.checkout-item-pricing {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 2em;
}

.checkout-item-pricing label {
  width: 50%;
}

.checkout-item-pricing p {
  width: 20%;
  text-align: right;
}

.checkout-displayable-data {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 2em;
}

.checkout-displayable-data label {
  width: 50%;
}

.checkout-section-title {
  text-decoration: underline;
  font-weight: bold;
  padding: 1em 0 0.5em 0;
  margin: 0;
}

.remove-item-checkout {
  background-color: var(--error) !important;
}

@media only screen and (max-width: 900px) {

  .checkout-item {
    min-width: unset;
    font-size: 1.1em;
  }

}

@media only screen and (max-width: 600px) {

  .checkout-displayable-data {
    flex-direction: column;
    height: 4em;
    align-items: flex-start;
    margin-top: 0.2em;
  }

  .checkout-displayable-data p {
    margin: 0.2em 0;
  }

  #orderInfo {
    font-size: 1.1em;
  }

  .billing-info {
    flex-direction: column;
    align-items: flex-start;
    max-width: 13em;
  }

  .billing-info label, .billing-info p {
    width: 100%;
  }

  .checkout-item-pricing label {
    width: 70%;
  }

}