.cart-item {
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: start;
}

.cart-thumb {
  width: 64px;
  height: 64px;
  overflow: hidden;
  border: 1px solid #dce2d7;
  background: #fff;
}

.cart-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-thumb-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.cart-item-copy {
  min-width: 0;
}

.cart-item-copy b {
  line-height: 1.35;
}

.cart-unit-price {
  display: block;
  color: #667066;
  font-size: 12px;
}

.cart-quantity {
  display: inline-grid;
  grid-template-columns: 27px minmax(29px, auto) 27px;
  min-height: 28px;
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid #c9d4c2;
  border-radius: 2px;
  background: #fff;
}

.cart-quantity button {
  border: 0;
  background: #edf2e9;
  color: var(--forest);
  font: 700 17px/1 'DM Sans', sans-serif;
  cursor: pointer;
}

.cart-quantity button:hover {
  background: #dce8d6;
}

.cart-quantity output {
  display: grid;
  min-width: 29px;
  place-items: center;
  padding: 0 6px;
  color: var(--forest-deep);
  font: 700 12px 'DM Sans', sans-serif;
}

.cart-item-side {
  display: grid;
  min-width: 54px;
  gap: 11px;
  justify-items: end;
  text-align: right;
}

.cart-line-total {
  color: var(--forest);
  font-size: 13px;
  white-space: nowrap;
}

.cart-remove {
  font-size: 11px;
}

@media (max-width: 380px) {
  .cart-item {
    grid-template-columns: 54px minmax(0, 1fr) auto;
    gap: 9px;
  }

  .cart-thumb {
    width: 54px;
    height: 54px;
  }
}
