.m-cart-drawer-item {
  gap: 1.5rem;
  margin-top: 1rem;
  padding: 2.5rem 1rem;
  border-radius: var(--border-radius-sm);
}
@media screen and (min-width: 768px) {
  .m-cart-drawer-item {
    padding: 1.25rem 4rem 1.25rem 1rem;
  }
}
.m-cart-drawer-item:first-child {
  margin-top: 0;
}
.m-cart-drawer-item:last-child {
  margin-bottom: 1.5rem;
}
.m-cart-drawer-item[data-bundle-role=child] {
  margin-top: 1rem;
}
.m-cart-drawer-item[data-bundle-role=child] .m-cart-drawer-item__image img {
  display: none;
}
.m-cart-drawer-item[data-bundle-role=child] .m-cart-drawer-item__image:empty {
  display: block;
}
.m-cart-drawer-item__image {
  width: 6rem;
}
.m-cart-drawer-item__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius-xs);
}
.m-cart-drawer-item__image:empty {
  display: none;
}
.m-cart-drawer-item__information {
  flex-direction: row-reverse;
  gap: 1rem;
  grid-row: top;
  grid-column: right;
}
@media screen and (max-width: 768px) {
  .m-cart-drawer-item__information {
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 2rem;
  }
}
.m-cart-drawer-item__content {
  flex: 1;
  display: grid;
  grid-template-columns: [left] 2fr [center] 1fr [right];
  grid-template-rows: [top] auto [bottom] auto;
  grid-column-gap: 1rem;
}
@media screen and (min-width: 768px) {
  .m-cart-drawer-item__content {
    grid-template-columns: [left] 2fr [center] 1fr [right] 1fr;
    align-items: center;
  }
}
.m-cart-drawer-item__left {
  grid-column: left;
}
.m-cart-drawer-item__title a {
  text-decoration: none;
}
.m-cart-drawer-item__options--inline {
  display: flex;
  flex-wrap: wrap;
}
.m-cart-drawer-item__options--inline .product-option {
  margin-bottom: 0;
}
.m-cart-drawer-item__options--inline .product-option::after {
  content: "-";
  display: inline-block;
  padding-inline: 0.5rem;
}
.m-cart-drawer-item__options--inline .product-option:last-child::after {
  content: "";
  display: none;
}
.m-cart-drawer-item__quantity.a-input {
  margin: 0;
}
.m-cart-drawer-item__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  flex: 1;
}
.m-cart-drawer-item__price .price--end {
  letter-spacing: var(--ls-md);
  font-size: var(--body-fs-lg);
  font-weight: 700;
  color: rgb(var(--color-heading));
}
.m-cart-drawer-item__price .cart-item__old-price {
  color: var(--color-accent);
  font-size: var(--body-fs-sm);
  margin-right: 0.5rem;
}
.m-cart-drawer-item__badges {
  justify-content: flex-end;
  font-size: var(--body-fs-xs);
  line-height: var(--body-lh-xs);
  gap: 0.2rem;
}
.m-cart-drawer-item__badges .icon {
  width: 1.2rem;
  height: 1.2rem;
}
.m-cart-drawer-item__actions {
  justify-content: space-between;
  grid-column: left;
  grid-row: bottom;
}
@media screen and (min-width: 768px) {
  .m-cart-drawer-item__actions {
    grid-column: center;
    grid-row: 1;
    justify-self: flex-end;
  }
}
.m-cart-drawer-item__remove {
  justify-self: end;
  grid-column: right;
  grid-row: bottom;
  align-self: flex-end;
}
.m-cart-drawer-item__remove button {
  padding: 0;
}
.m-cart-drawer-item__remove .icon {
  width: 2rem;
}
.m-cart-drawer-item__error {
  color: rgb(var(--color-error));
}
