.m-cart-item {
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.m-cart-item:first-child {
  margin-top: 0;
}
.m-cart-item:last-child {
  margin-bottom: 3.5rem;
}
.m-cart-item[data-bundle-role=child] {
  margin-top: 1rem;
  padding-bottom: 1rem;
}
.m-cart-item[data-bundle-role=child] .m-cart-item__image img {
  display: none;
}
.m-cart-item[data-bundle-role=child] .m-cart-item__image:empty {
  display: block;
}
.m-cart-item__image {
  width: 8rem;
}
.m-cart-item__image img {
  width: 100%;
  height: auto;
  display: block;
}
.m-cart-item__image:empty {
  display: none;
}
.m-cart-item__content {
  flex: 1;
  display: grid;
  grid-template-columns: [left] 2fr [center] 1fr [right];
  grid-template-rows: [top] auto [bottom] auto;
  gap: 1rem;
}
@media screen and (min-width: 768px) {
  .m-cart-item__content {
    grid-template-columns: [left] 2fr [center] 1fr [right] 1fr;
  }
}
.m-cart-item__title a {
  text-decoration: none;
}
.m-cart-item__options--inline {
  display: flex;
  flex-wrap: wrap;
}
.m-cart-item__options--inline .product-option {
  margin-bottom: 0;
}
.m-cart-item__options--inline .product-option::after {
  content: "-";
  display: inline-block;
  padding-inline: 0.5rem;
}
.m-cart-item__options--inline .product-option:last-child::after {
  content: "";
  display: none;
}
.m-cart-item__quantity.a-input {
  margin: 0;
}
.m-cart-item__price {
  text-align: right;
}
.m-cart-item__discount {
  justify-content: flex-end;
  font-size: var(--body-fs-xs);
  line-height: var(--body-lh-xs);
  gap: 0.2rem;
}
.m-cart-item__discount .icon {
  width: 1.2rem;
  height: 1.2rem;
}
.m-cart-item__information {
  justify-content: flex-end;
  grid-column: right;
}
.m-cart-item__actions {
  justify-content: space-between;
  grid-column: center;
  grid-row: top;
  align-self: start;
}
.m-cart-item__error {
  color: rgb(var(--color-error));
  margin-top: 0.5rem;
}
